keyDown()
Availability
Flash MX 2004.
Usage
function keyDown() {
// statements
}
Parameters
None.
Returns
Nothing.
Description
This function is called when the tool is active and the user presses a key. The script should call
tools.getKeyDown()
Example
function keyDown() {
fl.trace("key " + fl.tools.getKeyDown() + " was pressed");
}
to determine which key was pressed.
keyDown()
31
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?