34
Chapter 2: Top-level functions
mouseDown()
Availability
Flash MX 2004.
Usage
function mouseDown( [
pt
] ) {
// statements
}
Parameters
pt
A point that specifies the location of the mouse when the button is pressed. It is passed to the
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");
}
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...