<mx:VBox label="Tab One"> <mx:Label text="Tab one's content" /> </mx:VBox> <mx:VBox label="Tab Two"> <mx:Label text="Tab two's content" /> </mx:VBox> <mx:VBox label="Tab Three"> <mx:Label text="Tab three's content" /> </mx:VBox> </mx:Accordion> </mx:Application>
All I did was change the tag name from TabNavigator to Accor dion and the example works, as you can see in Figure 4-15. These are just two of the controls that you can use to manage the presentation of large sets of interface elements in a way that doesnâ&#x20AC;&#x2122;t overwhelm the user.
Figure 4-15. The Accordion control
Tabs and Accordions | 57