26
Chapter 2: Top-level functions
activate()
Availability
Flash MX 2004.
Usage
function activate() {
// statements
}
Parameters
None.
Returns
Nothing.
Description
This function is called when the extensible tool becomes active (that is, when the tool is selected
in the Tools panel). Any setup the tool needs to do should be performed in this function.
Example
function activate() {
fl.trace( "Tool is active" );
}
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...