EasyManua.ls Logo

MACROMEDIA FLASH 8-USING FLASH - Page 375

MACROMEDIA FLASH 8-USING FLASH
678 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Authoring multilanguage text with the Strings panel 375
When you deploy a SWF file, you also need to deploy the associated XML files with the string
translations in the web server. The first frame that contains text cannot appear until the entire
XML file is downloaded.
Manually replacing strings at publish time using the Stage
language
You can choose to manually replace strings when you publish your Flash SWF file using the
Stage language. This replaces all instances of input and dynamic text with an associated string
ID using the Stage language. In this case, text strings are only updated when you publish the
SWF file; language detection is not automatic, and you must publish a SWF file for each
language that you want to support.
To manually replace strings at publish time:
1. Select Window > Other Panels > Strings to open the Strings panel.
2. Click the Settings button to display the Settings dialog box.
3. Select the Replace Strings Automatically at Runtime check box.
4. Click OK
All instances of input and dynamic text are replaced with the translated strings when you
publish your SWF file.
Using automatic language detection with the default language
You can change the default runtime language to any language that you have selected as an
available language. When automatic language detection is turned on, and the SWF file is
viewed on the language operating system platform, the default language is used on any system
that is set to a language that is not one of the active languages. For example, if you set your
default language to English, and if you selected ja, en, and fr as active languages, users who
have their system language set to Japanese, English, or French automatically see text strings in
their language. However, users who have their system language set to Swedish, which is not
one of the selected languages, automatically see text strings in the default language you
selected—in this case, English.

Table of Contents

Related product manuals