Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Countdown Timer

  • Posted by Loudworld on February 9, 2007 at 7:47 am

    Hello AE WunderGawds!

    I am trying to make a 30 minute timer that counts down from 30:00 to 00:00 in time accurate 1 second intervals. The current exp I am using is;

    totalMinutes = 30;//Total time in minutes
    beginVal = 3000;
    endVal = 0000;
    //————————————–
    fps = 1 / thisComp.frameDuration;
    secs = 20 * (fps*2);

    Math.floor(linear(time, 0, secs, beginVal, endVal + 1))

    (I pulled this code off of the Cow, but do not know how to modify it for my purpose)

    It sorta works but it counts every number, not just the 59 – 00. I am quite new to expressions and I am hoping someone can alter this script or provide me with a ready made expression to accomplish this. I certainly do not wish to keyframe it.

    Your help is most appreciated.

    Mylenium replied 19 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Mylenium

    February 9, 2007 at 4:14 pm

    mins=Math.floor(time/60);
    secs=Math.floor(time%60);

    [mins+”:”+secs]

    Mylenium

    [Pour Myl

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy