Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
Triangle_Choke #1
ListBox Element text color (per item)?
I am trying to figure out if it is possible (and if, how) to manipulate the
text color for each item in a listbox, depending on information in that item's
..data.
For example --
if(user.data.location==null && user.data.admin==null){
label text color= red
}
else if (user.data.location==null) {
label text color=blue
}
else{
label text color=green
}
The goal is for the user to be able to see at a glance which people in the
listbox are missing bits of information in their profile. I have seen the
tutorial on adding a symbol to each item in the listbox, but I'd like to
explore the text color method first.
I've tried various methods of interacting with the data inside the binder
function I'm calling when I populate the listbox using DataGlue
(BindFormatFunction), but it has no effect on the presentation of the text in
the listbox, which leads me to believe that I'm going to have to fiddle around
with the listbox component definition, something I'm more than a bit hesitant
to do.
Thanks in advance,
John
Triangle_Choke Guest
-
Selecting Listbox item by data
Is there anyway to get an index value of where a particular data or label is in the listbox eg.. if i have list box with with dat -
Item label displays as "," when moving from listbox to listbox
I have 2 listboxes: "lb_unselected" and "lb_selected". The first thing in the actions is loop through an array populating these two listboxes. ... -
how i can get the name of a selected element in a listbox
i need show images for every item selected on a listbox necesito mostrar una imagen distinta por cada item en un listbox -
zeroing in on a listbox item
I am wondering if it is possible to narrow in on an item within a listbox of states. For example, right now if I type "W", I will immediately drop... -
Get the selected item from a listbox
I'm having a hell of a time trying to determine which item is selected in a single-select listbox when the listbox autoposts. for some reason, the...



Reply With Quote

