-
Freeze-frame at marker expression not working anymore
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?