Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Change opacity of every other frame?

  • Dan Ebberts

    April 6, 2008 at 12:46 am

    Something like this, probably:

    opacityEven = 50;
    opacityOdd = 100;
    f = timeToFrames();
    if (f%2 == 0) opacityEven else opacityOdd

    Dan

  • Cory Weiner

    April 6, 2008 at 4:44 am

    doesn’t seem to work. I am testing it with a black solid over a red solid. I clock opacity, then alt click to add the expression. it shows the opacity at the points as either 0 or 100, but the actual black solid does not go to 0% opacity?

  • Dan Ebberts

    April 6, 2008 at 5:40 am

    So you edited the expression to look like this, correct?

    opacityEven = 0;
    opacityOdd = 100;
    f = timeToFrames();
    if (f%2 == 0) opacityEven else opacityOdd

    Are you saying that as you step through the frames the opacity says it’s changing between 0 and 100, but it really isn’t?

    Dan

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