EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 646

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
646 Chapter 12: ActionScript Dictionary
static
Availability
Flash Player 6.
Usage
class someClassName{
static var name;
static function name() {
// your statements here
}
}
Note: To use this keyword, you must specify ActionScript 2.0 and Flash Player 6 or later in the Flash
tab of your FLA file’s Publish Settings dialog box. This keyword is supported only when used in
external script files, not in scripts written in the Actions panel.
Parameters
name
The name of the variable or function that you want to specify as static.
Description
Keyword; specifies that a variable or function is created only once per class rather than being
created in every object based on that class. For more information, see “Instance and class
members” on page 165.
You can use this keyword in class definitions only, not in interface definitions.
See also
private
, public
stop()
Availability
Flash 2.
Usage
stop()
Parameters
None.
Returns
Nothing.
Description
Function; stops the SWF file that is currently playing. The most common use of this action is to
control movie clips with buttons.

Table of Contents

Related product manuals