4 Replies Latest reply on Feb 7, 2007 7:40 AM by matbury

    Fade in/out on button click

    matbury
      Hi, I'm new here and a beginner at Actionscript.

      My question is this:

      I want to make a photo gallery with smooth fade in and out. I can do this on Clip Events i.e.

      onClipEvent(enterFrame){
      for(i=0; i>=100; i++){
      myMovieClip._alpha = i;
      }
      }

      But I can't write a script that does it on an on(release) or hitTest.

      Any help?