-
Refrence keyframes regarless of position on the timeline
Hey hey all.
First off, thanks for the scaling expression Dan, I modified it a bit to compensate for the vagueness of my original description.
I have another quick question though. I created a null object with a slider that has only 2 keyframes, first @ 00:00 with a value of 90 and the second @ 6 seconds with a value of 100.
My subsequent layers start every 6 seconds but i would like them to reference the animation from the null. Here’s what i have so far…
Scale = thisComp.layer(“ScaleUp”).effect(“Slider Control”)(“Slider”);
if(width < height) { y = thisComp.height*thisComp.pixelAspect/(height*source.pixelAspect); x = y; } else { x = thisComp.width*thisComp.pixelAspect/(width*source.pixelAspect); y = x; } [x,y]*Scale;
So how do I tell it to grab the sliders value from the first 6 seconds regardless of where this layer is on the timeline?
Thanks so much!
-Brennan