Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Triggering specific keyframes animations with marker comment

  • Dan Ebberts

    November 21, 2015 at 12:12 am

    Ah, maybe like this then:

    tm = marker.key(1).time;
    t1 = key(1).time;
    t2 = key(2).time;
    t = time*(t2-t1)/(tm-t1);
    valueAtTime(t)

    Dan

  • Daniel Futerman

    November 21, 2015 at 12:20 am

    Thank you so much for your amazing help Dan! I have to head out of the office for a few hours but can’t wait to get back and try this out!

    After Effects Template & Photoshop Tutorials:
    https://www.amigo-productions.com

  • Daniel Futerman

    November 21, 2015 at 9:48 am

    Brilliant!!! Exactly what I needed!!

    Thank you so very much Dan, your help has been amazing.

    After Effects Template & Photoshop Tutorials:
    https://www.amigo-productions.com

  • Daniel Futerman

    November 22, 2015 at 1:40 pm

    Ok this is embarrassing, but I need help to refine the latest expression.

    The expression works only if the layer itself starts at 00:00 seconds. Anything else, the keyframe animation begins earlier in time that the layer itself, as in the following example:

    I tried modifying the expression for the past few hours but simply couldn’t get my head around it 🙁

    After Effects Template & Photoshop Tutorials:
    https://www.amigo-productions.com

  • Dan Ebberts

    November 22, 2015 at 3:52 pm

    Try it this way:

    tm = marker.key(1).time;
    t1 = key(1).time;
    t2 = key(2).time;
    t = t1 + (time-t1)*(t2-t1)/(tm-t1);
    valueAtTime(t)

    Dan

  • Daniel Futerman

    November 22, 2015 at 5:42 pm

    YES!!! 😀 Perfect Dan! (And this time I’m 100% sure about it) 😉

    Thank you very very much for your help once again.

    After Effects Template & Photoshop Tutorials:
    https://www.amigo-productions.com

Page 2 of 2

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