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

Chapter 3. Understanding Target Paths > TARGETING MOVIES ON LEVELS

TARGETING MOVIES ON LEVELS

Using the loadMovie() action, Flash enables you to load more than one .swf file into the Flash player window simultaneously (something you’ll learn how to do in the exercise that follows and that we discuss more in depth in Lesson 17, Loading External Content). SWFs exist in the player window in what are known as levels. Functionally, levels (for holding SWFs) are similar to layers (for holding content) on a timeline: They are a plane of existence, a depth, that puts a loaded SWF and all its content on top of or below other movies that have been loaded in the player window. You can load hundreds of external .swf files into various levels in the player window.

When you use the loadMovie() action to load a movie into a level, you must assign a level number to load the movie into. However, you don’t need to load movies into sequential levels; you can assign arbitrary numbers, such as 46 or 731, if you’d rather. Once a movie has been loaded into a level, its target path to timelines on other levels is its level number. For example, if you were to load a movie into Level 37, movies on other levels would target that movie using the following target path:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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