• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Interactivity with Simple Frame Actions

Chapter 12. Interactivity with Simple Frame Actions

By default, Macromedia Flash 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 in a movie. Actions are a set of commands, or statements, that you can 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 onto the viewer's computer. Actions can add efficiency and a degree of intelligence or interactivity to your movie.

Flash 5 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 learn about the Actions panel by assigning some simple actions to frames, using Flash's most-assisted scripting mode: Normal. To learn about creating buttons and attaching actions to buttons and movie clips, see Chapter 13. To learn about more-complex actions, see Chapter 15.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint