Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Flash canvas, JavaScript - setInterval

New Here ,
Jan 06, 2015 Jan 06, 2015

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

}

*/

TOPICS
ActionScript
310
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 08, 2015 Jan 08, 2015
LATEST

use the ticker class.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines