su ogni frame

codice:
stop();
cl = setInterval(function () {
gotoAndPlay(x);
clearInterval(cl);}, 3000);//3 secondi