Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Super quick color and time expression

  • Super quick color and time expression

    Posted by Tom Gomez on November 13, 2012 at 8:45 pm

    Greetings folks. Something super easy for expressions geniuses…

    I have a bunch of layers using a “Change to Color” effect, that goes through several colors. Every layer has a the same effect, but each layer starts at a different time. I want to tie the color changes to a null with a color control, so I can play around with different colors without having to change the effect for each layer.

    But how to do I get the various layers to start their operations based on the time of the null layer. So no matter where these other layers are, they actuate based on the beginning of the null layer. I’m sure it’s a simple time expression of some kind.

    thanks for any help!

    -Tom

    ================================================
    YOU can help save TimeSpace. Join the Chronos Protectorate!

    https://www.95ers.com
    https://www.SpaceAceMedia.com

    Tom Gomez replied 13 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Kevin Camp

    November 13, 2012 at 9:02 pm

    i think you’re looking for something like this:

    ctrl = thisComp.layer(“Null 1”); // change this to your control null
    ctrl.effect(“Color Control”)(“Color”).valueAtTime(time-inPoint)

    it will make all color changes relative to the inpoint of the layer itself. it does assume that the color changes on the control null are start at the beginning of the comp. if that’s not the case you could try this:

    ctrl = thisComp.layer(“Null 1”);
    ctrl.effect(“Color Control”)(“Color”).valueAtTime(time-inPoint-ctrl.inPoint)

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Tom Gomez

    November 13, 2012 at 10:42 pm

    That’s the ticket. THANK YOU!!!!!!

    ================================================
    YOU can help save TimeSpace. Join the Chronos Protectorate!

    https://www.95ers.com
    https://www.SpaceAceMedia.com

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