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

Chapter 7. Controlling the Movie Clip > Beginning to Animate with ActionScript

Beginning to Animate with ActionScript

The actions discussed so far in this chapter, scripts that let you control and test virtually all aspects of the movie clip—appearance, position, draggability, collisions, depth level, and duplication—are the basic tools for animating entirely using ActionScript. While motion tweens and shape tweens are created before playback, ActionScript animation is generated during playback, so it can respond to and change according to your viewer's actions.

The following Flash example is a simple game of tag. It's a good demonstration of how ActionScript can animate objects in response to user events. You create a movie clip that follows your pointer, and if the movie clip catches up to you, you lose the game.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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