[Flashcoders] find same label

2006-10-23 Thread Laurent CUCHET
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

Re: [Flashcoders] find same label

2006-10-23 Thread David Buff
Sent: Monday, October 23, 2006 5:32 PM Subject: Re: [Flashcoders] find same label Hi I'll do something like this. First create a empty array. Then loop into your ComboBox like I show you before. Each step of the loop, test if the value is allready in the array. There is no method of array class

RE: [Flashcoders] find same label

2006-10-23 Thread Doug Coning
AM To: Flashcoders mailing list Subject: Re: [Flashcoders] find same label Hi I'll do something like this. First create a empty array. Then loop into your ComboBox like I show you before. Each step of the loop, test if the value is allready in the array. There is no method of array class