0 Replies Latest reply on May 21, 2007 9:00 AM by LostRich

    playback buttons for flash movie

    LostRich
      Hello, im having some difficulty adding a play, pause and stop button to a movie I imported into flash.
      The movie was imported using the import wizard in flash 8. I did not add a skin because when I tried adding it , the skin would not show through once I imported the finished swf file in Trainersoft. ONly the movie would come through. So, then I decided to add my own playback buttons to the movie. I imported the movie again using the import wizard, i did not select a skin. The movie was imported fine into flash. I added a play, pause and stop buttons as new symbols each in their own layer. I added the correct action scripting to the buttons, i preview movie and the buttons appear correctly but nothing happens when I click each of the buttons, the movie keeps playing without reacting to me clicking on either the pause or stop button, or the play button.
      Here is thte scripting im using. For Play: on (release) {
      myButton.onrelease = function() {
      trace("onrelease called");
      };
      }
      on (release) {
      play();


      For Pause:
      on (release) {
      myButton.onrelease = function() {
      trace("onrelease called");
      };
      }
      on (release) {
      stop();


      }

      For Stop
      on (release) {
      " Movie".gotoAndStop (1) ;
      }

      I would love to hear from someone to help me out. Thank you!!