beautypg.com

Mouseup(), Notifysettingschanged() – Adobe Extending Flash Professional CS4 User Manual

Page 44

background image

22

EXTENDING FLASH CS4 PROFESSIONAL

Top-Level Functions and Methods

function mouseMove() {

fl.trace("moving");

}

function mouseMove(pt) {

fl.trace("x = "+ pt.x + " :: y = " + pt.y);

}

mouseUp()

Availability
Flash MX 2004.

Usage

function mouseUp() {

// statements

}

Parameters
None.

Returns
Nothing.

Description
Function; called whenever the extensible tool is active and the mouse button is released after being pressed 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 released.

function mouseUp() {

fl.trace("mouse is up");

}

notifySettingsChanged()

Availability
Flash MX 2004.

Usage

function notifySettingsChanged() {

// statements

}