home *** CD-ROM | disk | FTP | other *** search
- stop();
- pourcentageTxt.text = "";
- _root.onEnterFrame = function()
- {
- sofar = this.getBytesLoaded();
- total = this.getBytesTotal();
- pourcentageTxt.text = Math.floor(sofar / total * 100) + "%";
- if(sofar == total)
- {
- delete _root.onEnterFrame;
- play();
- }
- };
-