Hi Dan,
Thanks a lot for the expressions, they work great!
I used it for the flag part as well. In the master comp I added a text layer in which I type a country code.
In the rendercomp I inserted a bunch of layers with the flags of different countries.
See this example for the opacity of the flag of Switzerland in my rendercomp
txt=comp(“__MASTER”).layer(“EUROP02land”).text.sourceText;
if (txt.length > 0 && txt == “ch”) 100 else 0
Unfortunately, render times are still too long… I got it down from 13 minutes to 2 mins 40 seconds but this is still too long for our workflow.
But thanks anyway!
s