Level - MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 1.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

_level

Availability
Flash Lite 1.0.
Usage
_levelN
Description
Identifier; a reference to the root timeline of
. You must use the
_levelN
loadMovieNum()
function to load SWF files into the Flash Lite player before you use the
property to
_level
target them. You can also use
to target a loaded SWF file at the level assigned by
.
_levelN
N
The initial SWF file that loads into an instance of the Flash Lite player automatically loads
into
. The SWF file in
sets the frame rate, background color, and frame size
_level0
_level0
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
function. You can assign levels in any order. If you assign a level that already
loadMovieNum()
contains a SWF file (including
), the SWF file at that level is unloaded and replaced
_level0
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()
_level
53

Advertisement

Table of Contents
loading

Table of Contents