October 2005
Intermediate to advanced
1376 pages
27h 40m
English
Object
|
+-mx.lang.Locale
public class Locale
extends ObjectThe mx.lang.Locale class allows you to control how multilanguage text is displayed in a SWF file. The Flash Strings panel allows you to use string IDs instead of string literals in dynamic text fields. This allows you to create a SWF file that displays text loaded from a language-specific XML file. The XML file must use the XML Localization Interchange File Format(XLIFF). There are three ways to display the language-specific strings contained in the XLIFF files:
"automatically at runtime"— Flash Player replaces string IDs with strings from the XML file matching the default system language code returned by System.capabilities.language.
"manually using stage language" ...
Read now
Unlock full access