Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions layers to follow same values at different times

  • layers to follow same values at different times

    Posted by Aled Rhys jones on April 21, 2008 at 4:50 pm

    I want to have a bunch of layers’ Fill effect to follow a MASTER control for a “start color” and “end color”.
    All the layers are sequenced randomly with two markers on each – one called “start” and the other “end”.
    Is it possible to have the layers fade from “start color” to “end color” triggered by the markers on each layer?

    I’ve tried some expressions myself but none worked & I’m too embarrassed to show them!!

    Thanks for any replies.

    Aled Rhys jones replied 18 years ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    April 21, 2008 at 9:39 pm

    It’s going to looks something like this:

    M = thisComp.layer(“MASTER”);
    startColor = M.thisComp.layer(“MASTER”).effect(“start color”)(“Color”);
    endColor = M.thisComp.layer(“MASTER”).effect(“end color”)(“Color”);

    t1 = marker.key(“start”).time;
    t2 = marker.key(“end”).time;
    linear(time,t1,t2,startColor,endColor)

    Dan

  • Aled Rhys jones

    April 21, 2008 at 10:58 pm

    Thank you Dan – you’ve come up trumps yet again.

    Hope I’ll be able to return the favour one day!

    Aled

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