To people who want to set the countdown to a specific time, here's what I came up with: On line 8, make the following changes: var timeLeft = targetTime + t - currentTime; t represents the exact amount of time left, converted to milliseconds. Thus, if you want to set the timer for 8PM, you would set t to equal 72000000 (20 hours x 60 minutes x 60 seconds x 1000 milliseconds = 72000000). Thus line 8 would read: var timeLeft = targetTime + 72000000 - currentTime; There's probably a more proper way of doing this, but I couldn't figure out the proper format to set line 7's "targetTime".
Thanks for a straightforward tutorial with simple code that works.
when i click the code website, it said Your current account () does not have access to view this page.
Click here to logout and change accounts.
How do I add this timer to make it an overlay with alpha for live streaming.......
I have written it in AS3 tthe flash runs but the timer does not start, any ideas??
How do I convert this file to a video that has an equal time period as the time inserted in the code. Thanks for the great work
how to put on facebook?
Nice video. Do you have an edit of the code to get a specific time to count down to?
Hi, will this work or CS5 version? If not what do I change?
can you please provide me the code for AS 3.0
To people who want to set the countdown to a specific time, here's what I came up with:
On line 8, make the following changes:
var timeLeft = targetTime + t - currentTime;
t represents the exact amount of time left, converted to milliseconds. Thus, if you want to set the timer for 8PM, you would set t to equal 72000000 (20 hours x 60 minutes x 60 seconds x 1000 milliseconds = 72000000).
Thus line 8 would read:
var timeLeft = targetTime + 72000000 - currentTime;
There's probably a more proper way of doing this, but I couldn't figure out the proper format to set line 7's "targetTime".
What if I wanted to set the timer to a Time. For example, 10/04/13 18:00
Please Give Code
Please anyone give me the code
Nice Video, but if we want to add code, i mean when count down at some time we switch to play video for example
Why not AS3?
thank you very much!
Thanks.. so great tutorials ^^
very helpful, thanks a lot
Did everything in the video but it didn't work :( Please help me
It would be really nice if your blog page didn't block new users. Waste of time.
great video. thank you for this tutorial.
Thanks....
Thanks!
HAHAHA NICEEEE i got it :) Awesome tutorial dude! THX :D :D :D :D :D
We are now countingdown until adobe flash gets deleted...