ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Select specific character expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Yaniv Cahoua
Select specific character expression
on May 15, 2018 at 12:49:57 pm
Last Edited By Yaniv Cahoua on May 15, 2018 at 12:52:36 pm

Hi,

so I found a great expression suggested by Dan on an older threads:
https://forums.creativecow.net/thread/227/29814

and it works almost perfectly, the only catch is that it is soooo slow, AE almost freezes.
Anyone knows why would that happens and how to fix it ?

Thanks
Yaniv

myChar = ".";
if (text.sourceText[textIndex-1] == myChar) 100 else 0


http://www.yanivcahoua.com


Return to posts index

Kalleheikki Kannisto
Re: Select specific character expression
on May 15, 2018 at 4:36:20 pm

The longer your text, the slower it will be, as every letter is evaluated for every frame.

If the text doesn't need to change from frame to frame, you can precomp and freeze frame. You can still manipulate the layer in various ways.

Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index

Yaniv Cahoua
Re: Select specific character expression
on May 17, 2018 at 7:01:53 am

Hi thanks,
If I precomp I lose the ability to animate the text with the text animator....
Is there a way to bake only the expression selector ?

http://www.yanivcahoua.com


Return to posts index

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