MACROMEDIA FLASH 8-USING FLASH Use Manual page 382

Using flash
Table of Contents

Advertisement

To toggle between Japanese and Chinese character input and Korean
character input:
1.
Select Edit >Preferences (Windows) or Flash > Preferences (Macintosh), and click the
Editing tab in the Preferences dialog box.
2.
Under Input Language Settings, select one of the following options:
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.
3.
Click OK.
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
object.
XML
You should save the external file in UTF-8 (recommended), UTF-16BE, or UTF-16LE
format, using an application that supports the format. If you are using UTF-16BE or UTF-
16LE format, the file must begin with a BOM to identify the encoding format to Flash Player.
For more information, see
on page
365.
If the external file is an XML file, you cannot use an XML encoding tag to change the
encoding of the file. You should save the file in a supported Unicode format. For more
information, see
To include multilanguage text using an externally loaded file:
1.
In the Flash authoring tool, create a dynamic or input text field to show the text in the
document. For more information, see
2.
In the Property inspector, with the text field selected, assign an instance name to the text
field.
3.
Create a text or XML file that defines the value for the text filed variable.
382
Creating Multilanguage Text
action, the
"Unicode encoding formats supported by Flash Player"
"About encoding in external XML files" on page
Chapter 6, "Working with Text," on page
action, the
getURL
LoadVars
object, or the
366.
157.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents