Horizontal Scrolling Text
by Tiago Cav on Jun 13, 2015 at 9:12:47 pm Last Edited By Tiago Cav on Jun 14, 2015 at 3:44:06 am
I will do a Lower Third with Horizontal Scrolling Text using expressions;
A comp dimensions 1920x1080;
A text with parent in form of expression to follow Shape position;
A shape with expression "SourceRectAtTime()" to follow text size + offset with slider control to increase 96px of width size;
I need a expression to Horizontal Scrolling Text, to left side, with:
Delay of 150 frames to start.
Simulated keyframes to start and stop only when the right side of the shape enter fully into the area of the composition, that is, when the right margin of the text arrives at the exact right margin of the composition area image, the expression stop motion in position.
I need to change text. And consequently, the shape size changes; use keyframes would cause the speed of the scroll changed depending on the text size and the scrolling does not end when the edge of the shape reached the edge of the composition.
Therefore I want a constant speed, always the same. Without limit of time.
The limit will be the shape of position with their full right side within the comp.
I was using this expression, but is not limited when the text comes completely within the composition, but yes, by time: mult = 2;
t = ease(time, 5, 30, 0, 25);
temp = content("Rectangle 1").content("Rectangle Path 1").size;
value - [t*mult/thisComp.frameDuration-temp/2,0]
I used "ease" to the expression begins and ends with a smoothness in the motion position.