Setconversionmode (Ime.setconversionmode Method) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

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
- The conversion mode. Possible values are the IME mode string constants:
mode:String
ALPHANUMERIC_FULL
ALPHANUMERIC_HALF
CHINESE
JAPANESE_HIRAGANA
JAPANESE_KATAKANA_FULL
JAPANESE_KATAKANA_HALF
KOREAN
Returns
- Returns
Boolean
true
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();
}
System.IME.setConversionMode(mode);
trace(System.IME.getConversionMode());
See also
ALPHANUMERIC_FULL (IME.ALPHANUMERIC_FULL property)
(IME.ALPHANUMERIC_HALF property)
JAPANESE_HIRAGANA (IME.JAPANESE_HIRAGANA property)
(IME.JAPANESE_KATAKANA_FULL property)
(IME.JAPANESE_KATAKANA_HALF property)
if the conversion mode was successfully set; otherwise
) and sets the variable
,
CHINESE (IME.CHINESE property)
mode
,
ALPHANUMERIC_HALF
,
JAPANESE_KATAKANA_FULL
,
JAPANESE_KATAKANA_HALF
,
KOREAN (IME.KOREAN property)
.
false
to that value.
,
IME (System.IME)
667

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?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents