G-L > Key.getCode |  |

Key.getCode

key.getcode, getcode

Availability

Flash Player 5.

Usage

    Key.getCode();

Parameters

None.

Returns

An integer that represents the keycode 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 virtual key on a standard keyboard, use the information in Appendix B, Keyboard Keys and Key Code Values of Using Flash.