[flexcoders] Re: Selected item/index in ComboBox

2009-03-05 Thread twcrone70
Thanks Tim! callLater() is the solution. - Todd --- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > Hi Todd, > > Sounds like a timing issue. The popup is instantiated first, then the > ComboBox's dataProvider is being set. > > 1) Best practice would be to use a getter/setter for the

[flexcoders] Re: Selected item/index in ComboBox

2009-03-04 Thread Tim Hoff
Hi Todd, Sounds like a timing issue. The popup is instantiated first, then the ComboBox's dataProvider is being set. 1) Best practice would be to use a getter/setter for the ComboBox's dataProvider. In the setter, invalidateProperties(). Then in commitProperties(), run the code that sets the