Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > IME (System.IME) > getConversionMode (IME.getConversionMode method) | |||
public static getConversionMode() : String
Indicates the conversion mode of the current IME.
Availability: ActionScript 1.0; Flash Player 8
String - The conversion mode. Possible values are IME mode string constants that indicate the conversion mode:
ALPHANUMERIC_FULLALPHANUMERIC_HALFCHINESEJAPANESE_HIRAGANAJAPANESE_KATAKANA_FULLJAPANESE_KATAKANA_HALFKOREANUNKNOWNThe following example gets the IME if the system has an Input Method Editor (IME) installed ( System.capabilities.hasIME).
var mode:String = System.IME.UNKNOWN;
if(System.capabilities.hasIME) {
mode = System.IME.getConversionMode();
}
trace(mode);
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), UNKNOWN (IME.UNKNOWN property)
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00001736.html