Skip to main content
biota
Participant
January 6, 2015
공지사항

Flash canvas, JavaScript - setInterval

  • January 6, 2015
  • 1 답변
  • 326 조회

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

}

*/

이 주제는 답변이 닫혔습니다.

1 답변

kglad
Community Expert
Community Expert
January 8, 2015

use the ticker class.