Forum Replies Created

  • Ngoc Mai sixomphon

    September 13, 2019 at 3:54 pm in reply to: Trigger opacity from another layer’s marker

    Hi,

    i know this post ist almost a year old but this expression is the closes to what I need and I’m not a smart person if it comes to expression.
    I intend to do the exact same thing, only that I have 3 Markers on my Layer “(014_DM_GT_IN_OR_2LINES)”. I named my first one “Start” my second “In” and my third “Out”. My goal is to fade on the opacity at “Start” and fade off at “Out”.

    I copied the given expression on a second Layer “(BG Multiply)” and substituted “…(tag== “In”)…” with “…(tag== “Start”).

    It looks good on the first few frames but it suddenly turns off right between my “Start” marker and my “In” Marker. The “In” marker should be completely irrelevant for this expression.

    Could someone help me ?

    L = thisComp.layer("014_DM_GT_IN_OR_2LINES");
    fadeFrames = 1; m = 0; t = time;
    if(L.marker.numKeys > 0) {
    m = L.marker.nearestKey(time).index;
    tag = L.marker.key(m).comment;
    if (tag== "Start") { t = L.marker.key(m).time - time}
    else if(tag=="OUT") {t = time-marker.key(m).time}
    linear(t, 0, framesToTime (fadeFrames), value, 0)
    }
    else {value}

  • Hi Dan!
    It’s my very first Post and i even made an account in Creative Cow because I really need to know this!

    So, I need to work out a Typo Template for a client. And just as Scott, I need the fist letter of a word to be capatilized.
    Because my client doesn’t really know how to use AE, I have conntected the Text layer to an empty comp by using this expression on the text source: comp(“Adventure_Drama â—Š Adventure â—Š Time”).name.split(” â—Š “)[1]. In the end, the client only needs to type the text on the empty comp instead of going in the comp and messing with the text layer. The Problem ist that each first letter is 160 px big and all other (lowercase) letters are 110 px big. When using this expression, it automatically sets up all my letters to 160 px and capatilized them.
    And when using your given expression, it won’t work. Not even if i blend my expression out.
    What did I miss ?

    Sincerely,
    Nocki

    \”Mai\” belongs to my first name. Not last name. But CreativeCow won\’t accept it.

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