EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Key

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 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...
Key 669
Example
The following example sets the IME to
UNKNOWN if the system has an Input Method Editor
(IME) installed (
System.capabilities.hasIME).
if(System.capabilities.hasIME) {
trace(System.IME.getConversionMode());
System.IME.setConversionMode(System.IME.UNKNOWN);
trace(System.IME.getConversionMode());
}
See also
getConversionMode (IME.getConversionMode method)
Key
Object
|
+-Key
public class Key
extends Object
The Key class is a top-level class whose methods and properties you can use without a
constructor. Use the methods of the Key class to build an interface that can be controlled by a
user with a standard keyboard. The properties of the Key class are constants representing the
keys most commonly used to control applications, such as Arrow keys, Page Up, and Page
Down.
A Flash application can only monitor keyboard events that occur within its focus. A Flash
application cannot detect keyboard events in another application.
Availability: ActionScript 1.0; Flash Player 6

Table of Contents

Related product manuals