Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Multiple expressions on brightness parameter

  • Multiple expressions on brightness parameter

    Posted by Ryan Metcalf on July 9, 2014 at 7:05 pm

    Hey all,

    Im trying to manipulate a lens flare (with added elements) by attaching parameters to null object with sliders. Im running into trouble when I try to put multiple expressions on the flare brightness, the latest expression will only work.

    I wanted one to control the master brightness and the other two sliders to control the wiggle frequency and amount. They work independently fine, but when added together I run into problems.

    Any help would be much appreciated.

    Best,
    Ryan Metcalf

    thisComp.layer("CONTROL").effect("Brightness")("Slider");
    wiggle(thisComp.layer("CONTROL").effect("Flicker Frequency")("Slider"),thisComp.layer("CONTROL").effect("Flicker Amount")("Slider"))

    Dan Ebberts replied 11 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    July 9, 2014 at 7:49 pm

    I’d try it this way:

    f = thisComp.layer(“CONTROL”).effect(“Flicker Frequency”)(“Slider”);
    a = thisComp.layer(“CONTROL”).effect(“Flicker Amount”)(“Slider”);
    w = wiggle(f,a) – value;
    thisComp.layer(“CONTROL”).effect(“Brightness”)(“Slider”) + w

    Dan

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