
382
Creating Multilanguage Text
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
action, the
getURL
action, the
LoadVars
object, or the
XML
object.
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
“Unicode encoding formats supported by Flash Player”
on page 365
.
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
Chapter 6, “Working with Text,” on page 157
.
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.
NO
T
E
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
“About encoding in external XML files” on page 366
.
Summary of Contents for FLASH 8-FLASH
Page 1: ...Using Flash ...
Page 12: ...12 Contents ...
Page 110: ...110 Using Symbols Instances and Library Assets ...
Page 128: ...128 Working with Color Strokes and Fills ...
Page 156: ...156 Drawing ...
Page 190: ...190 Working with Text ...
Page 224: ...224 Working with Graphic Objects ...
Page 270: ...270 Creating Motion ...
Page 310: ...310 Working with Video ...
Page 362: ...362 Working with Screens Flash Professional Only ...
Page 386: ...386 Creating Multilanguage Text ...
Page 454: ...454 Data Integration Flash Professional Only ...
Page 500: ...500 Publishing ...
Page 534: ...534 Creating Accessible Content ...