K-L > Key.isDown
Key.isDownSyntax
Key.isDown
(keycode
);
Arguments
keycode
The key code value assigned to a specific key, or a Key object property associated with a specific key. Appendix B, "Keyboard Keys and Key Code Values," lists all of the key codes associated with the keys on a standard keyboard.
Description
Method; returns true
if the key specified in keycode
is pressed. On the Macintosh, the key code values for the Caps Lock and Num Lock keys are identical.
Player
Flash 5 or later.