Copy link to clipboard
Copied
Hi, everyone..
I have two comp (comp1 and comp2) which are inside the comp there is a different text font type
which i want to ask, is there any way ..
if I change (sentence text) in comp1, (sentence text) in comp2 also change according to what I type in (text) comp1
but does not change its font type
Copy link to clipboard
Copied
If you apply an expression like this to the text in comp2:
comp("comp1").layer("text").text.sourceText
it will get the text from comp1, but will get its font from its own first character. So you can't maintain multiple fonts in that text, but you can maintain the font of the first character.
Dan
Copy link to clipboard
Copied
thank you Dan..
I've tried as you mean, but I get this problem
Copy link to clipboard
Copied
Well, you would have to use the actual name of your text layer:
comp("Comp 1").layer("Text 1").text.sourceText
Make sure you explicitly name the text layer so it doesn't change when you change the text itself.
Dan
Copy link to clipboard
Copied
WOW.. Amazing it works..
thank you so much mr. Dan...