1 Reply Latest reply on Aug 25, 2007 10:39 AM by NSurveyor

    Replay Button for Flash Movie

    atlkhan
      Hi

      I have placed a flash movie on my webpage. I want to include a play button on my site so that movie only plays when it is clicked. Can someone guide me how I can do that

      Thanks
        • 1. Re: Replay Button for Flash Movie
          NSurveyor Level 2
          First, create your play button. Click on it, and open up the Properties Panel (Shift + F3). Type in: play_btn for the <Instance Name>.

          Then, create a new Layer in your Flash file, called Actions. Click on the first frame of the Actions layer, and open up the Actions panel (F9).
          Type in:

          stop();
          play_btn.onRelease = function(){
          play();
          }