Key.getCode()

Availability

Flash Player 5.

Usage

Key.getCode();

Parameters

None.

Returns

An integer that represents the key code of the last key pressed.

Description

Method; returns the key code value of the last key pressed. To match the returned key code value with the key on a standard keyboard, see Keyboard Keys and Key Code Values.