View Full Version : levels
elnino
03-15-2001, 01:45 PM
I am beginingg to learn actionscript and am a little confused about levels. If I put n amount of movies into n amount of layers on my main stage - are they by default on root level or does the layer hiarchy or my movies within movies have anything to do with what level they are on levels. Or are levels simply something I define myself and decide which .swfs go into them. If thats the answer I'll be completly stoked.
Hope some can help
El Nino
Hi and welcome to actionscripts. Layers are all in one level in your movie and have nothing to do with levels. Your main movie is on level 0 and any movies you load over that (but you can load another movie into level0 if you like) go on higher levels. Level 1 is used usually if you want to just load one more movie. If you load another you can load it on level 2 and it will be superimposed over levels 0 and 1. If you load another movie on a level which already has a movie on it that movie will get kicked out to make room for the one you are loading...
~mgb
Jesse
03-16-2001, 05:30 AM
And to load a movie you use the loadMovie command with the movie name and the level you want to load into.
Cheers
Jesse
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.