Using the Date object: Building a clock in Flash 5
This clock was built in Macromedia Flash 5 using the Date object. It displays the current local time, which is retrieved from the visitor's operating system.
To view this demo, you need the latest version of the Macromedia Flash Player. Download the free Macromedia Flash Player now.
To see how the clock was put together, download the source file, open it in Flash, and follow the steps in this article. Optionally, you can create your own artwork and file as you work through the steps, using the source file as a reference.
To make the best use of this article, you should understand the basic principles of creating movie clips and assigning actions in Flash.
Download the Windows source file clock.zip (273K)
Download the Macintosh source file clock.sea.hqx (273K)
George Brown is a writer for Macromedia's Web Publishing Support Centers. Before focusing on technical writing, he designed books, taught software classes, and developed web sites.