1 Reply Latest reply on Jun 18, 2009 4:31 AM by Ned Murphy

    How play and stop movie clip.

    imadnan

      Hi,

       

      I want to control my animation with a play and stop button .

       

      Thanks,

        • 1. Re: How play and stop movie clip.
          Ned Murphy Adobe Community Professional & MVP

          Create two buttons, one labeled play and the other labeled stop.  Assign an instance name to the play button, maybe "playBtn" and assign it this code in the timeline it lives in...

           

          playBtn.onRelease = function(){

               play();

          }

           

          Do something similar with the stop button, giving it an instance name also...

           

           

          stopBtn.onRelease = function(){

              stop();

          }