CHAPTER 15
15
Creating Effects
Behaviors let you add animation and motion to your application when some user or
programmatic action occurs, where a behavior is a combination of a trigger paired with an
effect. A trigger is an action, such as a mouse click on a component, a component getting
focus, or a component becoming visible. An effect is a visible or audible change to the target
component that occurs over a period of time, measured in milliseconds. For example, you can
use behaviors to cause a dialog box to bounce slightly when it receives focus, or to slowly fade
in when it becomes visible.
Adobe Flex supplies a number of standard effects that you can use in your application.
However, you also can define custom effects for your specific application needs. This topic
describes how to create custom effects.
For information on the standard effects, see Chapter 17, "Using Behaviors," in Flex 2
Developer's Guide.
Contents
About tween effects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
227