Accessibility
 
Home > Products > Flash > Support > ActionScript Dictionary
Flash Icon Macromedia Flash Support Center - ActionScript dictionary
Key.getAscii

Availability
Flash Player 5.

Usage

 Key.getAscii(); 

Parameters
None.

Returns
An integer that represents the ASCII value of the last key pressed.

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.

To Table of Contents Back to Previous document Forward to next document