Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Freez time with marks

  • Freez time with marks

    Posted by Marcelo Cabral on March 13, 2013 at 3:57 pm

    Hi, I am working in a project which has severals animation. I nee to stop one of the animations using marks in other layer called “control marks”. I want to show the intro before the indicator pass over the “in” mark and I want to keep paying the animation after the indicator pass over the “out” mark. Is this posible? thanks in advance.

    Marcelo Cabral replied 13 years, 1 month ago 3 Members · 3 Replies
  • 3 Replies
  • Todd Kopriva

    March 13, 2013 at 8:25 pm

    There’s an example here that shows how you can use markers to trigger animations.

    Beneath that example is an example about starting and stopping animations at specific times. Between those two examples, you should be able to figure out how to stop and start an animation at markers.

    ———————————————————————————————————
    Todd Kopriva, Adobe Systems Incorporated
    After Effects quality engineering
    After Effects team blog
    ———————————————————————————————————

  • Dan Ebberts

    March 13, 2013 at 9:34 pm

    See if this is close to what you’re after:


    m = thisComp.layer("control marks").marker;
    if (m.numKeys > 1){
    if (time < m.key(1).time)
    time
    else if (time < m.key(2).time)
    m.key(1).time
    else
    m.key(1).time + (time - m.key(2).time);
    }else
    value

    Dan

  • Marcelo Cabral

    March 13, 2013 at 9:44 pm

    Dan this works amazing!! thank you for all your support.

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