6 Replies Latest reply on Mar 14, 2012 1:36 PM by k_baldwin_mitre

    Why does setting a MovieClip's alpha prevent it from moving in another keyframe?

    k_baldwin_mitre

      I have a MovieClip, named "thing", that's in one position and in another position on the next frame. I added an eventlistener to "thing" to advance frames. Very simple, everything works fine.

       

      I then add "thing.alpha = 0.5" in the button's event listener. Now when I publish the file, thing fades but doesn't move. Someone please explain?!!

       

       

      -Keith

       

       

      p.s. For reference, here's the entirety of my AS3 on the first frame:

       

       

      import flash.events.MouseEvent;

       

      stop();

       

      thing.addEventListener(MouseEvent.CLICK, doClick);

       

      function doClick(evt:MouseEvent):void {

                thing.alpha = 0.5;

                gotoAndStop(2);

      }