I am wanting to source the text for a Text layer with the following (as used by the pickwip)
thisComp.layer("Name of Layer")
However I would like to make a text style-template (as a comp, so I can use it in other comps) and then have custom text in those main comps which the template would use for the text in those instances.
So how do I target a layer in the main comp (maybe with a predefined name)?
Or is there a better way to do this?
Well, an expression can't figure out what comp its own comp is nested within, if that's what you're asking. What workflow were you envisioning for connecting the template to the appropriate comp?
I am basically wanting to create a animating piece of text in a particular style for series of comps that make up the master comp.
The text is to be used for labels throughout the main movie so there are many instances of it.
What I would like is to have the animation and style of the text labels to be only in one place so I can refine or change it later without having to edit all the instances.
I am used to using CSS in webpages to the same effect.
The only thing I can think of is that you could probably do it with a script, where you would select the text layer with the style and text you want to propogate and the script would go through all comps looking for text layers with some identifying tag in their name and copying the text, font, size, color, and tracking from the template to the target layer.
Europe, Middle East and Africa