5.
Click OK.
Flash generates the following ActionScript, which stores the language XML file paths. You
can use this as a starting point for your own language detection script.
The ActionScript generated by the Strings panel does not use the
function. You must decide how to call this function based on the language detection
customizations your project requires.
import mx.lang.Locale;
Locale.setFlaName("<flaFileName>");
Locale.setDefaultLang("langcode");
Locale.addXMLPath("langcode", "url/langcode/flaname_langcode.xml");
XML file format
Exported XML is in UTF-8 format and follows the XML Localization Interchange File
Format (XLIFF)1.0 standard. It defines a specification for an extensible localization
interchange format that lets any software provider produce a single interchange format that
can be delivered to, and understood by, any localization service provider. For more
information about XLIFF, see www.oasis-open.org/committees/xliff/.
XLIFF examples
If any of the following characters are entered in the Strings panel, they are replaced by the
appropriate entity reference when written to XML files:
Character
Replaced by
&
&
'
'
"
"
<
<
>
>
Authoring multilanguage text with the Strings panel
Locale.initialize
377
Need help?
Do you have a question about the FLASH 8-USING FLASH and is the answer not in the manual?