Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Freeze-frame at marker expression not working anymore

  • Freeze-frame at marker expression not working anymore

    Posted by Bryan Woods on September 9, 2015 at 12:27 am

    I’m starting to notice some of my favorite expressions are starting to fail on me and I’m wondering if its because of the newer versions of AE from creative cloud. Take this one for example, Dan had helped me out with this expression that would create a freeze frame between two markers a couple years ago, but now it doesn’t work. It works for the first two, but then after that it doesn’t pause for the next set of two keyframes.

    m = thisLayer.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
    }

    I also noticed that my delay parent expression (which delays any property related to the layer’s parent layer) was no longer working either:

    delay = .02;
    parent.fromWorld(toWorld(anchorPoint,time-delay))

    Were there some big changes to the javascript library in creative cloud or something?

    Bryan Woods replied 10 years, 10 months ago 2 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    September 9, 2015 at 2:57 am

    The first expression is only set up to work with two markers, and the second one is only set up to work with the position property.

    Dan

  • Bryan Woods

    September 9, 2015 at 3:19 am

    I know I’ve used both in the past successfully. I didn’t notice that the freeze-frame expression was only for two keyframes, but I’ve definitely used the delay parent expression multiple times on position values in the past, and its not working now using it the same way.

  • Dan Ebberts

    September 9, 2015 at 6:24 am

    >but I’ve definitely used the delay parent expression multiple times on position values in the past

    I’m not sure what you mean by that, but all it does is delay a child layer’s world position movement.

    Dan

  • Bryan Woods

    September 9, 2015 at 10:02 pm

    These both were not working the other day. I just started a fresh project and the delay parent works. So strange. It was offsetting the original position of the parented layer in another project.

    The freeframe though needs to be reworked I guess to anticipate a pair of layer markers since I’ve never used it beyond more than two before apparently.

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