Chapter 12. Basic Interactivity Using Behaviors

By default, Macromedia Flash MX 2004 plays the scenes and frames of a movie created from a Flash Document sequentially. The movie opens with Scene 1, plays all those frames in order, moves to Scene 2, plays all those frames, and so on. Sometimes, that’s appropriate; sometimes you want to be able to make a movie jump around during playback, move to scenes and frames in any order you choose. You can achieve that goal by creating scripts in Flash’s scripting language, ActionScript. A script is a series of commands, or statements, that you string together to make Flash perform certain tasks at runtime, that is, when your published Flash file (a .swf file) runs in Flash Player for viewing by your end ...

Get Macromedia Flash MX 2004 For Windows and Macintosh: Visual Quickstart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.