Flex

Page 73

<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’t overwhelm the user.

Figure 4-15. The Accordion control

Tabs and Accordions | 57


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.