Increment and hold
Posted: November 20th, 2008, 3:17 pm
Hi,
I am trying to move a layer in X then hold for 1 sec., then move again. I have tried this expresion I found in this forum (Dan):
stepTime = 2;
opacityIncrement = 20;
currentStep = Math.floor(time / stepTime);
value - currentStep*opacityIncrement
It works but now the increments are without transition (interpolation). They occur in a sudden way. I would like the increments with a interpolation between them and the next hold.
Thanks in advance.
I am trying to move a layer in X then hold for 1 sec., then move again. I have tried this expresion I found in this forum (Dan):
stepTime = 2;
opacityIncrement = 20;
currentStep = Math.floor(time / stepTime);
value - currentStep*opacityIncrement
It works but now the increments are without transition (interpolation). They occur in a sudden way. I would like the increments with a interpolation between them and the next hold.
Thanks in advance.