Creating Documents With Multilanguage Text Without Using The Strings Panel - MACROMEDIA FLASH MX 2004-USING FLASH Use Manual

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

Creating documents with multilanguage text without using
the Strings panel
You can create documents with multilanguage text without using the Strings panel. Using the
XMLConnector component to connect to external XML files
You can use the XMLConnector component to connect to an external XML document in order
to bind to properties in the document. Its purpose is to read or write XML documents using
HTTP
operations,
GET
components and external XML documents. The XMLConnector communicates with
components in your application using either data binding features in the Flash Professional
authoring environment or ActionScript code. For more information, see "XMLConnector
component (Flash Professional only)" in Using Components.
Using a Western keyboard to enter Asian characters on the Stage
With Flash MX 2004, you can enter Asian characters on the Stage using a standard Western
keyboard by using Input Method Editors (IMEs). Flash supports more than two dozen IMEs.
For example, if you want to create a website that will reach a broad range of Asian viewers, you
can use a standard Western (QWERTY) keyboard to create text in Chinese, Japanese, and
Korean simply by changing the input method editor.
In previous versions of Flash, it was not possible to input Korean characters using a standard
Western keyboard. With Flash MX 2004, you can enter text in Korean, Japanese, and Chinese
characters simply by toggling the IME from Japanese and Chinese character input to Korean
character input.
Note: This affects only text input on the Stage, not text entered in the Actions panel. This feature is
available for all supported Windows operating systems and Macintosh OS X.
To toggle between Japanese and Chinese character input and Korean character input:
Select Edit > Preferences, and click the Editing tab in the Preferences dialog box.
1.
Under Input Language Settings, select one of the following options:
2.
Select Chinese and Japanese to input Chinese and Japanese characters from a Western
keyboard. (This is the default setting, and it should also be selected for Western languages.)
Select Korean to input Korean characters from a Western keyboard.
Click OK.
3.
Using ActionScript to load external files
If you have existing XML data you want to load, or prefer a different format for the XML file,
instead of using the Strings panel, you can create a document containing multilanguage text by
placing the text in an external text or XML file and loading the file into the movie clip at runtime,
using the
loadVariables
248
Chapter 13: Creating Multilanguage Text
operations, or both. It acts as a connector between other
POST
action, the
getURL
action, the
LoadVars
object, or the
object.
XML

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents