Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Scrolling text

  • Scrolling text

    Posted by Hawkeye28 on October 2, 2007 at 12:05 pm

    I’m guessing there is a real simple solution to this but as I’m fairly new to AE I have no idea what it is! I have a fairly large amount, about half a word document, that I want to scroll accross from right to left. Nothing fancy. I have tried creating a text layer so and pasting the text into it but the layer doesn’t seem to able to handle it all. If anyone has any solutions I would really appreciate it.

    Hawkeye28 replied 18 years, 11 months ago 3 Members · 4 Replies
  • 4 Replies
  • Kevin Camp

    October 2, 2007 at 1:42 pm

    there are a few ways… you could create the text in another application, like photoshop or illustrator, and import that file and see if ae handles a file better than text… i have noticed that ae handles files better than gobs of text in a text layer.

    you could break up the text in ae, making several lines of text and arrange them correctly in a very wide comp (wide enough fo the line of text), then bring that comp into the main comp for the movement.

    Kevin Camp
    Designer – KCPQ, KMYQ & KRCW

  • Mike Clasby

    October 2, 2007 at 7:38 pm

    I think the easiest way to setup scrolling is to add the text to AE with a script.

    Here is a nifty script to put a text file (must be .txt) into AE.

    https://www.crgreen.com/aescripts/

    The only restrictions are is that it must be a text file (.txt) and that limits how many characters you can have (1,024) in a single line. IF you have more than a single line of text, they’ll stack up, like a paragraph. So take what you want to scroll horizontally, put it in Notepad (PC) and make it one line, up to 1024 character. Then name it, and open it when the Script runs.

    The script is halfway down the page and named “crg_Text_from_File.jsx “. Download it and add the .jsx to your AE Scripts folder, then start AE and File>Run Script> choose “crg_Text_from_File.jsx “. You’ll get a dialog box, check the “One Layer” at the top of the Panel. So you end up with 1,024 characters in a single layers, all one line.

    Now set Position keyframes and you have your scroll.

    Below are two expressions for horizontal scrolling. Add them to position (Copy the expression, Alt-click the Position stopwatch, Paste).

    Here’s a modified Dan Ebberts expression on Position, it assumes the text starts at time zero:

    ppf = 1.4; //scroll rate pixels per frame
    currentFrame = timeToFrames();
    value – [currentFrame*ppf,0]

    Here’s a modified from a vertical scroll expression by Jonas Hummelstrand, also on position. It can be used anywhere, the scrolling starts at the text layers inpoint.

    intPixelsPerSecond = 144;

    x = position[0]-((time-inPoint)*intPixelsPerSecond);
    [x, position[1]];

    From here:

    https://www.aenhancers.com/viewtopic.php?t=457

  • Mike Clasby

    October 2, 2007 at 8:06 pm

    OK, after a quick test, moldyboot’s suggestion about using PhotoShop is definitely better.

    In PhotoShop I did, File>New and made it 30,000 pixels wide and 50 pixels high.
    After putting the Text Tool at the left side, I pasted in over 3000 characters to fill the image, all one line. That imported into AE just fine.

    Then just set position keyframes or use one of the expressions I listed above.

    You gotta love PhotoShop.

  • Hawkeye28

    October 3, 2007 at 7:06 am

    Thank you so much for the advice, I with try it later and let you know how it goes.

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