Adobe After Effects Forum
Customize layer sources for escential graphics creations?
Customize layer sources for escential graphics creations?
by Jeshua Reyes on Aug 15, 2018 at 7:25:10 am

I was wandering if there's any way to, as the text sourse of a text layer, you chan choose wich clip you want a given layer to display and make it customizable in the escential grapichs panel to the use it into Premiere Pro; like making full custom transitions or animations.


Re: Customize layer sources for escential graphics creations?
by Emil Stefanow on Aug 23, 2018 at 1:27:41 pm

Hi,
Let's say you have a comp with following 3 layers:

1. Text
2. videocomp_A
3. videocomp_B

You want that when people type in "A" in the essential graphics text field, then Videocomp A is visible, when people type in "B", then Videocomp B, or?

Put the following code in the Opacity of videocomp_A:

myTextLayerContent=thisComp.layer("Text").text.sourceText.value;
if (myTextLayerContent == "A") 100 else 0


and for videocomp_B:

myTextLayerContent=thisComp.layer("Text").text.sourceText.value;
if (myTextLayerContent == "B") 100 else 0


Best regards
Emil





© CreativeCOW.net