MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 242

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

Advertisement

If you want to load an XML file for the languages from a different URL at runtime, type the
6.
URL in the URL text box.
Note: The XML file generated by Flash is stored in the folder indicated by the SWF publish path.
For more information, see
selected, the XML file is stored in a folder for the language within the folder for the FLA file.
Click OK.
7.
A column for each selected language appears in the Strings panel. The columns appear in
alphabetical order.
Save the FLA file. When you save the FLA file, a folder for each language you selected is created
8.
in the same folder indicated in the SWF publish path.
Flash documents" on page
folder the FLA file resides in. Within each language file an XML file is created that is used to
load translated text.
To remove a language:
Select Window > Other Panels > Strings to open the Strings panel.
1.
Click the Settings button to show the Settings dialog box.
2.
In the Available Languages field, highlight a language you want to remove, and click the
3.
Remove button.
The language no longer appears in the Available Languages field.
Repeat step 3 until you have removed all the languages you want.
4.
When you are done removing languages, click OK.
5.
The column for each removed language no longer appears in the Strings panel.
Adding strings to the Strings panel
There are several ways to assign text strings to the Strings panel: you can assign a string ID to a
dynamic or input text field, add a string to the Strings panel without assigning it to a text field, or
assign an existing string ID to an existing dynamic or input text field. For information about
creating dynamic and input text fields, see
To assign a string ID to a text field:
Select Window > Other Panels > Strings to open the Strings panel.
1.
Select the Text tool from the toolbar. On the Stage, create an input or dynamic text field.
2.
While the text field is selected, enter a unique ID in the ID field in the Strings panel.
3.
Note: If a static text box is selected on the Stage, the Stage text selection section on the Strings
panel displays the message "Current text cannot have an ID associated with it." If a nontext item is
selected or multiple items are selected, it shows the message "Current selection cannot have an ID
associated with it."
In the Strings panel, type the string in the String text box.
4.
Click Apply to add the string to the Strings panel.
5.
Note: You can also use the Enter key to apply the ID to the text field.
242
Chapter 13: Creating Multilanguage Text
"Publishing Flash documents" on page
If no SWF publish path has been selected, it is created in the
311.
"Creating text" on page
311. If no SWF publish path is
For more information, see
108.
"Publishing

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents