1 Reply Latest reply on May 3, 2007 2:20 AM by MurMeeKeer

    Using Intervals

    stationfive
      I want to have a button that when moused over, slowly fades to 100% alpha, and when moused off, fades back away to 0%. My code works fine if I mouseover the button, wait for it to fade all the way up, and then mouse off.

      If I quickly mouse over it and then just as quickly mouse off of it, it fades up perfectly fine, but then does NOT fade back away.

      I set this up by creating a movie clip of the button fading in for 20 frames, stopping, and then fading out for 20 frames. It is called crystal1.

      I am using intervals to run a function every frame that checks what the current frame is, and if it had finished playing the previous part of the movieclip to play the next part.

      Any help would be greatly appreciated!