User Guide

Tools object 359
Description
Read-only property; a point that represents the position of the last mouse-down event on the
Stage.
penDownLoc has two properties, x and y, corresponding to the x,y location of the mouse
on the current document.
tools.penLoc
Availability
Flash MX 2004.
Usage
tools.penLoc
Description
Read-only property; a point that represents the current location of the mouse. penLoc has two
properties:
x and y, corresponding to the x,y location of the mouse on the current document.
tools.setCursor()
Availability
Flash MX 2004.
Usage
tools.setCursor( cursor )
Parameters
cursor
An integer that defines the pointer appearance, as described in the following list:
0 Plus cursor (+)
1 black arrow
2 white arrow
3 four-way arrow
4 two-way horizontal arrow
5 two-way vertical arrow
6 X
7 hand cursor
Returns
Nothing.
Description
Method; sets the pointer to a specified appearance.