FORUMS: list search recent posts

Super quick color and time expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tom Durham
Super quick color and time expression
on Nov 13, 2012 at 8:45:46 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!

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


Return to posts index

Kevin Camp
Re: Super quick color and time expression
on Nov 13, 2012 at 9:02:40 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


Return to posts index

Tom Durham
Re: Super quick color and time expression
on Nov 13, 2012 at 10:42:23 pm

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





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

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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]