EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Getconversionmode (Ime.getconversionmode Method)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
660 ActionScript classes
mc.onPress = function() {
if(System.capabilities.hasIME) {
Selection.setFocus(mc.txt);
System.IME.setCompositionString(mc.txt.text);
trace(System.IME.doConversion());
}
}
getConversionMode (IME.getConversionMode
method)
public static getConversionMode() : String
Indicates the conversion mode of the current IME.
Availability: ActionScript 1.0; Flash Player 8
Returns
String - The conversion mode. Possible values are IME mode string constants that indicate
the conversion mode:
ALPHANUMERIC_FULL
ALPHANUMERIC_HALF
CHINESE
JAPANESE_HIRAGANA
JAPANESE_KATAKANA_FULL
JAPANESE_KATAKANA_HALF
KOREAN
UNKNOWN
Example
The 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);

Table of Contents

Related product manuals