Flash Player 5.
Key.isDown
(keycode
);
keycode
The key code value assigned to a specific key, or a Key object property associated with a specific key.
A Boolean value.
Method; returns true
if the key specified in keycode
is pressed, false
if it is not. On the Macintosh, the key code values for the Caps Lock and Num Lock keys are identical.