Extending Flash |
|
|
|
| Objects > Tools object > tools.penLoc | |||
Flash MX 2004.
tools.penLoc
Read-only property; a point that represents the current location of the mouse pointer. The tools.penLoc property comprises two properties, x and y, corresponding to the x,y location of the mouse pointer.
The following example determines the current location of the mouse:
var tempPt = fl.tools.penLoc;
|
|
|
|