User Guide
IME class 439
The following code creates a new child domain of the current domain:
request.url = "module3.swf";
request.applicationDomain = new
ApplicationDomain(ApplicationDomain.currentDomain);
IME class
The IME class lets you manipulate the operating system’s Input Method Editor (IME) within
Flash Player.
Using ActionScript, you can determine the following:
■ If an IME is installed on the user's computer (Capabilities.hasIME).
■ If the IME is enabled or disabled on the user’s computer (IME.enabled).
■ The conversion mode the current IME is using (IME.conversionMode).
You can associate an input text field with a particular IME context. When you switch between
input fields, you can also switch the IME between Hiragana (Japanese), full-width numbers,
half-width numbers, direct input, and so on.
An IME lets users type non-ASCII text characters in multibyte languages, such as Chinese,
Japanese, and Korean.
For more information on working with IMEs, see the documentation for the operating
system for which you are developing the application. For additional resources, see the
following websites:
■ http://www.microsoft.com/globaldev/default.mspx
■ http://developer.apple.com/documentation/
■ http://java.sun.com/
NOTE
If an IME is not active on the user's computer, calls to IME methods or properties, other
than
Capabilities.hasIME, will fail. Once you manually activate an IME, subsequent
ActionScript calls to IME methods and properties will work as expected. For example, if
you are using a Japanese IME, you must activate it before you can call any IME method
or property.