Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Quick question about expression

  • Quick question about expression

    Posted by Maxime Marquis on August 25, 2009 at 3:50 pm

    Hi,

    I’m color correcting a music video which mainly consists in two different scenes intercutted (the band playing and a fiction part, I know how original!). All the edited footage is in one sequence.

    I used an adjustment layer with the appropriate corrections and keyframed the opacity (0 or 100) so it fits with one of the scene (the band). Now I want to do the same with another adjustment layer for the other scene(fiction). The opacity will be the exact opposite of the first layer. (0 when 100, 1 when 99…). What expression can I use so I won’t have to keyframe the second adjustment layer?

    Thanks in advance

    Maxime Marquis replied 16 years, 8 months ago 3 Members · 4 Replies
  • 4 Replies
  • Jon Geddes

    August 25, 2009 at 4:44 pm

    Just create an expression for the opacity of adjustment_layer_2 that says:

    100 – opacity of adjustment_layer_1

    obviously you will have to enter the proper syntax but I’m assuming you just wanted to know the logistics of the expression.

    Jon Geddes
    http://www.precomposed.com

  • Roland R. kahlenberg

    August 25, 2009 at 5:03 pm

    The Interpolation method works well here.

    Apply the following expression to the second Adjustment Layer’s opacity property. Stuff in [ … ] are instructions for you to follow.

    //Start script
    AdjOpq = [pickwhip to the first Adjustment Layer’s opacity];
    linear(AdjOpq,0,100,100,0)
    //End Script

    HTH
    RoRK

    broadcastGEMs – AEPro Volume 02 (Professional Adobe After Effects Project Files – Now Available).

    Adobe After Effects Training in South East Asia.

  • Jon Geddes

    August 25, 2009 at 5:05 pm

    That would also work.

    Jon Geddes
    http://www.precomposed.com

  • Maxime Marquis

    August 26, 2009 at 2:21 am

    Thanks guys, I tried Jon’s way and it worked perfectly. Saved me a lot of time!

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