myComboBox.addEventListener(Event.CHANGE, cardSelected);
function cardSelected(e:Event):void {
trace("You have selected: "+ e.target.selectedItem.label + " " + +
e.target.selectedItem.data);
}
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Charles
Parcell
Sent: dinsdag 26 mei 2009 21:11
To: Flash Coders List
Subject: Re: [Flashcoders] access individual items in combobox
This what you are looking for?
myComboBox.getItemAt(1);
Charles P.
On Tue, May 26, 2009 at 10:51 AM, Mendelsohn, Michael <
[email protected]> wrote:
> Hi list...
>
> How do you access individual items in an AS3 component combobox? I can't
> seem to pick through the combobox.dropdown reference. I am trying to skin
> each of the items in the dropdown differently based on their values.
>
> Thanks,
> - Michael M.
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders