2 Replies Latest reply on Mar 11, 2007 9:17 AM by 2m

    Time calculation in setInterval

    Arunkkumar2207j
      my code is

      var myInterval = setInterval(wait, 6000);
      function wait() {
      _root.img_mc.play();
      }

      and my clip "_root.img_mc" changes every 60 frames (frame rate is 30 fps). When i type the above code i expect the clip "_root.img_mc" should change after 6 sec., but it is changing after 3 to 4 sec.

      That means i am somehow laking in calculations or unable to understand the function. Plz help