Código:
Saludos y gracias function autoplayInit () { startTime = getTimer(); hideControls(); updateStatus(); } function autoplay () { if (autoplayStatus != true) { // get the current time and elapsed time curTime = getTimer(10); elapsedTime = curTime-startTime; // update timer indicator indicatorFrame = int(4/(delay/(elapsedTime/2000))); indicator.gotoAndStop(indicatorFrame+1); // if delay time if met, goto next photo if (elapsedTime >= (delay*1000)) { if (_root._currentframe == _root._totalframes) { _root.gotoAndStop(1); } else { _root.nextFrame(); } autoplayInit(); } } }