Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions ‘Animating’ the input text over time.

  • ‘Animating’ the input text over time.

    Posted by Bas V breugel on September 9, 2009 at 2:18 pm

    Hi guy’s!

    I would like to make 1 sentence animate over time. Like DOS on a computer reading files.

    something like “://employees/chuck_norris”
    And then on the same sentence; chuck_norris changes to johhny_appleseed and so on.

    So you see 1 sentence but after 1 second its changes in a different name.

    To work arround it, I should have all seperate txt layers and make an edit but that would be alot of work. I hope to copy-paste the list of names in 1 text layer and apply an effect or expression what would automate it.

    Sorry for the poor explanation as im not a native english speaker.

    Thanks in advance.

    Bas V breugel replied 16 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    September 9, 2009 at 4:18 pm

    Maybe something like this:

    myText = [“sentence 1”, “sentence 2”, “sentence 3”, “etc…”];
    sentenceDuration = 1;

    idx = Math.min(Math.floor(time/sentenceDuration),myText.length-1);
    myText[idx]

    Dan

  • Bas V breugel

    September 9, 2009 at 5:49 pm

    Brilliant! Thanks so much Dan.

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