Locale (mx.lang.Locale)
729
Returns
Boolean
- A Boolean value:
true
if Flash can carry out the request;
false
otherwise.
Example
For an example of communicating between LocalConnection objects located in the same
domain, see
LocalConnection.connect()
. For an example of communicating between
LocalConnection objects located in any domain, see
LocalConnection.allowDomain
. For
an example of communicating between LocalConnection objects located in specified
domains, see
LocalConnection.allowDomain
and
LocalConnection.domain()
.
See also
allowDomain (LocalConnection.allowDomain handler)
,
connect
(LocalConnection.connect method)
,
domain (LocalConnection.domain method)
,
onStatus (LocalConnection.onStatus handler)
Locale (mx.lang.Locale)
Object
|
+-mx.lang.Locale
public class
Locale
extends Object
The mx.lang.Locale class allows you to control how multilanguage text is displayed in a SWF
file. The Flash Strings panel allows you to use string IDs instead of string literals in dynamic
text fields. This allows you to create a SWF file that displays text loaded from a language-
specific XML file. The XML file must use the XML Localization Interchange File
Format(XLIFF). There are three ways to display the language-specific strings contained in the
XLIFF files:
■
"automatically at runtime"
—Flash Player replaces string IDs with strings from the
XML file matching the default system language code returned by
System.capabilities.language.
■
"manually using stage language"
—String IDs are replaced by strings at compile
time and cannot be changed by Flash Player.
NO
TE
A return value of true does not necessarily mean that Flash successfully connected to a
receiving
LocalConnection
object; It means only that the command us syntactically
correct. To determine whether the connection succeeded, see
LocalConnection.onStatus
.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...