Activity › Forums › Adobe After Effects Expressions › 5 Minute Countdown
-
Dan Ebberts
November 9, 2011 at 3:12 amIf your comp is long enough, it should count down the whole 24 minutes. Are you possibly looking at a preview? You’ll need to render a movie to see the whole thing: Composition > Make Movie…
Sorry if you already knew that.
Dan
-
Karl Pouillot
November 9, 2011 at 7:47 pmThe countdown only to last 30 sec. I don t know how make it run 24 minutes…
After 23:30:04, it stop. That’s weird, isn’it? -
Karl Pouillot
November 9, 2011 at 7:54 pmIn fact, the countdown restart from the beginning… It run from 24:00:00 to 23:30:04 and restart from 24:00:00 after 30 sec…
I need a really countdown of 24minutes and not 30 sec +SPlease, help!
-
Dan Ebberts
November 9, 2011 at 8:10 pm -
Jose L garcia
May 24, 2012 at 6:42 pmis not posible to pause the time and resume it? will be great if is possible to add some kind of key into the timeline to pause and again resume it.
-
Akira Jun
May 24, 2012 at 8:34 pmI can use this expression with any frame rate like 24-29-60 or the code just follow the comp frame rate by itself?
Thanks.
rate = -1;
clockStart = 300;function padZero(n){
if (n < 10) return "0" + n else return "" + n
}clockTime = Math.max(clockStart + rate*(time - inPoint),0);
t = Math.floor(clockTime);
min = Math.floor((t%3600)/60);
sec = Math.floor(t%60);
min + ":" + padZero(sec) -
Dan Ebberts
May 24, 2012 at 9:01 pmYou set the countdown rate in the first line. At -1 it counts at regular comp speed, at -2 it would be twice as fast, etc. Does that answer your question?
Dan
-
Akira Jun
May 24, 2012 at 10:53 pmI think i got it.
If i keep -1 the expression will work as the same a comp frame rate is.I have another question wich is the same one above of Jose.
Using this expression to a “fight” scene where the judge sometimes stop and the counter must stop to then when he start will continue the same time position.
Is possible to add somes keys into the timeline to pause and resume?
Ex:
5:00 ~ 4:10 run
4:10~3:40 stop
3:40~2:20 run
2:20~1:30 stop
1:30~0:00 runRegards.
Junrate = -1; clockStart = 300; function padZero(n){ if (n < 10) return "0" + n else return "" + n } clockTime = Math.max(clockStart + rate*(time - inPoint),0); t = Math.floor(clockTime); min = Math.floor((t%3600)/60); sec = Math.floor(t%60); min + ":" + padZero(sec)
Reply to this Discussion! Login or Sign Up