4 Replies Latest reply on Nov 8, 2012 2:11 AM by chasbln

    setInterval and function

    chasbln Level 1



      can't find the correct code for the following problem:

      I set several stops in my symbol ("mysymbol"). Between this stops are animated parts. The symbol should continue to play every 10 seconds.


      Here is the code for the stage:


      // interval

      timer = setInterval(onTimer,2000);



      // function

      function onTimer() {


                // clear last interval



                // action





      But this doesn't work...

      Does anyone have an idea?