Forum Replies Created

  • Stephen Stangl

    August 5, 2014 at 4:50 pm in reply to: Fade up and Fade down at markers

    Wow! That was fast! Works like a charm. Thanks!

  • Stephen Stangl

    August 5, 2014 at 4:24 pm in reply to: Fade up and Fade down at markers

    Hi Everyone,

    I am a total noob at expressions. I would like an expression very similar to the one Dan provided in this post, but I would like the opacity to change from 0 to 100 over 12 frames (f=12) at the first marker, 100 to 30 at the second marker, and 30 to 0 at the third marker.

    I am not sure how to write the condition for the if and else if part of the code, or if this is even the best way to write an expression that will accomplish my goal.

    Thanks!
    Steve

    if (marker.numKeys > 0){
    m = marker.nearestKey(time);
    t = m.time;
    f = 12;
    if ( ??? ){
    ease(time,t,t+f*thisComp.frameDuration,0,100)
    }else if ( ??? ) {
    ease(time,t,t+f*thisComp.frameDuration,100,30) }
    } else {
    ease(time,t,t+f*thisComp.frameDuration,30,0) }
    }else{
    value
    }

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