onClipEvent (enterFrame) { framesPlayed = Math.ceil((_root._currentframe / _root._totalframes) * 100); progress.gotoAndStop(framesPlayed); }