FORUMS: list search recent posts

Horizontal Scrolling Text

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tiago Cav
Horizontal Scrolling Text
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;

I have:
  • 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[0];
    value - [t*mult/thisComp.frameDuration-temp/2,0]

    I used "ease" to the expression begins and ends with a smoothness in the motion position.
  • I need that softness.

  • See image, please:

    The expression end so:


    Return to posts index

    Walter Soyka
    Re: Horizontal Scrolling Text
    on Jun 16, 2015 at 12:22:46 am

    Calculate the difference in pixels between the starting and ending positions, then calculate the amount of time necessary to move that distance at your fixed speed.

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]

    Return to posts index

    Tiago Cav
    Re: Horizontal Scrolling Text
    on Jun 16, 2015 at 5:18:28 am

    I try this:

    s1=content("Rectangle 1").transform.scale[0]
    s2=content("Rectangle 1").content("Rectangle Path 1").size[0]
    t=ease(time, 5, s/p, 0, s-w);

    Work well. Thanks.

    Return to posts index

    << PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
    © 2018 All Rights Reserved