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 Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents