Is there a way to find same la bel in a combobox and let only one same label
??

my_cb.addItem({data:1, label:"One"});
my_cb.addItem({data:2, label:"Two"});
my_cb.addItem({data:3, label:"One"});
my_cb.addItem({data:4, label:"Two"});


var cbListener:Object = new Object();
cbListener.change = function (evt_obj:Object) {
 trace("Currently selected item is: " + evt_obj.target.selectedItem.label);
}
my_cb.addEventListener("change", cbListener);
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to