User Guide

IME (System.IME) 667
setConversionMode (IME.setConversionMode
method)
public static setConversionMode(mode:String) : Boolean
Sets the conversion mode of the current IME.
Availability: ActionScript 1.0; Flash Player 8
Parameters
mode:String - The conversion mode. Possible values are the IME mode string constants:
ALPHANUMERIC_FULL
ALPHANUMERIC_HALF
CHINESE
JAPANESE_HIRAGANA
JAPANESE_KATAKANA_FULL
JAPANESE_KATAKANA_HALF
KOREAN
Returns
Boolean - Returns true if the conversion mode was successfully set; otherwise false.
Example
The following example gets the IME if the system has an Input Method Editor (IME)
installed (
System.capabilities.hasIME) and sets the variable mode to that value.
var mode:String = System.IME.UNKNOWN;
if(System.capabilities.hasIME) {
mode = System.IME.getConversionMode();
}
System.IME.setConversionMode(mode);
trace(System.IME.getConversionMode());
See also
ALPHANUMERIC_FULL (IME.ALPHANUMERIC_FULL property), ALPHANUMERIC_HALF
(IME.ALPHANUMERIC_HALF property)
, CHINESE (IME.CHINESE property),
JAPANESE_HIRAGANA (IME.JAPANESE_HIRAGANA property), JAPANESE_KATAKANA_FULL
(IME.JAPANESE_KATAKANA_FULL property)
, JAPANESE_KATAKANA_HALF
(IME.JAPANESE_KATAKANA_HALF property)
, KOREAN (IME.KOREAN property)