Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Flip Flop Values

  • Posted by Samuel Cervantes on April 11, 2008 at 4:05 pm

    How would I write an expression that flip flops values of two different layers?

    EXAMPLE

    Parameter in Layer1 is “25” Parameter in Layer2 is “0” When I set parameter in Layer2 to “25”, Layer1 automatically should change to “0.” And vice versa with any value.

    Samuel Cervantes replied 18 years ago 2 Members · 3 Replies
  • 3 Replies
  • Filip Vandueren

    April 11, 2008 at 4:09 pm

    for example:

    in Layer 2’s opacity:

    25-thisComp.layer(“layer 1”).opacity.value;

    you do have to know the maximum value first…

  • Samuel Cervantes

    April 11, 2008 at 4:14 pm

    hmmm… I guess in this case it would be 100. I’m trying to do somewhat of a rack focus type effect. Layer1 blurs, the other doesn’t, and vice versa.

  • Samuel Cervantes

    April 26, 2008 at 3:13 pm

    any help would be greatly appreciated…

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