G-L > Key.isDown

 

Key.isDown

Availability

Flash Player 5.

Usage

Key.isDown(keycode);

Parameters

keycode The key code value assigned to a specific key, or a Key object property associated with a specific key. For a list of all of the key codes associated with the keys on a standard keyboard, see Appendix B, Keyboard Keys and Key Code Values of Using Flash.

Returns

Nothing.

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.