Neither of those suggestions work :( Guess I have to stick with what
I've got.
Ben
--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Wednesday 09 August 2006 17:26, ben.clinkinbeard wrote:
> > // WITHOUT THIS LINE, COMBOBOX WILL NOT UPDATE ITS DISPLAY
> > ModelLoc
On Wednesday 09 August 2006 17:26, ben.clinkinbeard wrote:
> // WITHOUT THIS LINE, COMBOBOX WILL NOT UPDATE ITS DISPLAY
> ModelLocator.getInstance().arr_selectedPlans.source = arr.toArray();
>
> Should I really have to do this? I thought ArrayCollection was
> supposed to have all these magical capa
SOLVED: This is weird, but I've got it working.
// shortcut var
var arr:ArrayCollection = ModelLocator.getInstance().arr_selectedPlans;
// if ComboBox is selected, add its label to the AC
// if not selected, remove its label from AC
if(evt.cb.selected)
{
// prevent dupes
if(!arr.co
3 matches
Mail list logo