initialize (Locale.initialize method)
public static initialize() : Void
Determine the language to use and begin xml loading. This is primarily used by Flash when
the strings replacement method is "automatically at runtime".
Availability: ActionScript 2.0; Flash Lite 2.0
loadLanguageXML (Locale.loadLanguageXML
method)
public static loadLanguageXML(xmlLanguageCode:String,
customXmlCompleteCallback:Function) : Void
Load the specified language xml file.
Availability: ActionScript 2.0; Flash Lite 2.0
Parameters
-
xmlLanguageCode:String
-
customXmlCompleteCallback:Function
loadString (Locale.loadString method)
public static loadString(id:String) : String
Return the String value associated with the given string id in the current language.
Availability: ActionScript 2.0; Flash Lite 2.0
Parameters
- The identification (ID) number of the string to load.
id:String
Returns
- The String value associated with the given string id in the current language.
String
setDefaultLang (Locale.setDefaultLang method)
public static setDefaultLang(langCode:String) : Void
Set the default language code.
Availability: ActionScript 2.0; Flash Lite 2.0
Locale (mx.lang.Locale)
409