Lesson 22. Creating Transitions and Behaviors

What Will You Learn

In this lesson, you will:

  • Use prebuilt behaviors in Flex to fade in the display of a component

  • Use prebuilt transitions in Flex to smooth out the change from one state to another

Approximate Time

This lesson takes approximately 45 minutes to complete.

Lesson Files

Media Files:


Starting Files:




Completed Files:




You can apply dynamic effects to your application using behaviors and transitions that can include animation and/or sounds. These effects can be based on application or user triggers, which cause behavior or transition to occur. Content is the most important consideration, but animations and sound can also greatly enhance the user experienceespecially in dynamic presentation interfaces.

Behaviors are dynamic effects that can be applied directly to Flex components, whereas transitions are dynamic effects applied to view states. Animations can often enhance the user's experience when navigating throughout an application. In this lesson, you will modify the FlexGrocer application so that the transitions between states are smoother and components are displayed using a fade-in effect.

Grocery item details will be displayed using a WipeRight transition.

Adobe Flex 2.Training from the Source
Adobe Flex 2: Training from the Source
ISBN: 032142316X
EAN: 2147483647
Year: 2006
Pages: 225

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net