G-L > Key.isToggled |  |

Key.isToggled

key.istoggled, istoggled

Availability

Flash Player 5.

Usage

    Key.isToggled(keycode)

Parameters

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

Returns

A Boolean value.

Description

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