tools.mouseIsDown
Availability
Flash MX 2004.
Usage
tools.mouseIsDown
Description
Read-only property; a Boolean value that is
if the left mouse button is currently down;
true
otherwise.
false
Example
The following example determines whether the left mouse button is pressed.
var isMouseDown = fl.tools.mouseIsDown;
tools.penDownLoc
Availability
Flash MX 2004.
Usage
tools.penDownLoc
Description
Read-only property; a point that represents the position of the last mouse-down event on the
Stage. The
property comprises two properties,
and
, corresponding to
tools.penDownLoc
x
y
the
location of the mouse pointer.
x,y
Example
The following example determines the position of the last mouse-down event on the Stage
and displays the x and y values in the Output panel.
var pt1 = fl.tools.penDownLoc;
fl.trace("x,y location of last mouseDown event was " + pt1.x + ", " + pt1.y)
See also
tools.penLoc
514
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?