Problems with inPoint/outPoint

Moderators: Disciple, zlovatt

Post Reply
closefm
Posts: 1
Joined: February 6th, 2015, 10:23 am

Hi,
I have a shape layer “quad”. Then I pre-composed it to “compQuad”.
Now I want the scale of the “quad” layer to be controlled from the duration of the “compQuad”. So I added a Slider to the “compQuad” with an expression:

Code: Select all

upScale = ease(time, inPoint, inPoint + 1, 0, 100);
downScale = ease(time, outPoint - 1, outPoint, 0, -100);
upScale + downScale
Then I added an expression to the scale parameter of the shape layer “quad” to link it to the Slider of the “compQuad”:

Code: Select all

s = comp("Comp 1").layer("quadComp").effect("Slider Control")("Slider");
[s, s];
And everything works fine till the composition “compQuad” is on the beginning of the timeline. Problems begin if I move it along the timeline.
The farther the “compQuad” is from the start of the timeline, the later the value of the scale parameter of the “quad” layer is beginning to change. Although the Slider value of the “compQuad” changes correctly.

So the question is how to make the value of the scale change without a delay?

Thanks
Anton
Post Reply