Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Customize layer sources for escential graphics creations?

  • Customize layer sources for escential graphics creations?

    Posted by Jeshua Reyes on August 15, 2018 at 7:25 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.

    Emil Stefanow replied 7 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • Emil Stefanow

    August 23, 2018 at 1:27 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

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy