Initialize (Locale.initialize Method); Loadlanguagexml (Locale.loadlanguagexml Method); Loadstring (Locale.loadstring Method); Setdefaultlang (Locale.setdefaultlang Method) - MACROMEDIA FLASHLITE2 ACTIONSCRIPT-LANGUAGE Reference

Actionscript language reference
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
Need help?

Need help?

Do you have a question about the FLASHLITE2 ACTIONSCRIPT-LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash lite 2

Table of Contents