FORUMS: list search recent posts

Automating Changing Text

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Simon Roughan
Automating Changing Text
on Sep 17, 2015 at 8:50:48 am

Hi Everyone,
I have been asked to make an animation so that a word in the middle of the screen changes every ten frames.
Can i somehow automate this process without having to copy-paste 280 words out of a text doc?
Thanks in advance
Simon

You know I'm born to lose, and gambling is for fools, but that's the way I like it, baby. I don't want to live forever!


Return to posts index

Walter Soyka
Re: Automating Changing Text
on Sep 17, 2015 at 11:59:19 am

Copy and paste all your words, one per line, onto a text layer. Twirl open the layer, then twirl open the Text property. Alt+click the Source Text stopwatch and use the following expression:

words = value.split("\r");
wordIndex = Math.floor(timeToFrames()/10);
wordIndex = Math.min(wordIndex,words.length-1);
words[wordIndex];


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

Simon Roughan
Re: Automating Changing Text
on Sep 17, 2015 at 2:00:22 pm

Cheers Mate!
Ill give it a try tonight.
mfg
Simon

You know I'm born to lose, and gambling is for fools, but that's the way I like it, baby. I don't want to live forever!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]