beautypg.com

Mousedoubleclick(), Mousedown() – Adobe Extending Flash Professional CS4 User Manual

Page 42

background image

20

EXTENDING FLASH CS4 PROFESSIONAL

Top-Level Functions and Methods

function keyUp() {

fl.trace("Key is released");

}

See also

keyDown()

mouseDoubleClick()

Availability
Flash MX 2004.

Usage

function mouseDoubleClick() {

// statements

}

Parameters
None.

Returns
Nothing.

Description
Function; called when the extensible tool is active and the mouse button is double-clicked on the Stage.

Example
The following example displays a message in the Output panel when the extensible tool is active and the mouse button
is double-clicked.

function mouseDoubleClick() {

fl.trace("Mouse was double-clicked");

}

mouseDown()

Availability
Flash MX 2004.

Usage

function mouseDown( [ pt ] ) {

// statements

}