Setenabled (Ime.setenabled Method); Unknown (Ime.unknown Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

setEnabled (IME.setEnabled method)

public static setEnabled(enabled:Boolean) : Boolean
Enables or disables the system IME. An enabled IME performs multibyte input; a disabled
IME performs alphanumeric input.
Availability: ActionScript 1.0; Flash Player 8
Parameters
- Set to
enabled:Boolean
Returns
- If the attempt to enable the system IME is successful, returns
Boolean
.
false
Example
The following example checks to see whether IME is enabled by calling the
method and then changes its enabled state to the opposite by calling the
method.
if(System.capabilities.hasIME) {
var isImeEnabled:Boolean = System.IME.getEnabled();
trace(isImeEnabled);
if(isImeEnabled) {
System.IME.setEnabled(false);
}
else {
System.IME.setEnabled(true);
}
var isImeEnabled:Boolean = System.IME.getEnabled();
trace(isImeEnabled);
}

UNKNOWN (IME.UNKNOWN property)

public static UNKNOWN : String
A string with the value
with all IMEs.
Availability: ActionScript 1.0; Flash Player 8
668
ActionScript classes
to enable the system IME,
true
for use with
"UNKNOWN"
to disable it.
false
getConversionMode()
; otherwise
true
isEnabled()
setEnabled()
. This constant is used

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF