MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference page 137

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

Advertisement

Example
The following example attempts to return the long form of the current date in the
variable. It also sets the value of
status = fscommand2("GetLocaleLongDate", "longdate");
trace (longdate);
See also
GetLocaleShortDate
GetLocaleShortDate
Availability
Flash Lite 1.1.
Description
Sets a parameter to a string that represents the current date, in abbreviated form, formatted
according to the currently defined locale.
Command
"GetLocaleShortDate" shortdate
Example
The following example attempts to get the short form of the current date into the
variable. It also sets the value of
status = fscommand2("GetLocaleShortDate", "shortdate");
trace (shortdate);
See also
GetLocaleLongDate
to report whether it was able to do so.
status
// output: Tuesday, June 14, 2005
,
GetLocaleTime
Parameters
String variable to receive the long form
of the value of the current date, such as
or
2004"
"16-10-2004"
It can be either the name of a variable or a string
value that contains the name of a variable.
The value returned in
variable-length string. The actual formatting
depends on the device and the locale.
to report whether it was able to do so.
status
// output: 06/14/05
,
GetLocaleTime
"10/16/
.
is a multicharacter,
shortdate
longDate
Value
returned
-1: Not
supported.
0: Supported.
shortDate
fscommand2()
137

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents