EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 412

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
412 Chapter 12: ActionScript Dictionary
Key.ENTER
Availability
Flash Player 5.
Usage
Key.ENTER
Description
Property; constant associated with the key code value for the Enter key (13).
Key.ESCAPE
Availability
Flash Player 5.
Usage
Key.ESCAPE
Description
Property; constant associated with the key code value for the Escape key (27).
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.

Table of Contents

Related product manuals