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

Chapter 5. Controlling Multiple Timeline... > Navigating Timelines with Movie Clip...

Navigating Timelines with Movie Clips

The independent Timelines of movie-clip symbols make complicated navigation schemes possible (Figure 5.1). While the main Timeline is playing, other Timelines of movie clips can be playing as well, interacting with one another and telling what frames to play or when to stop. It’s quite common, in fact, to have enough movie clips on the Stage all talking to one another that the main movie Timeline need be only a single frame for the entire movie to work. Driving all this navigation between Timelines is, of course, ActionScript. The basic actions used to navigate within the main Timeline (gotoAndStop, gotoAndPlay, stop, play, nextFrame, and prevFrame) can also be used to navigate the Timeline of any movie clip. This navigation is possible because you can give a name to every movie-clip instance on the Stage. You name a movie-clip instance in the Property Inspector. When an instance is named, you can identify its particular Timeline and give instructions on where you want to move its playhead.

Figure 5.1. A movie can contain many Timelines that interact with one another. This example shows scene 1 as the main Timeline; it contains two movie clips. One of the movie clips contains another movie clip. The arrows show just a few of the possible lines of communication.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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