Locale (mx.lang.Locale)
Object
|
+-mx.lang.Locale
public class Locale
extends Object
The 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" ...
Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.