home *** CD-ROM | disk | FTP | other *** search
- function preLoading()
- {
- loadedSuccess = true;
- clearInterval(_iTimes);
- _iTimes = null;
- }
- Stage.scaleMode = "exactFit";
- Stage.align = "TL";
- System.security.allowDomain("*");
- Stage.showMenu = false;
- _iTimes = null;
- _iTimes = setInterval(preLoading,8000);
- protocol = _url.substr(0,_url.indexOf(":"));
- hacked = false;
- this.onEnterFrame = function()
- {
- if(this.getBytesLoaded() == this.getBytesTotal() && loadedSuccess == true)
- {
- _root.preloader_mc._visible = false;
- if(hacked == false)
- {
- gotoAndStop("init");
- }
- delete this.onEnterFrame;
- }
- else if(this.getBytesLoaded() == this.getBytesTotal())
- {
- _root.preloader_mc.caption_txt.text = "Starting...";
- _root.preloader_mc.caption2_txt.text = "Starting...";
- }
- else
- {
- var _loc3_ = Math.round(this.getBytesLoaded() * 100 / this.getBytesTotal());
- _root.preloader_mc.bar_mc._xscale = _loc3_;
- _root.preloader_mc.caption_txt.text = _loc3_ + "%";
- _root.preloader_mc.caption2_txt.text = _loc3_ + "%";
- }
- };
- _quality = "BEST";
- stop();
-