• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Time- and Frame-Based Dynamism > DETERMINING CURRENT DATE AND TIME

DETERMINING CURRENT DATE AND TIME

All of us have used a calendar; in fact, most of us use one on a daily basis—to plan our days, to remind ourselves of certain events, and more. In Flash, too, it’s useful to be able to access date information—to display it, to make your movie do specific things on certain dates, to create countdown timers, and to display the day of the week for a particular date in history, to name just a few.

To use dates in Flash, you must create an instance of the Date object using the following syntax:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint