First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Mark White | Website: http://www.entriq.com/

How it works...

The library's symbols cannot be attached directly to the main movie's stage :- they can only be accessed from the library's main timeline. When we load the library movie into the placeHolder instance, we essentially enable ActionScript to access the exported symbols via the library.

Note: Because the library's main timeline is always loaded, its a good idea to keep the library's stage empty so that you can load any symbol onto it. This is a guide line though, not a rule.

Put another way, the main movie itself can never attach to external library symbols.
The main movie can, however, load another movie's main timeline as if it where a movie-clip instance.
We use this fact to fool ActionScript - we load the library into the place holder, then load the library's symbols onto the library's stage - with the library's stage itself being a movie clip on the main stage.

Note: If you want to load symbols onto different levels/clips, then you'll need to repeat the above process for each level/clip that you want to do this on. In other words, load the library into a placeholder on each level and then attach the appropriate symbol to that place holder.
» Level Advanced

Added: 2001-10-29
Rating: 9 Votes: 105
(10 being the highest)
» Author
No details avialable.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.