Flash CS3 Documentation |
|||
| Extending Flash > Top-Level Functions and Methods > deactivate() | |||
Flash MX 2004.
function deactivate() {
// statements
}
None.
Nothing.
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.
The following example displays a message in the Output panel when the tool becomes inactive:
function deactivate() {
fl.trace( "Tool is no longer active" );
}
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00003819.html