Help pls.

I have an application with ToggleButtonBar (TGB), and i one of states
I want to change the dataProvider, like this:

trace(top_bs.selectedIndex)              // 0
top_bs.dataProvider = new Array('Friends', 'Favorites');
trace(top_bs.selectedIndex)             //  -1
top_bs.selectedIndex = 0;
trace(top_bs.selectedIndex)              // -1

what's going wrong? After the state renders, the first button is
pressed, but I need it to be "pressed" in code :)

--

You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.


Reply via email to