O'Reilly logo

Flash® Catalyst™ CS5 Bible by Rob Huddleston

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Adding Animation

IN THIS CHAPTER

  • Creating an action sequence

  • Working with the Timeline

  • Adding actions

Catalyst projects are ultimately compiled and published as SWF files to be run in Adobe Flash Player. While many advanced applications are being developed in tools such as Catalyst and Flash Builder, Flash is still best known as an animation platform. Because Flash Player is the eventual target for your project, you can apply animation effects to add more visual interest or interaction to your application.

You can use Actions to add animation directly within Catalyst, or you can create more complex, advanced animations in Adobe Flash Professional and import them into your project.

Creating an Action Sequence

You can add action sequences to any component. You begin creating an action sequence by following these steps:

  1. Open the Interactions panel (see Figure 11.1).

  2. From the Add Interaction menu, select the event that you want to use to trigger the sequence.

  3. Select Play Action Sequence.

Once the sequence has been defined in the Interactions panel, it is added to the Timeline, where you can add actions and set their timings.

Creating an action sequence with the Interactions panel

Figure 11.1. Creating an action sequence with the Interactions panel

Working with the Timeline

The primary panel used to work with animation in Catalyst is the Timeline, which is located along the bottom of the screen (see Figure 11.2).

The Timeline displays states, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required