03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The IME class lets you directly manipulate the operating system's input method editor (IME)<br />

in the Flash Player application that is running on a client computer. You can determine<br />

whether an IME is installed, whether or not the IME is enabled, <strong>and</strong> which IME is enabled.<br />

You can disable or enable the IME in the Flash Player application, <strong>and</strong> you can perform other<br />

limited functions, depending on the operating system.<br />

Input method editors let users type non-ASCII text characters in Asian languages such as<br />

Chinese, Japanese, <strong>and</strong> Korean. For more information on IMEs, see the operating system<br />

documentation for the platform for which you are developing applications. Some additional<br />

resources for information about input methods are listed here:<br />

■ http://www.microsoft.com/globaldev/default.mspx<br />

■ http://developer.apple.com/documentation/<br />

■ http://java.sun.com<br />

On the Macintosh, calls to the IME application programming interface (API) fail if you do<br />

not have the IME enabled. Once you manually enable the IME, subsequent calls work as<br />

expected. For example, if you are using Japanese IME on your system, it must be enabled <strong>and</strong><br />

in one of four possible modes (Hiragana, Full-width Katakana, Full-width Alphanumeric,<br />

Half-width Katakana) before this API is called.<br />

The following table shows the platform coverage of this class:<br />

Capability Window<br />

s<br />

Determine whether the<br />

IME is<br />

installed System.capa<br />

bilities.hasIME<br />

Set IME on or<br />

off System.IME.setEna<br />

bled()<br />

Find out whether IME is<br />

on or off<br />

System.IME.getEnabl<br />

ed()<br />

Macintosh<br />

OSX<br />

Macintosh<br />

Classic<br />

Yes Yes Yes Yes<br />

Yes Yes Yes *** Yes<br />

Yes Yes Yes Yes<br />

Set IME conversion<br />

mode System.IME.set<br />

ConversionMode()<br />

Yes Yes ** No Yes<br />

Linux/<br />

Solaris XIM<br />

IME (System.IME) 663

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!