User Guide
730 ActionScript classes
■ "via ActionScript at runtime"—String ID replacement is controlled using
ActionScript at runtime. This option gives you control over both the timing and language
of string ID replacement.
You can use the properties and methods of this class when you want to replace the string IDs
"via ActionScript at runtime."
All of the properties and methods available are static, which means that they are accessed
through the mx.lang.Locale class itself rather than through an instance of the class.
Note: The Locale class is different from the other classes in the ActionScript 2.0 Language
Reference, since it is not part of the Flash Player. Since this class installed in the Flash
Authoring classpath it is automatically compiled into your SWF files. Using the Locale class
increases the SWF size slightly since the class is compiled into the SWF.
Availability: ActionScript 2.0; Flash Player 7
Property summary
Properties inherited from class Object
Modifiers Property Description
static autoReplace:Boolean Determines whether strings are replaced
automatically after loading the XML file.
static languageCodeArray:Ar
ray
[read-only]
An array containing language codes for the languages
that have been specified or loaded into the FLA file.
static stringIDArray:Array
[read-only]
An array containing all the string IDs in the FLA file.
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)