Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by Lincoln Waldron on October 1, 2010 at 10:49 pm

    I know this may sound really stupid, but I have 2 layers and I want them to flash on and off alternatively.
    I don’t know how to make my opacity stay at 100% for 4 frames then on the 5th it goes to 0% and the other layer comes on and does the same thing, with them continuously doing it over 2 mins?

    Any ideas?

    L

    Lincoln Waldron replied 15 years, 7 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    October 2, 2010 at 5:56 am

    Try this for one:

    f = timeToFrames();
    seg = Math.floor(f/4);
    if (seg%2) 100 else 0

    and this for the other:

    f = timeToFrames();
    seg = Math.floor(f/4);
    if (seg%2) 0 else 100

    Dan

  • Lincoln Waldron

    October 4, 2010 at 10:45 am

    Thanks this worked so well, really appreciate your help.

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