K-L > Key.getCode

Key.getCode

Syntax

Key.getCode();

Arguments

None.

Description

Method; returns the key code value of the last key pressed. Use the information in Appendix B, "Keyboard Keys and Key Code Values," to match the returned key code value with the virtual key on a standard keyboard.

Player

Flash 5 or later.