4 Replies Latest reply on Apr 4, 2007 12:35 PM by crazyjoemilan

    Alpha tweening with actionscript

    MoonPilot
      I have a MC on stage that I have scripted to an alpha value of 0. I want the alpha value of the image to tween from 0 to 40 (in 1 or 2 seconds)when a button on stage is pressed. How should I go about this with actionscript?

      The MC has a instance name of "MC2" and button has an instance name of "but1". Here's the simple script I have used for the MC when it loads and it works just fine. I have given the tween a few different tries with actionscript, but come up with multiple errors.

      onClipEvent (load) {
      this._alpha =0;
      }