EasyManua.ls Logo

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

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...
fscommand2() 147
GetTimeHours
Availability
Flash Lite 1.1.
Description
Returns the hour of the current time of day, based on a 24-hour clock. It is a numeric value
(without a leading 0).
Example
The following example sets the hour variable to the hour portion of the current time of day,
or to -1:
hour = fscommand2("GetTimeHours");
trace (hour); // output: 14
See also
GetTimeMinutes, GetTimeSeconds, GetTimeZoneOffset
GetTimeMinutes
Availability
Flash Lite 1.1.
Description
Returns the minute of the current time of day. It is a numeric value (without a leading 0).
Command Parameters Value returned
"GetTimeHours"
None. -1: Not supported.
0 to 23: The current hour.
Command Parameters Value returned
"GetTimeMinutes"
None. -1: Not supported.
0 to 59: The current minute.

Table of Contents

Related product manuals