this is not a solution but hey, I’d love to know how to do this too..
I’ve spent > half an hour trying to figure that out but to no avail.
This is my attempt (well modified to work in a text layer that way I can see what numbers I get, once that works, I figured I’d paste it into a solid..)
It’s late and it’s been a long week…
var start=0;
wigg=0;
pos=transform.position;
duration=thisComp.frameDuration*effect("Slider Control")("Slider");
if (time%6==0) {start=duration;
if (start>0)
{
wigg=ease(time,time,time+start,100,0);
start=start-thisComp.frameDuration;
}}
start+"+"+wigg+"+"+duration
The problem is it won’t go into the second if part. I’m really currious to know how you solve that.. Start goes straight to zero, no slow decline as I had hoped, and start–; doesn’t work either..
If someone could enlighten me.. I’d be.. happier!
Thanks!
(I’ve figured out that a problem is that start is given the value 0 at the beginning, but if I don’t define it I get an error message too..)
http://www.ardillamedia.com