ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Error Expression in After Effects

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Gabriel Silva
Error Expression in After Effects
on Jan 18, 2019 at 6:42:40 pm

Hello guys. Can you help me? I apologize for the bad english, this is using google translator.

I am doing a work that I use the following expression for the effect of typewriter in a text layer.

L = text.sourceText.length;
T = time * effect ("Speed") ("Slider") - effect ("Start At") ("Slider") * effect ("Speed") ("Slider");
F = Math.round (time% 1);

if (F == 1 | (T 0)) {Fl = "|"} else {Fl = "";}

substr (0, T) + Fl


but I need the inserted text to be the same as the name of a composition other than the text.

can you help me?

I already tried to use the following expression but it does not work:

compName = comp ("Business"). name


Return to posts index

Kalleheikki Kannisto
Re: Error Expression in After Effects
on Jan 20, 2019 at 8:04:08 am

L = text.sourceText.length;
T = time * effect("Speed")("Slider") - effect ("Start At")("Slider") * effect ("Speed")("Slider");
F = Math.round (time% 1);

if (F == 1 | (T == 0)) {Fl = "|"} else {Fl = "";}
mytext = thisComp.name.toString();
mytext.substr (0, T) + Fl


Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index

Gabriel Silva
Re: Error Expression in After Effects
on Jan 21, 2019 at 10:29:50 am

Oh my God. Finally!! Perfect thank you!


Return to posts index

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