Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Showing variable text source in different comps

  • Showing variable text source in different comps

    Posted by Cristiane Morandin on September 11, 2017 at 10:32 am

    Hi there

    I have a video with a user interface, many screens, etc, and in several of them I have a currency as part of text in text layers. In some of them, the currency also shows as part of a specific expression that does a certain calculation.
    What I would like is to be able to change the currency in only one comp and have that affect all other places this currency shows.

    Any help would be great, thanks!

    Cristiane Morandin replied 8 years, 11 months ago 2 Members · 4 Replies
  • 4 Replies
  • Scott Mcgee

    September 11, 2017 at 12:19 pm

    Just pickwhip the sourceText to the one you will change…once they are all linked when you change it in that one…It will change it for all.

  • Cristiane Morandin

    September 11, 2017 at 1:23 pm

    Thanks for the reply, Scott. I know about the pickwhip, but in most places that I have the currency I also have more text around it, and I just want to change the currency, without having to add different text layers.

    I’m happy to work with an expression, but I just don’t know enough to do it.

  • Scott Mcgee

    September 12, 2017 at 7:30 am

    Apologies…

    This is what you want

    Curr = *Pick whipped Currency Layer that you can change*;
    text.sourceText.replace(“Curr”,Curr);

    Put that in source text

    This then allows you to put the Currency where you want it to go in the sentence.

    Hope that’s better.

  • Cristiane Morandin

    September 12, 2017 at 8:00 am

    Ahh, this is perfect! Thank you!

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