Section 1
//_-5D (_-7F._-5D)
package _-7F {
public class _-5D {
public var _-1v:_-Fm;
public var _-Bn:_-Fm;
public function _-5D(_arg1:Number=0, _arg2:_-Fm=null, _arg3:_-Fm=null){
var _local4:Number;
var _local5:Number;
this._-1v = new _-Fm();
this._-Bn = new _-Fm();
super();
if (((!((_arg2 == null))) && (!((_arg3 == null))))){
this._-1v._-OH(_arg2);
this._-Bn._-OH(_arg3);
} else {
_local4 = Math.cos(_arg1);
_local5 = Math.sin(_arg1);
this._-1v.x = _local4;
this._-Bn.x = -(_local5);
this._-1v.y = _local5;
this._-Bn.y = _local4;
};
}
public function super():void{
this._-1v.x = 1;
this._-Bn.x = 0;
this._-1v.y = 0;
this._-Bn.y = 1;
}
public function _-EO(_arg1:_-Fm, _arg2:_-Fm):void{
this._-1v._-OH(_arg1);
this._-Bn._-OH(_arg2);
}
public function Set(_arg1:Number):void{
var _local2:Number;
_local2 = Math.cos(_arg1);
var _local3:Number = Math.sin(_arg1);
this._-1v.x = _local2;
this._-Bn.x = -(_local3);
this._-1v.y = _local3;
this._-Bn.y = _local2;
}
public function _-KW():void{
this._-1v.x = 0;
this._-Bn.x = 0;
this._-1v.y = 0;
this._-Bn.y = 0;
}
public function _-W(_arg1:_-5D):void{
this._-1v._-OH(_arg1._-1v);
this._-Bn._-OH(_arg1._-Bn);
}
public function _-JQ(_arg1:_-5D):void{
this._-1v.x = (this._-1v.x + _arg1._-1v.x);
this._-1v.y = (this._-1v.y + _arg1._-1v.y);
this._-Bn.x = (this._-Bn.x + _arg1._-Bn.x);
this._-Bn.y = (this._-Bn.y + _arg1._-Bn.y);
}
public function _-M():void{
this._-1v._-M();
this._-Bn._-M();
}
public function Copy():_-5D{
return (new _-5D(0, this._-1v, this._-Bn));
}
public function _-B1(_arg1:_-5D):_-5D{
var _local2:Number;
var _local4:Number;
var _local6:Number;
_local2 = this._-1v.x;
var _local3:Number = this._-Bn.x;
_local4 = this._-1v.y;
var _local5:Number = this._-Bn.y;
_local6 = ((_local2 * _local5) - (_local3 * _local4));
_local6 = (1 / _local6);
_arg1._-1v.x = (_local6 * _local5);
_arg1._-Bn.x = (-(_local6) * _local3);
_arg1._-1v.y = (-(_local6) * _local4);
_arg1._-Bn.y = (_local6 * _local2);
return (_arg1);
}
public function GetAngle():Number{
return (Math.atan2(this._-1v.y, this._-1v.x));
}
public function _-8X(_arg1:_-Fm, _arg2:Number, _arg3:Number):_-Fm{
var _local4:Number = this._-1v.x;
var _local5:Number = this._-Bn.x;
var _local6:Number = this._-1v.y;
var _local7:Number = this._-Bn.y;
var _local8:Number = ((_local4 * _local7) - (_local5 * _local6));
_local8 = (1 / _local8);
_arg1.x = (_local8 * ((_local7 * _arg2) - (_local5 * _arg3)));
_arg1.y = (_local8 * ((_local4 * _arg3) - (_local6 * _arg2)));
return (_arg1);
}
}
}//package _-7F
Section 2
//_-9z (_-7F._-9z)
package _-7F {
public class _-9z {
public static const _-6F:_-5D = new _-5D(0, new _-Fm(1, 0), new _-Fm(0, 1));
public static const _-2u:_-Gi = new _-Gi(_-Br, _-6F);
public static const _-Br:_-Fm = new _-Fm(0, 0);
public static function _-GZ(_arg1:_-Fm, _arg2:Number):_-Fm{
var _local3:_-Fm = new _-Fm((_arg2 * _arg1.y), (-(_arg2) * _arg1.x));
return (_local3);
}
public static function _-AJ(_arg1:_-Fm, _arg2:_-Fm):_-Fm{
var _local3:_-Fm = new _-Fm((_arg1.x + _arg2.x), (_arg1.y + _arg2.y));
return (_local3);
}
public static function _-GT(_arg1:Number):Boolean{
return (isFinite(_arg1));
}
public static function _-0q(_arg1:_-Fm, _arg2:_-Fm):_-Fm{
var _local3:_-Fm = new _-Fm(_-0-(_arg1.x, _arg2.x), _-0-(_arg1.y, _arg2.y));
return (_local3);
}
public static function _-3l(_arg1:_-Gi, _arg2:_-Fm):_-Fm{
var _local3:_-Fm;
_local3 = for (_arg1.R, _arg2);
_local3.x = (_local3.x + _arg1.position.x);
_local3.y = (_local3.y + _arg1.position.y);
return (_local3);
}
public static function _-M3(_arg1:_-Fm, _arg2:_-Fm):Number{
var _local3:Number = (_arg1.x - _arg2.x);
var _local4:Number = (_arg1.y - _arg2.y);
return (((_local3 * _local3) + (_local4 * _local4)));
}
public static function _-GS(_arg1:Array, _arg2:Array):void{
var _local3:* = _arg1[0];
_arg1[0] = _arg2[0];
_arg2[0] = _local3;
}
public static function _-08(_arg1:_-5D):_-5D{
var _local2:_-5D = new _-5D(0, _-OI(_arg1._-1v), _-OI(_arg1._-Bn));
return (_local2);
}
public static function _-PD(_arg1:_-Fm, _arg2:_-Fm):_-Fm{
var _local3:_-Fm = new _-Fm((_arg1.x - _arg2.x), (_arg1.y - _arg2.y));
return (_local3);
}
public static function _-OP(_arg1:_-Gi, _arg2:_-Fm):_-Fm{
var _local3:_-Fm;
var _local4:Number;
_local3 = _-PD(_arg2, _arg1.position);
_local4 = ((_local3.x * _arg1.R._-1v.x) + (_local3.y * _arg1.R._-1v.y));
_local3.y = ((_local3.x * _arg1.R._-Bn.x) + (_local3.y * _arg1.R._-Bn.y));
_local3.x = _local4;
return (_local3);
}
public static function _-9S(_arg1:Number):Number{
return (((_arg1 > 0)) ? _arg1 : -(_arg1));
}
public static function _-2B(_arg1:Number, _arg2:Number, _arg3:Number):Number{
return (_-Fv(_arg2, _-0-(_arg1, _arg3)));
}
public static function _-OI(_arg1:_-Fm):_-Fm{
var _local2:_-Fm = new _-Fm(_-9S(_arg1.x), _-9S(_arg1.y));
return (_local2);
}
public static function _-8S(_arg1:Number, _arg2:_-Fm):_-Fm{
var _local3:_-Fm = new _-Fm((_arg1 * _arg2.x), (_arg1 * _arg2.y));
return (_local3);
}
public static function _-HS(_arg1:_-Fm, _arg2:_-Fm):Number{
return (((_arg1.x * _arg2.y) - (_arg1.y * _arg2.x)));
}
public static function _-Kn(_arg1:_-Fm, _arg2:_-Fm):Number{
return (((_arg1.x * _arg2.x) + (_arg1.y * _arg2.y)));
}
public static function _-6g(_arg1:Number, _arg2:_-Fm):_-Fm{
var _local3:_-Fm = new _-Fm((-(_arg1) * _arg2.y), (_arg1 * _arg2.x));
return (_local3);
}
public static function _-Ct(_arg1:_-5D, _arg2:_-5D):_-5D{
var _local3:_-5D = new _-5D(0, _-AJ(_arg1._-1v, _arg2._-1v), _-AJ(_arg1._-Bn, _arg2._-Bn));
return (_local3);
}
public static function _-H0(_arg1:_-Fm, _arg2:_-Fm):Number{
var _local3:Number = (_arg1.x - _arg2.x);
var _local4:Number = (_arg1.y - _arg2.y);
return (Math.sqrt(((_local3 * _local3) + (_local4 * _local4))));
}
public static function _-CI(_arg1:_-5D, _arg2:_-5D):_-5D{
var _local3:_-Fm = new _-Fm(_-Kn(_arg1._-1v, _arg2._-1v), _-Kn(_arg1._-Bn, _arg2._-1v));
var _local4:_-Fm = new _-Fm(_-Kn(_arg1._-1v, _arg2._-Bn), _-Kn(_arg1._-Bn, _arg2._-Bn));
var _local5:_-5D = new _-5D(0, _local3, _local4);
return (_local5);
}
public static function _-NP(_arg1:_-Fm, _arg2:_-Fm):_-Fm{
var _local3:_-Fm = new _-Fm(_-Fv(_arg1.x, _arg2.x), _-Fv(_arg1.y, _arg2.y));
return (_local3);
}
public static function _-52(_arg1:uint):Boolean{
var _local2:Boolean = (((_arg1 > 0)) && (((_arg1 & (_arg1 - 1)) == 0)));
return (_local2);
}
public static function _-6D(_arg1:_-Fm, _arg2:_-Fm, _arg3:_-Fm):_-Fm{
return (_-NP(_arg2, _-0q(_arg1, _arg3)));
}
public static function _-9o(_arg1:Number, _arg2:Number):Number{
var _local3:Number = Math.random();
_local3 = (((_arg2 - _arg1) * _local3) + _arg1);
return (_local3);
}
public static function _-Kq(_arg1:_-5D, _arg2:_-Fm):_-Fm{
var _local3:_-Fm = new _-Fm(_-Kn(_arg2, _arg1._-1v), _-Kn(_arg2, _arg1._-Bn));
return (_local3);
}
public static function _-0-(_arg1:Number, _arg2:Number):Number{
return (((_arg1 < _arg2)) ? _arg1 : _arg2);
}
public static function _-EU():Number{
return (((Math.random() * 2) - 1));
}
public static function _-KH(_arg1:_-5D, _arg2:_-5D):_-5D{
var _local3:_-5D = new _-5D(0, for (_arg1, _arg2._-1v), for (_arg1, _arg2._-Bn));
return (_local3);
}
public static function _-HK(_arg1:uint):uint{
_arg1 = (_arg1 | ((_arg1 >> 1) & 2147483647));
_arg1 = (_arg1 | ((_arg1 >> 2) & 1073741823));
_arg1 = (_arg1 | ((_arg1 >> 4) & 268435455));
_arg1 = (_arg1 | ((_arg1 >> 8) & 0xFFFFFF));
_arg1 = (_arg1 | ((_arg1 >> 16) & 0xFFFF));
return ((_arg1 + 1));
}
public static function _-Fv(_arg1:Number, _arg2:Number):Number{
return (((_arg1 > _arg2)) ? _arg1 : _arg2);
}
public static function for (_arg1:_-5D, _arg2:_-Fm):_-Fm{
var _local3:_-Fm = new _-Fm(((_arg1._-1v.x * _arg2.x) + (_arg1._-Bn.x * _arg2.y)), ((_arg1._-1v.y * _arg2.x) + (_arg1._-Bn.y * _arg2.y)));
return (_local3);
}
}
}//package _-7F
Section 3
//_-Fm (_-7F._-Fm)
package _-7F {
public class _-Fm {
public var y:Number;
public var x:Number;
public function _-Fm(_arg1:Number=0, _arg2:Number=0):void{
this.x = _arg1;
this.y = _arg2;
}
public function Add(_arg1:_-Fm):void{
this.x = (this.x + _arg1.x);
this.y = (this.y + _arg1.y);
}
public function Set(_arg1:Number=0, _arg2:Number=0):void{
this.x = _arg1;
this.y = _arg2;
}
public function Multiply(_arg1:Number):void{
this.x = (this.x * _arg1);
this.y = (this.y * _arg1);
}
public function _-Oh():Number{
return (Math.sqrt(((this.x * this.x) + (this.y * this.y))));
}
public function _-3g():Number{
return (((this.x * this.x) + (this.y * this.y)));
}
public function in(_arg1:_-5D):void{
var _local2:Number = this.x;
this.x = ((_arg1._-1v.x * _local2) + (_arg1._-Bn.x * this.y));
this.y = ((_arg1._-1v.y * _local2) + (_arg1._-Bn.y * this.y));
}
public function _-KW():void{
this.x = 0;
this.y = 0;
}
public function _-Db(_arg1:_-Fm):void{
this.x = ((this.x < _arg1.x)) ? this.x : _arg1.x;
this.y = ((this.y < _arg1.y)) ? this.y : _arg1.y;
}
public function _-DY():Number{
var _local1:Number = Math.sqrt(((this.x * this.x) + (this.y * this.y)));
if (_local1 < Number.MIN_VALUE){
return (0);
};
var _local2:Number = (1 / _local1);
this.x = (this.x * _local2);
this.y = (this.y * _local2);
return (_local1);
}
public function _-3w(_arg1:Number):void{
var _local2:Number = this.x;
this.x = (_arg1 * this.y);
this.y = (-(_arg1) * _local2);
}
public function _-DC(_arg1:_-Fm):void{
this.x = ((this.x > _arg1.x)) ? this.x : _arg1.x;
this.y = ((this.y > _arg1.y)) ? this.y : _arg1.y;
}
public function _-OH(_arg1:_-Fm):void{
this.x = _arg1.x;
this.y = _arg1.y;
}
public function _-2a():_-Fm{
return (new _-Fm(-(this.x), -(this.y)));
}
public function _-60(_arg1:Number):void{
var _local2:Number = this.x;
this.x = (-(_arg1) * this.y);
this.y = (_arg1 * _local2);
}
public function _-M():void{
if (this.x < 0){
this.x = -(this.x);
};
if (this.y < 0){
this.y = -(this.y);
};
}
public function _-R9(_arg1:_-Fm):void{
this.x = (this.x - _arg1.x);
this.y = (this.y - _arg1.y);
}
public function Copy():_-Fm{
return (new _-Fm(this.x, this.y));
}
public function _-95(_arg1:_-5D):void{
var _local2:Number = _-9z._-Kn(this, _arg1._-1v);
this.y = _-9z._-Kn(this, _arg1._-Bn);
this.x = _local2;
}
public function _-Cz():Boolean{
return (((_-9z._-GT(this.x)) && (_-9z._-GT(this.y))));
}
public static function _-6k(_arg1:Number, _arg2:Number):_-Fm{
return (new _-Fm(_arg1, _arg2));
}
}
}//package _-7F
Section 4
//_-Gi (_-7F._-Gi)
package _-7F {
public class _-Gi {
public var position:_-Fm;
public var R:_-5D;
public function _-Gi(_arg1:_-Fm=null, _arg2:_-5D=null):void{
this.position = new _-Fm();
this.R = new _-5D();
super();
if (_arg1){
this.position._-OH(_arg1);
this.R._-W(_arg2);
};
}
public function _-Iv(_arg1:_-Fm, _arg2:_-5D):void{
this.position._-OH(_arg1);
this.R._-W(_arg2);
}
public function Set(_arg1:_-Gi):void{
this.position._-OH(_arg1.position);
this.R._-W(_arg1.R);
}
public function super():void{
this.position._-KW();
this.R.super();
}
}
}//package _-7F
Section 5
//_-5k (game._-5k)
package game {
import mx.core.*;
public class _-5k extends SpriteAsset {
}
}//package game
Section 6
//_-83 (game._-83)
package game {
import mx.core.*;
public class _-83 extends BitmapAsset {
}
}//package game
Section 7
//_-9K (game._-9K)
package game {
import mochi.as3.*;
import flash.display.*;
import flash.events.*;
public dynamic class _-9K extends Sprite {
public function _-9K(){
if (stage){
this._-Qg();
} else {
addEventListener(Event.ADDED_TO_STAGE, this._-Qg);
};
}
public function _-Qg(_arg1:Event=null):void{
removeEventListener(Event.ADDED_TO_STAGE, this._-Qg);
_-De.connect("b10e601c2641186d", this);
}
}
}//package game
Section 8
//_-Cg (game._-Cg)
package game {
import mx.core.*;
public class _-Cg extends SpriteAsset {
}
}//package game
Section 9
//_-CJ (game._-CJ)
package game {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.filters.*;
import flash.text.*;
public class _-CJ extends Sprite {
protected var sky:_-Gl;
protected var _-7o:int;// = 12
protected var _-BE:SimpleButton;
private var _-1t:Class;
protected var _-6r:Number;// = 0
protected var _-FS:Array;
protected var _-L2:Array;
protected var _-1O:Function;
public static var AssetClass8:Class = _-5k;
public static var AssetClass3:Class = _-Cg;
public static var _-J:Class = _-83;
public function _-CJ(_arg1:Function){
var _local2:DisplayObject;
this._-1t = _-G6;
this._-FS = new Array();
this._-L2 = new Array();
super();
_local2 = new _-J();
addChild(_local2);
_local2.x = -320;
_local2.y = -240;
var _local3:DisplayObject = new AssetClass8();
_local3.rotation = 90;
addChild(_local3);
_local3.x = ((-320 + (640 / 3)) - 50);
_local3.blendMode = BlendMode.ADD;
_local3 = new AssetClass8();
_local3.rotation = 90;
addChild(_local3);
_local3.x = ((-320 + (640 / 3)) - 120);
_local3.blendMode = BlendMode.ADD;
_local3 = new AssetClass8();
_local3.rotation = -90;
addChild(_local3);
_local3.x = ((-320 + ((640 * 2) / 3)) + 50);
_local3.blendMode = BlendMode.ADD;
_local3 = new AssetClass8();
_local3.rotation = -90;
addChild(_local3);
_local3.x = ((-320 + ((640 * 2) / 3)) + 120);
_local3.blendMode = BlendMode.ADD;
this.init();
_local2 = new AssetClass3();
this._-BE = new SimpleButton(_local2, _local2, _local2, _local2);
this._-BE.x = 10;
this._-BE.scaleX = 1;
this._-BE.scaleY = this._-BE.scaleX;
addChild(this._-BE);
var _local4:GlowFilter = new GlowFilter();
_local4.blurX = 10;
_local4.blurY = 10;
_local4.strength = 1.9;
_local4.quality = BitmapFilterQuality.HIGH;
_local4.color = 0xFFFFFF;
var _local5:GlowFilter = new GlowFilter();
_local5.blurX = 37;
_local5.blurY = 37;
_local5.strength = 1;
_local5.quality = BitmapFilterQuality.HIGH;
_local5.color = 52479;
_local2.filters = [_local4, _local5];
this._-BE.addEventListener(MouseEvent.CLICK, this.onClick);
this._-1O = _arg1;
}
protected function _-0W(_arg1:Number, _arg2:Number, _arg3:Number):Number{
return ((_arg1 + (_arg3 * (_arg2 - _arg1))));
}
protected function onClick(_arg1:MouseEvent):void{
var _local2:URLRequest = new URLRequest("http://www.bgames.com/?utm_source=sponsor_game&utm_medium=loading&utm_campaign=colliderixLP");
navigateToURL(_local2, "_blank");
}
public function _-DU():void{
var _local1:Sprite = new Sprite();
var _local2:DisplayObject = new this._-1t();
_local1.addChild(_local2);
var _local3:String = override._-8q;
var _local4:TextField = new TextField();
var _local5:TextFormat = new TextFormat();
_local5.font = "colliderix_Pro_font";
_local5.color = 0xFFFFFF;
_local5.size = 30;
_local4.embedFonts = true;
_local4.defaultTextFormat = _local5;
_local4.selectable = false;
_local4.mouseEnabled = false;
_local4.antiAliasType = AntiAliasType.ADVANCED;
_local4.text = "continue";
_local4.x = 60;
_local4.y = -5;
_local4.width = 640;
_local1.addChild(_local4);
var _local6:DropShadowFilter = new DropShadowFilter();
_local6.blurX = 2;
_local6.blurY = 2;
_local6.angle = 275;
_local6.distance = 1;
_local6.color = 0;
_local6.strength = 1;
_local4.filters = [_local6];
var _local7:SimpleButton = new SimpleButton(_local1, _local1, _local1, _local1);
_local7.x = -120;
_local7.y = 190;
addChild(_local7);
_local7.alpha = 1;
_local7.addEventListener(MouseEvent.CLICK, this._-1O);
_local7.addEventListener(Event.ENTER_FRAME, this._-8k);
}
protected function _-8k(_arg1:Event):void{
_arg1.target.y = this._-0W(_arg1.target.y, 140, 0.1);
if (_arg1.target.y < 141){
_arg1.target.removeEventListener(Event.ENTER_FRAME, this._-8k);
};
}
public function _-Nu():void{
removeEventListener(Event.ENTER_FRAME, this.update);
}
protected function init():void{
var _local1:int;
var _local4:int;
var _local6:itemBall;
var _local2:int = this._-7o;
var _local3:Number = ((2 * Math.PI) / _local2);
var _local5:Boolean;
_local4 = 0;
while (_local4 < _local2) {
_local6 = new itemBall();
_local6.angle = ((_local4 * _local3) + this._-6r);
if (_local5){
_local6.sprite = new _-NW(20, true);
} else {
_local6.sprite = new _-NW(18, false);
};
_local5 = !(_local5);
this._-FS[_local4] = _local6;
addChild(_local6.sprite);
_local4++;
};
addEventListener(Event.ENTER_FRAME, this.update);
}
protected function update(_arg1:Event):void{
var _local2:int;
var _local5:int;
var _local6:Number;
var _local7:itemBall;
var _local9:BlurFilter;
var _local3:int = this._-7o;
var _local4:Number = ((2 * Math.PI) / _local3);
this._-6r = (this._-6r + (Math.PI / 90));
if (this._-6r > (Math.PI * 2)){
this._-6r = (this._-6r - (Math.PI * 2));
};
removeChild(this._-BE);
_local2 = 0;
while (_local2 < _local3) {
removeChild(this._-FS[_local2].sprite);
this._-FS[_local2].angle = (this._-FS[_local2].angle + (Math.PI / 90));
if (this._-FS[_local2].angle > (Math.PI * 2)){
this._-FS[_local2].angle = (this._-FS[_local2].angle - (Math.PI * 2));
};
this._-L2[_local2] = Math.sin(this._-FS[_local2].angle);
_local2++;
};
_local2 = 0;
while (_local2 < (_local3 - 1)) {
_local5 = _local2;
while (_local5 < _local3) {
if (this._-L2[_local5] > this._-L2[_local2]){
_local6 = this._-L2[_local2];
this._-L2[_local2] = this._-L2[_local5];
this._-L2[_local5] = _local6;
_local7 = this._-FS[_local2];
this._-FS[_local2] = this._-FS[_local5];
this._-FS[_local5] = _local7;
};
_local5++;
};
_local2++;
};
_local2 = 0;
var _local8:int;
while (_local2 < _local3) {
addChild(this._-FS[_local8].sprite);
this._-FS[_local8].sprite.scaleX = this._-0W(1, 0.5, Math.sin(this._-FS[_local8].angle));
this._-FS[_local8].sprite.scaleY = this._-FS[_local8].sprite.scaleX;
this._-FS[_local8].sprite.x = ((155 * Math.cos(this._-FS[_local8].angle)) - 10);
this._-FS[_local8].sprite.y = (35 + (25 * Math.sin((this._-6r + (this._-FS[_local8].angle * 2)))));
if (_local2 < int((_local3 / 2))){
_local9 = new BlurFilter();
this._-FS[_local8].sprite.filters = [_local9];
} else {
this._-FS[_local8].sprite.filters = [];
};
if (_local2 == int((_local3 / 2))){
addChild(this._-BE);
};
_local2++;
_local8++;
};
}
}
}//package game
import flash.display.*;
class itemBall {
public var angle:Number;
public var sprite:DisplayObject;
private function itemBall(){
}
}
Section 10
//_-G6 (game._-G6)
package game {
import mx.core.*;
public class _-G6 extends SpriteAsset {
}
}//package game
Section 11
//_-Gj (game._-Gj)
package game {
import mx.core.*;
public class _-Gj extends SpriteAsset {
}
}//package game
Section 12
//_-Gl (game._-Gl)
package game {
import flash.display.*;
import flash.events.*;
public class _-Gl extends Sprite {
var _-5m:Number;
var _-Io:Number;
private var _-FI:Class;
private var _-FP:Class;
private var _-Bx:Class;
var sky1:DisplayObject;
var sky2:DisplayObject;
var _-A0:Bitmap;
var _-Jm:Number;
var x1:Number;
var x2:Number;
public function _-Gl(){
this._-FI = _-Ln;
this._-FP = _-Gj;
this._-Bx = _-Lf;
super();
this.init();
this.addEventListener(Event.ENTER_FRAME, this.onUpdate);
}
protected function onUpdate(_arg1:Event):void{
var _local2:Date = new Date();
var _local3:Number = _local2.getTime();
this._-Io = _local3;
this.x1 = (this.x1 + this._-Jm);
this.x2 = (this.x2 + this._-5m);
if (this.x1 > 800){
removeChild(this.sky1);
this.sky1 = this._-KC();
addChild(this.sky1);
this.x1 = -((150 + (Math.random() * 50)));
this.sky1.y = (50 + (Math.random() * 100));
this._-Jm = (1 + (Math.random() * 3));
};
if (this.x2 > 800){
removeChild(this.sky2);
this.sky2 = this._-KC();
addChild(this.sky2);
this.x2 = -((150 + (Math.random() * 50)));
this.sky2.y = (200 + (Math.random() * 100));
this._-5m = (1 + (Math.random() * 3));
};
this.sky1.x = this.x1;
this.sky2.x = this.x2;
}
protected function init():void{
this.sky1 = this._-KC();
this.x1 = -((150 + (Math.random() * 50)));
this.sky1.x = this.x1;
this.sky1.y = (50 + (Math.random() * 100));
this._-Jm = (1 + (Math.random() * 3));
this.sky2 = this._-KC();
this.x2 = -((150 + (Math.random() * 50)));
this.sky2.x = this.x2;
this.sky2.y = (200 + (Math.random() * 100));
this._-5m = (1 + (Math.random() * 3));
addChild(this.sky1);
addChild(this.sky2);
var _local1:Sprite = new Sprite();
_local1.graphics.beginFill(0xFFFFFF);
_local1.graphics.drawRect(0, 0, 640, 480);
_local1.graphics.endFill();
this.mask = _local1;
}
protected function _-KC():DisplayObject{
var _local1:int = Math.floor((Math.random() * 3));
switch (_local1){
case 0:
return (new this._-FI());
case 1:
return (new this._-FP());
case 2:
return (new this._-Bx());
};
return (new this._-FI());
}
}
}//package game
Section 13
//_-JW (game._-JW)
package game {
import mx.core.*;
public class _-JW extends SpriteAsset {
}
}//package game
Section 14
//_-Lf (game._-Lf)
package game {
import mx.core.*;
public class _-Lf extends SpriteAsset {
}
}//package game
Section 15
//_-Ln (game._-Ln)
package game {
import mx.core.*;
public class _-Ln extends SpriteAsset {
}
}//package game
Section 16
//_-NW (game._-NW)
package game {
import _-7F.*;
import flash.display.*;
import flash.geom.*;
public class _-NW extends Sprite {
private var _-FP:Class;
protected var _-4B:DisplayObject;
public var magic_shift:_-Fm;
protected var _-Je:Number;
public var collision_group:int;
public var is_possible_remove:Boolean;
public static var _-5h:Class = _-PS;
public function _-NW(_arg1:Number, _arg2:Boolean):void{
this._-FP = _-JW;
super();
this._-Je = _arg1;
var _local3:DisplayObject = new this._-FP();
_local3.width = (_arg1 * 2);
_local3.height = (_arg1 * 2);
addChild(_local3);
_local3.x = _arg1;
_local3.y = _arg1;
_local3 = new _-5h();
_local3.width = (_arg1 * 2);
_local3.height = (_arg1 * 2);
addChild(_local3);
_local3.x = _arg1;
_local3.y = _arg1;
this._-4B = _local3;
this.magic_shift = new _-Fm(0, 0);
var _local4:Matrix = new Matrix();
_local4.createGradientBox((_arg1 * 2), (_arg1 * 2), 0, 0, 0);
if (_arg2){
this.graphics.beginGradientFill(GradientType.RADIAL, [0xFF00, 11468718], [1, 1], [0, 0xFF], _local4);
} else {
this.graphics.beginGradientFill(GradientType.RADIAL, [0xFF0000, 16751001], [1, 1], [0, 0xFF], _local4);
};
this.graphics.drawCircle(_arg1, _arg1, (_arg1 - 1));
this.graphics.endFill();
}
override public function get height():Number{
return ((this._-Je * 2));
}
override public function get width():Number{
return ((this._-Je * 2));
}
public function updateRender():void{
this._-4B.rotation = -(rotation);
}
}
}//package game
Section 17
//_-PS (game._-PS)
package game {
import mx.core.*;
public class _-PS extends SpriteAsset {
}
}//package game
Section 18
//CollideroxProFont_FontItem (game.CollideroxProFont_FontItem)
package game {
import mx.core.*;
public class CollideroxProFont_FontItem extends FontAsset {
}
}//package game
Section 19
//override (game.override)
package game {
public class override {
public static var _-8q:String = "CollideroxProFont_FontItem";
public function override():void{
}
}
}//package game
Section 20
//_-AN (mochi.as3._-AN)
package mochi.as3 {
public final class _-AN {
private var _-89:_-AN;
private var _-6v:Number;
private var _-OS:Number;
public function _-AN(_arg1:Number=0, _arg2:uint=0):void{
this._-OS = 0;
this.setValue(_arg1, _arg2);
}
public function _-Ar():void{
var _local1:uint = int((2147483647 * Math.random()));
this._-6v = (this._-6v ^ (_local1 ^ this._-OS));
this._-OS = _local1;
}
public function set value(_arg1:Number):void{
this.setValue(_arg1);
}
public function toString():String{
var _local1:String = String.fromCharCode((this._-6v ^ this._-OS));
if (this._-89 != null){
_local1 = (_local1 + this._-89.toString());
};
return (_local1);
}
public function setValue(_arg1:Number=0, _arg2:uint=0):void{
var _local3:String = _arg1.toString();
var _temp1 = _arg2;
_arg2 = (_arg2 + 1);
this._-6v = (_local3.charCodeAt(_temp1) ^ this._-OS);
if (_arg2 < _local3.length){
this._-89 = new _-AN(_arg1, _arg2);
} else {
this._-89 = null;
};
this._-Ar();
}
public function get value():Number{
return (Number(this.toString()));
}
public function _-Fp(_arg1:Number):void{
this.value = (this.value + _arg1);
}
}
}//package mochi.as3
Section 21
//_-Ay (mochi.as3._-Ay)
package mochi.as3 {
import flash.events.*;
import flash.utils.*;
public dynamic class _-Ay extends Proxy {
private var _-2L:Timer;
private var _-EX:Array;
private var _-54:Number;
private var _-EN:Object;
private var _-QL:Object;
private var _-D-:Number;
private var _-By:Boolean;
public static const READY:String = "InvReady";
public static const ERROR:String = "Error";
public static const IO_ERROR:String = "IoError";
private static const _-Ex:String = " syncMaint";
public static const _-P4:String = "InvWritten";
public static const _-4v:String = "InvNotReady";
public static const _-Mk:String = "InvValueError";
private static const _-CU:String = "MochiConsumables";
private static var _-JZ:_-Q2 = new _-Q2();
public function _-Ay():void{
_-Bf.addEventListener(_-Bf._-K3, this._-KB);
_-Bf.addEventListener(_-Bf._-RA, this._-Hv);
_-Iz.addEventListener(_-Iz._-Id, this._-P);
_-Iz.addEventListener(_-Iz._-HA, this._-6-);
this._-QL = new Object();
this._-By = false;
this._-D- = 0;
this._-54 = 0;
this._-2L = new Timer(1000);
this._-2L.addEventListener(TimerEvent.TIMER, this.sync);
this._-2L.start();
if (_-Iz._-P){
this._-P();
} else {
this._-6-();
};
}
private function _-Hv(_arg1:Object):void{
if (!this[(_arg1.id + _-Ex)]){
this[(_arg1.id + _-Ex)] = 0;
};
if (!this[_arg1.id]){
this[_arg1.id] = 0;
};
this[(_arg1.id + _-Ex)] = (this[(_arg1.id + _-Ex)] + _arg1.count);
this[_arg1.id] = (this[_arg1.id] + _arg1.count);
if (_arg1.privateProperties.consumable){
if (!this[_arg1.privateProperties.tag]){
this[_arg1.privateProperties.tag] = 0;
};
this[_arg1.privateProperties.tag] = (this[_arg1.privateProperties.tag] + (_arg1.privateProperties.inc * _arg1.count));
};
}
public function release():void{
_-Bf.removeEventListener(_-Bf._-RA, this._-Hv);
_-Iz.removeEventListener(_-Iz._-Id, this._-P);
_-Iz.removeEventListener(_-Iz._-HA, this._-6-);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){
if (this._-EN == null){
_-74(ERROR, {type:_-4v});
return (-1);
};
if (this._-EN[_arg1]){
return (_-AN(this._-EN[_arg1]).value);
};
return (undefined);
}
private function _-P(_arg1:Object=null):void{
_-GL.get(_-CU, this._-IX);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function hasProperty(_arg1):Boolean{
if (this._-EN == null){
_-74(ERROR, {type:_-4v});
return (false);
};
if (this._-EN[_arg1] == undefined){
return (false);
};
return (true);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextNameIndex(_arg1:int):int{
return (((_arg1)>=this._-EX.length) ? 0 : (_arg1 + 1));
}
private function _-48(_arg1:_-GL):void{
this._-By = false;
if (_arg1.error){
_-74(ERROR, {type:IO_ERROR, error:_arg1.error});
this._-D- = -1;
};
_-74(_-P4, {});
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{
var _local3:_-AN;
if (this._-EN == null){
_-74(ERROR, {type:_-4v});
return;
};
if (!(_arg2 is Number)){
_-74(ERROR, {type:_-Mk, error:"Invalid type", arg:_arg2});
return;
};
if (this._-EN[_arg1]){
_local3 = _-AN(this._-EN[_arg1]);
if (_local3.value == _arg2){
return;
};
_local3.value = _arg2;
} else {
this._-EX.push(_arg1);
this._-EN[_arg1] = new _-AN(_arg2);
};
this._-54++;
}
private function _-KB(_arg1:Object):void{
this._-QL[_arg1.id] = {properties:_arg1.properties, count:_arg1.count};
}
private function sync(_arg1:Event=null):void{
var _local3:String;
if (((this._-By) || ((this._-54 == this._-D-)))){
return;
};
this._-D- = this._-54;
var _local2:Object = {};
for (_local3 in this._-EN) {
_local2[_local3] = _-AN(this._-EN[_local3]).value;
};
_-GL.put(_-CU, _local2, this._-48);
this._-By = true;
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextName(_arg1:int):String{
return (this._-EX[(_arg1 - 1)]);
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function deleteProperty(_arg1):Boolean{
if (!this._-EN[_arg1]){
return (false);
};
this._-EX.splice(this._-EX.indexOf(_arg1), 1);
delete this._-EN[_arg1];
return (true);
}
private function _-IX(_arg1:_-GL):void{
var _local2:String;
var _local3:Number;
if (_arg1.error){
_-74(ERROR, {type:IO_ERROR, error:_arg1.error});
return;
};
this._-EN = {};
this._-EX = new Array();
if (_arg1.data){
for (_local2 in _arg1.data) {
this._-EX.push(_local2);
this._-EN[_local2] = new _-AN(_arg1.data[_local2]);
};
};
for (_local2 in this._-QL) {
_local3 = this._-QL[_local2].count;
if (this._-EN[(_local2 + _-Ex)]){
_local3 = (_local3 - this._-EN[_local2]);
};
if (_local3 == 0){
} else {
this._-Hv({id:_local2, count:_local3, properties:this._-QL[_local2].properties});
};
};
_-74(READY, {});
}
private function _-6-(_arg1:Object=null):void{
this._-EN = null;
}
public static function _-74(_arg1:String, _arg2:Object):void{
_-JZ._-74(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_-JZ.removeEventListener(_arg1, _arg2);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_-JZ.addEventListener(_arg1, _arg2);
}
}
}//package mochi.as3
Section 22
//_-Bf (mochi.as3._-Bf)
package mochi.as3 {
public class _-Bf {
public static const _-Hg:String = "StoreHide";
public static const _-3L:String = "NoUser";
public static const IO_ERROR:String = "IOError";
public static const _-RA:String = "ItemNew";
public static const _-K3:String = "ItemOwned";
public static const _-JH:String = "StoreItems";
public static const ERROR:String = "Error";
public static const _-13:String = "StoreShow";
public static var _inventory:_-Ay;
public static function _-74(_arg1:String, _arg2:Object):void{
_-Iz._-74(_arg1, _arg2);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_-Iz.removeEventListener(_arg1, _arg2);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_-Iz.addEventListener(_arg1, _arg2);
}
public static function _-AY():void{
_-De.send("coins_getStoreItems");
}
public static function get _-3Z():_-Ay{
return (_inventory);
}
public static function _-3E(_arg1:Object=null):void{
_-De._-D0();
_-De.send("coins_showStore", {options:_arg1}, null, null);
}
public static function _-KI(_arg1:Object=null):void{
if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){
trace("ERROR: showItem call must pass an Object with an item key");
return;
};
_-De._-D0();
_-De.send("coins_showItem", {options:_arg1}, null, null);
}
public static function _-9-():String{
return (_-De._-9-());
}
public static function _-Fu(_arg1:Object=null):void{
if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){
trace("ERROR: showVideo call must pass an Object with an item key");
return;
};
_-De._-D0();
_-De.send("coins_showVideo", {options:_arg1}, null, null);
}
_-Iz.addEventListener(_-Iz._-Id, function (_arg1:Object):void{
_inventory = new _-Ay();
});
_-Iz.addEventListener(_-Iz._-HA, function (_arg1:Object):void{
_inventory = null;
});
}
}//package mochi.as3
Section 23
//_-De (mochi.as3._-De)
package mochi.as3 {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.geom.*;
public class _-De {
private static var _-OU:Object;
private static var _-DA:Boolean = false;
private static var _-Om:Array;
private static var _-E8:String;
private static var _-4q:Object;
public static var _-MM:Boolean = false;
private static var _-7R:LocalConnection;
public static var _-IO:_-Ms = new _-Ms();
private static var _-JT:Number;
private static var _-Bj:MovieClip;
private static var _-KS:String;
private static var _-AF:String = "services.swf";
private static var _-49:String = "http://www.mochiads.com/static/lib/services/";
public static var widget:Boolean = false;
private static var _-2L:Timer;
private static var _-PE:String;
private static var _-K8:Loader;
private static var _-F1:Object;
private static var _-BS:Boolean = false;
private static var _mochiLocalConnection:MovieClip;
private static var _-Iu:String = "__ms_";
public static var onError:Object;
public static var netup:Boolean = true;
private static var _-9X:String = "MochiLC.swf";
public static function _-DN():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function get _-R4():Boolean{
return (_-DA);
}
private static function onReceive(_arg1:Object):void{
var methodName:String;
var pkg = _arg1;
var cb:String = pkg.callbackID;
var cblst:Object = _-F1[cb];
if (!cblst){
return;
};
var method:* = cblst.callbackMethod;
methodName = "";
var obj:Object = cblst.callbackObject;
if (((obj) && ((typeof(method) == "string")))){
methodName = method;
if (obj[method] != null){
method = obj[method];
} else {
trace((("Error: Method " + method) + " does not exist."));
};
};
if (method != undefined){
try {
method.apply(obj, pkg.args);
} catch(error:Error) {
trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString()));
};
} else {
if (obj != null){
try {
obj(pkg.args);
} catch(error:Error) {
trace(("Error invoking method on object: " + error.toString()));
};
};
};
delete _-F1[cb];
}
public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{
if (_-DA){
_mochiLocalConnection.send(_-PE, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_-JT});
} else {
if ((((_-Bj == null)) || (!(_-BS)))){
trace(("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + _arg1));
_-QD(_arg2, _arg3, _arg4);
flush(true);
return;
};
_-Om.push({methodName:_arg1, args:_arg2, callbackID:_-JT});
};
if (_-Bj != null){
if (_-F1 != null){
_-F1[_-JT] = {callbackObject:_arg3, callbackMethod:_arg4};
_-JT++;
};
};
}
private static function init(_arg1:String, _arg2:Object):void{
_-KS = _arg1;
if (_arg2 != null){
_-OU = _arg2;
_-PP(_arg1, _-OU);
};
}
public static function get _-Dv():Object{
return (_-Bj);
}
private static function _-Ou(_arg1:String, _arg2:Function):MovieClip{
var _local4:int;
var _local14:Loader;
var _local3:Array = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23];
var _local5:Array = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3];
var _local6:Array = [0, 64, 0, 0, 0];
var _local7:MovieClip = new MovieClip();
var _local8:LocalConnection = new LocalConnection();
var _local9:String = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().time));
_local8 = new LocalConnection();
_local7.lc = _local8;
_local7.click = _arg2;
_local8.client = _local7;
_local8.connect(_local9);
var _local10:ByteArray = new ByteArray();
var _local11:ByteArray = new ByteArray();
_local11.endian = Endian.LITTLE_ENDIAN;
_local11.writeShort(1);
_local11.writeUTFBytes(((_arg1 + " ") + _local9));
_local11.writeByte(0);
var _local12:uint = ((_local3.length + _local11.length) + 4);
var _local13:uint = (_local12 + 35);
_local10.endian = Endian.LITTLE_ENDIAN;
_local10.writeUTFBytes("FWS");
_local10.writeByte(8);
_local10.writeUnsignedInt(_local13);
for each (_local4 in _local5) {
_local10.writeByte(_local4);
};
_local10.writeUnsignedInt(_local12);
_local10.writeByte(136);
_local10.writeShort(_local11.length);
_local10.writeBytes(_local11);
for each (_local4 in _local3) {
_local10.writeByte(_local4);
};
for each (_local4 in _local6) {
_local10.writeByte(_local4);
};
_local14 = new Loader();
_local14.loadBytes(_local10);
_local7.addChild(_local14);
return (_local7);
}
public static function _-ET():void{
_-OU.addEventListener(Event.ENTER_FRAME, _-De._-D0, false, 0, true);
if (_-Bj != null){
_-Bj.visible = true;
};
}
public static function _-23(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{
var avm1Click:DisplayObject;
var x:String;
var req:URLRequest;
var loader:Loader;
var setURL:Function;
var err:Function;
var complete:Function;
var url = _arg1;
var burl = _arg2;
var btn = _arg3;
var onClick = _arg4;
var vars:Object = new Object();
vars["mav"] = _-9-();
vars["swfv"] = "9";
vars["swfurl"] = btn.loaderInfo.loaderURL;
vars["fv"] = Capabilities.version;
vars["os"] = Capabilities.os;
vars["lang"] = Capabilities.language;
vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY);
var s = "?";
var i:Number = 0;
for (x in vars) {
if (i != 0){
s = (s + "&");
};
i = (i + 1);
s = (((s + x) + "=") + escape(vars[x]));
};
req = new URLRequest("http://x.mochiads.com/linkping.swf");
loader = new Loader();
setURL = function (_arg1:String):void{
if (avm1Click){
btn.removeChild(avm1Click);
};
avm1Click = _-Ou(_arg1, onClick);
var _local2:Rectangle = btn.getBounds(btn);
btn.addChild(avm1Click);
avm1Click.x = _local2.x;
avm1Click.y = _local2.y;
avm1Click.scaleX = (0.01 * _local2.width);
avm1Click.scaleY = (0.01 * _local2.height);
};
err = function (_arg1:Object):void{
netup = false;
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
setURL(burl);
};
complete = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
};
if (netup){
setURL((url + s));
} else {
setURL(burl);
};
if (!((_-MM) || (_-DA))){
_-MM = true;
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete);
loader.load(req);
};
}
public static function extends():void{
if (((_-DA) || (_-BS))){
if (_-Bj != null){
if (_-Bj.parent != null){
if ((_-Bj.parent is Sprite)){
Sprite(_-Bj.parent).removeChild(_-Bj);
_-Bj = null;
};
};
};
_-BS = (_-DA = false);
flush(true);
try {
_mochiLocalConnection.close();
} catch(error:Error) {
};
};
if (_-2L != null){
try {
_-2L.stop();
} catch(error:Error) {
};
};
}
public static function _-AP(_arg1:String):String{
var _local2:String;
if (Security.sandboxType != "application"){
Security.allowDomain("*");
Security.allowInsecureDomain("*");
};
if (_arg1.indexOf("http://") != -1){
_local2 = _arg1.split("/")[2].split(":")[0];
if (Security.sandboxType != "application"){
Security.allowDomain(_local2);
Security.allowInsecureDomain(_local2);
};
};
return (_local2);
}
public static function _-9-():String{
return ("3.8 as3");
}
public static function _-2p():void{
_-OU.removeEventListener(Event.ENTER_FRAME, _-De._-D0);
}
public static function _-4x(_arg1:String, _arg2:Boolean):void{
_arg1 = _arg1.toLowerCase();
if (_arg1.length != 16){
trace((("WARNING: " + (_arg2) ? "board" : "game") + " ID is not the appropriate length"));
return;
} else {
if (_arg1 == "1e113c7239048b3f"){
if (_arg2){
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
};
return;
} else {
if (_arg1 == "84993a1de4031cd8"){
if (_arg2){
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
};
return;
};
};
};
var _local3:Number = 0;
while (_local3 < _arg1.length) {
switch (_arg1.charAt(_local3)){
case "0":
case "1":
case "2":
case "3":
case "4":
case "5":
case "6":
case "7":
case "8":
case "9":
case "a":
case "b":
case "c":
case "d":
case "e":
case "f":
break;
default:
trace(("WARNING: Board ID contains illegal characters: " + _arg1));
return;
};
_local3++;
};
}
private static function flush(_arg1:Boolean):void{
var _local2:Object;
var _local3:Object;
if (((_-Bj) && (_-Om))){
while (_-Om.length > 0) {
_local2 = _-Om.shift();
_local3 = null;
if (_local2 != null){
if (_local2.callbackID != null){
_local3 = _-F1[_local2.callbackID];
};
delete _-F1[_local2.callbackID];
if (((_arg1) && (!((_local3 == null))))){
_-QD(_local2.args, _local3.callbackObject, _local3.callbackMethod);
};
};
};
};
}
public static function get id():String{
return (_-KS);
}
private static function onEvent(_arg1:Object):void{
var _local2:String = _arg1.target;
var _local3:String = _arg1.event;
switch (_local2){
case "events":
_-Nv._-74(_arg1.event, _arg1.args);
break;
case "coins":
_-Bf._-74(_arg1.event, _arg1.args);
break;
case "sync":
_-IO._-74(_arg1.event, _arg1.args);
break;
};
}
private static function _-BV(_arg1:Object):Object{
var _local3:String;
var _local4:Array;
var _local5:Number;
var _local6:Array;
var _local2:Object = {};
if (_arg1.stage){
_local3 = _arg1.stage.loaderInfo.parameters.mochiad_options;
} else {
_local3 = _arg1.loaderInfo.parameters.mochiad_options;
};
if (_local3){
_local4 = _local3.split("&");
_local5 = 0;
while (_local5 < _local4.length) {
_local6 = _local4[_local5].split("=");
_local2[unescape(_local6[0])] = unescape(_local6[1]);
_local5++;
};
};
return (_local2);
}
public static function _-RL(_arg1:Object=null, _arg2:Boolean=true):void{
if (_-Bj.parent){
_-Bj.parent.removeChild(_-Bj);
};
if (_arg1 != null){
if ((_arg1 is DisplayObjectContainer)){
_-OU = _arg1;
};
};
if (_arg2){
if ((_-OU is DisplayObjectContainer)){
DisplayObjectContainer(_-OU).addChild(_-Bj);
};
};
}
private static function _-QD(_arg1:Object, _arg2:Object, _arg3:Object):void{
var args = _arg1;
var callbackObject = _arg2;
var callbackMethod = _arg3;
if (args != null){
if (args.onError != null){
args.onError.apply(null, ["NotConnected"]);
};
if (((!((args.options == null))) && (!((args.options.onError == null))))){
args.options.onError.apply(null, ["NotConnected"]);
};
};
if (callbackMethod != null){
args = {};
args.error = true;
args.errorCode = "NotConnected";
if (((!((callbackObject == null))) && ((callbackMethod is String)))){
try {
var _local5 = callbackObject;
_local5[callbackMethod](args);
} catch(error:Error) {
};
} else {
if (callbackMethod != null){
try {
callbackMethod.apply(args);
} catch(error:Error) {
};
};
};
};
}
private static function _-CM(_arg1:Object):void{
_-Bj._mochiad_ctr_failed = true;
trace("MochiServices could not load.");
_-De.extends();
_-De.onError("IOError");
}
private static function _-7w():void{
if (!_-DA){
trace("[SERVICES_API] connected!");
_-BS = false;
_-DA = true;
_mochiLocalConnection.send(_-PE, "onReceive", {methodName:"handshakeDone"});
_mochiLocalConnection.send(_-PE, "onReceive", {methodName:"registerGame", preserved:_-4q, id:_-KS, version:_-9-(), parentURL:_-OU.loaderInfo.loaderURL});
_-Bj.onReceive = onReceive;
_-Bj.onEvent = onEvent;
_-Bj.onError = function ():void{
_-De.onError("IOError");
};
while (_-Om.length > 0) {
_mochiLocalConnection.send(_-PE, "onReceive", _-Om.shift());
};
};
}
private static function _-Pp(_arg1:Object):void{
var loader:Loader;
var clip = _arg1;
loader = new Loader();
var mochiLCURL:String = (_-49 + _-9X);
var req:URLRequest = new URLRequest(mochiLCURL);
var complete:Function = function (_arg1:Object):void{
_mochiLocalConnection = MovieClip(loader.content);
listen();
};
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, _-CM);
loader.load(req);
clip.addChild(loader);
}
private static function listen():void{
_mochiLocalConnection.connect(_-Iu);
_-Bj.handshake = function (_arg1:Object):void{
_-De._-8Z = _arg1.newChannel;
};
trace("Waiting for MochiAds services to connect...");
}
public static function get clip():Object{
return (_-OU);
}
public static function set _-8Z(_arg1:String):void{
if (_arg1 != null){
if (_arg1.length > 3){
_-PE = (_arg1 + "_fromgame");
_-7w();
};
};
}
private static function _-PP(_arg1:String, _arg2:Object):MovieClip{
if (_-Bj != null){
return (_-Bj);
};
if (!_-De._-DN()){
return (null);
};
if (_-BV(_arg2).servURL){
_-49 = _-BV(_arg2).servURL;
};
var _local3:String = (_-49 + _-AF);
if (_-BV(_arg2).servicesURL){
_local3 = _-BV(_arg2).servicesURL;
};
_-Iu = (_-Iu + ((Math.floor(new Date().time) + "_") + Math.floor((Math.random() * 99999))));
_-De._-AP(_local3);
_-Bj = new MovieClip();
_-Pp(_-Bj);
_-K8 = new Loader();
_-K8.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, _-CM);
var _local4:URLRequest = new URLRequest(_local3);
var _local5:URLVariables = new URLVariables();
_local5.listenLC = _-Iu;
_local5.mochiad_options = _arg2.loaderInfo.parameters.mochiad_options;
_local5.api_version = _-9-();
if (widget){
_local5.widget = true;
};
_local4.data = _local5;
_-K8.load(_local4);
_-Bj.addChild(_-K8);
_-7R = new LocalConnection();
_-Om = [];
_-JT = 0;
_-F1 = {};
_-2L = new Timer(10000, 1);
_-2L.addEventListener(TimerEvent.TIMER, _-5C);
_-2L.start();
return (_-Bj);
}
public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{
var id = _arg1;
var clip = _arg2;
var onError = _arg3;
_-4x(id, false);
if ((clip is DisplayObject)){
if (clip.stage == null){
trace("MochiServices connect requires the containing clip be attached to the stage");
};
if (((!(_-DA)) && ((_-Bj == null)))){
trace("MochiServices Connecting...");
_-BS = true;
init(id, clip);
};
} else {
trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage.");
};
if (onError != null){
_-De.onError = onError;
} else {
if (_-De.onError == null){
_-De.onError = function (_arg1:String):void{
trace(_arg1);
};
};
};
}
public static function _-FY(_arg1:Object):void{
_-De.send("coins_updateCopy", _arg1, null, null);
}
public static function _-D0(_arg1:Event=null):void{
var e = _arg1;
if (((!((_-De.clip == null))) && (!((_-De._-Dv == null))))){
try {
if (_-De.clip.numChildren > 1){
_-De.clip.setChildIndex(_-De._-Dv, (_-De.clip.numChildren - 1));
};
} catch(errorObject:Error) {
trace("Warning: Depth sort error.");
_-OU.removeEventListener(Event.ENTER_FRAME, _-De._-D0);
};
};
}
public static function _-5C(_arg1:TimerEvent):void{
if (!_-DA){
_-Bj._mochiad_ctr_failed = true;
trace("MochiServices could not load. (timeout)");
_-De.extends();
_-De.onError("IOError");
};
}
}
}//package mochi.as3
Section 24
//_-GL (mochi.as3._-GL)
package mochi.as3 {
import flash.events.*;
import flash.net.*;
import flash.utils.*;
public class _-GL extends EventDispatcher {
public var callback:Function;// = null
public var _-Ao:String;// = null
public var error:Event;// = null
public var data;// = null
public var _-K8:URLLoader;
public var key:String;// = null
public function _-GL(_arg1:String="", _arg2:Function=null){
this.key = _arg1;
this.callback = _arg2;
}
public function _-GF(_arg1):ByteArray{
var _local2:ByteArray = new ByteArray();
_local2.objectEncoding = ObjectEncoding.AMF3;
_local2.writeObject(_arg1);
_local2.compress();
return (_local2);
}
public function errorHandler(_arg1:IOErrorEvent):void{
this.data = null;
this.error = _arg1;
if (this.callback != null){
this._-7C();
} else {
dispatchEvent(_arg1);
};
this.close();
}
public function _-1N(_arg1):void{
this._-3m("put", this._-GF(_arg1));
}
public function _-Nq(_arg1:ByteArray){
_arg1.objectEncoding = ObjectEncoding.AMF3;
_arg1.uncompress();
return (_arg1.readObject());
}
public function _-LP(_arg1:SecurityErrorEvent):void{
this.errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + _arg1.toString())));
}
public function _-Js():void{
this._-3m("get", this._-GF(null));
}
override public function toString():String{
return ((((((((("[MochiUserData operation=" + this._-Ao) + " key=\"") + this.key) + "\" data=") + this.data) + " error=\"") + this.error) + "\"]"));
}
public function _-7C():void{
try {
this.callback(this);
} catch(e:Error) {
trace(("[MochiUserData] exception during callback: " + e));
};
}
public function _-3m(_arg1:String, _arg2:ByteArray):void{
var _operation = _arg1;
var _data = _arg2;
this._-Ao = _operation;
var api_url:String = _-Iz._-Hk();
var api_token:String = _-Iz._-25();
if ((((api_url == null)) || ((api_token == null)))){
this.errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, "not logged in"));
return;
};
this._-K8 = new URLLoader();
var args:URLVariables = new URLVariables();
args.op = _operation;
args.key = this.key;
var req:URLRequest = new URLRequest((((_-Iz._-Hk() + "/") + "MochiUserData?") + args.toString()));
req.method = URLRequestMethod.POST;
req.contentType = "application/x-mochi-userdata";
req.requestHeaders = [new URLRequestHeader("x-mochi-services-version", _-De._-9-()), new URLRequestHeader("x-mochi-api-token", api_token)];
req.data = _data;
this._-K8.dataFormat = URLLoaderDataFormat.BINARY;
this._-K8.addEventListener(Event.COMPLETE, this.completeHandler);
this._-K8.addEventListener(IOErrorEvent.IO_ERROR, this.errorHandler);
this._-K8.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-LP);
try {
this._-K8.load(req);
} catch(e:SecurityError) {
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + e.toString())));
};
}
public function completeHandler(_arg1:Event):void{
var event = _arg1;
try {
if (this._-K8.data.length){
this.data = this._-Nq(this._-K8.data);
} else {
this.data = null;
};
} catch(e:Error) {
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("deserialize error: " + e.toString())));
return;
};
if (this.callback != null){
this._-7C();
} else {
dispatchEvent(event);
};
this.close();
}
public function close():void{
if (this._-K8){
this._-K8.removeEventListener(Event.COMPLETE, this.completeHandler);
this._-K8.removeEventListener(IOErrorEvent.IO_ERROR, this.errorHandler);
this._-K8.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-LP);
this._-K8.close();
this._-K8 = null;
};
this.error = null;
this.callback = null;
}
public static function get(_arg1:String, _arg2:Function):void{
var _local3:_-GL = new _-GL(_arg1, _arg2);
_local3._-Js();
}
public static function put(_arg1:String, _arg2, _arg3:Function):void{
var _local4:_-GL = new _-GL(_arg1, _arg3);
_local4._-1N(_arg2);
}
}
}//package mochi.as3
Section 25
//_-Iz (mochi.as3._-Iz)
package mochi.as3 {
public class _-Iz {
public static const _-Id:String = "LoggedIn";
public static const _-Pz:String = "ProfileHide";
public static const _-3L:String = "NoUser";
public static const _-NI:String = "PropertiesSize";
public static const IO_ERROR:String = "IOError";
public static const _-4A:String = "PropertySaved";
public static const _-Fg:String = "WidgetLoaded";
public static const _-En:String = "UserInfo";
public static const ERROR:String = "Error";
public static const _-Em:String = "LoginShow";
public static const _-HA:String = "LoggedOut";
public static const _-1d:String = "ProfileShow";
public static const each:String = "LoginShown";
public static const _-CP:String = "LoginHide";
private static var _-JZ:_-Q2 = new _-Q2();
public static var _user_info:Object = null;
public static function _-9-():String{
return (_-De._-9-());
}
public static function _-JE(_arg1:Object):void{
_-De.send("coins_saveUserProperties", _arg1);
}
public static function get _-P():Boolean{
return (!((_user_info == null)));
}
public static function _-74(_arg1:String, _arg2:Object):void{
_-JZ._-74(_arg1, _arg2);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_-JZ.addEventListener(_arg1, _arg2);
}
public static function _-GA():void{
_-De.send("coins_getUserInfo");
}
public static function _-IL(_arg1:Object=null):void{
_-De._-RL();
_-De._-D0();
_-De.send("coins_showLoginWidget", {options:_arg1});
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_-JZ.removeEventListener(_arg1, _arg2);
}
public static function _-7g():void{
_-De.send("coins_requestLogin");
}
public static function _-Hk():String{
if (!_user_info){
return (null);
};
return (_user_info.api_url);
}
public static function _-M9():void{
_-De.send("coins_hideLoginWidget");
}
public static function _-25():String{
if (!_user_info){
return (null);
};
return (_user_info.api_token);
}
_-Iz.addEventListener(_-Iz._-Id, function (_arg1:Object):void{
_user_info = _arg1;
});
_-Iz.addEventListener(_-Iz._-HA, function (_arg1:Object):void{
_user_info = null;
});
}
}//package mochi.as3
Section 26
//_-Ms (mochi.as3._-Ms)
package mochi.as3 {
import flash.utils.*;
public dynamic class _-Ms extends Proxy {
private var _-7:Object;
public static var _-1q:String = "UpdateProperty";
public static var _-Pc:String = "SyncRequest";
public function _-Ms():void{
this._-7 = {};
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{
if (this._-7[_arg1] == _arg2){
return;
};
var _local3:String = _arg1.toString();
this._-7[_local3] = _arg2;
_-De.send("sync_propUpdate", {name:_local3, value:_arg2});
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){
return (this._-7[_arg1]);
}
public function _-74(_arg1:String, _arg2:Object):void{
switch (_arg1){
case _-Pc:
_-De.send("sync_syncronize", this._-7);
break;
case _-1q:
this._-7[_arg2.name] = _arg2.value;
break;
};
}
}
}//package mochi.as3
Section 27
//_-Nv (mochi.as3._-Nv)
package mochi.as3 {
import flash.display.*;
public class _-Nv {
public static const _-A4:String = "ALIGN_BL";
public static const _-3-:String = "LongForm";
public static const _-RJ:String = "ALIGN_B";
public static const _-Dd:String = "AchievementReceived";
public static const _-Fl:String = "ShortForm";
public static const _-Km:String = "ALIGN_TR";
public static const _-6a:String = "ALIGN_BR";
public static const _-R-:String = "ALIGN_T";
public static const _-MW:String = "ALIGN_L";
public static const _-Bw:String = "ALIGN_R";
public static const _-03:String = "ALIGN_TL";
public static const _-5Y:String = "ALIGN_C";
private static var _-JZ:_-Q2 = new _-Q2();
private static var _-P8:Number;
private static var _-97:Number;
public static function _-Gt():void{
_-De.send("events_clearRoundID", null, null, null);
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
_-JZ.addEventListener(_arg1, _arg2);
}
public static function _-Pm(_arg1:String, _arg2=null):void{
_-De.send("events_trackEvent", {tag:_arg1, value:_arg2}, null, null);
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
_-JZ.removeEventListener(_arg1, _arg2);
}
public static function _-0T(_arg1:String):void{
_-De.send("events_beginSession", {achievementID:_arg1}, null, null);
}
public static function _-74(_arg1:String, _arg2:Object):void{
_-JZ._-74(_arg1, _arg2);
}
public static function _-6T(_arg1:MovieClip, _arg2:Object):void{
var _local4:Object;
var _local3:Object = {};
for (_local4 in _arg2) {
_local3[_local4] = _arg2[_local4];
};
_local3.clip = _arg1;
_-De.send("events_setNotifications", _local3, null, null);
}
public static function _-9-():String{
return (_-De._-9-());
}
public static function _-N1(_arg1:String="gameplay"):void{
_-De.send("events_setRoundID", {tag:String(_arg1)}, null, null);
}
}
}//package mochi.as3
Section 28
//_-Q2 (mochi.as3._-Q2)
package mochi.as3 {
public class _-Q2 {
private var _-N3:Object;
public function _-Q2():void{
this._-N3 = {};
}
public function _-74(_arg1:String, _arg2:Object):void{
var _local3:Object;
if (this._-N3[_arg1] == undefined){
return;
};
for (_local3 in this._-N3[_arg1]) {
var _local6 = this._-N3[_arg1];
_local6[_local3](_arg2);
};
}
public function removeEventListener(_arg1:String, _arg2:Function):void{
var _local3:Object;
if (this._-N3[_arg1] == undefined){
this._-N3[_arg1] = [];
return;
};
for (_local3 in this._-N3[_arg1]) {
if (this._-N3[_arg1][_local3] != _arg2){
} else {
this._-N3[_arg1].splice(Number(_local3), 1);
};
};
}
public function addEventListener(_arg1:String, _arg2:Function):void{
this.removeEventListener(_arg1, _arg2);
this._-N3[_arg1].push(_arg2);
}
}
}//package mochi.as3
Section 29
//BitmapAsset (mx.core.BitmapAsset)
package mx.core {
import flash.display.*;
public class BitmapAsset extends FlexBitmap implements IFlexAsset, IFlexDisplayObject {
mx_internal static const VERSION:String = "3.2.0.4537";
public function BitmapAsset(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
public function get measuredWidth():Number{
if (bitmapData){
return (bitmapData.width);
};
return (0);
}
public function get measuredHeight():Number{
if (bitmapData){
return (bitmapData.height);
};
return (0);
}
public function setActualSize(_arg1:Number, _arg2:Number):void{
width = _arg1;
height = _arg2;
}
public function move(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
}
}//package mx.core
Section 30
//EdgeMetrics (mx.core.EdgeMetrics)
package mx.core {
public class EdgeMetrics {
public var top:Number;
public var left:Number;
public var bottom:Number;
public var right:Number;
mx_internal static const VERSION:String = "3.2.0.4537";
public static const EMPTY:EdgeMetrics = new EdgeMetrics(0, 0, 0, 0);
;
public function EdgeMetrics(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0){
this.left = _arg1;
this.top = _arg2;
this.right = _arg3;
this.bottom = _arg4;
}
public function clone():EdgeMetrics{
return (new EdgeMetrics(left, top, right, bottom));
}
}
}//package mx.core
Section 31
//FlexBitmap (mx.core.FlexBitmap)
package mx.core {
import flash.display.*;
import mx.utils.*;
public class FlexBitmap extends Bitmap {
mx_internal static const VERSION:String = "3.2.0.4537";
public function FlexBitmap(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){
var bitmapData = _arg1;
var pixelSnapping = _arg2;
var smoothing = _arg3;
super(bitmapData, pixelSnapping, smoothing);
try {
name = NameUtil.createUniqueName(this);
} catch(e:Error) {
};
}
override public function toString():String{
return (NameUtil.displayObjectToString(this));
}
}
}//package mx.core
Section 32
//FlexSprite (mx.core.FlexSprite)
package mx.core {
import flash.display.*;
import mx.utils.*;
public class FlexSprite extends Sprite {
mx_internal static const VERSION:String = "3.2.0.4537";
public function FlexSprite(){
super();
try {
name = NameUtil.createUniqueName(this);
} catch(e:Error) {
};
}
override public function toString():String{
return (NameUtil.displayObjectToString(this));
}
}
}//package mx.core
Section 33
//FontAsset (mx.core.FontAsset)
package mx.core {
import flash.text.*;
public class FontAsset extends Font implements IFlexAsset {
mx_internal static const VERSION:String = "3.2.0.4537";
}
}//package mx.core
Section 34
//IBorder (mx.core.IBorder)
package mx.core {
public interface IBorder {
function get borderMetrics():EdgeMetrics;
}
}//package mx.core
Section 35
//IFlexAsset (mx.core.IFlexAsset)
package mx.core {
public interface IFlexAsset {
}
}//package mx.core
Section 36
//IFlexDisplayObject (mx.core.IFlexDisplayObject)
package mx.core {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.accessibility.*;
public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher {
function get visible():Boolean;
function get rotation():Number;
function localToGlobal(_arg1:Point):Point;
function get name():String;
function set width(_arg1:Number):void;
function get measuredHeight():Number;
function get blendMode():String;
function get scale9Grid():Rectangle;
function set name(_arg1:String):void;
function set scaleX(_arg1:Number):void;
function set scaleY(_arg1:Number):void;
function get measuredWidth():Number;
function get accessibilityProperties():AccessibilityProperties;
function set scrollRect(_arg1:Rectangle):void;
function get cacheAsBitmap():Boolean;
function globalToLocal(_arg1:Point):Point;
function get height():Number;
function set blendMode(_arg1:String):void;
function get parent():DisplayObjectContainer;
function getBounds(_arg1:DisplayObject):Rectangle;
function get opaqueBackground():Object;
function set scale9Grid(_arg1:Rectangle):void;
function setActualSize(_arg1:Number, _arg2:Number):void;
function set alpha(_arg1:Number):void;
function set accessibilityProperties(_arg1:AccessibilityProperties):void;
function get width():Number;
function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean;
function set cacheAsBitmap(_arg1:Boolean):void;
function get scaleX():Number;
function get scaleY():Number;
function get scrollRect():Rectangle;
function get mouseX():Number;
function get mouseY():Number;
function set height(_arg1:Number):void;
function set mask(_arg1:DisplayObject):void;
function getRect(_arg1:DisplayObject):Rectangle;
function get alpha():Number;
function set transform(_arg1:Transform):void;
function move(_arg1:Number, _arg2:Number):void;
function get loaderInfo():LoaderInfo;
function get root():DisplayObject;
function hitTestObject(_arg1:DisplayObject):Boolean;
function set opaqueBackground(_arg1:Object):void;
function set visible(_arg1:Boolean):void;
function get mask():DisplayObject;
function set x(_arg1:Number):void;
function set y(_arg1:Number):void;
function get transform():Transform;
function set filters(_arg1:Array):void;
function get x():Number;
function get y():Number;
function get filters():Array;
function set rotation(_arg1:Number):void;
function get stage():Stage;
}
}//package mx.core
Section 37
//IRepeaterClient (mx.core.IRepeaterClient)
package mx.core {
public interface IRepeaterClient {
function get instanceIndices():Array;
function set instanceIndices(_arg1:Array):void;
function get isDocument():Boolean;
function set repeaters(_arg1:Array):void;
function initializeRepeaterArrays(_arg1:IRepeaterClient):void;
function get repeaters():Array;
function set repeaterIndices(_arg1:Array):void;
function get repeaterIndices():Array;
}
}//package mx.core
Section 38
//mx_internal (mx.core.mx_internal)
package mx.core {
public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal";
}//package mx.core
Section 39
//SpriteAsset (mx.core.SpriteAsset)
package mx.core {
public class SpriteAsset extends FlexSprite implements IFlexAsset, IFlexDisplayObject, IBorder {
private var _measuredHeight:Number;
private var _measuredWidth:Number;
mx_internal static const VERSION:String = "3.2.0.4537";
public function SpriteAsset(){
_measuredWidth = width;
_measuredHeight = height;
}
public function get measuredWidth():Number{
return (_measuredWidth);
}
public function get measuredHeight():Number{
return (_measuredHeight);
}
public function setActualSize(_arg1:Number, _arg2:Number):void{
width = _arg1;
height = _arg2;
}
public function move(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
public function get borderMetrics():EdgeMetrics{
if (scale9Grid == null){
return (EdgeMetrics.EMPTY);
};
return (new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil((measuredWidth - scale9Grid.right)), Math.ceil((measuredHeight - scale9Grid.bottom))));
}
}
}//package mx.core
Section 40
//NameUtil (mx.utils.NameUtil)
package mx.utils {
import flash.display.*;
import mx.core.*;
import flash.utils.*;
public class NameUtil {
mx_internal static const VERSION:String = "3.2.0.4537";
private static var counter:int = 0;
public static function displayObjectToString(_arg1:DisplayObject):String{
var result:String;
var o:DisplayObject;
var s:String;
var indices:Array;
var displayObject = _arg1;
try {
o = displayObject;
while (o != null) {
if (((((o.parent) && (o.stage))) && ((o.parent == o.stage)))){
break;
};
s = o.name;
if ((o is IRepeaterClient)){
indices = IRepeaterClient(o).instanceIndices;
if (indices){
s = (s + (("[" + indices.join("][")) + "]"));
};
};
result = ((result == null)) ? s : ((s + ".") + result);
o = o.parent;
};
} catch(e:SecurityError) {
};
return (result);
}
public static function createUniqueName(_arg1:Object):String{
if (!_arg1){
return (null);
};
var _local2:String = getQualifiedClassName(_arg1);
var _local3:int = _local2.indexOf("::");
if (_local3 != -1){
_local2 = _local2.substr((_local3 + 2));
};
var _local4:int = _local2.charCodeAt((_local2.length - 1));
if ((((_local4 >= 48)) && ((_local4 <= 57)))){
_local2 = (_local2 + "_");
};
return ((_local2 + counter++));
}
}
}//package mx.utils
Section 41
//_-6c (Playtomic._-6c)
package Playtomic {
import flash.events.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.external.*;
public final class _-6c {
private static const _-Bo:Timer = new Timer(30000);
private static const include:Timer = new Timer(60000);
private static var _-7y:Array = new Array();
private static var _-6u:Array = new Array();
public static var _-PK:SharedObject;
public static var _-IB:String = "";
public static var _-LV:int = 0;
private static var _-a:Array = new Array();
private static var _-9R:int = 0;
public static var _-Q-:Boolean = false;
private static var _-5u:int = 0;
private static var _-DD:Array = new Array();
public static var _-2e:String;
private static var with:int = 0;
private static var _-3N:Boolean = true;
private static var _-KP:Boolean = false;
public static var _-AG:String;
public static var _-M8:_-Qz;
public static var _-H5:Boolean = true;
private static var _-ID:Array = new Array();
public static function _-3(_arg1:String, _arg2:String, _arg3:String, _arg4:int, _arg5:int, _arg6:int):void{
if (!_-Q-){
return;
};
_-1w(((((((((((("l/" + _-E6(_arg2)) + "/") + _-E6(_arg3)) + "/") + _-E6(_arg1)) + "/") + _arg4) + "/") + _arg5) + "/") + _arg6));
}
public static function _-6z(_arg1:String, _arg2, _arg3:int, _arg4:Boolean=false):void{
if (!_-Q-){
return;
};
if (_arg4){
if (_-7y.indexOf(_arg1) > -1){
return;
};
_-7y.push(_arg1);
};
_-1w(((((("la/" + _-E6(_arg1)) + "/") + _-E6(_arg2)) + "/") + _arg3));
}
public static function _-ME():void{
var _local1:int = in("views");
_local1++;
_-m("views", _local1);
}
private static function _-1w(_arg1:String, _arg2:Boolean=false):void{
if (_-KP){
_-DD.push(_arg1);
return;
};
_-M8._-H5(_arg1);
if (((((_-M8. if) || (_arg2))) || (!(_-H5)))){
_-M8._-1w();
_-M8 = _-Qz._-1B();
};
}
public static function _-84(_arg1:String, _arg2:String=null, _arg3:Boolean=false):void{
if (!_-Q-){
return;
};
if (_arg2 == null){
_arg2 = "";
};
if (_arg3){
if (_-6u.indexOf(_arg1) > -1){
return;
};
_-6u.push(_arg1);
};
_-1w(((("c/" + _-E6(_arg1)) + "/") + _-E6(_arg2)));
}
private static function _-E6(_arg1:String):String{
while (_arg1.indexOf("/") > -1) {
_arg1 = _arg1.replace("/", "\\");
};
while (_arg1.indexOf("~") > -1) {
_arg1 = _arg1.replace("~", "-");
};
return (escape(_arg1));
}
public static function _-G1():void{
_-KP = false;
_-M8._-OY(_-DD);
}
private static function in(_arg1:String):int{
if (_-PK.data[_arg1] == undefined){
return (0);
};
return (int(_-PK.data[_arg1]));
}
public static function _-Ba(_arg1:int=0, _arg2:String="", _arg3:String=""):void{
if (_-LV > 0){
return;
};
_-LV = _arg1;
_-IB = _arg2;
_-Q- = true;
if ((((_-LV == 0)) || ((_-IB == "")))){
_-Q- = false;
return;
};
if (((((!((_arg3.indexOf("http://") == 0))) && (!((Security.sandboxType == "localWithNetwork"))))) && (!((Security.sandboxType == "localTrusted"))))){
_-Q- = false;
return;
};
_-2e = _-8K(_arg3);
if ((((((_-2e == null)) || ((_-2e == "")))) || ((_-2e.indexOf("https://") == 0)))){
_-Q- = false;
return;
};
Security.allowDomain((("http://g" + _-6c._-IB) + ".api.playtomic.com/"));
Security.allowInsecureDomain((("http://g" + _-6c._-IB) + ".api.playtomic.com/"));
Security.loadPolicyFile((("http://g" + _-6c._-IB) + ".api.playtomic.com/crossdomain.xml"));
_-M8 = _-Qz._-1B();
_-PK = SharedObject.getLocal("playtomic");
var _local4:int = in("views");
_-1w(("v/" + (_local4 + 1)), true);
include.addEventListener(TimerEvent.TIMER, _-3B);
include.start();
}
public static function _-04():void{
_-KP = true;
}
public static function _-2O(_arg1:String, _arg2, _arg3:Boolean=false):void{
if (!_-Q-){
return;
};
if (_arg3){
if (_-ID.indexOf(_arg1) > -1){
return;
};
_-ID.push(_arg1);
};
_-1w(((("lc/" + _-E6(_arg1)) + "/") + _-E6(_arg2)));
}
public static function _-2t():void{
if (!_-Q-){
return;
};
_-ID = new Array();
_-7y = new Array();
_-a = new Array();
_-1w(("p/" + (_-9R + 1)), true);
}
private static function _-8K(_arg1:String):String{
var url:String;
var defaulturl = _arg1;
if (ExternalInterface.available){
try {
url = String(ExternalInterface.call("window.location.href.toString"));
} catch(s:Error) {
url = defaulturl;
};
} else {
if ((((defaulturl.indexOf("http://") == 0)) || ((defaulturl.indexOf("https://") == 0)))){
url = defaulturl;
};
};
if ((((((url == null)) || ((url == "")))) || ((url == "null")))){
if ((((Security.sandboxType == "localWithNetwork")) || ((Security.sandboxType == "localTrusted")))){
url = "http://local-testing/";
} else {
url = null;
};
};
return (escape(url));
}
public static function _-BZ(_arg1:String, _arg2, _arg3:int, _arg4:Boolean=false):void{
if (!_-Q-){
return;
};
if (_arg4){
if (_-a.indexOf(_arg1) > -1){
return;
};
_-a.push(_arg1);
};
_-1w(((((("lr/" + _-E6(_arg1)) + "/") + _-E6(_arg2)) + "/") + _arg3));
}
private static function _-m(_arg1:String, _arg2:int):void{
var _local3:SharedObject = SharedObject.getLocal("swfstats");
_local3.data[_arg1] = _arg2.toString();
_local3.flush();
}
public static function _-1K():void{
if (!_-Q-){
return;
};
_-M8._-1w();
_-M8 = _-Qz._-1B();
if (_-DD.length > 0){
_-M8._-OY(_-DD);
};
}
private static function _-3B(... _args):void{
if (!_-Q-){
return;
};
_-5u++;
_-1w(((("t/" + (_-3N) ? "y" : "n") + "/") + _-5u), true);
if (_-3N){
include.stop();
_-Bo.addEventListener(TimerEvent.TIMER, _-3B);
_-Bo.start();
_-3N = false;
};
}
public static function _-L3():void{
_-9R++;
}
}
}//package Playtomic
Section 42
//_-I7 (Playtomic._-I7)
package Playtomic {
import flash.events.*;
import flash.net.*;
public final class _-I7 {
public static function _-Mn(_arg1:Function):void{
var result:Object;
var sendaction:URLLoader;
var callback = _arg1;
var bridge:Function = function (){
var _local4:XMLList;
var _local5:String;
var _local6:String;
var _local7:XML;
if (callback == null){
return;
};
var _local1:XML = XML(sendaction["data"]);
var _local2:int = parseInt(_local1["status"]);
var _local3:int = parseInt(_local1["errorcode"]);
if (_local2 == 1){
_local4 = _local1["gamevar"];
for each (_local7 in _local4) {
_local5 = _local7["name"];
_local6 = _local7["value"];
result[_local5] = _local6;
};
};
callback(result, {Success:(_local2 == 1), ErrorCode:_local3});
};
var httpstatusignore:Function = function ():void{
};
var fail:Function = function (){
callback(result, {Success:false, ErrorCode:1});
};
result = [];
sendaction = new URLLoader();
sendaction.addEventListener(Event.COMPLETE, bridge, false, 0, true);
sendaction.addEventListener(IOErrorEvent.IO_ERROR, fail, false, 0, true);
sendaction.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpstatusignore, false, 0, true);
sendaction.addEventListener(SecurityErrorEvent.SECURITY_ERROR, fail, false, 0, true);
sendaction.load(new URLRequest(((((("http://g" + _-6c._-IB) + ".api.playtomic.com/gamevars/load.aspx?swfid=") + _-6c._-LV) + "&") + Math.random())));
}
}
}//package Playtomic
Section 43
//_-Qz (Playtomic._-Qz)
package Playtomic {
import flash.events.*;
import flash.net.*;
public final class _-Qz {
public var if:Boolean;// = false
private var _-Aj:String;// = ""
private var _-Oq:URLRequest;
private var _-S:URLLoader;
private var _-AG:String;
private static var _-Bp:Array = new Array();
private static var _-1U:int = 0;
public function _-Qz(){
this._-S = new URLLoader();
this._-S.addEventListener(Event.COMPLETE, this._-4-, false, 1, false);
this._-S.addEventListener(IOErrorEvent.IO_ERROR, this.null, false, 0, true);
this._-S.addEventListener(HTTPStatusEvent.HTTP_STATUS, this._-J7, false, 0, true);
this._-S.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this._-5b, false, 0, true);
this._-Oq = new URLRequest();
this._-AG = ((("http://g" + _-6c._-IB) + ".api.playtomic.com/tracker/q.aspx?swfid=") + _-6c._-LV);
}
private function _-4-(_arg1:Event=null):void{
if ((((this._-Aj.indexOf("v/") == 0)) || ((this._-Aj.indexOf("~v/") > -1)))){
_-6c._-ME();
};
if ((((this._-Aj.indexOf("p/") == 0)) || ((this._-Aj.indexOf("~p/") > -1)))){
_-6c._-L3();
};
_-Bp.push(this);
}
public function _-1w():void{
this._-Oq.url = (((((((this._-AG + "&q=") + this._-Aj) + "&url=") + _-6c._-2e) + "&") + Math.random()) + "z");
this._-S.load(this._-Oq);
}
private function _-5b(_arg1:SecurityErrorEvent):void{
}
private function null(_arg1:IOErrorEvent):void{
_-1U++;
}
public function _-H5(_arg1:String):void{
if (_-1U > 3){
return;
};
this._-Aj = (this._-Aj + (((this._-Aj == "")) ? "" : "~" + _arg1));
if (this._-Aj.length > 300){
this. if = true;
};
}
private function _-J7(_arg1:HTTPStatusEvent):void{
}
public function _-OY(_arg1:Array):void{
var _local3:_-Qz;
if (_-1U > 3){
return;
};
var _local2:int = (_arg1.length - 1);
while (_local2 > -1) {
this._-Aj = (this._-Aj + (((this._-Aj == "")) ? "" : "~" + _arg1[_local2]));
_arg1.splice(_local2, 1);
if (this._-Aj.length > 300){
_local3 = _-1B();
_local3._-OY(_arg1);
this. if = true;
this._-1w();
return;
};
_local2--;
};
_-6c._-M8 = this;
}
public static function _-1B():_-Qz{
var _local1:_-Qz = ((_-Bp.length > 0)) ? (_-Bp.pop() as _-Qz) : new (_-Qz);
_local1._-Aj = "";
_local1. if = false;
return (_local1);
}
}
}//package Playtomic
Section 44
//_-6l (set ._-6l)
package set {
import flash.display.*;
import game.*;
import flash.events.*;
import Playtomic.*;
import flash.utils.*;
import test.*;
public class _-6l extends MovieClip {
protected var _-Kk:Number;
protected var sprite:_-CJ;
protected var _-8C:_-9K;
public function _-6l(){
stop();
stage.scaleMode = StageScaleMode.NO_SCALE;
this.sprite = new _-CJ(this._-E4);
addChild(this.sprite);
this.sprite.x = 320;
this.sprite.y = 240;
var _local1:Date = new Date();
this._-Kk = _local1.getTime();
addEventListener(Event.ENTER_FRAME, this._-Il);
this._-8C = new _-9K();
addChild(this._-8C);
_-6c._-Ba(2218, "17c5ec8cf2684c0a", root.loaderInfo.loaderURL);
_-I7._-Mn(_slot1.GameVarsLoaded);
}
private function _-Qg():void{
if (_-Dh._-Oe == "1"){
this.sprite._-DU();
};
}
public function _-Il(_arg1:Event):void{
var _local2:Date = new Date();
var _local3:Number = _local2.getTime();
if ((((framesLoaded == totalFrames)) && (((_local3 - this._-Kk) > 3000)))){
removeEventListener(Event.ENTER_FRAME, this._-Il);
nextFrame();
this._-Qg();
};
}
private function _-E4(_arg1:MouseEvent):void{
var _local2:Class = Class(getDefinitionByName("Main"));
var _local3:DisplayObject = new (_local2);
parent.addChild(_local3);
removeChild(this._-8C);
parent.addChild(this._-8C);
this.sprite._-Nu();
removeChild(this.sprite);
this.sprite = null;
parent.removeChild(this);
}
public function _-E3(_arg1:Array):Boolean{
var _local2:String = stage.loaderInfo.loaderURL;
var _local3:Number = (_local2.indexOf("://") + 3);
var _local4:Number = _local2.indexOf("/", _local3);
var _local5:String = _local2.substring(_local3, _local4);
var _local6:Number = (_local5.lastIndexOf(".") - 1);
var _local7:Number = (_local5.lastIndexOf(".", _local6) + 1);
_local5 = _local5.substring(_local7, _local5.length);
var _local8:int;
while (_local8 < _arg1.length) {
if (_local5 == _arg1[_local8]){
return (true);
};
_local8++;
};
return (false);
}
public static function GameVarsLoaded(_arg1:Object, _arg2:Object):void{
if (_arg2.Success){
if (_arg1.legalBuild != null){
_-Dh._-Oe = _arg1.legalBuild;
};
};
}
}
}//package set
Section 45
//_-Dh (test._-Dh)
package test {
public class _-Dh {
public static var _-Oe:String = "1";
public function _-Dh():void{
}
}
}//package test