Flash Digital Clock
Friday November 3, 2006
You can add a constantly-counting clock to your game, web page, or other SWF file using the hour, minute, and second parameters of your basic Date functions, a movie clip, and dynamic text properties. We've done something similar before to display the current date; this time we'll instead retrieve the time from the user's system, and write it to the screen. Although the functions will automatically return twenty-four-hour time, it's not too hard to use a few conditional statements to change the time to twelve-hour time.


Comments
No comments yet. Leave a Comment