ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

FX Expression for Min & Sec Only Countdown?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Fulanito Detal
FX Expression for Min & Sec Only Countdown?
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?


Return to posts index

Kalleheikki Kannisto
Re: FX Expression for Min & Sec Only Countdown?
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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]