Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Error Expression in After Effects

  • Error Expression in After Effects

    Posted by Gabriel Silva on January 18, 2019 at 6:42 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

    Gabriel Silva replied 7 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Kalleheikki Kannisto

    January 20, 2019 at 8:04 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

  • Gabriel Silva

    January 21, 2019 at 10:29 am

    Oh my God. Finally!! Perfect thank you!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy