RE: [flexcoders] DropDown selectedIndex problem

2009-03-09 Thread Tracy Spratt
Often when you programmatically  assign a dataProvider to a control, you
need to wait for the control to render before operating on its visual
elements.  So save the desired index from the loop, then use callLater() to
actually set the selectedIndex.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of moevydot...@ymail.com
Sent: Sunday, March 08, 2009 6:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DropDown selectedIndex problem

 

Hello @ all,
I want to select a specific part with selectedIndex. But it dont works :( It
selects all the time the first one in the list.

Can someone give me a help? There its the code... 

Thanks Michael

Code:








[flexcoders] DropDown selectedIndex problem

2009-03-08 Thread moevydot...@ymail.com
Hello @ all,
I want to select a specific part with selectedIndex. But it dont works :( It 
selects all the time the first one in the list.

Can someone give me a help? There its the code... 

Thanks Michael

Code: