Skip to content

Flash Countdown Clock

2007 September 2
by robin ragle-davis

I needed to create a countdown to election day clock for a web site I oversee. After a php version proved unsatisfactory (you had to reload the page to see the change in time) I searched the web for a Flash version.

I’m sure there are others out there. I was able to find code for a clock that counted down to midnight (didn’t take into account multiple days) or one that you could generate on a website and use as an include but wasn’t self customizable for look and feel.

I finally created my own.

I am hoping this will prove useful to others. . .its a very simple design but you change the look and feel to be as loud and spectacular as you like. The important parts are the actionscript and the dynamic text fields.

The actionscript is heavily commented so you should find it easy to customize.

All I ask is that you email me [ robin@rrinteractive.com ] and let me know where you have used it. Otherwise its free.

If you find any bugs or improve upon it share with us here.

Here is the zip file: clock3fla.zip

Share:
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Twitter
2 Responses leave one →
  1. Oras permalink
    June 25, 2009

    Its amazing, thank you so much.
    One thing to mention … in hours, you need to give the remaining hours within the day …

    code
    ————————————————–
    hours = 23 – myDateToday.getHours();
    ————————————————–

    Regards

  2. Meet permalink
    June 28, 2010

    Thank you very much for the code………………………….

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS