Flash 8 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > IME (System.IME) | |||
Object
|
+-System.IME
public class IME
extends Object
The IME class lets you directly manipulate the operating system's input method editor (IME) in the Flash Player application that is running on a client computer. You can determine whether an IME is installed, whether or not the IME is enabled, and which IME is enabled. You can disable or enable the IME in the Flash Player application, and you can perform other limited functions, depending on the operating system.
Input method editors let users type non-ASCII text characters in Asian languages such as Chinese, Japanese, and Korean. For more information on IMEs, see the operating system documentation for the platform for which you are developing applications. Some additional resources for information about input methods are listed here:
The following table shows the platform coverage of this class:
|
Capability |
Windows |
Macintosh OSX |
Macintosh Classic |
Linux/Solaris XIM |
|---|---|---|---|---|
|
Determine whether the IME is installed |
Yes |
Yes |
Yes |
Yes |
|
Set IME on or off |
Yes |
Yes |
Yes |
Yes |
|
Find out whether IME is on or off |
Yes |
Yes |
Yes |
Yes |
|
Set IME conversion mode |
Yes |
Yes ** |
No |
Yes |
|
Get IME conversion mode |
Yes |
Yes ** |
No |
Yes |
|
Send IME the string to be converted |
Yes * |
No |
No |
Yes |
|
Get from IME the original string before conversion |
Yes * |
No |
No |
Yes |
|
Send request to convert to IME |
Yes * |
No |
No |
Yes |
* Not all Windows IMEs support all of these operations. So far the only IME that supports them all is the Japanese IME. Every IME differs in its support of the OS calls.
** On Macintosh these methods are supported only for Japanese, and they are not supported for third-party IMEs.
Availability: ActionScript 1.0; Flash Player 8
|
Modifiers |
Property |
Description |
|---|---|---|
|
|
ALPHANUMERIC_FULL |
A string with the value |
|
|
ALPHANUMERIC_HALF |
A string with the value |
|
|
CHINESE |
A string with the value |
|
|
JAPANESE_HIRAGANA |
A string with the value |
|
|
JAPANESE_KATAKANA_FULL |
A string with the value |
|
|
JAPANESE_KATAKANA_HALF |
A string with the value |
|
|
KOREAN |
A string with the value |
|
|
UNKNOWN |
A string with the value |
Properties inherited from class Object
|
Event |
Description |
|---|---|
|
onIMEComposition |
Notified when the IME composition string is being set. |
|
Modifiers |
Signature |
Description |
|---|---|---|
|
|
addListener |
Registers an object to receive notification when an IME event handler is invoked by the |
|
|
doConversion |
Instructs the IME to select the first candidate for the current composition string. |
|
|
getConversionMode |
Indicates the conversion mode of the current IME. |
|
|
getEnabled |
Indicates whether the system IME is enabled. |
|
|
removeListener |
Removes a listener object that was previously registered to an |
|
|
setCompositionString |
Sets the IME composition string. |
|
|
setConversionMode |
Sets the conversion mode of the current IME. |
|
|
setEnabled |
Enables or disables the system IME. |
Methods inherited from class Object addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toString, unwatch, valueOf, watch
Version 8
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00002276.html
Comments