Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions slider control for a lot of layers

  • slider control for a lot of layers

    Posted by Yael Tal on March 10, 2013 at 7:51 pm

    I hope I am not exaggerating… Attached is a project (Aep cs5.5), with an example for what i needed for this project.

    5629_expressionque.aep.zip

    I am curious what was the best way to approach to this kind of project:
    what i needed is to scale up, and locate each layer (where the grid is), every 3 or 4 seconds’ one after another.
    what is the best way to control all of the layers and their properties?
    attached is the expression that i wrote for the scale property,I am sure this is not the best way(:
    i tries to use slider control and tried to make each layer to start animation when the previous layer has reached her last kay frame.
    this is not an “emergency” since this project is in the past now….
    I am just curious…..
    Thank you soooooooo much in advanced!

    d = 4;
    ind = (index-63)*d;
    thisComp.layer("Pic 2").transform.scale.valueAtTime(time - ind);

    Dan Ebberts replied 13 years, 4 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    March 10, 2013 at 11:03 pm

    It looks you could use something like this for position:


    fadeDur = .4;
    delay = 4;
    dur = 3.8;
    startVal = value;
    endVal = [381.7,348];

    tStart = (index-1)*delay
    tStop = tStart + dur;
    if (time < (tStart+tStop)/2)
    linear (time,tStart,tStart+fadeDur,startVal,endVal)
    else
    linear (time,tStop-fadeDur,tStop,endVal,startVal)

    and something like this for scale:


    fadeDur = .4;
    delay = 4;
    dur = 3.8;
    startVal = value;
    endVal = [444,444];

    tStart = (index-1)*delay
    tStop = tStart + dur;
    if (time < (tStart+tStop)/2)
    linear (time,tStart,tStart+fadeDur,startVal,endVal)
    else
    linear (time,tStop-fadeDur,tStop,endVal,startVal)

    Dan

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