home *** CD-ROM | disk | FTP | other *** search
- loadedBytes = _root.getBytesLoaded();
- totalBytes = _root.getBytesTotal();
- if(_framesloaded >= _totalframes)
- {
- gotoAndPlay(1);
- }
- else
- {
- percentageOutput = int(loadedBytes / totalBytes * 100);
- _root.loading_screen.loaderBar._xscale = percentageOutput;
- _root.dude_head.gotoAndStop(Math.ceil(percentageOutput));
- gotoAndPlay(6);
- }
-