CLOCK SAMPLE

This sample displays a clock and demonstrates the integration between JavaScript and DirectAnimation. The time (hours, minutes, and seconds) for the clock is obtained using JavaScript functions. These values are then used to construct the corresponding clock-hands using the DirectAnimation control.