deactivate()

 < Day Day Up > 

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" ); }

     < Day Day Up > 


    Developing Extensions for Macromedia Flash 8
    Developing Extensions for Macromedia Flash 8
    ISBN: 032139416X
    EAN: 2147483647
    Year: 2005
    Pages: 81

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net