G-L > Key.getAscii |
![]() ![]() ![]() |
Key.getAscii
Availability
Flash Player 5.
Usage
Key.getAscii();
Parameters
None.
Returns
Nothing.
Description
Method; returns the ASCII code of the last key pressed or released. The ASCII values returned are English keyboard values. For example, if you press Shift+2, Key.getAscii
returns @
on a Japanese keyboard, just as it does on an English keyboard.
![]() ![]() ![]() |