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

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

Advertisement

GetLocaleTime
Availability
Flash Lite 1.1.
Description
Sets a parameter to a string representing the current time, formatted according to the
currently defined locale.
Command
Parameters
"GetLocaleTime"
time
current time, such as
It can be either the name of a variable or a string value
that contains the name of a variable.
The value returned in
length string. The actual formatting depends on the
device and the locale.
Example
The following example attempts to get the current local time into the
sets the value of
status
status = fscommand2("GetLocaleTime", "time");
trace(time);
See also
GetLocaleLongDate
GetMaxBatteryLevel
Availability
Flash Lite 1.1.
Description
Returns the maximum battery level of the device. It is a numeric value greater than 0.
Command
"GetMaxBatteryLevel"
138
Flash Lite Specific Language Elements
String variable to receive the value of the
"6:10:44 PM"
time
to report whether it was able to do so.
// output: 14:30:21
,
GetLocaleShortDate
Parameters
None.
or
"18:10:44"
is a multicharacter, variable-
Value returned
-1: Not supported.
other values: The maximum battery level.
Value returned
-1: Not
.
supported.
0: Supported.
variable. It also
time

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?

Table of Contents