Here is the relevant code from the component with the combobox:
[Bindable]
private var signalList:ArrayCollection = new
ArrayCollection();
public function setSignals(sig:ArrayCollection):void {
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
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"
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
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
5 matches
Mail list logo