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" );
}
26
Chapter 2: Top-level functions
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?