MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 28

Extending flash
Table of Contents

Advertisement

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" );
}
28
Top-Level Functions and Methods

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents