Page 1 of 1

Ticker animation

Posted: February 3rd, 2010, 10:06 am
by horse10735
Hey all! Can anyone help? I'm making a ticker animation preset for a client. I'm starting type from the far right of my comp and goes off screen to the left. What i need is an expression that makes the position jump 20 points over at a time like a hold frame animation. And something that lets me control the speed of the animation. Trying to make it super simple for the client so all he really has to do is type in his word and adjust the speed.

Again animation needs to start from the left and go to the right. Needs to jump hold 20 points every other frame. Need to be able to control the rate of speed of the type.

Re: Ticker animation

Posted: February 3rd, 2010, 10:52 am
by Dan Ebberts
This uses a slider to set the number of frames to hold each position. If you need to animate the speed, it gets a little more complicated.

Code: Select all

holdFrames =effect("Hold Frames")("Slider");
if (holdFrames > 0){
  dist = -20;
  value + [Math.floor((time-inPoint)/framesToTime(holdFrames))*dist,0]
}else{
  value
}
Dan

Re: Ticker animation

Posted: February 3rd, 2010, 11:16 am
by horse10735
perfect.....thats all i really needed.
They can deal with the rest....thx!!!!!!

-Luis