_level
53
_level
Availability
Flash Lite 1.0.
Usage
_level
N
Description
Identifier; a reference to the root timeline of
_level
N
. You must use the
loadMovieNum()
function to load SWF files into the Flash Lite player before you use the
_level
property to
target them. You can also use
_level
N
to target a loaded SWF file at the level assigned by
N
.
The initial SWF file that loads into an instance of the Flash Lite player automatically loads
into
_level0
. The SWF file in
_level0
sets the frame rate, background color, and frame size
for all subsequently loaded SWF files. SWF files are then stacked in higher-numbered levels
above the SWF file in
_level0
.
You must assign a level to each SWF file that you load into the Flash Lite player by using the
loadMovieNum()
function. You can assign levels in any order. If you assign a level that already
contains a SWF file (including
_level0
), the SWF file at that level is unloaded and replaced
by the new SWF file.
Example
The following example loads a SWF file into Level 1, and then stops the playhead of the
loaded SWF file on Frame 6:
loadMovieNum("mySWF.swf", 1);
// at least 1 frame later
tellTarget(_level1) {
gotoAndStop(6);
}
See also
loadMovie()
Содержание FLASH 8-FLASH
Страница 1: ...Flash Lite 1 x ActionScript Language Reference...
Страница 6: ...6 Contents...
Страница 46: ...46 Flash Lite Global Functions...
Страница 62: ...62 Flash Lite Properties...
Страница 76: ...76 Flash Lite Statements...
Страница 110: ...110 Flash Lite Operators...
Страница 162: ...162 Index...