Description
Function; called when the extensible tool is active and the user presses a key. The script should
call
tools.getKeyDown()
Example
The following example displays information about which key was pressed when the extensible
tool is active and the user presses a key.
function keyDown() {
fl.trace("key " + fl.tools.getKeyDown() + " was pressed");
}
See also
,
keyUp()
tools.getKeyDown()
keyUp()
Availability
Flash MX 2004.
Usage
function keyUp() {
// statements
}
Parameters
None.
Returns
Nothing.
Description
Function; called when the extensible tool is active and a key is released.
30
Top-Level Functions and Methods
to determine which key was pressed.
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?