| Getting Started with Flex 2 > Lessons > Use View States and Transitions | |||
You can use view states and transitions in Adobe Flex to create richer, more interactive user experiences. For example, you can use view states to create a user interface that changes its appearance based on the task the user is performing.
A view state is a named layout that you define for a single MXML application or component. You can define several view states for an application or component, and switch from one view state to another depending on the user's actions. View states allow you to dynamically change the user interface in response to users' actions or progressively reveal more information based on the context.
|
NOTE |
|
Alternatively, you can use the ViewStack navigator container with other navigator containers to achieve similar results. For more information, see Using Navigator Containers in Flex 2 Developer's Guide. |
A transition is one or more effects grouped together to play when a view state changes. The purpose of a transition is to make the visual change smoother and more interesting.
This lesson shows you how to use view states and transitions to create a user interface that reveals more information when users request it.
In this lesson, you'll complete the following tasks:
Flex 2.01