FORUMS: list search recent posts

Showing variable text source in different comps

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Cristiane Morandin
Showing variable text source in different comps
on Sep 11, 2017 at 10:32:29 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!


Return to posts index

Scott McGee
Re: Showing variable text source in different comps
on Sep 11, 2017 at 12:19:36 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.


Return to posts index

Cristiane Morandin
Re: Showing variable text source in different comps
on Sep 11, 2017 at 1:23:20 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.


Return to posts index


Scott McGee
Re: Showing variable text source in different comps
on Sep 12, 2017 at 7:30:28 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.


Return to posts index

Cristiane Morandin
Re: Showing variable text source in different comps
on Sep 12, 2017 at 8:00:20 am

Ahh, this is perfect! Thank you!


Return to posts index

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