カテゴリ:FlashLite1.1特有のactionscript【 fscommand2 】
thisMonth = fscommand2("GetDateMonth"); //月の取得
現在の日付の月を数値で返します (先頭に 0 は付きません)。
Flash待ち受けのカレンダーを作る時などに使用しますので重要です。
※PCでの日付取得の関数とは異なるので注意。
| コマンド | パラメータ | 戻り値 |
|---|---|---|
| "GetDateMonth" | なし | -1: サポートされていない 1 〜 12: 現在の月を表す数値 |
thisMonth = fscommand2("GetDateMonth");