Accessibility

Flash sample application

Time sample: Clock

ActionScript has access to the local computer's time and date information while using an instance of a Date object. The Date object can return the computer's hour, minute, seconds, day, month, and year.

AlertThis content requires Flash

Download the free Flash Player now!

Get Adobe Flash Player

This sample demonstrates a clock interface that uses the Date object in ActionScript to display the viewing computer's local time.

User level: Beginner

Requirements

To view these samples, you need the following software and files:

Flash CS4 Professional

Sample files:

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License