Chapter 12. Interactivity with Simple Frame Actions

I l @ ve RuBoard

By default, Macromedia Flash MX plays the scenes and frames of a movie 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. But you can also instruct Flash to jump around in a movie, playing scenes and frames in any order you choose.

You tell Flash what to do by assigning actions to frames, buttons , and movie clips. Actions are commands, or statements , that you string together to make Flash perform certain well, actions, such as replaying Scene 2 at the end of every other scene or repeatedly displaying the first five frames of a movie until all the other frames in the movie have loaded. Actions can add efficiency and a degree of intelligence or interactivity to your movie.

Flash provides a full-fledged scripting language called ActionScript for adding actions to movies. You create ActionScripts in the Actions panel, which provides various levels of scripting assistance.

In this chapter, you get acquainted with the Actions panel by assigning simple actions to frames, using Flash's most-assisted scripting mode: Normal. To learn about creating buttons and at aching actions to buttons and movie clips, see Chapter 13. To learn about more-complex actions, see Chapter 15.

I l @ ve RuBoard


Macromedia Flash MX for Windows and Macintosh. Visual QuickStart Guide
Macromedia Flash MX 2004 for Windows and Macintosh (Visual QuickStart Guides)
ISBN: 0582851165
EAN: 2147483647
Year: 2002
Pages: 243

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