- It Works Like This
- Preparing to Work
- Using #include to Load ActionScript from a Text File
- Running Conditional Code with OnClipEvent
- The Time Zone Button Layer
- Using Functions to Repeat Common Tasks
- Keeping Time with the ActionScript Date Object
- Using Prototype to Extend the Date Object
- Updating in Real Time
- Updating the Mouse Time Zone
- Setting an Analogue Clock
- Setting a Row of Clocks
- Using setInterval to Update the Clocks
- Summary
- About This Article
Summary
Thus ends your little sojourn through the delights of time zones, calendrical history, and the Date object. If I've done my job correctly, this tutorial will have done two things: made the Date object a little clearer to you and made the commonly accepted structures of timekeeping less so. It's always important to keep in mind that the procedures we follow in our lives are only human-made approximations. The "science" of computus is a veritable minefield of exceptions and kludges.