[flexcoders] Re: ComboBox doesn't update display unless 'activated' first

2006-08-10 Thread ben.clinkinbeard
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

Re: [flexcoders] Re: ComboBox doesn't update display unless 'activated' first

2006-08-10 Thread Tom Chiverton
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

[flexcoders] Re: ComboBox doesn't update display unless 'activated' first

2006-08-09 Thread ben.clinkinbeard
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