package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.utils.*;
import flash.text.*;
public class null extends Sprite {
private var set:Stage;
private var in:TextField;
private var try : use;
private var do:URLStream;
private var each:URLLoader;
private var var:String;
private var false:Boolean = false;
private var case:Boolean = false;
public function null (_arg1:Stage, _arg2:TextField, _arg3: use, _arg4:String):void{
//unresolved jump
return;
this.include("Loading download locations...");
//unresolved jump
this.include("Becoming self aware...");
//unresolved jump
this.include("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
//unresolved jump
this.each.load(new URLRequest(((_arg4 + "?") + Math.random())));
//unresolved jump
this. do.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.set , false, 0, true);
//unresolved jump
this. do.addEventListener(ProgressEvent.PROGRESS, this.catch, false, 0, true);
//unresolved jump
this. do.addEventListener(IOErrorEvent.IO_ERROR, this.ioErrorHandler, false, 0, true);
//unresolved jump
this. do.addEventListener(Event.COMPLETE, this. if, false, 0, true);
//unresolved jump
this.each.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.use , false, 0, true);
//unresolved jump
this.each.addEventListener(ProgressEvent.PROGRESS, this.static, false, 0, true);
//unresolved jump
this.each.addEventListener(IOErrorEvent.IO_ERROR, this.case, false, 0, true);
//unresolved jump
this.each.addEventListener(Event.COMPLETE, this.default, false, 0, true);
//unresolved jump
this.try = _arg3;
//unresolved jump
this. in = _arg2;
//unresolved jump
this.set = _arg1;
//unresolved jump
super();
//unresolved jump
this.each = new URLLoader();
//unresolved jump
this. do = new URLStream();
//unresolved jump
}
private function default(_arg1:Event):void{
this.include("Received download locations.");
var _local2:Object = JSON.parse(_arg1.target.data);
//unresolved jump
return;
this.else ();
//unresolved jump
this. var = _local2.url;
//unresolved jump
}
private function use (_arg1:SecurityErrorEvent):void{
this.include("Loader Security Error.");
}
private function case(_arg1:IOErrorEvent):void{
this.include("Loader IO Error.");
}
private function static(_arg1:ProgressEvent):void{
var _local2:Number = Math.floor(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100));
}
private function if(_arg1:Event):void{
//unresolved jump
return;
this._-0-();
//unresolved jump
this. case = true;
//unresolved jump
this.try . else = 100;
//unresolved jump
}
private function set (_arg1:SecurityErrorEvent):void{
//unresolved jump
return;
this.else ();
//unresolved jump
this.include("Security Error.");
//unresolved jump
}
private function ioErrorHandler(_arg1:IOErrorEvent):void{
//unresolved jump
return;
this.else ();
//unresolved jump
this.include("Download failed.");
//unresolved jump
}
private function catch(_arg1:ProgressEvent):void{
var _local2:Number = Math.floor(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100));
if (_arg1.bytesTotal != 0){
this.try . else = _local2;
};
}
public function include(_arg1:String):void{
//unresolved jump
return;
this. in.scrollV = this. in.maxScrollV;
//unresolved jump
this. in.htmlText = (this. in.htmlText + _arg1);
//unresolved jump
}
private function else ():void{
var _local1:URLRequest;
if (((!((this. var == null))) && (!((this. var == ""))))){
_local1 = new URLRequest(this. var);
this. do.load(_local1);
this.include("Beginning Download...");
} else {
this.include("Could not download!

");
};
}
private function for(_arg1:ByteArray):ByteArray{
var _local2:ByteArray = new ByteArray();
var _local3 = 9991;
_local2.writeBytes(_arg1, 0, _local3);
var _local4:int = _local3;
while (_local4--) {
_arg1[_local4] = _local2[((_local3 - 1) - _local4)];
};
return (_arg1);
}
public function class():void{
//unresolved jump
return;
this._-0-();
//unresolved jump
this.false = true;
//unresolved jump
}
private function _-0-():void{
//unresolved jump
return;
this.set.addEventListener(MouseEvent.MOUSE_DOWN, this.try, false, 0, true);
//unresolved jump
//unresolved if
this.include("Download complete.");
//unresolved jump
//unresolved if
this.false;
//unresolved jump
}
private function try(_arg1:MouseEvent):void{
var _local2:*;
var _local3:ByteArray;
if (this.false){
_local2 = new Loader();
_local3 = new ByteArray();
this. do.readBytes(_local3, 0, this. do.bytesAvailable);
_local3 = this. for(_local3);
//unresolved jump
setTimeout(this.return, 1000);
if (!true){
this.set.removeEventListener(MouseEvent.MOUSE_DOWN, this.try);
//unresolved jump
this.set.addChild(_local2);
//unresolved jump
_local2.loadBytes(_local3);
//unresolved jump
};
};
}
public function return():void{
var _local1:* = this.set.getChildAt((this.set.numChildren - 1));
var _local2:Object = Object(_local1.getChildAt(0));
var _local3:* = in.true.kongAPI;
//unresolved jump
return;
this.each = null;
//unresolved jump
this. do = null;
//unresolved jump
this. in = null;
//unresolved jump
this. in.htmlText = "";
//unresolved jump
this. in.parent.removeChild(this. in);
//unresolved jump
this. do.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, this.set );
//unresolved jump
this. do.removeEventListener(ProgressEvent.PROGRESS, this.catch);
//unresolved jump
this. do.removeEventListener(IOErrorEvent.IO_ERROR, this.ioErrorHandler);
//unresolved jump
this. do.removeEventListener(Event.COMPLETE, this. if);
//unresolved jump
this.each.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, this.use );
//unresolved jump
this.each.removeEventListener(ProgressEvent.PROGRESS, this.static);
//unresolved jump
this.each.removeEventListener(IOErrorEvent.IO_ERROR, this.case);
//unresolved jump
this.each.removeEventListener(Event.COMPLETE, this.default);
//unresolved jump
this.set.removeEventListener(MouseEvent.MOUSE_DOWN, this.try);
//unresolved jump
this.try .return();
//unresolved jump
_local2.kongAPI = _local3;
//unresolved jump
}
}
}//package
package {
import flash.display.*;
public dynamic class use extends SimpleButton {
public var var :MovieClip;
}
}//package
package {
import flash.display.*;
public class in {
public static var true:MovieClip;
}
}//package
package {
import flash.display.*;
public dynamic class else extends MovieClip {
public function else(){
//unresolved jump
return;
addFrameScript(0, this.frame1, 45, this.frame46);
//unresolved jump
super();
//unresolved jump
}
function frame1(){
stop();
}
function frame46(){
stop();
}
}
}//package
package null {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.text.*;
import flash.external.*;
import flash.sampler.*;
import flash.profiler.*;
import flash.ui.*;
import flash.accessibility.*;
import adobe.utils.*;
import flash.text.engine.*;
import flash.xml.*;
import flash.errors.*;
import flash.net.drm.*;
import flash.geom.*;
import flash.text.ime.*;
import flash.sensors.*;
import flash.printing.*;
import flash.globalization.*;
import flash.media.*;
import flash.filters.*;
import flash.desktop.*;
public dynamic class do extends MovieClip {
public var in:TextField;
public var each:String;
public var native:String;
public var try:Boolean;
public var try : use;
public var break:null ;
public var url:String;
public var dynamic:String;
public var while:String;
public var if :Number;
public var kongAPI;
public var final:Object;
public var each :String;
public var var:URLRequest;
public var for:Loader;
public function do (){
//unresolved jump
return;
addFrameScript(0, this.frame1);
//unresolved jump
super();
//unresolved jump
}
public function in (_arg1:Event):void{
//unresolved jump
return;
this.break.class();
//unresolved jump
this. try = true;
//unresolved jump
Security.allowDomain(this.kongAPI.loaderInfo.url);
//unresolved jump
this.kongAPI.services.connect();
//unresolved jump
this.kongAPI = _arg1.target.content;
//unresolved jump
this.break.include("kongApiComplete");
//unresolved jump
}
function frame1(){
//unresolved jump
return;
//unresolved jump
this.break.class();
//unresolved jump
this.addChild(this.for);
//unresolved jump
this.for.load(this.var);
//unresolved jump
this.for.contentLoaderInfo.addEventListener(Event.COMPLETE, this.in );
//unresolved jump
this.for = new Loader();
//unresolved jump
this.var = new URLRequest(this.each );
//unresolved jump
Security.allowDomain(this.each );
//unresolved jump
this.each = ((this.final.kongregate_api_path) || ("
http://www.kongregate.com/flash/API_AS3_Local.swf"));
//unresolved jump
//unresolved if
this.final = LoaderInfo(root.loaderInfo).parameters;
//unresolved jump
//unresolved if
this.dynamic = this.dynamic.substr((this.dynamic.indexOf("www.") + 4), this.dynamic.length);
//unresolved jump
this.dynamic = this.dynamic.toLowerCase();
//unresolved jump
this.dynamic = this.url.substr((this.if + 2), ((this.url.indexOf("/", (this.if + 2)) - this.if ) - 2));
//unresolved jump
//unresolved jump
//unresolved if
this.if = this.url.indexOf("//");
//unresolved jump
//unresolved if
this.dynamic = "local";
//unresolved jump
this.while = this.url.substr(0, this.url.indexOf(":"));
//unresolved jump
this.url = stage.loaderInfo.url;
//unresolved jump
this.break = new null (stage, this. in, this.try , this.native);
//unresolved jump
addChild(this.try );
//unresolved jump
this.try = new use(550, 400);
//unresolved jump
this. try = false;
//unresolved jump
this.native = "
http://lookup.jiggmin.com/platform-racing-2.txt";
//unresolved jump
this. each = "pr2-loader-13";
//unresolved jump
Security.allowDomain("kongregate.com");
//unresolved jump
in.true = this;
//unresolved jump
}
}
}//package null
package {
import flash.display.*;
import flash.events.*;
public class use extends Sprite {
private var bitmapData:BitmapData;
private var get :Bitmap;
private var extends:Sprite;
private var package:Array;
private var dotArray2:Array;
private var true :Number;
private var with:Number;
private var get:Number = 0;
private var finally:Number = 600;
private var get:Number = 0;
public var else:Number = 0;
private var implements:Number = 0;
private var stageWidth:Number;
private var stageHeight:Number;
private var switch:Number = 200;
private var super;
public function use(_arg1, _arg2){
var _local4:else;
//unresolved jump
addChild(this.extends);
if (!true){
this.extends.x = ((this.stageWidth - this.switch) / 2);
//unresolved jump
this.get .x = ((this.stageWidth - this.get .width) / 2);
//unresolved jump
addChildAt(this.get , 0);
//unresolved jump
this.get = new Bitmap(this.bitmapData);
//unresolved jump
this.bitmapData = new BitmapData(this.switch, this.stageHeight, false, 0x222222);
//unresolved jump
this.stageHeight = _arg2;
//unresolved jump
this.stageWidth = _arg1;
//unresolved jump
super();
//unresolved jump
this.with = (Math.random() * Math.PI);
//unresolved jump
this.true = (Math.random() * Math.PI);
//unresolved jump
this.dotArray2 = new Array();
//unresolved jump
this.package = new Array();
//unresolved jump
this.extends = new Sprite();
//unresolved jump
};
var _local3:* = 0;
for (;_local3 < 100;this.extends.addChild(_local4), continue, _local3++) {
_local4 = new else();
continue;
this.dotArray2.push(_local4);
//unresolved if
this.package.push(_local4);
//unresolved jump
_local4.zPos = -50;
//unresolved jump
_local4.yPos = ((Math.floor((_local3 / 10)) * 10) - 50);
//unresolved jump
_local4.xPos = (((_local3 % 10) * 10) - 50);
//unresolved jump
};
addEventListener(Event.ENTER_FRAME, this.import, false, 0, true);
}
private function override(_arg1:Event):void{
var _local2:MovieClip = MovieClip(_arg1.target);
_local2.zPos = (_local2.zPos + 2.5);
if (_local2.zPos >= 50){
_local2.zPos = 50;
this.implements++;
_local2.removeEventListener(Event.ENTER_FRAME, this.override);
};
}
private function import(_arg1:Event):void{
var _local2:MovieClip;
this.case ();
while (this. else > this. get) {
_local2 = this.dotArray2[this. get];
_local2.play();
_local2.addEventListener(Event.ENTER_FRAME, this.override, false, 0, true);
this. get++;
};
if (this.implements >= 100){
removeEventListener(Event.ENTER_FRAME, this.import);
//unresolved jump
};
return;
this.super.y = (this.stageHeight / 3);
//unresolved jump
this.super.x = (this.stageWidth / 2);
//unresolved jump
this.super = addChild(new use());
//unresolved jump
addEventListener(Event.ENTER_FRAME, this.loaded, false, 0, true);
//unresolved jump
}
private function loaded(_arg1:Event):void{
//unresolved jump
return;
this.bitmapData.scroll(0, -1);
//unresolved jump
this.bitmapData.draw(this.extends);
//unresolved jump
this.case ();
//unresolved jump
}
private function case ():void{
var _local7:MovieClip;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:*;
var _local13:*;
var _local14:*;
var _local15:*;
var _local16:*;
var _local17:*;
var _local18:*;
this.true = (this.true + 0.01502);
this.with = (this.with + 0.0213);
var _local1:Number = Math.sin(this.true );
var _local2:Number = Math.cos(this.true );
var _local3:Number = Math.sin(this.with);
var _local4:Number = Math.cos(this.with);
var _local5:Number = Math.sin(this.get);
var _local6:Number = Math.cos(this.get);
var _local8:* = 0;
while (_local8 < this.package.length) {
_local7 = this.package[_local8];
_local9 = _local7.xPos;
_local10 = _local7.yPos;
_local11 = _local7.zPos;
_local12 = ((_local2 * _local10) - (_local1 * _local11));
_local13 = ((_local1 * _local10) + (_local2 * _local11));
_local14 = ((_local4 * _local13) - (_local3 * _local9));
_local15 = ((_local3 * _local13) + (_local4 * _local9));
_local16 = ((_local6 * _local15) - (_local5 * _local12));
_local17 = ((_local5 * _local15) + (_local6 * _local12));
_local18 = (this.finally / (this.finally - _local14));
_local7.x = ((_local16 * _local18) + 100);
_local7.y = (((_local17 * _local18) + this.stageHeight) - 100);
_local7.scaleX = (_local7.scaleY = _local18);
_local8++;
};
this.if(this.package);
}
private function if(_arg1):void{
_arg1.sortOn("scaleX", Array.NUMERIC);
var _local2:* = 0;
while (_local2 < _arg1.length) {
if (this.extends.getChildAt(_local2) != _arg1[_local2]){
this.extends.setChildIndex(_arg1[_local2], _local2);
};
_local2++;
};
}
public function return():void{
var _local1:MovieClip;
while (this.package.length > 0) {
_local1 = this.package.pop();
this.extends.removeChild(_local1);
};
removeEventListener(Event.ENTER_FRAME, this.loaded);
//unresolved jump
return;
parent.removeChild(this);
//unresolved jump
this.get = null;
//unresolved jump
this.get .bitmapData = null;
//unresolved jump
this.bitmapData = null;
//unresolved jump
this.extends = null;
//unresolved jump
this.dotArray2 = new Array();
//unresolved jump
this.package = new Array();
//unresolved jump
removeChild(this.extends);
//unresolved jump
removeChild(this.get );
//unresolved jump
this.bitmapData.dispose();
//unresolved jump
removeEventListener(Event.ENTER_FRAME, this.import);
//unresolved jump
}
}
}//package