K-L > _level
_levelSyntax
_level
N;
Arguments
N
A nonnegative integer specifying a depth level. By default, _level
is set to 0, the movie at the base of the hierarchy.
Description
Property; a reference to the root movie Timeline of levelN
. You must load movies using the loadMovie
action, before targeting them using the _level
property.
In the Flash Player, movies are assigned a number according to the order in which they were loaded. The movie that was loaded first is loaded at the bottom level, level 0. The movie in level 0 sets the frame rate, background color, and frame size for all subsequently loaded movies. Movies are then stacked in higher numbered levels above the movie in level 0. The level where a movie clip resides is also referred to as the depth level or depth.
Player
Flash 4 or later.
Example
The following example stops the Timeline of the movie in level 0:
_level0.stop();
The following example sends the Timeline of the movie in level 4 to frame 5. The movie in level 4 must have previously been loaded with a loadMovie
action:
_level4.gotoAndStop(5);
See also
loadMovie
MovieClip.swapDepths