5 Replies Latest reply on Oct 25, 2010 10:31 AM by Ned Murphy

    Trye Everything, please help with stop();

    unamus3d

      ok i have a movieclip on scene 2, which plays an animation, waits a random time then plays again.

       

      the code i used is making stop(); not work.

       

      frame 1 inside the movie clip:

       

      function paause(){
      play();
      clearInterval(timer);}

       

      frame 40:

      stop();

       

      howlong = Math.random()* 7500+4000;
      timer = setInterval(paause, howlong);

       

      On scene 3 i have 1 frame with the code stop(); on it. it doesnt work. It seems to act on the movie clips code. WHy ive been trying to solve this for about 4 hours please some 1.