Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Scrolling List that moves down with every new line

  • Scrolling List that moves down with every new line

    Posted by Carlos Robles on August 15, 2016 at 2:15 am

    Hi,

    Im trying to create a list that starts with only one line, and as new lines are added the previous line moves down one line. You dont see the move, it just jumps down. Its a long list so I dont want to do this manually. Is there an expression I can use?

    A crude example would be like this:

    Item 1

    then

    Item 2
    Item 1

    then

    Item 3
    Item 2
    Item 1

    etc etc.

    Thanks

    Carlos Robles replied 9 years, 8 months ago 3 Members · 4 Replies
  • 4 Replies
  • Max Pinton

    August 15, 2016 at 7:07 am

    I’m sure there’s a way to get a text animator to do this, but the simplest way I could figure out was to use a track matte and then move the text down to reveal a line at a time. You’ll want to reverse your text by putting an expression on its Source Text (or reversing the lines in a text editor):

    text.sourceText.split(‘\r’).reverse().join(‘\r’);

    And then you could put an expression on the text’s Y position (right-click Position, Separate Dimensions) to move it down a line per, let’s say, second:

    transform.yPosition += Math.floor(time) * 36; // replace 36 with your leading

    Hope that helps.

  • Kevin Camp

    August 15, 2016 at 3:40 pm

    a very simple, yet manual way, is to simply copy/paste line 1, and add a keyframe to to the source text property. skip down the timeline to where you want line 2 to appear, and copy/paste that into to the text layer before the previous line of text.

    repeat for all lines of text.

    then, as you move through the timeline, each new line will add at the top of the text layer, effectively moving the previous line down a line.

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Carlos Robles

    August 15, 2016 at 8:24 pm

    Thanks for the snark.

  • Carlos Robles

    August 15, 2016 at 8:24 pm

    Thanks, I knew there was a simple solution I wasnt thinking of.

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