stop();
tt = getTimer();
this.onEnterFrame = function(){
if(getTimer()-tt>=30000){
nextFrame();
}
}


или так:


stop();
id = setInterval(function () {
clearInterval(id);
play();
}, 30000);