3 Replies Latest reply on Jan 14, 2010 6:23 AM by kglad

    Help with button code please?

    TerraAustralis

      I am a novice and have just completed my first animated movie. I need help with action script.

       

      The movie is currently looped and I have created and invisible button the size of the frame with the intention that a user can click on the movie image to stop it and on second click continue the movie from where it stopped.

       

      I have used the AS event handler method to stop the movie. I have tested it and it works. But I cannot figure suitable code to restart the movie.

       

      Two questions;

      1. am I going about the task the right way? (should I use two buttons, one stop, one start)?

      2. if my approach is feasible, can anyone give me the correct AS to re-start the movie and put me out of my misery please?