segundos= 5 intervalo = setInterval(function () { gotoAndPlay(5); delete intervalo; }, segundos*1000);