1 Reply Latest reply on Jan 6, 2015 2:48 PM by try67

    Flash canvas, JavaScript - setInterval

    biota

      Hi

      i work in flash for a canvas project in js, 

      like to use setInterval  to play the stoped timeline aftrer 3 sec.

      i try those but not working.

      Any help please?

       

      /* js

      this.stop();

      setInterval(function(){ this.play(); }, 3000);

      */

       

      or this

       

      /* js

      this.stop();

      var myVar = setInterval(function () {peximo()}, 3000);

      function peximo() {

      this.play();

      }

      */