Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions setSourceText parameters from elsewhere

  • setSourceText parameters from elsewhere

    Posted by Paul Ducco on October 24, 2022 at 8:36 pm

    I’m hitting a hiccup session with an attempted dynamically fed piece of text…

    Currently, the text is controlled via Essential Graphics (EG), however there’s also a text size expression slider on the same layer (currently applied to an expression section of the ‘Source Text’ control on the text layer. This means that the Essential Graphics control at the top level shows a warning ‘The Essential Property is controlled by an expression in the Primary Comp…”, which, when edited means the text size slider becomes detached. Can expressions be placed elsewhere in the comp and control values of particular parameters? (I think that’s what I need)

    Hope this makes sense. Thanks in advance.

    I’m also enjoying this process of rigging. Seems very rewarding. Any tips, pointers or interest in helping me push to the next level of expressions, structuring and building out what’s possible? If not…maybe we should pool our resources and create one? A lot of the reference material seems a little dated (particularly since the new expression editor/Javascript roll-in)

    Paul Ducco replied 3 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Spencer Rand

    October 25, 2022 at 1:47 pm

    I think you and I are working through similar issues. I’m setting up a Lower Thirds with two lines of source from other layers so the Mogrt will have clearly labelled inputs. I’ve hit a snag trying to define the styles though. For some reason I’m getting an error trying to define text.sourceText.style of any kind.

    Currently driving the two lines into one text layer so I can make the rectangle below responsive to the text.

    L1 = thisComp.layer(“Main Title”);

    L2 = thisComp.layer(“Secondary Title”);

    L1.text.sourceText + “\r” +L2.text.sourceText;

  • Paul Ducco

    October 26, 2022 at 8:18 pm

    a *bump* on this for good measure.

    still trying to work out a way to sort this…now got two instances where this issue is causing headaches.

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