Re: [flexcoders] Re: ComboBox selectedIndex revisited

2009-01-27 Thread Richard Rodseth
I don't know why you say there's a lot of stuff happening. It's just using binding (in the form of a binding function) to set an initial selection. Seems completely legitimate to me. The fact that it's a function rather than a direct reference is because of the well-known ComboBox limitations with

[flexcoders] Re: ComboBox selectedIndex revisited

2009-01-27 Thread Amy
--- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > You have a lot of stuff happening in there. Did you debug it to see why > it was not working? Particularly the "computeSelectedDateRangeIndex()" > function? Was it being called when you expected? I agree with Tracy. I would expect

[flexcoders] Re: combobox selectedIndex

2005-05-17 Thread alex_harui
The code snippet worked fine for me if the intervals property is an array of strings. Is it possible you are initializing intervals from a web service call? If so, you have a timing problem in that the selected index was set long before the data arrived (actually it thought it had zero rows o