Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Opacity expreccion malarky

  • Opacity expreccion malarky

    Posted by Moog Gravett on August 11, 2006 at 3:23 pm

    Hi folks…

    right – who knows their expresion onions then?

    I want to add something to an expression to fade an item out after being visible on screen.

    I have a ‘holdtime’ parameter set up, and would like to have the fade correspond to this.

    So for example I want to have an item onscreen for 1 second and have if fade over .1 of a second, then if I change the hold time to 2 seconds and have the fade time adjust itself to .2

    What would be extra special too, was if I could set an upper and lower limit to the potential fade.

    WHOS WITH ME!!!! 😉

    cheers guys 🙂

    moog

    Dan Ebberts
    replied 19 years, 9 months ago
    2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    August 11, 2006 at 4:07 pm

    Something like this maybe:

    holdTime = 2;

    minFade = .1;
    maxFade = .5

    fade = Math.min(Math.max(minFade,holdTime*.1),maxFade);

    linear(time,holdTime,holdTime + fade,100,0);

    Dan

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