EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - Page 148

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 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...
148 Flash Lite Specific Language Elements
Example
The following example sets the minutes variable to the minute portion of the current time of
day, or to -1:
minutes = fscommand2("GetTimeMinutes");
trace (minutes); // output: 38
See also
GetTimeHours, GetTimeSeconds, GetTimeZoneOffset
GetTimeSeconds
Availability
Flash Lite 1.1.
Description
Returns the second of the current time of day. It is a numeric value (without a leading 0).
Example
The following example sets the seconds variable to the seconds portion of the current time
of day, or to -1:
seconds = fscommand2("GetTimeSeconds");
trace (seconds); // output: 41
See also
GetTimeHours, GetTimeMinutes, GetTimeZoneOffset
Command Parameters Value returned
"GetTimeSeconds"
None. -1: Not supported.
0 to 59: The current second.

Table of Contents

Related product manuals