FORUMS: list search recent posts

Change source text like source text of specific text-layer

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Peter Bursch
Change source text like source text of specific text-layer
on Apr 29, 2015 at 11:46:55 pm

Hi,
i have a composition with 3 text-layers, where one layer overlay the other and every layer has other color. Is it possible that the source text of these 3 text-layers will change dynamically.

I mean i add another text-layer in the parent composition and add in one minute gaps a keyframe where the source text change.

So when the marker reach the keyframe and the source text of the specific text-layer change, the source text of the 3 text-layers will change too.

Something like that:

text = comp("parent comp").layer("specific text-layer").text.sourceText;

for i=1 to text.numKeys
if nearestKey(i) then text = text.keyValue(i)


Return to posts index

Peter Diefenthaler
Re: Change source text like source text of specific text-layer
on Jun 8, 2015 at 5:08:14 am

You only need to put the first part of your expression in the Source Text property of the three text layers you want linked to the main text layer.

comp("parent comp").layer("specific text-layer").text.sourceText

It might be better to precompose the text and then apply your effects to the precomposed layers. That way you can format the text in one place more easily, since linking the source text doesn't copy text attributes like tracking, font or font size,etc.

Peter Diefenthaler
http://www.ideafirecreative.com/


Return to posts index

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