home *** CD-ROM | disk | FTP | other *** search
- function timeout()
- {
- timedout = true;
- scol.setRGB(16711680);
- black.onFadeIn = function()
- {
- circ.clear();
- _root.gotoAndStop("menu");
- };
- black.gotoAndPlay("out");
- clearTimeout(servertimeout);
- }
- stop();
- cx = 300;
- cy = 200;
- scol = new Color(stats);
- scol.setRGB(0);
- onEnterFrame = function()
- {
- if(getBytesLoaded() >= getBytesTotal())
- {
- var _loc7_ = new LoadVars();
- var _loc8_ = new LoadVars();
- _loc7_.u = _root._url;
- _loc7_.v = brickver;
- scol.setRGB(16776960);
- _loc8_.onLoad = function(s)
- {
- if(timedout)
- {
- return undefined;
- }
- clearTimeout(servertimeout);
- if(s)
- {
- if(this.a == 0)
- {
- scol.setRGB(255);
- _root.gotoAndStop("restrict");
- }
- else
- {
- scol.setRGB(65280);
- black.onFadeIn = function()
- {
- circ.clear();
- _root.gotoAndStop("menu");
- };
- black.gotoAndPlay("out");
- }
- }
- else
- {
- scol.setRGB(16711680);
- black.onFadeIn = function()
- {
- circ.clear();
- _root.gotoAndStop("menu");
- };
- black.gotoAndPlay("out");
- }
- };
- _loc7_.sendAndLoad("http://www.tastylamp.net/orbular/inc.php",_loc8_,"POST");
- clearTimeout(servertimeout);
- servertimeout = setTimeout(_root,"timeout",8000);
- delete onEnterFrame;
- }
- circ.clear();
- circ.lineStyle(2,16777215,10);
- var _loc3_ = 0;
- while(_loc3_ < 6.283185307179586)
- {
- var _loc5_ = cx + Math.cos(_loc3_) * 40;
- var _loc4_ = cy + Math.sin(_loc3_) * 40;
- if(_loc3_ == 0)
- {
- circ.moveTo(_loc5_,_loc4_);
- }
- else
- {
- circ.lineTo(_loc5_,_loc4_);
- }
- _loc3_ += 0.017453292519943295;
- }
- circ.lineStyle(2,16777215,100);
- var _loc6_ = getBytesLoaded() / getBytesTotal();
- _loc3_ = -1.5707963267948966;
- while(_loc3_ < 6.283185307179586 * _loc6_ - 1.5707963267948966)
- {
- _loc5_ = cx + Math.cos(_loc3_) * 40;
- _loc4_ = cy + Math.sin(_loc3_) * 40;
- if(_loc3_ == -1.5707963267948966)
- {
- circ.moveTo(_loc5_,_loc4_);
- }
- else
- {
- circ.lineTo(_loc5_,_loc4_);
- }
- _loc3_ += 0.017453292519943295;
- }
- };
-