ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Create a text value via expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ilya Sire
Create a text value via expression
on Oct 9, 2018 at 3:08:09 am

Hi all, how can i make a text that makes dots ................ via expression?
for example i have a slider "dot count" to control how many dot it appear..

Thanks!


Return to posts index

Dan Ebberts
Re: Create a text value via expression
on Oct 9, 2018 at 6:13:50 am

Maybe a source text expression like this:


numDots = effect("Slider Control")("Slider");
txt = "";
for (i = 0; i < Math.floor(numDots); i++){
txt += ".";
}
txt



Dan



Return to posts index

Ilya Sire
Re: Create a text value via expression
on Oct 9, 2018 at 6:34:03 am

Thank you, it worked


Return to posts index

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