EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Initialize (Locale.initialize Method); Loadlanguagexml (Locale.loadlanguagexml Method); Loadstring (Locale.loadstring Method); Setdefaultlang (Locale.setdefaultlang Method)

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Locale (mx.lang.Locale) 409
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
id:String - The identification (ID) number of the string to load.
Returns
String - The String value associated with the given string id in the current language.
setDefaultLang (Locale.setDefaultLang method)
public static setDefaultLang(langCode:String) : Void
Set the default language code.
Availability: ActionScript 2.0; Flash Lite 2.0

Table of Contents

Related product manuals