MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 30

Extending flash
Table of Contents

Advertisement

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.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents