[flexcoders] Re: combobox fills in with blank element

2008-07-11 Thread netdeep
Here is the relevant code from the component with the combobox: [Bindable] private var signalList:ArrayCollection = new ArrayCollection(); public function setSignals(sig:ArrayCollection):void {

[flexcoders] Re: combobox fills in with blank element

2008-07-14 Thread netdeep
Friday, July 11, 2008 11:46 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: combobox fills in with blank element > > > > > Here is the relevant code from the component with the combobox: > > [Bindable] > private var signalList:ArrayCollection = ne

[flexcoders] Re: combobox fills in with blank element

2008-07-14 Thread netdeep
I don't think that is going to work except the first time the method is called. I need to be able add more items to the array later on and this would simply overwrite signalList each time and I'd lose the items added previously. --- In flexcoders@yahoogroups.com, "Mauricio Rogério Obenaus"

RE: [flexcoders] Re: combobox fills in with blank element

2008-07-11 Thread Tracy Spratt
Does signalList have an extra element in it? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Friday, July 11, 2008 11:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: combobox fills in with blank

Re: [flexcoders] Re: combobox fills in with blank element

2008-07-11 Thread Mauricio Rogério Obenaus
I had a problem like that, try this: var newList:ArrayCollection(signalList); for (var i:int=0; i wrote: > > Here is the relevant code from the component with the combobox: > > [Bindable] > private var signalList:ArrayCollection = new ArrayCollection(); > > public function setSignals(sig:ArrayCol