Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Opacity in Time

  • Posted by James Murphy on August 12, 2010 at 10:12 pm

    I’m using an expression to control the opacity of an object based on the flickering brightness of a flare, but I don’t want it to start until a certain point in time. How can I go about this?

    Dan Ebberts replied 16 years ago 2 Members · 4 Replies
  • 4 Replies
  • James Murphy

    August 12, 2010 at 10:25 pm

    To be a bit more specific, I pick-whipped the object’s opacity to the flickering brightness of the flare; however, I don’t want it to be flickering throughout, as the flare doesn’t start until later in the composition, and the object is visible the whole time.

  • Dan Ebberts

    August 12, 2010 at 10:40 pm

    This would be one way:


    myStartTime = 4; // start at 4 seconds
    if (time < myStartTime){
    value;
    }else{
    your_original_expression_goes_here
    }

    Dan

  • James Murphy

    August 12, 2010 at 10:45 pm

    Excellent. Thanks!

    For future reference, what if I wanted to start it on a certain frame?

  • Dan Ebberts

    August 12, 2010 at 10:51 pm

    Like this:


    myStartFrame = 30; // start at frame 30
    if (time < framesToTime(myStartFrame)){
    value;
    }else{
    your_expression_goes_here
    }

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