ViewStack, LinkBar and ButtonBar Example
Line Break
Author: Arjan (34 Articles) - Author Website
Arjan is a SAP Consultant specialized in ABAP and Front End development techniques like Web Dynpro, Adobe Interactive Forms, Flex and AIR. In his free time he likes to create examples for Flex-Blog and other applications using Flex, AIR and PHP. Other hobbies are movies and music. He is also the co-owner of Flex-Blog.com.
When you are developing your Flex or AIR applications you’ll probably have one or more views where you want to put your components. Adobe Flex offers you multiple components to work with multiple views. Two examples are the TabNavigator and the ViewStack.
I created a small example with the ViewStack in combination with the LinkBar en ButtonBar to show you how you can easily create navigation between views.
Click on the LinkBar links and Buttons on the ButtonBar to navigate between the two views in this example.
Use your right mouse button > View Source to see the sourcecode. As you can see, by simply having the ViewStack as the dataProvider for your LinkBar / ButtonBar, your navigation is automatically created!
Related posts:



(