Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Text Expression

  • Posted by Bilal Arif on May 15, 2022 at 6:41 am

    Hi,

    I’m trying to write different parameters into my Source Text like this:

    <font color=”#FF0000″>thisComp.layer(“a”).text.sourceText.getStyleAt(0,0)
    +
    thisComp.layer(“b”).text.sourceText.getStyleAt(0,0);
    </font>

    <font color=”#000000″>But It shows <font color=”#00CCFF”>[object][object]</font> instead of showing text of two layers A and B.</font>

    <font color=”#000000″>What should I do?</font>Hi,

    I’m trying to write different parameters into my Source Text like this:

    thisComp.layer(“a”).text.sourceText.getStyleAt(0,0)
    +
    thisComp.layer(“b”).text.sourceText.getStyleAt(0,0);

    But It shows [object][object] instead of showing text of two layers A and B.

    What should I do?

    Bilal Arif replied 4 years, 3 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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