Adobe After Effects Expressions Forum
FX Expression for Min & Sec Only Countdown?
FX Expression for Min & Sec Only Countdown?
by Fulanito Detal on Aug 8, 2018 at 4:19:48 am

hello community!
I would like to know if they have the expression code for a count of 00:59 to 00:00 and that when it reaches zero it stops?


Re: FX Expression for Min & Sec Only Countdown?
by Kalleheikki Kannisto on Aug 8, 2018 at 6:34:36 am

This would do it, applied to a text layer source text

wait = 15;// how many seconds to wait before starting timer
timer = time - wait;
timer = linear(timer,0,59,59,0);
seconds = Math.ceil(timer).toString();
if (seconds.length==1) {seconds = "0"+seconds};
"00:"+seconds


Kalleheikki Kannisto
Senior Graphic Designer


Re: FX Expression for Min & Sec Only Countdown?
by Fulanito Detal on Aug 21, 2018 at 12:55:04 pm

[Kalleheikki Kannisto] " This would do it, applied to a text layer source text"

Thank Kall!





© CreativeCOW.net