Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Scrolling text – typeout, how to reverse scrolling direction (up/down)

  • Scrolling text – typeout, how to reverse scrolling direction (up/down)

    Posted by Tom Granberg on July 14, 2017 at 10:09 pm

    Mikey had this expression available to use inside the text layers position.
    Essentially scrolling the text box as it grows exactly one line as the line breaks hit and grows the box, so that’s pretty nifty.
    I would like to use either a slider control (like below) with the range being between -1 & 1 to be able to reverse the scroll direction. (or another controller if needed)

    However I am stumped, since by multiplying the equation by -1 all the numbers is now negative, so the whole text box jumps exactly to the mirrored vertical position and continues from there.
    What I would like is to half way trough the animation for instance, then key frame the slider from -1 to 1 and reverse the scroll direction from the position it’s at.

    Trying to simulate a code screen scroll up and down.

    pLine=this.sourceRectAtTime(time).height;
    C=thisComp.layer("Controls").effect("Slider Control")("Slider");
    scaler=transform.scale[1]/100;
    A=value
    B=[0,(pLine*scaler)*C]
    A-B

    Tom Granberg replied 8 years, 11 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy