ActionScript 2.0 Language Reference |
|
|
|
| ActionScript classes > IME (System.IME) > getEnabled (IME.getEnabled method) | |||
public static getEnabled() : Boolean
Indicates whether the system IME is enabled. An enabled IME performs multibyte input; a disabled IME performs alphanumeric input.
Availability: ActionScript 1.0; Flash Player 8
Boolean - Returns true if the system IME is enabled, false if it is disabled.
The following example checks to see whether IME is enabled by calling the isEnabled() method.
if(System.capabilities.hasIME) {
var isImeEnabled:Boolean = System.IME.getEnabled();
trace(isImeEnabled);
}
|
|
|
|