EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Languagecodearray (Locale.languagecodearray Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 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...
736 ActionScript classes
Example
This example shows how to use the
initialize() method to automatically populate the
greeting_txt text field on the Stage with the user's current OS language. Instead of using
the
initialize() method directly, use the string replacement method of "automatically
at runtime"
.
import mx.lang.Locale;
trace(System.capabilities.language);
Locale.autoReplace = true;
Locale.addDelayedInstance(greeting_txt, "IDS_GREETING");
Locale.initialize();
languageCodeArray (Locale.languageCodeArray
property)
public static languageCodeArray : Array [read-only]
An array containing language codes for the languages that have been specified or loaded into
the FLA file. The language codes are not sorted alphabetically.
Availability: ActionScript 2.0; Flash Player 8

Table of Contents

Related product manuals