beautypg.com

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

Page 41

background image

19

EXTENDING FLASH PROFESSIONAL

Top-Level Functions and Methods

Last updated 5/2/2011

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

}

This manual is related to the following products: