mouseDown()
Availability
Flash MX 2004.
Usage
function mouseDown( [ pt ] ) {
// statements
}
Parameters
A point that specifies the location of the mouse when the button is pressed. It is passed to the
pt
function when the mouse button is pressed. This parameter is optional.
Returns
Nothing.
Description
This function is called whenever the tool is active and the mouse button is pressed while the
pointer is over the Stage.
Example
function mouseDown() {
fl.trace("Mouse button has been pressed");
}
34
Chapter 2: Top-level functions
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?