Skip to main content
biota
Participant
January 6, 2015
Question

Flash canvas, JavaScript - setInterval

  • January 6, 2015
  • 1 reply
  • 323 views

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();

}

*/

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
January 8, 2015

use the ticker class.