keyDown()
31
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()
to determine which key was pressed.
Example
function keyDown() {
fl.trace("key " + fl.tools.getKeyDown() + " was 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 ...