home *** CD-ROM | disk | FTP | other *** search
- _parent.stop();
- with(this)
- {
- startTime = getTimer();
- thisFPS = 40;
- onEnterFrame = function()
- {
- elapsed = getTimer() - startTime;
- goFrame = Math.floor(elapsed / thisFPS);
- if(goFrame > _totalframes)
- {
- goFrame = _totalframes;
- }
- gotoAndStop(goFrame);
- };
- }
-