EasyManua.ls Logo

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

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() 127
Example
The following example sets the battLevel variable to the current level of the battery:
battLevel = fscommand2("GetBatteryLevel");
See also
GetMaxBatteryLevel
GetDateDay
Availability
Flash Lite 1.1.
Description
Returns the day of the current date. It is a numeric value (without a leading 0). Valid days are
1 through 31.
Example
The following example collects the date information and constructs a complete date string:
today = fscommand2("GetDateDay");
weekday = fscommand2("GetDateWeekday");
thisMonth = fscommand2("GetDateMonth");
thisYear = fscommand2("GetDateYear");
when = weekday add ", " add ThisMonth add " " add today add ", " add
thisYear;
See also
GetDateMonth, GetDateWeekday, GetDateYear
Command Parameters Value returned
"GetDateDay"
None. -1: Not supported.
1 to 31: The day of the month.

Table of Contents

Related product manuals