ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: buzz words preset changing source text?

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Tineke Jones
Re: buzz words preset changing source text?
on Nov 20, 2019 at 3:02:40 am

ok - one more question

how do I stop it looping? I only want it to cycle through the sentence one time


buzz_words = thisComp.layer("Text").text.sourceText.value;
split_buzz_words_array = buzz_words.split(' ');
buzz_frame_rate = effect("Buzz Frame Rate")(1);
buzz_frame = Math.floor(time * buzz_frame_rate);
buzz_index = buzz_frame % split_buzz_words_array.length;
split_buzz_words_array[buzz_index];


thanks


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]