MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 419

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

Returns
The length of the specified string or variable name.
Description
String function; returns the length of the specified string or variable name.
Example
The following example returns the value of the string
length("Hello");
The result is 5.
See also
" " (string delimiter)
_level
Availability
Flash Player 4.
Usage
_levelN
Description
Identifier; a reference to the root Timeline of
SWF files into the Flash Player before you use the
use
to target a loaded SWF file at the level assigned by
_levelN
The initial SWF file loaded into an instance of the Flash Player is automatically loaded into
. The SWF file in
_level0
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 Player using
loadMovieNum()
SWF file (including
SWF file.
Example
The following example stops the playhead in the main Timeline of the SWF file in
_level9.stop();
The following example sends the playhead in the main Timeline of the SWF file in
Frame 5. The SWF file in
action.
_level4.gotoAndStop(5);
See also
,
loadMovie()
MovieClip.swapDepths()
,
String
class,
sets the frame rate, background color, and frame size for all
_level0
.
. You can assign levels in any order. If you assign a level that already contains a
), the SWF file at that level is unloaded and replaced by the new
_level0
must have previously been loaded with a
_level4
.
"Hello"
String.length
. You must use
_levelN
property to target them. You can also
_level
loadMovieNum()
.
N
_level9
_level4
loadMovieNum()
_level
to load
.
to
419

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents