G-L > Key.isToggled

 

Key.isToggled

Availability

Flash Player 5.

Usage

Key.isToggled(keycode)

Parameters

keycode The key code for Caps Lock (20) or Num Lock (144).

Returns

Nothing.

Description

Method; returns true if the Caps Lock or Num Lock key is activated (toggled). On the Macintosh, the key code values for these keys are identical.