Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

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

What Scripts Can Do

A Flash movie consists of scenes. Each scene has a timeline. Each timeline starts with frame 1 and continues from there. The natural state of a Flash movie is to move forward at a constant rate from scene 1, frame 1, to the end of scene 1 and then on to scene 2 and so on. You can set a movie to play through all the frames of all the scenes and stop. Or, you can set the movie to loop.

The primary purpose of ActionScript is to change this linear behavior. A script can stop a movie on a certain frame, loop back to a previous frame, or even give the user control of what frame is shown next. ActionScript can be used to make a movie completely break away from the passive linear mode of standard Flash movies.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint