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
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...