G-L > Key.getCode

 

Key.getCode

Availability

Flash Player 5.

Usage

Key.getCode();

Parameters

None.

Returns

Nothing.

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.