2 Replies Latest reply on May 5, 2010 9:37 AM by Flex harUI

    How to set default tab on a TabBar?




      Say, I have a TabBar as follows, how do I programmatically change the initial tab selected.  For example, when this bar is displayed, I want the 2nd tab (Alaska) to be initially selected.  Thanks.


                  <mx:Object label="Alabama" data="Montgomery"/>
                  <mx:Object label="Alaska" data="Juneau"/>
                  <mx:Object label="Arkansas" data="Little Rock"/>