Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Utilizing the max value of a slider in an expression

  • Utilizing the max value of a slider in an expression

    Posted by Matthew Mccarter (macattack) on September 26, 2009 at 4:19 am

    I am working on a project and I can’t figure out for the life of me figure out a way to link a property to the max level of a slider. My expression is below.

    I am trying to change the value from 500 to the max value of the Bar 1 Control Layer slider. That way I can dynamically change the value of the one slider and not have to recode everything if the values change.

    v=thisComp.layer("Bar 1 Control Layer").effect("Slider Control")("Slider");
    m= v/500*100;

    x=scale[0];

    [x,m]

  • 1 Reply
  • Matthew Mccarter (macattack)

    September 26, 2009 at 11:33 pm

    Nevermind… I will just have to worry about it myself. It seems to get the general job done.

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