![MACROMEDIA FLASH 8-EXTENDING FLASH Manual Download Page 28](http://html1.mh-extra.com/html/macromedia/flash-8-extending-flash/flash-8-extending-flash_manual_3348049028.webp)
28
Top-Level Functions and Methods
Example
The following example displays the message “Sort data?” in an Alert dialog box:
confirm("Sort data?");
See also
alert()
,
prompt()
deactivate()
Availability
Flash MX 2004.
Usage
function deactivate() {
// statements
}
Parameters
None.
Returns
Nothing.
Description
Function; called when the extensible tool becomes inactive (that is, when the active tool
changes from this tool to another one). Use this function to perform any cleanup the tool
needs.
Example
The following example displays a message in the Output panel when the tool becomes
inactive:
function deactivate() {
fl.trace( "Tool is no longer active" );
}
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...