ActionScript 2.0 Language Reference |
|
|
|
| ActionScript classes > capabilities (System.capabilities) > hasIME (capabilities.hasIME property) | |||
public static hasIME : Boolean [read-only]
Indicates whether the system has an input method editor (IME) installed. A value of true indicates that the player is running on a system that has an IME installed; a value of false indicates that no IME is installed. The server string is IME.
Availability: ActionScript 1.0; Flash Player 8
The following example sets the IME to ALPHANUMERIC_FULL if the player is running on a system that has an IME installed.
if(System.capabilities.hasIME) {
trace(System.IME.getConversionMode());
System.IME.setConversionMode(System.IME.ALPHANUMERIC_FULL);
trace(System.IME.getConversionMode());
}
|
|
|
|