RE: [Flashcoders] >> find same label

2006-10-23 Thread Doug Coning
11:33 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

Re: [Flashcoders] >> find same label

2006-10-23 Thread David Buff
ling list" 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. T

Re: [Flashcoders] >> find same label

2006-10-23 Thread David Buff
. If the value appears again, indexOf will return a positiv or 0 number, then it's not pushed into your second ComboBox. David Buff - Original Message - From: "Laurent CUCHET" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Monday, October 23, 200

[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 = functi