![MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference Download Page 731](http://html.mh-extra.com/html/macromedia/flash-8-actionscript-2-0-language/flash-8-actionscript-2-0-language_reference_687537731.webp)
Locale (mx.lang.Locale)
731
Method summary
Modifiers
Signature
Description
static
addDelayedInstance
(i
nstance:Object,
stringID:String) :
Void
Adds the {instance, string ID} pair into the internal
array for later use.
static
addXMLPath
(langCode:
String, path:String)
: Void
Adds the {languageCode and languagePath} pair into
the internal array for later use.
static
checkXMLStatus
() :
Boolean
Returns
true
if the XML file is loaded;
false
otherwise.
static
getDefaultLang
() :
String
The default language code as set in the Strings panel
dialog box or by calling the
setDefaultLang()
method.
static
initialize
() : Void
Automatically determines the language to use and
loads the XML language file.
static
loadLanguageXML
(xmlL
anguageCode:String,
customXmlCompleteCal
lback:Function) :
Void
Loads the specified XML language file.
static
loadString
(id:String
) : String
Returns the string value associated with the given
string ID in the current language.
static
loadStringEx
(stringI
D:String,
languageCode:String)
: String
Returns the string value associated with the given
string ID and language code.
static
setDefaultLang
(langC
ode:String) : Void
Sets the default language code.
static
setLoadCallback
(load
Callback:Function) :
Void
Sets the callback function that is called after the XML
file is loaded.
static
setString
(stringID:S
tring,
languageCode:String,
stringValue:String)
: Void
Sets the new string value of a given string ID and
language code.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...