beautypg.com

Setcursor() – Adobe Extending Flash Professional CS5 User Manual

Page 45

background image

23

EXTENDING FLASH PROFESSIONAL

Top-Level Functions and Methods

Last updated 5/2/2011

setCursor()

Availability
Flash MX 2004.

Usage

function setCursor() {

// statements

}

Parameters
None.

Returns
Nothing.

Description
Function; called when the extensible tool is active and the mouse moves, to allow the script to set custom pointers. The
script should call

tools.setCursor()

to specify the pointer to use. For a list that shows which pointers correspond

to which integer values, see

tools.setCursor()

.

Example

function setCursor() {

fl.tools.setCursor( 1 );

}

This manual is related to the following products: