STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228082
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/76797690?noj=FRM76797690-2DC" width="1" height="1"></div>

Slicerix.swf

This is the info page for
Flash #116329

(Click the ID number above for more basic data on this flash file.)


Text
SUBMIT YOUR SCORE

YOUR NAME

Congratulations!

Error, score not send (no connection?)

completed

not complete

select a level:

back

back

ActionScript [AS3]

Section 1
//_-1Y ( true._-1Y) package true { import flash.display.*; import flash.system.*; import flash.net.*; public dynamic class _-1Y extends Sprite { public static function _-3F(_arg1:Sprite, _arg2:String):_-1Y{ if (Security.sandboxType == "localWithFile"){ return (null); }; var _local3:_-1Y = new (_-1Y); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); var _local4 = "http://core.mochibot.com/my/core.swf"; var _local5:URLVariables = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; var _local6:String = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; var _local7:URLRequest = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; var _local8:Loader = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package true
Section 2
//_-5v ( true._-5v) package true { import flash.display.*; import Box2D.Common.Math.*; import flash.events.*; public class _-5v extends Sprite { protected var create_time:Number; protected var _-89:b2Vec2; protected var radius:b2Vec2; protected var _-Gd:int; public function _-5v(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:int){ _-89 = new b2Vec2(_arg1, _arg2); radius = new b2Vec2(_arg3, _arg4); create_time = new Date().getTime(); _-Gd = _arg5; this.x = _arg1; this.y = _arg2; this.cacheAsBitmap = true; this.addEventListener(Event.ENTER_FRAME, update); } protected function update(_arg1:Event):void{ var _local2:Number = new Date().getTime(); var _local3:Number = ((_local2 - create_time) / _-Gd); var _local4:Number = (radius.x + ((radius.y - radius.x) * _local3)); this.x = (_-89.x - _local4); this.y = (_-89.y - _local4); this.graphics.clear(); this.graphics.lineStyle(8, 0); this.graphics.drawCircle(_local4, _local4, _local4); } } }//package true
Section 3
//_-6e (_-2q._-6e) package _-2q { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-Hu.*; import _-Ao.*; public class _-6e extends _-9O { private var _-7D:Array; public var else :_-I4; private var _-86:_-I4; private static const _-8N:_-B8 = new _-B8(); public function _-6e(_arg1:_-8J, _arg2:_-8J){ _-7D = [new _-I4()]; _-86 = new _-I4(); super(_arg1, _arg2); else = _-7D[0]; else ._-1y = 0; var _local3:_-Ey = else .points[0]; _local3._-n = 0; _local3._-2s = 0; } override public function Evaluate(_arg1:_-5-):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:_-Ey; var _local8:_-Ey; var _local5:_-Ih = _-3y.m_body; var _local6:_-Ih = _-8Q.m_body; _-86.Set(else ); _-4V.function(else , (_-3y as _-Cx), _local5.m_xf, (_-8Q as _-Cx), _local6.m_xf); var _local7:_-B8 = _-8N; _local7.shape1 = _-3y; _local7.shape2 = _-8Q; _local7._-5c = set; _local7._-9n = _-De; if (else ._-1y > 0){ _-5R = 1; _local8 = else .points[0]; if (_-86._-1y == 0){ _local8._-n = 0; _local8._-2s = 0; if (_arg1){ _local7.position = _local5.GetWorldPoint(_local8._-P); _local2 = _local5._-1c(_local8._-P); _local3 = _local6._-1c(_local8._-1H); _local7._-9R.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-8S(else .normal); _local7._-Es = _local8._-Es; _local7.id.key = _local8.id._-30; _arg1.Add(_local7); }; } else { _local4 = _-86.points[0]; _local8._-n = _local4._-n; _local8._-2s = _local4._-2s; if (_arg1){ _local7.position = _local5.GetWorldPoint(_local8._-P); _local2 = _local5._-1c(_local8._-P); _local3 = _local6._-1c(_local8._-1H); _local7._-9R.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-8S(else .normal); _local7._-Es = _local8._-Es; _local7.id.key = _local8.id._-30; _arg1._-07(_local7); }; }; } else { _-5R = 0; if ((((_-86._-1y > 0)) && (_arg1))){ _local4 = _-86.points[0]; _local7.position = _local5.GetWorldPoint(_local4._-P); _local2 = _local5._-1c(_local4._-P); _local3 = _local6._-1c(_local4._-1H); _local7._-9R.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-8S(_-86.normal); _local7._-Es = _local4._-Es; _local7.id.key = _local4.id._-30; _arg1._-Cd(_local7); }; }; } override public function GetManifolds():Array{ return (_-7D); } public static function _-Fg(_arg1:_-9O, _arg2):void{ } public static function _-16(_arg1:_-8J, _arg2:_-8J, _arg3):_-9O{ return (new _-6e(_arg1, _arg2)); } } }//package _-2q
Section 4
//_-6z (_-2q._-6z) package _-2q { import Box2D.Common.Math.*; public class _-6z { public var if :b2Vec2; public var _-Es:Number; public var _-Fi:Number; public var _-n:Number; public var _-22:Number; public var _-g:Number; public var _-2s:Number; public var _-BG:b2Vec2; public var _-5O:b2Vec2; public var _-HG:Number; public var throw:Number; public var _-9i:b2Vec2; public function _-6z(){ _-BG = new b2Vec2(); _-5O = new b2Vec2(); _-9i = new b2Vec2(); if = new b2Vec2(); super(); } } }//package _-2q
Section 5
//_-9O (_-2q._-9O) package _-2q { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-Hu.*; import _-Ao.*; public class _-9O { public var _-3y:_-8J; public var _-8Q:_-8J; public var _-9J:_-9O; public var _-AQ:Number; public var _-76:_-9O; public var set:Number; public var _-5R:int; public var const:_-H9; public var _-1f:_-H9; public var _-De:Number; public var _-Az:uint; public static var _-Ez:uint = 8; public static var _-Ae:uint = 1; public static var _-B6:uint = 2; public static var _-CL:uint = 4; public static var _-1j:Array; public static var _-69:Boolean = false; public function _-9O(_arg1:_-8J=null, _arg2:_-8J=null){ const = new _-H9(); _-1f = new _-H9(); super(); _-Az = 0; if (((!(_arg1)) || (!(_arg2)))){ _-3y = null; _-8Q = null; return; }; if (((_arg1._-IE()) || (_arg2._-IE()))){ _-Az = (_-Az | _-Ae); }; _-3y = _arg1; _-8Q = _arg2; _-5R = 0; set = Math.sqrt((_-3y. set * _-8Q. set)); _-De = _-4U._-1P(_-3y._-De, _-8Q._-De); _-9J = null; _-76 = null; const._-4v = null; const._-8u = null; const.next = null; const._-3M = null; _-1f._-4v = null; _-1f._-8u = null; _-1f.next = null; _-1f._-3M = null; } public function _-4J():Boolean{ return (((_-Az & _-Ae) == 0)); } public function switch():_-8J{ return (_-3y); } public function _-FS():_-8J{ return (_-8Q); } public function _-83():_-9O{ return (_-76); } public function _-6O():int{ return (_-5R); } public function GetManifolds():Array{ return (null); } public function _-E1(_arg1:_-5-):void{ var _local2:int = _-5R; Evaluate(_arg1); var _local3:int = _-5R; var _local4:_-Ih = _-3y.m_body; var _local5:_-Ih = _-8Q.m_body; if ((((_local3 == 0)) && ((_local2 > 0)))){ _local4.WakeUp(); _local5.WakeUp(); }; if (((((((_local4.IsStatic()) || (_local4._-53()))) || (_local5.IsStatic()))) || (_local5._-53()))){ _-Az = (_-Az & ~(_-B6)); } else { _-Az = (_-Az | _-B6); }; } public function Evaluate(_arg1:_-5-):void{ } public static function _-43():void{ var _local2:int; _-1j = new Array(_-8J._-BF); var _local1:int; while (_local1 < _-8J._-BF) { _-1j[_local1] = new Array(_-8J._-BF); _local2 = 0; while (_local2 < _-8J._-BF) { _-1j[_local1][_local2] = new _-IU(); _local2++; }; _local1++; }; _-5j(_-6e._-16, _-6e._-Fg, _-8J.implements, _-8J.implements); _-5j(_-Gt._-16, _-Gt._-Fg, _-8J._-Fs, _-8J.implements); _-5j(_-IA._-16, _-IA._-Fg, _-8J._-Fs, _-8J._-Fs); } public static function _-Fg(_arg1:_-9O, _arg2):void{ if (_arg1._-5R > 0){ _arg1._-3y.m_body.WakeUp(); _arg1._-8Q.m_body.WakeUp(); }; var _local3:int = _arg1._-3y.m_type; var _local4:int = _arg1._-8Q.m_type; var _local5:_-IU = _-1j[_local3][_local4]; var _local6:Function = _local5.destroyFcn; _local6(_arg1, _arg2); } public static function _-5j(_arg1:Function, _arg2:Function, _arg3:int, _arg4:int):void{ _-1j[_arg3][_arg4].createFcn = _arg1; _-1j[_arg3][_arg4].destroyFcn = _arg2; _-1j[_arg3][_arg4].primary = true; if (_arg3 != _arg4){ _-1j[_arg4][_arg3].createFcn = _arg1; _-1j[_arg4][_arg3].destroyFcn = _arg2; _-1j[_arg4][_arg3].primary = false; }; } public static function _-16(_arg1:_-8J, _arg2:_-8J, _arg3):_-9O{ var _local8:_-9O; var _local9:int; var _local10:_-I4; if (_-69 == false){ _-43(); _-69 = true; }; var _local4:int = _arg1.m_type; var _local5:int = _arg2.m_type; var _local6:_-IU = _-1j[_local4][_local5]; var _local7:Function = _local6.createFcn; if (_local7 != null){ if (_local6.primary){ return (_local7(_arg1, _arg2, _arg3)); }; _local8 = _local7(_arg2, _arg1, _arg3); _local9 = 0; while (_local9 < _local8._-5R) { _local10 = _local8.GetManifolds()[_local9]; _local8.GetManifolds()[_local9].normal = _local10.normal._-Ed(); _local9++; }; return (_local8); } else { }; return (!NULL!); } } }//package _-2q
Section 6
//_-AG (_-2q._-AG) package _-2q { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-Hu.*; public class _-AG { public var points:Array; public var normal:b2Vec2; public var _-9n:Number; public var _-Ha:_-Ih; public var _-3N:_-I4; public var _-3W:_-Ih; public var _-5c:Number; public var _-1y:int; public function _-AG(){ normal = new b2Vec2(); super(); points = new Array(_-00._-6t); var _local1:int; while (_local1 < _-00._-6t) { points[_local1] = new _-6z(); _local1++; }; } } }//package _-2q
Section 7
//_-Bv (_-2q._-Bv) package _-2q { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-Ao.*; public class _-Bv { public var position:b2Vec2; public var shape1:_-8J; public var shape2:_-8J; public var _-n:Number; public var normal:b2Vec2; public var _-2s:Number; public var id:_-BB; public function _-Bv(){ position = new b2Vec2(); normal = new b2Vec2(); id = new _-BB(); super(); } } }//package _-2q
Section 8
//_-Dk (_-2q._-Dk) package _-2q { import _-Hu.*; public class _-Dk extends _-9O { override public function Evaluate(_arg1:_-5-):void{ } override public function GetManifolds():Array{ return (null); } } }//package _-2q
Section 9
//_-FJ (_-2q._-FJ) package _-2q { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-Hu.*; public class _-FJ { public var _-5f:int; public var _-G1:Array; public var _-I9; public var _-HA:_-Ci; public function _-FJ(_arg1:_-Ci, _arg2:Array, _arg3:int, _arg4){ var _local5:_-9O; var _local6:int; var _local7:b2Vec2; var _local8:_-8k; var _local10:_-Ih; var _local11:_-Ih; var _local12:int; var _local13:Array; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:int; var _local23:_-I4; var _local24:Number; var _local25:Number; var _local26:_-AG; var _local27:uint; var _local28:_-Ey; var _local29:_-6z; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:Number; var _local38:Number; var _local39:Number; var _local40:Number; var _local41:Number; var _local42:Number; var _local43:Number; var _local44:Number; var _local45:Number; var _local46:Number; var _local47:Number; _-HA = new _-Ci(); _-G1 = new Array(); super(); _-HA._-Fd = _arg1._-Fd; _-HA._-EK = _arg1._-EK; _-HA._-5p = _arg1._-5p; _-I9 = _arg4; _-5f = 0; _local6 = 0; while (_local6 < _arg3) { _local5 = _arg2[_local6]; _-5f = (_-5f + _local5._-5R); _local6++; }; _local6 = 0; while (_local6 < _-5f) { _-G1[_local6] = new _-AG(); _local6++; }; var _local9:int; _local6 = 0; while (_local6 < _arg3) { _local5 = _arg2[_local6]; _local10 = _local5._-3y.m_body; _local11 = _local5._-8Q.m_body; _local12 = _local5._-5R; _local13 = _local5.GetManifolds(); _local14 = _local5. set; _local15 = _local5._-De; _local16 = _local10._-Hm.x; _local17 = _local10._-Hm.y; _local18 = _local11._-Hm.x; _local19 = _local11._-Hm.y; _local20 = _local10.m_angularVelocity; _local21 = _local11.m_angularVelocity; _local22 = 0; while (_local22 < _local12) { _local23 = _local13[_local22]; _local24 = _local23.normal.x; _local25 = _local23.normal.y; _local26 = _-G1[_local9]; _local26._-Ha = _local10; _local26._-3W = _local11; _local26._-3N = _local23; _local26.normal.x = _local24; _local26.normal.y = _local25; _local26._-1y = _local23._-1y; _local26._-5c = _local14; _local26._-9n = _local15; _local27 = 0; while (_local27 < _local26._-1y) { _local28 = _local23.points[_local27]; _local29 = _local26.points[_local27]; _local29._-n = _local28._-n; _local29._-2s = _local28._-2s; _local29._-Es = _local28._-Es; _local29._-Fi = 0; _local29._-BG._-8S(_local28._-P); _local29._-5O._-8S(_local28._-1H); _local8 = _local10.m_xf.R; _local32 = (_local28._-P.x - _local10.m_sweep.localCenter.x); _local33 = (_local28._-P.y - _local10.m_sweep.localCenter.y); _local30 = ((_local8._-BW.x * _local32) + (_local8._-7N.x * _local33)); _local33 = ((_local8._-BW.y * _local32) + (_local8._-7N.y * _local33)); _local32 = _local30; _local29._-9i.Set(_local32, _local33); _local8 = _local11.m_xf.R; _local34 = (_local28._-1H.x - _local11.m_sweep.localCenter.x); _local35 = (_local28._-1H.y - _local11.m_sweep.localCenter.y); _local30 = ((_local8._-BW.x * _local34) + (_local8._-7N.x * _local35)); _local35 = ((_local8._-BW.y * _local34) + (_local8._-7N.y * _local35)); _local34 = _local30; _local29.if .Set(_local34, _local35); _local36 = ((_local32 * _local32) + (_local33 * _local33)); _local37 = ((_local34 * _local34) + (_local35 * _local35)); _local38 = ((_local32 * _local24) + (_local33 * _local25)); _local39 = ((_local34 * _local24) + (_local35 * _local25)); _local40 = (_local10._-94 + _local11._-94); _local40 = (_local40 + ((_local10. do * (_local36 - (_local38 * _local38))) + (_local11. do * (_local37 - (_local39 * _local39))))); _local29._-HG = (1 / _local40); _local41 = ((_local10.m_mass * _local10._-94) + (_local11.m_mass * _local11._-94)); _local41 = (_local41 + (((_local10.m_mass * _local10. do) * (_local36 - (_local38 * _local38))) + ((_local11.m_mass * _local11. do) * (_local37 - (_local39 * _local39))))); _local29._-g = (1 / _local41); _local42 = _local25; _local43 = -(_local24); _local44 = ((_local32 * _local42) + (_local33 * _local43)); _local45 = ((_local34 * _local42) + (_local35 * _local43)); _local46 = (_local10._-94 + _local11._-94); _local46 = (_local46 + ((_local10. do * (_local36 - (_local44 * _local44))) + (_local11. do * (_local37 - (_local45 * _local45))))); _local29._-22 = (1 / _local46); _local29.throw = 0; if (_local29._-Es > 0){ _local29.throw = (-60 * _local29._-Es); }; _local30 = (((_local18 + (-(_local21) * _local35)) - _local16) - (-(_local20) * _local33)); _local31 = (((_local19 + (_local21 * _local34)) - _local17) - (_local20 * _local32)); _local47 = ((_local26.normal.x * _local30) + (_local26.normal.y * _local31)); if (_local47 < -(_-00._-)){ _local29.throw = (_local29.throw + (-(_local26._-9n) * _local47)); }; _local27++; }; _local9++; _local22++; }; _local6++; }; } public function InitVelocityConstraints(_arg1:_-Ci):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:_-8k; var _local6:_-AG; var _local7:_-Ih; var _local8:_-Ih; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:int; var _local19:int; var _local20:_-6z; var _local21:Number; var _local22:Number; var _local23:_-6z; var _local5:int; while (_local5 < _-5f) { _local6 = _-G1[_local5]; _local7 = _local6._-Ha; _local8 = _local6._-3W; _local9 = _local7._-94; _local10 = _local7. do; _local11 = _local8._-94; _local12 = _local8. do; _local13 = _local6.normal.x; _local14 = _local6.normal.y; _local15 = _local14; _local16 = -(_local13); if (_arg1._-AN){ _local19 = _local6._-1y; _local18 = 0; while (_local18 < _local19) { _local20 = _local6.points[_local18]; _local6.points[_local18]._-n = (_local20._-n * _arg1._-6M); _local20._-2s = (_local20._-2s * _arg1._-6M); _local21 = ((_local20._-n * _local13) + (_local20._-2s * _local15)); _local22 = ((_local20._-n * _local14) + (_local20._-2s * _local16)); _local7.m_angularVelocity = (_local7.m_angularVelocity - (_local10 * ((_local20._-9i.x * _local22) - (_local20._-9i.y * _local21)))); _local7._-Hm.x = (_local7._-Hm.x - (_local9 * _local21)); _local7._-Hm.y = (_local7._-Hm.y - (_local9 * _local22)); _local8.m_angularVelocity = (_local8.m_angularVelocity + (_local12 * ((_local20.if .x * _local22) - (_local20.if .y * _local21)))); _local8._-Hm.x = (_local8._-Hm.x + (_local11 * _local21)); _local8._-Hm.y = (_local8._-Hm.y + (_local11 * _local22)); _local18++; }; } else { _local19 = _local6._-1y; _local18 = 0; while (_local18 < _local19) { _local23 = _local6.points[_local18]; _local23._-n = 0; _local23._-2s = 0; _local18++; }; }; _local5++; }; } public function SolvePositionConstraints(_arg1:Number):Boolean{ var _local3:_-8k; var _local4:b2Vec2; var _local6:_-AG; var _local7:_-Ih; var _local8:_-Ih; var _local9:b2Vec2; var _local10:Number; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:int; var _local20:int; var _local21:_-6z; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:Number; var _local38:Number; var _local2:Number = 0; var _local5:int; while (_local5 < _-5f) { _local6 = _-G1[_local5]; _local7 = _local6._-Ha; _local8 = _local6._-3W; _local9 = _local7.m_sweep.c; _local10 = _local7.m_sweep.a; _local11 = _local8.m_sweep.c; _local12 = _local8.m_sweep.a; _local13 = (_local7.m_mass * _local7._-94); _local14 = (_local7.m_mass * _local7. do); _local15 = (_local8.m_mass * _local8._-94); _local16 = (_local8.m_mass * _local8. do); _local17 = _local6.normal.x; _local18 = _local6.normal.y; _local19 = _local6._-1y; _local20 = 0; while (_local20 < _local19) { _local21 = _local6.points[_local20]; _local3 = _local7.m_xf.R; _local4 = _local7.m_sweep.localCenter; _local22 = (_local21._-BG.x - _local4.x); _local23 = (_local21._-BG.y - _local4.y); _local26 = ((_local3._-BW.x * _local22) + (_local3._-7N.x * _local23)); _local23 = ((_local3._-BW.y * _local22) + (_local3._-7N.y * _local23)); _local22 = _local26; _local3 = _local8.m_xf.R; _local4 = _local8.m_sweep.localCenter; _local24 = (_local21._-5O.x - _local4.x); _local25 = (_local21._-5O.y - _local4.y); _local26 = ((_local3._-BW.x * _local24) + (_local3._-7N.x * _local25)); _local25 = ((_local3._-BW.y * _local24) + (_local3._-7N.y * _local25)); _local24 = _local26; _local27 = (_local9.x + _local22); _local28 = (_local9.y + _local23); _local29 = (_local11.x + _local24); _local30 = (_local11.y + _local25); _local31 = (_local29 - _local27); _local32 = (_local30 - _local28); _local33 = (((_local31 * _local17) + (_local32 * _local18)) + _local21._-Es); _local2 = _-4U._-Fr(_local2, _local33); _local34 = (_arg1 * _-4U._-4z((_local33 + _-00._-HK), -(_-00._-3p), 0)); _local35 = (-(_local21._-g) * _local34); _local36 = _local21._-Fi; _local21._-Fi = _-4U._-1P((_local36 + _local35), 0); _local35 = (_local21._-Fi - _local36); _local37 = (_local35 * _local17); _local38 = (_local35 * _local18); _local9.x = (_local9.x - (_local13 * _local37)); _local9.y = (_local9.y - (_local13 * _local38)); _local10 = (_local10 - (_local14 * ((_local22 * _local38) - (_local23 * _local37)))); _local7.m_sweep.a = _local10; _local7._-A2(); _local11.x = (_local11.x + (_local15 * _local37)); _local11.y = (_local11.y + (_local15 * _local38)); _local12 = (_local12 + (_local16 * ((_local24 * _local38) - (_local25 * _local37)))); _local8.m_sweep.a = _local12; _local8._-A2(); _local20++; }; _local5++; }; return ((_local2 >= (-1.5 * _-00._-HK))); } public function SolveVelocityConstraints():void{ var _local1:int; var _local2:_-6z; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:_-8k; var _local18:b2Vec2; var _local20:_-AG; var _local21:_-Ih; var _local22:_-Ih; var _local23:Number; var _local24:Number; var _local25:b2Vec2; var _local26:b2Vec2; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:int; var _local38:Number; var _local19:int; while (_local19 < _-5f) { _local20 = _-G1[_local19]; _local21 = _local20._-Ha; _local22 = _local20._-3W; _local23 = _local21.m_angularVelocity; _local24 = _local22.m_angularVelocity; _local25 = _local21._-Hm; _local26 = _local22._-Hm; _local27 = _local21._-94; _local28 = _local21. do; _local29 = _local22._-94; _local30 = _local22. do; _local31 = _local20.normal.x; _local32 = _local20.normal.y; _local33 = _local32; _local34 = -(_local31); _local35 = _local20._-5c; _local37 = _local20._-1y; _local1 = 0; while (_local1 < _local37) { _local2 = _local20.points[_local1]; _local7 = (((_local26.x + (-(_local24) * _local2.if .y)) - _local25.x) - (-(_local23) * _local2._-9i.y)); _local8 = (((_local26.y + (_local24 * _local2.if .x)) - _local25.y) - (_local23 * _local2._-9i.x)); _local9 = ((_local7 * _local31) + (_local8 * _local32)); _local11 = (-(_local2._-HG) * (_local9 - _local2.throw)); _local10 = ((_local7 * _local33) + (_local8 * _local34)); _local12 = (_local2._-22 * -(_local10)); _local13 = _-4U._-1P((_local2._-n + _local11), 0); _local11 = (_local13 - _local2._-n); _local38 = (_local35 * _local2._-n); _local14 = _-4U._-4z((_local2._-2s + _local12), -(_local38), _local38); _local12 = (_local14 - _local2._-2s); _local15 = ((_local11 * _local31) + (_local12 * _local33)); _local16 = ((_local11 * _local32) + (_local12 * _local34)); _local25.x = (_local25.x - (_local27 * _local15)); _local25.y = (_local25.y - (_local27 * _local16)); _local23 = (_local23 - (_local28 * ((_local2._-9i.x * _local16) - (_local2._-9i.y * _local15)))); _local26.x = (_local26.x + (_local29 * _local15)); _local26.y = (_local26.y + (_local29 * _local16)); _local24 = (_local24 + (_local30 * ((_local2.if .x * _local16) - (_local2.if .y * _local15)))); _local2._-n = _local13; _local2._-2s = _local14; _local1++; }; _local21.m_angularVelocity = _local23; _local22.m_angularVelocity = _local24; _local19++; }; } public function _-0f():void{ var _local2:_-AG; var _local3:_-I4; var _local4:int; var _local5:_-Ey; var _local6:_-6z; var _local1:int; while (_local1 < _-5f) { _local2 = _-G1[_local1]; _local3 = _local2._-3N; _local4 = 0; while (_local4 < _local2._-1y) { _local5 = _local3.points[_local4]; _local6 = _local2.points[_local4]; _local5._-n = _local6._-n; _local5._-2s = _local6._-2s; _local4++; }; _local1++; }; } } }//package _-2q
Section 10
//_-Gt (_-2q._-Gt) package _-2q { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-Hu.*; import _-Ao.*; public class _-Gt extends _-9O { private var _-7D:Array; public var else :_-I4; private var _-86:_-I4; private static const _-8N:_-B8 = new _-B8(); public function _-Gt(_arg1:_-8J, _arg2:_-8J){ _-7D = [new _-I4()]; _-86 = new _-I4(); super(_arg1, _arg2); else = _-7D[0]; _-00._-71((_-3y.m_type == _-8J._-Fs)); _-00._-71((_-8Q.m_type == _-8J.implements)); else ._-1y = 0; var _local3:_-Ey = else .points[0]; _local3._-n = 0; _local3._-2s = 0; } override public function Evaluate(_arg1:_-5-):void{ var _local2:int; var _local3:b2Vec2; var _local4:b2Vec2; var _local5:_-Ey; var _local10:_-Ey; var _local11:Boolean; var _local12:uint; var _local13:int; var _local6:_-Ih = _-3y.m_body; var _local7:_-Ih = _-8Q.m_body; _-86.Set(else ); _-4V._-3E(else , (_-3y as _-2f), _local6.m_xf, (_-8Q as _-Cx), _local7.m_xf); var _local8:Array = [false, false]; var _local9:_-B8 = _-8N; _local9.shape1 = _-3y; _local9.shape2 = _-8Q; _local9._-5c = set; _local9._-9n = _-De; if (else ._-1y > 0){ _local2 = 0; while (_local2 < else ._-1y) { _local10 = else .points[_local2]; _local10._-n = 0; _local10._-2s = 0; _local11 = false; _local12 = _local10.id._-30; _local13 = 0; while (_local13 < _-86._-1y) { if (_local8[_local13] == true){ } else { _local5 = _-86.points[_local13]; if (_local5.id._-30 == _local12){ _local8[_local13] = true; _local10._-n = _local5._-n; _local10._-2s = _local5._-2s; _local11 = true; if (_arg1 != null){ _local9.position = _local6.GetWorldPoint(_local10._-P); _local3 = _local6._-1c(_local10._-P); _local4 = _local7._-1c(_local10._-1H); _local9._-9R.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal._-8S(else .normal); _local9._-Es = _local10._-Es; _local9.id.key = _local12; _arg1._-07(_local9); }; break; }; }; _local13++; }; if ((((_local11 == false)) && (!((_arg1 == null))))){ _local9.position = _local6.GetWorldPoint(_local10._-P); _local3 = _local6._-1c(_local10._-P); _local4 = _local7._-1c(_local10._-1H); _local9._-9R.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal._-8S(else .normal); _local9._-Es = _local10._-Es; _local9.id.key = _local12; _arg1.Add(_local9); }; _local2++; }; _-5R = 1; } else { _-5R = 0; }; if (_arg1 == null){ return; }; _local2 = 0; while (_local2 < _-86._-1y) { if (_local8[_local2]){ } else { _local5 = _-86.points[_local2]; _local9.position = _local6.GetWorldPoint(_local5._-P); _local3 = _local6._-1c(_local5._-P); _local4 = _local7._-1c(_local5._-1H); _local9._-9R.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal._-8S(_-86.normal); _local9._-Es = _local5._-Es; _local9.id.key = _local5.id._-30; _arg1._-Cd(_local9); }; _local2++; }; } override public function GetManifolds():Array{ return (_-7D); } public static function _-Fg(_arg1:_-9O, _arg2):void{ } public static function _-16(_arg1:_-8J, _arg2:_-8J, _arg3):_-9O{ return (new _-Gt(_arg1, _arg2)); } } }//package _-2q
Section 11
//_-H9 (_-2q._-H9) package _-2q { import _-Hu.*; public class _-H9 { public var _-3M:_-Ih; public var _-8u:_-H9; public var _-4v:_-9O; public var next:_-H9; } }//package _-2q
Section 12
//_-IA (_-2q._-IA) package _-2q { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-Hu.*; import _-Ao.*; public class _-IA extends _-9O { private var _-7D:Array; private var _-86:_-I4; public var else :_-I4; private static const _-8N:_-B8 = new _-B8(); public function _-IA(_arg1:_-8J, _arg2:_-8J):void{ _-86 = new _-I4(); _-7D = [new _-I4()]; super(_arg1, _arg2); else = _-7D[0]; else ._-1y = 0; } override public function Evaluate(_arg1:_-5-):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:_-Ey; var _local7:_-B8; var _local8:int; var _local10:_-Ey; var _local11:Boolean; var _local12:uint; var _local13:int; var _local5:_-Ih = _-3y.m_body; var _local6:_-Ih = _-8Q.m_body; _-86.Set(else ); _-4V._-DD(else , (_-3y as _-2f), _local5.m_xf, (_-8Q as _-2f), _local6.m_xf); var _local9:Array = [false, false]; _local7 = _-8N; _local7.shape1 = _-3y; _local7.shape2 = _-8Q; _local7._-5c = set; _local7._-9n = _-De; if (else ._-1y > 0){ _local8 = 0; while (_local8 < else ._-1y) { _local10 = else .points[_local8]; _local10._-n = 0; _local10._-2s = 0; _local11 = false; _local12 = _local10.id._-30; _local13 = 0; while (_local13 < _-86._-1y) { if (_local9[_local13] == true){ } else { _local4 = _-86.points[_local13]; if (_local4.id._-30 == _local12){ _local9[_local13] = true; _local10._-n = _local4._-n; _local10._-2s = _local4._-2s; _local11 = true; if (_arg1 != null){ _local7.position = _local5.GetWorldPoint(_local10._-P); _local2 = _local5._-1c(_local10._-P); _local3 = _local6._-1c(_local10._-1H); _local7._-9R.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-8S(else .normal); _local7._-Es = _local10._-Es; _local7.id.key = _local12; _arg1._-07(_local7); }; break; }; }; _local13++; }; if ((((_local11 == false)) && (!((_arg1 == null))))){ _local7.position = _local5.GetWorldPoint(_local10._-P); _local2 = _local5._-1c(_local10._-P); _local3 = _local6._-1c(_local10._-1H); _local7._-9R.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-8S(else .normal); _local7._-Es = _local10._-Es; _local7.id.key = _local12; _arg1.Add(_local7); }; _local8++; }; _-5R = 1; } else { _-5R = 0; }; if (_arg1 == null){ return; }; _local8 = 0; while (_local8 < _-86._-1y) { if (_local9[_local8]){ } else { _local4 = _-86.points[_local8]; _local7.position = _local5.GetWorldPoint(_local4._-P); _local2 = _local5._-1c(_local4._-P); _local3 = _local6._-1c(_local4._-1H); _local7._-9R.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-8S(_-86.normal); _local7._-Es = _local4._-Es; _local7.id.key = _local4.id._-30; _arg1._-Cd(_local7); }; _local8++; }; } override public function GetManifolds():Array{ return (_-7D); } public static function _-Fg(_arg1:_-9O, _arg2):void{ } public static function _-16(_arg1:_-8J, _arg2:_-8J, _arg3):_-9O{ return (new _-IA(_arg1, _arg2)); } } }//package _-2q
Section 13
//_-IU (_-2q._-IU) package _-2q { public class _-IU { public var primary:Boolean; public var createFcn:Function; public var destroyFcn:Function; } }//package _-2q
Section 14
//_-8z (_-7g._-8z) package _-7g { import mx.core.*; public class _-8z extends BitmapAsset { } }//package _-7g
Section 15
//_-9d (_-7g._-9d) package _-7g { import mx.core.*; public class _-9d extends BitmapAsset { } }//package _-7g
Section 16
//_-Cb (_-7g._-Cb) package _-7g { import flash.display.*; import flash.events.*; import _-Ea.*; import flash.utils.*; public class _-Cb extends MovieClip { protected var _-H-:Number; protected var sprite:_-FV; protected var _-BU:_-75; private var _-5e:Class; protected var _-0z:Sprite; public function _-Cb(){ _-5e = _-8z; super(); stop(); stage.scaleMode = StageScaleMode.NO_SCALE; _-0z = new Sprite(); _-0z.graphics.lineStyle(); _-0z.graphics.beginFill(0); _-0z.graphics.drawRect(0, 0, 640, 480); _-0z.graphics.endFill(); addChild(_-0z); var _local1:Sprite = new Sprite(); addChild(_local1); sprite = new _-FV(_-Cs); addChild(sprite); sprite.x = 0; sprite.y = 0; var _local2:Date = new Date(); _-H- = _local2.getTime(); addEventListener(Event.ENTER_FRAME, _-4O); _-BU = new _-75("2168Q5A86C1A9"); _-BU.x = 180; _-BU.y = 100; addChild(_-BU); } function _-4d(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; _local7 = (_arg5 + _arg6); _local8 = (_arg3 - _arg1); _local9 = (_arg4 - _arg2); var _local13:Number = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); _local10 = Math.floor(Math.abs((_local13 / _local7))); var _local14:Number = Math.atan2(_local9, _local8); _local11 = _arg1; _local12 = _arg2; _local8 = (Math.cos(_local14) * _local7); _local9 = (Math.sin(_local14) * _local7); var _local15:* = 0; while (_local15 < _local10) { _-0z.graphics.moveTo(_local11, _local12); _-0z.graphics.lineTo((_local11 + (Math.cos(_local14) * _arg5)), (_local12 + (Math.sin(_local14) * _arg5))); _local11 = (_local11 + _local8); _local12 = (_local12 + _local9); _local15++; }; _-0z.graphics.moveTo(_local11, _local12); _local13 = Math.sqrt((((_arg3 - _local11) * (_arg3 - _local11)) + ((_arg4 - _local12) * (_arg4 - _local12)))); if (_local13 > _arg5){ _-0z.graphics.lineTo((_local11 + (Math.cos(_local14) * _arg5)), (_local12 + (Math.sin(_local14) * _arg5))); } else { if (_local13 > 0){ _-0z.graphics.lineTo((_local11 + (Math.cos(_local14) * _local13)), (_local12 + (Math.sin(_local14) * _local13))); }; }; _-0z.graphics.moveTo(_arg3, _arg4); } public function _-Gz(_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); } private function _-Ff():void{ sprite._-E5(); } public function _-4O(_arg1:Event):void{ var _local4:Number; var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); if ((((framesLoaded == totalFrames)) && (((_local3 - _-H-) > 5000)))){ removeEventListener(Event.ENTER_FRAME, _-4O); nextFrame(); _-Ff(); } else { _local4 = (root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal); _-0z.graphics.clear(); _-0z.graphics.lineStyle(); _-0z.graphics.beginFill(0); _-0z.graphics.drawRect(0, 0, 640, 480); _-0z.graphics.endFill(); _-0z.graphics.lineStyle(2, 0xFFFFFF); _-4d(20, 380, (600 * _local4), 380, 10, 15); _-4d(20, 400, (600 * _local4), 400, 10, 15); _-0z.graphics.moveTo(20, 380); _-0z.graphics.lineTo(20, 400); _-0z.graphics.moveTo((600 * _local4), 380); _-0z.graphics.lineTo((600 * _local4), 400); _-0z.graphics.endFill(); }; } private function _-Cs(_arg1:MouseEvent):void{ var _local2:Class = Class(getDefinitionByName("Main")); var _local3:DisplayObject = new (_local2); parent.addChild(_local3); sprite._-BC(); removeChild(sprite); sprite = null; parent.removeChild(this); } } }//package _-7g
Section 17
//_-FV (_-7g._-FV) package _-7g { import flash.display.*; import flash.events.*; import _-Ea.*; public class _-FV extends Sprite { protected var _-BU:_-75; protected var _-3D:Function; private var _-5e:Class; protected var _-BH:SimpleButton; public function _-FV(_arg1:Function){ _-5e = _-9d; super(); _-3D = _arg1; } protected function update(_arg1:Event):void{ _-BH.y = _-EN(_-BH.y, 410, 0.1); if (_-BH.y <= 409){ _-BH.y = 410; }; } public function _-BC():void{ removeEventListener(Event.ENTER_FRAME, update); } protected function _-EN(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return ((_arg1 + (_arg3 * (_arg2 - _arg1)))); } public function _-E5():void{ var _local1:DisplayObject = new _-5e(); _-BH = new SimpleButton(_local1, _local1, _local1, _local1); _-BH.x = ((640 - _local1.width) / 2); _-BH.y = 480; _-BH.alpha = 1; _-BH.addEventListener(MouseEvent.CLICK, _-3D); addChild(_-BH); addEventListener(Event.ENTER_FRAME, update); } } }//package _-7g
Section 18
// each (_-Ao. each) package _-Ao { import Box2D.Common.Math.*; import _-El.*; public class each extends _-Ht { public var vertices:Array; public var vertexCount:int; private static var _-1X:_-8k = new _-8k(); public function each(){ vertices = new Array(_-00.for ); super(); type = _-8J._-Fs; vertexCount = 0; var _local1:int; while (_local1 < _-00.for ) { vertices[_local1] = new b2Vec2(); _local1++; }; } public function try (_arg1:Number, _arg2:Number, _arg3:b2Vec2=null, _arg4:Number=0):void{ var _local5:b2Vec2; var _local6:_-8k; var _local7:int; vertexCount = 4; vertices[0].Set(-(_arg1), -(_arg2)); vertices[1].Set(_arg1, -(_arg2)); vertices[2].Set(_arg1, _arg2); vertices[3].Set(-(_arg1), _arg2); if (_arg3){ _local5 = _arg3; _local6 = _-1X; _local6.Set(_arg4); _local7 = 0; while (_local7 < vertexCount) { _arg3 = vertices[_local7]; _arg1 = (_local5.x + ((_local6._-BW.x * _arg3.x) + (_local6._-7N.x * _arg3.y))); _arg3.y = (_local5.y + ((_local6._-BW.y * _arg3.x) + (_local6._-7N.y * _arg3.y))); _arg3.x = _arg1; _local7++; }; }; } public function _-5x(_arg1:Number, _arg2:Number):void{ vertexCount = 4; vertices[0].Set(-(_arg1), -(_arg2)); vertices[1].Set(_arg1, -(_arg2)); vertices[2].Set(_arg1, _arg2); vertices[3].Set(-(_arg1), _arg2); } } }//package _-Ao
Section 19
//_-2f (_-Ao._-2f) package _-Ao { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-Hu.*; public class _-2f extends _-8J { public var _-C4:Array; public var include:Array; private var _-27:b2Vec2; public var _-37:b2Vec2; public var _-F0:Array; public var _-HV:_-80; public var _-IL:int; private static var _-GE:_-8k = new _-8k(); private static var _-Fx:_-9E = new _-9E(); private static var _-45:_-9E = new _-9E(); public function _-2f(_arg1:_-Ht){ var _local3:int; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; _-27 = new b2Vec2(); _-HV = new _-80(); include = new Array(_-00.for ); _-F0 = new Array(_-00.for ); _-C4 = new Array(_-00.for ); super(_arg1); m_type = _-Fs; var _local2: each = (_arg1 as each); _-IL = _local2.vertexCount; var _local4:int = _local3; var _local5:int = _local3; _local3 = 0; while (_local3 < _-IL) { include[_local3] = _local2.vertices[_local3].Copy(); _local3++; }; _local3 = 0; while (_local3 < _-IL) { _local4 = _local3; _local5 = (((_local3 + 1) < _-IL)) ? (_local3 + 1) : 0; _local6 = (include[_local5].x - include[_local4].x); _local7 = (include[_local5].y - include[_local4].y); _local8 = Math.sqrt(((_local6 * _local6) + (_local7 * _local7))); _-F0[_local3] = new b2Vec2((_local7 / _local8), (-(_local6) / _local8)); _local3++; }; _-37 = _-DH(_local2.vertices, _local2.vertexCount); _-FI(_-HV, include, _-IL); _local3 = 0; while (_local3 < _-IL) { _local4 = (((_local3 - 1) >= 0)) ? (_local3 - 1) : (_-IL - 1); _local5 = _local3; _local9 = _-F0[_local4].x; _local10 = _-F0[_local4].y; _local11 = _-F0[_local5].x; _local12 = _-F0[_local5].y; _local13 = (include[_local3].x - _-37.x); _local14 = (include[_local3].y - _-37.y); _local15 = (((_local9 * _local13) + (_local10 * _local14)) - _-00._-7j); _local16 = (((_local11 * _local13) + (_local12 * _local14)) - _-00._-7j); _local17 = (1 / ((_local9 * _local12) - (_local10 * _local11))); _-C4[_local3] = new b2Vec2(((_local17 * ((_local12 * _local15) - (_local10 * _local16))) + _-37.x), ((_local17 * ((_local9 * _local16) - (_local11 * _local15))) + _-37.y)); _local3++; }; } override public function ComputeSweptAABB(_arg1:_-9E, _arg2:_-0X, _arg3:_-0X):void{ var _local4:_-9E = _-Fx; var _local5:_-9E = _-45; ComputeAABB(_local4, _arg2); ComputeAABB(_local5, _arg3); _arg1._-6Q.Set(((_local4._-6Q.x < _local5._-6Q.x)) ? _local4._-6Q.x : _local5._-6Q.x, ((_local4._-6Q.y < _local5._-6Q.y)) ? _local4._-6Q.y : _local5._-6Q.y); _arg1._-AF.Set(((_local4._-AF.x > _local5._-AF.x)) ? _local4._-AF.x : _local5._-AF.x, ((_local4._-AF.y > _local5._-AF.y)) ? _local4._-AF.y : _local5._-AF.y); } public function _-8c():Array{ return (include); } public function _-3m():Array{ return (_-C4); } public function _-3q():b2Vec2{ return (_-37); } public function _-Am():_-80{ return (_-HV); } public function GetFirstVertex(_arg1:_-0X):b2Vec2{ return (_-4U._-CZ(_arg1, _-C4[0])); } public function _-F8(_arg1:_-0X):b2Vec2{ return (_-4U._-CZ(_arg1, _-37)); } override public function TestSegment(_arg1:_-0X, _arg2:Array, _arg3:b2Vec2, _arg4:_-ID, _arg5:Number):int{ var _local8:Number; var _local9:Number; var _local10:_-8k; var _local11:b2Vec2; var _local20:Number; var _local21:Number; var _local6:Number = 0; var _local7:Number = _arg5; _local8 = (_arg4.p1.x - _arg1.position.x); _local9 = (_arg4.p1.y - _arg1.position.y); _local10 = _arg1.R; var _local12:Number = ((_local8 * _local10._-BW.x) + (_local9 * _local10._-BW.y)); var _local13:Number = ((_local8 * _local10._-7N.x) + (_local9 * _local10._-7N.y)); _local8 = (_arg4.p2.x - _arg1.position.x); _local9 = (_arg4.p2.y - _arg1.position.y); _local10 = _arg1.R; var _local14:Number = ((_local8 * _local10._-BW.x) + (_local9 * _local10._-BW.y)); var _local15:Number = ((_local8 * _local10._-7N.x) + (_local9 * _local10._-7N.y)); var _local16:Number = (_local14 - _local12); var _local17:Number = (_local15 - _local13); var _local18 = -1; var _local19:int; while (_local19 < _-IL) { _local11 = include[_local19]; _local8 = (_local11.x - _local12); _local9 = (_local11.y - _local13); _local11 = _-F0[_local19]; _local20 = ((_local11.x * _local8) + (_local11.y * _local9)); _local21 = ((_local11.x * _local16) + (_local11.y * _local17)); if ((((_local21 < 0)) && ((_local20 < (_local6 * _local21))))){ _local6 = (_local20 / _local21); _local18 = _local19; } else { if ((((_local21 > 0)) && ((_local20 < (_local7 * _local21))))){ _local7 = (_local20 / _local21); }; }; if (_local7 < _local6){ return (_-7G); }; _local19++; }; if (_local18 >= 0){ _arg2[0] = _local6; _local10 = _arg1.R; _local11 = _-F0[_local18]; _arg3.x = ((_local10._-BW.x * _local11.x) + (_local10._-7N.x * _local11.y)); _arg3.y = ((_local10._-BW.y * _local11.x) + (_local10._-7N.y * _local11.y)); return (_-1o); }; _arg2[0] = 0; return (_-IV); } override public function ComputeMass(_arg1:_-Hf):void{ var _local10:b2Vec2; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local2:Number = 0; var _local3:Number = 0; var _local4:Number = 0; var _local5:Number = 0; var _local6:Number = 0; var _local7:Number = 0; var _local8:Number = (1 / 3); var _local9:int; while (_local9 < _-IL) { _local10 = include[_local9]; _local11 = (((_local9 + 1) < _-IL)) ? include[int((_local9 + 1))] : include[0]; _local12 = (_local10.x - _local6); _local13 = (_local10.y - _local7); _local14 = (_local11.x - _local6); _local15 = (_local11.y - _local7); _local16 = ((_local12 * _local15) - (_local13 * _local14)); _local17 = (0.5 * _local16); _local4 = (_local4 + _local17); _local2 = (_local2 + ((_local17 * _local8) * ((_local6 + _local10.x) + _local11.x))); _local3 = (_local3 + ((_local17 * _local8) * ((_local7 + _local10.y) + _local11.y))); _local18 = _local6; _local19 = _local7; _local20 = _local12; _local21 = _local13; _local22 = _local14; _local23 = _local15; _local24 = ((_local8 * ((0.25 * (((_local20 * _local20) + (_local22 * _local20)) + (_local22 * _local22))) + ((_local18 * _local20) + (_local18 * _local22)))) + ((0.5 * _local18) * _local18)); _local25 = ((_local8 * ((0.25 * (((_local21 * _local21) + (_local23 * _local21)) + (_local23 * _local23))) + ((_local19 * _local21) + (_local19 * _local23)))) + ((0.5 * _local19) * _local19)); _local5 = (_local5 + (_local16 * (_local24 + _local25))); _local9++; }; _arg1._-5G = (_-Fl * _local4); _local2 = (_local2 * (1 / _local4)); _local3 = (_local3 * (1 / _local4)); _arg1.center.Set(_local2, _local3); _arg1._-EZ = (_-Fl * _local5); } public function _-3k():Array{ return (_-F0); } public function Support(_arg1:_-0X, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:b2Vec2; var _local5:_-8k; var _local11:Number; _local5 = _arg1.R; var _local6:Number = ((_arg2 * _local5._-BW.x) + (_arg3 * _local5._-BW.y)); var _local7:Number = ((_arg2 * _local5._-7N.x) + (_arg3 * _local5._-7N.y)); var _local8:int; _local4 = _-C4[0]; var _local9:Number = ((_local4.x * _local6) + (_local4.y * _local7)); var _local10 = 1; while (_local10 < _-IL) { _local4 = _-C4[_local10]; _local11 = ((_local4.x * _local6) + (_local4.y * _local7)); if (_local11 > _local9){ _local8 = _local10; _local9 = _local11; }; _local10++; }; _local5 = _arg1.R; _local4 = _-C4[_local8]; _-27.x = (_arg1.position.x + ((_local5._-BW.x * _local4.x) + (_local5._-7N.x * _local4.y))); _-27.y = (_arg1.position.y + ((_local5._-BW.y * _local4.x) + (_local5._-7N.y * _local4.y))); return (_-27); } public function else(_arg1:_-0X, _arg2:Array, _arg3:Array, _arg4:_-ID, _arg5:Number):int{ var _local8:Number; var _local9:Number; var _local10:_-8k; var _local11:b2Vec2; var _local20:Number; var _local21:Number; var _local6:Number = 0; var _local7:Number = _arg5; _local8 = (_arg4.p1.x - _arg1.position.x); _local9 = (_arg4.p1.y - _arg1.position.y); _local10 = _arg1.R; var _local12:Number = ((_local8 * _local10._-BW.x) + (_local9 * _local10._-BW.y)); var _local13:Number = ((_local8 * _local10._-7N.x) + (_local9 * _local10._-7N.y)); _local8 = (_arg4.p2.x - _arg1.position.x); _local9 = (_arg4.p2.y - _arg1.position.y); _local10 = _arg1.R; var _local14:Number = ((_local8 * _local10._-BW.x) + (_local9 * _local10._-BW.y)); var _local15:Number = ((_local8 * _local10._-7N.x) + (_local9 * _local10._-7N.y)); var _local16:Number = (_local14 - _local12); var _local17:Number = (_local15 - _local13); var _local18 = -1; var _local19:int; while (_local19 < _-IL) { _local11 = include[_local19]; _local8 = (_local11.x - _local12); _local9 = (_local11.y - _local13); _local11 = _-F0[_local19]; _local20 = ((_local11.x * _local8) + (_local11.y * _local9)); _local21 = ((_local11.x * _local16) + (_local11.y * _local17)); if ((((_local21 < 0)) && ((_local20 < (_local6 * _local21))))){ _local6 = (_local20 / _local21); _local18 = _local19; } else { if ((((_local21 > 0)) && ((_local20 < (_local7 * _local21))))){ _local7 = (_local20 / _local21); }; }; if (_local7 < _local6){ return (_-7G); }; _local19++; }; if (_local18 >= 0){ _arg2[0] = _local6; _arg3[0] = _local18; return (_-1o); }; _arg2[0] = 0; return (_-IV); } public function _-10():int{ return (_-IL); } override public function ComputeAABB(_arg1:_-9E, _arg2:_-0X):void{ var _local3:_-8k; var _local4:b2Vec2; var _local5:_-8k = _-GE; _local3 = _arg2.R; _local4 = _-HV.R._-BW; _local5._-BW.x = ((_local3._-BW.x * _local4.x) + (_local3._-7N.x * _local4.y)); _local5._-BW.y = ((_local3._-BW.y * _local4.x) + (_local3._-7N.y * _local4.y)); _local4 = _-HV.R._-7N; _local5._-7N.x = ((_local3._-BW.x * _local4.x) + (_local3._-7N.x * _local4.y)); _local5._-7N.y = ((_local3._-BW.y * _local4.x) + (_local3._-7N.y * _local4.y)); _local5._-Ay(); var _local6:_-8k = _local5; _local4 = _-HV._-Bf; var _local7:Number = ((_local6._-BW.x * _local4.x) + (_local6._-7N.x * _local4.y)); var _local8:Number = ((_local6._-BW.y * _local4.x) + (_local6._-7N.y * _local4.y)); _local3 = _arg2.R; _local4 = _-HV.center; var _local9:Number = (_arg2.position.x + ((_local3._-BW.x * _local4.x) + (_local3._-7N.x * _local4.y))); var _local10:Number = (_arg2.position.y + ((_local3._-BW.y * _local4.x) + (_local3._-7N.y * _local4.y))); _arg1._-6Q.Set((_local9 - _local7), (_local10 - _local8)); _arg1._-AF.Set((_local9 + _local7), (_local10 + _local8)); } override public function UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:b2Vec2; var _local4:Number; var _local5:Number; _-2- = 0; var _local3:int; while (_local3 < _-IL) { _local2 = _-C4[_local3]; _local4 = (_local2.x - _arg1.x); _local5 = (_local2.y - _arg1.y); _local4 = Math.sqrt(((_local4 * _local4) + (_local5 * _local5))); if (_local4 > _-2-){ _-2- = _local4; }; _local3++; }; } override public function TestPoint(_arg1:_-0X, _arg2:b2Vec2):Boolean{ var _local3:b2Vec2; var _local10:Number; var _local4:_-8k = _arg1.R; var _local5:Number = (_arg2.x - _arg1.position.x); var _local6:Number = (_arg2.y - _arg1.position.y); var _local7:Number = ((_local5 * _local4._-BW.x) + (_local6 * _local4._-BW.y)); var _local8:Number = ((_local5 * _local4._-7N.x) + (_local6 * _local4._-7N.y)); var _local9:int; while (_local9 < _-IL) { _local3 = include[_local9]; _local5 = (_local7 - _local3.x); _local6 = (_local8 - _local3.y); _local3 = _-F0[_local9]; _local10 = ((_local3.x * _local5) + (_local3.y * _local6)); if (_local10 > 0){ return (false); }; _local9++; }; return (true); } public static function _-DH(_arg1:Array, _arg2:int):b2Vec2{ var _local3:b2Vec2; var _local7:Number; var _local9:b2Vec2; var _local10:b2Vec2; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; _local3 = new b2Vec2(); var _local4:Number = 0; var _local5:Number = 0; var _local6:Number = 0; _local7 = (1 / 3); var _local8:int; while (_local8 < _arg2) { _local9 = _arg1[_local8]; _local10 = (((_local8 + 1) < _arg2)) ? _arg1[int((_local8 + 1))] : _arg1[0]; _local11 = (_local9.x - _local5); _local12 = (_local9.y - _local6); _local13 = (_local10.x - _local5); _local14 = (_local10.y - _local6); _local15 = ((_local11 * _local14) - (_local12 * _local13)); _local16 = (0.5 * _local15); _local4 = (_local4 + _local16); _local3.x = (_local3.x + ((_local16 * _local7) * ((_local5 + _local9.x) + _local10.x))); _local3.y = (_local3.y + ((_local16 * _local7) * ((_local6 + _local9.y) + _local10.y))); _local8++; }; _local3.x = (_local3.x * (1 / _local4)); _local3.y = (_local3.y * (1 / _local4)); return (_local3); } public static function _-FI(_arg1:_-80, _arg2:Array, _arg3:int):void{ var _local4:int; var _local7:b2Vec2; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:int; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:_-8k; var _local5:Array = new Array((_-00.for + 1)); _local4 = 0; while (_local4 < _arg3) { _local5[_local4] = _arg2[_local4]; _local4++; }; _local5[_arg3] = _local5[0]; var _local6:Number = Number.MAX_VALUE; _local4 = 1; while (_local4 <= _arg3) { _local7 = _local5[int((_local4 - 1))]; _local8 = (_local5[_local4].x - _local7.x); _local9 = (_local5[_local4].y - _local7.y); _local10 = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); _local8 = (_local8 / _local10); _local9 = (_local9 / _local10); _local11 = -(_local9); _local12 = _local8; _local13 = Number.MAX_VALUE; _local14 = Number.MAX_VALUE; _local15 = -(Number.MAX_VALUE); _local16 = -(Number.MAX_VALUE); _local17 = 0; while (_local17 < _arg3) { _local19 = (_local5[_local17].x - _local7.x); _local20 = (_local5[_local17].y - _local7.y); _local21 = ((_local8 * _local19) + (_local9 * _local20)); _local22 = ((_local11 * _local19) + (_local12 * _local20)); if (_local21 < _local13){ _local13 = _local21; }; if (_local22 < _local14){ _local14 = _local22; }; if (_local21 > _local15){ _local15 = _local21; }; if (_local22 > _local16){ _local16 = _local22; }; _local17++; }; _local18 = ((_local15 - _local13) * (_local16 - _local14)); if (_local18 < (0.95 * _local6)){ _local6 = _local18; _arg1.R._-BW.x = _local8; _arg1.R._-BW.y = _local9; _arg1.R._-7N.x = _local11; _arg1.R._-7N.y = _local12; _local23 = (0.5 * (_local13 + _local15)); _local24 = (0.5 * (_local14 + _local16)); _local25 = _arg1.R; _arg1.center.x = (_local7.x + ((_local25._-BW.x * _local23) + (_local25._-7N.x * _local24))); _arg1.center.y = (_local7.y + ((_local25._-BW.y * _local23) + (_local25._-7N.y * _local24))); _arg1._-Bf.x = (0.5 * (_local15 - _local13)); _arg1._-Bf.y = (0.5 * (_local16 - _local14)); }; _local4++; }; } } }//package _-Ao
Section 20
//_-4n (_-Ao._-4n) package _-Ao { public class _-4n { public var _-3G:uint;// = 0xFFFF public var _-9X:int;// = 0 public var _-GM:uint;// = 1 public function Copy():_-4n{ var _local1:_-4n = new _-4n(); _local1._-GM = _-GM; _local1._-3G = _-3G; _local1._-9X = _-9X; return (_local1); } } }//package _-Ao
Section 21
//_-8J (_-Ao._-8J) package _-Ao { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-Hu.*; public class _-8J { public var _-76:_-8J; public var m_type:int; public var _-2-:Number; public var _-Fl:Number; public var _-Da:_-4n; public var set:Number; public var m_isSensor:Boolean; public var _-De:Number; public var m_userData; public var _-DP:uint; public var m_body:_-Ih; public static const _-Fs:int = 1; public static const _-1o:int = 1; public static const _-7G:int = 0; public static const _-4q:int = -1; public static const implements:int = 0; public static const _-BF:int = 2; public static const _-IV:int = -1; private static var _-GL:_-9E = new _-9E(); private static var _-7I:_-9E = new _-9E(); private static var _-IS:_-9E = new _-9E(); public function _-8J(_arg1:_-Ht){ m_userData = _arg1.userData; set = _arg1._-5c; _-De = _arg1._-9n; _-Fl = _arg1.density; m_body = null; _-2- = 0; _-76 = null; _-DP = _-Gj._-D; _-Da = _arg1._-92.Copy(); m_isSensor = _arg1._-A6; } public function _-6n(_arg1):void{ m_userData = _arg1; } public function _-1R():Number{ return (_-2-); } public function _-83():_-8J{ return (_-76); } public function ComputeSweptAABB(_arg1:_-9E, _arg2:_-0X, _arg3:_-0X):void{ } public function GetType():int{ return (m_type); } public function _-FM():Number{ return (_-De); } public function _-2t():Number{ return ( set); } public function _-EF():_-4n{ return (_-Da.Copy()); } public function TestSegment(_arg1:_-0X, _arg2:Array, _arg3:b2Vec2, _arg4:_-ID, _arg5:Number):int{ return (_-7G); } public function _-H3(_arg1:_-Gx, _arg2:_-0X):void{ if (_-DP == _-Gj._-D){ return; }; _arg1._-66(_-DP); var _local3:_-9E = _-GL; ComputeAABB(_local3, _arg2); var _local4:Boolean = _arg1._-2R(_local3); if (_local4){ _-DP = _arg1._-3-(_local3, this); } else { _-DP = _-Gj._-D; }; } public function _-I(_arg1:_-4n):void{ _-Da = _arg1.Copy(); } public function _-Ax(){ return (m_userData); } public function _-3Q(_arg1:_-Gx, _arg2:_-0X, _arg3:_-0X):Boolean{ if (_-DP == _-Gj._-D){ return (false); }; var _local4:_-9E = _-7I; ComputeSweptAABB(_local4, _arg2, _arg3); if (_arg1._-2R(_local4)){ _arg1._-5r(_-DP, _local4); return (true); }; return (false); } public function ComputeMass(_arg1:_-Hf):void{ } public function _-IE():Boolean{ return (m_isSensor); } public function _-66(_arg1:_-Gx):void{ if (_-DP != _-Gj._-D){ _arg1._-66(_-DP); _-DP = _-Gj._-D; }; } public function UpdateSweepRadius(_arg1:b2Vec2):void{ } public function ComputeAABB(_arg1:_-9E, _arg2:_-0X):void{ } public function GetBody():_-Ih{ return (m_body); } public function _-3-(_arg1:_-Gx, _arg2:_-0X):void{ var _local3:_-9E = _-IS; ComputeAABB(_local3, _arg2); var _local4:Boolean = _arg1._-2R(_local3); if (_local4){ _-DP = _arg1._-3-(_local3, this); } else { _-DP = _-Gj._-D; }; } public function TestPoint(_arg1:_-0X, _arg2:b2Vec2):Boolean{ return (false); } public static function _-Fg(_arg1:_-8J, _arg2):void{ } public static function _-16(_arg1:_-Ht, _arg2):_-8J{ switch (_arg1.type){ case implements: return (new _-Cx(_arg1)); case _-Fs: return (new _-2f(_arg1)); default: return (null); }; } } }//package _-Ao
Section 22
//_-Cx (_-Ao._-Cx) package _-Ao { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-Hu.*; public class _-Cx extends _-8J { public var _-42:b2Vec2; public var _-Db:Number; public function _-Cx(_arg1:_-Ht){ _-42 = new b2Vec2(); super(_arg1); var _local2:_-DE = (_arg1 as _-DE); m_type = implements; _-42._-8S(_local2._-05); _-Db = _local2.radius; } override public function TestSegment(_arg1:_-0X, _arg2:Array, _arg3:b2Vec2, _arg4:_-ID, _arg5:Number):int{ var _local10:Number; var _local6:_-8k = _arg1.R; var _local7:Number = (_arg1.position.x + ((_local6._-BW.x * _-42.x) + (_local6._-7N.x * _-42.y))); var _local8:Number = (_arg1.position.y + ((_local6._-BW.y * _-42.x) + (_local6._-7N.y * _-42.y))); var _local9:Number = (_arg4.p1.x - _local7); _local10 = (_arg4.p1.y - _local8); var _local11:Number = (((_local9 * _local9) + (_local10 * _local10)) - (_-Db * _-Db)); if (_local11 < 0){ _arg2[0] = 0; return (_-IV); }; var _local12:Number = (_arg4.p2.x - _arg4.p1.x); var _local13:Number = (_arg4.p2.y - _arg4.p1.y); var _local14:Number = ((_local9 * _local12) + (_local10 * _local13)); var _local15:Number = ((_local12 * _local12) + (_local13 * _local13)); var _local16:Number = ((_local14 * _local14) - (_local15 * _local11)); if ((((_local16 < 0)) || ((_local15 < Number.MIN_VALUE)))){ return (_-7G); }; var _local17:Number = -((_local14 + Math.sqrt(_local16))); if ((((0 <= _local17)) && ((_local17 <= (_arg5 * _local15))))){ _local17 = (_local17 / _local15); _arg2[0] = _local17; _arg3.x = (_local9 + (_local17 * _local12)); _arg3.y = (_local10 + (_local17 * _local13)); _arg3._-4j(); return (_-1o); }; return (_-7G); } public function _-9T():b2Vec2{ return (_-42); } public function _-IC():Number{ return (_-Db); } override public function ComputeSweptAABB(_arg1:_-9E, _arg2:_-0X, _arg3:_-0X):void{ var _local4:_-8k; _local4 = _arg2.R; var _local5:Number = (_arg2.position.x + ((_local4._-BW.x * _-42.x) + (_local4._-7N.x * _-42.y))); var _local6:Number = (_arg2.position.y + ((_local4._-BW.y * _-42.x) + (_local4._-7N.y * _-42.y))); _local4 = _arg3.R; var _local7:Number = (_arg3.position.x + ((_local4._-BW.x * _-42.x) + (_local4._-7N.x * _-42.y))); var _local8:Number = (_arg3.position.y + ((_local4._-BW.y * _-42.x) + (_local4._-7N.y * _-42.y))); _arg1._-6Q.Set((((_local5 < _local7)) ? _local5 : _local7 - _-Db), (((_local6 < _local8)) ? _local6 : _local8 - _-Db)); _arg1._-AF.Set((((_local5 > _local7)) ? _local5 : _local7 + _-Db), (((_local6 > _local8)) ? _local6 : _local8 + _-Db)); } override public function ComputeMass(_arg1:_-Hf):void{ _arg1._-5G = (((_-Fl * _-00._-0B) * _-Db) * _-Db); _arg1.center._-8S(_-42); _arg1._-EZ = (_arg1._-5G * (((0.5 * _-Db) * _-Db) + ((_-42.x * _-42.x) + (_-42.y * _-42.y)))); } override public function UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:Number = (_-42.x - _arg1.x); var _local3:Number = (_-42.y - _arg1.y); _local2 = Math.sqrt(((_local2 * _local2) + (_local3 * _local3))); _-2- = ((_local2 + _-Db) - _-00._-7j); } override public function ComputeAABB(_arg1:_-9E, _arg2:_-0X):void{ var _local3:_-8k = _arg2.R; var _local4:Number = (_arg2.position.x + ((_local3._-BW.x * _-42.x) + (_local3._-7N.x * _-42.y))); var _local5:Number = (_arg2.position.y + ((_local3._-BW.y * _-42.x) + (_local3._-7N.y * _-42.y))); _arg1._-6Q.Set((_local4 - _-Db), (_local5 - _-Db)); _arg1._-AF.Set((_local4 + _-Db), (_local5 + _-Db)); } override public function TestPoint(_arg1:_-0X, _arg2:b2Vec2):Boolean{ var _local3:_-8k = _arg1.R; var _local4:Number = (_arg1.position.x + ((_local3._-BW.x * _-42.x) + (_local3._-7N.x * _-42.y))); var _local5:Number = (_arg1.position.y + ((_local3._-BW.y * _-42.x) + (_local3._-7N.y * _-42.y))); _local4 = (_arg2.x - _local4); _local5 = (_arg2.y - _local5); return ((((_local4 * _local4) + (_local5 * _local5)) <= (_-Db * _-Db))); } } }//package _-Ao
Section 23
//_-DE (_-Ao._-DE) package _-Ao { import Box2D.Common.Math.*; public class _-DE extends _-Ht { public var radius:Number; public var _-05:b2Vec2; public function _-DE(){ _-05 = new b2Vec2(0, 0); super(); type = _-8J.implements; radius = 1; } } }//package _-Ao
Section 24
//_-Hf (_-Ao._-Hf) package _-Ao { import Box2D.Common.Math.*; public class _-Hf { public var _-5G:Number;// = 0 public var center:b2Vec2; public var _-EZ:Number;// = 0 public function _-Hf(){ center = new b2Vec2(0, 0); super(); } } }//package _-Ao
Section 25
//_-Ht (_-Ao._-Ht) package _-Ao { public class _-Ht { public var _-5c:Number;// = 0.2 public var _-A6:Boolean;// = false public var density:Number;// = 0 public var _-9n:Number;// = 0 public var userData;// = null public var _-92:_-4n; public var type:int; public function _-Ht(){ type = _-8J._-4q; _-92 = new _-4n(); super(); } } }//package _-Ao
Section 26
//_-75 (_-Ea._-75) package _-Ea { import flash.display.*; import flash.events.*; import flash.net.*; import flash.system.*; public class _-75 extends Sprite { private var _-4P:Loader; private var _-0J:String; public function _-75(_arg1:String){ this._-0J = _arg1; addEventListener(Event.ADDED, _-Dt); } private function _-p(_arg1:Event):void{ dispatchEvent(_arg1); } private function _-Dt(_arg1:Event):void{ removeEventListener(Event.ADDED, _-Dt); Security.allowDomain("server.cpmstar.com"); var _local2 = "http://server.cpmstar.com/adviewas3.swf"; var _local3:DisplayObjectContainer = parent; _-4P = new Loader(); _-4P.contentLoaderInfo.addEventListener(Event.INIT, _-p); _-4P.contentLoaderInfo.addEventListener(Event.COMPLETE, _-p); _-4P.load(new URLRequest(((_local2 + "?contentspotid=") + _-0J))); addChild(_-4P); } } }//package _-Ea
Section 27
//_-00 (_-El._-00) package _-El { import Box2D.Common.Math.*; public class _-00 { public static const _-5d:Number = 0.0111111111111111; public static const _-AY:Number = 0.01; public static const _-Cm:Number = 0.0349065850398866; public static const _-HK:Number = 0.005; public static const _-0B:Number = 3.14159265358979; public static const _-7s:int = 0x0200; public static const _-6s:Number = 62500; public static const for :int = 8; public static const _-:Number = 1; public static const _-3K:Number = 0.2; public static const _-55:int = 4096; public static const _-8i:int = 32; public static const _-Hg:Number = 0.5; public static const _-6t:int = 2; public static const _-9C:Number = 250; public static const _-Gb:Number = 0.139626340159546; public static const _-IH:int = 0xFFFF; public static const _-Bb:Number = 200; public static const _-3p:Number = 0.2; public static const _-7j:Number = 0.04; public static const _-A9:Number = 40000; public static function _-71(_arg1:Boolean):void{ var _local2:b2Vec2; if (!_arg1){ _local2.x++; }; } } }//package _-El
Section 28
//_-Dw (_-El._-Dw) package _-El { import Box2D.Common.Math.*; public class _-Dw { private var _-8D:uint;// = 0 private var _-H0:uint;// = 0 private var _-2y:uint;// = 0 public function _-Dw(_arg1:Number, _arg2:Number, _arg3:Number){ _-8D = uint((0xFF * _-4U._-4z(_arg1, 0, 1))); _-H0 = uint((0xFF * _-4U._-4z(_arg2, 0, 1))); _-2y = uint((0xFF * _-4U._-4z(_arg3, 0, 1))); } public function Set(_arg1:Number, _arg2:Number, _arg3:Number):void{ _-8D = uint((0xFF * _-4U._-4z(_arg1, 0, 1))); _-H0 = uint((0xFF * _-4U._-4z(_arg2, 0, 1))); _-2y = uint((0xFF * _-4U._-4z(_arg3, 0, 1))); } public function set b(_arg1:Number):void{ _-2y = uint((0xFF * _-4U._-4z(_arg1, 0, 1))); } public function get color():uint{ return (((_-8D | (_-H0 << 8)) | (_-2y << 16))); } public function set r(_arg1:Number):void{ _-8D = uint((0xFF * _-4U._-4z(_arg1, 0, 1))); } public function set g(_arg1:Number):void{ _-H0 = uint((0xFF * _-4U._-4z(_arg1, 0, 1))); } } }//package _-El
Section 29
// for (_-Eq. for) package _-Eq { import Box2D.Common.Math.*; public class for extends _-7a { public var _-D1:Number; public var target:b2Vec2; public var _-5l:Number; public var _-Ec:Number; public var _-GY:Number; public function for(){ target = new b2Vec2(); super(); type = _-7k._-6d; _-5l = 0; _-GY = 5; _-Ec = 0.7; _-D1 = (1 / 60); } } }//package _-Eq
Section 30
//_-1z (_-Eq._-1z) package _-Eq { import Box2D.Common.Math.*; import _-Hu.*; public class _-1z extends _-7a { public var _-Dd:Number; public var _-9Z:Boolean; public var _-6f:Number; public var _-6G:Number; public var _-BG:b2Vec2; public var _-5O:b2Vec2; public var _-DJ:Boolean; public var _-63:Number; public var _-D4:Number; public function _-1z(){ _-BG = new b2Vec2(); _-5O = new b2Vec2(); super(); type = _-7k.e_revoluteJoint; _-BG.Set(0, 0); _-5O.Set(0, 0); _-6f = 0; _-63 = 0; _-Dd = 0; _-D4 = 0; _-6G = 0; _-DJ = false; _-9Z = false; } public function _-D0(_arg1:_-Ih, _arg2:_-Ih, _arg3:b2Vec2):void{ _-Ha = _arg1; _-3W = _arg2; _-BG = _-Ha.GetLocalPoint(_arg3); _-5O = _-3W.GetLocalPoint(_arg3); _-6f = (_-3W.GetAngle() - _-Ha.GetAngle()); } } }//package _-Eq
Section 31
//_-2a (_-Eq._-2a) package _-Eq { import Box2D.Common.Math.*; import _-El.*; import _-Hu.*; public class _-2a extends _-7k { private var _-4o:_-8k; private var _-Aa:_-8k; public var _-2u:Number; public var m_mass:_-8k; private var _-0m:_-8k; public var _-3:b2Vec2; public var _-HR:Number; public var _-Gv:b2Vec2; public var _-6T:b2Vec2; public var _-GF:b2Vec2; public var _-3R:Number; public function _-2a(_arg1: for){ var _local3:Number; _-Aa = new _-8k(); _-4o = new _-8k(); _-0m = new _-8k(); _-GF = new b2Vec2(); _-3 = new b2Vec2(); _-Gv = new b2Vec2(); m_mass = new _-8k(); _-6T = new b2Vec2(); super(_arg1); _-3._-8S(_arg1.target); var _local2:Number = (_-3.x - _-78.m_xf.position.x); _local3 = (_-3.y - _-78.m_xf.position.y); var _local4:_-8k = _-78.m_xf.R; _-GF.x = ((_local2 * _local4._-BW.x) + (_local3 * _local4._-BW.y)); _-GF.y = ((_local2 * _local4._-7N.x) + (_local3 * _local4._-7N.y)); _-3R = _arg1._-5l; _-Gv._-87(); var _local5:Number = _-78.m_mass; var _local6:Number = ((2 * _-00._-0B) * _arg1._-GY); var _local7:Number = (((2 * _local5) * _arg1._-Ec) * _local6); var _local8:Number = ((_arg1._-D1 * _local5) * (_local6 * _local6)); _-HR = (1 / (_local7 + _local8)); _-2u = (_local8 / (_local7 + _local8)); } public function _-5Z(_arg1:b2Vec2):void{ if (_-78.IsSleeping()){ _-78.WakeUp(); }; _-3 = _arg1; } override public function GetAnchor2():b2Vec2{ return (_-78.GetWorldPoint(_-GF)); } override public function InitVelocityConstraints(_arg1:_-Ci):void{ var _local2:_-Ih; var _local3:_-8k; var _local4:Number; var _local5:Number; var _local7:Number; var _local8:Number; _local2 = _-78; _local3 = _local2.m_xf.R; _local4 = (_-GF.x - _local2.m_sweep.localCenter.x); _local5 = (_-GF.y - _local2.m_sweep.localCenter.y); var _local6:Number = ((_local3._-BW.x * _local4) + (_local3._-7N.x * _local5)); _local5 = ((_local3._-BW.y * _local4) + (_local3._-7N.y * _local5)); _local4 = _local6; _local7 = _local2._-94; _local8 = _local2. do; _-4o._-BW.x = _local7; _-4o._-7N.x = 0; _-4o._-BW.y = 0; _-4o._-7N.y = _local7; _-0m._-BW.x = ((_local8 * _local5) * _local5); _-0m._-7N.x = ((-(_local8) * _local4) * _local5); _-0m._-BW.y = ((-(_local8) * _local4) * _local5); _-0m._-7N.y = ((_local8 * _local4) * _local4); _-Aa._-Bu(_-4o); _-Aa._-0S(_-0m); _-Aa._-BW.x = (_-Aa._-BW.x + _-HR); _-Aa._-7N.y = (_-Aa._-7N.y + _-HR); _-Aa._-9v(m_mass); _-6T.x = ((_local2.m_sweep.c.x + _local4) - _-3.x); _-6T.y = ((_local2.m_sweep.c.y + _local5) - _-3.y); _local2.m_angularVelocity = (_local2.m_angularVelocity * 0.98); var _local9:Number = (_arg1._-Fd * _-Gv.x); var _local10:Number = (_arg1._-Fd * _-Gv.y); _local2._-Hm.x = (_local2._-Hm.x + (_local7 * _local9)); _local2._-Hm.y = (_local2._-Hm.y + (_local7 * _local10)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local8 * ((_local4 * _local10) - (_local5 * _local9)))); } override public function GetAnchor1():b2Vec2{ return (_-3); } override public function GetReactionTorque():Number{ return (0); } override public function GetReactionForce():b2Vec2{ return (_-Gv); } override public function SolvePositionConstraints():Boolean{ return (true); } override public function SolveVelocityConstraints(_arg1:_-Ci):void{ var _local3:_-8k; var _local4:Number; var _local5:Number; var _local2:_-Ih = _-78; _local3 = _local2.m_xf.R; var _local6:Number = (_-GF.x - _local2.m_sweep.localCenter.x); var _local7:Number = (_-GF.y - _local2.m_sweep.localCenter.y); _local4 = ((_local3._-BW.x * _local6) + (_local3._-7N.x * _local7)); _local7 = ((_local3._-BW.y * _local6) + (_local3._-7N.y * _local7)); _local6 = _local4; var _local8:Number = (_local2._-Hm.x + (-(_local2.m_angularVelocity) * _local7)); var _local9:Number = (_local2._-Hm.y + (_local2.m_angularVelocity * _local6)); _local3 = m_mass; _local4 = ((_local8 + ((_-2u * _arg1._-EK) * _-6T.x)) + ((_-HR * _arg1._-Fd) * _-Gv.x)); _local5 = ((_local9 + ((_-2u * _arg1._-EK) * _-6T.y)) + ((_-HR * _arg1._-Fd) * _-Gv.y)); var _local10:Number = (-(_arg1._-EK) * ((_local3._-BW.x * _local4) + (_local3._-7N.x * _local5))); var _local11:Number = (-(_arg1._-EK) * ((_local3._-BW.y * _local4) + (_local3._-7N.y * _local5))); var _local12:Number = _-Gv.x; var _local13:Number = _-Gv.y; _-Gv.x = (_-Gv.x + _local10); _-Gv.y = (_-Gv.y + _local11); var _local14:Number = _-Gv._-l(); if (_local14 > _-3R){ _-Gv.Multiply((_-3R / _local14)); }; _local10 = (_-Gv.x - _local12); _local11 = (_-Gv.y - _local13); var _local15:Number = (_arg1._-Fd * _local10); var _local16:Number = (_arg1._-Fd * _local11); _local2._-Hm.x = (_local2._-Hm.x + (_local2._-94 * _local15)); _local2._-Hm.y = (_local2._-Hm.y + (_local2._-94 * _local16)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2. do * ((_local6 * _local16) - (_local7 * _local15)))); } } }//package _-Eq
Section 32
//_-3r (_-Eq._-3r) package _-Eq { import Box2D.Common.Math.*; import _-El.*; import _-Hu.*; public class _-3r extends _-7k { public var _-Ev:Number; public var _-B5:Number; public var _-DF:b2Vec2; public var _-9w:Number; public var _-GX:Number; public var _-0G:Number; public var _-6B:Boolean; public var catch:Number; public var finally:Number; public var _-9B:b2Vec2; public var _-GQ:Number; public var _-E8:Number; public var _-1v:Number; public var package:b2Vec2; public var _-Fp:b2Vec2; public var _-CM:int; public var _-Fu:Number; public var _-DQ:_-G5; public var _-AJ:Number; public var _-q:Number; public var _-0O:Boolean; public var _-H:_-G5; public function _-3r(_arg1:_-96){ var _local2:_-8k; var _local3:Number; var _local4:Number; package = new b2Vec2(); _-Fp = new b2Vec2(); _-DF = new b2Vec2(); _-9B = new b2Vec2(); _-H = new _-G5(); _-DQ = new _-G5(); super(_arg1); package._-8S(_arg1._-BG); _-Fp._-8S(_arg1._-5O); _-DF._-8S(_arg1._-5C); _-9B.x = -(_-DF.y); _-9B.y = _-DF.x; _-9w = _arg1._-6f; _-H._-87(); _-Fu = 0; _-GQ = 0; catch = 0; _-GX = 0; _-DQ._-87(); _-E8 = 0; _-0G = 0; _-Ev = 0; _-AJ = 0; _-B5 = _arg1._-Ew; _-1v = _arg1._-5i; finally = _arg1._-V; _-q = _arg1._-6G; _-6B = _arg1._-DJ; _-0O = _arg1._-9Z; } override public function SolveVelocityConstraints(_arg1:_-Ci):void{ var _local6:Number; var _local8:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local2:_-Ih = _-6w; var _local3:_-Ih = _-78; var _local4:Number = _local2._-94; var _local5:Number = _local3._-94; _local6 = _local2. do; var _local7:Number = _local3. do; var _local9:Number = _-H._-8C(_local2._-Hm, _local2.m_angularVelocity, _local3._-Hm, _local3.m_angularVelocity); var _local10:Number = ((-(_arg1._-EK) * _-Fu) * _local9); _-GQ = (_-GQ + _local10); var _local11:Number = (_arg1._-Fd * _local10); _local2._-Hm.x = (_local2._-Hm.x + ((_local4 * _local11) * _-H._-Be.x)); _local2._-Hm.y = (_local2._-Hm.y + ((_local4 * _local11) * _-H._-Be.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * _-H._-CR)); _local3._-Hm.x = (_local3._-Hm.x + ((_local5 * _local11) * _-H._-Fv.x)); _local3._-Hm.y = (_local3._-Hm.y + ((_local5 * _local11) * _-H._-Fv.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * _-H._-Ft)); var _local12:Number = (_local3.m_angularVelocity - _local2.m_angularVelocity); var _local13:Number = ((-(_arg1._-EK) * catch) * _local12); _-GX = (_-GX + _local13); var _local14:Number = (_arg1._-Fd * _local13); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local6 * _local14)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local7 * _local14)); if (((_-0O) && (!((_-CM == _-Il))))){ _local15 = (_-DQ._-8C(_local2._-Hm, _local2.m_angularVelocity, _local3._-Hm, _local3.m_angularVelocity) - _-q); _local16 = ((-(_arg1._-EK) * _-E8) * _local15); _local17 = _-0G; _-0G = _-4U._-4z((_-0G + _local16), -(finally), finally); _local16 = (_-0G - _local17); _local11 = (_arg1._-Fd * _local16); _local2._-Hm.x = (_local2._-Hm.x + ((_local4 * _local11) * _-DQ._-Be.x)); _local2._-Hm.y = (_local2._-Hm.y + ((_local4 * _local11) * _-DQ._-Be.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * _-DQ._-CR)); _local3._-Hm.x = (_local3._-Hm.x + ((_local5 * _local11) * _-DQ._-Fv.x)); _local3._-Hm.y = (_local3._-Hm.y + ((_local5 * _local11) * _-DQ._-Fv.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * _-DQ._-Ft)); }; if (((_-6B) && (!((_-CM == _-8l))))){ _local18 = _-DQ._-8C(_local2._-Hm, _local2.m_angularVelocity, _local3._-Hm, _local3.m_angularVelocity); _local19 = ((-(_arg1._-EK) * _-E8) * _local18); if (_-CM == _-Il){ _-Ev = (_-Ev + _local19); } else { if (_-CM == _-HP){ _local8 = _-Ev; _-Ev = _-4U._-1P((_-Ev + _local19), 0); _local19 = (_-Ev - _local8); } else { if (_-CM == _-Ei){ _local8 = _-Ev; _-Ev = _-4U._-Fr((_-Ev + _local19), 0); _local19 = (_-Ev - _local8); }; }; }; _local11 = (_arg1._-Fd * _local19); _local2._-Hm.x = (_local2._-Hm.x + ((_local4 * _local11) * _-DQ._-Be.x)); _local2._-Hm.y = (_local2._-Hm.y + ((_local4 * _local11) * _-DQ._-Be.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * _-DQ._-CR)); _local3._-Hm.x = (_local3._-Hm.x + ((_local5 * _local11) * _-DQ._-Fv.x)); _local3._-Hm.y = (_local3._-Hm.y + ((_local5 * _local11) * _-DQ._-Fv.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * _-DQ._-Ft)); }; } override public function GetAnchor1():b2Vec2{ return (_-6w.GetWorldPoint(package)); } override public function GetAnchor2():b2Vec2{ return (_-78.GetWorldPoint(_-Fp)); } public function _-DO():Number{ return (_-1v); } public function _-FO():Number{ return (_-B5); } public function _-2K(_arg1:Boolean):void{ _-0O = _arg1; } public function _-DM():Number{ var _local3:_-8k; var _local1:_-Ih = _-6w; var _local2:_-Ih = _-78; var _local4:b2Vec2 = _local1.GetWorldPoint(package); var _local5:b2Vec2 = _local2.GetWorldPoint(_-Fp); var _local6:Number = (_local5.x - _local4.x); var _local7:Number = (_local5.y - _local4.y); var _local8:b2Vec2 = _local1._-F6(_-DF); var _local9:Number = ((_local8.x * _local6) + (_local8.y * _local7)); return (_local9); } public function _-19():Number{ return (_-q); } override public function GetReactionForce():b2Vec2{ var _local1:_-8k = _-6w.m_xf.R; var _local2:Number = (_-Ev * ((_local1._-BW.x * _-DF.x) + (_local1._-7N.x * _-DF.y))); var _local3:Number = (_-Ev * ((_local1._-BW.y * _-DF.x) + (_local1._-7N.y * _-DF.y))); var _local4:Number = (_-GQ * ((_local1._-BW.x * _-9B.x) + (_local1._-7N.x * _-9B.y))); var _local5:Number = (_-GQ * ((_local1._-BW.y * _-9B.x) + (_local1._-7N.y * _-9B.y))); return (new b2Vec2(((_-Ev * _local2) + (_-GQ * _local4)), ((_-Ev * _local3) + (_-GQ * _local5)))); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local9:_-8k; var _local10:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local3:_-Ih = _-6w; var _local4:_-Ih = _-78; var _local5:Number = _local3._-94; var _local6:Number = _local4._-94; var _local7:Number = _local3. do; var _local8:Number = _local4. do; _local9 = _local3.m_xf.R; var _local11:Number = (package.x - _local3.m_sweep.localCenter.x); var _local12:Number = (package.y - _local3.m_sweep.localCenter.y); _local10 = ((_local9._-BW.x * _local11) + (_local9._-7N.x * _local12)); _local12 = ((_local9._-BW.y * _local11) + (_local9._-7N.y * _local12)); _local11 = _local10; _local9 = _local4.m_xf.R; var _local13:Number = (_-Fp.x - _local4.m_sweep.localCenter.x); var _local14:Number = (_-Fp.y - _local4.m_sweep.localCenter.y); _local10 = ((_local9._-BW.x * _local13) + (_local9._-7N.x * _local14)); _local14 = ((_local9._-BW.y * _local13) + (_local9._-7N.y * _local14)); _local13 = _local10; var _local15:Number = (_local3.m_sweep.c.x + _local11); var _local16:Number = (_local3.m_sweep.c.y + _local12); var _local17:Number = (_local4.m_sweep.c.x + _local13); var _local18:Number = (_local4.m_sweep.c.y + _local14); var _local19:Number = (_local17 - _local15); var _local20:Number = (_local18 - _local16); _local9 = _local3.m_xf.R; var _local21:Number = ((_local9._-BW.x * _-9B.x) + (_local9._-7N.x * _-9B.y)); var _local22:Number = ((_local9._-BW.y * _-9B.x) + (_local9._-7N.y * _-9B.y)); var _local23:Number = ((_local21 * _local19) + (_local22 * _local20)); _local23 = _-4U._-4z(_local23, -(_-00._-3p), _-00._-3p); var _local24:Number = (-(_-Fu) * _local23); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local5 * _local24) * _-H._-Be.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local5 * _local24) * _-H._-Be.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local7 * _local24) * _-H._-CR)); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + ((_local6 * _local24) * _-H._-Fv.x)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + ((_local6 * _local24) * _-H._-Fv.y)); _local4.m_sweep.a = (_local4.m_sweep.a + ((_local8 * _local24) * _-H._-Ft)); var _local25:Number = _-4U.use(_local23); var _local26:Number = ((_local4.m_sweep.a - _local3.m_sweep.a) - _-9w); _local26 = _-4U._-4z(_local26, -(_-00._-Gb), _-00._-Gb); var _local27:Number = (-(catch) * _local26); _local3.m_sweep.a = (_local3.m_sweep.a - (_local3. do * _local27)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4. do * _local27)); _local3._-A2(); _local4._-A2(); var _local28:Number = _-4U.use(_local26); if (((_-6B) && (!((_-CM == _-8l))))){ _local9 = _local3.m_xf.R; _local11 = (package.x - _local3.m_sweep.localCenter.x); _local12 = (package.y - _local3.m_sweep.localCenter.y); _local10 = ((_local9._-BW.x * _local11) + (_local9._-7N.x * _local12)); _local12 = ((_local9._-BW.y * _local11) + (_local9._-7N.y * _local12)); _local11 = _local10; _local9 = _local4.m_xf.R; _local13 = (_-Fp.x - _local4.m_sweep.localCenter.x); _local14 = (_-Fp.y - _local4.m_sweep.localCenter.y); _local10 = ((_local9._-BW.x * _local13) + (_local9._-7N.x * _local14)); _local14 = ((_local9._-BW.y * _local13) + (_local9._-7N.y * _local14)); _local13 = _local10; _local15 = (_local3.m_sweep.c.x + _local11); _local16 = (_local3.m_sweep.c.y + _local12); _local17 = (_local4.m_sweep.c.x + _local13); _local18 = (_local4.m_sweep.c.y + _local14); _local19 = (_local17 - _local15); _local20 = (_local18 - _local16); _local9 = _local3.m_xf.R; _local29 = ((_local9._-BW.x * _-DF.x) + (_local9._-7N.x * _-DF.y)); _local30 = ((_local9._-BW.y * _-DF.x) + (_local9._-7N.y * _-DF.y)); _local31 = ((_local29 * _local19) + (_local30 * _local20)); _local32 = 0; if (_-CM == _-Il){ _local1 = _-4U._-4z(_local31, -(_-00._-3p), _-00._-3p); _local32 = (-(_-E8) * _local1); _local25 = _-4U._-1P(_local25, _-4U.use(_local26)); } else { if (_-CM == _-HP){ _local1 = (_local31 - _-B5); _local25 = _-4U._-1P(_local25, -(_local1)); _local1 = _-4U._-4z((_local1 + _-00._-HK), -(_-00._-3p), 0); _local32 = (-(_-E8) * _local1); _local2 = _-AJ; _-AJ = _-4U._-1P((_-AJ + _local32), 0); _local32 = (_-AJ - _local2); } else { if (_-CM == _-Ei){ _local1 = (_local31 - _-1v); _local25 = _-4U._-1P(_local25, _local1); _local1 = _-4U._-4z((_local1 - _-00._-HK), 0, _-00._-3p); _local32 = (-(_-E8) * _local1); _local2 = _-AJ; _-AJ = _-4U._-Fr((_-AJ + _local32), 0); _local32 = (_-AJ - _local2); }; }; }; _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local5 * _local32) * _-DQ._-Be.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local5 * _local32) * _-DQ._-Be.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local7 * _local32) * _-DQ._-CR)); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + ((_local6 * _local32) * _-DQ._-Fv.x)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + ((_local6 * _local32) * _-DQ._-Fv.y)); _local4.m_sweep.a = (_local4.m_sweep.a + ((_local8 * _local32) * _-DQ._-Ft)); _local3._-A2(); _local4._-A2(); }; return ((((_local25 <= _-00._-HK)) && ((_local28 <= _-00._-Cm)))); } public function _-5(_arg1:Number):void{ _-q = _arg1; } public function _-H1():Number{ var _local3:_-8k; var _local1:_-Ih = _-6w; var _local2:_-Ih = _-78; _local3 = _local1.m_xf.R; var _local4:Number = (package.x - _local1.m_sweep.localCenter.x); var _local5:Number = (package.y - _local1.m_sweep.localCenter.y); var _local6:Number = ((_local3._-BW.x * _local4) + (_local3._-7N.x * _local5)); _local5 = ((_local3._-BW.y * _local4) + (_local3._-7N.y * _local5)); _local4 = _local6; _local3 = _local2.m_xf.R; var _local7:Number = (_-Fp.x - _local2.m_sweep.localCenter.x); var _local8:Number = (_-Fp.y - _local2.m_sweep.localCenter.y); _local6 = ((_local3._-BW.x * _local7) + (_local3._-7N.x * _local8)); _local8 = ((_local3._-BW.y * _local7) + (_local3._-7N.y * _local8)); _local7 = _local6; var _local9:Number = (_local1.m_sweep.c.x + _local4); var _local10:Number = (_local1.m_sweep.c.y + _local5); var _local11:Number = (_local2.m_sweep.c.x + _local7); var _local12:Number = (_local2.m_sweep.c.y + _local8); var _local13:Number = (_local11 - _local9); var _local14:Number = (_local12 - _local10); var _local15:b2Vec2 = _local1._-F6(_-DF); var _local16:b2Vec2 = _local1._-Hm; var _local17:b2Vec2 = _local2._-Hm; var _local18:Number = _local1.m_angularVelocity; var _local19:Number = _local2.m_angularVelocity; var _local20:Number = (((_local13 * (-(_local18) * _local15.y)) + (_local14 * (_local18 * _local15.x))) + ((_local15.x * (((_local17.x + (-(_local19) * _local8)) - _local16.x) - (-(_local18) * _local5))) + (_local15.y * (((_local17.y + (_local19 * _local7)) - _local16.y) - (_local18 * _local4))))); return (_local20); } override public function InitVelocityConstraints(_arg1:_-Ci):void{ var _local4:_-8k; var _local5:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local2:_-Ih = _-6w; var _local3:_-Ih = _-78; _local4 = _local2.m_xf.R; var _local6:Number = (package.x - _local2.m_sweep.localCenter.x); var _local7:Number = (package.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4._-BW.x * _local6) + (_local4._-7N.x * _local7)); _local7 = ((_local4._-BW.y * _local6) + (_local4._-7N.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (_-Fp.x - _local3.m_sweep.localCenter.x); var _local9:Number = (_-Fp.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4._-BW.x * _local8) + (_local4._-7N.x * _local9)); _local9 = ((_local4._-BW.y * _local8) + (_local4._-7N.y * _local9)); _local8 = _local5; var _local10:Number = _local2._-94; var _local11:Number = _local3._-94; var _local12:Number = _local2. do; var _local13:Number = _local3. do; _local4 = _local2.m_xf.R; var _local14:Number = ((_local4._-BW.x * _-9B.x) + (_local4._-7N.x * _-9B.y)); var _local15:Number = ((_local4._-BW.y * _-9B.x) + (_local4._-7N.y * _-9B.y)); var _local16:Number = ((_local3.m_sweep.c.x + _local8) - _local2.m_sweep.c.x); var _local17:Number = ((_local3.m_sweep.c.y + _local9) - _local2.m_sweep.c.y); _-H._-Be.x = -(_local14); _-H._-Be.y = -(_local15); _-H._-Fv.x = _local14; _-H._-Fv.y = _local15; _-H._-CR = -(((_local16 * _local15) - (_local17 * _local14))); _-H._-Ft = ((_local8 * _local15) - (_local9 * _local14)); _-Fu = (((_local10 + ((_local12 * _-H._-CR) * _-H._-CR)) + _local11) + ((_local13 * _-H._-Ft) * _-H._-Ft)); _-Fu = (1 / _-Fu); catch = (_local12 + _local13); if (catch > Number.MIN_VALUE){ catch = (1 / catch); }; if (((_-6B) || (_-0O))){ _local4 = _local2.m_xf.R; _local18 = ((_local4._-BW.x * _-DF.x) + (_local4._-7N.x * _-DF.y)); _local19 = ((_local4._-BW.y * _-DF.x) + (_local4._-7N.y * _-DF.y)); _-DQ._-Be.x = -(_local18); _-DQ._-Be.y = -(_local19); _-DQ._-Fv.x = _local18; _-DQ._-Fv.y = _local19; _-DQ._-CR = -(((_local16 * _local19) - (_local17 * _local18))); _-DQ._-Ft = ((_local8 * _local19) - (_local9 * _local18)); _-E8 = (((_local10 + ((_local12 * _-DQ._-CR) * _-DQ._-CR)) + _local11) + ((_local13 * _-DQ._-Ft) * _-DQ._-Ft)); _-E8 = (1 / _-E8); if (_-6B){ _local20 = (_local16 - _local6); _local21 = (_local17 - _local7); _local22 = ((_local18 * _local20) + (_local19 * _local21)); if (_-4U.use((_-1v - _-B5)) < (2 * _-00._-HK)){ _-CM = _-Il; } else { if (_local22 <= _-B5){ if (_-CM != _-HP){ _-Ev = 0; }; _-CM = _-HP; } else { if (_local22 >= _-1v){ if (_-CM != _-Ei){ _-Ev = 0; }; _-CM = _-Ei; } else { _-CM = _-8l; _-Ev = 0; }; }; }; }; }; if (_-0O == false){ _-0G = 0; }; if (_-6B == false){ _-Ev = 0; }; if (_arg1._-AN){ _local23 = (_arg1._-Fd * ((_-GQ * _-H._-Be.x) + ((_-0G + _-Ev) * _-DQ._-Be.x))); _local24 = (_arg1._-Fd * ((_-GQ * _-H._-Be.y) + ((_-0G + _-Ev) * _-DQ._-Be.y))); _local25 = (_arg1._-Fd * ((_-GQ * _-H._-Fv.x) + ((_-0G + _-Ev) * _-DQ._-Fv.x))); _local26 = (_arg1._-Fd * ((_-GQ * _-H._-Fv.y) + ((_-0G + _-Ev) * _-DQ._-Fv.y))); _local27 = (_arg1._-Fd * (((_-GQ * _-H._-CR) - _-GX) + ((_-0G + _-Ev) * _-DQ._-CR))); _local28 = (_arg1._-Fd * (((_-GQ * _-H._-Ft) + _-GX) + ((_-0G + _-Ev) * _-DQ._-Ft))); _local2._-Hm.x = (_local2._-Hm.x + (_local10 * _local23)); _local2._-Hm.y = (_local2._-Hm.y + (_local10 * _local24)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local12 * _local27)); _local3._-Hm.x = (_local3._-Hm.x + (_local11 * _local25)); _local3._-Hm.y = (_local3._-Hm.y + (_local11 * _local26)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local13 * _local28)); } else { _-GQ = 0; _-GX = 0; _-Ev = 0; _-0G = 0; }; _-AJ = 0; } public function _-8E():Number{ return (_-0G); } public function _-6D(_arg1:Boolean):void{ _-6B = _arg1; } public function _-E4(_arg1:Number):void{ finally = _arg1; } override public function GetReactionTorque():Number{ return (_-GX); } public function _-9K():Boolean{ return (_-6B); } public function _-By():Boolean{ return (_-0O); } public function _-BY(_arg1:Number, _arg2:Number):void{ _-B5 = _arg1; _-1v = _arg2; } } }//package _-Eq
Section 33
//_-7a (_-Eq._-7a) package _-Eq { import _-Hu.*; public class _-7a { public var _-3W:_-Ih; public var type:int; public var userData; public var _-0E:Boolean; public var _-Ha:_-Ih; public function _-7a(){ type = _-7k._-d; userData = null; _-Ha = null; _-3W = null; _-0E = false; } } }//package _-Eq
Section 34
//_-7k (_-Eq._-7k) package _-Eq { import Box2D.Common.Math.*; import _-Hu.*; public class _-7k { public var _-Cp:Boolean; public var _-6w:_-Ih; public var _-9J:_-7k; public var _-76:_-7k; public var m_type:int; public var _-s:Boolean; public var const:_-Ib; public var _-1f:_-Ib; public var _-E0:Number; public var m_userData; public var _-78:_-Ih; public static const _-d:int = 0; public static const _-8l:int = 0; public static const _-Ei:int = 2; public static const _-HP:int = 1; public static const _-6o:int = 6; public static const e_revoluteJoint:int = 1; public static const _-Il:int = 3; public static const _-HF:int = 3; public static const _-4A:int = 4; public static const _-E2:int = 2; public static const _-6d:int = 5; public function _-7k(_arg1:_-7a){ const = new _-Ib(); _-1f = new _-Ib(); super(); m_type = _arg1.type; _-9J = null; _-76 = null; _-6w = _arg1._-Ha; _-78 = _arg1._-3W; _-s = _arg1._-0E; _-Cp = false; m_userData = _arg1.userData; } public function _-15():_-Ih{ return (_-78); } public function GetAnchor1():b2Vec2{ return (null); } public function GetAnchor2():b2Vec2{ return (null); } public function _-83():_-7k{ return (_-76); } public function GetType():int{ return (m_type); } public function InitVelocityConstraints(_arg1:_-Ci):void{ } public function GetReactionTorque():Number{ return (0); } public function _-Ax(){ return (m_userData); } public function GetReactionForce():b2Vec2{ return (null); } public function SolvePositionConstraints():Boolean{ return (false); } public function _-6n(_arg1):void{ m_userData = _arg1; } public function _-73():_-Ih{ return (_-6w); } public function SolveVelocityConstraints(_arg1:_-Ci):void{ } public function _-FW():void{ } public static function _-Fg(_arg1:_-7k, _arg2):void{ } public static function _-16(_arg1:_-7a, _arg2):_-7k{ var _local3:_-7k; switch (_arg1.type){ case _-HF: _local3 = new _-AT((_arg1 as _-H4)); break; case _-6d: _local3 = new _-2a((_arg1 as for)); break; case _-E2: _local3 = new _-3r((_arg1 as _-96)); break; case e_revoluteJoint: _local3 = new _-82((_arg1 as _-1z)); break; case _-4A: _local3 = new _-Fq((_arg1 as _-C5)); break; case _-6o: _local3 = new _-D3((_arg1 as _-Ar)); break; default: break; }; return (_local3); } } }//package _-Eq
Section 35
//_-82 (_-Eq._-82) package _-Eq { import Box2D.Common.Math.*; import _-El.*; import _-Hu.*; public class _-82 extends _-7k { public var _-Ev:Number; public var _-7l:_-8k; public var _-0G:Number; public var _-6B:Boolean; public var _-CM:int; public var _-E8:Number; public var package:b2Vec2; public var _-Fp:b2Vec2; private var _-4o:_-8k; private var _-0m:_-8k; private var _-A:_-8k; private var _-Aa:_-8k; public var _-8G:b2Vec2; public var _-0O:Boolean; public var _-CX:Number; public var _-AJ:Number; public var _-q:Number; public var _-7p:Number; public var _-4:Number; public var _-DC:Number; public static var _-7J:b2Vec2 = new b2Vec2(); public function _-82(_arg1:_-1z){ _-Aa = new _-8k(); _-4o = new _-8k(); _-0m = new _-8k(); _-A = new _-8k(); package = new b2Vec2(); _-Fp = new b2Vec2(); _-8G = new b2Vec2(); _-7l = new _-8k(); super(_arg1); package._-8S(_arg1._-BG); _-Fp._-8S(_arg1._-5O); _-CX = _arg1._-6f; _-8G.Set(0, 0); _-0G = 0; _-Ev = 0; _-AJ = 0; _-4 = _arg1._-63; _-7p = _arg1._-Dd; _-DC = _arg1._-D4; _-q = _arg1._-6G; _-6B = _arg1._-DJ; _-0O = _arg1._-9Z; } override public function SolveVelocityConstraints(_arg1:_-Ci):void{ var _local4:_-8k; var _local5:Number; var _local10:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local2:_-Ih = _-6w; var _local3:_-Ih = _-78; _local4 = _local2.m_xf.R; var _local6:Number = (package.x - _local2.m_sweep.localCenter.x); var _local7:Number = (package.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4._-BW.x * _local6) + (_local4._-7N.x * _local7)); _local7 = ((_local4._-BW.y * _local6) + (_local4._-7N.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (_-Fp.x - _local3.m_sweep.localCenter.x); var _local9:Number = (_-Fp.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4._-BW.x * _local8) + (_local4._-7N.x * _local9)); _local9 = ((_local4._-BW.y * _local8) + (_local4._-7N.y * _local9)); _local8 = _local5; var _local11:Number = (((_local3._-Hm.x + (-(_local3.m_angularVelocity) * _local9)) - _local2._-Hm.x) - (-(_local2.m_angularVelocity) * _local7)); var _local12:Number = (((_local3._-Hm.y + (_local3.m_angularVelocity * _local8)) - _local2._-Hm.y) - (_local2.m_angularVelocity * _local6)); var _local13:Number = (-(_arg1._-EK) * ((_-7l._-BW.x * _local11) + (_-7l._-7N.x * _local12))); var _local14:Number = (-(_arg1._-EK) * ((_-7l._-BW.y * _local11) + (_-7l._-7N.y * _local12))); _-8G.x = (_-8G.x + _local13); _-8G.y = (_-8G.y + _local14); var _local15:Number = (_arg1._-Fd * _local13); _local16 = (_arg1._-Fd * _local14); _local2._-Hm.x = (_local2._-Hm.x - (_local2._-94 * _local15)); _local2._-Hm.y = (_local2._-Hm.y - (_local2._-94 * _local16)); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local2. do * ((_local6 * _local16) - (_local7 * _local15)))); _local3._-Hm.x = (_local3._-Hm.x + (_local3._-94 * _local15)); _local3._-Hm.y = (_local3._-Hm.y + (_local3._-94 * _local16)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3. do * ((_local8 * _local16) - (_local9 * _local15)))); if (((_-0O) && (!((_-CM == _-Il))))){ _local17 = ((_local3.m_angularVelocity - _local2.m_angularVelocity) - _-q); _local18 = ((-(_arg1._-EK) * _-E8) * _local17); _local19 = _-0G; _-0G = _-4U._-4z((_-0G + _local18), -(_-DC), _-DC); _local18 = (_-0G - _local19); _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_local2. do * _arg1._-Fd) * _local18)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3. do * _arg1._-Fd) * _local18)); }; if (((_-6B) && (!((_-CM == _-8l))))){ _local20 = (_local3.m_angularVelocity - _local2.m_angularVelocity); _local21 = ((-(_arg1._-EK) * _-E8) * _local20); if (_-CM == _-Il){ _-Ev = (_-Ev + _local21); } else { if (_-CM == _-HP){ _local10 = _-Ev; _-Ev = _-4U._-1P((_-Ev + _local21), 0); _local21 = (_-Ev - _local10); } else { if (_-CM == _-Ei){ _local10 = _-Ev; _-Ev = _-4U._-Fr((_-Ev + _local21), 0); _local21 = (_-Ev - _local10); }; }; }; _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_local2. do * _arg1._-Fd) * _local21)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3. do * _arg1._-Fd) * _local21)); }; } override public function GetAnchor1():b2Vec2{ return (_-6w.GetWorldPoint(package)); } override public function GetAnchor2():b2Vec2{ return (_-78.GetWorldPoint(_-Fp)); } public function _-DO():Number{ return (_-7p); } public function _-FO():Number{ return (_-4); } public function _-2K(_arg1:Boolean):void{ _-0O = _arg1; } public function _-19():Number{ return (_-q); } override public function GetReactionForce():b2Vec2{ return (_-8G); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local6:_-8k; var _local25:Number; var _local26:Number; var _local3:_-Ih = _-6w; var _local4:_-Ih = _-78; var _local5:Number = 0; _local6 = _local3.m_xf.R; var _local7:Number = (package.x - _local3.m_sweep.localCenter.x); var _local8:Number = (package.y - _local3.m_sweep.localCenter.y); var _local9:Number = ((_local6._-BW.x * _local7) + (_local6._-7N.x * _local8)); _local8 = ((_local6._-BW.y * _local7) + (_local6._-7N.y * _local8)); _local7 = _local9; _local6 = _local4.m_xf.R; var _local10:Number = (_-Fp.x - _local4.m_sweep.localCenter.x); var _local11:Number = (_-Fp.y - _local4.m_sweep.localCenter.y); _local9 = ((_local6._-BW.x * _local10) + (_local6._-7N.x * _local11)); _local11 = ((_local6._-BW.y * _local10) + (_local6._-7N.y * _local11)); _local10 = _local9; var _local12:Number = (_local3.m_sweep.c.x + _local7); var _local13:Number = (_local3.m_sweep.c.y + _local8); var _local14:Number = (_local4.m_sweep.c.x + _local10); var _local15:Number = (_local4.m_sweep.c.y + _local11); var _local16:Number = (_local14 - _local12); var _local17:Number = (_local15 - _local13); _local5 = Math.sqrt(((_local16 * _local16) + (_local17 * _local17))); var _local18:Number = _local3._-94; var _local19:Number = _local4._-94; var _local20:Number = _local3. do; var _local21:Number = _local4. do; _-4o._-BW.x = (_local18 + _local19); _-4o._-7N.x = 0; _-4o._-BW.y = 0; _-4o._-7N.y = (_local18 + _local19); _-0m._-BW.x = ((_local20 * _local8) * _local8); _-0m._-7N.x = ((-(_local20) * _local7) * _local8); _-0m._-BW.y = ((-(_local20) * _local7) * _local8); _-0m._-7N.y = ((_local20 * _local7) * _local7); _-A._-BW.x = ((_local21 * _local11) * _local11); _-A._-7N.x = ((-(_local21) * _local10) * _local11); _-A._-BW.y = ((-(_local21) * _local10) * _local11); _-A._-7N.y = ((_local21 * _local10) * _local10); _-Aa._-Bu(_-4o); _-Aa._-0S(_-0m); _-Aa._-0S(_-A); _-Aa._-HD(_-7J, -(_local16), -(_local17)); var _local22:Number = _-7J.x; var _local23:Number = _-7J.y; _local3.m_sweep.c.x = (_local3.m_sweep.c.x - (_local3._-94 * _local22)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y - (_local3._-94 * _local23)); _local3.m_sweep.a = (_local3.m_sweep.a - (_local3. do * ((_local7 * _local23) - (_local8 * _local22)))); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + (_local4._-94 * _local22)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + (_local4._-94 * _local23)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4. do * ((_local10 * _local23) - (_local11 * _local22)))); _local3._-A2(); _local4._-A2(); var _local24:Number = 0; if (((_-6B) && (!((_-CM == _-8l))))){ _local25 = ((_local4.m_sweep.a - _local3.m_sweep.a) - _-CX); _local26 = 0; if (_-CM == _-Il){ _local2 = _-4U._-4z(_local25, -(_-00._-Gb), _-00._-Gb); _local26 = (-(_-E8) * _local2); _local24 = _-4U.use(_local2); } else { if (_-CM == _-HP){ _local2 = (_local25 - _-4); _local24 = _-4U._-1P(0, -(_local2)); _local2 = _-4U._-4z((_local2 + _-00._-Cm), -(_-00._-Gb), 0); _local26 = (-(_-E8) * _local2); _local1 = _-AJ; _-AJ = _-4U._-1P((_-AJ + _local26), 0); _local26 = (_-AJ - _local1); } else { if (_-CM == _-Ei){ _local2 = (_local25 - _-7p); _local24 = _-4U._-1P(0, _local2); _local2 = _-4U._-4z((_local2 - _-00._-Cm), 0, _-00._-Gb); _local26 = (-(_-E8) * _local2); _local1 = _-AJ; _-AJ = _-4U._-Fr((_-AJ + _local26), 0); _local26 = (_-AJ - _local1); }; }; }; _local3.m_sweep.a = (_local3.m_sweep.a - (_local3. do * _local26)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4. do * _local26)); _local3._-A2(); _local4._-A2(); }; return ((((_local5 <= _-00._-HK)) && ((_local24 <= _-00._-Cm)))); } public function _-5(_arg1:Number):void{ _-q = _arg1; } public function _-H1():Number{ return ((_-78.m_angularVelocity - _-6w.m_angularVelocity)); } public function _-1E(_arg1:Number):void{ _-DC = _arg1; } public function _-BK():Number{ return (((_-78.m_sweep.a - _-6w.m_sweep.a) - _-CX)); } public function _-Dc():Number{ return (_-0G); } override public function InitVelocityConstraints(_arg1:_-Ci):void{ var _local2:_-Ih; var _local3:_-Ih; var _local4:_-8k; var _local5:Number; var _local7:Number; var _local14:Number; _local2 = _-6w; _local3 = _-78; _local4 = _local2.m_xf.R; var _local6:Number = (package.x - _local2.m_sweep.localCenter.x); _local7 = (package.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4._-BW.x * _local6) + (_local4._-7N.x * _local7)); _local7 = ((_local4._-BW.y * _local6) + (_local4._-7N.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (_-Fp.x - _local3.m_sweep.localCenter.x); var _local9:Number = (_-Fp.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4._-BW.x * _local8) + (_local4._-7N.x * _local9)); _local9 = ((_local4._-BW.y * _local8) + (_local4._-7N.y * _local9)); _local8 = _local5; var _local10:Number = _local2._-94; var _local11:Number = _local3._-94; var _local12:Number = _local2. do; var _local13:Number = _local3. do; _-4o._-BW.x = (_local10 + _local11); _-4o._-7N.x = 0; _-4o._-BW.y = 0; _-4o._-7N.y = (_local10 + _local11); _-0m._-BW.x = ((_local12 * _local7) * _local7); _-0m._-7N.x = ((-(_local12) * _local6) * _local7); _-0m._-BW.y = ((-(_local12) * _local6) * _local7); _-0m._-7N.y = ((_local12 * _local6) * _local6); _-A._-BW.x = ((_local13 * _local9) * _local9); _-A._-7N.x = ((-(_local13) * _local8) * _local9); _-A._-BW.y = ((-(_local13) * _local8) * _local9); _-A._-7N.y = ((_local13 * _local8) * _local8); _-Aa._-Bu(_-4o); _-Aa._-0S(_-0m); _-Aa._-0S(_-A); _-Aa._-9v(_-7l); _-E8 = (1 / (_local12 + _local13)); if (_-0O == false){ _-0G = 0; }; if (_-6B){ _local14 = ((_local3.m_sweep.a - _local2.m_sweep.a) - _-CX); if (_-4U.use((_-7p - _-4)) < (2 * _-00._-Cm)){ _-CM = _-Il; } else { if (_local14 <= _-4){ if (_-CM != _-HP){ _-Ev = 0; }; _-CM = _-HP; } else { if (_local14 >= _-7p){ if (_-CM != _-Ei){ _-Ev = 0; }; _-CM = _-Ei; } else { _-CM = _-8l; _-Ev = 0; }; }; }; } else { _-Ev = 0; }; if (_arg1._-AN){ _local2._-Hm.x = (_local2._-Hm.x - ((_arg1._-Fd * _local10) * _-8G.x)); _local2._-Hm.y = (_local2._-Hm.y - ((_arg1._-Fd * _local10) * _-8G.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_arg1._-Fd * _local12) * ((((_local6 * _-8G.y) - (_local7 * _-8G.x)) + _-0G) + _-Ev))); _local3._-Hm.x = (_local3._-Hm.x + ((_arg1._-Fd * _local11) * _-8G.x)); _local3._-Hm.y = (_local3._-Hm.y + ((_arg1._-Fd * _local11) * _-8G.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_arg1._-Fd * _local13) * ((((_local8 * _-8G.y) - (_local9 * _-8G.x)) + _-0G) + _-Ev))); } else { _-8G._-87(); _-0G = 0; _-Ev = 0; }; _-AJ = 0; } public function _-6D(_arg1:Boolean):void{ _-6B = _arg1; } override public function GetReactionTorque():Number{ return (_-Ev); } public function _-9K():Boolean{ return (_-6B); } public function _-By():Boolean{ return (_-0O); } public function _-BY(_arg1:Number, _arg2:Number):void{ _-4 = _arg1; _-7p = _arg2; } } }//package _-Eq
Section 36
//_-96 (_-Eq._-96) package _-Eq { import Box2D.Common.Math.*; import _-Hu.*; public class _-96 extends _-7a { public var _-6G:Number; public var _-5C:b2Vec2; public var _-6f:Number; public var _-5i:Number; public var _-BG:b2Vec2; public var _-5O:b2Vec2; public var _-DJ:Boolean; public var _-9Z:Boolean; public var _-V:Number; public var _-Ew:Number; public function _-96(){ _-BG = new b2Vec2(); _-5O = new b2Vec2(); _-5C = new b2Vec2(); super(); type = _-7k._-E2; _-5C.Set(1, 0); _-6f = 0; _-DJ = false; _-Ew = 0; _-5i = 0; _-9Z = false; _-V = 0; _-6G = 0; } public function _-D0(_arg1:_-Ih, _arg2:_-Ih, _arg3:b2Vec2, _arg4:b2Vec2):void{ _-Ha = _arg1; _-3W = _arg2; _-BG = _-Ha.GetLocalPoint(_arg3); _-5O = _-3W.GetLocalPoint(_arg3); _-5C = _-Ha.GetLocalVector(_arg4); _-6f = (_-3W.GetAngle() - _-Ha.GetAngle()); } } }//package _-Eq
Section 37
//_-Ar (_-Eq._-Ar) package _-Eq { public class _-Ar extends _-7a { public var _-F4:_-7k; public var _-Dj:_-7k; public var _-E:Number; public function _-Ar(){ type = _-7k._-6o; _-F4 = null; _-Dj = null; _-E = 1; } } }//package _-Eq
Section 38
//_-AT (_-Eq._-AT) package _-Eq { import Box2D.Common.Math.*; import _-El.*; import _-Hu.*; public class _-AT extends _-7k { public var package:b2Vec2; public var _-Fp:b2Vec2; public var _-CP:Number; public var _-HR:Number; public var _-97:b2Vec2; public var m_mass:Number; public var _-Gv:Number; public var _-A4:Number; public var _-Gr:Number; public var _-0W:Number; public function _-AT(_arg1:_-H4){ var _local2:_-8k; var _local3:Number; var _local4:Number; package = new b2Vec2(); _-Fp = new b2Vec2(); _-97 = new b2Vec2(); super(_arg1); package._-8S(_arg1._-BG); _-Fp._-8S(_arg1._-5O); _-0W = _arg1.length; _-Gr = _arg1._-GY; _-A4 = _arg1._-Ec; _-Gv = 0; _-HR = 0; _-CP = 0; _-E0 = 0; } override public function GetAnchor1():b2Vec2{ return (_-6w.GetWorldPoint(package)); } override public function GetAnchor2():b2Vec2{ return (_-78.GetWorldPoint(_-Fp)); } override public function InitVelocityConstraints(_arg1:_-Ci):void{ var _local2:_-8k; var _local3:Number; var _local4:_-Ih; var _local5:_-Ih; var _local6:Number; var _local8:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; _-E0 = _arg1._-EK; _local4 = _-6w; _local5 = _-78; _local2 = _local4.m_xf.R; _local6 = (package.x - _local4.m_sweep.localCenter.x); var _local7:Number = (package.y - _local4.m_sweep.localCenter.y); _local3 = ((_local2._-BW.x * _local6) + (_local2._-7N.x * _local7)); _local7 = ((_local2._-BW.y * _local6) + (_local2._-7N.y * _local7)); _local6 = _local3; _local2 = _local5.m_xf.R; _local8 = (_-Fp.x - _local5.m_sweep.localCenter.x); var _local9:Number = (_-Fp.y - _local5.m_sweep.localCenter.y); _local3 = ((_local2._-BW.x * _local8) + (_local2._-7N.x * _local9)); _local9 = ((_local2._-BW.y * _local8) + (_local2._-7N.y * _local9)); _local8 = _local3; _-97.x = (((_local5.m_sweep.c.x + _local8) - _local4.m_sweep.c.x) - _local6); _-97.y = (((_local5.m_sweep.c.y + _local9) - _local4.m_sweep.c.y) - _local7); var _local10:Number = Math.sqrt(((_-97.x * _-97.x) + (_-97.y * _-97.y))); if (_local10 > _-00._-HK){ _-97.Multiply((1 / _local10)); } else { _-97._-87(); }; var _local11:Number = ((_local6 * _-97.y) - (_local7 * _-97.x)); var _local12:Number = ((_local8 * _-97.y) - (_local9 * _-97.x)); var _local13:Number = (((_local4._-94 + ((_local4. do * _local11) * _local11)) + _local5._-94) + ((_local5. do * _local12) * _local12)); m_mass = (1 / _local13); if (_-Gr > 0){ _local14 = (_local10 - _-0W); _local15 = ((2 * Math.PI) * _-Gr); _local16 = (((2 * m_mass) * _-A4) * _local15); _local17 = ((m_mass * _local15) * _local15); _-HR = (1 / (_arg1._-Fd * (_local16 + (_arg1._-Fd * _local17)))); _-CP = (((_local14 * _arg1._-Fd) * _local17) * _-HR); m_mass = (1 / (_local13 + _-HR)); }; if (_arg1._-AN){ _-Gv = (_-Gv * _arg1._-6M); _local18 = (_-Gv * _-97.x); _local19 = (_-Gv * _-97.y); _local4._-Hm.x = (_local4._-Hm.x - (_local4._-94 * _local18)); _local4._-Hm.y = (_local4._-Hm.y - (_local4._-94 * _local19)); _local4.m_angularVelocity = (_local4.m_angularVelocity - (_local4. do * ((_local6 * _local19) - (_local7 * _local18)))); _local5._-Hm.x = (_local5._-Hm.x + (_local5._-94 * _local18)); _local5._-Hm.y = (_local5._-Hm.y + (_local5._-94 * _local19)); _local5.m_angularVelocity = (_local5.m_angularVelocity + (_local5. do * ((_local8 * _local19) - (_local9 * _local18)))); } else { _-Gv = 0; }; } override public function GetReactionTorque():Number{ return (0); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = new b2Vec2(); _local1._-8S(_-97); _local1.Multiply((_-E0 * _-Gv)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local1:_-8k; if (_-Gr > 0){ return (true); }; var _local2:_-Ih = _-6w; var _local3:_-Ih = _-78; _local1 = _local2.m_xf.R; var _local4:Number = (package.x - _local2.m_sweep.localCenter.x); var _local5:Number = (package.y - _local2.m_sweep.localCenter.y); var _local6:Number = ((_local1._-BW.x * _local4) + (_local1._-7N.x * _local5)); _local5 = ((_local1._-BW.y * _local4) + (_local1._-7N.y * _local5)); _local4 = _local6; _local1 = _local3.m_xf.R; var _local7:Number = (_-Fp.x - _local3.m_sweep.localCenter.x); var _local8:Number = (_-Fp.y - _local3.m_sweep.localCenter.y); _local6 = ((_local1._-BW.x * _local7) + (_local1._-7N.x * _local8)); _local8 = ((_local1._-BW.y * _local7) + (_local1._-7N.y * _local8)); _local7 = _local6; var _local9:Number = (((_local3.m_sweep.c.x + _local7) - _local2.m_sweep.c.x) - _local4); var _local10:Number = (((_local3.m_sweep.c.y + _local8) - _local2.m_sweep.c.y) - _local5); var _local11:Number = Math.sqrt(((_local9 * _local9) + (_local10 * _local10))); _local9 = (_local9 / _local11); _local10 = (_local10 / _local11); var _local12:Number = (_local11 - _-0W); _local12 = _-4U._-4z(_local12, -(_-00._-3p), _-00._-3p); var _local13:Number = (-(m_mass) * _local12); _-97.Set(_local9, _local10); var _local14:Number = (_local13 * _-97.x); var _local15:Number = (_local13 * _-97.y); _local2.m_sweep.c.x = (_local2.m_sweep.c.x - (_local2._-94 * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y - (_local2._-94 * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a - (_local2. do * ((_local4 * _local15) - (_local5 * _local14)))); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + (_local3._-94 * _local14)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + (_local3._-94 * _local15)); _local3.m_sweep.a = (_local3.m_sweep.a + (_local3. do * ((_local7 * _local15) - (_local8 * _local14)))); _local2._-A2(); _local3._-A2(); return ((_-4U.use(_local12) < _-00._-HK)); } override public function SolveVelocityConstraints(_arg1:_-Ci):void{ var _local2:_-8k; var _local3:_-Ih = _-6w; var _local4:_-Ih = _-78; _local2 = _local3.m_xf.R; var _local5:Number = (package.x - _local3.m_sweep.localCenter.x); var _local6:Number = (package.y - _local3.m_sweep.localCenter.y); var _local7:Number = ((_local2._-BW.x * _local5) + (_local2._-7N.x * _local6)); _local6 = ((_local2._-BW.y * _local5) + (_local2._-7N.y * _local6)); _local5 = _local7; _local2 = _local4.m_xf.R; var _local8:Number = (_-Fp.x - _local4.m_sweep.localCenter.x); var _local9:Number = (_-Fp.y - _local4.m_sweep.localCenter.y); _local7 = ((_local2._-BW.x * _local8) + (_local2._-7N.x * _local9)); _local9 = ((_local2._-BW.y * _local8) + (_local2._-7N.y * _local9)); _local8 = _local7; var _local10:Number = (_local3._-Hm.x + (-(_local3.m_angularVelocity) * _local6)); var _local11:Number = (_local3._-Hm.y + (_local3.m_angularVelocity * _local5)); var _local12:Number = (_local4._-Hm.x + (-(_local4.m_angularVelocity) * _local9)); var _local13:Number = (_local4._-Hm.y + (_local4.m_angularVelocity * _local8)); var _local14:Number = ((_-97.x * (_local12 - _local10)) + (_-97.y * (_local13 - _local11))); var _local15:Number = (-(m_mass) * ((_local14 + _-CP) + (_-HR * _-Gv))); _-Gv = (_-Gv + _local15); var _local16:Number = (_local15 * _-97.x); var _local17:Number = (_local15 * _-97.y); _local3._-Hm.x = (_local3._-Hm.x - (_local3._-94 * _local16)); _local3._-Hm.y = (_local3._-Hm.y - (_local3._-94 * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity - (_local3. do * ((_local5 * _local17) - (_local6 * _local16)))); _local4._-Hm.x = (_local4._-Hm.x + (_local4._-94 * _local16)); _local4._-Hm.y = (_local4._-Hm.y + (_local4._-94 * _local17)); _local4.m_angularVelocity = (_local4.m_angularVelocity + (_local4. do * ((_local8 * _local17) - (_local9 * _local16)))); } } }//package _-Eq
Section 39
//_-C5 (_-Eq._-C5) package _-Eq { import Box2D.Common.Math.*; import _-Hu.*; public class _-C5 extends _-7a { public var _-8B:Number; public var _-2r:Number; public var _-3C:Number; public var _-BG:b2Vec2; public var _-5O:b2Vec2; public var _-8b:b2Vec2; public var _-7B:b2Vec2; public var _-E:Number; public var _-4M:Number; public function _-C5(){ _-8b = new b2Vec2(); _-7B = new b2Vec2(); _-BG = new b2Vec2(); _-5O = new b2Vec2(); super(); type = _-7k._-4A; _-8b.Set(-1, 1); _-7B.Set(1, 1); _-BG.Set(-1, 0); _-5O.Set(1, 0); _-3C = 0; _-8B = 0; _-4M = 0; _-2r = 0; _-E = 1; _-0E = true; } public function _-D0(_arg1:_-Ih, _arg2:_-Ih, _arg3:b2Vec2, _arg4:b2Vec2, _arg5:b2Vec2, _arg6:b2Vec2, _arg7:Number):void{ _-Ha = _arg1; _-3W = _arg2; _-8b._-8S(_arg3); _-7B._-8S(_arg4); _-BG = _-Ha.GetLocalPoint(_arg5); _-5O = _-3W.GetLocalPoint(_arg6); var _local8:Number = (_arg5.x - _arg3.x); var _local9:Number = (_arg5.y - _arg3.y); _-3C = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); var _local10:Number = (_arg6.x - _arg4.x); var _local11:Number = (_arg6.y - _arg4.y); _-4M = Math.sqrt(((_local10 * _local10) + (_local11 * _local11))); _-E = _arg7; var _local12:Number = (_-3C + (_-E * _-4M)); _-8B = (_local12 - (_-E * _-Fq._-1e)); _-2r = ((_local12 - _-Fq._-1e) / _-E); } } }//package _-Eq
Section 40
//_-D3 (_-Eq._-D3) package _-Eq { import Box2D.Common.Math.*; import _-El.*; import _-Hu.*; public class _-D3 extends _-7k { public var _-8a:_-Ih; public var _-FC:b2Vec2; public var _-Bl:b2Vec2; public var package:b2Vec2; public var _-Fp:b2Vec2; public var _-1M:Number; public var _-4y:_-82; public var _-GQ:Number; public var m_mass:Number; public var _-EB:_-3r; public var _-12:_-Ih; public var native:_-82; public var use :_-3r; public var _-34:Number; public var _-5U:_-G5; public function _-D3(_arg1:_-Ar){ var _local4:Number; var _local5:Number; _-FC = new b2Vec2(); _-Bl = new b2Vec2(); package = new b2Vec2(); _-Fp = new b2Vec2(); _-5U = new _-G5(); super(_arg1); var _local2:int = _arg1._-F4.m_type; var _local3:int = _arg1._-Dj.m_type; native = null; use = null; _-4y = null; _-EB = null; _-12 = _arg1._-F4._-6w; _-6w = _arg1._-F4._-78; if (_local2 == _-7k.e_revoluteJoint){ native = (_arg1._-F4 as _-82); _-FC._-8S(native.package); package._-8S(native._-Fp); _local4 = native._-BK(); } else { use = (_arg1._-F4 as _-3r); _-FC._-8S(use .package); package._-8S(use ._-Fp); _local4 = use ._-DM(); }; _-8a = _arg1._-Dj._-6w; _-78 = _arg1._-Dj._-78; if (_local3 == _-7k.e_revoluteJoint){ _-4y = (_arg1._-Dj as _-82); _-Bl._-8S(_-4y.package); _-Fp._-8S(_-4y._-Fp); _local5 = _-4y._-BK(); } else { _-EB = (_arg1._-Dj as _-3r); _-Bl._-8S(_-EB.package); _-Fp._-8S(_-EB._-Fp); _local5 = _-EB._-DM(); }; _-1M = _arg1._-E; _-34 = (_local4 + (_-1M * _local5)); _-GQ = 0; } override public function GetAnchor1():b2Vec2{ return (_-6w.GetWorldPoint(package)); } override public function GetAnchor2():b2Vec2{ return (_-78.GetWorldPoint(_-Fp)); } override public function InitVelocityConstraints(_arg1:_-Ci):void{ var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:_-8k; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local15:Number; var _local2:_-Ih = _-12; var _local3:_-Ih = _-8a; var _local4:_-Ih = _-6w; var _local5:_-Ih = _-78; var _local14:Number = 0; _-5U._-87(); if (native){ _-5U._-CR = -1; _local14 = (_local14 + _local4. do); } else { _local10 = _local2.m_xf.R; _local11 = use ._-DF; _local6 = ((_local10._-BW.x * _local11.x) + (_local10._-7N.x * _local11.y)); _local7 = ((_local10._-BW.y * _local11.x) + (_local10._-7N.y * _local11.y)); _local10 = _local4.m_xf.R; _local8 = (package.x - _local4.m_sweep.localCenter.x); _local9 = (package.y - _local4.m_sweep.localCenter.y); _local13 = ((_local10._-BW.x * _local8) + (_local10._-7N.x * _local9)); _local9 = ((_local10._-BW.y * _local8) + (_local10._-7N.y * _local9)); _local8 = _local13; _local12 = ((_local8 * _local7) - (_local9 * _local6)); _-5U._-Be.Set(-(_local6), -(_local7)); _-5U._-CR = -(_local12); _local14 = (_local14 + (_local4._-94 + ((_local4. do * _local12) * _local12))); }; if (_-4y){ _-5U._-Ft = -(_-1M); _local14 = (_local14 + ((_-1M * _-1M) * _local5. do)); } else { _local10 = _local3.m_xf.R; _local11 = _-EB._-DF; _local6 = ((_local10._-BW.x * _local11.x) + (_local10._-7N.x * _local11.y)); _local7 = ((_local10._-BW.y * _local11.x) + (_local10._-7N.y * _local11.y)); _local10 = _local5.m_xf.R; _local8 = (_-Fp.x - _local5.m_sweep.localCenter.x); _local9 = (_-Fp.y - _local5.m_sweep.localCenter.y); _local13 = ((_local10._-BW.x * _local8) + (_local10._-7N.x * _local9)); _local9 = ((_local10._-BW.y * _local8) + (_local10._-7N.y * _local9)); _local8 = _local13; _local12 = ((_local8 * _local7) - (_local9 * _local6)); _-5U._-Fv.Set((-(_-1M) * _local6), (-(_-1M) * _local7)); _-5U._-Ft = (-(_-1M) * _local12); _local14 = (_local14 + ((_-1M * _-1M) * (_local5._-94 + ((_local5. do * _local12) * _local12)))); }; m_mass = (1 / _local14); if (_arg1._-AN){ _local15 = (_arg1._-Fd * _-GQ); _local4._-Hm.x = (_local4._-Hm.x + ((_local4._-94 * _local15) * _-5U._-Be.x)); _local4._-Hm.y = (_local4._-Hm.y + ((_local4._-94 * _local15) * _-5U._-Be.y)); _local4.m_angularVelocity = (_local4.m_angularVelocity + ((_local4. do * _local15) * _-5U._-CR)); _local5._-Hm.x = (_local5._-Hm.x + ((_local5._-94 * _local15) * _-5U._-Fv.x)); _local5._-Hm.y = (_local5._-Hm.y + ((_local5._-94 * _local15) * _-5U._-Fv.y)); _local5.m_angularVelocity = (_local5.m_angularVelocity + ((_local5. do * _local15) * _-5U._-Ft)); } else { _-GQ = 0; }; } override public function GetReactionTorque():Number{ var _local1:_-8k = _-78.m_xf.R; var _local2:Number = (package.x - _-78.m_sweep.localCenter.x); var _local3:Number = (package.y - _-78.m_sweep.localCenter.y); var _local4:Number = ((_local1._-BW.x * _local2) + (_local1._-7N.x * _local3)); _local3 = ((_local1._-BW.y * _local2) + (_local1._-7N.y * _local3)); _local2 = _local4; _local4 = ((_-GQ * _-5U._-Ft) - ((_local2 * (_-GQ * _-5U._-Fv.y)) - (_local3 * (_-GQ * _-5U._-Fv.x)))); return (_local4); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = new b2Vec2((_-GQ * _-5U._-Fv.x), (_-GQ * _-5U._-Fv.y)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local4:Number; var _local5:Number; var _local1:Number = 0; var _local2:_-Ih = _-6w; var _local3:_-Ih = _-78; if (native){ _local4 = native._-BK(); } else { _local4 = use ._-DM(); }; if (_-4y){ _local5 = _-4y._-BK(); } else { _local5 = _-EB._-DM(); }; var _local6:Number = (_-34 - (_local4 + (_-1M * _local5))); var _local7:Number = (-(m_mass) * _local6); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + ((_local2._-94 * _local7) * _-5U._-Be.x)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + ((_local2._-94 * _local7) * _-5U._-Be.y)); _local2.m_sweep.a = (_local2.m_sweep.a + ((_local2. do * _local7) * _-5U._-CR)); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local3._-94 * _local7) * _-5U._-Fv.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local3._-94 * _local7) * _-5U._-Fv.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local3. do * _local7) * _-5U._-Ft)); _local2._-A2(); _local3._-A2(); return ((_local1 < _-00._-HK)); } public function _-8K():Number{ return (_-1M); } override public function SolveVelocityConstraints(_arg1:_-Ci):void{ var _local2:_-Ih = _-6w; var _local3:_-Ih = _-78; var _local4:Number = _-5U._-8C(_local2._-Hm, _local2.m_angularVelocity, _local3._-Hm, _local3.m_angularVelocity); var _local5:Number = ((-(_arg1._-EK) * m_mass) * _local4); _-GQ = (_-GQ + _local5); var _local6:Number = (_arg1._-Fd * _local5); _local2._-Hm.x = (_local2._-Hm.x + ((_local2._-94 * _local6) * _-5U._-Be.x)); _local2._-Hm.y = (_local2._-Hm.y + ((_local2._-94 * _local6) * _-5U._-Be.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local2. do * _local6) * _-5U._-CR)); _local3._-Hm.x = (_local3._-Hm.x + ((_local3._-94 * _local6) * _-5U._-Fv.x)); _local3._-Hm.y = (_local3._-Hm.y + ((_local3._-94 * _local6) * _-5U._-Fv.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3. do * _local6) * _-5U._-Ft)); } } }//package _-Eq
Section 41
//_-Fq (_-Eq._-Fq) package _-Eq { import Box2D.Common.Math.*; import _-El.*; import _-Hu.*; public class _-Fq extends _-7k { public var _-7y:int; public var _-H2:int; public var _-Ag:_-Ih; public var _-99:Number; public var _-68:Number; public var _-1k:Number; public var _-5B:Number; public var _-GQ:Number; public var _-34:Number; public var _-Gy:Number; public var extends:int; public var _-1M:Number; public var _-FC:b2Vec2; public var _-Bl:b2Vec2; public var package:b2Vec2; public var _-Fp:b2Vec2; public var _-0I:Number; public var _-77:Number; public var _-EJ:Number; public var _-CY:b2Vec2; public var _-x:Number; public var _-AS:Number; public var _-1S:b2Vec2; public static const _-1e:Number = 2; public function _-Fq(_arg1:_-C5){ var _local2:_-8k; var _local3:Number; var _local4:Number; _-FC = new b2Vec2(); _-Bl = new b2Vec2(); package = new b2Vec2(); _-Fp = new b2Vec2(); _-CY = new b2Vec2(); _-1S = new b2Vec2(); super(_arg1); _-Ag = _-6w.m_world.m_groundBody; _-FC.x = (_arg1._-8b.x - _-Ag.m_xf.position.x); _-FC.y = (_arg1._-8b.y - _-Ag.m_xf.position.y); _-Bl.x = (_arg1._-7B.x - _-Ag.m_xf.position.x); _-Bl.y = (_arg1._-7B.y - _-Ag.m_xf.position.y); package._-8S(_arg1._-BG); _-Fp._-8S(_arg1._-5O); _-1M = _arg1._-E; _-34 = (_arg1._-3C + (_-1M * _arg1._-4M)); _-68 = _-4U._-Fr(_arg1._-8B, (_-34 - (_-1M * _-1e))); _-99 = _-4U._-Fr(_arg1._-2r, ((_-34 - _-1e) / _-1M)); _-GQ = 0; _-x = 0; _-AS = 0; } public function _-D6():b2Vec2{ var _local1:b2Vec2 = _-Ag.m_xf.position.Copy(); _local1.Add(_-Bl); return (_local1); } override public function GetAnchor1():b2Vec2{ return (_-6w.GetWorldPoint(package)); } override public function GetAnchor2():b2Vec2{ return (_-78.GetWorldPoint(_-Fp)); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = _-1S.Copy(); _local1.Multiply(_-GQ); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local3:_-8k; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local1:_-Ih = _-6w; var _local2:_-Ih = _-78; var _local4:Number = (_-Ag.m_xf.position.x + _-FC.x); var _local5:Number = (_-Ag.m_xf.position.y + _-FC.y); var _local6:Number = (_-Ag.m_xf.position.x + _-Bl.x); var _local7:Number = (_-Ag.m_xf.position.y + _-Bl.y); var _local23:Number = 0; if (extends == _-Ei){ _local3 = _local1.m_xf.R; _local8 = (package.x - _local1.m_sweep.localCenter.x); _local9 = (package.y - _local1.m_sweep.localCenter.y); _local22 = ((_local3._-BW.x * _local8) + (_local3._-7N.x * _local9)); _local9 = ((_local3._-BW.y * _local8) + (_local3._-7N.y * _local9)); _local8 = _local22; _local3 = _local2.m_xf.R; _local10 = (_-Fp.x - _local2.m_sweep.localCenter.x); _local11 = (_-Fp.y - _local2.m_sweep.localCenter.y); _local22 = ((_local3._-BW.x * _local10) + (_local3._-7N.x * _local11)); _local11 = ((_local3._-BW.y * _local10) + (_local3._-7N.y * _local11)); _local10 = _local22; _local12 = (_local1.m_sweep.c.x + _local8); _local13 = (_local1.m_sweep.c.y + _local9); _local14 = (_local2.m_sweep.c.x + _local10); _local15 = (_local2.m_sweep.c.y + _local11); _-CY.Set((_local12 - _local4), (_local13 - _local5)); _-1S.Set((_local14 - _local6), (_local15 - _local7)); _local16 = _-CY._-l(); _local17 = _-1S._-l(); if (_local16 > _-00._-HK){ _-CY.Multiply((1 / _local16)); } else { _-CY._-87(); }; if (_local17 > _-00._-HK){ _-1S.Multiply((1 / _local17)); } else { _-1S._-87(); }; _local18 = ((_-34 - _local16) - (_-1M * _local17)); _local23 = _-4U._-1P(_local23, -(_local18)); _local18 = _-4U._-4z((_local18 + _-00._-HK), -(_-00._-3p), 0); _local19 = (-(_-EJ) * _local18); _local20 = _-Gy; _-Gy = _-4U._-1P(0, (_-Gy + _local19)); _local19 = (_-Gy - _local20); _local12 = (-(_local19) * _-CY.x); _local13 = (-(_local19) * _-CY.y); _local14 = ((-(_-1M) * _local19) * _-1S.x); _local15 = ((-(_-1M) * _local19) * _-1S.y); _local1.m_sweep.c.x = (_local1.m_sweep.c.x + (_local1._-94 * _local12)); _local1.m_sweep.c.y = (_local1.m_sweep.c.y + (_local1._-94 * _local13)); _local1.m_sweep.a = (_local1.m_sweep.a + (_local1. do * ((_local8 * _local13) - (_local9 * _local12)))); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + (_local2._-94 * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + (_local2._-94 * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a + (_local2. do * ((_local10 * _local15) - (_local11 * _local14)))); _local1._-A2(); _local2._-A2(); }; if (_-7y == _-Ei){ _local3 = _local1.m_xf.R; _local8 = (package.x - _local1.m_sweep.localCenter.x); _local9 = (package.y - _local1.m_sweep.localCenter.y); _local22 = ((_local3._-BW.x * _local8) + (_local3._-7N.x * _local9)); _local9 = ((_local3._-BW.y * _local8) + (_local3._-7N.y * _local9)); _local8 = _local22; _local12 = (_local1.m_sweep.c.x + _local8); _local13 = (_local1.m_sweep.c.y + _local9); _-CY.Set((_local12 - _local4), (_local13 - _local5)); _local16 = _-CY._-l(); if (_local16 > _-00._-HK){ _-CY.x = (_-CY.x * (1 / _local16)); _-CY.y = (_-CY.y * (1 / _local16)); } else { _-CY._-87(); }; _local18 = (_-68 - _local16); _local23 = _-4U._-1P(_local23, -(_local18)); _local18 = _-4U._-4z((_local18 + _-00._-HK), -(_-00._-3p), 0); _local19 = (-(_-0I) * _local18); _local21 = _-1k; _-1k = _-4U._-1P(0, (_-1k + _local19)); _local19 = (_-1k - _local21); _local12 = (-(_local19) * _-CY.x); _local13 = (-(_local19) * _-CY.y); _local1.m_sweep.c.x = (_local1.m_sweep.c.x + (_local1._-94 * _local12)); _local1.m_sweep.c.y = (_local1.m_sweep.c.y + (_local1._-94 * _local13)); _local1.m_sweep.a = (_local1.m_sweep.a + (_local1. do * ((_local8 * _local13) - (_local9 * _local12)))); _local1._-A2(); }; if (_-H2 == _-Ei){ _local3 = _local2.m_xf.R; _local10 = (_-Fp.x - _local2.m_sweep.localCenter.x); _local11 = (_-Fp.y - _local2.m_sweep.localCenter.y); _local22 = ((_local3._-BW.x * _local10) + (_local3._-7N.x * _local11)); _local11 = ((_local3._-BW.y * _local10) + (_local3._-7N.y * _local11)); _local10 = _local22; _local14 = (_local2.m_sweep.c.x + _local10); _local15 = (_local2.m_sweep.c.y + _local11); _-1S.Set((_local14 - _local6), (_local15 - _local7)); _local17 = _-1S._-l(); if (_local17 > _-00._-HK){ _-1S.x = (_-1S.x * (1 / _local17)); _-1S.y = (_-1S.y * (1 / _local17)); } else { _-1S._-87(); }; _local18 = (_-99 - _local17); _local23 = _-4U._-1P(_local23, -(_local18)); _local18 = _-4U._-4z((_local18 + _-00._-HK), -(_-00._-3p), 0); _local19 = (-(_-77) * _local18); _local21 = _-5B; _-5B = _-4U._-1P(0, (_-5B + _local19)); _local19 = (_-5B - _local21); _local14 = (-(_local19) * _-1S.x); _local15 = (-(_local19) * _-1S.y); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + (_local2._-94 * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + (_local2._-94 * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a + (_local2. do * ((_local10 * _local15) - (_local11 * _local14)))); _local2._-A2(); }; return ((_local23 < _-00._-HK)); } override public function InitVelocityConstraints(_arg1:_-Ci):void{ var _local4:_-8k; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local2:_-Ih = _-6w; var _local3:_-Ih = _-78; _local4 = _local2.m_xf.R; var _local5:Number = (package.x - _local2.m_sweep.localCenter.x); var _local6:Number = (package.y - _local2.m_sweep.localCenter.y); var _local7:Number = ((_local4._-BW.x * _local5) + (_local4._-7N.x * _local6)); _local6 = ((_local4._-BW.y * _local5) + (_local4._-7N.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; var _local8:Number = (_-Fp.x - _local3.m_sweep.localCenter.x); var _local9:Number = (_-Fp.y - _local3.m_sweep.localCenter.y); _local7 = ((_local4._-BW.x * _local8) + (_local4._-7N.x * _local9)); _local9 = ((_local4._-BW.y * _local8) + (_local4._-7N.y * _local9)); _local8 = _local7; var _local10:Number = (_local2.m_sweep.c.x + _local5); var _local11:Number = (_local2.m_sweep.c.y + _local6); var _local12:Number = (_local3.m_sweep.c.x + _local8); var _local13:Number = (_local3.m_sweep.c.y + _local9); var _local14:Number = (_-Ag.m_xf.position.x + _-FC.x); var _local15:Number = (_-Ag.m_xf.position.y + _-FC.y); var _local16:Number = (_-Ag.m_xf.position.x + _-Bl.x); var _local17:Number = (_-Ag.m_xf.position.y + _-Bl.y); _-CY.Set((_local10 - _local14), (_local11 - _local15)); _-1S.Set((_local12 - _local16), (_local13 - _local17)); var _local18:Number = _-CY._-l(); var _local19:Number = _-1S._-l(); if (_local18 > _-00._-HK){ _-CY.Multiply((1 / _local18)); } else { _-CY._-87(); }; if (_local19 > _-00._-HK){ _-1S.Multiply((1 / _local19)); } else { _-1S._-87(); }; var _local20:Number = ((_-34 - _local18) - (_-1M * _local19)); if (_local20 > 0){ extends = _-8l; _-GQ = 0; } else { extends = _-Ei; _-Gy = 0; }; if (_local18 < _-68){ _-7y = _-8l; _-x = 0; } else { _-7y = _-Ei; _-1k = 0; }; if (_local19 < _-99){ _-H2 = _-8l; _-AS = 0; } else { _-H2 = _-Ei; _-5B = 0; }; var _local21:Number = ((_local5 * _-CY.y) - (_local6 * _-CY.x)); var _local22:Number = ((_local8 * _-1S.y) - (_local9 * _-1S.x)); _-0I = (_local2._-94 + ((_local2. do * _local21) * _local21)); _-77 = (_local3._-94 + ((_local3. do * _local22) * _local22)); _-EJ = (_-0I + ((_-1M * _-1M) * _-77)); _-0I = (1 / _-0I); _-77 = (1 / _-77); _-EJ = (1 / _-EJ); if (_arg1._-AN){ _local23 = ((_arg1._-Fd * (-(_-GQ) - _-x)) * _-CY.x); _local24 = ((_arg1._-Fd * (-(_-GQ) - _-x)) * _-CY.y); _local25 = ((_arg1._-Fd * ((-(_-1M) * _-GQ) - _-AS)) * _-1S.x); _local26 = ((_arg1._-Fd * ((-(_-1M) * _-GQ) - _-AS)) * _-1S.y); _local2._-Hm.x = (_local2._-Hm.x + (_local2._-94 * _local23)); _local2._-Hm.y = (_local2._-Hm.y + (_local2._-94 * _local24)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2. do * ((_local5 * _local24) - (_local6 * _local23)))); _local3._-Hm.x = (_local3._-Hm.x + (_local3._-94 * _local25)); _local3._-Hm.y = (_local3._-Hm.y + (_local3._-94 * _local26)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3. do * ((_local8 * _local26) - (_local9 * _local25)))); } else { _-GQ = 0; _-x = 0; _-AS = 0; }; } override public function GetReactionTorque():Number{ return (0); } public function _-8K():Number{ return (_-1M); } override public function SolveVelocityConstraints(_arg1:_-Ci):void{ var _local4:_-8k; var _local8:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local2:_-Ih = _-6w; var _local3:_-Ih = _-78; _local4 = _local2.m_xf.R; var _local5:Number = (package.x - _local2.m_sweep.localCenter.x); var _local6:Number = (package.y - _local2.m_sweep.localCenter.y); var _local7:Number = ((_local4._-BW.x * _local5) + (_local4._-7N.x * _local6)); _local6 = ((_local4._-BW.y * _local5) + (_local4._-7N.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; _local8 = (_-Fp.x - _local3.m_sweep.localCenter.x); var _local9:Number = (_-Fp.y - _local3.m_sweep.localCenter.y); _local7 = ((_local4._-BW.x * _local8) + (_local4._-7N.x * _local9)); _local9 = ((_local4._-BW.y * _local8) + (_local4._-7N.y * _local9)); _local8 = _local7; if (extends == _-Ei){ _local10 = (_local2._-Hm.x + (-(_local2.m_angularVelocity) * _local6)); _local11 = (_local2._-Hm.y + (_local2.m_angularVelocity * _local5)); _local12 = (_local3._-Hm.x + (-(_local3.m_angularVelocity) * _local9)); _local13 = (_local3._-Hm.y + (_local3.m_angularVelocity * _local8)); _local18 = (-(((_-CY.x * _local10) + (_-CY.y * _local11))) - (_-1M * ((_-1S.x * _local12) + (_-1S.y * _local13)))); _local19 = ((-(_arg1._-EK) * _-EJ) * _local18); _local20 = _-GQ; _-GQ = _-4U._-1P(0, (_-GQ + _local19)); _local19 = (_-GQ - _local20); _local14 = ((-(_arg1._-Fd) * _local19) * _-CY.x); _local15 = ((-(_arg1._-Fd) * _local19) * _-CY.y); _local16 = (((-(_arg1._-Fd) * _-1M) * _local19) * _-1S.x); _local17 = (((-(_arg1._-Fd) * _-1M) * _local19) * _-1S.y); _local2._-Hm.x = (_local2._-Hm.x + (_local2._-94 * _local14)); _local2._-Hm.y = (_local2._-Hm.y + (_local2._-94 * _local15)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2. do * ((_local5 * _local15) - (_local6 * _local14)))); _local3._-Hm.x = (_local3._-Hm.x + (_local3._-94 * _local16)); _local3._-Hm.y = (_local3._-Hm.y + (_local3._-94 * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3. do * ((_local8 * _local17) - (_local9 * _local16)))); }; if (_-7y == _-Ei){ _local10 = (_local2._-Hm.x + (-(_local2.m_angularVelocity) * _local6)); _local11 = (_local2._-Hm.y + (_local2.m_angularVelocity * _local5)); _local18 = -(((_-CY.x * _local10) + (_-CY.y * _local11))); _local19 = ((-(_arg1._-EK) * _-0I) * _local18); _local20 = _-x; _-x = _-4U._-1P(0, (_-x + _local19)); _local19 = (_-x - _local20); _local14 = ((-(_arg1._-Fd) * _local19) * _-CY.x); _local15 = ((-(_arg1._-Fd) * _local19) * _-CY.y); _local2._-Hm.x = (_local2._-Hm.x + (_local2._-94 * _local14)); _local2._-Hm.y = (_local2._-Hm.y + (_local2._-94 * _local15)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2. do * ((_local5 * _local15) - (_local6 * _local14)))); }; if (_-H2 == _-Ei){ _local12 = (_local3._-Hm.x + (-(_local3.m_angularVelocity) * _local9)); _local13 = (_local3._-Hm.y + (_local3.m_angularVelocity * _local8)); _local18 = -(((_-1S.x * _local12) + (_-1S.y * _local13))); _local19 = ((-(_arg1._-EK) * _-77) * _local18); _local20 = _-AS; _-AS = _-4U._-1P(0, (_-AS + _local19)); _local19 = (_-AS - _local20); _local16 = ((-(_arg1._-Fd) * _local19) * _-1S.x); _local17 = ((-(_arg1._-Fd) * _local19) * _-1S.y); _local3._-Hm.x = (_local3._-Hm.x + (_local3._-94 * _local16)); _local3._-Hm.y = (_local3._-Hm.y + (_local3._-94 * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3. do * ((_local8 * _local17) - (_local9 * _local16)))); }; } public function _-CW():Number{ var _local1:b2Vec2 = _-6w.GetWorldPoint(package); var _local2:Number = (_-Ag.m_xf.position.x + _-FC.x); var _local3:Number = (_-Ag.m_xf.position.y + _-FC.y); var _local4:Number = (_local1.x - _local2); var _local5:Number = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } public function _-IF():Number{ var _local1:b2Vec2 = _-78.GetWorldPoint(_-Fp); var _local2:Number = (_-Ag.m_xf.position.x + _-Bl.x); var _local3:Number = (_-Ag.m_xf.position.y + _-Bl.y); var _local4:Number = (_local1.x - _local2); var _local5:Number = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } public function _-Ce():b2Vec2{ var _local1:b2Vec2 = _-Ag.m_xf.position.Copy(); _local1.Add(_-FC); return (_local1); } } }//package _-Eq
Section 42
//_-G5 (_-Eq._-G5) package _-Eq { import Box2D.Common.Math.*; public class _-G5 { public var _-Be:b2Vec2; public var _-Fv:b2Vec2; public var _-CR:Number; public var _-Ft:Number; public function _-G5(){ _-Be = new b2Vec2(); _-Fv = new b2Vec2(); super(); } public function Set(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):void{ _-Be._-8S(_arg1); _-CR = _arg2; _-Fv._-8S(_arg3); _-Ft = _arg4; } public function _-87():void{ _-Be._-87(); _-CR = 0; _-Fv._-87(); _-Ft = 0; } public function _-8C(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):Number{ return ((((((_-Be.x * _arg1.x) + (_-Be.y * _arg1.y)) + (_-CR * _arg2)) + ((_-Fv.x * _arg3.x) + (_-Fv.y * _arg3.y))) + (_-Ft * _arg4))); } } }//package _-Eq
Section 43
//_-H4 (_-Eq._-H4) package _-Eq { import Box2D.Common.Math.*; import _-Hu.*; public class _-H4 extends _-7a { public var _-BG:b2Vec2; public var length:Number; public var _-Ec:Number; public var _-5O:b2Vec2; public var _-GY:Number; public function _-H4(){ _-BG = new b2Vec2(); _-5O = new b2Vec2(); super(); type = _-7k._-HF; length = 1; _-GY = 0; _-Ec = 0; } public function _-D0(_arg1:_-Ih, _arg2:_-Ih, _arg3:b2Vec2, _arg4:b2Vec2):void{ _-Ha = _arg1; _-3W = _arg2; _-BG._-8S(_-Ha.GetLocalPoint(_arg3)); _-5O._-8S(_-3W.GetLocalPoint(_arg4)); var _local5:Number = (_arg4.x - _arg3.x); var _local6:Number = (_arg4.y - _arg3.y); length = Math.sqrt(((_local5 * _local5) + (_local6 * _local6))); _-GY = 0; _-Ec = 0; } } }//package _-Eq
Section 44
//_-Ib (_-Eq._-Ib) package _-Eq { import _-Hu.*; public class _-Ib { public var _-3M:_-Ih; public var next:_-Ib; public var _-8u:_-Ib; public var _-BQ:_-7k; } }//package _-Eq
Section 45
//_-09 (_-Hu._-09) package _-Hu { import Box2D.Common.Math.*; import _-Ao.*; public class _-09 { public var _-0Z:Number; public var angle:Number; public var _-9S:Boolean; public var position:b2Vec2; public var _-2b:Boolean; public var _-j:Boolean; public var userData; public var _-2m:Boolean; public var _-Av:Number; public var _-6Y:_-Hf; public function _-09(){ _-6Y = new _-Hf(); position = new b2Vec2(); super(); _-6Y.center._-87(); _-6Y._-5G = 0; _-6Y._-EZ = 0; userData = null; position.Set(0, 0); angle = 0; _-Av = 0; _-0Z = 0; _-j = true; _-9S = false; _-2m = false; _-2b = false; } } }//package _-Hu
Section 46
//_-5- (_-Hu._-5-) package _-Hu { import Box2D.Collision.*; import _-2q.*; public class _-5- { public function Add(_arg1:_-B8):void{ } public function _-Cd(_arg1:_-B8):void{ } public function _-07(_arg1:_-B8):void{ } public function _-U(_arg1:_-Bv):void{ } } }//package _-Hu
Section 47
//_-9- (_-Hu._-9-) package _-Hu { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-Ao.*; import _-2q.*; public class _-9- extends _-Gk { public var m_world:_-Dp; public var _-Bs:Boolean; public var _-Hl:_-Dk; private static const _-8N:_-B8 = new _-B8(); public function _-9-(){ _-Hl = new _-Dk(); super(); m_world = null; _-Bs = false; } override public function PairRemoved(_arg1, _arg2, _arg3):void{ if (_arg3 == null){ return; }; var _local4:_-9O = (_arg3 as _-9O); if (_local4 == _-Hl){ return; }; _-Fg(_local4); } public function _-Fg(_arg1:_-9O):void{ var _local7:_-Ih; var _local8:_-Ih; var _local9:Array; var _local10:_-B8; var _local11:int; var _local12:_-I4; var _local13:int; var _local14:_-Ey; var _local15:b2Vec2; var _local16:b2Vec2; var _local2:_-8J = _arg1._-3y; var _local3:_-8J = _arg1._-8Q; var _local4:int = _arg1._-5R; if ((((_local4 > 0)) && (m_world._-7H))){ _local7 = _local2.m_body; _local8 = _local3.m_body; _local9 = _arg1.GetManifolds(); _local10 = _-8N; _local10.shape1 = _arg1._-3y; _local10.shape2 = _arg1._-3y; _local10._-5c = _arg1. set; _local10._-9n = _arg1._-De; _local11 = 0; while (_local11 < _local4) { _local12 = _local9[_local11]; _local10.normal._-8S(_local12.normal); _local13 = 0; while (_local13 < _local12._-1y) { _local14 = _local12.points[_local13]; _local10.position = _local7.GetWorldPoint(_local14._-P); _local15 = _local7._-1c(_local14._-P); _local16 = _local8._-1c(_local14._-1H); _local10._-9R.Set((_local16.x - _local15.x), (_local16.y - _local15.y)); _local10._-Es = _local14._-Es; _local10.id.key = _local14.id._-30; m_world._-7H._-Cd(_local10); _local13++; }; _local11++; }; }; if (_arg1._-9J){ _arg1._-9J._-76 = _arg1._-76; }; if (_arg1._-76){ _arg1._-76._-9J = _arg1._-9J; }; if (_arg1 == m_world._-GD){ m_world._-GD = _arg1._-76; }; var _local5:_-Ih = _local2.m_body; var _local6:_-Ih = _local3.m_body; if (_arg1.const._-8u){ _arg1.const._-8u.next = _arg1.const.next; }; if (_arg1.const.next){ _arg1.const.next._-8u = _arg1.const._-8u; }; if (_arg1.const == _local5._-GD){ _local5._-GD = _arg1.const.next; }; if (_arg1._-1f._-8u){ _arg1._-1f._-8u.next = _arg1._-1f.next; }; if (_arg1._-1f.next){ _arg1._-1f.next._-8u = _arg1._-1f._-8u; }; if (_arg1._-1f == _local6._-GD){ _local6._-GD = _arg1._-1f.next; }; _-9O._-Fg(_arg1, m_world._-8v); m_world._-32--; } override public function PairAdded(_arg1, _arg2){ var _local5:_-Ih; var _local3:_-8J = (_arg1 as _-8J); var _local4:_-8J = (_arg2 as _-8J); _local5 = _local3.m_body; var _local6:_-Ih = _local4.m_body; if (((_local5.IsStatic()) && (_local6.IsStatic()))){ return (_-Hl); }; if (_local3.m_body == _local4.m_body){ return (_-Hl); }; if (_local6._-CG(_local5)){ return (_-Hl); }; if (((!((m_world._-7f == null))) && ((m_world._-7f._-4l(_local3, _local4) == false)))){ return (_-Hl); }; var _local7:_-9O = _-9O._-16(_local3, _local4, m_world._-8v); if (_local7 == null){ return (_-Hl); }; _local3 = _local7._-3y; _local4 = _local7._-8Q; _local5 = _local3.m_body; _local6 = _local4.m_body; _local7._-9J = null; _local7._-76 = m_world._-GD; if (m_world._-GD != null){ m_world._-GD._-9J = _local7; }; m_world._-GD = _local7; _local7.const._-4v = _local7; _local7.const._-3M = _local6; _local7.const._-8u = null; _local7.const.next = _local5._-GD; if (_local5._-GD != null){ _local5._-GD._-8u = _local7.const; }; _local5._-GD = _local7.const; _local7._-1f._-4v = _local7; _local7._-1f._-3M = _local5; _local7._-1f._-8u = null; _local7._-1f.next = _local6._-GD; if (_local6._-GD != null){ _local6._-GD._-8u = _local7._-1f; }; _local6._-GD = _local7._-1f; m_world._-32++; return (_local7); } public function _-F2():void{ var _local2:_-Ih; var _local3:_-Ih; var _local1:_-9O = m_world._-GD; while (_local1) { _local2 = _local1._-3y.m_body; _local3 = _local1._-8Q.m_body; if (((_local2.IsSleeping()) && (_local3.IsSleeping()))){ } else { _local1._-E1(m_world._-7H); }; _local1 = _local1._-76; }; } } }//package _-Hu
Section 48
//_-Ci (_-Hu._-Ci) package _-Hu { public class _-Ci { public var _-AN:Boolean; public var _-J:Boolean; public var _-Fd:Number; public var _-5p:int; public var _-6M:Number; public var _-EK:Number; } }//package _-Hu
Section 49
//_-CK (_-Hu._-CK) package _-Hu { import _-Ao.*; import _-Eq.*; public class _-CK { public function _-HW(_arg1:_-8J):void{ } public function _-M(_arg1:_-7k):void{ } } }//package _-Hu
Section 50
//_-Dp (_-Hu._-Dp) package _-Hu { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-Ao.*; import _-2q.*; import _-Eq.*; public class _-Dp { public var _-8T:Number; public var _-31:true ; public var _-GD:_-9O; public var _-8v; public var _-7H:_-5-; public var _-0h:_-ID; public var _-7Y:_-Gx; public var _-4e:_-CK; public var _-IQ:int; public var _-Ig:Boolean; public var _-Ex:int; public var _-9H; public var _-Io:Boolean; public var _-CT:int; public var m_groundBody:_-Ih; public var _-32:int; public var _-7q:b2Vec2; public var _-7f:_-Ie; public var _-1T:_-Ih; public var _-Ah:_-E7; public var _-2Y; public var _-FZ:_-7k; public var _-8m:b2Vec2; public var _-DY:_-9-; private static var false:_-Dw = new _-Dw(0.5, 0.8, 0.8); public static var _-I7:Boolean; public static var _-1g:Boolean; private static var _-6v:_-Dw = new _-Dw(0.9, 0.6, 0.6); public static var _-Eo:Boolean; private static var _-2z:_-0X = new _-0X(); public function _-Dp(_arg1:_-9E, _arg2:b2Vec2, _arg3:Boolean){ _-7q = new b2Vec2(); _-DY = new _-9-(); super(); _-4e = null; _-31 = null; _-7f = _-Ie._-GJ; _-7H = null; _-Ah = null; _-1T = null; _-GD = null; _-FZ = null; _-Ex = 0; _-32 = 0; _-IQ = 0; _-Eo = true; _-1g = true; _-I7 = true; _-Io = _arg3; _-8m = _arg2; _-Ig = false; _-8T = 0; _-DY.m_world = this; _-7Y = new _-Gx(_arg1, _-DY); var _local4:_-09 = new _-09(); m_groundBody = _-IW(_local4); } public function _-1K(_arg1:_-7k):void{ var _local11:_-Fq; var _local12:b2Vec2; var _local13:b2Vec2; var _local2:_-Ih = _arg1._-6w; var _local3:_-Ih = _arg1._-78; var _local4:_-0X = _local2.m_xf; var _local5:_-0X = _local3.m_xf; var _local6:b2Vec2 = _local4.position; var _local7:b2Vec2 = _local5.position; var _local8:b2Vec2 = _arg1.GetAnchor1(); var _local9:b2Vec2 = _arg1.GetAnchor2(); var _local10:_-Dw = false; switch (_arg1.m_type){ case _-7k._-HF: _-Ah._-BL(_local8, _local9, _local10); break; case _-7k._-4A: _local11 = (_arg1 as _-Fq); _local12 = _local11._-Ce(); _local13 = _local11._-D6(); _-Ah._-BL(_local12, _local8, _local10); _-Ah._-BL(_local13, _local9, _local10); _-Ah._-BL(_local12, _local13, _local10); break; case _-7k._-6d: _-Ah._-BL(_local8, _local9, _local10); break; default: if (_local2 != m_groundBody){ _-Ah._-BL(_local6, _local8, _local10); }; _-Ah._-BL(_local8, _local9, _local10); if (_local3 != m_groundBody){ _-Ah._-BL(_local7, _local9, _local10); }; }; } public function _-6C(_arg1:_-8J):void{ _arg1._-H3(_-7Y, _arg1.m_body.m_xf); } public function _-57(_arg1:_-E7):void{ _-Ah = _arg1; } public function _-85(_arg1:Boolean):void{ _-I7 = _arg1; } public function _-ES():int{ return (_-7Y._-2i); } public function _-B7():void{ var _local2:int; var _local3:_-Ih; var _local4:_-8J; var _local5:_-7k; var _local6:_-Gx; var _local11:_-0X; var _local15:Boolean; var _local16:uint; var _local17:_-Gj; var _local18:_-8A; var _local19:_-8A; var _local20:b2Vec2; var _local21:b2Vec2; var _local22:_-8A; var _local23:_-2f; var _local24:_-80; var _local25:b2Vec2; var _local26:_-8k; var _local27:b2Vec2; var _local28:Number; if (_-Ah == null){ return; }; _-Ah._-9c.graphics.clear(); var _local1:uint = _-Ah._-B3(); var _local7:b2Vec2 = new b2Vec2(); var _local8:b2Vec2 = new b2Vec2(); var _local9:b2Vec2 = new b2Vec2(); var _local10:_-Dw = new _-Dw(0, 0, 0); var _local12:_-9E = new _-9E(); var _local13:_-9E = new _-9E(); var _local14:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2(), new b2Vec2()]; if ((_local1 & _-E7._-HM)){ _local15 = ((_local1 & _-E7._-9W) == _-E7._-9W); _local3 = _-1T; while (_local3) { _local11 = _local3.m_xf; _local4 = _local3._-1L(); while (_local4) { if (_local3.IsStatic()){ _-Bq(_local4, _local11, new _-Dw(0.5, 0.9, 0.5), _local15); } else { if (_local3.IsSleeping()){ _-Bq(_local4, _local11, new _-Dw(0.5, 0.5, 0.9), _local15); } else { _-Bq(_local4, _local11, new _-Dw(0.9, 0.9, 0.9), _local15); }; }; _local4 = _local4._-76; }; _local3 = _local3._-76; }; }; if ((_local1 & _-E7._-1q)){ _local5 = _-FZ; while (_local5) { _-1K(_local5); _local5 = _local5._-76; }; }; if ((_local1 & _-E7._-33)){ _local6 = _-7Y; _local7.Set((1 / _local6._-I5.x), (1 / _local6._-I5.y)); _local10.Set(0.9, 0.9, 0.3); _local2 = 0; while (_local2 < _-Gj._-AU) { _local16 = _local6._-1t._-CO[_local2]; while (_local16 != _-Gj._-7b) { _local17 = _local6._-1t._-51[_local16]; _local18 = _local6._-DX[_local17.proxyId1]; _local19 = _local6._-DX[_local17.proxyId2]; _local12._-6Q.x = (_local6._-93._-6Q.x + (_local7.x * _local6._-Co[0][_local18._-Bw[0]].value)); _local12._-6Q.y = (_local6._-93._-6Q.y + (_local7.y * _local6._-Co[1][_local18._-Bw[1]].value)); _local12._-AF.x = (_local6._-93._-6Q.x + (_local7.x * _local6._-Co[0][_local18._-B0[0]].value)); _local12._-AF.y = (_local6._-93._-6Q.y + (_local7.y * _local6._-Co[1][_local18._-B0[1]].value)); _local13._-6Q.x = (_local6._-93._-6Q.x + (_local7.x * _local6._-Co[0][_local19._-Bw[0]].value)); _local13._-6Q.y = (_local6._-93._-6Q.y + (_local7.y * _local6._-Co[1][_local19._-Bw[1]].value)); _local13._-AF.x = (_local6._-93._-6Q.x + (_local7.x * _local6._-Co[0][_local19._-B0[0]].value)); _local13._-AF.y = (_local6._-93._-6Q.y + (_local7.y * _local6._-Co[1][_local19._-B0[1]].value)); _local8.x = (0.5 * (_local12._-6Q.x + _local12._-AF.x)); _local8.y = (0.5 * (_local12._-6Q.y + _local12._-AF.y)); _local9.x = (0.5 * (_local13._-6Q.x + _local13._-AF.x)); _local9.y = (0.5 * (_local13._-6Q.y + _local13._-AF.y)); _-Ah._-BL(_local8, _local9, _local10); _local16 = _local17.next; }; _local2++; }; }; if ((_local1 & _-E7._-Hx)){ _local6 = _-7Y; _local20 = _local6._-93._-6Q; _local21 = _local6._-93._-AF; _local7.Set((1 / _local6._-I5.x), (1 / _local6._-I5.y)); _local10.Set(0.9, 0.3, 0.9); _local2 = 0; while (_local2 < _-00._-7s) { _local22 = _local6._-DX[_local2]; if (_local22._-7R() == false){ } else { _local12._-6Q.x = (_local20.x + (_local7.x * _local6._-Co[0][_local22._-Bw[0]].value)); _local12._-6Q.y = (_local20.y + (_local7.y * _local6._-Co[1][_local22._-Bw[1]].value)); _local12._-AF.x = (_local20.x + (_local7.x * _local6._-Co[0][_local22._-B0[0]].value)); _local12._-AF.y = (_local20.y + (_local7.y * _local6._-Co[1][_local22._-B0[1]].value)); _local14[0].Set(_local12._-6Q.x, _local12._-6Q.y); _local14[1].Set(_local12._-AF.x, _local12._-6Q.y); _local14[2].Set(_local12._-AF.x, _local12._-AF.y); _local14[3].Set(_local12._-6Q.x, _local12._-AF.y); _-Ah._-67(_local14, 4, _local10); }; _local2++; }; _local14[0].Set(_local20.x, _local20.y); _local14[1].Set(_local21.x, _local20.y); _local14[2].Set(_local21.x, _local21.y); _local14[3].Set(_local20.x, _local21.y); _-Ah._-67(_local14, 4, new _-Dw(0.3, 0.9, 0.9)); }; if ((_local1 & _-E7._-0K)){ _local10.Set(0.5, 0.3, 0.5); _local3 = _-1T; while (_local3) { _local11 = _local3.m_xf; _local4 = _local3._-1L(); while (_local4) { if (_local4.m_type != _-8J._-Fs){ } else { _local23 = (_local4 as _-2f); _local24 = _local23._-Am(); _local25 = _local24._-Bf; _local14[0].Set(-(_local25.x), -(_local25.y)); _local14[1].Set(_local25.x, -(_local25.y)); _local14[2].Set(_local25.x, _local25.y); _local14[3].Set(-(_local25.x), _local25.y); _local2 = 0; while (_local2 < 4) { _local26 = _local24.R; _local27 = _local14[_local2]; _local28 = (_local24.center.x + ((_local26._-BW.x * _local27.x) + (_local26._-7N.x * _local27.y))); _local14[_local2].y = (_local24.center.y + ((_local26._-BW.y * _local27.x) + (_local26._-7N.y * _local27.y))); _local14[_local2].x = _local28; _local26 = _local11.R; _local28 = (_local11.position.x + ((_local26._-BW.x * _local27.x) + (_local26._-7N.x * _local27.y))); _local14[_local2].y = (_local11.position.y + ((_local26._-BW.y * _local27.x) + (_local26._-7N.y * _local27.y))); _local14[_local2].x = _local28; _local2++; }; _-Ah._-67(_local14, 4, _local10); }; _local4 = _local4._-76; }; _local3 = _local3._-76; }; }; if ((_local1 & _-E7._-FY)){ _local3 = _-1T; while (_local3) { _local11 = _-2z; _local11.R = _local3.m_xf.R; _local11.position = _local3._-1l(); _-Ah._-9o(_local11); _local3 = _local3._-76; }; }; } public function _-HC(_arg1:_-Ih):void{ var _local4:_-Ib; var _local5:_-8J; if (_-Ig == true){ return; }; var _local2:_-Ib = _arg1._-FZ; while (_local2) { _local4 = _local2; _local2 = _local2.next; if (_-4e){ _-4e._-M(_local4._-BQ); }; _-A7(_local4._-BQ); }; var _local3:_-8J = _arg1._-4s; while (_local3) { _local5 = _local3; _local3 = _local3._-76; if (_-4e){ _-4e._-HW(_local5); }; _local5._-66(_-7Y); _-8J._-Fg(_local5, _-8v); }; if (_arg1._-9J){ _arg1._-9J._-76 = _arg1._-76; }; if (_arg1._-76){ _arg1._-76._-9J = _arg1._-9J; }; if (_arg1 == _-1T){ _-1T = _arg1._-76; }; _-Ex--; } public function _-Bq(_arg1:_-8J, _arg2:_-0X, _arg3:_-Dw, _arg4:Boolean):void{ var _local6:_-Cx; var _local7:b2Vec2; var _local8:Number; var _local9:b2Vec2; var _local10:int; var _local11:_-2f; var _local12:int; var _local13:Array; var _local14:Array; var _local15:Array; var _local5:_-Dw = _-6v; switch (_arg1.m_type){ case _-8J.implements: _local6 = (_arg1 as _-Cx); _local7 = _-4U._-CZ(_arg2, _local6._-42); _local8 = _local6._-Db; _local9 = _arg2.R._-BW; _-Ah._-G0(_local7, _local8, _local9, _arg3); if (_arg4){ _-Ah._-Ct(_local7, (_local8 - _-00._-7j), _local5); }; break; case _-8J._-Fs: _local11 = (_arg1 as _-2f); _local12 = _local11._-10(); _local13 = _local11._-8c(); _local14 = new Array(_-00.for ); _local10 = 0; while (_local10 < _local12) { _local14[_local10] = _-4U._-CZ(_arg2, _local13[_local10]); _local10++; }; _-Ah._-CH(_local14, _local12, _arg3); if (_arg4){ _local15 = _local11._-3m(); _local10 = 0; while (_local10 < _local12) { _local14[_local10] = _-4U._-CZ(_arg2, _local15[_local10]); _local10++; }; _-Ah._-67(_local14, _local12, _local5); }; break; }; } public function _-1w():_-Ih{ return (m_groundBody); } public function _-8h(_arg1:_-Ie):void{ _-7f = _arg1; } public function _-HD(_arg1:_-Ci):void{ var _local2:_-Ih; var _local9:int; var _local10:int; var _local11:_-Ih; var _local12:_-H9; var _local13:_-Ib; var _local14:Boolean; _-CT = 0; var _local3:_-EL = new _-EL(_-Ex, _-32, _-IQ, _-2Y, _-7H); _local2 = _-1T; while (_local2) { _local2._-Az = (_local2._-Az & ~(_-Ih._-CL)); _local2 = _local2._-76; }; var _local4:_-9O = _-GD; while (_local4) { _local4._-Az = (_local4._-Az & ~(_-9O._-CL)); _local4 = _local4._-76; }; var _local5:_-7k = _-FZ; while (_local5) { _local5._-Cp = false; _local5 = _local5._-76; }; var _local6:int = _-Ex; var _local7:Array = new Array(_local6); var _local8:_-Ih = _-1T; while (_local8) { if ((_local8._-Az & ((_-Ih._-CL | _-Ih._-6y) | _-Ih._-8j))){ } else { if (_local8.IsStatic()){ } else { _local3._-1W(); _local9 = 0; var _temp1 = _local9; _local9 = (_local9 + 1); var _local15 = _temp1; _local7[_local15] = _local8; _local8._-Az = (_local8._-Az | _-Ih._-CL); while (_local9 > 0) { --_local9; _local2 = _local7[_local9]; _local3._-7O(_local2); _local2._-Az = (_local2._-Az & ~(_-Ih._-6y)); if (_local2.IsStatic()){ } else { _local12 = _local2._-GD; while (_local12) { if ((_local12._-4v._-Az & (_-9O._-CL | _-9O._-Ae))){ } else { if (_local12._-4v._-5R == 0){ } else { _local3._-Ge(_local12._-4v); _local12._-4v._-Az = (_local12._-4v._-Az | _-9O._-CL); _local11 = _local12._-3M; if ((_local11._-Az & _-Ih._-CL)){ } else { var _temp2 = _local9; _local9 = (_local9 + 1); var _local16 = _temp2; _local7[_local16] = _local11; _local11._-Az = (_local11._-Az | _-Ih._-CL); }; }; }; _local12 = _local12.next; }; _local13 = _local2._-FZ; while (_local13) { if (_local13._-BQ._-Cp == true){ } else { _local3._-7M(_local13._-BQ); _local13._-BQ._-Cp = true; _local11 = _local13._-3M; if ((_local11._-Az & _-Ih._-CL)){ } else { var _temp3 = _local9; _local9 = (_local9 + 1); _local16 = _temp3; _local7[_local16] = _local11; _local11._-Az = (_local11._-Az | _-Ih._-CL); }; }; _local13 = _local13.next; }; }; }; _local3._-HD(_arg1, _-8m, _-Eo, _-Io); if (_local3._-CT > _-CT){ _-CT = _local3._-CT; }; _local10 = 0; while (_local10 < _local3._-Ex) { _local2 = _local3._-Ab[_local10]; if (_local2.IsStatic()){ _local2._-Az = (_local2._-Az & ~(_-Ih._-CL)); }; _local10++; }; }; }; _local8 = _local8._-76; }; _local2 = _-1T; while (_local2) { if ((_local2._-Az & (_-Ih._-6y | _-Ih._-8j))){ } else { if (_local2.IsStatic()){ } else { _local14 = _local2._-5Y(); if ((((_local14 == false)) && (!((_-31 == null))))){ _-31.else(_local2); }; }; }; _local2 = _local2._-76; }; _-7Y.dynamic(); } public function _-3L(_arg1:_-9E, _arg2:Array, _arg3:int):int{ var _local4:Array = new Array(_arg3); var _local5:int = _-7Y._-1A(_arg1, _local4, _arg3); var _local6:int; while (_local6 < _local5) { _arg2[_local6] = _local4[_local6]; _local6++; }; return (_local5); } public function _-z():int{ return (_-32); } public function _-2C(_arg1:_-Ci):void{ var _local2:_-Ih; var _local3:_-8J; var _local4:_-8J; var _local5:_-Ih; var _local6:_-Ih; var _local7:_-H9; var _local11:_-9O; var _local12:_-9O; var _local13:Number; var _local14:_-Ih; var _local15:int; var _local16:_-Ci; var _local17:int; var _local18:Number; var _local19:Number; var _local20:_-Ih; var _local21:Boolean; var _local8:_-EL = new _-EL(_-Ex, _-00._-8i, 0, _-2Y, _-7H); var _local9:int = _-Ex; var _local10:Array = new Array(_local9); _local2 = _-1T; while (_local2) { _local2._-Az = (_local2._-Az & ~(_-Ih._-CL)); _local2.m_sweep._-Hp = 0; _local2 = _local2._-76; }; _local11 = _-GD; while (_local11) { _local11._-Az = (_local11._-Az & ~((_-9O._-Ez | _-9O._-CL))); _local11 = _local11._-76; }; while (true) { _local12 = null; _local13 = 1; _local11 = _-GD; for (;_local11;(_local11 = _local11._-76)) { if ((_local11._-Az & (_-9O._-B6 | _-9O._-Ae))){ } else { _local18 = 1; if ((_local11._-Az & _-9O._-Ez)){ _local18 = _local11._-AQ; } else { _local3 = _local11._-3y; _local4 = _local11._-8Q; _local5 = _local3.m_body; _local6 = _local4.m_body; if (((((_local5.IsStatic()) || (_local5.IsSleeping()))) && (((_local6.IsStatic()) || (_local6.IsSleeping()))))){ continue; }; _local19 = _local5.m_sweep._-Hp; if (_local5.m_sweep._-Hp < _local6.m_sweep._-Hp){ _local19 = _local6.m_sweep._-Hp; _local5.m_sweep._-3a(_local19); } else { if (_local6.m_sweep._-Hp < _local5.m_sweep._-Hp){ _local19 = _local5.m_sweep._-Hp; _local6.m_sweep._-3a(_local19); }; }; _local18 = _-0b._-GI(_local11._-3y, _local5.m_sweep, _local11._-8Q, _local6.m_sweep); if ((((_local18 > 0)) && ((_local18 < 1)))){ _local18 = (((1 - _local18) * _local19) + _local18); if (_local18 > 1){ _local18 = 1; }; }; _local11._-AQ = _local18; _local11._-Az = (_local11._-Az | _-9O._-Ez); }; if ((((Number.MIN_VALUE < _local18)) && ((_local18 < _local13)))){ _local12 = _local11; _local13 = _local18; }; }; }; if ((((_local12 == null)) || (((1 - (100 * Number.MIN_VALUE)) < _local13)))){ break; }; _local3 = _local12._-3y; _local4 = _local12._-8Q; _local5 = _local3.m_body; _local6 = _local4.m_body; _local5._-3a(_local13); _local6._-3a(_local13); _local12._-E1(_-7H); _local12._-Az = (_local12._-Az & ~(_-9O._-Ez)); if (_local12._-5R == 0){ } else { _local14 = _local5; if (_local14.IsStatic()){ _local14 = _local6; }; _local8._-1W(); _local15 = 0; var _temp1 = _local15; _local15 = (_local15 + 1); var _local22 = _temp1; _local10[_local22] = _local14; _local14._-Az = (_local14._-Az | _-Ih._-CL); while (_local15 > 0) { --_local15; _local2 = _local10[_local15]; _local8._-7O(_local2); _local2._-Az = (_local2._-Az & ~(_-Ih._-6y)); if (_local2.IsStatic()){ } else { _local7 = _local2._-GD; while (_local7) { if (_local8._-32 == _local8._-Dl){ } else { if ((_local7._-4v._-Az & ((_-9O._-CL | _-9O._-B6) | _-9O._-Ae))){ } else { if (_local7._-4v._-5R == 0){ } else { _local8._-Ge(_local7._-4v); _local7._-4v._-Az = (_local7._-4v._-Az | _-9O._-CL); _local20 = _local7._-3M; if ((_local20._-Az & _-Ih._-CL)){ } else { if (_local20.IsStatic() == false){ _local20._-3a(_local13); _local20.WakeUp(); }; var _temp2 = _local15; _local15 = (_local15 + 1); var _local23 = _temp2; _local10[_local23] = _local20; _local20._-Az = (_local20._-Az | _-Ih._-CL); }; }; }; }; _local7 = _local7.next; }; }; }; _local16 = new _-Ci(); _local16._-Fd = ((1 - _local13) * _arg1._-Fd); _local16._-EK = (1 / _local16._-Fd); _local16._-5p = _arg1._-5p; _local8._-2C(_local16); _local17 = 0; while (_local17 < _local8._-Ex) { _local2 = _local8._-Ab[_local17]; _local2._-Az = (_local2._-Az & ~(_-Ih._-CL)); if ((_local2._-Az & (_-Ih._-6y | _-Ih._-8j))){ } else { if (_local2.IsStatic()){ } else { _local21 = _local2._-5Y(); if ((((_local21 == false)) && (!((_-31 == null))))){ _-31.else(_local2); }; _local7 = _local2._-GD; while (_local7) { _local7._-4v._-Az = (_local7._-4v._-Az & ~(_-9O._-Ez)); _local7 = _local7.next; }; }; }; _local17++; }; _local17 = 0; while (_local17 < _local8._-32) { _local11 = _local8._-BR[_local17]; _local8._-BR[_local17]._-Az = (_local11._-Az & ~((_-9O._-Ez | _-9O._-CL))); _local17++; }; _-7Y.dynamic(); }; }; } public function _-0y():_-7k{ return (_-FZ); } public function _-Dq():void{ _-7Y._-Dq(); } public function _-HX(_arg1:b2Vec2):void{ _-8m = _arg1; } public function _-5h():int{ return (_-7Y._-1t._-Aq); } public function _-8F():_-Ih{ return (_-1T); } public function _-In(_arg1:Boolean):void{ _-1g = _arg1; } public function _-8w(_arg1:Boolean):void{ _-Eo = _arg1; } public function _-Bt(_arg1:_-7a):_-7k{ var _local3:_-Ih; var _local4:_-8J; var _local2:_-7k = _-7k._-16(_arg1, _-8v); _local2._-9J = null; _local2._-76 = _-FZ; if (_-FZ){ _-FZ._-9J = _local2; }; _-FZ = _local2; _-IQ++; _local2.const._-BQ = _local2; _local2.const._-3M = _local2._-78; _local2.const._-8u = null; _local2.const.next = _local2._-6w._-FZ; if (_local2._-6w._-FZ){ _local2._-6w._-FZ._-8u = _local2.const; }; _local2._-6w._-FZ = _local2.const; _local2._-1f._-BQ = _local2; _local2._-1f._-3M = _local2._-6w; _local2._-1f._-8u = null; _local2._-1f.next = _local2._-78._-FZ; if (_local2._-78._-FZ){ _local2._-78._-FZ._-8u = _local2._-1f; }; _local2._-78._-FZ = _local2._-1f; if (_arg1._-0E == false){ _local3 = ((_arg1._-Ha._-GA < _arg1._-3W._-GA)) ? _arg1._-Ha : _arg1._-3W; _local4 = _local3._-4s; while (_local4) { _local4._-H3(_-7Y, _local3.m_xf); _local4 = _local4._-76; }; }; return (_local2); } public function _-A7(_arg1:_-7k):void{ var _local5:_-Ih; var _local6:_-8J; var _local2:Boolean = _arg1._-s; if (_arg1._-9J){ _arg1._-9J._-76 = _arg1._-76; }; if (_arg1._-76){ _arg1._-76._-9J = _arg1._-9J; }; if (_arg1 == _-FZ){ _-FZ = _arg1._-76; }; var _local3:_-Ih = _arg1._-6w; var _local4:_-Ih = _arg1._-78; _local3.WakeUp(); _local4.WakeUp(); if (_arg1.const._-8u){ _arg1.const._-8u.next = _arg1.const.next; }; if (_arg1.const.next){ _arg1.const.next._-8u = _arg1.const._-8u; }; if (_arg1.const == _local3._-FZ){ _local3._-FZ = _arg1.const.next; }; _arg1.const._-8u = null; _arg1.const.next = null; if (_arg1._-1f._-8u){ _arg1._-1f._-8u.next = _arg1._-1f.next; }; if (_arg1._-1f.next){ _arg1._-1f.next._-8u = _arg1._-1f._-8u; }; if (_arg1._-1f == _local4._-FZ){ _local4._-FZ = _arg1._-1f.next; }; _arg1._-1f._-8u = null; _arg1._-1f.next = null; _-7k._-Fg(_arg1, _-8v); _-IQ--; if (_local2 == false){ _local5 = ((_local3._-GA < _local4._-GA)) ? _local3 : _local4; _local6 = _local5._-4s; while (_local6) { _local6._-H3(_-7Y, _local5.m_xf); _local6 = _local6._-76; }; }; } public function _-6S(_arg1:_-5-):void{ _-7H = _arg1; } public function _-GS(_arg1:_-ID, _arg2:Array, _arg3:int, _arg4:Boolean, _arg5):int{ var _local7:int; var _local6:Array = new Array(_arg3); _-0h = _arg1; _-9H = _arg5; if (_arg4){ _local7 = _-7Y._-Hh(_arg1, _local6, _arg3, _-Bo); } else { _local7 = _-7Y._-Hh(_arg1, _local6, _arg3, _-Bh); }; var _local8:int; while (_local8 < _local7) { _arg2[_local8] = _local6[_local8]; _local8++; }; return (_local7); } public function _-Bh(_arg1:_-8J){ if (((_-7f) && (!(_-7f._-4g(_-9H, _arg1))))){ return (-1); }; var _local2:_-Ih = _arg1.GetBody(); var _local3:_-0X = _local2._-9p(); var _local4:Array = [0]; if (_arg1.TestSegment(_local3, _local4, _-7q, _-0h, 1) != _-8J._-1o){ return (-1); }; return (_local4[0]); } public function _-8P(_arg1:_-ID, _arg2:Array, _arg3:b2Vec2, _arg4:Boolean, _arg5):_-8J{ var _local6:Array = new Array(1); var _local7:Number = _-GS(_arg1, _local6, 1, _arg4, _arg5); if (_local7 == 0){ return (null); }; if (_local7 > 1){ trace(_local7); }; var _local8:_-8J = _local6[0]; var _local9:_-0X = _local8.GetBody()._-9p(); _local8.TestSegment(_local9, _arg2, _arg3, _arg1, 1); return (_local8); } public function _-IW(_arg1:_-09):_-Ih{ if (_-Ig == true){ return (null); }; var _local2:_-Ih = new _-Ih(_arg1, this); _local2._-9J = null; _local2._-76 = _-1T; if (_-1T){ _-1T._-9J = _local2; }; _-1T = _local2; _-Ex++; return (_local2); } public function _-Bo(_arg1:_-8J){ if (((_-7f) && (!(_-7f._-4g(_-9H, _arg1))))){ return (-1); }; var _local2:_-Ih = _arg1.GetBody(); var _local3:_-0X = _local2._-9p(); var _local4:Array = [0]; if (_arg1.TestSegment(_local3, _local4, _-7q, _-0h, 1) == _-8J._-7G){ return (-1); }; return (_local4[0]); } public function _-4N(_arg1:true ):void{ _-31 = _arg1; } public function _-0R(_arg1:_-CK):void{ _-4e = _arg1; } public function _-13(_arg1:Number, _arg2:int):void{ _-Ig = true; var _local3:_-Ci = new _-Ci(); _local3._-Fd = _arg1; _local3._-5p = _arg2; if (_arg1 > 0){ _local3._-EK = (1 / _arg1); } else { _local3._-EK = 0; }; _local3._-6M = (_-8T * _arg1); _local3._-J = _-Eo; _local3._-AN = _-1g; _-DY._-F2(); if (_local3._-Fd > 0){ _-HD(_local3); }; if (((_-I7) && ((_local3._-Fd > 0)))){ _-2C(_local3); }; _-B7(); _-8T = _local3._-EK; _-Ig = false; } public function _-BN():int{ return (_-Ex); } public function _-Bg():int{ return (_-IQ); } } }//package _-Hu
Section 51
//_-E7 (_-Hu._-E7) package _-Hu { import flash.display.*; import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-Ao.*; import _-2q.*; public class _-E7 { public var _-2n:Number;// = 1 public var _-EV:Number;// = 1 public var _-G8:Number;// = 1 public var _-Gp:uint; public var _-8p:Number;// = 1 public var _-9h:Number;// = 1 public var _-9c:Sprite; public static var _-9W:uint = 4; public static var _-HM:uint = 1; public static var _-FY:uint = 64; public static var _-Hx:uint = 8; public static var _-0K:uint = 16; public static var _-33:uint = 32; public static var _-1q:uint = 2; public function _-E7(){ _-Gp = 0; } public function _-IM(_arg1:uint):void{ _-Gp = (_-Gp & ~(_arg1)); } public function _-8e(_arg1:uint):void{ _-Gp = _arg1; } public function _-5J(_arg1:uint):void{ _-Gp = (_-Gp | _arg1); } public function _-BL(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:_-Dw):void{ _-9c.graphics.lineStyle(_-8p, _arg3.color, _-G8); _-9c.graphics.moveTo((_arg1.x * _-9h), (_arg1.y * _-9h)); _-9c.graphics.lineTo((_arg2.x * _-9h), (_arg2.y * _-9h)); } public function _-CH(_arg1:Array, _arg2:int, _arg3:_-Dw):void{ _-9c.graphics.lineStyle(_-8p, _arg3.color, _-G8); _-9c.graphics.moveTo((_arg1[0].x * _-9h), (_arg1[0].y * _-9h)); _-9c.graphics.beginFill(_arg3.color, _-EV); var _local4 = 1; while (_local4 < _arg2) { _-9c.graphics.lineTo((_arg1[_local4].x * _-9h), (_arg1[_local4].y * _-9h)); _local4++; }; _-9c.graphics.lineTo((_arg1[0].x * _-9h), (_arg1[0].y * _-9h)); _-9c.graphics.endFill(); } public function _-Ct(_arg1:b2Vec2, _arg2:Number, _arg3:_-Dw):void{ _-9c.graphics.lineStyle(_-8p, _arg3.color, _-G8); _-9c.graphics.drawCircle((_arg1.x * _-9h), (_arg1.y * _-9h), (_arg2 * _-9h)); } public function _-67(_arg1:Array, _arg2:int, _arg3:_-Dw):void{ _-9c.graphics.lineStyle(_-8p, _arg3.color, _-G8); _-9c.graphics.moveTo((_arg1[0].x * _-9h), (_arg1[0].y * _-9h)); var _local4 = 1; while (_local4 < _arg2) { _-9c.graphics.lineTo((_arg1[_local4].x * _-9h), (_arg1[_local4].y * _-9h)); _local4++; }; _-9c.graphics.lineTo((_arg1[0].x * _-9h), (_arg1[0].y * _-9h)); } public function _-G0(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:_-Dw):void{ _-9c.graphics.lineStyle(_-8p, _arg4.color, _-G8); _-9c.graphics.moveTo(0, 0); _-9c.graphics.beginFill(_arg4.color, _-EV); _-9c.graphics.drawCircle((_arg1.x * _-9h), (_arg1.y * _-9h), (_arg2 * _-9h)); _-9c.graphics.endFill(); _-9c.graphics.moveTo((_arg1.x * _-9h), (_arg1.y * _-9h)); _-9c.graphics.lineTo(((_arg1.x + (_arg3.x * _arg2)) * _-9h), ((_arg1.y + (_arg3.y * _arg2)) * _-9h)); } public function _-B3():uint{ return (_-Gp); } public function _-9o(_arg1:_-0X):void{ _-9c.graphics.lineStyle(_-8p, 0xFF0000, _-G8); _-9c.graphics.moveTo((_arg1.position.x * _-9h), (_arg1.position.y * _-9h)); _-9c.graphics.lineTo(((_arg1.position.x + (_-2n * _arg1.R._-BW.x)) * _-9h), ((_arg1.position.y + (_-2n * _arg1.R._-BW.y)) * _-9h)); _-9c.graphics.lineStyle(_-8p, 0xFF00, _-G8); _-9c.graphics.moveTo((_arg1.position.x * _-9h), (_arg1.position.y * _-9h)); _-9c.graphics.lineTo(((_arg1.position.x + (_-2n * _arg1.R._-7N.x)) * _-9h), ((_arg1.position.y + (_-2n * _arg1.R._-7N.y)) * _-9h)); } } }//package _-Hu
Section 52
//_-EL (_-Hu._-EL) package _-Hu { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-El.*; import _-2q.*; import _-Eq.*; public class _-EL { public var _-4m:_-5-; public var _-CT:int; public var _-6u:int; public var _-Ab:Array; public var _-11:Array; public var _-0-:int; public var _-32:int; public var _-BR:Array; public var _-Dl:int; public var _-IQ:int; public var _-I9; public var _-Ex:int; private static var _-3S:_-Bv = new _-Bv(); public function _-EL(_arg1:int, _arg2:int, _arg3:int, _arg4, _arg5:_-5-){ var _local6:int; super(); _-6u = _arg1; _-Dl = _arg2; _-0- = _arg3; _-Ex = 0; _-32 = 0; _-IQ = 0; _-I9 = _arg4; _-4m = _arg5; _-Ab = new Array(_arg1); _local6 = 0; while (_local6 < _arg1) { _-Ab[_local6] = null; _local6++; }; _-BR = new Array(_arg2); _local6 = 0; while (_local6 < _arg2) { _-BR[_local6] = null; _local6++; }; _-11 = new Array(_arg3); _local6 = 0; while (_local6 < _arg3) { _-11[_local6] = null; _local6++; }; _-CT = 0; } public function _-7O(_arg1:_-Ih):void{ var _local2 = _-Ex++; _-Ab[_local2] = _arg1; } public function _-7M(_arg1:_-7k):void{ var _local2 = _-IQ++; _-11[_local2] = _arg1; } public function _-Gh(_arg1:Array):void{ var _local2:_-8k; var _local3:b2Vec2; var _local5:_-9O; var _local6:_-AG; var _local7:_-Bv; var _local8:_-Ih; var _local9:int; var _local10:Array; var _local11:int; var _local12:_-I4; var _local13:int; var _local14:_-Ey; var _local15:_-6z; if (_-4m == null){ return; }; var _local4:int; while (_local4 < _-32) { _local5 = _-BR[_local4]; _local6 = _arg1[_local4]; _local7 = _-3S; _local7.shape1 = _local5._-3y; _local7.shape2 = _local5._-8Q; _local8 = _local7.shape1.m_body; _local9 = _local5._-5R; _local10 = _local5.GetManifolds(); _local11 = 0; while (_local11 < _local9) { _local12 = _local10[_local11]; _local7.normal._-8S(_local12.normal); _local13 = 0; while (_local13 < _local12._-1y) { _local14 = _local12.points[_local13]; _local15 = _local6.points[_local13]; _local7.position = _local8.GetWorldPoint(_local14._-P); _local7._-n = _local15._-n; _local7._-2s = _local15._-2s; _local7.id.key = _local14.id.key; _-4m._-U(_local7); _local13++; }; _local11++; }; _local4++; }; } public function _-Ge(_arg1:_-9O):void{ var _local2 = _-32++; _-BR[_local2] = _arg1; } public function _-HD(_arg1:_-Ci, _arg2:b2Vec2, _arg3:Boolean, _arg4:Boolean):void{ var _local5:int; var _local6:_-Ih; var _local7:_-7k; var _local9:int; var _local10:Boolean; var _local11:Boolean; var _local12:Boolean; var _local13:Number; var _local14:Number; var _local15:Number; _local5 = 0; while (_local5 < _-Ex) { _local6 = _-Ab[_local5]; if (_local6.IsStatic()){ } else { _local6._-Hm.x = (_local6._-Hm.x + (_arg1._-Fd * (_arg2.x + (_local6._-94 * _local6._-GQ.x)))); _local6._-Hm.y = (_local6._-Hm.y + (_arg1._-Fd * (_arg2.y + (_local6._-94 * _local6._-GQ.y)))); _local6.m_angularVelocity = (_local6.m_angularVelocity + ((_arg1._-Fd * _local6. do) * _local6._-GX)); _local6._-GQ._-87(); _local6._-GX = 0; _local6._-Hm.Multiply(_-4U._-4z((1 - (_arg1._-Fd * _local6._-7L)), 0, 1)); _local6.m_angularVelocity = (_local6.m_angularVelocity * _-4U._-4z((1 - (_arg1._-Fd * _local6._-D2)), 0, 1)); if (_local6._-Hm._-2S() > _-00._-A9){ _local6._-Hm._-4j(); _local6._-Hm.x = (_local6._-Hm.x * _-00._-Bb); _local6._-Hm.y = (_local6._-Hm.y * _-00._-Bb); }; if ((_local6.m_angularVelocity * _local6.m_angularVelocity) > _-00._-6s){ if (_local6.m_angularVelocity < 0){ _local6.m_angularVelocity = -(_-00._-9C); } else { _local6.m_angularVelocity = _-00._-9C; }; }; }; _local5++; }; var _local8:_-FJ = new _-FJ(_arg1, _-BR, _-32, _-I9); _local8.InitVelocityConstraints(_arg1); _local5 = 0; while (_local5 < _-IQ) { _local7 = _-11[_local5]; _local7.InitVelocityConstraints(_arg1); _local5++; }; _local5 = 0; while (_local5 < _arg1._-5p) { _local8.SolveVelocityConstraints(); _local9 = 0; while (_local9 < _-IQ) { _local7 = _-11[_local9]; _local7.SolveVelocityConstraints(_arg1); _local9++; }; _local5++; }; _local8._-0f(); _local5 = 0; while (_local5 < _-Ex) { _local6 = _-Ab[_local5]; if (_local6.IsStatic()){ } else { _local6.m_sweep._-F9._-8S(_local6.m_sweep.c); _local6.m_sweep._-Cw = _local6.m_sweep.a; _local6.m_sweep.c.x = (_local6.m_sweep.c.x + (_arg1._-Fd * _local6._-Hm.x)); _local6.m_sweep.c.y = (_local6.m_sweep.c.y + (_arg1._-Fd * _local6._-Hm.y)); _local6.m_sweep.a = (_local6.m_sweep.a + (_arg1._-Fd * _local6.m_angularVelocity)); _local6._-A2(); }; _local5++; }; if (_arg3){ _local5 = 0; while (_local5 < _-IQ) { _local7 = _-11[_local5]; _local7._-FW(); _local5++; }; _-CT = 0; while (_-CT < _arg1._-5p) { _local10 = _local8.SolvePositionConstraints(_-00._-3K); _local11 = true; _local5 = 0; while (_local5 < _-IQ) { _local7 = _-11[_local5]; _local12 = _local7.SolvePositionConstraints(); _local11 = ((_local11) && (_local12)); _local5++; }; if (((_local10) && (_local11))){ break; }; _-CT++; }; }; _-Gh(_local8._-G1); if (_arg4){ _local13 = Number.MAX_VALUE; _local14 = (_-00._-AY * _-00._-AY); _local15 = (_-00._-5d * _-00._-5d); _local5 = 0; while (_local5 < _-Ex) { _local6 = _-Ab[_local5]; if (_local6._-94 == 0){ } else { if ((_local6._-Az & _-Ih._-1h) == 0){ _local6._-D5 = 0; _local13 = 0; }; if (((((((_local6._-Az & _-Ih._-1h) == 0)) || (((_local6.m_angularVelocity * _local6.m_angularVelocity) > _local15)))) || ((_-4U._-8Z(_local6._-Hm, _local6._-Hm) > _local14)))){ _local6._-D5 = 0; _local13 = 0; } else { _local6._-D5 = (_local6._-D5 + _arg1._-Fd); _local13 = _-4U._-Fr(_local13, _local6._-D5); }; }; _local5++; }; if (_local13 >= _-00._-Hg){ _local5 = 0; while (_local5 < _-Ex) { _local6 = _-Ab[_local5]; _-Ab[_local5]._-Az = (_local6._-Az | _-Ih._-6y); _local6._-Hm._-87(); _local6.m_angularVelocity = 0; _local5++; }; }; }; } public function _-1W():void{ _-Ex = 0; _-32 = 0; _-IQ = 0; } public function _-2C(_arg1:_-Ci):void{ var _local2:int; var _local5:_-Ih; var _local6:Boolean; var _local3:_-FJ = new _-FJ(_arg1, _-BR, _-32, _-I9); _local2 = 0; while (_local2 < _arg1._-5p) { _local3.SolveVelocityConstraints(); _local2++; }; _local2 = 0; while (_local2 < _-Ex) { _local5 = _-Ab[_local2]; if (_local5.IsStatic()){ } else { _local5.m_sweep._-F9._-8S(_local5.m_sweep.c); _local5.m_sweep._-Cw = _local5.m_sweep.a; _local5.m_sweep.c.x = (_local5.m_sweep.c.x + (_arg1._-Fd * _local5._-Hm.x)); _local5.m_sweep.c.y = (_local5.m_sweep.c.y + (_arg1._-Fd * _local5._-Hm.y)); _local5.m_sweep.a = (_local5.m_sweep.a + (_arg1._-Fd * _local5.m_angularVelocity)); _local5._-A2(); }; _local2++; }; var _local4:Number = 0.75; _local2 = 0; while (_local2 < _arg1._-5p) { _local6 = _local3.SolvePositionConstraints(_local4); if (_local6){ break; }; _local2++; }; _-Gh(_local3._-G1); } } }//package _-Hu
Section 53
//_-Ie (_-Hu._-Ie) package _-Hu { import _-Ao.*; public class _-Ie { public static var _-GJ:_-Ie = new (_-Ie); ; public function _-4l(_arg1:_-8J, _arg2:_-8J):Boolean{ var _local3:_-4n = _arg1._-EF(); var _local4:_-4n = _arg2._-EF(); if ((((_local3._-9X == _local4._-9X)) && (!((_local3._-9X == 0))))){ return ((_local3._-9X > 0)); }; var _local5:Boolean = ((!(((_local3._-3G & _local4._-GM) == 0))) && (!(((_local3._-GM & _local4._-3G) == 0)))); return (_local5); } public function _-4g(_arg1, _arg2:_-8J):Boolean{ if (!_arg1){ return (true); }; return (_-4l((_arg1 as _-8J), _arg2)); } } }//package _-Hu
Section 54
//_-Ih (_-Hu._-Ih) package _-Hu { import Box2D.Common.Math.*; import _-Ao.*; import _-2q.*; import _-Eq.*; public class _-Ih { public var _-76:_-Ih; public var m_xf:_-0X; public var _-GD:_-H9; public var m_angularVelocity:Number; public var _-4s:_-8J; public var _-GQ:b2Vec2; public var m_mass:Number; public var m_sweep:_-I1; public var _-GX:Number; public var m_userData; public var _-Az:uint; public var m_world:_-Dp; public var _-9J:_-Ih; public var _-94:Number; public var m_type:int; public var _-7L:Number; public var _-GA:int; public var _-D2:Number; public var do:Number; public var _-Hm:b2Vec2; public var _-D5:Number; public var _-FZ:_-Ib; public var _-1-:Number; public static var _-Cj:uint = 64; public static var _-8j:uint = 2; public static var _-An:uint = 3; public static var _-6y:uint = 8; private static var _-6U:_-Hf = new _-Hf(); public static var _-Cv:uint = 32; public static var _-B:uint = 1; public static var _-CL:uint = 4; public static var _-1h:uint = 16; private static var _-A0:_-0X = new _-0X(); public static var _-3T:uint = 2; public function _-Ih(_arg1:_-09, _arg2:_-Dp){ m_xf = new _-0X(); m_sweep = new _-I1(); _-Hm = new b2Vec2(); _-GQ = new b2Vec2(); super(); _-Az = 0; if (_arg1._-2b){ _-Az = (_-Az | _-Cv); }; if (_arg1._-2m){ _-Az = (_-Az | _-Cj); }; if (_arg1._-j){ _-Az = (_-Az | _-1h); }; if (_arg1._-9S){ _-Az = (_-Az | _-6y); }; m_world = _arg2; m_xf.position._-8S(_arg1.position); m_xf.R.Set(_arg1.angle); m_sweep.localCenter._-8S(_arg1._-6Y.center); m_sweep._-Hp = 1; m_sweep._-Cw = (m_sweep.a = _arg1.angle); var _local3:_-8k = m_xf.R; var _local4:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local3._-BW.x * _local4.x) + (_local3._-7N.x * _local4.y)); m_sweep.c.y = ((_local3._-BW.y * _local4.x) + (_local3._-7N.y * _local4.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep._-F9._-8S(m_sweep.c); _-FZ = null; _-GD = null; _-9J = null; _-76 = null; _-7L = _arg1._-Av; _-D2 = _arg1._-0Z; _-GQ.Set(0, 0); _-GX = 0; _-Hm._-87(); m_angularVelocity = 0; _-D5 = 0; _-94 = 0; _-1- = 0; do = 0; m_mass = _arg1._-6Y._-5G; if (m_mass > 0){ _-94 = (1 / m_mass); }; if ((_-Az & _-Ih._-Cj) == 0){ _-1- = _arg1._-6Y._-EZ; }; if (_-1- > 0){ do = (1 / _-1-); }; if ((((_-94 == 0)) && (( do == 0)))){ m_type = _-B; } else { m_type = _-3T; }; m_userData = _arg1.userData; _-4s = null; _-GA = 0; } public function _-6(_arg1:b2Vec2):b2Vec2{ return (new b2Vec2((_-Hm.x + (m_angularVelocity * (_arg1.y - m_sweep.c.y))), (_-Hm.x - (m_angularVelocity * (_arg1.x - m_sweep.c.x))))); } public function _-7d(_arg1:b2Vec2):void{ _-Hm._-8S(_arg1); } public function WakeUp():void{ _-Az = (_-Az & ~(_-6y)); _-D5 = 0; } public function _-6W():b2Vec2{ return (m_sweep.localCenter); } public function _-1n(_arg1:Number):void{ if (IsSleeping()){ WakeUp(); }; _-GX = (_-GX + _arg1); } public function _-4L():Boolean{ return (((_-Az & _-8j) == _-8j)); } public function _-5K():Boolean{ return ((m_type == _-3T)); } public function _-24():b2Vec2{ return (_-Hm); } public function _-A2():void{ m_xf.R.Set(m_sweep.a); var _local1:_-8k = m_xf.R; var _local2:b2Vec2 = m_sweep.localCenter; m_xf.position.x = (m_sweep.c.x - ((_local1._-BW.x * _local2.x) + (_local1._-7N.x * _local2.y))); m_xf.position.y = (m_sweep.c.y - ((_local1._-BW.y * _local2.x) + (_local1._-7N.y * _local2.y))); } public function _-H5():Number{ return (_-1-); } public function IsSleeping():Boolean{ return (((_-Az & _-6y) == _-6y)); } public function _-8U():void{ var _local1:_-8J; if (m_world._-Ig == true){ return; }; m_mass = 0; _-94 = 0; _-1- = 0; do = 0; var _local2:Number = 0; var _local3:Number = 0; var _local4:_-Hf = _-6U; _local1 = _-4s; while (_local1) { _local1.ComputeMass(_local4); m_mass = (m_mass + _local4._-5G); _local2 = (_local2 + (_local4._-5G * _local4.center.x)); _local3 = (_local3 + (_local4._-5G * _local4.center.y)); _-1- = (_-1- + _local4._-EZ); _local1 = _local1._-76; }; if (m_mass > 0){ _-94 = (1 / m_mass); _local2 = (_local2 * _-94); _local3 = (_local3 * _-94); }; if ((((_-1- > 0)) && (((_-Az & _-Cj) == 0)))){ _-1- = (_-1- - (m_mass * ((_local2 * _local2) + (_local3 * _local3)))); do = (1 / _-1-); } else { _-1- = 0; do = 0; }; m_sweep.localCenter.Set(_local2, _local3); var _local5:_-8k = m_xf.R; var _local6:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local5._-BW.x * _local6.x) + (_local5._-7N.x * _local6.y)); m_sweep.c.y = ((_local5._-BW.y * _local6.x) + (_local5._-7N.y * _local6.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep._-F9._-8S(m_sweep.c); _local1 = _-4s; while (_local1) { _local1.UpdateSweepRadius(m_sweep.localCenter); _local1 = _local1._-76; }; var _local7:int = m_type; if ((((_-94 == 0)) && (( do == 0)))){ m_type = _-B; } else { m_type = _-3T; }; if (_local7 != m_type){ _local1 = _-4s; while (_local1) { _local1._-H3(m_world._-7Y, m_xf); _local1 = _local1._-76; }; }; } public function _-98():void{ _-Az = (_-Az | _-6y); _-D5 = 0; _-Hm._-87(); m_angularVelocity = 0; _-GQ._-87(); _-GX = 0; } public function _-0y():_-Ib{ return (_-FZ); } public function _-BJ(_arg1:b2Vec2, _arg2:Number):Boolean{ var _local3:_-8J; var _local7:Boolean; if (m_world._-Ig == true){ return (true); }; if (_-4L()){ return (false); }; m_xf.R.Set(_arg2); m_xf.position._-8S(_arg1); var _local4:_-8k = m_xf.R; var _local5:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local4._-BW.x * _local5.x) + (_local4._-7N.x * _local5.y)); m_sweep.c.y = ((_local4._-BW.y * _local5.x) + (_local4._-7N.y * _local5.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep._-F9._-8S(m_sweep.c); m_sweep._-Cw = (m_sweep.a = _arg2); var _local6:Boolean; _local3 = _-4s; while (_local3) { _local7 = _local3._-3Q(m_world._-7Y, m_xf, m_xf); if (_local7 == false){ _local6 = true; break; }; _local3 = _local3._-76; }; if (_local6 == true){ _-Az = (_-Az | _-8j); _-Hm._-87(); m_angularVelocity = 0; _local3 = _-4s; while (_local3) { _local3._-66(m_world._-7Y); _local3 = _local3._-76; }; return (false); }; m_world._-7Y.dynamic(); return (true); } public function GetLocalPoint(_arg1:b2Vec2):b2Vec2{ return (_-4U. case(m_xf, _arg1)); } public function null(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping()){ WakeUp(); }; _-GQ.x = (_-GQ.x + _arg1.x); _-GQ.y = (_-GQ.y + _arg1.y); _-GX = (_-GX + (((_arg2.x - m_sweep.c.x) * _arg1.y) - ((_arg2.y - m_sweep.c.y) * _arg1.x))); } public function _-5Y():Boolean{ var _local4:_-8J; var _local1:_-0X = _-A0; _local1.R.Set(m_sweep._-Cw); var _local2:_-8k = _local1.R; var _local3:b2Vec2 = m_sweep.localCenter; _local1.position.x = (m_sweep._-F9.x - ((_local2._-BW.x * _local3.x) + (_local2._-7N.x * _local3.y))); _local1.position.y = (m_sweep._-F9.y - ((_local2._-BW.y * _local3.x) + (_local2._-7N.y * _local3.y))); var _local5:Boolean; _local4 = _-4s; while (_local4) { _local5 = _local4._-3Q(m_world._-7Y, _local1, m_xf); if (_local5 == false){ break; }; _local4 = _local4._-76; }; if (_local5 == false){ _-Az = (_-Az | _-8j); _-Hm._-87(); m_angularVelocity = 0; _local4 = _-4s; while (_local4) { _local4._-66(m_world._-7Y); _local4 = _local4._-76; }; return (false); }; return (true); } public function GetAngle():Number{ return (m_sweep.a); } public function _-9p():_-0X{ return (m_xf); } public function _-1c(_arg1:b2Vec2):b2Vec2{ var _local2:_-8k = m_xf.R; var _local3:b2Vec2 = new b2Vec2(((_local2._-BW.x * _arg1.x) + (_local2._-7N.x * _arg1.y)), ((_local2._-BW.y * _arg1.x) + (_local2._-7N.y * _arg1.y))); _local3.x = (_local3.x + m_xf.position.x); _local3.y = (_local3.y + m_xf.position.y); return (new b2Vec2((_-Hm.x + (m_angularVelocity * (_local3.y - m_sweep.c.y))), (_-Hm.x - (m_angularVelocity * (_local3.x - m_sweep.c.x))))); } public function _-83():_-Ih{ return (_-76); } public function _-72():Number{ return (m_mass); } public function _-4X(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping()){ WakeUp(); }; _-Hm.x = (_-Hm.x + (_-94 * _arg1.x)); _-Hm.y = (_-Hm.y + (_-94 * _arg1.y)); m_angularVelocity = (m_angularVelocity + ( do * (((_arg2.x - m_sweep.c.x) * _arg1.y) - ((_arg2.y - m_sweep.c.y) * _arg1.x)))); } public function _-5Q():Number{ return (m_angularVelocity); } public function _-5t(_arg1:Number):void{ m_angularVelocity = _arg1; } public function _-Ii(_arg1:_-Hf):void{ var _local2:_-8J; var _local4:b2Vec2; if (m_world._-Ig == true){ return; }; _-94 = 0; _-1- = 0; do = 0; m_mass = _arg1._-5G; if (m_mass > 0){ _-94 = (1 / m_mass); }; if ((_-Az & _-Ih._-Cj) == 0){ _-1- = _arg1._-EZ; }; if (_-1- > 0){ do = (1 / _-1-); }; m_sweep.localCenter._-8S(_arg1.center); var _local3:_-8k = m_xf.R; _local4 = m_sweep.localCenter; m_sweep.c.x = ((_local3._-BW.x * _local4.x) + (_local3._-7N.x * _local4.y)); m_sweep.c.y = ((_local3._-BW.y * _local4.x) + (_local3._-7N.y * _local4.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep._-F9._-8S(m_sweep.c); _local2 = _-4s; while (_local2) { _local2.UpdateSweepRadius(m_sweep.localCenter); _local2 = _local2._-76; }; var _local5:int = m_type; if ((((_-94 == 0)) && (( do == 0)))){ m_type = _-B; } else { m_type = _-3T; }; if (_local5 != m_type){ _local2 = _-4s; while (_local2) { _local2._-H3(m_world._-7Y, m_xf); _local2 = _local2._-76; }; }; } public function IsStatic():Boolean{ return ((m_type == _-B)); } public function _-F6(_arg1:b2Vec2):b2Vec2{ return (_-4U._-01(m_xf.R, _arg1)); } public function _-1L():_-8J{ return (_-4s); } public function _-3a(_arg1:Number):void{ m_sweep._-3a(_arg1); m_sweep.c._-8S(m_sweep._-F9); m_sweep.a = m_sweep._-Cw; _-A2(); } public function _-HZ(_arg1:Boolean):void{ if (_arg1){ _-Az = (_-Az | _-Cv); } else { _-Az = (_-Az & ~(_-Cv)); }; } public function try(_arg1:_-Ht):_-8J{ if (m_world._-Ig == true){ return (null); }; var _local2:_-8J = _-8J._-16(_arg1, m_world._-8v); _local2._-76 = _-4s; _-4s = _local2; _-GA++; _local2.m_body = this; _local2._-3-(m_world._-7Y, m_xf); _local2.UpdateSweepRadius(m_sweep.localCenter); return (_local2); } public function _-CG(_arg1:_-Ih):Boolean{ var _local2:_-Ib = _-FZ; while (_local2) { if (_local2._-3M == _arg1){ return ((_local2._-BQ._-s == false)); }; _local2 = _local2.next; }; return (false); } public function _-2H(_arg1:_-8J):void{ if (m_world._-Ig == true){ return; }; _arg1._-66(m_world._-7Y); var _local2:_-8J = _-4s; var _local3:Boolean; while (_local2 != null) { if (_local2 == _arg1){ _local2 = _arg1._-76; _local3 = true; break; }; _local2 = _local2._-76; }; _arg1.m_body = null; _arg1._-76 = null; _-GA--; _-8J._-Fg(_arg1, m_world._-8v); } public function _-Ax(){ return (m_userData); } public function _-53():Boolean{ return (((_-Az & _-Cv) == _-Cv)); } public function _-1l():b2Vec2{ return (m_sweep.c); } public function _-FU(_arg1:Boolean):void{ if (_arg1){ _-Az = (_-Az | _-1h); } else { _-Az = (_-Az & ~(_-1h)); WakeUp(); }; } public function _-6n(_arg1):void{ m_userData = _arg1; } public function GetLocalVector(_arg1:b2Vec2):b2Vec2{ return (_-4U._-C-(m_xf.R, _arg1)); } public function GetWorldPoint(_arg1:b2Vec2):b2Vec2{ var _local2:_-8k = m_xf.R; var _local3:b2Vec2 = new b2Vec2(((_local2._-BW.x * _arg1.x) + (_local2._-7N.x * _arg1.y)), ((_local2._-BW.y * _arg1.x) + (_local2._-7N.y * _arg1.y))); _local3.x = (_local3.x + m_xf.position.x); _local3.y = (_local3.y + m_xf.position.y); return (_local3); } public function _-GV():_-Dp{ return (m_world); } public function _-Cr():b2Vec2{ return (m_xf.position); } } }//package _-Hu
Section 55
//true (_-Hu.true ) package _-Hu { public class true { public function else(_arg1:_-Ih):void{ } } }//package _-Hu
Section 56
//_-0b (Box2D.Collision._-0b) package Box2D.Collision { import Box2D.Common.Math.*; import _-El.*; import _-Ao.*; public class _-0b { public static var _-A0:_-0X = new _-0X(); public static var _-7W:_-0X = new _-0X(); public static var _-EC:b2Vec2 = new b2Vec2(); public static var _-6N:b2Vec2 = new b2Vec2(); public static function _-GI(_arg1:_-8J, _arg2:_-I1, _arg3:_-8J, _arg4:_-I1):Number{ var _local5:Number; var _local6:Number; var _local25:Number; var _local26:_-0X; var _local27:_-0X; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local7:Number = _arg1._-2-; var _local8:Number = _arg3._-2-; var _local9:Number = _arg2._-Hp; var _local10:Number = (_arg2.c.x - _arg2._-F9.x); var _local11:Number = (_arg2.c.y - _arg2._-F9.y); var _local12:Number = (_arg4.c.x - _arg4._-F9.x); var _local13:Number = (_arg4.c.y - _arg4._-F9.y); var _local14:Number = (_arg2.a - _arg2._-Cw); var _local15:Number = (_arg4.a - _arg4._-Cw); var _local16:Number = 0; var _local17:b2Vec2 = _-EC; var _local18:b2Vec2 = _-6N; var _local19 = 20; var _local20:int; var _local21:Number = 0; var _local22:Number = 0; var _local23:Number = 0; var _local24:Number = 0; while (true) { _local25 = (((1 - _local16) * _local9) + _local16); _local26 = _-A0; _local27 = _-7W; _arg2._-9p(_local26, _local25); _arg4._-9p(_local27, _local25); _local23 = _-I-._-3Y(_local17, _local18, _arg1, _local26, _arg3, _local27); if (_local20 == 0){ if (_local23 > (2 * _-00._-7j)){ _local24 = (1.5 * _-00._-7j); } else { _local5 = (0.05 * _-00._-7j); _local6 = (_local23 - (0.5 * _-00._-7j)); _local24 = ((_local5 > _local6)) ? _local5 : _local6; }; }; if (((((_local23 - _local24) < (0.05 * _-00._-7j))) || ((_local20 == _local19)))){ break; }; _local21 = (_local18.x - _local17.x); _local22 = (_local18.y - _local17.y); _local28 = Math.sqrt(((_local21 * _local21) + (_local22 * _local22))); _local21 = (_local21 / _local28); _local22 = (_local22 / _local28); _local29 = ((((_local21 * (_local10 - _local12)) + (_local22 * (_local11 - _local13))) + (((_local14 < 0)) ? -(_local14) : _local14 * _local7)) + (((_local15 < 0)) ? -(_local15) : _local15 * _local8)); if (_local29 == 0){ _local16 = 1; break; }; _local30 = ((_local23 - _local24) / _local29); _local31 = (_local16 + _local30); if ((((_local31 < 0)) || ((1 < _local31)))){ _local16 = 1; break; }; if (_local31 < ((1 + (100 * Number.MIN_VALUE)) * _local16)){ break; }; _local16 = _local31; _local20++; }; return (_local16); } } }//package Box2D.Collision
Section 57
//_-1Z (Box2D.Collision._-1Z) package Box2D.Collision { public class _-1Z { public var value:uint; public var proxyId:uint; public var _-6b:uint; public function _-9L(_arg1:_-1Z):void{ var _local2:uint = value; var _local3:uint = proxyId; var _local4:uint = _-6b; value = _arg1.value; proxyId = _arg1.proxyId; _-6b = _arg1._-6b; _arg1.value = _local2; _arg1.proxyId = _local3; _arg1._-6b = _local4; } public function IsLower():Boolean{ return (((value & 1) == 0)); } public function IsUpper():Boolean{ return (((value & 1) == 1)); } } }//package Box2D.Collision
Section 58
//_-4V (Box2D.Collision._-4V) package Box2D.Collision { import Box2D.Common.Math.*; import _-El.*; import _-Ao.*; public class _-4V { public static const _-0a:uint = 0xFF; private static var _-F:b2Vec2 = new b2Vec2(); public static function _-8M(_arg1:_-2f, _arg2:_-0X, _arg3:int, _arg4:_-2f, _arg5:_-0X):Number{ var _local11:_-8k; var _local12:b2Vec2; var _local25:Number; var _local6:int = _arg1._-IL; var _local7:Array = _arg1.include; var _local8:Array = _arg1._-F0; var _local9:int = _arg4._-IL; var _local10:Array = _arg4.include; _local11 = _arg2.R; _local12 = _local8[_arg3]; var _local13:Number = ((_local11._-BW.x * _local12.x) + (_local11._-7N.x * _local12.y)); var _local14:Number = ((_local11._-BW.y * _local12.x) + (_local11._-7N.y * _local12.y)); _local11 = _arg5.R; var _local15:Number = ((_local11._-BW.x * _local13) + (_local11._-BW.y * _local14)); var _local16:Number = ((_local11._-7N.x * _local13) + (_local11._-7N.y * _local14)); var _local17:int; var _local18:Number = Number.MAX_VALUE; var _local19:int; while (_local19 < _local9) { _local12 = _local10[_local19]; _local25 = ((_local12.x * _local15) + (_local12.y * _local16)); if (_local25 < _local18){ _local18 = _local25; _local17 = _local19; }; _local19++; }; _local12 = _local7[_arg3]; _local11 = _arg2.R; var _local20:Number = (_arg2.position.x + ((_local11._-BW.x * _local12.x) + (_local11._-7N.x * _local12.y))); var _local21:Number = (_arg2.position.y + ((_local11._-BW.y * _local12.x) + (_local11._-7N.y * _local12.y))); _local12 = _local10[_local17]; _local11 = _arg5.R; var _local22:Number = (_arg5.position.x + ((_local11._-BW.x * _local12.x) + (_local11._-7N.x * _local12.y))); var _local23:Number = (_arg5.position.y + ((_local11._-BW.y * _local12.x) + (_local11._-7N.y * _local12.y))); _local22 = (_local22 - _local20); _local23 = (_local23 - _local21); var _local24:Number = ((_local22 * _local13) + (_local23 * _local14)); return (_local24); } public static function _-EE(_arg1:_-9E, _arg2:_-9E):Boolean{ var _local3:b2Vec2 = _arg2._-6Q; var _local4:b2Vec2 = _arg1._-AF; var _local5:Number = (_local3.x - _local4.x); var _local6:Number = (_local3.y - _local4.y); _local3 = _arg1._-6Q; _local4 = _arg2._-AF; var _local7:Number = (_local3.x - _local4.x); var _local8:Number = (_local3.y - _local4.y); if ((((_local5 > 0)) || ((_local6 > 0)))){ return (false); }; if ((((_local7 > 0)) || ((_local8 > 0)))){ return (false); }; return (true); } public static function _-Z(_arg1:Array, _arg2:_-2f, _arg3:_-0X, _arg4:int, _arg5:_-2f, _arg6:_-0X):void{ var _local12:_-8k; var _local13:b2Vec2; var _local20:_-8x; var _local23:Number; var _local7:int = _arg2._-IL; var _local8:Array = _arg2._-F0; var _local9:int = _arg5._-IL; var _local10:Array = _arg5.include; var _local11:Array = _arg5._-F0; _local12 = _arg3.R; _local13 = _local8[_arg4]; var _local14:Number = ((_local12._-BW.x * _local13.x) + (_local12._-7N.x * _local13.y)); var _local15:Number = ((_local12._-BW.y * _local13.x) + (_local12._-7N.y * _local13.y)); _local12 = _arg6.R; var _local16:Number = ((_local12._-BW.x * _local14) + (_local12._-BW.y * _local15)); _local15 = ((_local12._-7N.x * _local14) + (_local12._-7N.y * _local15)); _local14 = _local16; var _local17:int; var _local18:Number = Number.MAX_VALUE; var _local19:int; while (_local19 < _local9) { _local13 = _local11[_local19]; _local23 = ((_local14 * _local13.x) + (_local15 * _local13.y)); if (_local23 < _local18){ _local18 = _local23; _local17 = _local19; }; _local19++; }; var _local21:int = _local17; var _local22:int = (((_local21 + 1) < _local9)) ? (_local21 + 1) : 0; _local20 = _arg1[0]; _local13 = _local10[_local21]; _local12 = _arg6.R; _local20.v.x = (_arg6.position.x + ((_local12._-BW.x * _local13.x) + (_local12._-7N.x * _local13.y))); _local20.v.y = (_arg6.position.y + ((_local12._-BW.y * _local13.x) + (_local12._-7N.y * _local13.y))); _local20.id._-48._-IG = _arg4; _local20.id._-48._-59 = _local21; _local20.id._-48._-AW = 0; _local20 = _arg1[1]; _local13 = _local10[_local22]; _local12 = _arg6.R; _local20.v.x = (_arg6.position.x + ((_local12._-BW.x * _local13.x) + (_local12._-7N.x * _local13.y))); _local20.v.y = (_arg6.position.y + ((_local12._-BW.y * _local13.x) + (_local12._-7N.y * _local13.y))); _local20.id._-48._-IG = _arg4; _local20.id._-48._-59 = _local22; _local20.id._-48._-AW = 1; } public static function _-DD(_arg1:_-I4, _arg2:_-2f, _arg3:_-0X, _arg4:_-2f, _arg5:_-0X):void{ var _local6:_-8x; var _local13:_-2f; var _local14:_-2f; var _local17:int; var _local18:uint; var _local34:int; var _local37:b2Vec2; var _local38:Number; var _local39:_-Ey; _arg1._-1y = 0; var _local7:int; var _local8:Array = [_local7]; var _local9:Number = _-65(_local8, _arg2, _arg3, _arg4, _arg5); _local7 = _local8[0]; if (_local9 > 0){ return; }; var _local10:int; var _local11:Array = [_local10]; var _local12:Number = _-65(_local11, _arg4, _arg5, _arg2, _arg3); _local10 = _local11[0]; if (_local12 > 0){ return; }; var _local15:_-0X = new _-0X(); var _local16:_-0X = new _-0X(); var _local19:Number = 0.98; var _local20:Number = 0.001; if (_local12 > ((_local19 * _local9) + _local20)){ _local13 = _arg4; _local14 = _arg2; _local15.Set(_arg5); _local16.Set(_arg3); _local17 = _local10; _local18 = 1; } else { _local13 = _arg2; _local14 = _arg4; _local15.Set(_arg3); _local16.Set(_arg5); _local17 = _local7; _local18 = 0; }; var _local21:Array = [new _-8x(), new _-8x()]; _-Z(_local21, _local13, _local15, _local17, _local14, _local16); var _local22:int = _local13._-IL; var _local23:Array = _local13.include; var _local24:b2Vec2 = _local23[_local17]; var _local25:b2Vec2 = _local24.Copy(); if ((_local17 + 1) < _local22){ _local24 = _local23[int((_local17 + 1))]; _local37 = _local24.Copy(); } else { _local24 = _local23[0]; _local37 = _local24.Copy(); }; var _local26:b2Vec2 = _-4U._-2d(_local37, _local25); var _local27:b2Vec2 = _-4U._-01(_local15.R, _-4U._-2d(_local37, _local25)); _local27._-4j(); var _local28:b2Vec2 = _-4U._-D8(_local27, 1); _local25 = _-4U._-CZ(_local15, _local25); _local37 = _-4U._-CZ(_local15, _local37); var _local29:Number = _-4U._-8Z(_local28, _local25); var _local30:Number = -(_-4U._-8Z(_local27, _local25)); var _local31:Number = _-4U._-8Z(_local27, _local37); var _local32:Array = [new _-8x(), new _-8x()]; var _local33:Array = [new _-8x(), new _-8x()]; _local34 = _-6X(_local32, _local21, _local27._-Ed(), _local30); if (_local34 < 2){ return; }; _local34 = _-6X(_local33, _local32, _local27, _local31); if (_local34 < 2){ return; }; _arg1.normal = (_local18) ? _local28._-Ed() : _local28.Copy(); var _local35:int; var _local36:int; while (_local36 < _-00._-6t) { _local6 = _local33[_local36]; _local38 = (_-4U._-8Z(_local28, _local6.v) - _local29); if (_local38 <= 0){ _local39 = _arg1.points[_local35]; _local39._-Es = _local38; _local39._-P = _-4U. case(_arg3, _local6.v); _local39._-1H = _-4U. case(_arg5, _local6.v); _local39.id.key = _local6.id._-30; _local39.id._-48._-CS = _local18; _local35++; }; _local36++; }; _arg1._-1y = _local35; } public static function _-65(_arg1:Array, _arg2:_-2f, _arg3:_-0X, _arg4:_-2f, _arg5:_-0X):Number{ var _local8:b2Vec2; var _local9:_-8k; var _local22:int; var _local23:Number; var _local24:int; var _local25:Number; var _local6:int = _arg2._-IL; var _local7:Array = _arg2._-F0; _local9 = _arg5.R; _local8 = _arg4._-37; var _local10:Number = (_arg5.position.x + ((_local9._-BW.x * _local8.x) + (_local9._-7N.x * _local8.y))); var _local11:Number = (_arg5.position.y + ((_local9._-BW.y * _local8.x) + (_local9._-7N.y * _local8.y))); _local9 = _arg3.R; _local8 = _arg2._-37; _local10 = (_local10 - (_arg3.position.x + ((_local9._-BW.x * _local8.x) + (_local9._-7N.x * _local8.y)))); _local11 = (_local11 - (_arg3.position.y + ((_local9._-BW.y * _local8.x) + (_local9._-7N.y * _local8.y)))); var _local12:Number = ((_local10 * _arg3.R._-BW.x) + (_local11 * _arg3.R._-BW.y)); var _local13:Number = ((_local10 * _arg3.R._-7N.x) + (_local11 * _arg3.R._-7N.y)); var _local14:int; var _local15:Number = -(Number.MAX_VALUE); var _local16:int; while (_local16 < _local6) { _local8 = _local7[_local16]; _local25 = ((_local8.x * _local12) + (_local8.y * _local13)); if (_local25 > _local15){ _local15 = _local25; _local14 = _local16; }; _local16++; }; var _local17:Number = _-8M(_arg2, _arg3, _local14, _arg4, _arg5); if (_local17 > 0){ return (_local17); }; var _local18:int = (((_local14 - 1) >= 0)) ? (_local14 - 1) : (_local6 - 1); var _local19:Number = _-8M(_arg2, _arg3, _local18, _arg4, _arg5); if (_local19 > 0){ return (_local19); }; var _local20:int = (((_local14 + 1) < _local6)) ? (_local14 + 1) : 0; var _local21:Number = _-8M(_arg2, _arg3, _local20, _arg4, _arg5); if (_local21 > 0){ return (_local21); }; if ((((_local19 > _local17)) && ((_local19 > _local21)))){ _local24 = -1; _local22 = _local18; _local23 = _local19; } else { if (_local21 > _local17){ _local24 = 1; _local22 = _local20; _local23 = _local21; } else { _arg1[0] = _local14; return (_local17); }; }; while (true) { if (_local24 == -1){ _local14 = (((_local22 - 1) >= 0)) ? (_local22 - 1) : (_local6 - 1); } else { _local14 = (((_local22 + 1) < _local6)) ? (_local22 + 1) : 0; }; _local17 = _-8M(_arg2, _arg3, _local14, _arg4, _arg5); if (_local17 > 0){ return (_local17); }; if (_local17 > _local23){ _local22 = _local14; _local23 = _local17; } else { break; }; }; _arg1[0] = _local22; return (_local23); } public static function _-6X(_arg1:Array, _arg2:Array, _arg3:b2Vec2, _arg4:Number):int{ var _local5:_-8x; var _local6:int; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:Number; var _local11:Number; var _local12:b2Vec2; var _local13:_-8x; _local6 = 0; _local5 = _arg2[0]; _local7 = _local5.v; _local5 = _arg2[1]; _local8 = _local5.v; _local9 = (_-4U._-8Z(_arg3, _local7) - _arg4); var _local10:Number = (_-4U._-8Z(_arg3, _local8) - _arg4); if (_local9 <= 0){ var _temp1 = _local6; _local6 = (_local6 + 1); var _local14 = _temp1; _arg1[_local14] = _arg2[0]; }; if (_local10 <= 0){ var _temp2 = _local6; _local6 = (_local6 + 1); _local14 = _temp2; _arg1[_local14] = _arg2[1]; }; if ((_local9 * _local10) < 0){ _local11 = (_local9 / (_local9 - _local10)); _local5 = _arg1[_local6]; _local12 = _local5.v; _local12.x = (_local7.x + (_local11 * (_local8.x - _local7.x))); _local12.y = (_local7.y + (_local11 * (_local8.y - _local7.y))); _local5 = _arg1[_local6]; if (_local9 > 0){ _local13 = _arg2[0]; _local5.id = _local13.id; } else { _local13 = _arg2[1]; _local5.id = _local13.id; }; _local6++; }; return (_local6); } public static function function(_arg1:_-I4, _arg2:_-Cx, _arg3:_-0X, _arg4:_-Cx, _arg5:_-0X):void{ var _local6:_-8k; var _local7:b2Vec2; var _local18:Number; var _local24:Number; var _local25:Number; _arg1._-1y = 0; _local6 = _arg3.R; _local7 = _arg2._-42; var _local8:Number = (_arg3.position.x + ((_local6._-BW.x * _local7.x) + (_local6._-7N.x * _local7.y))); var _local9:Number = (_arg3.position.y + ((_local6._-BW.y * _local7.x) + (_local6._-7N.y * _local7.y))); _local6 = _arg5.R; _local7 = _arg4._-42; var _local10:Number = (_arg5.position.x + ((_local6._-BW.x * _local7.x) + (_local6._-7N.x * _local7.y))); var _local11:Number = (_arg5.position.y + ((_local6._-BW.y * _local7.x) + (_local6._-7N.y * _local7.y))); var _local12:Number = (_local10 - _local8); var _local13:Number = (_local11 - _local9); var _local14:Number = ((_local12 * _local12) + (_local13 * _local13)); var _local15:Number = _arg2._-Db; var _local16:Number = _arg4._-Db; var _local17:Number = (_local15 + _local16); if (_local14 > (_local17 * _local17)){ return; }; if (_local14 < Number.MIN_VALUE){ _local18 = -(_local17); _arg1.normal.Set(0, 1); } else { _local24 = Math.sqrt(_local14); _local18 = (_local24 - _local17); _local25 = (1 / _local24); _arg1.normal.x = (_local25 * _local12); _arg1.normal.y = (_local25 * _local13); }; _arg1._-1y = 1; var _local19:_-Ey = _arg1.points[0]; _local19.id.key = 0; _local19._-Es = _local18; _local8 = (_local8 + (_local15 * _arg1.normal.x)); _local9 = (_local9 + (_local15 * _arg1.normal.y)); _local10 = (_local10 - (_local16 * _arg1.normal.x)); _local11 = (_local11 - (_local16 * _arg1.normal.y)); var _local20:Number = (0.5 * (_local8 + _local10)); var _local21:Number = (0.5 * (_local9 + _local11)); var _local22:Number = (_local20 - _arg3.position.x); var _local23:Number = (_local21 - _arg3.position.y); _local19._-P.x = ((_local22 * _arg3.R._-BW.x) + (_local23 * _arg3.R._-BW.y)); _local19._-P.y = ((_local22 * _arg3.R._-7N.x) + (_local23 * _arg3.R._-7N.y)); _local22 = (_local20 - _arg5.position.x); _local23 = (_local21 - _arg5.position.y); _local19._-1H.x = ((_local22 * _arg5.R._-BW.x) + (_local23 * _arg5.R._-BW.y)); _local19._-1H.y = ((_local22 * _arg5.R._-7N.x) + (_local23 * _arg5.R._-7N.y)); } public static function _-3E(_arg1:_-I4, _arg2:_-2f, _arg3:_-0X, _arg4:_-Cx, _arg5:_-0X):void{ var _local6:_-Ey; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:b2Vec2; var _local12:_-8k; var _local17:Number; var _local32:Number; var _local33:Number; var _local34:Number; _arg1._-1y = 0; _local12 = _arg5.R; _local11 = _arg4._-42; var _local13:Number = (_arg5.position.x + ((_local12._-BW.x * _local11.x) + (_local12._-7N.x * _local11.y))); var _local14:Number = (_arg5.position.y + ((_local12._-BW.y * _local11.x) + (_local12._-7N.y * _local11.y))); _local7 = (_local13 - _arg3.position.x); _local8 = (_local14 - _arg3.position.y); _local12 = _arg3.R; var _local15:Number = ((_local7 * _local12._-BW.x) + (_local8 * _local12._-BW.y)); var _local16:Number = ((_local7 * _local12._-7N.x) + (_local8 * _local12._-7N.y)); var _local18:int; var _local19:Number = -(Number.MAX_VALUE); var _local20:Number = _arg4._-Db; var _local21:int = _arg2._-IL; var _local22:Array = _arg2.include; var _local23:Array = _arg2._-F0; var _local24:int; while (_local24 < _local21) { _local11 = _local22[_local24]; _local7 = (_local15 - _local11.x); _local8 = (_local16 - _local11.y); _local11 = _local23[_local24]; _local34 = ((_local11.x * _local7) + (_local11.y * _local8)); if (_local34 > _local20){ return; }; if (_local34 > _local19){ _local19 = _local34; _local18 = _local24; }; _local24++; }; if (_local19 < Number.MIN_VALUE){ _arg1._-1y = 1; _local11 = _local23[_local18]; _local12 = _arg3.R; _arg1.normal.x = ((_local12._-BW.x * _local11.x) + (_local12._-7N.x * _local11.y)); _arg1.normal.y = ((_local12._-BW.y * _local11.x) + (_local12._-7N.y * _local11.y)); _local6 = _arg1.points[0]; _local6.id._-48._-59 = _local18; _local6.id._-48._-AW = _-0a; _local6.id._-48._-IG = 0; _local6.id._-48._-CS = 0; _local9 = (_local13 - (_local20 * _arg1.normal.x)); _local10 = (_local14 - (_local20 * _arg1.normal.y)); _local7 = (_local9 - _arg3.position.x); _local8 = (_local10 - _arg3.position.y); _local12 = _arg3.R; _local6._-P.x = ((_local7 * _local12._-BW.x) + (_local8 * _local12._-BW.y)); _local6._-P.y = ((_local7 * _local12._-7N.x) + (_local8 * _local12._-7N.y)); _local7 = (_local9 - _arg5.position.x); _local8 = (_local10 - _arg5.position.y); _local12 = _arg5.R; _local6._-1H.x = ((_local7 * _local12._-BW.x) + (_local8 * _local12._-BW.y)); _local6._-1H.y = ((_local7 * _local12._-7N.x) + (_local8 * _local12._-7N.y)); _local6._-Es = (_local19 - _local20); return; }; var _local25:int = _local18; var _local26:int = (((_local25 + 1) < _local21)) ? (_local25 + 1) : 0; _local11 = _local22[_local25]; var _local27:b2Vec2 = _local22[_local26]; var _local28:Number = (_local27.x - _local11.x); var _local29:Number = (_local27.y - _local11.y); var _local30:Number = Math.sqrt(((_local28 * _local28) + (_local29 * _local29))); _local28 = (_local28 / _local30); _local29 = (_local29 / _local30); _local7 = (_local15 - _local11.x); _local8 = (_local16 - _local11.y); var _local31:Number = ((_local7 * _local28) + (_local8 * _local29)); _local6 = _arg1.points[0]; if (_local31 <= 0){ _local32 = _local11.x; _local33 = _local11.y; _local6.id._-48._-59 = _-0a; _local6.id._-48._-AW = _local25; } else { if (_local31 >= _local30){ _local32 = _local27.x; _local33 = _local27.y; _local6.id._-48._-59 = _-0a; _local6.id._-48._-AW = _local26; } else { _local32 = ((_local28 * _local31) + _local11.x); _local33 = ((_local29 * _local31) + _local11.y); _local6.id._-48._-59 = _local18; _local6.id._-48._-AW = 0; }; }; _local7 = (_local15 - _local32); _local8 = (_local16 - _local33); _local17 = Math.sqrt(((_local7 * _local7) + (_local8 * _local8))); _local7 = (_local7 / _local17); _local8 = (_local8 / _local17); if (_local17 > _local20){ return; }; _arg1._-1y = 1; _local12 = _arg3.R; _arg1.normal.x = ((_local12._-BW.x * _local7) + (_local12._-7N.x * _local8)); _arg1.normal.y = ((_local12._-BW.y * _local7) + (_local12._-7N.y * _local8)); _local9 = (_local13 - (_local20 * _arg1.normal.x)); _local10 = (_local14 - (_local20 * _arg1.normal.y)); _local7 = (_local9 - _arg3.position.x); _local8 = (_local10 - _arg3.position.y); _local12 = _arg3.R; _local6._-P.x = ((_local7 * _local12._-BW.x) + (_local8 * _local12._-BW.y)); _local6._-P.y = ((_local7 * _local12._-7N.x) + (_local8 * _local12._-7N.y)); _local7 = (_local9 - _arg5.position.x); _local8 = (_local10 - _arg5.position.y); _local12 = _arg5.R; _local6._-1H.x = ((_local7 * _local12._-BW.x) + (_local8 * _local12._-BW.y)); _local6._-1H.y = ((_local7 * _local12._-7N.x) + (_local8 * _local12._-7N.y)); _local6._-Es = (_local17 - _local20); _local6.id._-48._-IG = 0; _local6.id._-48._-CS = 0; } } }//package Box2D.Collision
Section 59
//_-80 (Box2D.Collision._-80) package Box2D.Collision { import Box2D.Common.Math.*; public class _-80 { public var R:_-8k; public var center:b2Vec2; public var _-Bf:b2Vec2; public function _-80(){ R = new _-8k(); center = new b2Vec2(); _-Bf = new b2Vec2(); super(); } } }//package Box2D.Collision
Section 60
//_-8A (Box2D.Collision._-8A) package Box2D.Collision { public class _-8A { public var _-2D:uint; public var userData;// = null public var _-Bw:Array; public var _-B0:Array; public var _-DG:uint; public function _-8A(){ _-Bw = [uint(0), uint(0)]; _-B0 = [uint(0), uint(0)]; super(); } public function _-83():uint{ return (_-Bw[0]); } public function _-7R():Boolean{ return (!((_-2D == _-Gx._-Ho))); } public function _-0j(_arg1:uint):void{ _-Bw[0] = (_arg1 & 0xFFFF); } } }//package Box2D.Collision
Section 61
//_-8x (Box2D.Collision._-8x) package Box2D.Collision { import Box2D.Common.Math.*; public class _-8x { public var id:_-BB; public var v:b2Vec2; public function _-8x(){ v = new b2Vec2(); id = new _-BB(); super(); } } }//package Box2D.Collision
Section 62
//_-9E (Box2D.Collision._-9E) package Box2D.Collision { import Box2D.Common.Math.*; public class _-9E { public var _-AF:b2Vec2; public var _-6Q:b2Vec2; public function _-9E(){ _-6Q = new b2Vec2(); _-AF = new b2Vec2(); super(); } public function _-7R():Boolean{ var _local1:Number = (_-AF.x - _-6Q.x); var _local2:Number = (_-AF.y - _-6Q.y); var _local3:Boolean = (((_local1 >= 0)) && ((_local2 >= 0))); _local3 = ((((_local3) && (_-6Q._-7R()))) && (_-AF._-7R())); return (_local3); } } }//package Box2D.Collision
Section 63
//_-9f (Box2D.Collision._-9f) package Box2D.Collision { public class _-9f { public var proxyId1:uint; public var proxyId2:uint; } }//package Box2D.Collision
Section 64
//_-9U (Box2D.Collision._-9U) package Box2D.Collision { import Box2D.Common.Math.*; import _-El.*; public class _-9U { public var _-Aq:int; public var _-BE:Array; public var _-CO:Array; public var _-E6:_-Gk; public var _-51:Array; public var final:int; public var _-7Y:_-Gx; public var _-02:uint; public function _-9U(){ var _local1:uint; super(); _-CO = new Array(_-Gj._-AU); _local1 = 0; while (_local1 < _-Gj._-AU) { _-CO[_local1] = _-Gj._-7b; _local1++; }; _-51 = new Array(_-00._-55); _local1 = 0; while (_local1 < _-00._-55) { _-51[_local1] = new _-Gj(); _local1++; }; _-BE = new Array(_-00._-55); _local1 = 0; while (_local1 < _-00._-55) { _-BE[_local1] = new _-9f(); _local1++; }; _local1 = 0; while (_local1 < _-00._-55) { _-51[_local1].proxyId1 = _-Gj._-D; _-51[_local1].proxyId2 = _-Gj._-D; _-51[_local1].userData = null; _-51[_local1].status = 0; _-51[_local1].next = (_local1 + 1); _local1++; }; _-51[int((_-00._-55 - 1))].next = _-Gj._-7b; _-Aq = 0; final = 0; } private function _-79(_arg1:uint, _arg2:uint, _arg3:uint):_-Gj{ var _local4:_-Gj; var _local5:uint = _-CO[_arg3]; _local4 = _-51[_local5]; while (((!((_local5 == _-Gj._-7b))) && ((_-E3(_local4, _arg1, _arg2) == false)))) { _local5 = _local4.next; _local4 = _-51[_local5]; }; if (_local5 == _-Gj._-7b){ return (null); }; return (_local4); } private function _-1Q(_arg1:uint, _arg2:uint):_-Gj{ var _local4:uint; if (_arg1 > _arg2){ _local4 = _arg1; _arg1 = _arg2; _arg2 = _local4; }; var _local3:uint = (_-Hw(_arg1, _arg2) & _-Gj._-CE); return (_-79(_arg1, _arg2, _local3)); } private function _-CA():void{ } public function dynamic():void{ var _local1:_-9f; var _local2:int; var _local5:_-Gj; var _local6:_-8A; var _local7:_-8A; var _local3:int; var _local4:Array = _-7Y._-DX; _local2 = 0; while (_local2 < final) { _local1 = _-BE[_local2]; _local5 = _-1Q(_local1.proxyId1, _local1.proxyId2); _local5._-GR(); _local6 = _local4[_local5.proxyId1]; _local7 = _local4[_local5.proxyId2]; if (_local5._-1x()){ if (_local5._-6H() == true){ _-E6.PairRemoved(_local6.userData, _local7.userData, _local5.userData); }; _local1 = _-BE[_local3]; _local1.proxyId1 = _local5.proxyId1; _local1.proxyId2 = _local5.proxyId2; _local3++; } else { if (_local5._-6H() == false){ _local5.userData = _-E6.PairAdded(_local6.userData, _local7.userData); _local5._-Dy(); }; }; _local2++; }; _local2 = 0; while (_local2 < _local3) { _local1 = _-BE[_local2]; _-I8(_local1.proxyId1, _local1.proxyId2); _local2++; }; final = 0; if (_-Gx.null ){ _-2M(); }; } public function _-38(_arg1:int, _arg2:int):void{ var _local3:_-9f; var _local4:_-Gj = _-1Q(_arg1, _arg2); if (_local4 == null){ return; }; if (_local4._-9V() == false){ _local4._-4x(); _local3 = _-BE[final]; _local3.proxyId1 = _local4.proxyId1; _local3.proxyId2 = _local4.proxyId2; final++; }; _local4._-Cl(); if (_-Gx.null ){ _-CA(); }; } private function _-I8(_arg1:uint, _arg2:uint){ var _local3:_-Gj; var _local7:uint; var _local8:uint; var _local9:*; if (_arg1 > _arg2){ _local7 = _arg1; _arg1 = _arg2; _arg2 = _local7; }; var _local4:uint = (_-Hw(_arg1, _arg2) & _-Gj._-CE); var _local5:uint = _-CO[_local4]; var _local6:_-Gj; while (_local5 != _-Gj._-7b) { if (_-E3(_-51[_local5], _arg1, _arg2)){ _local8 = _local5; _local3 = _-51[_local5]; if (_local6){ _local6.next = _local3.next; } else { _-CO[_local4] = _local3.next; }; _local3 = _-51[_local8]; _local9 = _local3.userData; _local3.next = _-02; _local3.proxyId1 = _-Gj._-D; _local3.proxyId2 = _-Gj._-D; _local3.userData = null; _local3.status = 0; _-02 = _local8; _-Aq--; return (_local9); } else { _local6 = _-51[_local5]; _local5 = _local6.next; }; }; return (null); } public function _-D0(_arg1:_-Gx, _arg2:_-Gk):void{ _-7Y = _arg1; _-E6 = _arg2; } public function _-4R(_arg1:int, _arg2:int):void{ var _local3:_-9f; var _local4:_-Gj = _-DZ(_arg1, _arg2); if (_local4._-9V() == false){ _local4._-4x(); _local3 = _-BE[final]; _local3.proxyId1 = _local4.proxyId1; _local3.proxyId2 = _local4.proxyId2; final++; }; _local4._-FE(); if (_-Gx.null ){ _-CA(); }; } private function _-DZ(_arg1:uint, _arg2:uint):_-Gj{ var _local6:uint; if (_arg1 > _arg2){ _local6 = _arg1; _arg1 = _arg2; _arg2 = _local6; }; var _local3:uint = (_-Hw(_arg1, _arg2) & _-Gj._-CE); var _local4 = _-79(_arg1, _arg2, _local3); if (_local4 != null){ return (_local4); }; var _local5:uint = _-02; _local4 = _-51[_local5]; _-02 = _local4.next; _local4.proxyId1 = _arg1; _local4.proxyId2 = _arg2; _local4.status = 0; _local4.userData = null; _local4.next = _-CO[_local3]; _-CO[_local3] = _local5; _-Aq++; return (_local4); } private function _-2M():void{ } public static function _-95(_arg1:_-9f, _arg2:_-9f):Boolean{ return ((((_arg1.proxyId1 == _arg2.proxyId1)) && ((_arg1.proxyId2 == _arg2.proxyId2)))); } public static function _-Hw(_arg1:uint, _arg2:uint):uint{ var _local3:uint = (((_arg2 << 16) & 4294901760) | _arg1); _local3 = (~(_local3) + ((_local3 << 15) & 4294934528)); _local3 = (_local3 ^ ((_local3 >> 12) & 1048575)); _local3 = (_local3 + ((_local3 << 2) & 4294967292)); _local3 = (_local3 ^ ((_local3 >> 4) & 268435455)); _local3 = (_local3 * 2057); _local3 = (_local3 ^ ((_local3 >> 16) & 0xFFFF)); return (_local3); } public static function _-E3(_arg1:_-Gj, _arg2:uint, _arg3:uint):Boolean{ return ((((_arg1.proxyId1 == _arg2)) && ((_arg1.proxyId2 == _arg3)))); } } }//package Box2D.Collision
Section 65
//_-B8 (Box2D.Collision._-B8) package Box2D.Collision { import Box2D.Common.Math.*; import _-Ao.*; public class _-B8 { public var _-5c:Number; public var _-Es:Number; public var normal:b2Vec2; public var position:b2Vec2; public var _-9n:Number; public var shape1:_-8J; public var shape2:_-8J; public var id:_-BB; public var _-9R:b2Vec2; public function _-B8(){ position = new b2Vec2(); _-9R = new b2Vec2(); normal = new b2Vec2(); id = new _-BB(); super(); } } }//package Box2D.Collision
Section 66
//_-BB (Box2D.Collision._-BB) package Box2D.Collision { public class _-BB { public var _-30:uint; public var _-48:_-G7; public function _-BB(){ _-48 = new _-G7(); super(); _-48._-CJ = this; } public function Set(_arg1:_-BB):void{ key = _arg1._-30; } public function Copy():_-BB{ var _local1:_-BB = new _-BB(); _local1.key = key; return (_local1); } public function set key(_arg1:uint):void{ _-30 = _arg1; _-48._-2 = (_-30 & 0xFF); _-48._-Al = (((_-30 & 0xFF00) >> 8) & 0xFF); _-48._-Dg = (((_-30 & 0xFF0000) >> 16) & 0xFF); _-48._-1U = (((_-30 & 4278190080) >> 24) & 0xFF); } public function get key():uint{ return (_-30); } } }//package Box2D.Collision
Section 67
//_-Ey (Box2D.Collision._-Ey) package Box2D.Collision { import Box2D.Common.Math.*; public class _-Ey { public var _-Es:Number; public var _-1H:b2Vec2; public var _-n:Number; public var _-2s:Number; public var _-P:b2Vec2; public var id:_-BB; public function _-Ey(){ _-P = new b2Vec2(); _-1H = new b2Vec2(); id = new _-BB(); super(); } public function Set(_arg1:_-Ey):void{ _-P._-8S(_arg1._-P); _-1H._-8S(_arg1._-1H); _-Es = _arg1._-Es; _-n = _arg1._-n; _-2s = _arg1._-2s; id.key = _arg1.id.key; } public function _-Hc():void{ _-P._-87(); _-1H._-87(); _-Es = 0; _-n = 0; _-2s = 0; id.key = 0; } } }//package Box2D.Collision
Section 68
//_-G7 (Box2D.Collision._-G7) package Box2D.Collision { public class _-G7 { public var _-2:int; public var _-Al:int; public var _-1U:int; public var _-Dg:int; public var _-CJ:_-BB; public function get _-IG():int{ return (_-2); } public function set _-AW(_arg1:int):void{ _-Dg = _arg1; _-CJ._-30 = ((_-CJ._-30 & 4278255615) | ((_-Dg << 16) & 0xFF0000)); } public function get _-CS():int{ return (_-1U); } public function get _-59():int{ return (_-Al); } public function set _-IG(_arg1:int):void{ _-2 = _arg1; _-CJ._-30 = ((_-CJ._-30 & 4294967040) | (_-2 & 0xFF)); } public function get _-AW():int{ return (_-Dg); } public function set _-CS(_arg1:int):void{ _-1U = _arg1; _-CJ._-30 = ((_-CJ._-30 & 0xFFFFFF) | ((_-1U << 24) & 4278190080)); } public function set _-59(_arg1:int):void{ _-Al = _arg1; _-CJ._-30 = ((_-CJ._-30 & 4294902015) | ((_-Al << 8) & 0xFF00)); } } }//package Box2D.Collision
Section 69
//_-Gj (Box2D.Collision._-Gj) package Box2D.Collision { import _-El.*; public class _-Gj { public var proxyId1:uint; public var userData;// = null public var proxyId2:uint; public var status:uint; public var next:uint; public static var _-61:uint = 4; public static var _-CE:int = (_-AU - 1); public static var _-AK:uint = 2; public static var _-7b:uint = _-00._-IH; public static var do:uint = 1; public static var _-D:uint = _-00._-IH; public static var _-AU:int = _-00._-55; public function _-4x():void{ status = (status | do); } public function _-9V():Boolean{ return (((status & do) == do)); } public function _-6H():Boolean{ return (((status & _-61) == _-61)); } public function _-FE():void{ status = (status & ~(_-AK)); } public function _-Dy():void{ status = (status | _-61); } public function _-1x():Boolean{ return (((status & _-AK) == _-AK)); } public function _-GR():void{ status = (status & ~(do)); } public function _-Cl():void{ status = (status | _-AK); } } }//package Box2D.Collision
Section 70
//_-Gk (Box2D.Collision._-Gk) package Box2D.Collision { public class _-Gk { public function PairRemoved(_arg1, _arg2, _arg3):void{ } public function PairAdded(_arg1, _arg2){ return (null); } } }//package Box2D.Collision
Section 71
//_-Gx (Box2D.Collision._-Gx) package Box2D.Collision { import Box2D.Common.Math.*; import _-El.*; public class _-Gx { public var _-Co:Array; public var _-93:_-9E; public var _-3d:Array; public var _-CU:uint; public var _-I5:b2Vec2; public var _-2i:int; public var _-DX:Array; public var _-G-:int; public var _-1t:_-9U; public var _-S:uint; public var _-0c:Array; public static const _-1b:uint = 0xFFFF; public static const _-Ho:uint = 0xFFFF; public static var null :Boolean = false; public function _-Gx(_arg1:_-9E, _arg2:_-Gk){ var _local3:int; var _local6:_-8A; var _local7:int; _-1t = new _-9U(); _-DX = new Array(_-00._-55); _-Co = new Array((2 * _-00._-7s)); _-3d = new Array(_-00._-7s); _-0c = new Array(_-00._-7s); _-I5 = new b2Vec2(); super(); _-1t._-D0(this, _arg2); _-93 = _arg1; _-2i = 0; _local3 = 0; while (_local3 < _-00._-7s) { _-0c[_local3] = 0; _-3d[_local3] = 0; _local3++; }; _-Co = new Array(2); _local3 = 0; while (_local3 < 2) { _-Co[_local3] = new Array((2 * _-00._-7s)); _local7 = 0; while (_local7 < (2 * _-00._-7s)) { _-Co[_local3][_local7] = new _-1Z(); _local7++; }; _local3++; }; var _local4:Number = (_arg1._-AF.x - _arg1._-6Q.x); var _local5:Number = (_arg1._-AF.y - _arg1._-6Q.y); _-I5.x = (_-00._-IH / _local4); _-I5.y = (_-00._-IH / _local5); _local3 = 0; while (_local3 < (_-00._-7s - 1)) { _local6 = new _-8A(); _-DX[_local3] = _local6; _local6._-0j((_local3 + 1)); _local6._-DG = 0; _local6._-2D = _-Ho; _local6.userData = null; _local3++; }; _local6 = new _-8A(); _-DX[int((_-00._-7s - 1))] = _local6; _local6._-0j(_-Gj._-D); _local6._-DG = 0; _local6._-2D = _-Ho; _local6.userData = null; _-CU = 0; _-S = 1; _-G- = 0; } public function _-1A(_arg1:_-9E, _arg2, _arg3:int):int{ var _local6:uint; var _local7:uint; var _local12:_-8A; var _local4:Array = new Array(); var _local5:Array = new Array(); _-B2(_local4, _local5, _arg1); var _local8:Array = [_local6]; var _local9:Array = [_local7]; _-3L(_local8, _local9, _local4[0], _local5[0], _-Co[0], (2 * _-2i), 0); _-3L(_local8, _local9, _local4[1], _local5[1], _-Co[1], (2 * _-2i), 1); var _local10:int; var _local11:int; while ((((_local11 < _-G-)) && ((_local10 < _arg3)))) { _local12 = _-DX[_-0c[_local11]]; _arg2[_local11] = _local12.userData; _local11++; _local10++; }; _-G- = 0; var(); return (_local10); } public function dynamic():void{ _-1t.dynamic(); } public function _-3i(_arg1:int):_-8A{ var _local2:_-8A = _-DX[_arg1]; if ((((_arg1 == _-Gj._-D)) || ((_local2._-7R() == false)))){ return (null); }; return (_local2); } private function var():void{ var _local1:uint; if (_-S == _-00._-IH){ _local1 = 0; while (_local1 < _-00._-7s) { (_-DX[_local1] as _-8A)._-DG = 0; _local1++; }; _-S = 1; } else { _-S++; }; } private function _-3L(_arg1:Array, _arg2:Array, _arg3:uint, _arg4:uint, _arg5:Array, _arg6:uint, _arg7:int):void{ var _local10:_-1Z; var _local12:int; var _local13:int; var _local14:_-8A; var _local8:uint = _-Er(_arg5, _arg6, _arg3); var _local9:uint = _-Er(_arg5, _arg6, _arg4); var _local11:uint = _local8; while (_local11 < _local9) { _local10 = _arg5[_local11]; if (_local10.IsLower()){ _-u(_local10.proxyId); }; _local11++; }; if (_local8 > 0){ _local12 = (_local8 - 1); _local10 = _arg5[_local12]; _local13 = _local10._-6b; while (_local13) { _local10 = _arg5[_local12]; if (_local10.IsLower()){ _local14 = _-DX[_local10.proxyId]; if (_local8 <= _local14._-B0[_arg7]){ _-u(_local10.proxyId); _local13--; }; }; _local12--; }; }; _arg1[0] = _local8; _arg2[0] = _local9; } private function _-6j(_arg1:uint, _arg2:_-8A, _arg3:Number, _arg4:Function):void{ var _local9:Number; var _local10:uint; var _local5:Number = _arg4(_arg2.userData); if (_local5 < 0){ return; }; var _local6:Number = 0; while ((((_local6 < _-G-)) && ((_-3d[_local6] < _local5)))) { _local6++; }; var _local7:Number = _local5; var _local8:uint = _arg1; _-G- = (_-G- + 1); if (_-G- > _arg3){ _-G- = _arg3; }; while (_local6 < _-G-) { _local9 = _-3d[_local6]; _local10 = _-0c[_local6]; _-3d[_local6] = _local7; _-0c[_local6] = _local8; _local7 = _local9; _local8 = _local10; _local6++; }; } private function _-G(_arg1:_-8A, _arg2:_-8A):Boolean{ var _local4:Array; var _local5:_-1Z; var _local6:_-1Z; var _local3:int; while (_local3 < 2) { _local4 = _-Co[_local3]; _local5 = _local4[_arg1._-Bw[_local3]]; _local6 = _local4[_arg2._-B0[_local3]]; if (_local5.value > _local6.value){ return (false); }; _local5 = _local4[_arg1._-B0[_local3]]; _local6 = _local4[_arg2._-Bw[_local3]]; if (_local5.value < _local6.value){ return (false); }; _local3++; }; return (true); } private function _-B2(_arg1:Array, _arg2:Array, _arg3:_-9E):void{ var _local4:Number = _arg3._-6Q.x; var _local5:Number = _arg3._-6Q.y; _local4 = _-4U._-Fr(_local4, _-93._-AF.x); _local5 = _-4U._-Fr(_local5, _-93._-AF.y); _local4 = _-4U._-1P(_local4, _-93._-6Q.x); _local5 = _-4U._-1P(_local5, _-93._-6Q.y); var _local6:Number = _arg3._-AF.x; var _local7:Number = _arg3._-AF.y; _local6 = _-4U._-Fr(_local6, _-93._-AF.x); _local7 = _-4U._-Fr(_local7, _-93._-AF.y); _local6 = _-4U._-1P(_local6, _-93._-6Q.x); _local7 = _-4U._-1P(_local7, _-93._-6Q.y); _arg1[0] = (uint((_-I5.x * (_local4 - _-93._-6Q.x))) & (_-00._-IH - 1)); _arg2[0] = ((uint((_-I5.x * (_local6 - _-93._-6Q.x))) & 0xFFFF) | 1); _arg1[1] = (uint((_-I5.y * (_local5 - _-93._-6Q.y))) & (_-00._-IH - 1)); _arg2[1] = ((uint((_-I5.y * (_local7 - _-93._-6Q.y))) & 0xFFFF) | 1); } public function _-3-(_arg1:_-9E, _arg2):uint{ var _local3:uint; var _local4:_-8A; var _local11:Array; var _local12:uint; var _local13:uint; var _local14:Array; var _local15:Array; var _local16:Array; var _local17:int; var _local18:int; var _local19:_-1Z; var _local20:_-1Z; var _local21:_-1Z; var _local22:int; var _local23:_-8A; var _local5:uint = _-CU; _local4 = _-DX[_local5]; _-CU = _local4._-83(); _local4._-2D = 0; _local4.userData = _arg2; var _local6:uint = (2 * _-2i); var _local7:Array = new Array(); var _local8:Array = new Array(); _-B2(_local7, _local8, _arg1); var _local9:int; while (_local9 < 2) { _local11 = _-Co[_local9]; _local14 = [_local12]; _local15 = [_local13]; _-3L(_local14, _local15, _local7[_local9], _local8[_local9], _local11, _local6, _local9); _local12 = _local14[0]; _local13 = _local15[0]; _local16 = new Array(); _local18 = (_local6 - _local13); _local17 = 0; while (_local17 < _local18) { _local16[_local17] = new _-1Z(); _local19 = _local16[_local17]; _local20 = _local11[int((_local13 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19._-6b = _local20._-6b; _local17++; }; _local18 = _local16.length; _local22 = (_local13 + 2); _local17 = 0; while (_local17 < _local18) { _local20 = _local16[_local17]; _local19 = _local11[int((_local22 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19._-6b = _local20._-6b; _local17++; }; _local16 = new Array(); _local18 = (_local13 - _local12); _local17 = 0; while (_local17 < _local18) { _local16[_local17] = new _-1Z(); _local19 = _local16[_local17]; _local20 = _local11[int((_local12 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19._-6b = _local20._-6b; _local17++; }; _local18 = _local16.length; _local22 = (_local12 + 1); _local17 = 0; while (_local17 < _local18) { _local20 = _local16[_local17]; _local19 = _local11[int((_local22 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19._-6b = _local20._-6b; _local17++; }; _local13++; _local19 = _local11[_local12]; _local20 = _local11[_local13]; _local19.value = _local7[_local9]; _local19.proxyId = _local5; _local20.value = _local8[_local9]; _local20.proxyId = _local5; _local21 = _local11[int((_local12 - 1))]; _local19._-6b = ((_local12 == 0)) ? 0 : _local21._-6b; _local21 = _local11[int((_local13 - 1))]; _local20._-6b = _local21._-6b; _local3 = _local12; while (_local3 < _local13) { _local21 = _local11[_local3]; _local21._-6b++; _local3++; }; _local3 = _local12; while (_local3 < (_local6 + 2)) { _local19 = _local11[_local3]; _local23 = _-DX[_local19.proxyId]; if (_local19.IsLower()){ _local23._-Bw[_local9] = _local3; } else { _local23._-B0[_local9] = _local3; }; _local3++; }; _local9++; }; _-2i++; var _local10:int; while (_local10 < _-G-) { _-1t._-4R(_local5, _-0c[_local10]); _local10++; }; _-1t.dynamic(); _-G- = 0; var(); return (_local5); } public function _-66(_arg1:uint):void{ var _local2:_-1Z; var _local3:_-1Z; var _local8:Array; var _local9:uint; var _local10:uint; var _local11:uint; var _local12:uint; var _local13:Array; var _local14:int; var _local15:int; var _local16:int; var _local17:uint; var _local18:int; var _local19:_-8A; var _local4:_-8A = _-DX[_arg1]; var _local5:int = (2 * _-2i); var _local6:int; while (_local6 < 2) { _local8 = _-Co[_local6]; _local9 = _local4._-Bw[_local6]; _local10 = _local4._-B0[_local6]; _local2 = _local8[_local9]; _local11 = _local2.value; _local3 = _local8[_local10]; _local12 = _local3.value; _local13 = new Array(); _local15 = ((_local10 - _local9) - 1); _local14 = 0; while (_local14 < _local15) { _local13[_local14] = new _-1Z(); _local2 = _local13[_local14]; _local3 = _local8[int(((_local9 + 1) + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2._-6b = _local3._-6b; _local14++; }; _local15 = _local13.length; _local16 = _local9; _local14 = 0; while (_local14 < _local15) { _local3 = _local13[_local14]; _local2 = _local8[int((_local16 + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2._-6b = _local3._-6b; _local14++; }; _local13 = new Array(); _local15 = ((_local5 - _local10) - 1); _local14 = 0; while (_local14 < _local15) { _local13[_local14] = new _-1Z(); _local2 = _local13[_local14]; _local3 = _local8[int(((_local10 + 1) + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2._-6b = _local3._-6b; _local14++; }; _local15 = _local13.length; _local16 = (_local10 - 1); _local14 = 0; while (_local14 < _local15) { _local3 = _local13[_local14]; _local2 = _local8[int((_local16 + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2._-6b = _local3._-6b; _local14++; }; _local15 = (_local5 - 2); _local17 = _local9; while (_local17 < _local15) { _local2 = _local8[_local17]; _local19 = _-DX[_local2.proxyId]; if (_local2.IsLower()){ _local19._-Bw[_local6] = _local17; } else { _local19._-B0[_local6] = _local17; }; _local17++; }; _local15 = (_local10 - 1); _local18 = _local9; while (_local18 < _local15) { _local2 = _local8[_local18]; _local2._-6b--; _local18++; }; _-3L([0], [0], _local11, _local12, _local8, (_local5 - 2), _local6); _local6++; }; var _local7:int; while (_local7 < _-G-) { _-1t._-38(_arg1, _-0c[_local7]); _local7++; }; _-1t.dynamic(); _-G- = 0; var(); _local4.userData = null; _local4._-2D = _-Ho; _local4._-Bw[0] = _-Ho; _local4._-Bw[1] = _-Ho; _local4._-B0[0] = _-Ho; _local4._-B0[1] = _-Ho; _local4._-0j(_-CU); _-CU = _arg1; _-2i--; } public function _-Gm(_arg1:_-I6, _arg2:_-8A):Boolean{ var _local4:Array; var _local5:_-1Z; var _local3:int; while (_local3 < 2) { _local4 = _-Co[_local3]; _local5 = _local4[_arg2._-B0[_local3]]; if (_arg1._-1V[_local3] > _local5.value){ return (false); }; _local5 = _local4[_arg2._-Bw[_local3]]; if (_arg1._-4C[_local3] < _local5.value){ return (false); }; _local3++; }; return (true); } public function _-Dq():void{ var _local1:_-Gj; var _local2:_-8A; var _local3:_-8A; var _local4:Boolean; var _local6:_-1Z; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:_-1Z; var _local5:int; while (_local5 < 2) { _local6 = _-Co[_local5]; _local7 = (2 * _-2i); _local8 = 0; _local9 = 0; while (_local9 < _local7) { _local10 = _local6[_local9]; if (_local10.IsLower() == true){ _local8++; } else { _local8--; }; _local9++; }; _local5++; }; } private function _-u(_arg1:uint):void{ var _local2:_-8A = _-DX[_arg1]; if (_local2._-DG < _-S){ _local2._-DG = _-S; _local2._-2D = 1; } else { _local2._-2D = 2; _-0c[_-G-] = _arg1; _-G-++; }; } public function _-2R(_arg1:_-9E):Boolean{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = _arg1._-6Q.x; _local3 = _arg1._-6Q.y; _local2 = (_local2 - _-93._-AF.x); _local3 = (_local3 - _-93._-AF.y); _local4 = _-93._-6Q.x; _local5 = _-93._-6Q.y; _local4 = (_local4 - _arg1._-AF.x); _local5 = (_local5 - _arg1._-AF.y); _local2 = _-4U._-1P(_local2, _local4); _local3 = _-4U._-1P(_local3, _local5); return ((_-4U._-1P(_local2, _local3) < 0)); } public function _-Hh(_arg1:_-ID, _arg2, _arg3:int, _arg4:Function):int{ var _local15:int; var _local16:int; var _local17:uint; var _local18:_-8A; var _local19:uint; var _local20:uint; var _local24:Number; var _local25:Number; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:uint; var _local5:Number = 1; var _local6:Number = ((_arg1.p2.x - _arg1.p1.x) * _-I5.x); var _local7:Number = ((_arg1.p2.y - _arg1.p1.y) * _-I5.y); var _local8:int = ((_local6 < -(Number.MIN_VALUE))) ? -1 : ((_local6 > Number.MIN_VALUE)) ? 1 : 0; var _local9:int = ((_local7 < -(Number.MIN_VALUE))) ? -1 : ((_local7 > Number.MIN_VALUE)) ? 1 : 0; var _local10:Number = (_-I5.x * (_arg1.p1.x - _-93._-6Q.x)); var _local11:Number = (_-I5.y * (_arg1.p1.y - _-93._-6Q.y)); var _local12:Array = new Array(); var _local13:Array = new Array(); _local12[0] = (uint(_local10) & (_-00._-IH - 1)); _local12[1] = (uint(_local11) & (_-00._-IH - 1)); _local13[0] = (_local12[0] + 1); _local13[1] = (_local12[1] + 1); var _local14:Array = new Array(); var _local21:Array = [_local19]; var _local22:Array = [_local20]; _-3L(_local21, _local22, _local12[0], _local13[0], _-Co[0], (2 * _-2i), 0); if (_local8 >= 0){ _local15 = (_local22[0] - 1); } else { _local15 = _local21[0]; }; _-3L(_local21, _local22, _local12[1], _local13[1], _-Co[1], (2 * _-2i), 1); if (_local9 >= 0){ _local16 = (_local22[0] - 1); } else { _local16 = _local21[0]; }; if (_arg4 != null){ _local27 = 0; while (_local27 < _-G-) { _-3d[_local27] = _arg4(_-DX[_-0c[_local27]].userData); _local27++; }; _local27 = 0; while (_local27 < (_-G- - 1)) { _local28 = _-3d[_local27]; _local29 = _-3d[(_local27 + 1)]; if (((_local28)<0) ? (_local29 >= 0) : (((_local28 > _local29)) && ((_local29 >= 0)))){ _-3d[(_local27 + 1)] = _local28; _-3d[_local27] = _local29; _local30 = _-0c[(_local27 + 1)]; _-0c[(_local27 + 1)] = _-0c[_local27]; _-0c[_local27] = _local30; --_local27; if (_local27 == -1){ _local27 = 1; }; } else { _local27++; }; }; while ((((_-G- > 0)) && ((_-3d[(_-G- - 1)] < 0)))) { _-G---; }; }; var _local23:Boolean; if ((((_local15 < 0)) || ((_local15 >= (_-2i * 2))))){ _local23 = false; }; if ((((_local16 < 0)) || ((_local16 >= (_-2i * 2))))){ _local23 = false; }; if (_local23){ if (_local8 != 0){ if (_local8 > 0){ _local15++; if (_local15 == (_-2i * 2)){ _local23 = false; }; } else { --_local15; if (_local15 < 0){ _local23 = false; }; }; _local24 = ((_-Co[0][_local15].value - _local10) / _local6); }; if (_local9 != 0){ if (_local9 > 0){ _local16++; if (_local16 == (_-2i * 2)){ _local23 = false; }; } else { --_local16; if (_local16 < 0){ _local23 = false; }; }; _local25 = ((_-Co[1][_local16].value - _local11) / _local7); }; }; while (_local23) { if ((((_local9 == 0)) || (((!((_local8 == 0))) && ((_local24 < _local25)))))){ if (_local24 > _local5){ break; }; if (((_local8 > 0)) ? _-Co[0][_local15].IsLower() : _-Co[0][_local15].IsUpper()){ _local17 = _-Co[0][_local15].proxyId; _local18 = _-DX[_local17]; if (_local9 >= 0){ if ((((_local18._-Bw[1] <= (_local16 - 1))) && ((_local18._-B0[1] >= _local16)))){ if (_arg4 != null){ _-6j(_local17, _local18, _arg3, _arg4); } else { _-0c[_-G-] = _local17; _-G-++; }; }; } else { if ((((_local18._-Bw[1] <= _local16)) && ((_local18._-B0[1] >= (_local16 + 1))))){ if (_arg4 != null){ _-6j(_local17, _local18, _arg3, _arg4); } else { _-0c[_-G-] = _local17; _-G-++; }; }; }; }; if (((((((!((_arg4 == null))) && ((_-G- == _arg3)))) && ((_-G- > 0)))) && ((_local24 > _-3d[(_-G- - 1)])))){ break; }; if (_local8 > 0){ _local15++; if (_local15 == (_-2i * 2)){ break; }; } else { --_local15; if (_local15 < 0){ break; }; }; _local24 = ((_-Co[0][_local15].value - _local10) / _local6); } else { if (_local25 > _local5){ break; }; if (((_local9 > 0)) ? _-Co[1][_local16].IsLower() : _-Co[1][_local16].IsUpper()){ _local17 = _-Co[1][_local16].proxyId; _local18 = _-DX[_local17]; if (_local8 >= 0){ if ((((_local18._-Bw[0] <= (_local15 - 1))) && ((_local18._-B0[0] >= _local15)))){ if (_arg4 != null){ _-6j(_local17, _local18, _arg3, _arg4); } else { _-0c[_-G-] = _local17; _-G-++; }; }; } else { if ((((_local18._-Bw[0] <= _local15)) && ((_local18._-B0[0] >= (_local15 + 1))))){ if (_arg4 != null){ _-6j(_local17, _local18, _arg3, _arg4); } else { _-0c[_-G-] = _local17; _-G-++; }; }; }; }; if (((((((!((_arg4 == null))) && ((_-G- == _arg3)))) && ((_-G- > 0)))) && ((_local25 > _-3d[(_-G- - 1)])))){ break; }; if (_local9 > 0){ _local16++; if (_local16 == (_-2i * 2)){ break; }; } else { --_local16; if (_local16 < 0){ break; }; }; _local25 = ((_-Co[1][_local16].value - _local11) / _local7); }; }; var _local26:int; _local27 = 0; while ((((_local27 < _-G-)) && ((_local26 < _arg3)))) { _local18 = _-DX[_-0c[_local27]]; _arg2[_local27] = _local18.userData; _local27++; _local26++; }; _-G- = 0; var(); return (_local26); } public function _-5r(_arg1:uint, _arg2:_-9E):void{ var _local3:Array; var _local4:int; var _local5:uint; var _local6:uint; var _local7:_-1Z; var _local8:_-1Z; var _local9:_-1Z; var _local10:uint; var _local11:_-8A; var _local16:Array; var _local17:uint; var _local18:uint; var _local19:uint; var _local20:uint; var _local21:int; var _local22:int; var _local23:uint; var _local24:_-8A; if ((((_arg1 == _-Gj._-D)) || ((_-00._-7s <= _arg1)))){ return; }; if (_arg2._-7R() == false){ return; }; var _local12:uint = (2 * _-2i); var _local13:_-8A = _-DX[_arg1]; var _local14:_-I6 = new _-I6(); _-B2(_local14._-1V, _local14._-4C, _arg2); var _local15:_-I6 = new _-I6(); _local5 = 0; while (_local5 < 2) { _local7 = _-Co[_local5][_local13._-Bw[_local5]]; _local15._-1V[_local5] = _local7.value; _local7 = _-Co[_local5][_local13._-B0[_local5]]; _local15._-4C[_local5] = _local7.value; _local5++; }; _local5 = 0; while (_local5 < 2) { _local16 = _-Co[_local5]; _local17 = _local13._-Bw[_local5]; _local18 = _local13._-B0[_local5]; _local19 = _local14._-1V[_local5]; _local20 = _local14._-4C[_local5]; _local7 = _local16[_local17]; _local21 = (_local19 - _local7.value); _local7.value = _local19; _local7 = _local16[_local18]; _local22 = (_local20 - _local7.value); _local7.value = _local20; if (_local21 < 0){ _local6 = _local17; while ((((_local6 > 0)) && ((_local19 < (_local16[int((_local6 - 1))] as _-1Z).value)))) { _local7 = _local16[_local6]; _local8 = _local16[int((_local6 - 1))]; _local23 = _local8.proxyId; _local24 = _-DX[_local8.proxyId]; _local8._-6b++; if (_local8.IsUpper() == true){ if (_-Gm(_local14, _local24)){ _-1t._-4R(_arg1, _local23); }; _local3 = _local24._-B0; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-6b++; } else { _local3 = _local24._-Bw; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-6b--; }; _local3 = _local13._-Bw; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-9L(_local8); _local6--; }; }; if (_local22 > 0){ _local6 = _local18; while ((((_local6 < (_local12 - 1))) && (((_local16[int((_local6 + 1))] as _-1Z).value <= _local20)))) { _local7 = _local16[_local6]; _local9 = _local16[int((_local6 + 1))]; _local10 = _local9.proxyId; _local11 = _-DX[_local10]; _local9._-6b++; if (_local9.IsLower() == true){ if (_-Gm(_local14, _local11)){ _-1t._-4R(_arg1, _local10); }; _local3 = _local11._-Bw; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-6b++; } else { _local3 = _local11._-B0; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-6b--; }; _local3 = _local13._-B0; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-9L(_local9); _local6++; }; }; if (_local21 > 0){ _local6 = _local17; while ((((_local6 < (_local12 - 1))) && (((_local16[int((_local6 + 1))] as _-1Z).value <= _local19)))) { _local7 = _local16[_local6]; _local9 = _local16[int((_local6 + 1))]; _local10 = _local9.proxyId; _local11 = _-DX[_local10]; _local9._-6b--; if (_local9.IsUpper()){ if (_-Gm(_local15, _local11)){ _-1t._-38(_arg1, _local10); }; _local3 = _local11._-B0; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-6b--; } else { _local3 = _local11._-Bw; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-6b++; }; _local3 = _local13._-Bw; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-9L(_local9); _local6++; }; }; if (_local22 < 0){ _local6 = _local18; while ((((_local6 > 0)) && ((_local20 < (_local16[int((_local6 - 1))] as _-1Z).value)))) { _local7 = _local16[_local6]; _local8 = _local16[int((_local6 - 1))]; _local23 = _local8.proxyId; _local24 = _-DX[_local23]; _local8._-6b--; if (_local8.IsLower() == true){ if (_-Gm(_local15, _local24)){ _-1t._-38(_arg1, _local23); }; _local3 = _local24._-Bw; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-6b--; } else { _local3 = _local24._-B0; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-6b++; }; _local3 = _local13._-B0; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-9L(_local8); _local6--; }; }; _local5++; }; } public static function _-Er(_arg1:Array, _arg2:int, _arg3:uint):uint{ var _local6:int; var _local7:_-1Z; var _local4:int; var _local5:int = (_arg2 - 1); while (_local4 <= _local5) { _local6 = ((_local4 + _local5) / 2); _local7 = _arg1[_local6]; if (_local7.value > _arg3){ _local5 = (_local6 - 1); } else { if (_local7.value < _arg3){ _local4 = (_local6 + 1); } else { return (uint(_local6)); }; }; }; return (uint(_local4)); } } }//package Box2D.Collision
Section 72
//_-I- (Box2D.Collision._-I-) package Box2D.Collision { import Box2D.Common.Math.*; import _-El.*; import _-Ao.*; public class _-I- { private static var _-9a:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var _-HQ:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var _-GB:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var _-0x:default = new default(); public static var _-DW:int = 0; public static function _-G2(_arg1:b2Vec2, _arg2:Array, _arg3:int):Boolean{ var _local6:b2Vec2; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local4:Number = (100 * Number.MIN_VALUE); var _local5:int; while (_local5 < _arg3) { _local6 = _arg2[_local5]; _local7 = Math.abs((_arg1.x - _local6.x)); _local8 = Math.abs((_arg1.y - _local6.y)); _local9 = Math.max(Math.abs(_arg1.x), Math.abs(_local6.x)); _local10 = Math.max(Math.abs(_arg1.y), Math.abs(_local6.y)); if ((((_local7 < (_local4 * (_local9 + 1)))) && ((_local8 < (_local4 * (_local10 + 1)))))){ return (true); }; _local5++; }; return (false); } public static function _-Hy(_arg1:b2Vec2, _arg2:b2Vec2, _arg3, _arg4:_-0X, _arg5, _arg6:_-0X):Number{ var _local7:b2Vec2; var _local15:Number; var _local16:Number; var _local17:b2Vec2; var _local18:b2Vec2; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:int; var _local8:Array = _-HQ; var _local9:Array = _-9a; var _local10:Array = _-GB; var _local11:int; _arg1._-8S(_arg3.GetFirstVertex(_arg4)); _arg2._-8S(_arg5.GetFirstVertex(_arg6)); var _local12:Number = 0; var _local13 = 20; var _local14:int; while (_local14 < _local13) { _local15 = (_arg2.x - _arg1.x); _local16 = (_arg2.y - _arg1.y); _local17 = _arg3.Support(_arg4, _local15, _local16); _local18 = _arg5.Support(_arg6, -(_local15), -(_local16)); _local12 = ((_local15 * _local15) + (_local16 * _local16)); _local19 = (_local18.x - _local17.x); _local20 = (_local18.y - _local17.y); _local21 = ((_local15 * _local19) + (_local16 * _local20)); if ((_local12 - ((_local15 * _local19) + (_local16 * _local20))) <= (0.01 * _local12)){ if (_local11 == 0){ _arg1._-8S(_local17); _arg2._-8S(_local18); }; _-DW = _local14; return (Math.sqrt(_local12)); }; switch (_local11){ case 0: _local7 = _local8[0]; _local7._-8S(_local17); _local7 = _local9[0]; _local7._-8S(_local18); _local7 = _local10[0]; _local7.x = _local19; _local7.y = _local20; _arg1._-8S(_local8[0]); _arg2._-8S(_local9[0]); _local11++; break; case 1: _local7 = _local8[1]; _local7._-8S(_local17); _local7 = _local9[1]; _local7._-8S(_local18); _local7 = _local10[1]; _local7.x = _local19; _local7.y = _local20; _local11 = _-I0(_arg1, _arg2, _local8, _local9, _local10); break; case 2: _local7 = _local8[2]; _local7._-8S(_local17); _local7 = _local9[2]; _local7._-8S(_local18); _local7 = _local10[2]; _local7.x = _local19; _local7.y = _local20; _local11 = _-3x(_arg1, _arg2, _local8, _local9, _local10); break; }; if (_local11 == 3){ _-DW = _local14; return (0); }; _local22 = -(Number.MAX_VALUE); _local23 = 0; while (_local23 < _local11) { _local7 = _local10[_local23]; _local22 = _-4U._-1P(_local22, ((_local7.x * _local7.x) + (_local7.y * _local7.y))); _local23++; }; if ((((_local11 == 3)) || ((_local12 <= ((100 * Number.MIN_VALUE) * _local22))))){ _-DW = _local14; _local15 = (_arg2.x - _arg1.x); _local16 = (_arg2.y - _arg1.y); _local12 = ((_local15 * _local15) + (_local16 * _local16)); return (Math.sqrt(_local12)); }; _local14++; }; _-DW = _local13; return (Math.sqrt(_local12)); } public static function _-FQ(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:_-Cx, _arg4:_-0X, _arg5:_-Cx, _arg6:_-0X):Number{ var _local7:_-8k; var _local8:b2Vec2; var _local19:Number; var _local20:Number; _local7 = _arg4.R; _local8 = _arg3._-42; var _local9:Number = (_arg4.position.x + ((_local7._-BW.x * _local8.x) + (_local7._-7N.x * _local8.y))); var _local10:Number = (_arg4.position.y + ((_local7._-BW.y * _local8.x) + (_local7._-7N.y * _local8.y))); _local7 = _arg6.R; _local8 = _arg5._-42; var _local11:Number = (_arg6.position.x + ((_local7._-BW.x * _local8.x) + (_local7._-7N.x * _local8.y))); var _local12:Number = (_arg6.position.y + ((_local7._-BW.y * _local8.x) + (_local7._-7N.y * _local8.y))); var _local13:Number = (_local11 - _local9); var _local14:Number = (_local12 - _local10); var _local15:Number = ((_local13 * _local13) + (_local14 * _local14)); var _local16:Number = (_arg3._-Db - _-00._-7j); var _local17:Number = (_arg5._-Db - _-00._-7j); var _local18:Number = (_local16 + _local17); if (_local15 > (_local18 * _local18)){ _local19 = Math.sqrt(((_local13 * _local13) + (_local14 * _local14))); _local13 = (_local13 / _local19); _local14 = (_local14 / _local19); _local20 = (_local19 - _local18); _arg1.x = (_local9 + (_local16 * _local13)); _arg1.y = (_local10 + (_local16 * _local14)); _arg2.x = (_local11 - (_local17 * _local13)); _arg2.y = (_local12 - (_local17 * _local14)); return (_local20); }; if (_local15 > (Number.MIN_VALUE * Number.MIN_VALUE)){ _local19 = Math.sqrt(((_local13 * _local13) + (_local14 * _local14))); _local13 = (_local13 / _local19); _local14 = (_local14 / _local19); _arg1.x = (_local9 + (_local16 * _local13)); _arg1.y = (_local10 + (_local16 * _local14)); _arg2.x = _arg1.x; _arg2.y = _arg1.y; return (0); }; _arg1.x = _local9; _arg1.y = _local10; _arg2.x = _arg1.x; _arg2.y = _arg1.y; return (0); } public static function _-3x(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:Array, _arg4:Array, _arg5:Array):int{ var _local6:b2Vec2; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:b2Vec2; var _local10:b2Vec2; var _local11:b2Vec2; var _local12:b2Vec2; var _local13:b2Vec2; var _local35:Number; _local6 = _arg5[0]; _local7 = _arg5[1]; _local8 = _arg5[2]; _local9 = _arg3[0]; _local10 = _arg3[1]; _local11 = _arg3[2]; _local12 = _arg4[0]; _local13 = _arg4[1]; var _local14:b2Vec2 = _arg4[2]; var _local15:Number = _local6.x; var _local16:Number = _local6.y; var _local17:Number = _local7.x; var _local18:Number = _local7.y; var _local19:Number = _local8.x; var _local20:Number = _local8.y; var _local21:Number = (_local17 - _local15); var _local22:Number = (_local18 - _local16); var _local23:Number = (_local19 - _local15); var _local24:Number = (_local20 - _local16); var _local25:Number = (_local19 - _local17); var _local26:Number = (_local20 - _local18); var _local27:Number = -(((_local15 * _local21) + (_local16 * _local22))); var _local28:Number = ((_local17 * _local21) + (_local18 * _local22)); var _local29:Number = -(((_local15 * _local23) + (_local16 * _local24))); var _local30:Number = ((_local19 * _local23) + (_local20 * _local24)); var _local31:Number = -(((_local17 * _local25) + (_local18 * _local26))); var _local32:Number = ((_local19 * _local25) + (_local20 * _local26)); if ((((_local30 <= 0)) && ((_local32 <= 0)))){ _arg1._-8S(_local11); _arg2._-8S(_local14); _local9._-8S(_local11); _local12._-8S(_local14); _local6._-8S(_local8); return (1); }; var _local33:Number = ((_local21 * _local24) - (_local22 * _local23)); var _local34:Number = (_local33 * ((_local15 * _local18) - (_local16 * _local17))); var _local36:Number = (_local33 * ((_local17 * _local20) - (_local18 * _local19))); if ((((((((_local36 <= 0)) && ((_local31 >= 0)))) && ((_local32 >= 0)))) && (((_local31 + _local32) > 0)))){ _local35 = (_local31 / (_local31 + _local32)); _arg1.x = (_local10.x + (_local35 * (_local11.x - _local10.x))); _arg1.y = (_local10.y + (_local35 * (_local11.y - _local10.y))); _arg2.x = (_local13.x + (_local35 * (_local14.x - _local13.x))); _arg2.y = (_local13.y + (_local35 * (_local14.y - _local13.y))); _local9._-8S(_local11); _local12._-8S(_local14); _local6._-8S(_local8); return (2); }; var _local37:Number = (_local33 * ((_local19 * _local16) - (_local20 * _local15))); if ((((((((_local37 <= 0)) && ((_local29 >= 0)))) && ((_local30 >= 0)))) && (((_local29 + _local30) > 0)))){ _local35 = (_local29 / (_local29 + _local30)); _arg1.x = (_local9.x + (_local35 * (_local11.x - _local9.x))); _arg1.y = (_local9.y + (_local35 * (_local11.y - _local9.y))); _arg2.x = (_local12.x + (_local35 * (_local14.x - _local12.x))); _arg2.y = (_local12.y + (_local35 * (_local14.y - _local12.y))); _local10._-8S(_local11); _local13._-8S(_local14); _local7._-8S(_local8); return (2); }; var _local38:Number = ((_local36 + _local37) + _local34); _local38 = (1 / _local38); var _local39:Number = (_local36 * _local38); var _local40:Number = (_local37 * _local38); var _local41:Number = ((1 - _local39) - _local40); _arg1.x = (((_local39 * _local9.x) + (_local40 * _local10.x)) + (_local41 * _local11.x)); _arg1.y = (((_local39 * _local9.y) + (_local40 * _local10.y)) + (_local41 * _local11.y)); _arg2.x = (((_local39 * _local12.x) + (_local40 * _local13.x)) + (_local41 * _local14.x)); _arg2.y = (((_local39 * _local12.y) + (_local40 * _local13.y)) + (_local41 * _local14.y)); return (3); } public static function _-2P(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:_-2f, _arg4:_-0X, _arg5:_-Cx, _arg6:_-0X):Number{ var _local7:_-8k; var _local8:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local9:default = _-0x; _local8 = _arg5._-42; _local7 = _arg6.R; _local9.p.x = (_arg6.position.x + ((_local7._-BW.x * _local8.x) + (_local7._-7N.x * _local8.y))); _local9.p.y = (_arg6.position.y + ((_local7._-BW.y * _local8.x) + (_local7._-7N.y * _local8.y))); var _local10:Number = _-Hy(_arg1, _arg2, _arg3, _arg4, _local9, _-4U._-Ek); var _local11:Number = (_arg5._-Db - _-00._-7j); if (_local10 > _local11){ _local10 = (_local10 - _local11); _local12 = (_arg2.x - _arg1.x); _local13 = (_arg2.y - _arg1.y); _local14 = Math.sqrt(((_local12 * _local12) + (_local13 * _local13))); _local12 = (_local12 / _local14); _local13 = (_local13 / _local14); _arg2.x = (_arg2.x - (_local11 * _local12)); _arg2.y = (_arg2.y - (_local11 * _local13)); } else { _local10 = 0; _arg2.x = _arg1.x; _arg2.y = _arg1.y; }; return (_local10); } public static function _-3Y(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:_-8J, _arg4:_-0X, _arg5:_-8J, _arg6:_-0X):Number{ var _local7:int = _arg3.m_type; var _local8:int = _arg5.m_type; if ((((_local7 == _-8J.implements)) && ((_local8 == _-8J.implements)))){ return (_-FQ(_arg1, _arg2, (_arg3 as _-Cx), _arg4, (_arg5 as _-Cx), _arg6)); }; if ((((_local7 == _-8J._-Fs)) && ((_local8 == _-8J.implements)))){ return (_-2P(_arg1, _arg2, (_arg3 as _-2f), _arg4, (_arg5 as _-Cx), _arg6)); }; if ((((_local7 == _-8J.implements)) && ((_local8 == _-8J._-Fs)))){ return (_-2P(_arg2, _arg1, (_arg5 as _-2f), _arg6, (_arg3 as _-Cx), _arg4)); }; if ((((_local7 == _-8J._-Fs)) && ((_local8 == _-8J._-Fs)))){ return (_-Hy(_arg1, _arg2, (_arg3 as _-2f), _arg4, (_arg5 as _-2f), _arg6)); }; return (0); } public static function _-I0(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:Array, _arg4:Array, _arg5:Array):int{ var _local9:b2Vec2; var _local10:b2Vec2; var _local11:b2Vec2; var _local17:Number; var _local6:b2Vec2 = _arg5[0]; var _local7:b2Vec2 = _arg5[1]; var _local8:b2Vec2 = _arg3[0]; _local9 = _arg3[1]; _local10 = _arg4[0]; _local11 = _arg4[1]; var _local12:Number = -(_local7.x); var _local13:Number = -(_local7.y); var _local14:Number = (_local6.x - _local7.x); var _local15:Number = (_local6.y - _local7.y); var _local16:Number = Math.sqrt(((_local14 * _local14) + (_local15 * _local15))); _local14 = (_local14 / _local16); _local15 = (_local15 / _local16); _local17 = ((_local12 * _local14) + (_local13 * _local15)); if ((((_local17 <= 0)) || ((_local16 < Number.MIN_VALUE)))){ _arg1._-8S(_local9); _arg2._-8S(_local11); _local8._-8S(_local9); _local10._-8S(_local11); _local6._-8S(_local7); return (1); }; _local17 = (_local17 / _local16); _arg1.x = (_local9.x + (_local17 * (_local8.x - _local9.x))); _arg1.y = (_local9.y + (_local17 * (_local8.y - _local9.y))); _arg2.x = (_local11.x + (_local17 * (_local10.x - _local11.x))); _arg2.y = (_local11.y + (_local17 * (_local10.y - _local11.y))); return (2); } } }//package Box2D.Collision
Section 73
//_-I4 (Box2D.Collision._-I4) package Box2D.Collision { import Box2D.Common.Math.*; import _-El.*; public class _-I4 { public var _-1y:int;// = 0 public var normal:b2Vec2; public var points:Array; public function _-I4(){ points = new Array(_-00._-6t); var _local1:int; while (_local1 < _-00._-6t) { points[_local1] = new _-Ey(); _local1++; }; normal = new b2Vec2(); } public function Set(_arg1:_-I4):void{ _-1y = _arg1._-1y; var _local2:int; while (_local2 < _-00._-6t) { (points[_local2] as _-Ey).Set(_arg1.points[_local2]); _local2++; }; normal._-8S(_arg1.normal); } public function _-Hc():void{ var _local1:int; while (_local1 < _-00._-6t) { (points[_local1] as _-Ey)._-Hc(); _local1++; }; normal._-87(); _-1y = 0; } } }//package Box2D.Collision
Section 74
//_-I6 (Box2D.Collision._-I6) package Box2D.Collision { public class _-I6 { public var _-1V:Array; public var _-4C:Array; public function _-I6(){ _-1V = [0, 0]; _-4C = [0, 0]; super(); } } }//package Box2D.Collision
Section 75
//_-ID (Box2D.Collision._-ID) package Box2D.Collision { import Box2D.Common.Math.*; import _-El.*; public class _-ID { public var p1:b2Vec2; public var p2:b2Vec2; public function _-ID(){ p1 = new b2Vec2(); p2 = new b2Vec2(); super(); } public function TestSegment(_arg1:Array, _arg2:b2Vec2, _arg3:_-ID, _arg4:Number):Boolean{ var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local5:b2Vec2 = _arg3.p1; var _local6:Number = (_arg3.p2.x - _local5.x); var _local7:Number = (_arg3.p2.y - _local5.y); var _local8:Number = (p2.x - p1.x); var _local9:Number = (p2.y - p1.y); var _local10:Number = _local9; var _local11:Number = -(_local8); var _local12:Number = (100 * Number.MIN_VALUE); var _local13:Number = -(((_local6 * _local10) + (_local7 * _local11))); if (_local13 > _local12){ _local14 = (_local5.x - p1.x); _local15 = (_local5.y - p1.y); _local16 = ((_local14 * _local10) + (_local15 * _local11)); if ((((0 <= _local16)) && ((_local16 <= (_arg4 * _local13))))){ _local17 = ((-(_local7) * _local15) + (_local7 * _local14)); if (((((-(_local12) * _local13) <= _local17)) && ((_local17 <= (_local13 * (1 + _local12)))))){ _local16 = (_local16 / _local13); _local18 = Math.sqrt(((_local10 * _local10) + (_local11 * _local11))); _local10 = (_local10 / _local18); _local11 = (_local11 / _local18); _arg1[0] = _local16; _arg2.Set(_local10, _local11); return (true); }; }; }; return (false); } public function _-GT(_arg1:_-9E):void{ _-IK(_arg1); _-GK(_arg1); } public function _-IK(_arg1:_-9E):void{ var aabb = _arg1; var dX:Number = (p2.x - p1.x); var dY:Number = (p2.y - p1.y); var greaterthan0:* = function (_arg1){ return ((_arg1 > 0)); }; var lambda:Number = Math.min(((dX > 0)) ? ((aabb._-AF.x - p1.x) / dX) : ((dX < 0)) ? ((aabb._-6Q.x - p1.x) / dX) : Number.POSITIVE_INFINITY, ((dY > 0)) ? ((aabb._-AF.y - p1.y) / dY) : ((dY < 0)) ? ((aabb._-6Q.y - p1.y) / dY) : Number.POSITIVE_INFINITY); p2.x = (p1.x + (dX * lambda)); p2.y = (p1.y + (dY * lambda)); } public function _-GK(_arg1:_-9E):void{ var dY:Number; var lambda:Number; var aabb = _arg1; var dX:Number = (-(p2.x) + p1.x); dY = (-(p2.y) + p1.y); var greaterthan0:* = function (_arg1){ return ((_arg1 > 0)); }; lambda = Math.min(((dX > 0)) ? ((aabb._-AF.x - p2.x) / dX) : ((dX < 0)) ? ((aabb._-6Q.x - p2.x) / dX) : Number.POSITIVE_INFINITY, ((dY > 0)) ? ((aabb._-AF.y - p2.y) / dY) : ((dY < 0)) ? ((aabb._-6Q.y - p2.y) / dY) : Number.POSITIVE_INFINITY); p1.x = (p2.x + (dX * lambda)); p1.y = (p2.y + (dY * lambda)); } } }//package Box2D.Collision
Section 76
//default (Box2D.Collision.default) package Box2D.Collision { import Box2D.Common.Math.*; public class default { public var p:b2Vec2; public function default(){ p = new b2Vec2(); super(); } public function GetFirstVertex(_arg1:_-0X):b2Vec2{ return (p); } public function Support(_arg1:_-0X, _arg2:Number, _arg3:Number):b2Vec2{ return (p); } } }//package Box2D.Collision
Section 77
//_-0X (Box2D.Common.Math._-0X) package Box2D.Common.Math { public class _-0X { public var position:b2Vec2; public var R:_-8k; public function _-0X(_arg1:b2Vec2=null, _arg2:_-8k=null):void{ position = new b2Vec2(); R = new _-8k(); super(); if (_arg1){ position._-8S(_arg1); R._-Bu(_arg2); }; } public function _-D0(_arg1:b2Vec2, _arg2:_-8k):void{ position._-8S(_arg1); R._-Bu(_arg2); } public function Set(_arg1:_-0X):void{ position._-8S(_arg1.position); R._-Bu(_arg1.R); } public function _-36():void{ position._-87(); R._-36(); } } }//package Box2D.Common.Math
Section 78
//_-4U (Box2D.Common.Math._-4U) package Box2D.Common.Math { public class _-4U { public static const _-3s:_-8k = new _-8k(0, new b2Vec2(1, 0), new b2Vec2(0, 1)); public static const _-Ek:_-0X = new _-0X(_-C7, _-3s); public static const _-C7:b2Vec2 = new b2Vec2(0, 0); public static function _-D8(_arg1:b2Vec2, _arg2:Number):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg2 * _arg1.y), (-(_arg2) * _arg1.x)); return (_local3); } public static function _-6k(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg1.x + _arg2.x), (_arg1.y + _arg2.y)); return (_local3); } public static function _-5E(_arg1:Number):Boolean{ return (isFinite(_arg1)); } public static function _-DI(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(_-Fr(_arg1.x, _arg2.x), _-Fr(_arg1.y, _arg2.y)); return (_local3); } public static function _-CZ(_arg1:_-0X, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = _-01(_arg1.R, _arg2); _local3.x = (_local3.x + _arg1.position.x); _local3.y = (_local3.y + _arg1.position.y); return (_local3); } public static function _-Dz(_arg1:b2Vec2, _arg2:b2Vec2):Number{ var _local3:Number = (_arg1.x - _arg2.x); var _local4:Number = (_arg1.y - _arg2.y); return (((_local3 * _local3) + (_local4 * _local4))); } public static function _-7E(_arg1:Array, _arg2:Array):void{ var _local3:* = _arg1[0]; _arg1[0] = _arg2[0]; _arg2[0] = _local3; } public static function _-BD(_arg1:_-8k):_-8k{ var _local2:_-8k = new _-8k(0, _-Gs(_arg1._-BW), _-Gs(_arg1._-7N)); return (_local2); } public static function _-2d(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg1.x - _arg2.x), (_arg1.y - _arg2.y)); return (_local3); } public static function case(_arg1:_-0X, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; var _local4:Number; _local3 = _-2d(_arg2, _arg1.position); _local4 = ((_local3.x * _arg1.R._-BW.x) + (_local3.y * _arg1.R._-BW.y)); _local3.y = ((_local3.x * _arg1.R._-7N.x) + (_local3.y * _arg1.R._-7N.y)); _local3.x = _local4; return (_local3); } public static function use(_arg1:Number):Number{ return (((_arg1 > 0)) ? _arg1 : -(_arg1)); } public static function _-4z(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return (_-1P(_arg2, _-Fr(_arg1, _arg3))); } public static function _-Gs(_arg1:b2Vec2):b2Vec2{ var _local2:b2Vec2 = new b2Vec2(use(_arg1.x), use(_arg1.y)); return (_local2); } public static function _-2j(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg1 * _arg2.x), (_arg1 * _arg2.y)); return (_local3); } public static function _-EY(_arg1:b2Vec2, _arg2:b2Vec2):Number{ return (((_arg1.x * _arg2.y) - (_arg1.y * _arg2.x))); } public static function _-8Z(_arg1:b2Vec2, _arg2:b2Vec2):Number{ return (((_arg1.x * _arg2.x) + (_arg1.y * _arg2.y))); } public static function _-5k(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((-(_arg1) * _arg2.y), (_arg1 * _arg2.x)); return (_local3); } public static function _-0n(_arg1:_-8k, _arg2:_-8k):_-8k{ var _local3:_-8k = new _-8k(0, _-6k(_arg1._-BW, _arg2._-BW), _-6k(_arg1._-7N, _arg2._-7N)); return (_local3); } public static function _-I-(_arg1:b2Vec2, _arg2:b2Vec2):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 _-Gf(_arg1:_-8k, _arg2:_-8k):_-8k{ var _local3:b2Vec2 = new b2Vec2(_-8Z(_arg1._-BW, _arg2._-BW), _-8Z(_arg1._-7N, _arg2._-BW)); var _local4:b2Vec2 = new b2Vec2(_-8Z(_arg1._-BW, _arg2._-7N), _-8Z(_arg1._-7N, _arg2._-7N)); var _local5:_-8k = new _-8k(0, _local3, _local4); return (_local5); } public static function _-46(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(_-1P(_arg1.x, _arg2.x), _-1P(_arg1.y, _arg2.y)); return (_local3); } public static function _-5D(_arg1:uint):Boolean{ var _local2:Boolean = (((_arg1 > 0)) && (((_arg1 & (_arg1 - 1)) == 0))); return (_local2); } public static function _-5X(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Vec2):b2Vec2{ return (_-46(_arg2, _-DI(_arg1, _arg3))); } public static function _-K(_arg1:Number, _arg2:Number):Number{ var _local3:Number = Math.random(); _local3 = (((_arg2 - _arg1) * _local3) + _arg1); return (_local3); } public static function _-C-(_arg1:_-8k, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(_-8Z(_arg2, _arg1._-BW), _-8Z(_arg2, _arg1._-7N)); return (_local3); } public static function _-Fr(_arg1:Number, _arg2:Number):Number{ return (((_arg1 < _arg2)) ? _arg1 : _arg2); } public static function _-C():Number{ return (((Math.random() * 2) - 1)); } public static function class(_arg1:_-8k, _arg2:_-8k):_-8k{ var _local3:_-8k = new _-8k(0, _-01(_arg1, _arg2._-BW), _-01(_arg1, _arg2._-7N)); return (_local3); } public static function _-Dr(_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 _-1P(_arg1:Number, _arg2:Number):Number{ return (((_arg1 > _arg2)) ? _arg1 : _arg2); } public static function _-01(_arg1:_-8k, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(((_arg1._-BW.x * _arg2.x) + (_arg1._-7N.x * _arg2.y)), ((_arg1._-BW.y * _arg2.x) + (_arg1._-7N.y * _arg2.y))); return (_local3); } } }//package Box2D.Common.Math
Section 79
//_-8k (Box2D.Common.Math._-8k) package Box2D.Common.Math { public class _-8k { public var _-BW:b2Vec2; public var _-7N:b2Vec2; public function _-8k(_arg1:Number=0, _arg2:b2Vec2=null, _arg3:b2Vec2=null){ var _local4:Number; var _local5:Number; _-BW = new b2Vec2(); _-7N = new b2Vec2(); super(); if (((!((_arg2 == null))) && (!((_arg3 == null))))){ _-BW._-8S(_arg2); _-7N._-8S(_arg3); } else { _local4 = Math.cos(_arg1); _local5 = Math.sin(_arg1); _-BW.x = _local4; _-7N.x = -(_local5); _-BW.y = _local5; _-7N.y = _local4; }; } public function _-36():void{ _-BW.x = 1; _-7N.x = 0; _-BW.y = 0; _-7N.y = 1; } public function _-7C(_arg1:b2Vec2, _arg2:b2Vec2):void{ _-BW._-8S(_arg1); _-7N._-8S(_arg2); } public function Set(_arg1:Number):void{ var _local2:Number; _local2 = Math.cos(_arg1); var _local3:Number = Math.sin(_arg1); _-BW.x = _local2; _-7N.x = -(_local3); _-BW.y = _local3; _-7N.y = _local2; } public function _-87():void{ _-BW.x = 0; _-7N.x = 0; _-BW.y = 0; _-7N.y = 0; } public function _-Bu(_arg1:_-8k):void{ _-BW._-8S(_arg1._-BW); _-7N._-8S(_arg1._-7N); } public function _-0S(_arg1:_-8k):void{ _-BW.x = (_-BW.x + _arg1._-BW.x); _-BW.y = (_-BW.y + _arg1._-BW.y); _-7N.x = (_-7N.x + _arg1._-7N.x); _-7N.y = (_-7N.y + _arg1._-7N.y); } public function _-Ay():void{ _-BW._-Ay(); _-7N._-Ay(); } public function Copy():_-8k{ return (new _-8k(0, _-BW, _-7N)); } public function _-9v(_arg1:_-8k):_-8k{ var _local2:Number; var _local4:Number; var _local6:Number; _local2 = _-BW.x; var _local3:Number = _-7N.x; _local4 = _-BW.y; var _local5:Number = _-7N.y; _local6 = ((_local2 * _local5) - (_local3 * _local4)); _local6 = (1 / _local6); _arg1._-BW.x = (_local6 * _local5); _arg1._-7N.x = (-(_local6) * _local3); _arg1._-BW.y = (-(_local6) * _local4); _arg1._-7N.y = (_local6 * _local2); return (_arg1); } public function GetAngle():Number{ return (Math.atan2(_-BW.y, _-BW.x)); } public function _-HD(_arg1:b2Vec2, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:Number = _-BW.x; var _local5:Number = _-7N.x; var _local6:Number = _-BW.y; var _local7:Number = _-7N.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 Box2D.Common.Math
Section 80
//_-I1 (Box2D.Common.Math._-I1) package Box2D.Common.Math { public class _-I1 { public var localCenter:b2Vec2; public var a:Number; public var c:b2Vec2; public var _-Cw:Number; public var _-F9:b2Vec2; public var _-Hp:Number; public function _-I1(){ localCenter = new b2Vec2(); _-F9 = new b2Vec2(); c = new b2Vec2(); super(); } public function _-3a(_arg1:Number):void{ var _local2:Number; if ((((_-Hp < _arg1)) && (((1 - _-Hp) > Number.MIN_VALUE)))){ _local2 = ((_arg1 - _-Hp) / (1 - _-Hp)); _-F9.x = (((1 - _local2) * _-F9.x) + (_local2 * c.x)); _-F9.y = (((1 - _local2) * _-F9.y) + (_local2 * c.y)); _-Cw = (((1 - _local2) * _-Cw) + (_local2 * a)); _-Hp = _arg1; }; } public function _-9p(_arg1:_-0X, _arg2:Number):void{ var _local4:Number; var _local5:Number; if ((1 - _-Hp) > Number.MIN_VALUE){ _local4 = ((_arg2 - _-Hp) / (1 - _-Hp)); _arg1.position.x = (((1 - _local4) * _-F9.x) + (_local4 * c.x)); _arg1.position.y = (((1 - _local4) * _-F9.y) + (_local4 * c.y)); _local5 = (((1 - _local4) * _-Cw) + (_local4 * a)); _arg1.R.Set(_local5); } else { _arg1.position._-8S(c); _arg1.R.Set(a); }; var _local3:_-8k = _arg1.R; _arg1.position.x = (_arg1.position.x - ((_local3._-BW.x * localCenter.x) + (_local3._-7N.x * localCenter.y))); _arg1.position.y = (_arg1.position.y - ((_local3._-BW.y * localCenter.x) + (_local3._-7N.y * localCenter.y))); } } }//package Box2D.Common.Math
Section 81
//b2Vec2 (Box2D.Common.Math.b2Vec2) package Box2D.Common.Math { public class b2Vec2 { public var y:Number; public var x:Number; public function b2Vec2(_arg1:Number=0, _arg2:Number=0):void{ x = _arg1; y = _arg2; } public function Add(_arg1:b2Vec2):void{ x = (x + _arg1.x); y = (y + _arg1.y); } public function Set(_arg1:Number=0, _arg2:Number=0):void{ x = _arg1; y = _arg2; } public function Multiply(_arg1:Number):void{ x = (x * _arg1); y = (y * _arg1); } public function _-l():Number{ return (Math.sqrt(((x * x) + (y * y)))); } public function _-2S():Number{ return (((x * x) + (y * y))); } public function _-21(_arg1:_-8k):void{ var _local2:Number = x; x = ((_arg1._-BW.x * _local2) + (_arg1._-7N.x * y)); y = ((_arg1._-BW.y * _local2) + (_arg1._-7N.y * y)); } public function _-87():void{ x = 0; y = 0; } public function _-5A(_arg1:b2Vec2):void{ x = ((x < _arg1.x)) ? x : _arg1.x; y = ((y < _arg1.y)) ? y : _arg1.y; } public function _-4j():Number{ var _local1:Number = Math.sqrt(((x * x) + (y * y))); if (_local1 < Number.MIN_VALUE){ return (0); }; var _local2:Number = (1 / _local1); x = (x * _local2); y = (y * _local2); return (_local1); } public function _-HH(_arg1:Number):void{ var _local2:Number = x; x = (_arg1 * y); y = (-(_arg1) * _local2); } public function _-6h(_arg1:b2Vec2):void{ x = ((x > _arg1.x)) ? x : _arg1.x; y = ((y > _arg1.y)) ? y : _arg1.y; } public function _-8S(_arg1:b2Vec2):void{ x = _arg1.x; y = _arg1.y; } public function _-Ed():b2Vec2{ return (new b2Vec2(-(x), -(y))); } public function _-9Q(_arg1:Number):void{ var _local2:Number = x; x = (-(_arg1) * y); y = (_arg1 * _local2); } public function _-Ay():void{ if (x < 0){ x = -(x); }; if (y < 0){ y = -(y); }; } public function _-EW(_arg1:b2Vec2):void{ x = (x - _arg1.x); y = (y - _arg1.y); } public function Copy():b2Vec2{ return (new b2Vec2(x, y)); } public function _-1i(_arg1:_-8k):void{ var _local2:Number = _-4U._-8Z(this, _arg1._-BW); y = _-4U._-8Z(this, _arg1._-7N); x = _local2; } public function _-7R():Boolean{ return (((_-4U._-5E(x)) && (_-4U._-5E(y)))); } public static function _-25(_arg1:Number, _arg2:Number):b2Vec2{ return (new b2Vec2(_arg1, _arg2)); } } }//package Box2D.Common.Math
Section 82
//bblogo_4 (bubblebox_submit_score_fla.bblogo_4) package bubblebox_submit_score_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.system.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.filters.*; import flash.external.*; import flash.media.*; import flash.accessibility.*; import flash.ui.*; import flash.errors.*; public dynamic class bblogo_4 extends MovieClip { public function bblogo_4(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(MouseEvent.CLICK, function (_arg1:MouseEvent){ navigateToURL(new URLRequest("http://www.bubblebox.com/"), "_blank"); }); } } }//package bubblebox_submit_score_fla
Section 83
//bubblebox_saving_5 (bubblebox_submit_score_fla.bubblebox_saving_5) package bubblebox_submit_score_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.system.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.filters.*; import flash.external.*; import flash.media.*; import flash.accessibility.*; import flash.ui.*; import flash.errors.*; public dynamic class bubblebox_saving_5 extends MovieClip { public function bubblebox_saving_5(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package bubblebox_submit_score_fla
Section 84
//bubblebox_send_btn_2 (bubblebox_submit_score_fla.bubblebox_send_btn_2) package bubblebox_submit_score_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.system.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.filters.*; import flash.external.*; import flash.media.*; import flash.accessibility.*; import flash.ui.*; import flash.errors.*; public dynamic class bubblebox_send_btn_2 extends MovieClip { public function bubblebox_send_btn_2(){ addFrameScript(0, frame1); } function frame1(){ stop(); this.mouseChildren = false; this.useHandCursor = true; this.buttonMode = true; this.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:MouseEvent){ _arg1.currentTarget.gotoAndStop(2); }); this.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:MouseEvent){ _arg1.currentTarget.gotoAndStop(1); }); } } }//package bubblebox_submit_score_fla
Section 85
//bubblebox_try_again_10 (bubblebox_submit_score_fla.bubblebox_try_again_10) package bubblebox_submit_score_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.system.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.filters.*; import flash.external.*; import flash.media.*; import flash.accessibility.*; import flash.ui.*; import flash.errors.*; public dynamic class bubblebox_try_again_10 extends MovieClip { public function bubblebox_try_again_10(){ addFrameScript(0, frame1); } function frame1(){ stop(); this.mouseChildren = false; this.useHandCursor = true; this.buttonMode = true; this.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:MouseEvent){ _arg1.currentTarget.gotoAndStop(2); }); this.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:MouseEvent){ _arg1.currentTarget.gotoAndStop(1); }); } } }//package bubblebox_submit_score_fla
Section 86
//bubblebox_view_scores_8 (bubblebox_submit_score_fla.bubblebox_view_scores_8) package bubblebox_submit_score_fla { import flash.display.*; import flash.events.*; import flash.text.*; import flash.system.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.filters.*; import flash.external.*; import flash.media.*; import flash.accessibility.*; import flash.ui.*; import flash.errors.*; public dynamic class bubblebox_view_scores_8 extends MovieClip { public function bubblebox_view_scores_8(){ addFrameScript(0, frame1); } function frame1(){ stop(); this.mouseChildren = false; this.useHandCursor = true; this.buttonMode = true; this.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:MouseEvent){ _arg1.currentTarget.gotoAndStop(2); }); this.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:MouseEvent){ _arg1.currentTarget.gotoAndStop(1); }); } } }//package bubblebox_submit_score_fla
Section 87
//LivePreviewParent (fl.livepreview.LivePreviewParent) package fl.livepreview { import flash.display.*; import flash.utils.*; import flash.external.*; public class LivePreviewParent extends MovieClip { public var myInstance:DisplayObject; public function LivePreviewParent(){ super(); try { stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; this.myInstance = getChildAt(0); this.onResize(stage.width, stage.height); if (ExternalInterface.available){ ExternalInterface.addCallback("onResize", this.onResize); ExternalInterface.addCallback("onUpdate", this.onUpdate); }; } catch(e) { }; } public function onUpdate(... _args):void{ var name:String; var value:*; var updateArray = _args; var i:int; while ((i + 1) < updateArray.length) { try { name = String(updateArray[i]); value = updateArray[(i + 1)]; if ((((typeof(value) == "object")) && (value.__treatAsCollectionSpecialSauce__))){ this.updateCollection(value, name); } else { this.myInstance[name] = value; }; } catch(e:Error) { }; i = (i + 2); }; } public function onResize(_arg1:Number, _arg2:Number):void{ var width = _arg1; var height = _arg2; var setSizeFn:Function; try { setSizeFn = this.myInstance["setSize"]; } catch(e:Error) { setSizeFn = null; }; if (setSizeFn != null){ setSizeFn(width, height); } else { this.myInstance.width = width; this.myInstance.height = height; }; } private function updateCollection(_arg1:Object, _arg2:String):void{ var _local7:Object; var _local8:Object; var _local9:*; var _local3:Class = Class(getDefinitionByName(_arg1.collectionClass)); var _local4:Class = Class(getDefinitionByName(_arg1.collectionItemClass)); var _local5:Object = new (_local3); var _local6:int; while (_local6 < _arg1.collectionArray.length) { _local7 = new (_local4); _local8 = _arg1.collectionArray[_local6]; for (_local9 in _local8) { _local7[_local9] = _local8[_local9]; }; _local5.addItem(_local7); _local6++; }; this.myInstance[_arg2] = (_local5 as _local3); } } }//package fl.livepreview
Section 88
//_-0A (game._-0A) package game { import mx.core.*; public class _-0A extends BitmapAsset { } }//package game
Section 89
//_-0e (game._-0e) package game { import mx.core.*; public class _-0e extends SpriteAsset { } }//package game
Section 90
//_-0k (game._-0k) package game { import flash.display.*; import flash.events.*; import flash.text.*; import flash.filters.*; public class _-0k extends Sprite { protected var _-BX:TextField; protected var return:int; protected var _-Eh:Number; protected var _-6L:Boolean;// = false public function _-0k(){ var _local1:TextFormat = new TextFormat(); _local1.font = "embed_font_1"; _local1.color = 0xAAAAAA; _local1.size = 36; var _local2:TextFormat = new TextFormat(); _local2.font = "embed_font_1"; _local2.color = 0xFFFFFF; _local2.size = 36; _-BX = new TextField(); _-BX.embedFonts = true; _-BX.defaultTextFormat = _local2; _-BX.selectable = false; _-BX.mouseEnabled = false; _-BX.antiAliasType = AntiAliasType.ADVANCED; _-BX.text = ""; _-BX.width = (_-BX.textWidth + 5); _-BX.height = _-BX.textHeight; _-23(_-BX); addChild(_-BX); var _local3:TextField = new TextField(); _local3.embedFonts = true; _local3.defaultTextFormat = _local2; _local3.selectable = false; _local3.mouseEnabled = false; _local3.antiAliasType = AntiAliasType.ADVANCED; _local3.text = "time bonus: "; _local3.width = (_local3.textWidth + 5); _local3.height = _local3.textHeight; _local3.x = 0; _local3.y = 0; _-23(_local3); _-BX.x = (_local3.x + _local3.width); _-BX.y = _local3.y; addChild(_local3); } protected function _-Bz(_arg1:Event):void{ var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); update(_local3); } public function update(_arg1:Number):void{ var _local2:int = Math.ceil(((_arg1 - _-Eh) / 1000)); if (_local2 <= 60){ _local2 = (((61 - _local2) * 16) + (return * 10)); } else { _local2 = (return * 10); }; _-BX.text = _local2.toString(); _-BX.width = (_-BX.textWidth + 5); _-BX.height = _-BX.textHeight; } public function _-BC():void{ if (_-6L){ removeEventListener(Event.ENTER_FRAME, _-Bz); }; _-6L = false; } protected function _-23(_arg1:DisplayObject):void{ var _local2:DropShadowFilter = new DropShadowFilter(); _local2.color = 0; _local2.blurY = 4; _local2.blurX = 4; _local2.angle = 45; _local2.alpha = 0.5; _local2.distance = 4; var _local3:Array = new Array(_local2); _arg1.filters = _local3; } public function _-As(_arg1:Number, _arg2:int):void{ _-Eh = _arg1; return = _arg2; if (_-6L){ removeEventListener(Event.ENTER_FRAME, _-Bz); }; _-6L = true; addEventListener(Event.ENTER_FRAME, _-Bz); } } }//package game
Section 91
//_-0N (game._-0N) package game { import mx.core.*; public class _-0N extends SpriteAsset { } }//package game
Section 92
//_-0p (game._-0p) package game { import mx.core.*; public class _-0p extends BitmapAsset { } }//package game
Section 93
//_-0r (game._-0r) package game { import flash.display.*; import flash.events.*; public class _-0r extends Sprite { protected var _-EQ:Function; private var OnePhoto1:Class; protected var _-IJ:Boolean; protected var _-A-:SimpleButton; protected var _-0Q:Sprite; protected var _-N:Sprite; public function _-0r(_arg1:Function){ OnePhoto1 = _-3o; super(); _-EQ = _arg1; _-IJ = false; var _local2:DisplayObject = new OnePhoto1(); _-A- = new SimpleButton(_local2, _local2, _local2, _local2); addChild(_-A-); _-A-.addEventListener(MouseEvent.CLICK, _-Cs); } protected function _-Cs(_arg1:MouseEvent):void{ if (_-EQ != null){ _-EQ(); }; } } }//package game
Section 94
//_-1G (game._-1G) package game { import mx.core.*; public class _-1G extends SpriteAsset { } }//package game
Section 95
//_-1N (game._-1N) package game { import mx.core.*; public class _-1N extends SpriteAsset { } }//package game
Section 96
//_-1r (game._-1r) package game { import flash.display.*; import flash.events.*; import flash.text.*; import flash.net.*; import flash.filters.*; public class _-1r extends Sprite { private var _-A5:Class; private var _-1I:Class; private var _-Gc:String;// = "mainMenu_FontClass1" private var _-o:Class; public var _-Ia:int; private var _-EG:Class; protected var _-6c:SimpleButton; protected var _-Dm:_-7K; protected var _-0L:SimpleButton; private var OnePhoto1:Class; private var _-7A:Class; private var _-i:Class; private var _-9b:Class; private var _-5e:Class; private var _-CQ:Class; private var _-7-:Class; private var each :Class; private var _-CV:Class; private var _-Dx:Class; private var _-Fh:Class; private var _-Im:Class; private var _-Ap:Class; private var _-Di:Class; protected var _-B9:SimpleButton; protected var _-CI:SimpleButton; private var _-EM:Class; private var use:Class; private var _-AX:Class; private var _-2L:Class; protected var _-2v:SimpleButton; protected var _-EA:int;// = 0 protected var _-47:Number; protected var _-9x:SimpleButton; protected var _-O:SimpleButton; public var _-8s:Boolean;// = false protected var _-F7:_-Fa; protected var _-7Q:Sprite; protected var _-9l:_-FA; protected var _-v:Sprite; public function _-1r(){ _-5e = _-AM; _-CQ = _-7u; _-7- = _-2o; each = _-FD; _-CV = _-3U; _-Dx = _-5n; _-Fh = continue; _-Im = _-FH; _-Ap = _-2h; _-i = with; _-9b = _-3w; _-o = _-4Q; OnePhoto1 = _-8-; _-7A = _-5L; _-EM = _-Bc; use = _-4t; _-AX = _-A3; _-2L = _-5w; _-Di = _-HN; _-A5 = _-FX; _-1I = _-5b; _-EG = for; super(); var _local1:DisplayObject = new _-Hi(); var _local2:GlowFilter = new GlowFilter(16777130); _local1.filters = [_local2]; addChild(_local1); _-7Q = new Sprite(); var _local3:DisplayObject = new _-AX(); _local3.x = ((640 - _local3.width) / 2); _-7Q.addChild(_local3); _-3e(); } protected function _-41(_arg1:MouseEvent):void{ _-Ia = uint((_arg1.target as SimpleButton).name); _-EA = 4; _-9l._-7S(false, _-Fj); } protected function _-4i(_arg1:MouseEvent):void{ _-8W(false); _-EA = 8; } protected function _-EN(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return ((_arg1 + (_arg3 * (_arg2 - _arg1)))); } protected function _-3X():void{ _-EA = 7; } protected function _-Gg(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1785&subid=mmbanner"); navigateToURL(_local2, "_blank"); } protected function _-t(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest("http://www.facebook.com/sharer.php?u=http://www.bgames.com/funny-games/Colliderix.html&t=Colliderix"); navigateToURL(_local2, "_blank"); } protected function _-0F(_arg1:MouseEvent):void{ _-8W(false); _-EA = 5; } protected function _-5s(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1785&subid=mmmore"); navigateToURL(_local2, "_blank"); } protected function null():void{ var _local5:Sprite; var _local7:Sprite; var _local1:Sprite = new Sprite(); var _local2:DisplayObject = new _-CQ(); _local2.scaleX = 1; _local2.scaleY = 1; _local1.addChild(_local2); var _local3:DisplayObject = new _-7-(); _local3.scaleX = 0.55; _local3.scaleY = 0.55; _local3.x = 50; _local3.y = 30; _local1.addChild(_local3); _local1.cacheAsBitmap = true; _-B9 = new SimpleButton(_local1, _local1, _local1, _local1); _-B9.addEventListener(MouseEvent.CLICK, in); _-B9.x = 280; _-B9.y = 20; _-7Q.addChild(_-B9); _local2 = new _-CQ(); _local2.scaleX = 1.2; _local2.scaleY = 0.5; var _local4:DisplayObject = new _-Im(); _local4.x = ((_local2.width - _local4.width) / 2); _local4.y = 9; _local5 = new Sprite(); _local5.addChild(_local2); _local5.addChild(_local4); var _local6:DisplayObject = new _-Fh(); _local6.x = ((_local2.width - _local6.width) / 2); _local6.y = 9; _local2 = new _-CQ(); _local2.scaleX = 1.2; _local2.scaleY = 0.5; _local7 = new Sprite(); _local7.addChild(_local2); _local7.addChild(_local6); _-6c = new SimpleButton(_local5, _local7, _local7, _local7); _-6c.x = 200; _-6c.y = 445; _-7Q.addChild(_-6c); _-6c.addEventListener(MouseEvent.CLICK, _-0u); _local2 = new _-CQ(); _local2.scaleX = 1.2; _local2.scaleY = 0.5; _local4 = new _-Ap(); _local4.x = ((_local2.width - _local4.width) / 2); _local4.y = 9; _local5 = new Sprite(); _local5.addChild(_local2); _local5.addChild(_local4); _local6 = new _-i(); _local6.x = ((_local2.width - _local6.width) / 2); _local6.y = 9; _local2 = new _-CQ(); _local2.scaleX = 1.2; _local2.scaleY = 0.5; _local7 = new Sprite(); _local7.addChild(_local2); _local7.addChild(_local6); _-9x = new SimpleButton(_local5, _local7, _local7, _local7); _-9x.x = 340; _-9x.y = 445; _-7Q.addChild(_-9x); _-9x.addEventListener(MouseEvent.CLICK, _-t); } protected function _-Fj(_arg1:MouseEvent):void{ _-EA = 3; _-9l._-7S(false, _-Fj); } protected function _-Fn(_arg1:MouseEvent):void{ _-EA = 1; _-8W(false); } protected function _-8W(_arg1:Boolean):void{ _-0L.enabled = _arg1; _-CI.enabled = _arg1; _-2v.enabled = _arg1; _-O.enabled = _arg1; if (_arg1){ _-0L.addEventListener(MouseEvent.CLICK, _-Fn); _-CI.addEventListener(MouseEvent.CLICK, _-4i); _-2v.addEventListener(MouseEvent.CLICK, _-0F); _-O.addEventListener(MouseEvent.CLICK, _-5s); } else { _-0L.removeEventListener(MouseEvent.CLICK, _-Fn); _-CI.removeEventListener(MouseEvent.CLICK, _-4i); _-2v.removeEventListener(MouseEvent.CLICK, _-0F); _-O.removeEventListener(MouseEvent.CLICK, _-5s); }; } public function _-5W():void{ _-v.removeEventListener(Event.ENTER_FRAME, _-AE); } protected function _-AE(_arg1:Event):void{ var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); _-47 = _local3; switch (_-EA){ case 1: _-v.x = _-EN(_-v.x, 180, 0.1); _-v.alpha = _-EN(_-v.alpha, 0, 0.25); if (_-v.alpha <= 0.001){ _-v.alpha = 0; _-v.x = 640; _-EA = 2; _-9l = new _-FA(_-Cu._-Bp()._-Du(), _-41); _-9l._-7S(true, _-Fj); addChild(_-9l); _-9l.x = 90; _-9l.y = 100; _-9l.alpha = 0; }; return; case 2: _-9l.alpha = _-EN(_-9l.alpha, 1, 0.25); if (_-9l.alpha >= 0.999){ _-9l.alpha = 1; _-EA = 0; }; return; case 3: _-9l.alpha = _-EN(_-9l.alpha, 0, 0.25); _-9l.x = _-EN(_-9l.x, 220, 0.1); if (_-9l.alpha < 0.001){ removeChild(_-9l); _-9l = null; _-v.x = 0; _-EA = 99; _-8W(true); }; return; case 4: _-9l.alpha = _-EN(_-9l.alpha, 0, 0.25); _-9l.x = _-EN(_-9l.x, 220, 0.1); if (_-9l.alpha < 0.001){ removeChild(_-9l); _-9l = null; _-8s = true; }; return; case 5: _-v.x = _-EN(_-v.x, 180, 0.1); _-v.alpha = _-EN(_-v.alpha, 0, 0.1); if (_-v.alpha <= 0.001){ _-v.alpha = 0; _-EA = 6; _-F7 = new _-Fa(_-3X); _-F7.x = 150; _-F7.y = 100; addChild(_-F7); }; return; case 6: _-F7.alpha = _-EN(_-F7.alpha, 1, 0.1); if (_-F7.alpha >= 0.999){ _-F7.alpha = 1; _-EA = 0; }; return; case 7: _-F7.alpha = _-EN(_-F7.alpha, 0, 0.25); _-F7.y = _-EN(_-F7.y, 90, 0.25); if (_-F7.alpha <= 0.001){ _-F7.alpha = 0; removeChild(_-F7); _-F7 = null; _-v.x = 0; _-8W(true); _-EA = 99; }; return; case 8: _-v.x = _-EN(_-v.x, 180, 0.1); _-v.alpha = _-EN(_-v.alpha, 0, 0.1); if (_-v.alpha <= 0.001){ _-v.alpha = 0; _-EA = 9; _-Dm = new _-7K(_-Ch); _-Dm.x = 150; _-Dm.y = 100; addChild(_-Dm); }; return; case 9: _-Dm.alpha = _-EN(_-Dm.alpha, 1, 0.1); if (_-Dm.alpha >= 0.999){ _-Dm.alpha = 1; _-EA = 0; }; return; case 10: _-Dm.alpha = _-EN(_-Dm.alpha, 0, 0.25); _-Dm.y = _-EN(_-Dm.y, 90, 0.25); if (_-Dm.alpha <= 0.001){ _-Dm.alpha = 0; removeChild(_-Dm); _-Dm = null; _-v.x = 0; _-8W(true); _-EA = 99; }; return; case 99: _-v.alpha = _-EN(_-v.alpha, 1, 0.25); if (_-v.alpha >= 0.999){ _-v.alpha = 1; _-EA = 0; }; return; }; } protected function _-Ch():void{ _-EA = 10; } protected function _-3e():void{ _-Ic(); var _local1 = 220; _-v = new Sprite(); _-v.addEventListener(Event.ENTER_FRAME, _-AE); _-v.alpha = 0; _-EA = 99; addChild(_-v); _-v.addChild(_-7Q); var _local2:Sprite = new Sprite(); var _local3:Sprite = new Sprite(); var _local4:DisplayObject = new _-CV(); var _local5:TextFormat = new TextFormat(); _local5.font = "embed_font_1"; _local5.color = 0xFFFFFF; _local5.size = 60; var _local6:TextField = new TextField(); _local2.addChild(_local6); _local6.embedFonts = true; _local6.defaultTextFormat = _local5; _local6.selectable = false; _local6.mouseEnabled = false; _local6.antiAliasType = AntiAliasType.ADVANCED; _local6.text = "play"; _local6.x = 40; _local6.y = 10; var _local7:DisplayObject = new _-CV(); _local5 = new TextFormat(); _local5.font = "embed_font_1"; _local5.color = 0xFFFFFF; _local5.size = 60; var _local8:TextField = new TextField(); _local3.addChild(_local8); _local8.embedFonts = true; _local8.defaultTextFormat = _local5; _local8.selectable = false; _local8.mouseEnabled = false; _local8.antiAliasType = AntiAliasType.ADVANCED; _local8.text = "play"; _local8.x = 40; _local8.y = 10; _-0L = new SimpleButton(_local2, _local3, _local3, _local3); _-0L.x = 240; _-0L.y = _local1; _-v.addChild(_-0L); _local2 = new Sprite(); _local6 = new TextField(); _local2.addChild(_local6); _local5 = new TextFormat(); _local5.font = "embed_font_1"; _local5.color = 0xFFFFFF; _local5.size = 42; _local6.embedFonts = true; _local6.defaultTextFormat = _local5; _local6.selectable = false; _local6.mouseEnabled = false; _local6.antiAliasType = AntiAliasType.ADVANCED; _local6.text = "how to play"; _local6.width = (_local6.textWidth + 10); _local6.height = _local6.textHeight; _local3 = new Sprite(); _local8 = new TextField(); _local3.addChild(_local8); _local5 = new TextFormat(); _local5.font = "embed_font_1"; _local5.color = 0xFFFFFF; _local5.size = 42; _local8.embedFonts = true; _local8.defaultTextFormat = _local5; _local8.selectable = false; _local8.mouseEnabled = false; _local8.antiAliasType = AntiAliasType.ADVANCED; _local8.text = "how to play"; _local8.width = (_local8.textWidth + 10); _local8.height = _local8.textHeight; _-CI = new SimpleButton(_local2, _local3, _local3, _local3); _-CI.x = ((640 - _local2.width) / 2); _-CI.y = (_local1 + 130); _-v.addChild(_-CI); _local2 = new Sprite(); _local6 = new TextField(); _local2.addChild(_local6); _local5 = new TextFormat(); _local5.font = "embed_font_1"; _local5.color = 0xFFFFFF; _local5.size = 42; _local6.embedFonts = true; _local6.defaultTextFormat = _local5; _local6.selectable = false; _local6.mouseEnabled = false; _local6.antiAliasType = AntiAliasType.ADVANCED; _local6.text = "about"; _local6.width = (_local6.textWidth + 10); _local6.height = _local6.textHeight; _local3 = new Sprite(); _local8 = new TextField(); _local3.addChild(_local8); _local5 = new TextFormat(); _local5.font = "embed_font_1"; _local5.color = 0xFFFFFF; _local5.size = 42; _local8.embedFonts = true; _local8.defaultTextFormat = _local5; _local8.selectable = false; _local8.mouseEnabled = false; _local8.antiAliasType = AntiAliasType.ADVANCED; _local8.text = "about"; _local8.width = (_local8.textWidth + 10); _local8.height = _local8.textHeight; _-2v = new SimpleButton(_local2, _local3, _local3, _local3); _-2v.x = ((640 - _local2.width) / 2); _-2v.y = (_local1 + 180); _-v.addChild(_-2v); _local2 = new Sprite(); _local6 = new TextField(); _local2.addChild(_local6); _local5 = new TextFormat(); _local5.font = "embed_font_1"; _local5.color = 0xFFFFFF; _local5.size = 42; _local6.embedFonts = true; _local6.defaultTextFormat = _local5; _local6.selectable = false; _local6.mouseEnabled = false; _local6.antiAliasType = AntiAliasType.ADVANCED; _local6.text = "more games"; _local6.width = (_local6.textWidth + 10); _local6.height = _local6.textHeight; _local3 = new Sprite(); _local8 = new TextField(); _local3.addChild(_local8); _local5 = new TextFormat(); _local5.font = "embed_font_1"; _local5.color = 0xFFFFFF; _local5.size = 42; _local8.embedFonts = true; _local8.defaultTextFormat = _local5; _local8.selectable = false; _local8.mouseEnabled = false; _local8.antiAliasType = AntiAliasType.ADVANCED; _local8.text = "more games"; _local8.width = (_local8.textWidth + 10); _local8.height = _local8.textHeight; _-O = new SimpleButton(_local2, _local3, _local3, _local3); _-O.x = ((640 - _local2.width) / 2); _-O.y = (_local1 + 80); _-v.addChild(_-O); _-8W(true); } protected function _-0u(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest("http://twitter.com/home?status=Playing Colliderix at http://www.bgames.com/funny-games/Colliderix.html"); navigateToURL(_local2, "_blank"); } protected function _-Ic():void{ var _local1:Sprite = new Sprite(); var _local2:DisplayObject = new _-9b(); _local1.buttonMode = true; _local1.addChild(_local2); _local1.x = 32; _local1.y = 450; _local1.addEventListener(MouseEvent.CLICK, _-Gg); addChild(_local1); } protected function in(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest("http://www.bgames.com/?utm_source=sponsor_game&utm_medium=menu_logo&utm_campaign=colliderix"); navigateToURL(_local2, "_blank"); } } }//package game
Section 97
//_-1u (game._-1u) package game { import mx.core.*; public class _-1u extends SpriteAsset { } }//package game
Section 98
//_-28 (game._-28) package game { import flash.utils.*; import mx.core.*; public class _-28 extends MovieClipLoaderAsset { public var _-Cf:Class; private static var _-G3:ByteArray = null; public function _-28(){ _-Cf = _-DN; super(); initialWidth = (3067 / 20); initialHeight = (0x0300 / 20); } override public function get movieClipData():ByteArray{ if (_-G3 == null){ _-G3 = ByteArray(new _-Cf()); }; return (_-G3); } } }//package game
Section 99
//_-2h (game._-2h) package game { import mx.core.*; public class _-2h extends SpriteAsset { } }//package game
Section 100
//_-2o (game._-2o) package game { import mx.core.*; public class _-2o extends SpriteAsset { } }//package game
Section 101
//_-2Z (game._-2Z) package game { import mx.core.*; public class _-2Z extends BitmapAsset { } }//package game
Section 102
//_-39 (game._-39) package game { import mx.core.*; public class _-39 extends BitmapAsset { } }//package game
Section 103
//_-3B (game._-3B) package game { import mx.core.*; public class _-3B extends BitmapAsset { } }//package game
Section 104
//_-3o (game._-3o) package game { import mx.core.*; public class _-3o extends BitmapAsset { } }//package game
Section 105
//_-3U (game._-3U) package game { import mx.core.*; public class _-3U extends SpriteAsset { } }//package game
Section 106
//_-3V (game._-3V) package game { import flash.display.*; import flash.events.*; import flash.geom.*; public class _-3V extends Sprite { var _-90:Number; var true:Number; private var _-5e:Class; var sky1:DisplayObject; var sky2:DisplayObject; var _-IN:Bitmap; var _-AC:Number; public function _-3V(){ _-5e = _-4b; super(); _-IN = new Bitmap(new BitmapData(640, 480, true, 0)); addChild(_-IN); init(); this.addEventListener(Event.ENTER_FRAME, onUpdate); } protected function onUpdate(_arg1:Event):void{ var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); _-90 = _local3; sky1.x = (sky1.x + _-AC); sky2.x = (sky2.x + true); if (sky1.x > 640){ sky1 = _-Gw(); sky1.x = -((150 + (Math.random() * 50))); sky1.y = (50 + (Math.random() * 100)); _-AC = (1 + (Math.random() * 3)); }; if (sky2.x > 640){ sky2 = _-Gw(); sky2.x = -((150 + (Math.random() * 50))); sky2.y = (50 + (Math.random() * 100)); true = (1 + (Math.random() * 3)); }; var _local4:Sprite = new Sprite(); _local4.addChild(sky1); _local4.addChild(sky2); _-IN.bitmapData.fillRect(new Rectangle(0, 0, 640, 480), 0); _-IN.bitmapData.draw(_local4); } protected function _-Gw():DisplayObject{ var _local1:int = Math.floor((Math.random() * 3)); var _local2:DisplayObject = new _-5e(); switch (_local1){ case 0: _local2.scaleX = 0.75; _local2.scaleY = 0.75; break; case 1: _local2.scaleX = 0.5; _local2.scaleY = 0.5; break; case 2: _local2.scaleX = 0.65; _local2.scaleY = 0.65; break; }; return (_local2); } protected function init():void{ sky1 = _-Gw(); sky1.x = -((150 + (Math.random() * 50))); sky1.y = (50 + (Math.random() * 100)); _-AC = (0.25 + (Math.random() * 1.5)); sky2 = _-Gw(); sky2.x = -((150 + (Math.random() * 50))); sky2.y = (50 + (Math.random() * 100)); true = (0.25 + (Math.random() * 1.5)); } } }//package game
Section 107
//_-3w (game._-3w) package game { import flash.utils.*; import mx.core.*; public class _-3w extends MovieClipLoaderAsset { public var _-Cf:Class; private static var _-G3:ByteArray = null; public function _-3w(){ _-Cf = _-Fe; super(); initialWidth = (3067 / 20); initialHeight = (0x0300 / 20); } override public function get movieClipData():ByteArray{ if (_-G3 == null){ _-G3 = ByteArray(new _-Cf()); }; return (_-G3); } } }//package game
Section 108
//_-4- (game._-4-) package game { import mx.core.*; public class _-4- extends BitmapAsset { } }//package game
Section 109
//_-40 (game._-40) package game { import mx.core.*; public class _-40 extends SpriteAsset { } }//package game
Section 110
//_-49 (game._-49) package game { import mx.core.*; public class _-49 extends SpriteAsset { } }//package game
Section 111
//_-4b (game._-4b) package game { import mx.core.*; public class _-4b extends BitmapAsset { } }//package game
Section 112
//_-4k (game._-4k) package game { import mx.core.*; public class _-4k extends BitmapAsset { } }//package game
Section 113
//_-4Q (game._-4Q) package game { import mx.core.*; public class _-4Q extends BitmapAsset { } }//package game
Section 114
//_-4t (game._-4t) package game { import mx.core.*; public class _-4t extends BitmapAsset { } }//package game
Section 115
//_-4Z (game._-4Z) package game { import flash.display.*; import Box2D.Common.Math.*; import flash.events.*; import Box2D.Collision.*; import flash.geom.*; import flash.filters.*; import _-Hu.*; import _-Ao.*; import test.*; import true.*; public class _-4Z extends Sprite { protected var _-Aw:int; public var _-3u:Function; protected var _-7x:Sprite; private var _-o:Class; protected var _-90:Number; protected var _-2Q:_-Dp; private var _-7A:Class; private var _-EM:Class; private var use:Class; private var _-AX:Class; private var _-2L:Class; private var _-Di:Class; protected var it:_-IT; protected var _-56:_-DV; protected var _-Bj:Bitmap; protected var _-EH:Sprite; public var _-06:Function; protected var _-W:_-3H; protected var _-Dn:Number;// = 30 protected var _-FP:Boolean;// = false protected var _-D9:int; protected var _-29:myContactListener; public function _-4Z(){ _-o = _-Fc; _-7A = _-R; _-EM = _-4-; use = case ; _-AX = _-39; _-2L = _-4k; _-Di = _-8n; super(); it = null; _-Dn = 30; _-7x = new Sprite(); addChild(_-7x); _-7x.mouseChildren = false; _-EH = new Sprite(); addChild(_-EH); _-Bj = (new _-o() as Bitmap); _-56 = new _-DV(); _-HE(); addEventListener(Event.ENTER_FRAME, update); var _local1:Date = new Date(); var _local2:Number = _local1.getTime(); _-90 = _local2; addChild(_-56); } public function _-c(_arg1:MouseEvent):void{ var _local2:_-Ih = _-0D(true); if (_local2 == null){ return; }; if (!_local2.m_userData.is_possible_remove){ return; }; _-7x.removeChild(_local2.m_userData); _-56.addItem(_local2.m_userData, 100); _-2Q._-HC(_local2); _local2 = null; var _local3:_-5v = new _-5v(mouseX, mouseY, 10, 25, 250); _-56.addItem(_local3, 250); } function _-4d(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; _local7 = (_arg5 + _arg6); _local8 = (_arg3 - _arg1); _local9 = (_arg4 - _arg2); var _local13:Number = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); _local10 = Math.floor(Math.abs((_local13 / _local7))); var _local14:Number = Math.atan2(_local9, _local8); _local11 = _arg1; _local12 = _arg2; _local8 = (Math.cos(_local14) * _local7); _local9 = (Math.sin(_local14) * _local7); var _local15:* = 0; while (_local15 < _local10) { _-EH.graphics.moveTo(_local11, _local12); _-EH.graphics.lineTo((_local11 + (Math.cos(_local14) * _arg5)), (_local12 + (Math.sin(_local14) * _arg5))); _local11 = (_local11 + _local8); _local12 = (_local12 + _local9); _local15++; }; _-EH.graphics.moveTo(_local11, _local12); _local13 = Math.sqrt((((_arg3 - _local11) * (_arg3 - _local11)) + ((_arg4 - _local12) * (_arg4 - _local12)))); if (_local13 > _arg5){ _-EH.graphics.lineTo((_local11 + (Math.cos(_local14) * _arg5)), (_local12 + (Math.sin(_local14) * _arg5))); } else { if (_local13 > 0){ _-EH.graphics.lineTo((_local11 + (Math.cos(_local14) * _local13)), (_local12 + (Math.sin(_local14) * _local13))); }; }; _-EH.graphics.moveTo(_arg3, _arg4); } public function _-Et(_arg1:_-IT):void{ var _local3:int; var _local4:int; var _local5:_-09; var _local6:_-Ht; var _local7:_-Ih; var _local8:_-DE; var _local9:int; var _local10:b2Vec2; var _local11:b2Vec2; var _local12: each; var _local13: each; var _local14:int; var _local15:int; it = _arg1; var _local2:int = it._-DB.length; if (_local2 == 0){ return; }; _-Dh(); _-HE(); _local3 = 0; while (_local3 < _local2) { _local4 = it._-DB[_local3].points.length; if (_local4 <= 1){ } else { _local5 = new _-09(); _local5.position.Set(0, 0); if (_local4 == 2){ _local8 = new _-DE(); _local6 = _local8; if (it._-DB[_local3].is_static){ _local8.density = 0; } else { _local8.density = 1; }; _-Hn(_local6, it._-DB[_local3].material); _local9 = it._-DB[_local3].points[0]; _local10 = it.points[_local9].Copy(); _local11 = _local10.Copy(); _local9 = it._-DB[_local3].points[1]; _local10.Add(it.points[_local9]); _local11._-EW(it.points[_local9]); _local10.Multiply((0.5 / _-Dn)); _local5.position = _local10.Copy(); _local8.radius = ((_local11._-l() * 0.5) / _-Dn); _local12 = _-BP(64, _local8.radius); _local5.userData = new _-BM(_-74(it._-DB[_local3].sprite), _local12, _-Dn, (it._-DB[_local3].collision_group == 0), 4, _-8L(it._-DB[_local3].sprite), (it._-DB[_local3].collision_group == 0), !((it._-DB[_local3].collision_group == 0))); _local5.userData.is_possible_remove = it._-DB[_local3].is_possible_remove; _local5.userData.collision_group = it._-DB[_local3].collision_group; _-23(_local5.userData); _-7x.addChild(_local5.userData); } else { _local13 = new each(); _local6 = _local13; if (it._-DB[_local3].is_static){ _local6.density = 0; } else { _local6.density = 1; }; _-Hn(_local6, it._-DB[_local3].material); _local13.vertexCount = _local4; _local14 = 0; while (_local14 < _local4) { _local15 = it._-DB[_local3].points[_local14]; _local13.vertices[_local14] = it.points[_local15].Copy(); _local13.vertices[_local14].Multiply((1 / _-Dn)); _local14++; }; _local5.userData = new _-BM(_-II(it._-DB[_local3].sprite), _local13, _-Dn, true, 4, _-8L(it._-DB[_local3].sprite), true); _local5.userData.is_possible_remove = it._-DB[_local3].is_possible_remove; _local5.userData.collision_group = it._-DB[_local3].collision_group; _-23(_local5.userData); _-7x.addChild(_local5.userData); }; _local7 = _-2Q._-IW(_local5); _local7.try(_local6); _local7._-8U(); _local7.m_mass = (_local7.m_mass * 100); }; _local3++; }; get(); _-3g(); } public function _-0D(_arg1:Boolean=false):_-Ih{ var _local11:_-8J; var _local12:Boolean; var _local2:b2Vec2 = new b2Vec2(); var _local3:Number = (mouseX / _-Dn); var _local4:Number = (mouseY / _-Dn); _local2.Set(_local3, _local4); var _local5:_-9E = new _-9E(); _local5._-6Q.Set((_local3 - 0.001), (_local4 - 0.001)); _local5._-AF.Set((_local3 + 0.001), (_local4 + 0.001)); var _local6 = 10; var _local7:Array = new Array(); var _local8:int = _-2Q._-3L(_local5, _local7, _local6); var _local9:_-Ih; var _local10:int; while (_local10 < _local8) { if ((((_local7[_local10].GetBody().IsStatic() == false)) || (_arg1))){ _local11 = (_local7[_local10] as _-8J); _local12 = (_local7[_local10] as _-8J).TestPoint(_local11.GetBody()._-9p(), _local2); if (_local12){ _local9 = _local11.GetBody(); break; }; }; _local10++; }; return (_local9); } protected function _-Hn(_arg1:_-Ht, _arg2:int):void{ switch (_arg2){ case 0: _arg1._-5c = 0.9; _arg1._-9n = 0; return; case 1: _arg1._-5c = 0.9; _arg1._-9n = 0.3; return; case 2: _arg1._-5c = 0.5; _arg1._-9n = 0; return; case 3: _arg1._-5c = 0.5; _arg1._-9n = 0.3; return; }; } public function _-II(_arg1:int):Class{ switch (_arg1){ case 0: return (_-7A); case 1: return (_-o); case 2: return (_-EM); case 3: return ( use); case 4: return (_-AX); }; return (null); } public function _-3t(_arg1:MouseEvent):void{ _-FP = true; _-EH.graphics.clear(); _-W._-9q.p1 = new b2Vec2((mouseX / _-Dn), (mouseY / _-Dn)); } protected function _-3J(_arg1:b2Vec2, _arg2:b2Vec2):void{ _-EH.graphics.clear(); _-EH.graphics.lineStyle(5, 0); _-4d(_arg1.x, _arg1.y, _arg2.x, _arg2.y, 10, 15); _-EH.graphics.lineStyle(2, 0xFFFFFF); _-4d(_arg1.x, _arg1.y, _arg2.x, _arg2.y, 10, 15); } protected function _-BO():void{ var _local2:int; var _local3:_-Ih; var _local1:int = _-29.shapes.length; if (_local1 == 0){ return; }; _local2 = 0; while (_local2 < _local1) { _local3 = _-29.shapes[_local2].m_body; _-7x.removeChild(_local3.m_userData); _-56.addItem(_local3.m_userData); _local3.m_userData = null; _-2Q._-HC(_local3); _local3 = null; _-Aw++; _local2++; }; _-29.shapes.length = 0; if (_-Aw == _-D9){ if (_-06 != null){ _-06(); }; }; } protected function _-3g():void{ var _local2:b2Vec2; var _local3:Number; var _local4:Matrix; var _local5:_-8k; var _local6:b2Vec2; var _local1:_-Ih = _-2Q._-1T; while (_local1) { if ((_local1.m_userData is DisplayObject)){ _local2 = _local1._-Cr(); _local3 = _local1.GetAngle(); _local1.m_userData.rotation = 0; _local4 = _local1.m_userData.transform.matrix; _local4.tx = -((_local1.m_userData.width / 2)); _local4.ty = -((_local1.m_userData.height / 2)); _local4.rotate(_local3); _local5 = new _-8k(_local3); _local6 = _-4U._-01(_local5, _local1.m_userData.magic_shift); _local4.tx = (_local4.tx + ((_local2.x * _-Dn) + _local6.x)); _local4.ty = (_local4.ty + ((_local2.y * _-Dn) + _local6.y)); _local1.m_userData.transform.matrix = _local4; _local1.m_userData.scaleX = 1; _local1.m_userData.scaleY = 1; }; _local1 = _local1._-76; }; } public function _-BP(_arg1:int, _arg2:Number): each{ var _local4:int; var _local5:Number; var _local6:Number; var _local3: each = new each(); _local3.vertexCount = _arg1; _local5 = ((Math.PI * 2) / _arg1); _local6 = 0; _local4 = 0; while (_local4 < _arg1) { _local3.vertices[_local4] = new b2Vec2((Math.cos(_local6) * _arg2), (Math.sin(_local6) * _arg2)); _local6 = (_local6 + _local5); _local4++; }; return (_local3); } public function _-8V(_arg1:MouseEvent):void{ if (!_-FP){ return; }; _-3J(new b2Vec2((_-W._-9q.p1.x * _-Dn), (_-W._-9q.p1.y * _-Dn)), new b2Vec2(mouseX, mouseY)); } protected function update(_arg1:Event):void{ if (_-2Q == null){ return; }; var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); _-90 = _local3; _-2Q._-13((1 / 30), 10); _-3g(); _-BO(); _-6-(); } protected function _-IR():void{ var _local1:_-Ih; var _local2:_-Ih; var _local3:_-09; var _local4: each; _local3 = new _-09(); _local3.position.Set(27, 10); _local4 = new each(); _local4._-5x(0.25, 10); _local4._-5c = 0.3; _local4.density = 0; _local4._-A6 = true; _local3.userData = null; _local1 = _-2Q._-IW(_local3); _local1.try(_local4); _local3.position.Set(-0.25, 10); _local3.userData = null; _local2 = _-2Q._-IW(_local3); _local2.try(_local4); _local3 = new _-09(); _local3.position.Set(13, 21); _local4 = new each(); _local4._-5x(14, 0.25); _local4._-5c = 0.3; _local4.density = 0; _local4._-A6 = true; _local3.userData = null; _local1 = _-2Q._-IW(_local3); _local1.try(_local4); } public function _-8L(_arg1:int):int{ switch (_arg1){ case 0: return (0); case 1: return (0); case 2: return (2725948); case 3: return (11481394); default: return (0); }; } public function get():void{ if (_-2Q == null){ return; }; _-D9 = 0; _-Aw = 0; var _local1:_-Ih = _-2Q._-1T; while (_local1) { if ((_local1.m_userData is Bitmap)){ if (_local1.m_userData.collision_group > 1){ _-D9++; }; }; _local1 = _local1._-76; }; if (_-D9 == 0){ _-D9 = int.MAX_VALUE; }; } public function _-Dh():void{ var _local1:_-Ih; if (_-2Q){ if (_-2Q._-1T){ _local1 = _-2Q._-1T; while (_local1) { if ((_local1.m_userData is Bitmap)){ _-7x.removeChild(_local1.m_userData); }; _local1 = _local1._-76; }; }; if (_-2Q._-Ah){ if (_-2Q._-Ah._-9c){ _-7x.removeChild(_-2Q._-Ah._-9c); }; }; _-2Q = null; _-W = null; }; } protected function _-23(_arg1:DisplayObject):void{ var _local2:DropShadowFilter = new DropShadowFilter(); _local2.color = 0; _local2.blurY = 4; _local2.blurX = 4; _local2.angle = 45; _local2.alpha = 0.5; _local2.distance = 4; var _local3:Array = new Array(_local2); _arg1.filters = _local3; } protected function _-HE():void{ var _local1:_-9E = new _-9E(); _local1._-6Q.Set(-100, -100); _local1._-AF.Set(100, 100); var _local2:b2Vec2 = new b2Vec2(0, 15); _-2Q = new _-Dp(_local1, _local2, true); _-29 = new myContactListener(); _-2Q._-6S(_-29); _-IR(); _-W = new _-3H(_-2Q); _-W._-G4 = _-7x; _-W._-56 = _-56; } public function _-74(_arg1:int):Class{ switch (_arg1){ case 2: return (_-2L); case 3: return (_-Di); }; return (_-II(_arg1)); } protected function _-6-():void{ var _local2:int; var _local3:_-Ih; var _local1:int = _-29.sensors.length; if (_local1 == 0){ return; }; _local2 = 0; while (_local2 < _local1) { _local3 = _-29.sensors[_local2].m_body; _-7x.removeChild(_local3.m_userData); _-2Q._-HC(_local3); _local3 = null; _local2++; }; _-29.sensors.length = 0; if (_-3u != null){ _-3u(); }; } public function _-y(_arg1:MouseEvent):void{ _-W._-9q.p2 = new b2Vec2((mouseX / _-Dn), (mouseY / _-Dn)); _-EH.graphics.clear(); _-W.set (); _-FP = false; } } }//package game import flash.display.*; import Box2D.Collision.*; import _-Hu.*; import _-Ao.*; class myContactListener extends _-5- { public var shapes:Array; public var sensors:Array; private function myContactListener(){ shapes = new Array(); sensors = new Array(); } override public function Add(_arg1:_-B8):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:int; if (_arg1.shape1.m_isSensor){ if (_arg1.shape2.m_isSensor){ return; }; _local2 = _arg1.shape2.m_body.m_userData.collision_group; if (_local2 > 1){ if (!VerifySensor(_arg1.shape2)){ return; }; _local4 = sensors.length; sensors.length = (_local4 + 1); sensors[_local4] = _arg1.shape2; return; }; }; if (_arg1.shape2.m_isSensor){ _local2 = _arg1.shape1.m_body.m_userData.collision_group; if (_local2 > 1){ if (!VerifySensor(_arg1.shape1)){ return; }; _local4 = sensors.length; sensors.length = (_local4 + 1); sensors[_local4] = _arg1.shape1; return; }; }; if ((_arg1.shape1.m_body.m_userData is DisplayObject)){ _local2 = _arg1.shape1.m_body.m_userData.collision_group; if (_local2 < 1){ return; }; }; if ((_arg1.shape2.m_body.m_userData is DisplayObject)){ _local3 = _arg1.shape2.m_body.m_userData.collision_group; if (_local3 < 1){ return; }; }; if (_local2 == _local3){ _local5 = shapes.length; if (!VerifyShape(_arg1.shape1)){ return; }; if (!VerifyShape(_arg1.shape2)){ return; }; shapes.length = (_local5 + 2); shapes[_local5] = _arg1.shape1; shapes[(_local5 + 1)] = _arg1.shape2; }; } private function VerifyShape(_arg1:_-8J):Boolean{ var _local3:int; var _local2:int = shapes.length; if (_local2 == 0){ return (true); }; _local3 = 0; while (_local3 < _local2) { if (shapes[_local3] == _arg1){ return (false); }; _local3++; }; return (true); } private function VerifySensor(_arg1:_-8J):Boolean{ var _local3:int; var _local2:int = sensors.length; if (_local2 == 0){ return (true); }; _local3 = 0; while (_local3 < _local2) { if (sensors[_local3] == _arg1){ return (false); }; _local3++; }; return (true); } }
Section 116
//_-52 (game._-52) package game { import flash.display.*; import flash.events.*; public class _-52 extends Sprite { protected var b:Boolean; protected var _-0Q:DisplayObject; private var OnePhoto1:Class; protected var counter:int; public function _-52(){ OnePhoto1 = _-6F; super(); _-0Q = new OnePhoto1(); addChild(_-0Q); _-0Q.x = 0; _-0Q.y = 0; _-0Q.alpha = 0; counter = 0; b = true; addEventListener(Event.ENTER_FRAME, update); } public function restart():void{ counter = 0; if (!b){ b = true; addEventListener(Event.ENTER_FRAME, update); }; _-0Q.alpha = 0; } protected function _-EN(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return ((_arg1 + (_arg3 * (_arg2 - _arg1)))); } protected function update(_arg1:Event):void{ counter++; if (counter < 30){ return; }; if (counter < 120){ _-0Q.alpha = _-EN(_-0Q.alpha, 1, 0.1); return; }; if (counter < 220){ _-0Q.alpha = _-EN(_-0Q.alpha, 0, 0.1); return; }; if (counter > 320){ b = false; _-0Q.alpha = 0; removeEventListener(Event.ENTER_FRAME, update); return; }; } } }//package game
Section 117
//_-5b (game._-5b) package game { import mx.core.*; public class _-5b extends BitmapAsset { } }//package game
Section 118
//_-5H (game._-5H) package game { public class _-5H { public var points:Array; public var sprite:int; public var material:int; public var is_static:Boolean; public var collision_group:int; public var is_possible_remove:Boolean; public function _-5H(){ points = new Array(); is_static = false; is_possible_remove = false; collision_group = 0; material = 0; } } }//package game
Section 119
//_-5I (game._-5I) package game { import mx.core.*; public class _-5I extends SpriteAsset { } }//package game
Section 120
//_-5L (game._-5L) package game { import mx.core.*; public class _-5L extends BitmapAsset { } }//package game
Section 121
//_-5n (game._-5n) package game { import mx.core.*; public class _-5n extends SpriteAsset { } }//package game
Section 122
//_-5u (game._-5u) package game { import mx.core.*; public class _-5u extends BitmapAsset { } }//package game
Section 123
//_-5w (game._-5w) package game { import mx.core.*; public class _-5w extends BitmapAsset { } }//package game
Section 124
//_-62 (game._-62) package game { import mx.core.*; public class _-62 extends BitmapAsset { } }//package game
Section 125
//_-6F (game._-6F) package game { import mx.core.*; public class _-6F extends BitmapAsset { } }//package game
Section 126
//_-6K (game._-6K) package game { import flash.display.*; import flash.events.*; public class _-6K extends Sprite { var _-E-:_-0r; var _-k:int; var _-9M:_-HU; var _-C8:_-1r; var _-0v:override; public function _-6K(){ _-C8 = new _-1r(); addChild(_-C8); _-k = 0; _-DR.getInstance(); this.addEventListener(Event.ENTER_FRAME, onUpdate); } protected function onUpdate(_arg1:Event):void{ var _local2:int; var _local3:Boolean; switch (_-k){ case 0: if (_-C8._-8s){ _local2 = _-C8._-Ia; _-k = 1; removeChild(_-C8); _-C8._-5W(); _-C8 = null; _-9M = new _-HU(); addChild(_-9M); _-E- = new _-0r(_-4B); addChild(_-E-); _-E-.x = 20; _-E-.y = 450; _-0v = new override(); addChild(_-0v); _-0v.x = 30; _-0v.y = 25; _local3 = _-9M._-8f(_local2); }; return; case 1: if (_-9M._-FN){ removeChild(_-9M); _-9M = null; removeChild(_-E-); _-E- = null; removeChild(_-0v); _-0v = null; _-C8 = new _-1r(); addChild(_-C8); _-k = 0; }; return; }; } protected function _-4B():void{ if (_-DR.getInstance()._-Fb()){ _-DR.getInstance()._-54(); } else { _-DR.getInstance()._-4u(); }; } } }//package game
Section 127
//_-7K (game._-7K) package game { import flash.display.*; import flash.events.*; import flash.text.*; public class _-7K extends Sprite { protected var _-GC:Function; private var _-5e:Class; protected var _-Df:SimpleButton; public function _-7K(_arg1:Function){ _-5e = _-Af; super(); _-GC = _arg1; var _local2:TextFormat = new TextFormat(); _local2.font = "embed_font_1"; _local2.color = 0xFFFFFF; _local2.size = 60; var _local3:DisplayObject = new _-5e(); _local3.x = 0; _local3.y = -60; addChild(_local3); _local2.color = 0xFFFFFF; _local2.size = 42; _local2.bold = true; var _local4:TextField = new TextField(); _local4.embedFonts = true; _local4.defaultTextFormat = _local2; _local4.selectable = false; _local4.mouseEnabled = false; _local4.antiAliasType = AntiAliasType.ADVANCED; _local4.text = "<< back"; _local4.width = (_local4.textWidth + 5); _local4.height = _local4.textHeight; _-Df = new SimpleButton(_local4, _local4, _local4, _local4); _-Df.x = 110; _-Df.y = 310; _-Df.addEventListener(MouseEvent.CLICK, _-2U); addChild(_-Df); this.alpha = 0; } protected function _-2U(_arg1:MouseEvent):void{ _-Df.removeEventListener(MouseEvent.CLICK, _-2U); _-GC(); } } }//package game
Section 128
//_-7u (game._-7u) package game { import mx.core.*; public class _-7u extends SpriteAsset { } }//package game
Section 129
//_-8- (game._-8-) package game { import mx.core.*; public class _-8- extends BitmapAsset { } }//package game
Section 130
//_-8H (game._-8H) package game { public class _-8H { public var _-4f:Boolean;// = false protected static var _-m:_-8H = null; public function _-8H(){ _-m = this; } public static function _-8q():_-8H{ if (_-m == null){ _-m = new (_-8H); return (_-m); }; return (_-m); } } }//package game
Section 131
//_-8n (game._-8n) package game { import mx.core.*; public class _-8n extends BitmapAsset { } }//package game
Section 132
//_-8t (game._-8t) package game { import mx.core.*; public class _-8t extends BitmapAsset { } }//package game
Section 133
//_-A3 (game._-A3) package game { import mx.core.*; public class _-A3 extends BitmapAsset { } }//package game
Section 134
//_-Af (game._-Af) package game { import mx.core.*; public class _-Af extends BitmapAsset { } }//package game
Section 135
//_-AM (game._-AM) package game { import mx.core.*; public class _-AM extends SpriteAsset { } }//package game
Section 136
//_-At (game._-At) package game { import flash.display.*; import flash.events.*; import flash.geom.*; public class _-At extends Sprite { var _-90:Number; private var OnePhoto1:Class; private var _-7A:Class; private var _-EM:Class; var sky1:DisplayObject; var sky2:DisplayObject; var _-IN:Bitmap; var _-AC:Number; var true:Number; public function _-At(){ OnePhoto1 = _-5I; _-7A = _-CN; _-EM = _-49; super(); _-IN = new Bitmap(new BitmapData(640, 480, true, 0)); addChild(_-IN); init(); this.addEventListener(Event.ENTER_FRAME, onUpdate); } protected function onUpdate(_arg1:Event):void{ var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); _-90 = _local3; sky1.x = (sky1.x + _-AC); sky2.x = (sky2.x + true); if (sky1.x > 640){ sky1 = _-Gw(); sky1.x = -((150 + (Math.random() * 50))); sky1.y = (50 + (Math.random() * 100)); _-AC = (1 + (Math.random() * 3)); }; if (sky2.x > 640){ sky2 = _-Gw(); sky2.x = -((150 + (Math.random() * 50))); sky2.y = (50 + (Math.random() * 100)); true = (1 + (Math.random() * 3)); }; var _local4:Sprite = new Sprite(); _local4.addChild(sky1); _local4.addChild(sky2); _-IN.bitmapData.fillRect(new Rectangle(0, 0, 640, 480), 0); _-IN.bitmapData.draw(_local4); } protected function _-Gw():DisplayObject{ var _local1:int = Math.floor((Math.random() * 3)); switch (_local1){ case 0: return (new OnePhoto1()); case 1: return (new _-7A()); case 2: return (new _-EM()); }; return (new OnePhoto1()); } protected function init():void{ sky1 = _-Gw(); sky1.x = -((150 + (Math.random() * 50))); sky1.y = (50 + (Math.random() * 100)); _-AC = (1 + (Math.random() * 3)); sky2 = _-Gw(); sky2.x = -((150 + (Math.random() * 50))); sky2.y = (50 + (Math.random() * 100)); true = (1 + (Math.random() * 3)); } } }//package game
Section 137
//_-b (game._-b) package game { import mx.core.*; public class _-b extends SpriteAsset { } }//package game
Section 138
//_-Bc (game._-Bc) package game { import mx.core.*; public class _-Bc extends BitmapAsset { } }//package game
Section 139
//_-Bn (game._-Bn) package game { import mx.core.*; public class _-Bn extends BitmapAsset { } }//package game
Section 140
//_-CF (game._-CF) package game { import mx.core.*; public class _-CF extends SpriteAsset { } }//package game
Section 141
//_-CN (game._-CN) package game { import mx.core.*; public class _-CN extends SpriteAsset { } }//package game
Section 142
//_-Cu (game._-Cu) package game { import flash.net.*; public class _-Cu { protected var _-Gn:Array; protected var _-Ij:Boolean; protected var _-4r:int; protected var _-7m:int; protected var _-0w:int;// = 0 private static var _-Hz:_-Cu = null; public function _-Cu(_arg1:int){ var _local2:int; super(); _-Gn = new Array(); _-Gn.length = _arg1; _-4r = _arg1; _local2 = 0; while (_local2 < _arg1) { _-Gn[_local2] = 0; _local2++; }; _-Ij = false; _-7r(); } public function _-AR(_arg1:int):void{ if (_arg1 > _-0w){ _-0w = _arg1; _-4D(); }; } public function _-5F():Boolean{ return (_-Ij); } protected function _-4D():void{ var _local2:uint; var _local3:uint; var _local1:SharedObject = SharedObject.getLocal("turbrono/game/003"); _local3 = _-Gn.length; _local1.data.my_items = _-Gn; _local1.data.magic = _-0w; _local1.flush(); _local1.close(); } public function _-FT():uint{ var _local1:uint; var _local2:uint; var _local3:uint; _local2 = _-Gn.length; _local3 = 0; _local1 = 0; while (_local1 < _local2) { _local3 = (_local3 + _-Gn[_local1]); _local1++; }; return (_local3); } public function _-E1(_arg1:uint, _arg2:uint):void{ var _local3:uint = _-Gn[_arg1]; _-7m = _arg2; if (_arg2 > _local3){ _-Gn[_arg1] = _arg2; _-Ij = true; _-4D(); }; } public function _-9G():void{ _-Ij = false; } protected function _-7r():void{ var _local2:uint; var _local3:uint; var _local4:uint; var _local1:SharedObject = SharedObject.getLocal("turbrono/game/003"); _local3 = _-Gn.length; if (_local1.data["my_items"] != null){ _-Gn = _local1.data.my_items; }; if (_local1.data["magic"] != null){ _-0w = _local1.data.magic; }; _local1.close(); } public function _-Du():int{ return (_-0w); } public function _-84():int{ return (_-7m); } public static function _-Bp():_-Cu{ if (_-Hz == null){ _-Hz = new _-Cu(40); return (_-Hz); }; return (_-Hz); } } }//package game
Section 143
//_-D7 (game._-D7) package game { import Box2D.Common.Math.*; import flash.utils.*; public class _-D7 { protected var _-2p:Array; private var _-CD:Class; protected var data:ByteArray; public function _-D7(){ _-CD = _-Fo; super(); data = (new _-CD() as ByteArray); _-2p = new Array(); each(); } protected function each():void{ var _local1:int; var _local2:int; data.position = 0; _local1 = data.readInt(); _-2p.length = _local1; _local2 = 0; while (_local2 < _local1) { _-2p[_local2] = data.readInt(); _local2++; }; } public function _-35():int{ return (_-2p.length); } public function _-1O(_arg1:int, _arg2:_-IT):Boolean{ var _local4:int; var _local5:b2Vec2; var _local6:int; var _local7:int; if (_arg1 >= _-2p.length){ return (false); }; data.position = _-2p[_arg1]; var _local3:int = data.readInt(); _arg2.points.length = _local3; if (_local3 != 0){ _local4 = 0; while (_local4 < _local3) { _local5 = new b2Vec2(); _local5.x = data.readFloat(); _local5.y = data.readFloat(); _arg2.points[_local4] = _local5; _local4++; }; }; _local3 = data.readInt(); _arg2._-DB.length = _local3; if (_local3 != 0){ _local4 = 0; while (_local4 < _local3) { _arg2._-DB[_local4] = new _-5H(); _arg2._-DB[_local4].sprite = data.readInt(); _arg2._-DB[_local4].is_static = data.readBoolean(); _arg2._-DB[_local4].collision_group = data.readInt(); _arg2._-DB[_local4].is_possible_remove = data.readBoolean(); _arg2._-DB[_local4].material = data.readInt(); _local6 = data.readInt(); _arg2._-DB[_local4].points.length = _local6; if (_local6 != 0){ _local7 = 0; while (_local7 < _local6) { _arg2._-DB[_local4].points[_local7] = data.readInt(); _local7++; }; }; _local4++; }; }; _arg2.shift = new b2Vec2(); _arg2.shift.x = data.readFloat(); _arg2.shift.y = data.readFloat(); return (true); } } }//package game
Section 144
//_-DN (game._-DN) package game { import mx.core.*; public class _-DN extends ByteArrayAsset { } }//package game
Section 145
//_-DR (game._-DR) package game { import flash.media.*; public class _-DR { protected var _-2x:Boolean;// = false private var _-1:Class; protected var _-Bx:Sound; protected var _-H7:SoundChannel; protected static var do :_-DR; public function _-DR(){ _-1 = soundManager_Sound1; super(); _-Bx = (new _-1() as Sound); _-H7 = _-Bx.play(0, int.MAX_VALUE); } public function _-4u():void{ var _local1:SoundTransform = new SoundTransform(); _local1.volume = 0; SoundMixer.soundTransform = _local1; _-2x = true; } public function _-54():void{ var _local1:SoundTransform = new SoundTransform(); _local1.volume = 1; SoundMixer.soundTransform = _local1; _-2x = false; } public function _-Fb():Boolean{ return (_-2x); } public static function getInstance():_-DR{ if (do != null){ return (do ); }; do = new (_-DR); return (do ); } } }//package game
Section 146
//_-DV (game._-DV) package game { import flash.display.*; import flash.events.*; public class _-DV extends Sprite { protected var _-Gn:Array; public function _-DV(){ _-Gn = new Array(); addEventListener(Event.ENTER_FRAME, update); } protected function update(_arg1:Event):void{ var _local3:int; var _local6:Number; var _local2:int = _-Gn.length; if (_local2 == 0){ return; }; var _local4:Date = new Date(); var _local5:Number = _local4.getTime(); _local3 = 0; while (_local3 < _local2) { if ((_local5 - _-Gn[_local3].create_time) >= _-Gn[_local3].live_time){ this.removeChild(_-Gn[_local3].sprite); _-Gn[_local3].sprite = null; _-Gn.splice(_local3, 1); _-Gn.length = (_local2 - 1); return; }; _local6 = ((_local5 - _-Gn[_local3].create_time) / _-Gn[_local3].live_time); _-Gn[_local3].sprite.alpha = ((_-Gn[_local3].live_time - (_local5 - _-Gn[_local3].create_time)) / _-Gn[_local3].live_time); _local3++; }; } public function addItem(_arg1:DisplayObject, _arg2:Number=500):void{ var _local3:int = _-Gn.length; _-Gn.length = (_local3 + 1); var _local4:Date = new Date(); var _local5:Number = _local4.getTime(); _-Gn[_local3] = new EffectItem(); _-Gn[_local3].sprite = _arg1; _-Gn[_local3].create_time = _local5; _-Gn[_local3].live_time = _arg2; addChild(_-Gn[_local3].sprite); } } }//package game import flash.display.*; class EffectItem { private var create_time:Number; private var sprite:DisplayObject; private var live_time:Number;// = 500 private function EffectItem(){ } }
Section 147
//_-Em (game._-Em) package game { import mx.core.*; public class _-Em extends SpriteAsset { } }//package game
Section 148
//_-FA (game._-FA) package game { import flash.display.*; import flash.events.*; import flash.text.*; import flash.geom.*; public class _-FA extends Sprite { private var _-o:Class; private var _-7A:Class; private var _-EM:Class; private var use:Class; private var _-5e:Class; private var _-CQ:Class; protected var _-Df:SimpleButton; private var each :Class; private var _-CV:Class; private var _-Dx:Class; private var _-Fh:Class; private var _-7-:Class; protected var _-4Y:Function; protected var _-17:int; public function _-FA(_arg1:int, _arg2:Function){ _-o = _-8t; _-7A = _-5u; _-5e = _-b; _-CQ = _-Hq; _-7- = _-Em; each = _-0N; _-CV = _-0e; _-Dx = _-CF; _-Fh = _-40; _-EM = _-0p; use = _-Q; super(); _-17 = _arg1; _-4Y = _arg2; _-5m(); } protected function _-5m():void{ var _local1:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local10:Bitmap; var _local14:DisplayObject; var _local15:TextFormat; var _local16:TextField; var _local17:Sprite; var _local18:SimpleButton; _local1 = 52; var _local2:int = (_local1 + 5); var _local7:Bitmap = (new _-7A() as Bitmap); _local5 = 40; _local6 = 10; var _local8:DisplayObject = new _-5e(); _local8.x = 0; var _local9:DisplayObject = new _-CQ(); var _local11:Sprite = new Sprite(); _local11.addChild(_local8); var _local12:Sprite = new Sprite(); _local12.addChild(_local9); var _local13:int; _local4 = 0; while (_local4 < 5) { _local3 = 0; while (_local3 < 5) { if (_local13 >= 25){ break; }; if (_local13 <= _-17){ _local10 = new Bitmap(new BitmapData(49, 50, true, 0)); _local14 = new _-EM(); _local10.bitmapData.draw(_local14); _local15 = new TextFormat(); _local15.font = "embed_font_1"; _local15.color = 0; _local15.size = 30; _local16 = new TextField(); _local16.embedFonts = true; _local16.defaultTextFormat = _local15; _local16.selectable = false; _local16.mouseEnabled = false; _local16.antiAliasType = AntiAliasType.ADVANCED; _local16.text = int((_local13 + 1)).toString(); _local16.x = (((_local1 - _local16.textWidth) / 2) - 2); _local16.y = 4; _local16.width = (_local16.textWidth + 5); _local16.height = _local16.textHeight; _local17 = new Sprite(); _local17.addChild(_local10); _local17.addChild(_local16); _local18 = new SimpleButton(_local17, _local17, _local17, _local17); _local18.name = _local13.toString(); if (_-4Y != null){ _local18.addEventListener(MouseEvent.CLICK, _-4Y); }; _local18.x = _local5; _local18.y = _local6; addChild(_local18); } else { _local10 = new Bitmap(new BitmapData(49, 50, true, 0)); _local14 = new _-EM(); _local10.bitmapData.draw(_local14); _local17 = new Sprite(); _local17.addChild(_local10); _local17.x = _local5; _local17.y = _local6; addChild(_local17); }; _local5 = (_local5 + _local2); _local13++; _local3++; }; _local5 = 40; _local6 = (_local6 + _local2); _local4++; }; _local15.color = 0xFFFFFF; _local15.size = 42; _local15.bold = true; _local16 = new TextField(); _local16.embedFonts = true; _local16.defaultTextFormat = _local15; _local16.selectable = false; _local16.mouseEnabled = false; _local16.antiAliasType = AntiAliasType.ADVANCED; _local16.text = "<< back"; _local16.width = (_local16.textWidth + 5); _local16.height = _local16.textHeight; _-Df = new SimpleButton(_local16, _local16, _local16, _local16); _-Df.x = 340; _-Df.y = 310; addChild(_-Df); _local15.color = 0xFFFFFF; _local15.size = 42; _local16 = new TextField(); _local16.embedFonts = true; _local16.defaultTextFormat = _local15; _local16.selectable = false; _local16.mouseEnabled = false; _local16.antiAliasType = AntiAliasType.ADVANCED; _local16.text = "select a level:"; _local16.x = 40; _local16.y = -40; _local16.width = (_local16.textWidth + 5); _local16.height = _local16.textHeight; addChild(_local16); } public function _-7S(_arg1:Boolean, _arg2:Function):void{ if (_arg1){ _-Df.addEventListener(MouseEvent.CLICK, _arg2); } else { _-Df.removeEventListener(MouseEvent.CLICK, _arg2); _-Df.enabled = false; }; } protected function _-3e():void{ var _local1:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local8:Sprite; var _local9:Bitmap; var _local13:BitmapData; var _local14:SimpleButton; _local1 = 30; var _local2:int = (_local1 + 9); this.graphics.lineStyle(2, 0); this.graphics.drawRoundRect(0, 0, 400, 250, 20, 20); _local5 = 10; _local6 = 10; this.graphics.lineStyle(2, 0); var _local7:Bitmap = (new _-7A() as Bitmap); _local5 = 10; _local6 = 10; var _local10:int; _local4 = 0; while (_local4 < 4) { _local3 = 0; while (_local3 < 10) { _local13 = new BitmapData(_local1, _local1, true, 0); _local13.copyPixels(_local7.bitmapData, new Rectangle((_local5 - 10), (_local6 - 10), _local1, _local1), new Point(0, 0)); _local9 = new Bitmap(_local13); _local8 = new Sprite(); _local8.graphics.lineStyle(2, 0); if (_local10 <= _-17){ _local8.graphics.beginFill(6144772); }; _local8.graphics.drawRoundRect(0, 0, _local1, _local1, 4, 4); if (_local10 <= _-17){ _local8.graphics.endFill(); } else { _local8.x = _local5; _local8.y = _local6; }; _local8.addChild(_local9); if (_local10 <= _-17){ _local14 = new SimpleButton(_local8, _local8, _local8, _local8); _local14.name = _local10.toString(); if (_-4Y != null){ _local14.addEventListener(MouseEvent.CLICK, _-4Y); }; _local14.x = _local5; _local14.y = _local6; addChild(_local14); } else { addChild(_local8); }; _local5 = (_local5 + _local2); _local10++; _local3++; }; _local5 = 10; _local6 = (_local6 + _local2); _local4++; }; var _local11:DisplayObject = new each (); var _local12:DisplayObject = new _-7-(); _-Df = new SimpleButton(_local11, _local12, _local12, _local12); _-Df.x = 410; _-Df.y = 310; addChild(_-Df); } } }//package game
Section 149
//_-Fa (game._-Fa) package game { import flash.display.*; import flash.events.*; import flash.text.*; public class _-Fa extends Sprite { protected var _-GC:Function; protected var _-A-:SimpleButton; private var _-5e:Class; protected var _-a:DisplayObject; public function _-Fa(_arg1:Function){ _-5e = _-Hd; super(); _-GC = _arg1; var _local2:TextFormat = new TextFormat(); _local2.font = "embed_font_1"; _local2.color = 0xFFFFFF; _local2.size = 60; var _local3:DisplayObject = new _-5e(); _local3.x = 0; _local3.y = 0; addChild(_local3); _local2.color = 0xFFFFFF; _local2.size = 42; _local2.bold = true; var _local4:TextField = new TextField(); _local4.embedFonts = true; _local4.defaultTextFormat = _local2; _local4.selectable = false; _local4.mouseEnabled = false; _local4.antiAliasType = AntiAliasType.ADVANCED; _local4.text = "<< back"; _local4.width = (_local4.textWidth + 5); _local4.height = _local4.textHeight; _-A- = new SimpleButton(_local4, _local4, _local4, _local4); _-A-.x = 110; _-A-.y = 310; _-A-.addEventListener(MouseEvent.CLICK, _-AA); addChild(_-A-); this.alpha = 0; } protected function _-AA(_arg1:MouseEvent):void{ _-A-.removeEventListener(MouseEvent.CLICK, _-AA); _-GC(); } } }//package game
Section 150
//_-Fc (game._-Fc) package game { import mx.core.*; public class _-Fc extends BitmapAsset { } }//package game
Section 151
//_-FD (game._-FD) package game { import mx.core.*; public class _-FD extends SpriteAsset { } }//package game
Section 152
//_-Fe (game._-Fe) package game { import mx.core.*; public class _-Fe extends ByteArrayAsset { } }//package game
Section 153
//_-FH (game._-FH) package game { import mx.core.*; public class _-FH extends SpriteAsset { } }//package game
Section 154
//_-Fo (game._-Fo) package game { import mx.core.*; public class _-Fo extends ByteArrayAsset { } }//package game
Section 155
//_-FR (game._-FR) package game { import mx.core.*; public class _-FR extends BitmapAsset { } }//package game
Section 156
//_-Fw (game._-Fw) package game { import mx.core.*; public class _-Fw extends BitmapAsset { } }//package game
Section 157
//_-FX (game._-FX) package game { import mx.core.*; public class _-FX extends BitmapAsset { } }//package game
Section 158
//_-GU (game._-GU) package game { import flash.display.*; import flash.events.*; public class _-GU extends Sprite { protected var _-IO:Sprite; protected var magic:int; public function _-GU(_arg1:int, _arg2:DisplayObjectContainer){ _-8H._-8q()._-4f = true; var _local3:bubblebox_submit_score = new bubblebox_submit_score(); _local3._-Cn(_arg1, 1785); _local3.addEventListener("sendScores", break); _local3.addEventListener("viewScores", _-1D); _local3.x = ((640 - _local3.width) / 2); _local3.y = 240; _arg2.addChild(this); addChild(_local3); } protected function _-1C(_arg1:MouseEvent):void{ parent.removeChild(this); _-8H._-8q()._-4f = false; } protected function _-1D(_arg1:Event):void{ parent.removeChild(this); _-8H._-8q()._-4f = false; } protected function break(_arg1:Event):void{ _-IO = new Sprite(); var _local2:int; var _local3:int; _-IO.graphics.lineStyle(8, 0); _-IO.graphics.moveTo(_local2, _local3); _-IO.graphics.lineTo((_local2 + 10), (_local3 + 10)); _-IO.graphics.moveTo(_local2, (_local3 + 10)); _-IO.graphics.lineTo((_local2 + 10), _local3); _-IO.graphics.lineStyle(4, 0xFFFFFF); _-IO.graphics.moveTo(_local2, _local3); _-IO.graphics.lineTo((_local2 + 10), (_local3 + 10)); _-IO.graphics.moveTo(_local2, (_local3 + 10)); _-IO.graphics.lineTo((_local2 + 10), _local3); _-IO.x = 460; _-IO.y = 230; _-IO.addEventListener(MouseEvent.CLICK, _-1C); addChild(_-IO); } } }//package game
Section 159
//_-Hd (game._-Hd) package game { import mx.core.*; public class _-Hd extends BitmapAsset { } }//package game
Section 160
//_-Hi (game._-Hi) package game { import flash.display.*; import flash.events.*; import flash.filters.*; public class _-Hi extends Sprite { protected const _-5z:int = 40; private var _-7A:Class; private var _-EM:Class; private var use:Class; protected var _-Gn:Array; public function _-Hi(){ var _local3:int; _-7A = _-0A; _-EM = _-2Z; use = _-62; _-Gn = new Array(); super(); var _local1:DisplayObject = new _-EM(); addChild(_local1); _local1 = new Sprite(); addChild(_local1); var _local2:BlurFilter = new BlurFilter(); _local1.filters = [_local2]; _local3 = 0; while (_local3 < _-5z) { _-Gn[_local3] = new starItem((_local1 as Sprite)); _local3++; }; _local1 = new _-7A(); _local1.y = (480 - _local1.height); addChild(_local1); _local1 = new use(); _local1.x = 75; _local1.y = 70; addChild(_local1); addEventListener(Event.ENTER_FRAME, update); } protected function update(_arg1:Event):void{ var _local2:int; _local2 = 0; while (_local2 < _-5z) { _-Gn[_local2].update(); _local2++; }; } } }//package game import flash.display.*; import Box2D.Common.Math.*; class starItem { public var interval:Number; private var OnePhoto1:Class; public var time:Number; public var sprite:DisplayObject; public var createPos:b2Vec2; public var createSize:b2Vec2; private function starItem(_arg1:Sprite){ OnePhoto1 = starItem_OnePhoto1; super(); var _local2:Date = new Date(); time = (_local2.getTime() - (Math.random() * 1000)); sprite = new OnePhoto1(); sprite.x = (Math.random() * 640); sprite.y = (Math.random() * 240); createPos = new b2Vec2(sprite.x, sprite.y); createSize = new b2Vec2(sprite.width, sprite.height); interval = (5 + (10 * Math.random())); _arg1.addChild(sprite); } public function update():void{ var _local1:Date = new Date(); var _local2:Number = (_local1.getTime() - time); sprite.scaleX = (0.1 + (0.1 * Math.sin(((Math.PI * (_local2 / interval)) / 180)))); sprite.scaleY = sprite.scaleX; sprite.x = (createPos.x - ((0.5 * sprite.scaleX) * createSize.x)); sprite.y = (createPos.y - ((0.5 * sprite.scaleY) * createSize.y)); } }
Section 161
//_-HN (game._-HN) package game { import mx.core.*; public class _-HN extends BitmapAsset { } }//package game
Section 162
//_-Hq (game._-Hq) package game { import mx.core.*; public class _-Hq extends SpriteAsset { } }//package game
Section 163
//_-HS (game._-HS) package game { import flash.display.*; import flash.events.*; import flash.text.*; import flash.net.*; import flash.filters.*; public class _-HS extends Sprite { public var _-4a:SimpleButton;// = null protected var _-2O:Number; protected var _-90:Number; public var _-HT:SimpleButton;// = null protected var _-3v:DisplayObject; public var _-Bm:SimpleButton;// = null public function _-HS(_arg1:Number, _arg2:Boolean=false){ _-2O = _arg1; if (_arg2){ _-0C(); } else { _-Eu(); }; init(); this.alpha = 0; this.addEventListener(Event.ENTER_FRAME, onUpdate); } protected function onUpdate(_arg1:Event):void{ var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); if ((_local3 - _-90) <= 500){ return; }; _-90 = (_local3 - 500); this.alpha = _-EN(this.alpha, 1, 0.2); this.y = _-EN(this.y, _-2O, 0.2); if (this.alpha >= 0.999){ this.alpha = 1; this.y = _-2O; this.removeEventListener(Event.ENTER_FRAME, onUpdate); }; } protected function _-AH(_arg1:MouseEvent):void{ _-4a.enabled = false; _-4a.removeEventListener(MouseEvent.CLICK, _-AH); var _local2:int = _-Cu._-Bp()._-FT(); var _local3:_-GU = new _-GU(_local2, stage); } function _-E9(_arg1:DisplayObject):DisplayObject{ var _local2:BitmapData = new BitmapData(_arg1.width, _arg1.height, true, 0); _local2.draw(_arg1); var _local3:Bitmap = new Bitmap(_local2); return (_local3); } protected function _-B1(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1785&subid=gmore"); navigateToURL(_local2, "_blank"); } protected function init():void{ var _local1:Date = new Date(); var _local2:Number = _local1.getTime(); _-90 = _local2; } protected function _-Eu():void{ var _local4:TextFormat; var _local5:TextField; var _local8:TextField; var _local1:Number = 420; var _local2:Number = 200; var _local3:Sprite = new Sprite(); _local3.x = 30; _local3.y = 10; _local3.graphics.lineStyle(1, 0x8F8F8F); _local3.graphics.beginFill(0xE4E4E4); _local3.graphics.drawRoundRect(0, 0, (_local1 - 60), ((_local2 - _local3.y) - 30), 20, 20); _local3.graphics.endFill(); addChild(_local3); _local4 = new TextFormat(); _local4.font = "embed_font_1"; _local4.color = 0; _local4.size = 40; _local4.bold = true; _local5 = new TextField(); _local5.embedFonts = true; _local5.defaultTextFormat = _local4; _local5.selectable = false; _local5.mouseEnabled = false; _local5.antiAliasType = AntiAliasType.ADVANCED; _local5.text = "level complete!"; _local5.width = (_local5.textWidth + 5); _local5.height = _local5.textHeight; _local5.x = ((_local1 - _local5.width) / 2); _local5.y = 10; addChild(_local5); _local4 = new TextFormat(); _local4.font = "embed_font_1"; _local4.color = 1001815; _local4.size = 32; _local5 = new TextField(); _local5.embedFonts = true; _local5.defaultTextFormat = _local4; _local5.selectable = false; _local5.mouseEnabled = false; _local5.antiAliasType = AntiAliasType.ADVANCED; _local5.text = ("score " + _-Cu._-Bp()._-FT().toString()); _local5.width = (_local5.textWidth + 5); _local5.height = _local5.textHeight; _local5.x = ((_local1 - _local5.width) / 2); _local5.y = 50; addChild(_local5); var _local6:TextFormat = new TextFormat(); _local6.font = "embed_font_1"; _local6.color = 0; _local6.size = 36; var _local7:TextFormat = new TextFormat(); _local7.font = "embed_font_1"; _local7.color = 0xAAAAAA; _local7.size = 36; _local5 = new TextField(); _local5.embedFonts = true; _local5.defaultTextFormat = _local6; _local5.selectable = false; _local5.mouseEnabled = true; _local5.antiAliasType = AntiAliasType.ADVANCED; _local5.text = "send score"; _local5.width = (_local5.textWidth + 5); _local5.height = _local5.textHeight; _local8 = new TextField(); _local8.embedFonts = true; _local8.defaultTextFormat = _local7; _local8.selectable = false; _local8.mouseEnabled = true; _local8.antiAliasType = AntiAliasType.ADVANCED; _local8.text = "send score"; _local8.width = (_local8.textWidth + 5); _local8.height = _local8.textHeight; _-4a = new SimpleButton(_local5, _local8, _local8, _local8); _-4a.x = ((_local1 / 2) + 10); _-4a.y = (_local2 - 70); _-4a.addEventListener(MouseEvent.CLICK, _-AH); addChild(_-4a); _local5 = new TextField(); _local5.embedFonts = true; _local5.defaultTextFormat = _local6; _local5.selectable = false; _local5.mouseEnabled = true; _local5.antiAliasType = AntiAliasType.ADVANCED; _local5.text = "replay"; _local5.width = (_local5.textWidth + 5); _local5.height = _local5.textHeight; _local8 = new TextField(); _local8.embedFonts = true; _local8.defaultTextFormat = _local7; _local8.selectable = false; _local8.mouseEnabled = true; _local8.antiAliasType = AntiAliasType.ADVANCED; _local8.text = "replay"; _local8.width = (_local8.textWidth + 5); _local8.height = _local8.textHeight; _-HT = new SimpleButton(_local5, _local8, _local8, _local8); _-HT.x = (((_local1 / 2) - 30) - _local8.width); _-HT.y = (_local2 - 70); addChild(_-HT); _local4 = new TextFormat(); _local4.font = "embed_font_1"; _local4.color = 0; _local4.size = 40; _local6 = new TextFormat(); _local6.font = "embed_font_1"; _local6.color = 0xAAAAAA; _local6.size = 40; var _local9:TextField = new TextField(); _local9.embedFonts = true; _local9.defaultTextFormat = _local4; _local9.selectable = false; _local9.mouseEnabled = true; _local9.antiAliasType = AntiAliasType.ADVANCED; _local9.text = "next level"; _local9.width = (_local9.textWidth + 5); _local9.height = _local9.textHeight; _-23(_local9); var _local10:TextField = new TextField(); _local10.embedFonts = true; _local10.defaultTextFormat = _local6; _local10.selectable = false; _local10.mouseEnabled = true; _local10.antiAliasType = AntiAliasType.ADVANCED; _local10.text = "next level"; _local10.width = (_local10.textWidth + 5); _local10.height = _local10.textHeight; _-23(_local10); var _local11:DisplayObject = _-E9(_local9); var _local12:DisplayObject = _-E9(_local10); _-Bm = new SimpleButton(_local11, _local11, _local11, _local11); _-Bm.x = 140; _-Bm.y = 85; addChild(_-Bm); } protected function _-0C():void{ var _local4:TextFormat; var _local5:TextField; var _local8:TextField; var _local1:Number = 420; var _local2:Number = 200; var _local3:Sprite = new Sprite(); _local3.x = 30; _local3.y = 10; _local3.graphics.lineStyle(1, 0x8F8F8F); _local3.graphics.beginFill(0xE4E4E4); _local3.graphics.drawRoundRect(0, 0, (_local1 - 60), ((_local2 - _local3.y) - 30), 20, 20); _local3.graphics.endFill(); addChild(_local3); _local4 = new TextFormat(); _local4.font = "embed_font_1"; _local4.color = 0; _local4.size = 40; _local4.bold = true; _local5 = new TextField(); _local5.embedFonts = true; _local5.defaultTextFormat = _local4; _local5.selectable = false; _local5.mouseEnabled = false; _local5.antiAliasType = AntiAliasType.ADVANCED; _local5.text = "game complete!"; _local5.width = (_local5.textWidth + 5); _local5.height = _local5.textHeight; _local5.x = ((_local1 - _local5.width) / 2); _local5.y = 10; addChild(_local5); _local4 = new TextFormat(); _local4.font = "embed_font_1"; _local4.color = 1001815; _local4.size = 32; _local5 = new TextField(); _local5.embedFonts = true; _local5.defaultTextFormat = _local4; _local5.selectable = false; _local5.mouseEnabled = false; _local5.antiAliasType = AntiAliasType.ADVANCED; _local5.text = ("score " + _-Cu._-Bp()._-FT().toString()); _local5.width = (_local5.textWidth + 5); _local5.height = _local5.textHeight; _local5.x = ((_local1 - _local5.width) / 2); _local5.y = 50; addChild(_local5); var _local6:TextFormat = new TextFormat(); _local6.font = "embed_font_1"; _local6.color = 0; _local6.size = 36; var _local7:TextFormat = new TextFormat(); _local7.font = "embed_font_1"; _local7.color = 0xAAAAAA; _local7.size = 36; _local5 = new TextField(); _local5.embedFonts = true; _local5.defaultTextFormat = _local6; _local5.selectable = false; _local5.mouseEnabled = true; _local5.antiAliasType = AntiAliasType.ADVANCED; _local5.text = "send score"; _local5.width = (_local5.textWidth + 5); _local5.height = _local5.textHeight; _local8 = new TextField(); _local8.embedFonts = true; _local8.defaultTextFormat = _local7; _local8.selectable = false; _local8.mouseEnabled = true; _local8.antiAliasType = AntiAliasType.ADVANCED; _local8.text = "send score"; _local8.width = (_local8.textWidth + 5); _local8.height = _local8.textHeight; _-4a = new SimpleButton(_local5, _local8, _local8, _local8); _-4a.x = ((_local1 / 2) + 10); _-4a.y = (_local2 - 70); _-4a.addEventListener(MouseEvent.CLICK, _-AH); addChild(_-4a); _local5 = new TextField(); _local5.embedFonts = true; _local5.defaultTextFormat = _local6; _local5.selectable = false; _local5.mouseEnabled = true; _local5.antiAliasType = AntiAliasType.ADVANCED; _local5.text = "replay"; _local5.width = (_local5.textWidth + 5); _local5.height = _local5.textHeight; _local8 = new TextField(); _local8.embedFonts = true; _local8.defaultTextFormat = _local7; _local8.selectable = false; _local8.mouseEnabled = true; _local8.antiAliasType = AntiAliasType.ADVANCED; _local8.text = "replay"; _local8.width = (_local8.textWidth + 5); _local8.height = _local8.textHeight; _-HT = new SimpleButton(_local5, _local8, _local8, _local8); _-HT.x = (((_local1 / 2) - 30) - _local8.width); _-HT.y = (_local2 - 70); addChild(_-HT); _local4 = new TextFormat(); _local4.font = "embed_font_1"; _local4.color = 0; _local4.size = 40; _local6 = new TextFormat(); _local6.font = "embed_font_1"; _local6.color = 0xAAAAAA; _local6.size = 40; var _local9:TextField = new TextField(); _local9.embedFonts = true; _local9.defaultTextFormat = _local4; _local9.selectable = false; _local9.mouseEnabled = true; _local9.antiAliasType = AntiAliasType.ADVANCED; _local9.text = "more games"; _local9.width = (_local9.textWidth + 5); _local9.height = (_local9.textHeight + 5); _-23(_local9); var _local10:TextField = new TextField(); _local10.embedFonts = true; _local10.defaultTextFormat = _local6; _local10.selectable = false; _local10.mouseEnabled = true; _local10.antiAliasType = AntiAliasType.ADVANCED; _local10.text = "more games"; _local10.width = (_local10.textWidth + 5); _local10.height = (_local10.textHeight + 5); _-23(_local10); var _local11:DisplayObject = _local9; var _local12:DisplayObject = _local10; var _local13:SimpleButton = new SimpleButton(_local11, _local11, _local11, _local11); _local13.x = 120; _local13.y = 85; addChild(_local13); _local13.addEventListener(MouseEvent.CLICK, _-B1); } protected function _-EN(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return ((_arg1 + (_arg3 * (_arg2 - _arg1)))); } protected function _-23(_arg1:DisplayObject):void{ var _local2:DropShadowFilter = new DropShadowFilter(); _local2.color = 0; _local2.blurY = 4; _local2.blurX = 4; _local2.angle = 45; _local2.alpha = 0.5; _local2.distance = 4; _arg1.filters = [_local2]; } } }//package game
Section 164
//_-HU (game._-HU) package game { import flash.display.*; import flash.events.*; import flash.text.*; import flash.net.*; import flash.filters.*; public class _-HU extends Sprite { protected var level:_-IT; public var _-FN:Boolean;// = false protected var _-7o:_-HS; protected var _-Hv:Sprite; protected var _-2Q:_-4Z; private var OnePhoto1:Class; private var _-7A:Class; private var _-EM:Class; private var use:Class; private var _-5e:Class; private var _-CQ:Class; private var _-7-:Class; protected var _-9u:Number; private var _-AX:Class; protected var _-Hb:Boolean;// = false protected var sky:DisplayObject; protected var _-HB:DisplayObject; protected var _-4c:int; protected var _-EO:Boolean;// = true protected var _-Cg:TextField; protected var _-Ai:int; protected var get :_-0k; protected var _-9F:_-D7; protected var _-2e:_-52; public function _-HU(){ var _local4:Bitmap; var _local5:Bitmap; var _local6:Sprite; var _local9:TextField; var _local10:TextField; OnePhoto1 = _-FR; _-7A = _-Bn; _-EM = _-3B; use = _-Fw; _-AX = _-1u; _-5e = _-1G; _-CQ = _-HY; _-7- = _-1N; super(); var _local1:Number = 440; var _local2:_-Hi = new _-Hi(); var _local3:GlowFilter = new GlowFilter(16777130); _local2.filters = [_local3]; addChild(_local2); _-2Q = new _-4Z(); addChild(_-2Q); _-2Q._-06 = _-F1; _-2Q._-3u = _-2N; _-9F = new _-D7(); _-4c = _-9F._-35(); level = new _-IT(); this.addEventListener(MouseEvent.MOUSE_DOWN, _-1m); this.addEventListener(MouseEvent.MOUSE_UP, _-2B); this.addEventListener(MouseEvent.MOUSE_MOVE, _-3j); if (stage){ _-26(null); } else { this.addEventListener(Event.ADDED_TO_STAGE, _-26); }; get = new _-0k(); get .x = ((640 / 2) - 140); get .y = _local1; addChild(get ); var _local7:TextFormat = new TextFormat(); _local7.font = "embed_font_1"; _local7.color = 0xAAAAAA; _local7.size = 36; _local7.bold = true; var _local8:TextFormat = new TextFormat(); _local8.font = "embed_font_1"; _local8.color = 0xFFFFFF; _local8.size = 36; _local8.bold = true; _local9 = new TextField(); _local9.embedFonts = true; _local9.defaultTextFormat = _local8; _local9.selectable = false; _local9.mouseEnabled = false; _local9.antiAliasType = AntiAliasType.ADVANCED; _local9.text = "restart"; _local9.width = (_local9.textWidth + 5); _local9.height = _local9.textHeight; _-23(_local9); _local10 = new TextField(); _local10.embedFonts = true; _local10.defaultTextFormat = _local7; _local10.selectable = false; _local10.mouseEnabled = false; _local10.antiAliasType = AntiAliasType.ADVANCED; _local10.text = "restart"; _local10.width = (_local9.textWidth + 5); _local10.height = _local9.textHeight; _-23(_local10); var _local11:SimpleButton = new SimpleButton(_local9, _local10, _local10, _local10); _local11.x = 510; _local11.y = 440; addChild(_local11); _local11.addEventListener(MouseEvent.CLICK, _-Au); _local9 = new TextField(); _local9.embedFonts = true; _local9.defaultTextFormat = _local8; _local9.selectable = false; _local9.mouseEnabled = false; _local9.antiAliasType = AntiAliasType.ADVANCED; _local9.text = "menu"; _local9.width = (_local9.textWidth + 5); _local9.height = _local9.textHeight; _-23(_local9); _local10 = new TextField(); _local10.embedFonts = true; _local10.defaultTextFormat = _local7; _local10.selectable = false; _local10.mouseEnabled = false; _local10.antiAliasType = AntiAliasType.ADVANCED; _local10.text = "menu"; _local10.width = (_local9.textWidth + 5); _local10.height = _local9.textHeight; _-23(_local10); _local11 = new SimpleButton(_local9, _local10, _local10, _local10); _local11.x = 75; _local11.y = _local1; addChild(_local11); _local11.addEventListener(MouseEvent.CLICK, _-A1); _local9 = new TextField(); _local9.embedFonts = true; _local9.defaultTextFormat = _local8; _local9.selectable = false; _local9.mouseEnabled = false; _local9.antiAliasType = AntiAliasType.ADVANCED; _local9.text = "0"; _local9.width = (_local9.textWidth + 5); _local9.height = _local9.textHeight; _-23(_local9); _local9.x = (580 - _local9.width); _local9.y = 12; addChild(_local9); _-Cg = _local9; _local9 = new TextField(); _local9.embedFonts = true; _local9.defaultTextFormat = _local8; _local9.selectable = false; _local9.mouseEnabled = false; _local9.antiAliasType = AntiAliasType.ADVANCED; _local9.text = "hint"; _local9.width = (_local9.textWidth + 5); _local9.height = _local9.textHeight; _-23(_local9); _local10 = new TextField(); _local10.embedFonts = true; _local10.defaultTextFormat = _local7; _local10.selectable = false; _local10.mouseEnabled = false; _local10.antiAliasType = AntiAliasType.ADVANCED; _local10.text = "hint"; _local10.width = (_local9.textWidth + 5); _local10.height = _local9.textHeight; _-23(_local10); _local11 = new SimpleButton(_local9, _local10, _local10, _local10); _local11.x = 420; _local11.y = _local1; addChild(_local11); _local11.addEventListener(MouseEvent.CLICK, _-He); _local9 = new TextField(); _local9.embedFonts = true; _local9.defaultTextFormat = _local8; _local9.selectable = false; _local9.mouseEnabled = false; _local9.antiAliasType = AntiAliasType.ADVANCED; _local9.text = ("/" + _-4c.toString()); _local9.width = (_local9.textWidth + 5); _local9.height = _local9.textHeight; _-23(_local9); _local9.x = 575; _local9.y = 12; addChild(_local9); _local9 = new TextField(); _local9.embedFonts = true; _local9.defaultTextFormat = _local8; _local9.selectable = false; _local9.mouseEnabled = false; _local9.antiAliasType = AntiAliasType.ADVANCED; _local9.text = "level"; _local9.width = (_local9.textWidth + 5); _local9.height = _local9.textHeight; _-23(_local9); _local9.x = 475; _local9.y = 12; addChild(_local9); } protected function super():void{ } protected function _-He(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1785&subid=walkthrough&action=walkthrough_1785"); navigateToURL(_local2, "_blank"); } protected function _-Au(_arg1:MouseEvent):void{ var _local2:Date; var _local3:Number; if (_-Hb){ _-2Q._-Et(level); _-2Q.x = -(level.shift.x); _-2Q.y = -(level.shift.y); _local2 = new Date(); _local3 = _local2.getTime(); _-9u = _local3; get ._-As(_local3, _-Ai); if (_-Ai == 0){ _-2e.restart(); }; _-4w(); }; } protected function _-CB(_arg1:MouseEvent):void{ if ((_-Ai + 1) != _-4c){ _-8f((_-Ai + 1)); } else { _-8f(0); }; _-4w(); super(); } protected function _-0l():void{ _-Cg.text = int((_-Ai + 1)).toString(); _-Cg.width = (_-Cg.textWidth + 5); _-Cg.x = (575 - _-Cg.width); } protected function _-4w():void{ if (_-7o){ _-7o._-HT.removeEventListener(MouseEvent.CLICK, _-Au); if (_-7o._-Bm != null){ _-7o._-Bm.removeEventListener(MouseEvent.CLICK, _-CB); }; removeChild(_-7o); _-7o = null; }; } protected function _-F1():void{ var _local1:_-Cu = _-Cu._-Bp(); var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); var _local4:int = Math.ceil(((_local3 - _-9u) / 1000)); if (_local4 <= 60){ _local4 = (((61 - _local4) * 16) + (_-Ai * 10)); } else { _local4 = (_-Ai * 10); }; _local1._-E1(_-Ai, _local4); if ((_-Ai + 1) != _-4c){ _local1._-AR((_-Ai + 1)); }; get .update(_local3); get ._-BC(); var _local5 = (_-4c == (_-Ai + 1)); _-7o = new _-HS(150, _local5); _-7o.y = 100; _-7o.x = 125; _-7o._-HT.addEventListener(MouseEvent.CLICK, _-Au); if (!_local5){ if (_-7o._-Bm != null){ _-7o._-Bm.addEventListener(MouseEvent.CLICK, _-CB); }; }; addChild(_-7o); } protected function _-26(_arg1:Event):void{ stage.addEventListener(KeyboardEvent.KEY_DOWN, _-9Y); stage.focus = stage; } protected function _-A1(_arg1:MouseEvent):void{ _-FN = true; _-4w(); } public function _-8f(_arg1:int):Boolean{ var _local2:Boolean = _-9F._-1O(_arg1, level); if (!_local2){ return (_local2); }; _-2Q._-Et(level); _-2Q.x = -(level.shift.x); _-2Q.y = -(level.shift.y); if (_arg1 == 0){ _-2e = new _-52(); _-2Q.addChild(_-2e); } else { if (_-2e != null){ _-2Q.removeChild(_-2e); }; _-2e = null; }; var _local3:Date = new Date(); var _local4:Number = _local3.getTime(); _-9u = _local4; get ._-As(_local4, _arg1); _-Ai = _arg1; _-Hb = true; _-0l(); super(); return (true); } protected function _-2B(_arg1:MouseEvent):void{ if (_-Hb){ _-2Q._-y(_arg1); }; } protected function _-1m(_arg1:MouseEvent):void{ if (_-Hb){ _-2Q._-3t(_arg1); }; } protected function _-9Y(_arg1:KeyboardEvent):void{ var _local2:Date; var _local3:Number; if (_-8H._-8q()._-4f == true){ return; }; if (_arg1.keyCode == 82){ if (_-Hb){ _-2Q._-Et(level); _-2Q.x = -(level.shift.x); _-2Q.y = -(level.shift.y); _local2 = new Date(); _local3 = _local2.getTime(); _-9u = _local3; get ._-As(_local3, _-Ai); if (_-Ai == 0){ _-2e.restart(); }; _-4w(); }; }; } protected function _-23(_arg1:DisplayObject):void{ var _local2:DropShadowFilter = new DropShadowFilter(); _local2.color = 0; _local2.blurY = 4; _local2.blurX = 4; _local2.angle = 45; _local2.alpha = 0.5; _local2.distance = 4; var _local3:Array = new Array(_local2); _arg1.filters = _local3; } protected function _-2N():void{ _-2Q._-Et(level); _-2Q.x = -(level.shift.x); _-2Q.y = -(level.shift.y); var _local1:Date = new Date(); var _local2:Number = _local1.getTime(); _-9u = _local2; get ._-As(_local2, _-Ai); if (_-Ai == 0){ _-2e.restart(); }; } protected function _-3j(_arg1:MouseEvent):void{ if (_-Hb){ _-2Q._-8V(_arg1); }; } } }//package game
Section 165
//_-HY (game._-HY) package game { import mx.core.*; public class _-HY extends SpriteAsset { } }//package game
Section 166
//_-IT (game._-IT) package game { import Box2D.Common.Math.*; public class _-IT { public var shift:b2Vec2; public var points:Array; public var _-DB:Array; public function _-IT(){ points = new Array(); _-DB = new Array(); shift = new b2Vec2(); } } }//package game
Section 167
//_-Q (game._-Q) package game { import mx.core.*; public class _-Q extends BitmapAsset { } }//package game
Section 168
//_-R (game._-R) package game { import mx.core.*; public class _-R extends BitmapAsset { } }//package game
Section 169
//case (game.case ) package game { import mx.core.*; public class case extends BitmapAsset { } }//package game
Section 170
//continue (game.continue) package game { import mx.core.*; public class continue extends SpriteAsset { } }//package game
Section 171
//for (game.for) package game { import mx.core.*; public class for extends BitmapAsset { } }//package game
Section 172
//mainMenu_FontClass1 (game.mainMenu_FontClass1) package game { import mx.core.*; public class mainMenu_FontClass1 extends FontAsset { } }//package game
Section 173
//override (game.override) package game { import flash.display.*; import flash.events.*; import flash.net.*; public class override extends Sprite { private var _-9b:Class; public function override(){ _-9b = _-28; super(); var _local1:DisplayObject = new _-9b(); var _local2:SimpleButton = new SimpleButton(_local1, _local1, _local1, _local1); _local2.addEventListener(MouseEvent.CLICK, onClick); addChild(_local2); } protected function onClick(_arg1:MouseEvent):void{ var _local2:URLRequest = new URLRequest("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1785&subid=glogo"); navigateToURL(_local2, "_blank"); } } }//package game
Section 174
//soundManager_Sound1 (game.soundManager_Sound1) package game { import mx.core.*; public class soundManager_Sound1 extends SoundAsset { } }//package game
Section 175
//with (game.with) package game { import mx.core.*; public class with extends SpriteAsset { } }//package game
Section 176
//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 177
//ByteArrayAsset (mx.core.ByteArrayAsset) package mx.core { import flash.utils.*; public class ByteArrayAsset extends ByteArray implements IFlexAsset { mx_internal static const VERSION:String = "3.2.0.4537"; } }//package mx.core
Section 178
//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 179
//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 180
//FlexLoader (mx.core.FlexLoader) package mx.core { import flash.display.*; import mx.utils.*; public class FlexLoader extends Loader { mx_internal static const VERSION:String = "3.2.0.4537"; public function FlexLoader(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 181
//FlexMovieClip (mx.core.FlexMovieClip) package mx.core { import flash.display.*; import mx.utils.*; public class FlexMovieClip extends MovieClip { mx_internal static const VERSION:String = "3.2.0.4537"; public function FlexMovieClip(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 182
//FlexShape (mx.core.FlexShape) package mx.core { import flash.display.*; import mx.utils.*; public class FlexShape extends Shape { mx_internal static const VERSION:String = "3.2.0.4537"; public function FlexShape(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 183
//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 184
//FlexVersion (mx.core.FlexVersion) package mx.core { import mx.resources.*; public class FlexVersion { public static const VERSION_2_0_1:uint = 33554433; public static const CURRENT_VERSION:uint = 50331648; public static const VERSION_3_0:uint = 50331648; public static const VERSION_2_0:uint = 33554432; public static const VERSION_ALREADY_READ:String = "versionAlreadyRead"; public static const VERSION_ALREADY_SET:String = "versionAlreadySet"; mx_internal static const VERSION:String = "3.2.0.4537"; private static var compatibilityVersionChanged:Boolean = false; private static var _compatibilityErrorFunction:Function; private static var _compatibilityVersion:uint = 50331648; private static var compatibilityVersionRead:Boolean = false; mx_internal static function changeCompatibilityVersionString(_arg1:String):void{ var _local2:Array = _arg1.split("."); var _local3:uint = parseInt(_local2[0]); var _local4:uint = parseInt(_local2[1]); var _local5:uint = parseInt(_local2[2]); _compatibilityVersion = (((_local3 << 24) + (_local4 << 16)) + _local5); } public static function set compatibilityVersion(_arg1:uint):void{ var _local2:String; if (_arg1 == _compatibilityVersion){ return; }; if (compatibilityVersionChanged){ if (compatibilityErrorFunction == null){ _local2 = ResourceManager.getInstance().getString("core", VERSION_ALREADY_SET); throw (new Error(_local2)); }; compatibilityErrorFunction(_arg1, VERSION_ALREADY_SET); }; if (compatibilityVersionRead){ if (compatibilityErrorFunction == null){ _local2 = ResourceManager.getInstance().getString("core", VERSION_ALREADY_READ); throw (new Error(_local2)); }; compatibilityErrorFunction(_arg1, VERSION_ALREADY_READ); }; _compatibilityVersion = _arg1; compatibilityVersionChanged = true; } public static function get compatibilityVersion():uint{ compatibilityVersionRead = true; return (_compatibilityVersion); } public static function set compatibilityErrorFunction(_arg1:Function):void{ _compatibilityErrorFunction = _arg1; } public static function set compatibilityVersionString(_arg1:String):void{ var _local2:Array = _arg1.split("."); var _local3:uint = parseInt(_local2[0]); var _local4:uint = parseInt(_local2[1]); var _local5:uint = parseInt(_local2[2]); compatibilityVersion = (((_local3 << 24) + (_local4 << 16)) + _local5); } public static function get compatibilityErrorFunction():Function{ return (_compatibilityErrorFunction); } public static function get compatibilityVersionString():String{ var _local1:uint = ((compatibilityVersion >> 24) & 0xFF); var _local2:uint = ((compatibilityVersion >> 16) & 0xFF); var _local3:uint = (compatibilityVersion & 0xFFFF); return (((((_local1.toString() + ".") + _local2.toString()) + ".") + _local3.toString())); } } }//package mx.core
Section 185
//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 186
//IBorder (mx.core.IBorder) package mx.core { public interface IBorder { function get borderMetrics():EdgeMetrics; } }//package mx.core
Section 187
//IButton (mx.core.IButton) package mx.core { public interface IButton extends IUIComponent { function get emphasized():Boolean; function set emphasized(_arg1:Boolean):void; function callLater(_arg1:Function, _arg2:Array=null):void; } }//package mx.core
Section 188
//IChildList (mx.core.IChildList) package mx.core { import flash.display.*; import flash.geom.*; public interface IChildList { function get numChildren():int; function removeChild(_arg1:DisplayObject):DisplayObject; function getChildByName(_arg1:String):DisplayObject; function removeChildAt(_arg1:int):DisplayObject; function getChildIndex(_arg1:DisplayObject):int; function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject; function getObjectsUnderPoint(_arg1:Point):Array; function setChildIndex(_arg1:DisplayObject, _arg2:int):void; function getChildAt(_arg1:int):DisplayObject; function addChild(_arg1:DisplayObject):DisplayObject; function contains(_arg1:DisplayObject):Boolean; } }//package mx.core
Section 189
//IContainer (mx.core.IContainer) package mx.core { import flash.display.*; import flash.text.*; import flash.geom.*; import flash.media.*; import mx.managers.*; public interface IContainer extends IUIComponent { function set hitArea(_arg1:Sprite):void; function swapChildrenAt(_arg1:int, _arg2:int):void; function getChildByName(_arg1:String):DisplayObject; function get doubleClickEnabled():Boolean; function get graphics():Graphics; function get useHandCursor():Boolean; function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject; function set mouseChildren(_arg1:Boolean):void; function set creatingContentPane(_arg1:Boolean):void; function get textSnapshot():TextSnapshot; function getChildIndex(_arg1:DisplayObject):int; function set doubleClickEnabled(_arg1:Boolean):void; function getObjectsUnderPoint(_arg1:Point):Array; function get creatingContentPane():Boolean; function setChildIndex(_arg1:DisplayObject, _arg2:int):void; function get soundTransform():SoundTransform; function set useHandCursor(_arg1:Boolean):void; function get numChildren():int; function contains(_arg1:DisplayObject):Boolean; function get verticalScrollPosition():Number; function set defaultButton(_arg1:IFlexDisplayObject):void; function swapChildren(_arg1:DisplayObject, _arg2:DisplayObject):void; function set horizontalScrollPosition(_arg1:Number):void; function get focusManager():IFocusManager; function startDrag(_arg1:Boolean=false, _arg2:Rectangle=null):void; function set mouseEnabled(_arg1:Boolean):void; function getChildAt(_arg1:int):DisplayObject; function set soundTransform(_arg1:SoundTransform):void; function get tabChildren():Boolean; function get tabIndex():int; function set focusRect(_arg1:Object):void; function get hitArea():Sprite; function get mouseChildren():Boolean; function removeChildAt(_arg1:int):DisplayObject; function get defaultButton():IFlexDisplayObject; function stopDrag():void; function set tabEnabled(_arg1:Boolean):void; function get horizontalScrollPosition():Number; function get focusRect():Object; function get viewMetrics():EdgeMetrics; function set verticalScrollPosition(_arg1:Number):void; function get dropTarget():DisplayObject; function get mouseEnabled():Boolean; function set tabChildren(_arg1:Boolean):void; function set buttonMode(_arg1:Boolean):void; function get tabEnabled():Boolean; function get buttonMode():Boolean; function removeChild(_arg1:DisplayObject):DisplayObject; function set tabIndex(_arg1:int):void; function addChild(_arg1:DisplayObject):DisplayObject; function areInaccessibleObjectsUnderPoint(_arg1:Point):Boolean; } }//package mx.core
Section 190
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 191
//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 192
//IFlexModuleFactory (mx.core.IFlexModuleFactory) package mx.core { public interface IFlexModuleFactory { function create(... _args):Object; function info():Object; } }//package mx.core
Section 193
//IInvalidating (mx.core.IInvalidating) package mx.core { public interface IInvalidating { function validateNow():void; function invalidateSize():void; function invalidateDisplayList():void; function invalidateProperties():void; } }//package mx.core
Section 194
//IProgrammaticSkin (mx.core.IProgrammaticSkin) package mx.core { public interface IProgrammaticSkin { function validateNow():void; function validateDisplayList():void; } }//package mx.core
Section 195
//IRawChildrenContainer (mx.core.IRawChildrenContainer) package mx.core { public interface IRawChildrenContainer { function get rawChildren():IChildList; } }//package mx.core
Section 196
//IRectangularBorder (mx.core.IRectangularBorder) package mx.core { import flash.geom.*; public interface IRectangularBorder extends IBorder { function get backgroundImageBounds():Rectangle; function get hasBackgroundImage():Boolean; function set backgroundImageBounds(_arg1:Rectangle):void; function layoutBackgroundImage():void; } }//package mx.core
Section 197
//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 198
//ISWFBridgeGroup (mx.core.ISWFBridgeGroup) package mx.core { import flash.events.*; public interface ISWFBridgeGroup { function getChildBridgeProvider(_arg1:IEventDispatcher):ISWFBridgeProvider; function removeChildBridge(_arg1:IEventDispatcher):void; function get parentBridge():IEventDispatcher; function addChildBridge(_arg1:IEventDispatcher, _arg2:ISWFBridgeProvider):void; function set parentBridge(_arg1:IEventDispatcher):void; function containsBridge(_arg1:IEventDispatcher):Boolean; function getChildBridges():Array; } }//package mx.core
Section 199
//ISWFBridgeProvider (mx.core.ISWFBridgeProvider) package mx.core { import flash.events.*; public interface ISWFBridgeProvider { function get childAllowsParent():Boolean; function get swfBridge():IEventDispatcher; function get parentAllowsChild():Boolean; } }//package mx.core
Section 200
//IUIComponent (mx.core.IUIComponent) package mx.core { import flash.display.*; import mx.managers.*; public interface IUIComponent extends IFlexDisplayObject { function set focusPane(_arg1:Sprite):void; function get enabled():Boolean; function set enabled(_arg1:Boolean):void; function set isPopUp(_arg1:Boolean):void; function get explicitMinHeight():Number; function get percentWidth():Number; function get isPopUp():Boolean; function get owner():DisplayObjectContainer; function get percentHeight():Number; function get baselinePosition():Number; function owns(_arg1:DisplayObject):Boolean; function initialize():void; function get maxWidth():Number; function get minWidth():Number; function getExplicitOrMeasuredWidth():Number; function get explicitMaxWidth():Number; function get explicitMaxHeight():Number; function set percentHeight(_arg1:Number):void; function get minHeight():Number; function set percentWidth(_arg1:Number):void; function get document():Object; function get focusPane():Sprite; function getExplicitOrMeasuredHeight():Number; function set tweeningProperties(_arg1:Array):void; function set explicitWidth(_arg1:Number):void; function set measuredMinHeight(_arg1:Number):void; function get explicitMinWidth():Number; function get tweeningProperties():Array; function get maxHeight():Number; function set owner(_arg1:DisplayObjectContainer):void; function set includeInLayout(_arg1:Boolean):void; function setVisible(_arg1:Boolean, _arg2:Boolean=false):void; function parentChanged(_arg1:DisplayObjectContainer):void; function get explicitWidth():Number; function get measuredMinHeight():Number; function set measuredMinWidth(_arg1:Number):void; function set explicitHeight(_arg1:Number):void; function get includeInLayout():Boolean; function get measuredMinWidth():Number; function get explicitHeight():Number; function set systemManager(_arg1:ISystemManager):void; function set document(_arg1:Object):void; function get systemManager():ISystemManager; } }//package mx.core
Section 201
//MovieClipAsset (mx.core.MovieClipAsset) package mx.core { public class MovieClipAsset extends FlexMovieClip implements IFlexAsset, IFlexDisplayObject, IBorder { private var _measuredHeight:Number; private var _measuredWidth:Number; mx_internal static const VERSION:String = "3.2.0.4537"; public function MovieClipAsset(){ _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 202
//MovieClipLoaderAsset (mx.core.MovieClipLoaderAsset) package mx.core { import flash.display.*; import flash.events.*; import flash.system.*; import flash.utils.*; public class MovieClipLoaderAsset extends MovieClipAsset implements IFlexAsset, IFlexDisplayObject { protected var initialHeight:Number;// = 0 private var loader:Loader;// = null private var initialized:Boolean;// = false protected var initialWidth:Number;// = 0 private var requestedHeight:Number; private var requestedWidth:Number; mx_internal static const VERSION:String = "3.2.0.4537"; public function MovieClipLoaderAsset(){ var _local1:LoaderContext = new LoaderContext(); _local1.applicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain); if (("allowLoadBytesCodeExecution" in _local1)){ _local1["allowLoadBytesCodeExecution"] = true; }; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler); loader.loadBytes(movieClipData, _local1); addChild(loader); } override public function get width():Number{ if (!initialized){ return (initialWidth); }; return (super.width); } override public function set width(_arg1:Number):void{ if (!initialized){ requestedWidth = _arg1; } else { loader.width = _arg1; }; } override public function get measuredHeight():Number{ return (initialHeight); } private function completeHandler(_arg1:Event):void{ initialized = true; initialWidth = loader.width; initialHeight = loader.height; if (!isNaN(requestedWidth)){ loader.width = requestedWidth; }; if (!isNaN(requestedHeight)){ loader.height = requestedHeight; }; dispatchEvent(_arg1); } override public function set height(_arg1:Number):void{ if (!initialized){ requestedHeight = _arg1; } else { loader.height = _arg1; }; } override public function get measuredWidth():Number{ return (initialWidth); } override public function get height():Number{ if (!initialized){ return (initialHeight); }; return (super.height); } public function get movieClipData():ByteArray{ return (null); } } }//package mx.core
Section 203
//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 204
//Singleton (mx.core.Singleton) package mx.core { public class Singleton { mx_internal static const VERSION:String = "3.2.0.4537"; private static var classMap:Object = {}; public static function registerClass(_arg1:String, _arg2:Class):void{ var _local3:Class = classMap[_arg1]; if (!_local3){ classMap[_arg1] = _arg2; }; } public static function getClass(_arg1:String):Class{ return (classMap[_arg1]); } public static function getInstance(_arg1:String):Object{ var _local2:Class = classMap[_arg1]; if (!_local2){ throw (new Error((("No class registered for interface '" + _arg1) + "'."))); }; return (_local2["getInstance"]()); } } }//package mx.core
Section 205
//SoundAsset (mx.core.SoundAsset) package mx.core { import flash.media.*; public class SoundAsset extends Sound implements IFlexAsset { mx_internal static const VERSION:String = "3.2.0.4537"; } }//package mx.core
Section 206
//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 207
//UIComponentGlobals (mx.core.UIComponentGlobals) package mx.core { import flash.display.*; import flash.geom.*; import mx.managers.*; public class UIComponentGlobals { mx_internal static var callLaterSuspendCount:int = 0; mx_internal static var layoutManager:ILayoutManager; mx_internal static var nextFocusObject:InteractiveObject; mx_internal static var designTime:Boolean = false; mx_internal static var tempMatrix:Matrix = new Matrix(); mx_internal static var callLaterDispatcherCount:int = 0; private static var _catchCallLaterExceptions:Boolean = false; public static function set catchCallLaterExceptions(_arg1:Boolean):void{ _catchCallLaterExceptions = _arg1; } public static function get designMode():Boolean{ return (designTime); } public static function set designMode(_arg1:Boolean):void{ designTime = _arg1; } public static function get catchCallLaterExceptions():Boolean{ return (_catchCallLaterExceptions); } } }//package mx.core
Section 208
//ModuleEvent (mx.events.ModuleEvent) package mx.events { import flash.events.*; import mx.modules.*; public class ModuleEvent extends ProgressEvent { public var errorText:String; private var _module:IModuleInfo; public static const READY:String = "ready"; public static const ERROR:String = "error"; public static const PROGRESS:String = "progress"; mx_internal static const VERSION:String = "3.2.0.4537"; public static const SETUP:String = "setup"; public static const UNLOAD:String = "unload"; public function ModuleEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null, _arg7:IModuleInfo=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; this._module = _arg7; } public function get module():IModuleInfo{ if (_module){ return (_module); }; return ((target as IModuleInfo)); } override public function clone():Event{ return (new ModuleEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText, module)); } } }//package mx.events
Section 209
//ResourceEvent (mx.events.ResourceEvent) package mx.events { import flash.events.*; public class ResourceEvent extends ProgressEvent { public var errorText:String; mx_internal static const VERSION:String = "3.2.0.4537"; public static const COMPLETE:String = "complete"; public static const PROGRESS:String = "progress"; public static const ERROR:String = "error"; public function ResourceEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; } override public function clone():Event{ return (new ResourceEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText)); } } }//package mx.events
Section 210
//StyleEvent (mx.events.StyleEvent) package mx.events { import flash.events.*; public class StyleEvent extends ProgressEvent { public var errorText:String; mx_internal static const VERSION:String = "3.2.0.4537"; public static const COMPLETE:String = "complete"; public static const PROGRESS:String = "progress"; public static const ERROR:String = "error"; public function StyleEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; } override public function clone():Event{ return (new StyleEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText)); } } }//package mx.events
Section 211
//RectangularDropShadow (mx.graphics.RectangularDropShadow) package mx.graphics { import flash.display.*; import flash.geom.*; import flash.filters.*; import mx.core.*; import mx.utils.*; public class RectangularDropShadow { private var leftShadow:BitmapData; private var _tlRadius:Number;// = 0 private var _trRadius:Number;// = 0 private var _angle:Number;// = 45 private var topShadow:BitmapData; private var _distance:Number;// = 4 private var rightShadow:BitmapData; private var _alpha:Number;// = 0.4 private var shadow:BitmapData; private var _brRadius:Number;// = 0 private var _blRadius:Number;// = 0 private var _color:int;// = 0 private var bottomShadow:BitmapData; private var changed:Boolean;// = true mx_internal static const VERSION:String = "3.2.0.4537"; public function get blRadius():Number{ return (_blRadius); } public function set brRadius(_arg1:Number):void{ if (_brRadius != _arg1){ _brRadius = _arg1; changed = true; }; } public function set color(_arg1:int):void{ if (_color != _arg1){ _color = _arg1; changed = true; }; } public function drawShadow(_arg1:Graphics, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; if (changed){ createShadowBitmaps(); changed = false; }; _arg4 = Math.ceil(_arg4); _arg5 = Math.ceil(_arg5); var _local6:int = (leftShadow) ? leftShadow.width : 0; var _local7:int = (rightShadow) ? rightShadow.width : 0; var _local8:int = (topShadow) ? topShadow.height : 0; var _local9:int = (bottomShadow) ? bottomShadow.height : 0; var _local10:int = (_local6 + _local7); var _local11:int = (_local8 + _local9); var _local12:Number = ((_arg5 + _local11) / 2); var _local13:Number = ((_arg4 + _local10) / 2); var _local14:Matrix = new Matrix(); if (((leftShadow) || (topShadow))){ _local15 = Math.min((tlRadius + _local10), _local13); _local16 = Math.min((tlRadius + _local11), _local12); _local14.tx = (_arg2 - _local6); _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((_arg2 - _local6), (_arg3 - _local8), _local15, _local16); _arg1.endFill(); }; if (((rightShadow) || (topShadow))){ _local17 = Math.min((trRadius + _local10), _local13); _local18 = Math.min((trRadius + _local11), _local12); _local14.tx = (((_arg2 + _arg4) + _local7) - shadow.width); _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((((_arg2 + _arg4) + _local7) - _local17), (_arg3 - _local8), _local17, _local18); _arg1.endFill(); }; if (((leftShadow) || (bottomShadow))){ _local19 = Math.min((blRadius + _local10), _local13); _local20 = Math.min((blRadius + _local11), _local12); _local14.tx = (_arg2 - _local6); _local14.ty = (((_arg3 + _arg5) + _local9) - shadow.height); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((_arg2 - _local6), (((_arg3 + _arg5) + _local9) - _local20), _local19, _local20); _arg1.endFill(); }; if (((rightShadow) || (bottomShadow))){ _local21 = Math.min((brRadius + _local10), _local13); _local22 = Math.min((brRadius + _local11), _local12); _local14.tx = (((_arg2 + _arg4) + _local7) - shadow.width); _local14.ty = (((_arg3 + _arg5) + _local9) - shadow.height); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((((_arg2 + _arg4) + _local7) - _local21), (((_arg3 + _arg5) + _local9) - _local22), _local21, _local22); _arg1.endFill(); }; if (leftShadow){ _local14.tx = (_arg2 - _local6); _local14.ty = 0; _arg1.beginBitmapFill(leftShadow, _local14); _arg1.drawRect((_arg2 - _local6), ((_arg3 - _local8) + _local16), _local6, ((((_arg5 + _local8) + _local9) - _local16) - _local20)); _arg1.endFill(); }; if (rightShadow){ _local14.tx = (_arg2 + _arg4); _local14.ty = 0; _arg1.beginBitmapFill(rightShadow, _local14); _arg1.drawRect((_arg2 + _arg4), ((_arg3 - _local8) + _local18), _local7, ((((_arg5 + _local8) + _local9) - _local18) - _local22)); _arg1.endFill(); }; if (topShadow){ _local14.tx = 0; _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(topShadow, _local14); _arg1.drawRect(((_arg2 - _local6) + _local15), (_arg3 - _local8), ((((_arg4 + _local6) + _local7) - _local15) - _local17), _local8); _arg1.endFill(); }; if (bottomShadow){ _local14.tx = 0; _local14.ty = (_arg3 + _arg5); _arg1.beginBitmapFill(bottomShadow, _local14); _arg1.drawRect(((_arg2 - _local6) + _local19), (_arg3 + _arg5), ((((_arg4 + _local6) + _local7) - _local19) - _local21), _local9); _arg1.endFill(); }; } public function get brRadius():Number{ return (_brRadius); } public function get angle():Number{ return (_angle); } private function createShadowBitmaps():void{ var _local1:Number = ((Math.max(tlRadius, blRadius) + (2 * distance)) + Math.max(trRadius, brRadius)); var _local2:Number = ((Math.max(tlRadius, trRadius) + (2 * distance)) + Math.max(blRadius, brRadius)); if ((((_local1 < 0)) || ((_local2 < 0)))){ return; }; var _local3:Shape = new FlexShape(); var _local4:Graphics = _local3.graphics; _local4.beginFill(0xFFFFFF); GraphicsUtil.drawRoundRectComplex(_local4, 0, 0, _local1, _local2, tlRadius, trRadius, blRadius, brRadius); _local4.endFill(); var _local5:BitmapData = new BitmapData(_local1, _local2, true, 0); _local5.draw(_local3, new Matrix()); var _local6:DropShadowFilter = new DropShadowFilter(distance, angle, color, alpha); _local6.knockout = true; var _local7:Rectangle = new Rectangle(0, 0, _local1, _local2); var _local8:Rectangle = _local5.generateFilterRect(_local7, _local6); var _local9:Number = (_local7.left - _local8.left); var _local10:Number = (_local8.right - _local7.right); var _local11:Number = (_local7.top - _local8.top); var _local12:Number = (_local8.bottom - _local7.bottom); shadow = new BitmapData(_local8.width, _local8.height); shadow.applyFilter(_local5, _local7, new Point(_local9, _local11), _local6); var _local13:Point = new Point(0, 0); var _local14:Rectangle = new Rectangle(); if (_local9 > 0){ _local14.x = 0; _local14.y = ((tlRadius + _local11) + _local12); _local14.width = _local9; _local14.height = 1; leftShadow = new BitmapData(_local9, 1); leftShadow.copyPixels(shadow, _local14, _local13); } else { leftShadow = null; }; if (_local10 > 0){ _local14.x = (shadow.width - _local10); _local14.y = ((trRadius + _local11) + _local12); _local14.width = _local10; _local14.height = 1; rightShadow = new BitmapData(_local10, 1); rightShadow.copyPixels(shadow, _local14, _local13); } else { rightShadow = null; }; if (_local11 > 0){ _local14.x = ((tlRadius + _local9) + _local10); _local14.y = 0; _local14.width = 1; _local14.height = _local11; topShadow = new BitmapData(1, _local11); topShadow.copyPixels(shadow, _local14, _local13); } else { topShadow = null; }; if (_local12 > 0){ _local14.x = ((blRadius + _local9) + _local10); _local14.y = (shadow.height - _local12); _local14.width = 1; _local14.height = _local12; bottomShadow = new BitmapData(1, _local12); bottomShadow.copyPixels(shadow, _local14, _local13); } else { bottomShadow = null; }; } public function get alpha():Number{ return (_alpha); } public function get color():int{ return (_color); } public function set angle(_arg1:Number):void{ if (_angle != _arg1){ _angle = _arg1; changed = true; }; } public function set trRadius(_arg1:Number):void{ if (_trRadius != _arg1){ _trRadius = _arg1; changed = true; }; } public function set tlRadius(_arg1:Number):void{ if (_tlRadius != _arg1){ _tlRadius = _arg1; changed = true; }; } public function get trRadius():Number{ return (_trRadius); } public function set distance(_arg1:Number):void{ if (_distance != _arg1){ _distance = _arg1; changed = true; }; } public function get distance():Number{ return (_distance); } public function get tlRadius():Number{ return (_tlRadius); } public function set alpha(_arg1:Number):void{ if (_alpha != _arg1){ _alpha = _arg1; changed = true; }; } public function set blRadius(_arg1:Number):void{ if (_blRadius != _arg1){ _blRadius = _arg1; changed = true; }; } } }//package mx.graphics
Section 212
//IFocusManager (mx.managers.IFocusManager) package mx.managers { import flash.display.*; import flash.events.*; import mx.core.*; public interface IFocusManager { function get focusPane():Sprite; function getFocus():IFocusManagerComponent; function deactivate():void; function set defaultButton(_arg1:IButton):void; function set focusPane(_arg1:Sprite):void; function set showFocusIndicator(_arg1:Boolean):void; function moveFocus(_arg1:String, _arg2:DisplayObject=null):void; function addSWFBridge(_arg1:IEventDispatcher, _arg2:DisplayObject):void; function removeSWFBridge(_arg1:IEventDispatcher):void; function get defaultButtonEnabled():Boolean; function findFocusManagerComponent(_arg1:InteractiveObject):IFocusManagerComponent; function get nextTabIndex():int; function get defaultButton():IButton; function get showFocusIndicator():Boolean; function setFocus(_arg1:IFocusManagerComponent):void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function hideFocus():void; function getNextFocusManagerComponent(_arg1:Boolean=false):IFocusManagerComponent; } }//package mx.managers
Section 213
//IFocusManagerComponent (mx.managers.IFocusManagerComponent) package mx.managers { public interface IFocusManagerComponent { function set focusEnabled(_arg1:Boolean):void; function drawFocus(_arg1:Boolean):void; function setFocus():void; function get focusEnabled():Boolean; function get tabEnabled():Boolean; function get tabIndex():int; function get mouseFocusEnabled():Boolean; } }//package mx.managers
Section 214
//IFocusManagerContainer (mx.managers.IFocusManagerContainer) package mx.managers { import flash.display.*; import flash.events.*; public interface IFocusManagerContainer extends IEventDispatcher { function set focusManager(_arg1:IFocusManager):void; function get focusManager():IFocusManager; function get systemManager():ISystemManager; function contains(_arg1:DisplayObject):Boolean; } }//package mx.managers
Section 215
//ILayoutManager (mx.managers.ILayoutManager) package mx.managers { import flash.events.*; public interface ILayoutManager extends IEventDispatcher { function validateNow():void; function validateClient(_arg1:ILayoutManagerClient, _arg2:Boolean=false):void; function isInvalid():Boolean; function invalidateDisplayList(_arg1:ILayoutManagerClient):void; function set usePhasedInstantiation(_arg1:Boolean):void; function invalidateSize(_arg1:ILayoutManagerClient):void; function get usePhasedInstantiation():Boolean; function invalidateProperties(_arg1:ILayoutManagerClient):void; } }//package mx.managers
Section 216
//ILayoutManagerClient (mx.managers.ILayoutManagerClient) package mx.managers { import flash.events.*; public interface ILayoutManagerClient extends IEventDispatcher { function get updateCompletePendingFlag():Boolean; function set updateCompletePendingFlag(_arg1:Boolean):void; function set initialized(_arg1:Boolean):void; function validateProperties():void; function validateDisplayList():void; function get nestLevel():int; function get initialized():Boolean; function get processedDescriptors():Boolean; function validateSize(_arg1:Boolean=false):void; function set nestLevel(_arg1:int):void; function set processedDescriptors(_arg1:Boolean):void; } }//package mx.managers
Section 217
//ISystemManager (mx.managers.ISystemManager) package mx.managers { import flash.display.*; import flash.events.*; import flash.text.*; import flash.geom.*; import mx.core.*; public interface ISystemManager extends IEventDispatcher, IChildList, IFlexModuleFactory { function set focusPane(_arg1:Sprite):void; function get toolTipChildren():IChildList; function useSWFBridge():Boolean; function isFontFaceEmbedded(_arg1:TextFormat):Boolean; function deployMouseShields(_arg1:Boolean):void; function get rawChildren():IChildList; function get topLevelSystemManager():ISystemManager; function dispatchEventFromSWFBridges(_arg1:Event, _arg2:IEventDispatcher=null, _arg3:Boolean=false, _arg4:Boolean=false):void; function getSandboxRoot():DisplayObject; function get swfBridgeGroup():ISWFBridgeGroup; function removeFocusManager(_arg1:IFocusManagerContainer):void; function addChildToSandboxRoot(_arg1:String, _arg2:DisplayObject):void; function get document():Object; function get focusPane():Sprite; function get loaderInfo():LoaderInfo; function addChildBridge(_arg1:IEventDispatcher, _arg2:DisplayObject):void; function getTopLevelRoot():DisplayObject; function removeChildBridge(_arg1:IEventDispatcher):void; function isDisplayObjectInABridgedApplication(_arg1:DisplayObject):Boolean; function get popUpChildren():IChildList; function get screen():Rectangle; function removeChildFromSandboxRoot(_arg1:String, _arg2:DisplayObject):void; function getDefinitionByName(_arg1:String):Object; function activate(_arg1:IFocusManagerContainer):void; function deactivate(_arg1:IFocusManagerContainer):void; function get cursorChildren():IChildList; function set document(_arg1:Object):void; function get embeddedFontList():Object; function set numModalWindows(_arg1:int):void; function isTopLevel():Boolean; function isTopLevelRoot():Boolean; function get numModalWindows():int; function addFocusManager(_arg1:IFocusManagerContainer):void; function get stage():Stage; function getVisibleApplicationRect(_arg1:Rectangle=null):Rectangle; } }//package mx.managers
Section 218
//SystemManagerGlobals (mx.managers.SystemManagerGlobals) package mx.managers { public class SystemManagerGlobals { public static var topLevelSystemManagers:Array = []; public static var changingListenersInOtherSystemManagers:Boolean; public static var bootstrapLoaderInfoURL:String; public static var showMouseCursor:Boolean; } }//package mx.managers
Section 219
//IModuleInfo (mx.modules.IModuleInfo) package mx.modules { import flash.events.*; import flash.system.*; import flash.utils.*; import mx.core.*; public interface IModuleInfo extends IEventDispatcher { function get ready():Boolean; function get loaded():Boolean; function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null, _arg3:ByteArray=null):void; function release():void; function get error():Boolean; function get data():Object; function publish(_arg1:IFlexModuleFactory):void; function get factory():IFlexModuleFactory; function set data(_arg1:Object):void; function get url():String; function get setup():Boolean; function unload():void; } }//package mx.modules
Section 220
//ModuleManager (mx.modules.ModuleManager) package mx.modules { import mx.core.*; public class ModuleManager { mx_internal static const VERSION:String = "3.2.0.4537"; public static function getModule(_arg1:String):IModuleInfo{ return (getSingleton().getModule(_arg1)); } private static function getSingleton():Object{ if (!ModuleManagerGlobals.managerSingleton){ ModuleManagerGlobals.managerSingleton = new ModuleManagerImpl(); }; return (ModuleManagerGlobals.managerSingleton); } public static function getAssociatedFactory(_arg1:Object):IFlexModuleFactory{ return (getSingleton().getAssociatedFactory(_arg1)); } } }//package mx.modules import flash.display.*; import flash.events.*; import flash.system.*; import flash.utils.*; import flash.net.*; import mx.core.*; import mx.events.*; class ModuleInfoProxy extends EventDispatcher implements IModuleInfo { private var _data:Object; private var info:ModuleInfo; private var referenced:Boolean;// = false private function ModuleInfoProxy(_arg1:ModuleInfo){ this.info = _arg1; _arg1.addEventListener(ModuleEvent.SETUP, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.READY, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.ERROR, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.UNLOAD, moduleEventHandler, false, 0, true); } public function get loaded():Boolean{ return (info.loaded); } public function release():void{ if (referenced){ info.removeReference(); referenced = false; }; } public function get error():Boolean{ return (info.error); } public function get factory():IFlexModuleFactory{ return (info.factory); } public function publish(_arg1:IFlexModuleFactory):void{ info.publish(_arg1); } public function set data(_arg1:Object):void{ _data = _arg1; } public function get ready():Boolean{ return (info.ready); } public function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null, _arg3:ByteArray=null):void{ var _local4:ModuleEvent; info.resurrect(); if (!referenced){ info.addReference(); referenced = true; }; if (info.error){ dispatchEvent(new ModuleEvent(ModuleEvent.ERROR)); } else { if (info.loaded){ if (info.setup){ dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); if (info.ready){ _local4 = new ModuleEvent(ModuleEvent.PROGRESS); _local4.bytesLoaded = info.size; _local4.bytesTotal = info.size; dispatchEvent(_local4); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); }; }; } else { info.load(_arg1, _arg2, _arg3); }; }; } private function moduleEventHandler(_arg1:ModuleEvent):void{ dispatchEvent(_arg1); } public function get url():String{ return (info.url); } public function get data():Object{ return (_data); } public function get setup():Boolean{ return (info.setup); } public function unload():void{ info.unload(); info.removeEventListener(ModuleEvent.SETUP, moduleEventHandler); info.removeEventListener(ModuleEvent.PROGRESS, moduleEventHandler); info.removeEventListener(ModuleEvent.READY, moduleEventHandler); info.removeEventListener(ModuleEvent.ERROR, moduleEventHandler); info.removeEventListener(ModuleEvent.UNLOAD, moduleEventHandler); } } class ModuleManagerImpl extends EventDispatcher { private var moduleList:Object; private function ModuleManagerImpl(){ moduleList = {}; super(); } public function getModule(_arg1:String):IModuleInfo{ var _local2:ModuleInfo = (moduleList[_arg1] as ModuleInfo); if (!_local2){ _local2 = new ModuleInfo(_arg1); moduleList[_arg1] = _local2; }; return (new ModuleInfoProxy(_local2)); } public function getAssociatedFactory(_arg1:Object):IFlexModuleFactory{ var m:Object; var info:ModuleInfo; var domain:ApplicationDomain; var cls:Class; var object = _arg1; var className:String = getQualifiedClassName(object); for each (m in moduleList) { info = (m as ModuleInfo); if (!info.ready){ } else { domain = info.applicationDomain; try { cls = Class(domain.getDefinition(className)); if ((object is cls)){ return (info.factory); }; } catch(error:Error) { }; }; }; return (null); } } class ModuleInfo extends EventDispatcher { private var _error:Boolean;// = false private var loader:Loader; private var factoryInfo:FactoryInfo; private var limbo:Dictionary; private var _loaded:Boolean;// = false private var _ready:Boolean;// = false private var numReferences:int;// = 0 private var _url:String; private var _setup:Boolean;// = false private function ModuleInfo(_arg1:String){ _url = _arg1; } private function clearLoader():void{ if (loader){ if (loader.contentLoaderInfo){ loader.contentLoaderInfo.removeEventListener(Event.INIT, initHandler); loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, completeHandler); loader.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS, progressHandler); loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler); loader.contentLoaderInfo.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler); }; try { if (loader.content){ loader.content.removeEventListener("ready", readyHandler); loader.content.removeEventListener("error", moduleErrorHandler); }; } catch(error:Error) { }; if (_loaded){ try { loader.close(); } catch(error:Error) { }; }; try { loader.unload(); } catch(error:Error) { }; loader = null; }; } public function get size():int{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.bytesTotal : 0); } public function get loaded():Boolean{ return ((limbo) ? false : _loaded); } public function release():void{ if (((_ready) && (!(limbo)))){ limbo = new Dictionary(true); limbo[factoryInfo] = 1; factoryInfo = null; } else { unload(); }; } public function get error():Boolean{ return ((limbo) ? false : _error); } public function get factory():IFlexModuleFactory{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.factory : null); } public function completeHandler(_arg1:Event):void{ var _local2:ModuleEvent = new ModuleEvent(ModuleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = loader.contentLoaderInfo.bytesLoaded; _local2.bytesTotal = loader.contentLoaderInfo.bytesTotal; dispatchEvent(_local2); } public function publish(_arg1:IFlexModuleFactory):void{ if (factoryInfo){ return; }; if (_url.indexOf("published://") != 0){ return; }; factoryInfo = new FactoryInfo(); factoryInfo.factory = _arg1; _loaded = true; _setup = true; _ready = true; _error = false; dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); dispatchEvent(new ModuleEvent(ModuleEvent.PROGRESS)); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); } public function initHandler(_arg1:Event):void{ var moduleEvent:ModuleEvent; var event = _arg1; factoryInfo = new FactoryInfo(); try { factoryInfo.factory = (loader.content as IFlexModuleFactory); } catch(error:Error) { }; if (!factoryInfo.factory){ moduleEvent = new ModuleEvent(ModuleEvent.ERROR, event.bubbles, event.cancelable); moduleEvent.bytesLoaded = 0; moduleEvent.bytesTotal = 0; moduleEvent.errorText = "SWF is not a loadable module"; dispatchEvent(moduleEvent); return; }; loader.content.addEventListener("ready", readyHandler); loader.content.addEventListener("error", moduleErrorHandler); try { factoryInfo.applicationDomain = loader.contentLoaderInfo.applicationDomain; } catch(error:Error) { }; _setup = true; dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); } public function resurrect():void{ var _local1:Object; if (((!(factoryInfo)) && (limbo))){ for (_local1 in limbo) { factoryInfo = (_local1 as FactoryInfo); break; }; limbo = null; }; if (!factoryInfo){ if (_loaded){ dispatchEvent(new ModuleEvent(ModuleEvent.UNLOAD)); }; loader = null; _loaded = false; _setup = false; _ready = false; _error = false; }; } public function errorHandler(_arg1:ErrorEvent):void{ _error = true; var _local2:ModuleEvent = new ModuleEvent(ModuleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = 0; _local2.bytesTotal = 0; _local2.errorText = _arg1.text; dispatchEvent(_local2); } public function get ready():Boolean{ return ((limbo) ? false : _ready); } private function loadBytes(_arg1:ApplicationDomain, _arg2:ByteArray):void{ var _local3:LoaderContext = new LoaderContext(); _local3.applicationDomain = (_arg1) ? _arg1 : new ApplicationDomain(ApplicationDomain.currentDomain); if (("allowLoadBytesCodeExecution" in _local3)){ _local3["allowLoadBytesCodeExecution"] = true; }; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler); loader.loadBytes(_arg2, _local3); } public function removeReference():void{ numReferences--; if (numReferences == 0){ release(); }; } public function addReference():void{ numReferences++; } public function progressHandler(_arg1:ProgressEvent):void{ var _local2:ModuleEvent = new ModuleEvent(ModuleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } public function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null, _arg3:ByteArray=null):void{ if (_loaded){ return; }; _loaded = true; limbo = null; if (_arg3){ loadBytes(_arg1, _arg3); return; }; if (_url.indexOf("published://") == 0){ return; }; var _local4:URLRequest = new URLRequest(_url); var _local5:LoaderContext = new LoaderContext(); _local5.applicationDomain = (_arg1) ? _arg1 : new ApplicationDomain(ApplicationDomain.currentDomain); _local5.securityDomain = _arg2; if ((((_arg2 == null)) && ((Security.sandboxType == Security.REMOTE)))){ _local5.securityDomain = SecurityDomain.currentDomain; }; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler); loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler); loader.load(_local4, _local5); } public function get url():String{ return (_url); } public function get applicationDomain():ApplicationDomain{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.applicationDomain : null); } public function moduleErrorHandler(_arg1:Event):void{ var _local2:ModuleEvent; _ready = true; factoryInfo.bytesTotal = loader.contentLoaderInfo.bytesTotal; clearLoader(); if ((_arg1 is ModuleEvent)){ _local2 = ModuleEvent(_arg1); } else { _local2 = new ModuleEvent(ModuleEvent.ERROR); }; dispatchEvent(_local2); } public function readyHandler(_arg1:Event):void{ _ready = true; factoryInfo.bytesTotal = loader.contentLoaderInfo.bytesTotal; clearLoader(); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); } public function get setup():Boolean{ return ((limbo) ? false : _setup); } public function unload():void{ clearLoader(); if (_loaded){ dispatchEvent(new ModuleEvent(ModuleEvent.UNLOAD)); }; limbo = null; factoryInfo = null; _loaded = false; _setup = false; _ready = false; _error = false; } } class FactoryInfo { public var bytesTotal:int;// = 0 public var factory:IFlexModuleFactory; public var applicationDomain:ApplicationDomain; private function FactoryInfo(){ } }
Section 221
//ModuleManagerGlobals (mx.modules.ModuleManagerGlobals) package mx.modules { public class ModuleManagerGlobals { public static var managerSingleton:Object = null; } }//package mx.modules
Section 222
//IResourceBundle (mx.resources.IResourceBundle) package mx.resources { public interface IResourceBundle { function get content():Object; function get locale():String; function get bundleName():String; } }//package mx.resources
Section 223
//IResourceManager (mx.resources.IResourceManager) package mx.resources { import flash.events.*; import flash.system.*; public interface IResourceManager extends IEventDispatcher { function loadResourceModule(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher; function getBoolean(_arg1:String, _arg2:String, _arg3:String=null):Boolean; function getClass(_arg1:String, _arg2:String, _arg3:String=null):Class; function getLocales():Array; function removeResourceBundlesForLocale(_arg1:String):void; function getResourceBundle(_arg1:String, _arg2:String):IResourceBundle; function get localeChain():Array; function getInt(_arg1:String, _arg2:String, _arg3:String=null):int; function update():void; function set localeChain(_arg1:Array):void; function getUint(_arg1:String, _arg2:String, _arg3:String=null):uint; function addResourceBundle(_arg1:IResourceBundle):void; function getStringArray(_arg1:String, _arg2:String, _arg3:String=null):Array; function getBundleNamesForLocale(_arg1:String):Array; function removeResourceBundle(_arg1:String, _arg2:String):void; function getObject(_arg1:String, _arg2:String, _arg3:String=null); function getString(_arg1:String, _arg2:String, _arg3:Array=null, _arg4:String=null):String; function installCompiledResourceBundles(_arg1:ApplicationDomain, _arg2:Array, _arg3:Array):void; function unloadResourceModule(_arg1:String, _arg2:Boolean=true):void; function getPreferredLocaleChain():Array; function findResourceBundleWithResource(_arg1:String, _arg2:String):IResourceBundle; function initializeLocaleChain(_arg1:Array):void; function getNumber(_arg1:String, _arg2:String, _arg3:String=null):Number; } }//package mx.resources
Section 224
//IResourceModule (mx.resources.IResourceModule) package mx.resources { public interface IResourceModule { function get resourceBundles():Array; } }//package mx.resources
Section 225
//LocaleSorter (mx.resources.LocaleSorter) package mx.resources { public class LocaleSorter { mx_internal static const VERSION:String = "3.2.0.4537"; private static function normalizeLocale(_arg1:String):String{ return (_arg1.toLowerCase().replace(/-/g, "_")); } public static function sortLocalesByPreference(_arg1:Array, _arg2:Array, _arg3:String=null, _arg4:Boolean=false):Array{ var result:Array; var hasLocale:Object; var i:int; var j:int; var k:int; var l:int; var locale:String; var plocale:LocaleID; var appLocales = _arg1; var systemPreferences = _arg2; var ultimateFallbackLocale = _arg3; var addAll = _arg4; var promote:Function = function (_arg1:String):void{ if (typeof(hasLocale[_arg1]) != "undefined"){ result.push(appLocales[hasLocale[_arg1]]); delete hasLocale[_arg1]; }; }; result = []; hasLocale = {}; var locales:Array = trimAndNormalize(appLocales); var preferenceLocales:Array = trimAndNormalize(systemPreferences); addUltimateFallbackLocale(preferenceLocales, ultimateFallbackLocale); j = 0; while (j < locales.length) { hasLocale[locales[j]] = j; j = (j + 1); }; i = 0; l = preferenceLocales.length; while (i < l) { plocale = LocaleID.fromString(preferenceLocales[i]); promote(preferenceLocales[i]); promote(plocale.toString()); while (plocale.transformToParent()) { promote(plocale.toString()); }; plocale = LocaleID.fromString(preferenceLocales[i]); j = 0; while (j < l) { locale = preferenceLocales[j]; if (plocale.isSiblingOf(LocaleID.fromString(locale))){ promote(locale); }; j = (j + 1); }; j = 0; k = locales.length; while (j < k) { locale = locales[j]; if (plocale.isSiblingOf(LocaleID.fromString(locale))){ promote(locale); }; j = (j + 1); }; i = (i + 1); }; if (addAll){ j = 0; k = locales.length; while (j < k) { promote(locales[j]); j = (j + 1); }; }; return (result); } private static function addUltimateFallbackLocale(_arg1:Array, _arg2:String):void{ var _local3:String; if (((!((_arg2 == null))) && (!((_arg2 == ""))))){ _local3 = normalizeLocale(_arg2); if (_arg1.indexOf(_local3) == -1){ _arg1.push(_local3); }; }; } private static function trimAndNormalize(_arg1:Array):Array{ var _local2:Array = []; var _local3:int; while (_local3 < _arg1.length) { _local2.push(normalizeLocale(_arg1[_local3])); _local3++; }; return (_local2); } } }//package mx.resources class LocaleID { private var privateLangs:Boolean;// = false private var script:String;// = "" private var variants:Array; private var privates:Array; private var extensions:Object; private var lang:String;// = "" private var region:String;// = "" private var extended_langs:Array; public static const STATE_PRIMARY_LANGUAGE:int = 0; public static const STATE_REGION:int = 3; public static const STATE_EXTENDED_LANGUAGES:int = 1; public static const STATE_EXTENSIONS:int = 5; public static const STATE_SCRIPT:int = 2; public static const STATE_VARIANTS:int = 4; public static const STATE_PRIVATES:int = 6; private function LocaleID(){ extended_langs = []; variants = []; extensions = {}; privates = []; super(); } public function equals(_arg1:LocaleID):Boolean{ return ((toString() == _arg1.toString())); } public function canonicalize():void{ var _local1:String; for (_local1 in extensions) { if (extensions.hasOwnProperty(_local1)){ if (extensions[_local1].length == 0){ delete extensions[_local1]; } else { extensions[_local1] = extensions[_local1].sort(); }; }; }; extended_langs = extended_langs.sort(); variants = variants.sort(); privates = privates.sort(); if (script == ""){ script = LocaleRegistry.getScriptByLang(lang); }; if ((((script == "")) && (!((region == ""))))){ script = LocaleRegistry.getScriptByLangAndRegion(lang, region); }; if ((((region == "")) && (!((script == ""))))){ region = LocaleRegistry.getDefaultRegionForLangAndScript(lang, script); }; } public function toString():String{ var _local2:String; var _local1:Array = [lang]; Array.prototype.push.apply(_local1, extended_langs); if (script != ""){ _local1.push(script); }; if (region != ""){ _local1.push(region); }; Array.prototype.push.apply(_local1, variants); for (_local2 in extensions) { if (extensions.hasOwnProperty(_local2)){ _local1.push(_local2); Array.prototype.push.apply(_local1, extensions[_local2]); }; }; if (privates.length > 0){ _local1.push("x"); Array.prototype.push.apply(_local1, privates); }; return (_local1.join("_")); } public function isSiblingOf(_arg1:LocaleID):Boolean{ return ((((lang == _arg1.lang)) && ((script == _arg1.script)))); } public function transformToParent():Boolean{ var _local2:String; var _local3:Array; var _local4:String; if (privates.length > 0){ privates.splice((privates.length - 1), 1); return (true); }; var _local1:String; for (_local2 in extensions) { if (extensions.hasOwnProperty(_local2)){ _local1 = _local2; }; }; if (_local1){ _local3 = extensions[_local1]; if (_local3.length == 1){ delete extensions[_local1]; return (true); }; _local3.splice((_local3.length - 1), 1); return (true); }; if (variants.length > 0){ variants.splice((variants.length - 1), 1); return (true); }; if (script != ""){ if (LocaleRegistry.getScriptByLang(lang) != ""){ script = ""; return (true); }; if (region == ""){ _local4 = LocaleRegistry.getDefaultRegionForLangAndScript(lang, script); if (_local4 != ""){ region = _local4; script = ""; return (true); }; }; }; if (region != ""){ if (!(((script == "")) && ((LocaleRegistry.getScriptByLang(lang) == "")))){ region = ""; return (true); }; }; if (extended_langs.length > 0){ extended_langs.splice((extended_langs.length - 1), 1); return (true); }; return (false); } public static function fromString(_arg1:String):LocaleID{ var _local5:Array; var _local8:String; var _local9:int; var _local10:String; var _local2:LocaleID = new (LocaleID); var _local3:int = STATE_PRIMARY_LANGUAGE; var _local4:Array = _arg1.replace(/-/g, "_").split("_"); var _local6:int; var _local7:int = _local4.length; while (_local6 < _local7) { _local8 = _local4[_local6].toLowerCase(); if (_local3 == STATE_PRIMARY_LANGUAGE){ if (_local8 == "x"){ _local2.privateLangs = true; } else { if (_local8 == "i"){ _local2.lang = (_local2.lang + "i-"); } else { _local2.lang = (_local2.lang + _local8); _local3 = STATE_EXTENDED_LANGUAGES; }; }; } else { _local9 = _local8.length; if (_local9 == 0){ } else { _local10 = _local8.charAt(0).toLowerCase(); if ((((_local3 <= STATE_EXTENDED_LANGUAGES)) && ((_local9 == 3)))){ _local2.extended_langs.push(_local8); if (_local2.extended_langs.length == 3){ _local3 = STATE_SCRIPT; }; } else { if ((((_local3 <= STATE_SCRIPT)) && ((_local9 == 4)))){ _local2.script = _local8; _local3 = STATE_REGION; } else { if ((((_local3 <= STATE_REGION)) && ((((_local9 == 2)) || ((_local9 == 3)))))){ _local2.region = _local8; _local3 = STATE_VARIANTS; } else { if ((((_local3 <= STATE_VARIANTS)) && ((((((((_local10 >= "a")) && ((_local10 <= "z")))) && ((_local9 >= 5)))) || ((((((_local10 >= "0")) && ((_local10 <= "9")))) && ((_local9 >= 4)))))))){ _local2.variants.push(_local8); _local3 = STATE_VARIANTS; } else { if ((((_local3 < STATE_PRIVATES)) && ((_local9 == 1)))){ if (_local8 == "x"){ _local3 = STATE_PRIVATES; _local5 = _local2.privates; } else { _local3 = STATE_EXTENSIONS; _local5 = ((_local2.extensions[_local8]) || ([])); _local2.extensions[_local8] = _local5; }; } else { if (_local3 >= STATE_EXTENSIONS){ _local5.push(_local8); }; }; }; }; }; }; }; }; _local6++; }; _local2.canonicalize(); return (_local2); } } class LocaleRegistry { private static const SCRIPT_ID_BY_LANG:Object = {ab:5, af:1, am:2, ar:3, as:4, ay:1, be:5, bg:5, bn:4, bs:1, ca:1, ch:1, cs:1, cy:1, da:1, de:1, dv:6, dz:7, el:8, en:1, eo:1, es:1, et:1, eu:1, fa:3, fi:1, fj:1, fo:1, fr:1, frr:1, fy:1, ga:1, gl:1, gn:1, gu:9, gv:1, he:10, hi:11, hr:1, ht:1, hu:1, hy:12, id:1, in:1, is:1, it:1, iw:10, ja:13, ka:14, kk:5, kl:1, km:15, kn:16, ko:17, la:1, lb:1, ln:1, lo:18, lt:1, lv:1, mg:1, mh:1, mk:5, ml:19, mo:1, mr:11, ms:1, mt:1, my:20, na:1, nb:1, nd:1, ne:11, nl:1, nn:1, no:1, nr:1, ny:1, om:1, or:21, pa:22, pl:1, ps:3, pt:1, qu:1, rn:1, ro:1, ru:5, rw:1, sg:1, si:23, sk:1, sl:1, sm:1, so:1, sq:1, ss:1, st:1, sv:1, sw:1, ta:24, te:25, th:26, ti:2, tl:1, tn:1, to:1, tr:1, ts:1, uk:5, ur:3, ve:1, vi:1, wo:1, xh:1, yi:10, zu:1, cpe:1, dsb:1, frs:1, gsw:1, hsb:1, kok:11, mai:11, men:1, nds:1, niu:1, nqo:27, nso:1, son:1, tem:1, tkl:1, tmh:1, tpi:1, tvl:1, zbl:28}; private static const SCRIPTS:Array = ["", "latn", "ethi", "arab", "beng", "cyrl", "thaa", "tibt", "grek", "gujr", "hebr", "deva", "armn", "jpan", "geor", "khmr", "knda", "kore", "laoo", "mlym", "mymr", "orya", "guru", "sinh", "taml", "telu", "thai", "nkoo", "blis", "hans", "hant", "mong", "syrc"]; private static const DEFAULT_REGION_BY_LANG_AND_SCRIPT:Object = {bg:{5:"bg"}, ca:{1:"es"}, zh:{30:"tw", 29:"cn"}, cs:{1:"cz"}, da:{1:"dk"}, de:{1:"de"}, el:{8:"gr"}, en:{1:"us"}, es:{1:"es"}, fi:{1:"fi"}, fr:{1:"fr"}, he:{10:"il"}, hu:{1:"hu"}, is:{1:"is"}, it:{1:"it"}, ja:{13:"jp"}, ko:{17:"kr"}, nl:{1:"nl"}, nb:{1:"no"}, pl:{1:"pl"}, pt:{1:"br"}, ro:{1:"ro"}, ru:{5:"ru"}, hr:{1:"hr"}, sk:{1:"sk"}, sq:{1:"al"}, sv:{1:"se"}, th:{26:"th"}, tr:{1:"tr"}, ur:{3:"pk"}, id:{1:"id"}, uk:{5:"ua"}, be:{5:"by"}, sl:{1:"si"}, et:{1:"ee"}, lv:{1:"lv"}, lt:{1:"lt"}, fa:{3:"ir"}, vi:{1:"vn"}, hy:{12:"am"}, az:{1:"az", 5:"az"}, eu:{1:"es"}, mk:{5:"mk"}, af:{1:"za"}, ka:{14:"ge"}, fo:{1:"fo"}, hi:{11:"in"}, ms:{1:"my"}, kk:{5:"kz"}, ky:{5:"kg"}, sw:{1:"ke"}, uz:{1:"uz", 5:"uz"}, tt:{5:"ru"}, pa:{22:"in"}, gu:{9:"in"}, ta:{24:"in"}, te:{25:"in"}, kn:{16:"in"}, mr:{11:"in"}, sa:{11:"in"}, mn:{5:"mn"}, gl:{1:"es"}, kok:{11:"in"}, syr:{32:"sy"}, dv:{6:"mv"}, nn:{1:"no"}, sr:{1:"cs", 5:"cs"}, cy:{1:"gb"}, mi:{1:"nz"}, mt:{1:"mt"}, quz:{1:"bo"}, tn:{1:"za"}, xh:{1:"za"}, zu:{1:"za"}, nso:{1:"za"}, se:{1:"no"}, smj:{1:"no"}, sma:{1:"no"}, sms:{1:"fi"}, smn:{1:"fi"}, bs:{1:"ba"}}; private static const SCRIPT_BY_ID:Object = {latn:1, ethi:2, arab:3, beng:4, cyrl:5, thaa:6, tibt:7, grek:8, gujr:9, hebr:10, deva:11, armn:12, jpan:13, geor:14, khmr:15, knda:16, kore:17, laoo:18, mlym:19, mymr:20, orya:21, guru:22, sinh:23, taml:24, telu:25, thai:26, nkoo:27, blis:28, hans:29, hant:30, mong:31, syrc:32}; private static const SCRIPT_ID_BY_LANG_AND_REGION:Object = {zh:{cn:29, sg:29, tw:30, hk:30, mo:30}, mn:{cn:31, sg:5}, pa:{pk:3, in:22}, ha:{gh:1, ne:1}}; private function LocaleRegistry(){ } public static function getScriptByLangAndRegion(_arg1:String, _arg2:String):String{ var _local3:Object = SCRIPT_ID_BY_LANG_AND_REGION[_arg1]; if (_local3 == null){ return (""); }; var _local4:Object = _local3[_arg2]; if (_local4 == null){ return (""); }; return (SCRIPTS[int(_local4)].toLowerCase()); } public static function getScriptByLang(_arg1:String):String{ var _local2:Object = SCRIPT_ID_BY_LANG[_arg1]; if (_local2 == null){ return (""); }; return (SCRIPTS[int(_local2)].toLowerCase()); } public static function getDefaultRegionForLangAndScript(_arg1:String, _arg2:String):String{ var _local3:Object = DEFAULT_REGION_BY_LANG_AND_SCRIPT[_arg1]; var _local4:Object = SCRIPT_BY_ID[_arg2]; if ((((_local3 == null)) || ((_local4 == null)))){ return (""); }; return (((_local3[int(_local4)]) || (""))); } }
Section 226
//ResourceBundle (mx.resources.ResourceBundle) package mx.resources { import flash.system.*; import mx.core.*; import mx.utils.*; public class ResourceBundle implements IResourceBundle { mx_internal var _locale:String; private var _content:Object; mx_internal var _bundleName:String; mx_internal static const VERSION:String = "3.2.0.4537"; mx_internal static var backupApplicationDomain:ApplicationDomain; mx_internal static var locale:String; public function ResourceBundle(_arg1:String=null, _arg2:String=null){ _content = {}; super(); mx_internal::_locale = _arg1; mx_internal::_bundleName = _arg2; _content = getContent(); } protected function getContent():Object{ return ({}); } public function getString(_arg1:String):String{ return (String(_getObject(_arg1))); } public function get content():Object{ return (_content); } public function getBoolean(_arg1:String, _arg2:Boolean=true):Boolean{ var _local3:String = _getObject(_arg1).toLowerCase(); if (_local3 == "false"){ return (false); }; if (_local3 == "true"){ return (true); }; return (_arg2); } public function getStringArray(_arg1:String):Array{ var _local2:Array = _getObject(_arg1).split(","); var _local3:int = _local2.length; var _local4:int; while (_local4 < _local3) { _local2[_local4] = StringUtil.trim(_local2[_local4]); _local4++; }; return (_local2); } public function getObject(_arg1:String):Object{ return (_getObject(_arg1)); } private function _getObject(_arg1:String):Object{ var _local2:Object = content[_arg1]; if (!_local2){ throw (new Error(((("Key " + _arg1) + " was not found in resource bundle ") + bundleName))); }; return (_local2); } public function get locale():String{ return (mx_internal::_locale); } public function get bundleName():String{ return (mx_internal::_bundleName); } public function getNumber(_arg1:String):Number{ return (Number(_getObject(_arg1))); } private static function getClassByName(_arg1:String, _arg2:ApplicationDomain):Class{ var _local3:Class; if (_arg2.hasDefinition(_arg1)){ _local3 = (_arg2.getDefinition(_arg1) as Class); }; return (_local3); } public static function getResourceBundle(_arg1:String, _arg2:ApplicationDomain=null):ResourceBundle{ var _local3:String; var _local4:Class; var _local5:Object; var _local6:ResourceBundle; if (!_arg2){ _arg2 = ApplicationDomain.currentDomain; }; _local3 = (((mx_internal::locale + "$") + _arg1) + "_properties"); _local4 = getClassByName(_local3, _arg2); if (!_local4){ _local3 = (_arg1 + "_properties"); _local4 = getClassByName(_local3, _arg2); }; if (!_local4){ _local3 = _arg1; _local4 = getClassByName(_local3, _arg2); }; if (((!(_local4)) && (mx_internal::backupApplicationDomain))){ _local3 = (_arg1 + "_properties"); _local4 = getClassByName(_local3, mx_internal::backupApplicationDomain); if (!_local4){ _local3 = _arg1; _local4 = getClassByName(_local3, mx_internal::backupApplicationDomain); }; }; if (_local4){ _local5 = new (_local4); if ((_local5 is ResourceBundle)){ _local6 = ResourceBundle(_local5); return (_local6); }; }; throw (new Error(("Could not find resource bundle " + _arg1))); } } }//package mx.resources
Section 227
//ResourceManager (mx.resources.ResourceManager) package mx.resources { import mx.core.*; public class ResourceManager { mx_internal static const VERSION:String = "3.2.0.4537"; private static var implClassDependency:ResourceManagerImpl; private static var instance:IResourceManager; public static function getInstance():IResourceManager{ if (!instance){ try { instance = IResourceManager(Singleton.getInstance("mx.resources::IResourceManager")); } catch(e:Error) { instance = new ResourceManagerImpl(); }; }; return (instance); } } }//package mx.resources
Section 228
//ResourceManagerImpl (mx.resources.ResourceManagerImpl) package mx.resources { import flash.events.*; import flash.system.*; import flash.utils.*; import mx.core.*; import mx.events.*; import mx.utils.*; import mx.modules.*; public class ResourceManagerImpl extends EventDispatcher implements IResourceManager { private var resourceModules:Object; private var initializedForNonFrameworkApp:Boolean;// = false private var localeMap:Object; private var _localeChain:Array; mx_internal static const VERSION:String = "3.2.0.4537"; private static var instance:IResourceManager; public function ResourceManagerImpl(){ localeMap = {}; resourceModules = {}; super(); } public function get localeChain():Array{ return (_localeChain); } public function set localeChain(_arg1:Array):void{ _localeChain = _arg1; update(); } public function getStringArray(_arg1:String, _arg2:String, _arg3:String=null):Array{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (null); }; var _local5:* = _local4.content[_arg2]; var _local6:Array = String(_local5).split(","); var _local7:int = _local6.length; var _local8:int; while (_local8 < _local7) { _local6[_local8] = StringUtil.trim(_local6[_local8]); _local8++; }; return (_local6); } mx_internal function installCompiledResourceBundle(_arg1:ApplicationDomain, _arg2:String, _arg3:String):void{ var _local4:String; var _local5:String = _arg3; var _local6:int = _arg3.indexOf(":"); if (_local6 != -1){ _local4 = _arg3.substring(0, _local6); _local5 = _arg3.substring((_local6 + 1)); }; if (getResourceBundle(_arg2, _arg3)){ return; }; var _local7 = (((_arg2 + "$") + _local5) + "_properties"); if (_local4 != null){ _local7 = ((_local4 + ".") + _local7); }; var _local8:Class; if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; if (!_local8){ _local7 = _arg3; if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; }; if (!_local8){ _local7 = (_arg3 + "_properties"); if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; }; if (!_local8){ throw (new Error((((("Could not find compiled resource bundle '" + _arg3) + "' for locale '") + _arg2) + "'."))); }; var _local9:ResourceBundle = ResourceBundle(new (_local8)); _local9.mx_internal::_locale = _arg2; _local9.mx_internal::_bundleName = _arg3; addResourceBundle(_local9); } public function getString(_arg1:String, _arg2:String, _arg3:Array=null, _arg4:String=null):String{ var _local5:IResourceBundle = findBundle(_arg1, _arg2, _arg4); if (!_local5){ return (null); }; var _local6:String = String(_local5.content[_arg2]); if (_arg3){ _local6 = StringUtil.substitute(_local6, _arg3); }; return (_local6); } public function loadResourceModule(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher{ var moduleInfo:IModuleInfo; var resourceEventDispatcher:ResourceEventDispatcher; var timer:Timer; var timerHandler:Function; var url = _arg1; var updateFlag = _arg2; var applicationDomain = _arg3; var securityDomain = _arg4; moduleInfo = ModuleManager.getModule(url); resourceEventDispatcher = new ResourceEventDispatcher(moduleInfo); var readyHandler:Function = function (_arg1:ModuleEvent):void{ var _local2:* = _arg1.module.factory.create(); resourceModules[_arg1.module.url].resourceModule = _local2; if (updateFlag){ update(); }; }; moduleInfo.addEventListener(ModuleEvent.READY, readyHandler, false, 0, true); var errorHandler:Function = function (_arg1:ModuleEvent):void{ var _local3:ResourceEvent; var _local2:String = ("Unable to load resource module from " + url); if (resourceEventDispatcher.willTrigger(ResourceEvent.ERROR)){ _local3 = new ResourceEvent(ResourceEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local3.bytesLoaded = 0; _local3.bytesTotal = 0; _local3.errorText = _local2; resourceEventDispatcher.dispatchEvent(_local3); } else { throw (new Error(_local2)); }; }; moduleInfo.addEventListener(ModuleEvent.ERROR, errorHandler, false, 0, true); resourceModules[url] = new ResourceModuleInfo(moduleInfo, readyHandler, errorHandler); timer = new Timer(0); timerHandler = function (_arg1:TimerEvent):void{ timer.removeEventListener(TimerEvent.TIMER, timerHandler); timer.stop(); moduleInfo.load(applicationDomain, securityDomain); }; timer.addEventListener(TimerEvent.TIMER, timerHandler, false, 0, true); timer.start(); return (resourceEventDispatcher); } public function getLocales():Array{ var _local2:String; var _local1:Array = []; for (_local2 in localeMap) { _local1.push(_local2); }; return (_local1); } public function removeResourceBundlesForLocale(_arg1:String):void{ delete localeMap[_arg1]; } public function getResourceBundle(_arg1:String, _arg2:String):IResourceBundle{ var _local3:Object = localeMap[_arg1]; if (!_local3){ return (null); }; return (_local3[_arg2]); } private function dumpResourceModule(_arg1):void{ var _local2:ResourceBundle; var _local3:String; for each (_local2 in _arg1.resourceBundles) { trace(_local2.locale, _local2.bundleName); for (_local3 in _local2.content) { }; }; } public function addResourceBundle(_arg1:IResourceBundle):void{ var _local2:String = _arg1.locale; var _local3:String = _arg1.bundleName; if (!localeMap[_local2]){ localeMap[_local2] = {}; }; localeMap[_local2][_local3] = _arg1; } public function getObject(_arg1:String, _arg2:String, _arg3:String=null){ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (undefined); }; return (_local4.content[_arg2]); } public function getInt(_arg1:String, _arg2:String, _arg3:String=null):int{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (0); }; var _local5:* = _local4.content[_arg2]; return (int(_local5)); } private function findBundle(_arg1:String, _arg2:String, _arg3:String):IResourceBundle{ supportNonFrameworkApps(); return (((_arg3)!=null) ? getResourceBundle(_arg3, _arg1) : findResourceBundleWithResource(_arg1, _arg2)); } private function supportNonFrameworkApps():void{ if (initializedForNonFrameworkApp){ return; }; initializedForNonFrameworkApp = true; if (getLocales().length > 0){ return; }; var _local1:ApplicationDomain = ApplicationDomain.currentDomain; if (!_local1.hasDefinition("_CompiledResourceBundleInfo")){ return; }; var _local2:Class = Class(_local1.getDefinition("_CompiledResourceBundleInfo")); var _local3:Array = _local2.compiledLocales; var _local4:Array = _local2.compiledResourceBundleNames; installCompiledResourceBundles(_local1, _local3, _local4); localeChain = _local3; } public function getBundleNamesForLocale(_arg1:String):Array{ var _local3:String; var _local2:Array = []; for (_local3 in localeMap[_arg1]) { _local2.push(_local3); }; return (_local2); } public function getPreferredLocaleChain():Array{ return (LocaleSorter.sortLocalesByPreference(getLocales(), getSystemPreferredLocales(), null, true)); } public function getNumber(_arg1:String, _arg2:String, _arg3:String=null):Number{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (NaN); }; var _local5:* = _local4.content[_arg2]; return (Number(_local5)); } public function update():void{ dispatchEvent(new Event(Event.CHANGE)); } public function getClass(_arg1:String, _arg2:String, _arg3:String=null):Class{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (null); }; var _local5:* = _local4.content[_arg2]; return ((_local5 as Class)); } public function removeResourceBundle(_arg1:String, _arg2:String):void{ delete localeMap[_arg1][_arg2]; if (getBundleNamesForLocale(_arg1).length == 0){ delete localeMap[_arg1]; }; } public function initializeLocaleChain(_arg1:Array):void{ localeChain = LocaleSorter.sortLocalesByPreference(_arg1, getSystemPreferredLocales(), null, true); } public function findResourceBundleWithResource(_arg1:String, _arg2:String):IResourceBundle{ var _local5:String; var _local6:Object; var _local7:ResourceBundle; if (!_localeChain){ return (null); }; var _local3:int = _localeChain.length; var _local4:int; while (_local4 < _local3) { _local5 = localeChain[_local4]; _local6 = localeMap[_local5]; if (!_local6){ } else { _local7 = _local6[_arg1]; if (!_local7){ } else { if ((_arg2 in _local7.content)){ return (_local7); }; }; }; _local4++; }; return (null); } public function getUint(_arg1:String, _arg2:String, _arg3:String=null):uint{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (0); }; var _local5:* = _local4.content[_arg2]; return (uint(_local5)); } private function getSystemPreferredLocales():Array{ var _local1:Array; if (Capabilities["languages"]){ _local1 = Capabilities["languages"]; } else { _local1 = [Capabilities.language]; }; return (_local1); } public function installCompiledResourceBundles(_arg1:ApplicationDomain, _arg2:Array, _arg3:Array):void{ var _local7:String; var _local8:int; var _local9:String; var _local4:int = (_arg2) ? _arg2.length : 0; var _local5:int = (_arg3) ? _arg3.length : 0; var _local6:int; while (_local6 < _local4) { _local7 = _arg2[_local6]; _local8 = 0; while (_local8 < _local5) { _local9 = _arg3[_local8]; mx_internal::installCompiledResourceBundle(_arg1, _local7, _local9); _local8++; }; _local6++; }; } public function getBoolean(_arg1:String, _arg2:String, _arg3:String=null):Boolean{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (false); }; var _local5:* = _local4.content[_arg2]; return ((String(_local5).toLowerCase() == "true")); } public function unloadResourceModule(_arg1:String, _arg2:Boolean=true):void{ throw (new Error("unloadResourceModule() is not yet implemented.")); } public static function getInstance():IResourceManager{ if (!instance){ instance = new (ResourceManagerImpl); }; return (instance); } } }//package mx.resources import flash.events.*; import mx.events.*; import mx.modules.*; class ResourceModuleInfo { public var resourceModule:IResourceModule; public var errorHandler:Function; public var readyHandler:Function; public var moduleInfo:IModuleInfo; private function ResourceModuleInfo(_arg1:IModuleInfo, _arg2:Function, _arg3:Function){ this.moduleInfo = _arg1; this.readyHandler = _arg2; this.errorHandler = _arg3; } } class ResourceEventDispatcher extends EventDispatcher { private function ResourceEventDispatcher(_arg1:IModuleInfo){ _arg1.addEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.READY, moduleInfo_readyHandler, false, 0, true); } private function moduleInfo_progressHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } private function moduleInfo_readyHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.COMPLETE); dispatchEvent(_local2); } private function moduleInfo_errorHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; _local2.errorText = _arg1.errorText; dispatchEvent(_local2); } }
Section 229
//HaloBorder (mx.skins.halo.HaloBorder) package mx.skins.halo { import flash.display.*; import mx.core.*; import mx.styles.*; import mx.skins.*; import mx.utils.*; import mx.graphics.*; public class HaloBorder extends RectangularBorder { mx_internal var radiusObj:Object; mx_internal var backgroundHole:Object; mx_internal var radius:Number; mx_internal var bRoundedCorners:Boolean; mx_internal var backgroundColor:Object; private var dropShadow:RectangularDropShadow; protected var _borderMetrics:EdgeMetrics; mx_internal var backgroundAlphaName:String; mx_internal static const VERSION:String = "3.2.0.4537"; private static var BORDER_WIDTHS:Object = {none:0, solid:1, inset:2, outset:2, alert:3, dropdown:2, menuBorder:1, comboNonEdit:2}; public function HaloBorder(){ BORDER_WIDTHS["default"] = 3; } override public function styleChanged(_arg1:String):void{ if ((((((((((_arg1 == null)) || ((_arg1 == "styleName")))) || ((_arg1 == "borderStyle")))) || ((_arg1 == "borderThickness")))) || ((_arg1 == "borderSides")))){ _borderMetrics = null; }; invalidateDisplayList(); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ if (((isNaN(_arg1)) || (isNaN(_arg2)))){ return; }; super.updateDisplayList(_arg1, _arg2); backgroundColor = getBackgroundColor(); bRoundedCorners = false; backgroundAlphaName = "backgroundAlpha"; backgroundHole = null; radius = 0; radiusObj = null; drawBorder(_arg1, _arg2); drawBackground(_arg1, _arg2); } mx_internal function drawBorder(_arg1:Number, _arg2:Number):void{ var _local5:Number; var _local6:uint; var _local7:uint; var _local8:String; var _local9:Number; var _local10:uint; var _local11:Boolean; var _local12:uint; var _local13:Array; var _local14:Array; var _local15:uint; var _local16:uint; var _local17:uint; var _local18:uint; var _local19:Boolean; var _local20:Object; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Object; var _local27:Number; var _local28:Number; var _local29:IContainer; var _local30:EdgeMetrics; var _local31:Boolean; var _local32:Number; var _local33:Array; var _local34:uint; var _local35:Boolean; var _local36:Number; var _local3:String = getStyle("borderStyle"); var _local4:Array = getStyle("highlightAlphas"); var _local21:Boolean; var _local26:Graphics = graphics; _local26.clear(); if (_local3){ switch (_local3){ case "none": break; case "inset": _local7 = getStyle("borderColor"); _local22 = ColorUtil.adjustBrightness2(_local7, -40); _local23 = ColorUtil.adjustBrightness2(_local7, 25); _local24 = ColorUtil.adjustBrightness2(_local7, 40); _local25 = backgroundColor; if ((((_local25 === null)) || ((_local25 === "")))){ _local25 = _local7; }; draw3dBorder(_local23, _local22, _local24, Number(_local25), Number(_local25), Number(_local25)); break; case "outset": _local7 = getStyle("borderColor"); _local22 = ColorUtil.adjustBrightness2(_local7, -40); _local23 = ColorUtil.adjustBrightness2(_local7, -25); _local24 = ColorUtil.adjustBrightness2(_local7, 40); _local25 = backgroundColor; if ((((_local25 === null)) || ((_local25 === "")))){ _local25 = _local7; }; draw3dBorder(_local23, _local24, _local22, Number(_local25), Number(_local25), Number(_local25)); break; case "alert": case "default": if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ _local27 = getStyle("backgroundAlpha"); _local5 = getStyle("borderAlpha"); backgroundAlphaName = "borderAlpha"; radius = getStyle("cornerRadius"); bRoundedCorners = (getStyle("roundedBottomCorners").toString().toLowerCase() == "true"); _local28 = (bRoundedCorners) ? radius : 0; drawDropShadow(0, 0, _arg1, _arg2, radius, radius, _local28, _local28); if (!bRoundedCorners){ radiusObj = {}; }; _local29 = (parent as IContainer); if (_local29){ _local30 = _local29.viewMetrics; backgroundHole = {x:_local30.left, y:_local30.top, w:Math.max(0, ((_arg1 - _local30.left) - _local30.right)), h:Math.max(0, ((_arg2 - _local30.top) - _local30.bottom)), r:0}; if ((((backgroundHole.w > 0)) && ((backgroundHole.h > 0)))){ if (_local27 != _local5){ drawDropShadow(backgroundHole.x, backgroundHole.y, backgroundHole.w, backgroundHole.h, 0, 0, 0, 0); }; _local26.beginFill(Number(backgroundColor), _local27); _local26.drawRect(backgroundHole.x, backgroundHole.y, backgroundHole.w, backgroundHole.h); _local26.endFill(); }; }; backgroundColor = getStyle("borderColor"); }; break; case "dropdown": _local12 = getStyle("dropdownBorderColor"); drawDropShadow(0, 0, _arg1, _arg2, 4, 0, 0, 4); drawRoundRect(0, 0, _arg1, _arg2, {tl:4, tr:0, br:0, bl:4}, 5068126, 1); drawRoundRect(0, 0, _arg1, _arg2, {tl:4, tr:0, br:0, bl:4}, [0xFFFFFF, 0xFFFFFF], [0.7, 0], verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(1, 1, (_arg1 - 1), (_arg2 - 2), {tl:3, tr:0, br:0, bl:3}, 0xFFFFFF, 1); drawRoundRect(1, 2, (_arg1 - 1), (_arg2 - 3), {tl:3, tr:0, br:0, bl:3}, [0xEEEEEE, 0xFFFFFF], 1, verticalGradientMatrix(0, 0, (_arg1 - 1), (_arg2 - 3))); if (!isNaN(_local12)){ drawRoundRect(0, 0, (_arg1 + 1), _arg2, {tl:4, tr:0, br:0, bl:4}, _local12, 0.5); drawRoundRect(1, 1, (_arg1 - 1), (_arg2 - 2), {tl:3, tr:0, br:0, bl:3}, 0xFFFFFF, 1); drawRoundRect(1, 2, (_arg1 - 1), (_arg2 - 3), {tl:3, tr:0, br:0, bl:3}, [0xEEEEEE, 0xFFFFFF], 1, verticalGradientMatrix(0, 0, (_arg1 - 1), (_arg2 - 3))); }; backgroundColor = null; break; case "menuBorder": _local7 = getStyle("borderColor"); drawRoundRect(0, 0, _arg1, _arg2, 0, _local7, 1); drawDropShadow(1, 1, (_arg1 - 2), (_arg2 - 2), 0, 0, 0, 0); break; case "comboNonEdit": break; case "controlBar": if ((((_arg1 == 0)) || ((_arg2 == 0)))){ backgroundColor = null; break; }; _local14 = getStyle("footerColors"); _local31 = !((_local14 == null)); _local32 = getStyle("borderAlpha"); if (_local31){ _local26.lineStyle(0, ((_local14.length > 0)) ? _local14[1] : _local14[0], _local32); _local26.moveTo(0, 0); _local26.lineTo(_arg1, 0); _local26.lineStyle(0, 0, 0); if (((((parent) && (parent.parent))) && ((parent.parent is IStyleClient)))){ radius = IStyleClient(parent.parent).getStyle("cornerRadius"); _local32 = IStyleClient(parent.parent).getStyle("borderAlpha"); }; if (isNaN(radius)){ radius = 0; }; if (IStyleClient(parent.parent).getStyle("roundedBottomCorners").toString().toLowerCase() != "true"){ radius = 0; }; drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:0, tr:0, bl:radius, br:radius}, _local14, _local32, verticalGradientMatrix(0, 0, _arg1, _arg2)); if ((((_local14.length > 1)) && (!((_local14[0] == _local14[1]))))){ drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:0, tr:0, bl:radius, br:radius}, [0xFFFFFF, 0xFFFFFF], _local4, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(1, 2, (_arg1 - 2), (_arg2 - 3), {tl:0, tr:0, bl:(radius - 1), br:(radius - 1)}, _local14, _local32, verticalGradientMatrix(0, 0, _arg1, _arg2)); }; }; backgroundColor = null; break; case "applicationControlBar": _local13 = getStyle("fillColors"); _local5 = getStyle("backgroundAlpha"); _local4 = getStyle("highlightAlphas"); _local33 = getStyle("fillAlphas"); _local11 = getStyle("docked"); _local34 = uint(backgroundColor); radius = getStyle("cornerRadius"); if (!radius){ radius = 0; }; drawDropShadow(0, 1, _arg1, (_arg2 - 1), radius, radius, radius, radius); if (((!((backgroundColor === null))) && (StyleManager.isValidStyleValue(backgroundColor)))){ drawRoundRect(0, 1, _arg1, (_arg2 - 1), radius, _local34, _local5, verticalGradientMatrix(0, 0, _arg1, _arg2)); }; drawRoundRect(0, 1, _arg1, (_arg2 - 1), radius, _local13, _local33, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(0, 1, _arg1, ((_arg2 / 2) - 1), {tl:radius, tr:radius, bl:0, br:0}, [0xFFFFFF, 0xFFFFFF], _local4, verticalGradientMatrix(0, 0, _arg1, ((_arg2 / 2) - 1))); drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:radius, tr:radius, bl:0, br:0}, 0xFFFFFF, 0.3, null, GradientType.LINEAR, null, {x:0, y:2, w:_arg1, h:(_arg2 - 2), r:{tl:radius, tr:radius, bl:0, br:0}}); backgroundColor = null; break; default: _local7 = getStyle("borderColor"); _local9 = getStyle("borderThickness"); _local8 = getStyle("borderSides"); _local35 = true; radius = getStyle("cornerRadius"); bRoundedCorners = (getStyle("roundedBottomCorners").toString().toLowerCase() == "true"); _local36 = Math.max((radius - _local9), 0); _local20 = {x:_local9, y:_local9, w:(_arg1 - (_local9 * 2)), h:(_arg2 - (_local9 * 2)), r:_local36}; if (!bRoundedCorners){ radiusObj = {tl:radius, tr:radius, bl:0, br:0}; _local20.r = {tl:_local36, tr:_local36, bl:0, br:0}; }; if (_local8 != "left top right bottom"){ _local20.r = {tl:_local36, tr:_local36, bl:(bRoundedCorners) ? _local36 : 0, br:(bRoundedCorners) ? _local36 : 0}; radiusObj = {tl:radius, tr:radius, bl:(bRoundedCorners) ? radius : 0, br:(bRoundedCorners) ? radius : 0}; _local8 = _local8.toLowerCase(); if (_local8.indexOf("left") == -1){ _local20.x = 0; _local20.w = (_local20.w + _local9); _local20.r.tl = 0; _local20.r.bl = 0; radiusObj.tl = 0; radiusObj.bl = 0; _local35 = false; }; if (_local8.indexOf("top") == -1){ _local20.y = 0; _local20.h = (_local20.h + _local9); _local20.r.tl = 0; _local20.r.tr = 0; radiusObj.tl = 0; radiusObj.tr = 0; _local35 = false; }; if (_local8.indexOf("right") == -1){ _local20.w = (_local20.w + _local9); _local20.r.tr = 0; _local20.r.br = 0; radiusObj.tr = 0; radiusObj.br = 0; _local35 = false; }; if (_local8.indexOf("bottom") == -1){ _local20.h = (_local20.h + _local9); _local20.r.bl = 0; _local20.r.br = 0; radiusObj.bl = 0; radiusObj.br = 0; _local35 = false; }; }; if ((((radius == 0)) && (_local35))){ drawDropShadow(0, 0, _arg1, _arg2, 0, 0, 0, 0); _local26.beginFill(_local7); _local26.drawRect(0, 0, _arg1, _arg2); _local26.drawRect(_local9, _local9, (_arg1 - (2 * _local9)), (_arg2 - (2 * _local9))); _local26.endFill(); } else { if (radiusObj){ drawDropShadow(0, 0, _arg1, _arg2, radiusObj.tl, radiusObj.tr, radiusObj.br, radiusObj.bl); drawRoundRect(0, 0, _arg1, _arg2, radiusObj, _local7, 1, null, null, null, _local20); radiusObj.tl = Math.max((radius - _local9), 0); radiusObj.tr = Math.max((radius - _local9), 0); radiusObj.bl = (bRoundedCorners) ? Math.max((radius - _local9), 0) : 0; radiusObj.br = (bRoundedCorners) ? Math.max((radius - _local9), 0) : 0; } else { drawDropShadow(0, 0, _arg1, _arg2, radius, radius, radius, radius); drawRoundRect(0, 0, _arg1, _arg2, radius, _local7, 1, null, null, null, _local20); radius = Math.max((getStyle("cornerRadius") - _local9), 0); }; }; }; }; } mx_internal function drawBackground(_arg1:Number, _arg2:Number):void{ var _local4:Number; var _local5:Number; var _local6:EdgeMetrics; var _local7:Graphics; var _local8:Number; var _local9:Number; var _local10:Array; var _local11:Number; if (((((((!((backgroundColor === null))) && (!((backgroundColor === ""))))) || (getStyle("mouseShield")))) || (getStyle("mouseShieldChildren")))){ _local4 = Number(backgroundColor); _local5 = 1; _local6 = getBackgroundColorMetrics(); _local7 = graphics; if (((((isNaN(_local4)) || ((backgroundColor === "")))) || ((backgroundColor === null)))){ _local5 = 0; _local4 = 0xFFFFFF; } else { _local5 = getStyle(backgroundAlphaName); }; if (((!((radius == 0))) || (backgroundHole))){ _local8 = _local6.bottom; if (radiusObj){ _local9 = (bRoundedCorners) ? radius : 0; radiusObj = {tl:radius, tr:radius, bl:_local9, br:_local9}; drawRoundRect(_local6.left, _local6.top, (width - (_local6.left + _local6.right)), (height - (_local6.top + _local8)), radiusObj, _local4, _local5, null, GradientType.LINEAR, null, backgroundHole); } else { drawRoundRect(_local6.left, _local6.top, (width - (_local6.left + _local6.right)), (height - (_local6.top + _local8)), radius, _local4, _local5, null, GradientType.LINEAR, null, backgroundHole); }; } else { _local7.beginFill(_local4, _local5); _local7.drawRect(_local6.left, _local6.top, ((_arg1 - _local6.right) - _local6.left), ((_arg2 - _local6.bottom) - _local6.top)); _local7.endFill(); }; }; var _local3:String = getStyle("borderStyle"); if ((((((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)) && ((((_local3 == "alert")) || ((_local3 == "default")))))) && ((getStyle("headerColors") == null)))){ _local10 = getStyle("highlightAlphas"); _local11 = (_local10) ? _local10[0] : 0.3; drawRoundRect(0, 0, _arg1, _arg2, {tl:radius, tr:radius, bl:0, br:0}, 0xFFFFFF, _local11, null, GradientType.LINEAR, null, {x:0, y:1, w:_arg1, h:(_arg2 - 1), r:{tl:radius, tr:radius, bl:0, br:0}}); }; } mx_internal function drawDropShadow(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):void{ var _local11:Number; var _local12:Boolean; if ((((((((getStyle("dropShadowEnabled") == false)) || ((getStyle("dropShadowEnabled") == "false")))) || ((_arg3 == 0)))) || ((_arg4 == 0)))){ return; }; var _local9:Number = getStyle("shadowDistance"); var _local10:String = getStyle("shadowDirection"); if (getStyle("borderStyle") == "applicationControlBar"){ _local12 = getStyle("docked"); _local11 = (_local12) ? 90 : getDropShadowAngle(_local9, _local10); _local9 = Math.abs(_local9); } else { _local11 = getDropShadowAngle(_local9, _local10); _local9 = (Math.abs(_local9) + 2); }; if (!dropShadow){ dropShadow = new RectangularDropShadow(); }; dropShadow.distance = _local9; dropShadow.angle = _local11; dropShadow.color = getStyle("dropShadowColor"); dropShadow.alpha = 0.4; dropShadow.tlRadius = _arg5; dropShadow.trRadius = _arg6; dropShadow.blRadius = _arg8; dropShadow.brRadius = _arg7; dropShadow.drawShadow(graphics, _arg1, _arg2, _arg3, _arg4); } mx_internal function getBackgroundColor():Object{ var _local2:Object; var _local1:IUIComponent = (parent as IUIComponent); if (((_local1) && (!(_local1.enabled)))){ _local2 = getStyle("backgroundDisabledColor"); if (((!((_local2 === null))) && (StyleManager.isValidStyleValue(_local2)))){ return (_local2); }; }; return (getStyle("backgroundColor")); } mx_internal function draw3dBorder(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ var _local7:Number = width; var _local8:Number = height; drawDropShadow(0, 0, width, height, 0, 0, 0, 0); var _local9:Graphics = graphics; _local9.beginFill(_arg1); _local9.drawRect(0, 0, _local7, _local8); _local9.drawRect(1, 0, (_local7 - 2), _local8); _local9.endFill(); _local9.beginFill(_arg2); _local9.drawRect(1, 0, (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg3); _local9.drawRect(1, (_local8 - 1), (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg4); _local9.drawRect(1, 1, (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg5); _local9.drawRect(1, (_local8 - 2), (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg6); _local9.drawRect(1, 2, (_local7 - 2), (_local8 - 4)); _local9.drawRect(2, 2, (_local7 - 4), (_local8 - 4)); _local9.endFill(); } mx_internal function getBackgroundColorMetrics():EdgeMetrics{ return (borderMetrics); } mx_internal function getDropShadowAngle(_arg1:Number, _arg2:String):Number{ if (_arg2 == "left"){ return (((_arg1 >= 0)) ? 135 : 225); } else { if (_arg2 == "right"){ return (((_arg1 >= 0)) ? 45 : 315); } else { }; }; return (!NULL!); } override public function get borderMetrics():EdgeMetrics{ var _local1:Number; var _local3:String; if (_borderMetrics){ return (_borderMetrics); }; var _local2:String = getStyle("borderStyle"); if ((((_local2 == "default")) || ((_local2 == "alert")))){ if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ _borderMetrics = new EdgeMetrics(0, 0, 0, 0); } else { return (EdgeMetrics.EMPTY); }; } else { if ((((_local2 == "controlBar")) || ((_local2 == "applicationControlBar")))){ _borderMetrics = new EdgeMetrics(1, 1, 1, 1); } else { if (_local2 == "solid"){ _local1 = getStyle("borderThickness"); if (isNaN(_local1)){ _local1 = 0; }; _borderMetrics = new EdgeMetrics(_local1, _local1, _local1, _local1); _local3 = getStyle("borderSides"); if (_local3 != "left top right bottom"){ if (_local3.indexOf("left") == -1){ _borderMetrics.left = 0; }; if (_local3.indexOf("top") == -1){ _borderMetrics.top = 0; }; if (_local3.indexOf("right") == -1){ _borderMetrics.right = 0; }; if (_local3.indexOf("bottom") == -1){ _borderMetrics.bottom = 0; }; }; } else { _local1 = BORDER_WIDTHS[_local2]; if (isNaN(_local1)){ _local1 = 0; }; _borderMetrics = new EdgeMetrics(_local1, _local1, _local1, _local1); }; }; }; return (_borderMetrics); } } }//package mx.skins.halo
Section 230
//HaloFocusRect (mx.skins.halo.HaloFocusRect) package mx.skins.halo { import flash.display.*; import mx.styles.*; import mx.skins.*; import mx.utils.*; public class HaloFocusRect extends ProgrammaticSkin implements IStyleClient { private var _focusColor:Number; mx_internal static const VERSION:String = "3.2.0.4537"; public function get inheritingStyles():Object{ return (styleName.inheritingStyles); } public function set inheritingStyles(_arg1:Object):void{ } public function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ } public function registerEffects(_arg1:Array):void{ } public function regenerateStyleCache(_arg1:Boolean):void{ } public function get styleDeclaration():CSSStyleDeclaration{ return (CSSStyleDeclaration(styleName)); } public function getClassStyleDeclarations():Array{ return ([]); } public function get className():String{ return ("HaloFocusRect"); } public function clearStyle(_arg1:String):void{ if (_arg1 == "focusColor"){ _focusColor = NaN; }; } public function setStyle(_arg1:String, _arg2):void{ if (_arg1 == "focusColor"){ _focusColor = _arg2; }; } public function set nonInheritingStyles(_arg1:Object):void{ } public function get nonInheritingStyles():Object{ return (styleName.nonInheritingStyles); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; super.updateDisplayList(_arg1, _arg2); var _local3:String = getStyle("focusBlendMode"); var _local4:Number = getStyle("focusAlpha"); var _local5:Number = getStyle("focusColor"); var _local6:Number = getStyle("cornerRadius"); var _local7:Number = getStyle("focusThickness"); var _local8:String = getStyle("focusRoundedCorners"); var _local9:Number = getStyle("themeColor"); var _local10:Number = _local5; if (isNaN(_local10)){ _local10 = _local9; }; var _local11:Graphics = graphics; _local11.clear(); blendMode = _local3; if (((!((_local8 == "tl tr bl br"))) && ((_local6 > 0)))){ _local12 = 0; _local13 = 0; _local14 = 0; _local15 = 0; _local16 = (_local6 + _local7); if (_local8.indexOf("tl") >= 0){ _local12 = _local16; }; if (_local8.indexOf("tr") >= 0){ _local14 = _local16; }; if (_local8.indexOf("bl") >= 0){ _local13 = _local16; }; if (_local8.indexOf("br") >= 0){ _local15 = _local16; }; _local11.beginFill(_local10, _local4); GraphicsUtil.drawRoundRectComplex(_local11, 0, 0, _arg1, _arg2, _local12, _local14, _local13, _local15); _local12 = (_local12) ? _local6 : 0; _local14 = (_local14) ? _local6 : 0; _local13 = (_local13) ? _local6 : 0; _local15 = (_local15) ? _local6 : 0; GraphicsUtil.drawRoundRectComplex(_local11, _local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local12, _local14, _local13, _local15); _local11.endFill(); _local16 = (_local6 + (_local7 / 2)); _local12 = (_local12) ? _local16 : 0; _local14 = (_local14) ? _local16 : 0; _local13 = (_local13) ? _local16 : 0; _local15 = (_local15) ? _local16 : 0; _local11.beginFill(_local10, _local4); GraphicsUtil.drawRoundRectComplex(_local11, (_local7 / 2), (_local7 / 2), (_arg1 - _local7), (_arg2 - _local7), _local12, _local14, _local13, _local15); _local12 = (_local12) ? _local6 : 0; _local14 = (_local14) ? _local6 : 0; _local13 = (_local13) ? _local6 : 0; _local15 = (_local15) ? _local6 : 0; GraphicsUtil.drawRoundRectComplex(_local11, _local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local12, _local14, _local13, _local15); _local11.endFill(); } else { _local11.beginFill(_local10, _local4); _local17 = (((_local6 > 0)) ? (_local6 + _local7) : 0 * 2); _local11.drawRoundRect(0, 0, _arg1, _arg2, _local17, _local17); _local17 = (_local6 * 2); _local11.drawRoundRect(_local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local17, _local17); _local11.endFill(); _local11.beginFill(_local10, _local4); _local17 = (((_local6 > 0)) ? (_local6 + (_local7 / 2)) : 0 * 2); _local11.drawRoundRect((_local7 / 2), (_local7 / 2), (_arg1 - _local7), (_arg2 - _local7), _local17, _local17); _local17 = (_local6 * 2); _local11.drawRoundRect(_local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local17, _local17); _local11.endFill(); }; } override public function getStyle(_arg1:String){ return (((_arg1 == "focusColor")) ? _focusColor : super.getStyle(_arg1)); } public function set styleDeclaration(_arg1:CSSStyleDeclaration):void{ } } }//package mx.skins.halo
Section 231
//Border (mx.skins.Border) package mx.skins { import mx.core.*; public class Border extends ProgrammaticSkin implements IBorder { mx_internal static const VERSION:String = "3.2.0.4537"; public function get borderMetrics():EdgeMetrics{ return (EdgeMetrics.EMPTY); } } }//package mx.skins
Section 232
//ProgrammaticSkin (mx.skins.ProgrammaticSkin) package mx.skins { import flash.display.*; import flash.geom.*; import mx.core.*; import mx.styles.*; import mx.managers.*; import mx.utils.*; public class ProgrammaticSkin extends FlexShape implements IFlexDisplayObject, IInvalidating, ILayoutManagerClient, ISimpleStyleClient, IProgrammaticSkin { private var _initialized:Boolean;// = false private var _height:Number; private var invalidateDisplayListFlag:Boolean;// = false private var _styleName:IStyleClient; private var _nestLevel:int;// = 0 private var _processedDescriptors:Boolean;// = false private var _updateCompletePendingFlag:Boolean;// = true private var _width:Number; mx_internal static const VERSION:String = "3.2.0.4537"; private static var tempMatrix:Matrix = new Matrix(); public function ProgrammaticSkin(){ _width = measuredWidth; _height = measuredHeight; } public function getStyle(_arg1:String){ return ((_styleName) ? _styleName.getStyle(_arg1) : null); } protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ } public function get nestLevel():int{ return (_nestLevel); } public function set nestLevel(_arg1:int):void{ _nestLevel = _arg1; invalidateDisplayList(); } override public function get height():Number{ return (_height); } public function get updateCompletePendingFlag():Boolean{ return (_updateCompletePendingFlag); } protected function verticalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ return (rotatedGradientMatrix(_arg1, _arg2, _arg3, _arg4, 90)); } public function validateSize(_arg1:Boolean=false):void{ } public function invalidateDisplayList():void{ if (((!(invalidateDisplayListFlag)) && ((nestLevel > 0)))){ invalidateDisplayListFlag = true; UIComponentGlobals.layoutManager.invalidateDisplayList(this); }; } public function set updateCompletePendingFlag(_arg1:Boolean):void{ _updateCompletePendingFlag = _arg1; } protected function horizontalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ return (rotatedGradientMatrix(_arg1, _arg2, _arg3, _arg4, 0)); } override public function set height(_arg1:Number):void{ _height = _arg1; invalidateDisplayList(); } public function set processedDescriptors(_arg1:Boolean):void{ _processedDescriptors = _arg1; } public function validateDisplayList():void{ invalidateDisplayListFlag = false; updateDisplayList(width, height); } public function get measuredWidth():Number{ return (0); } override public function set width(_arg1:Number):void{ _width = _arg1; invalidateDisplayList(); } public function get measuredHeight():Number{ return (0); } public function set initialized(_arg1:Boolean):void{ _initialized = _arg1; } protected function drawRoundRect(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:Matrix=null, _arg9:String="linear", _arg10:Array=null, _arg11:Object=null):void{ var _local13:Number; var _local14:Array; var _local15:Object; var _local12:Graphics = graphics; if ((((_arg3 == 0)) || ((_arg4 == 0)))){ return; }; if (_arg6 !== null){ if ((_arg6 is uint)){ _local12.beginFill(uint(_arg6), Number(_arg7)); } else { if ((_arg6 is Array)){ _local14 = ((_arg7 is Array)) ? (_arg7 as Array) : [_arg7, _arg7]; if (!_arg10){ _arg10 = [0, 0xFF]; }; _local12.beginGradientFill(_arg9, (_arg6 as Array), _local14, _arg10, _arg8); }; }; }; if (!_arg5){ _local12.drawRect(_arg1, _arg2, _arg3, _arg4); } else { if ((_arg5 is Number)){ _local13 = (Number(_arg5) * 2); _local12.drawRoundRect(_arg1, _arg2, _arg3, _arg4, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg1, _arg2, _arg3, _arg4, _arg5.tl, _arg5.tr, _arg5.bl, _arg5.br); }; }; if (_arg11){ _local15 = _arg11.r; if ((_local15 is Number)){ _local13 = (Number(_local15) * 2); _local12.drawRoundRect(_arg11.x, _arg11.y, _arg11.w, _arg11.h, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg11.x, _arg11.y, _arg11.w, _arg11.h, _local15.tl, _local15.tr, _local15.bl, _local15.br); }; }; if (_arg6 !== null){ _local12.endFill(); }; } public function get processedDescriptors():Boolean{ return (_processedDescriptors); } public function set styleName(_arg1:Object):void{ if (_styleName != _arg1){ _styleName = (_arg1 as IStyleClient); invalidateDisplayList(); }; } public function setActualSize(_arg1:Number, _arg2:Number):void{ var _local3:Boolean; if (_width != _arg1){ _width = _arg1; _local3 = true; }; if (_height != _arg2){ _height = _arg2; _local3 = true; }; if (_local3){ invalidateDisplayList(); }; } public function styleChanged(_arg1:String):void{ invalidateDisplayList(); } override public function get width():Number{ return (_width); } public function invalidateProperties():void{ } public function get initialized():Boolean{ return (_initialized); } protected function rotatedGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Matrix{ tempMatrix.createGradientBox(_arg3, _arg4, ((_arg5 * Math.PI) / 180), _arg1, _arg2); return (tempMatrix); } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get styleName():Object{ return (_styleName); } public function validateNow():void{ if (invalidateDisplayListFlag){ validateDisplayList(); }; } public function invalidateSize():void{ } public function validateProperties():void{ } } }//package mx.skins
Section 233
//RectangularBorder (mx.skins.RectangularBorder) package mx.skins { import flash.display.*; import flash.events.*; import flash.system.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import mx.core.*; import mx.styles.*; import mx.resources.*; public class RectangularBorder extends Border implements IRectangularBorder { private var backgroundImage:DisplayObject; private var backgroundImageHeight:Number; private var _backgroundImageBounds:Rectangle; private var backgroundImageStyle:Object; private var backgroundImageWidth:Number; private var resourceManager:IResourceManager; mx_internal static const VERSION:String = "3.2.0.4537"; public function RectangularBorder(){ resourceManager = ResourceManager.getInstance(); super(); addEventListener(Event.REMOVED, removedHandler); } public function layoutBackgroundImage():void{ var _local4:Number; var _local5:Number; var _local7:Number; var _local8:Number; var _local14:Number; var _local15:Graphics; var _local1:DisplayObject = parent; var _local2:EdgeMetrics = ((_local1 is IContainer)) ? IContainer(_local1).viewMetrics : borderMetrics; var _local3 = !((getStyle("backgroundAttachment") == "fixed")); if (_backgroundImageBounds){ _local4 = _backgroundImageBounds.width; _local5 = _backgroundImageBounds.height; } else { _local4 = ((width - _local2.left) - _local2.right); _local5 = ((height - _local2.top) - _local2.bottom); }; var _local6:Number = getBackgroundSize(); if (isNaN(_local6)){ _local7 = 1; _local8 = 1; } else { _local14 = (_local6 * 0.01); _local7 = ((_local14 * _local4) / backgroundImageWidth); _local8 = ((_local14 * _local5) / backgroundImageHeight); }; backgroundImage.scaleX = _local7; backgroundImage.scaleY = _local8; var _local9:Number = Math.round((0.5 * (_local4 - (backgroundImageWidth * _local7)))); var _local10:Number = Math.round((0.5 * (_local5 - (backgroundImageHeight * _local8)))); backgroundImage.x = _local2.left; backgroundImage.y = _local2.top; var _local11:Shape = Shape(backgroundImage.mask); _local11.x = _local2.left; _local11.y = _local2.top; if (((_local3) && ((_local1 is IContainer)))){ _local9 = (_local9 - IContainer(_local1).horizontalScrollPosition); _local10 = (_local10 - IContainer(_local1).verticalScrollPosition); }; backgroundImage.alpha = getStyle("backgroundAlpha"); backgroundImage.x = (backgroundImage.x + _local9); backgroundImage.y = (backgroundImage.y + _local10); var _local12:Number = ((width - _local2.left) - _local2.right); var _local13:Number = ((height - _local2.top) - _local2.bottom); if (((!((_local11.width == _local12))) || (!((_local11.height == _local13))))){ _local15 = _local11.graphics; _local15.clear(); _local15.beginFill(0xFFFFFF); _local15.drawRect(0, 0, _local12, _local13); _local15.endFill(); }; } public function set backgroundImageBounds(_arg1:Rectangle):void{ _backgroundImageBounds = _arg1; invalidateDisplayList(); } private function getBackgroundSize():Number{ var _local3:int; var _local1:Number = NaN; var _local2:Object = getStyle("backgroundSize"); if (((_local2) && ((_local2 is String)))){ _local3 = _local2.indexOf("%"); if (_local3 != -1){ _local1 = Number(_local2.substr(0, _local3)); }; }; return (_local1); } private function removedHandler(_arg1:Event):void{ var _local2:IChildList; if (backgroundImage){ _local2 = ((parent is IRawChildrenContainer)) ? IRawChildrenContainer(parent).rawChildren : IChildList(parent); _local2.removeChild(backgroundImage.mask); _local2.removeChild(backgroundImage); backgroundImage = null; }; } private function initBackgroundImage(_arg1:DisplayObject):void{ backgroundImage = _arg1; if ((_arg1 is Loader)){ backgroundImageWidth = Loader(_arg1).contentLoaderInfo.width; backgroundImageHeight = Loader(_arg1).contentLoaderInfo.height; } else { backgroundImageWidth = backgroundImage.width; backgroundImageHeight = backgroundImage.height; if ((_arg1 is ISimpleStyleClient)){ ISimpleStyleClient(_arg1).styleName = styleName; }; }; var _local2:IChildList = ((parent is IRawChildrenContainer)) ? IRawChildrenContainer(parent).rawChildren : IChildList(parent); var _local3:Shape = new FlexShape(); _local3.name = "backgroundMask"; _local3.x = 0; _local3.y = 0; _local2.addChild(_local3); var _local4:int = _local2.getChildIndex(this); _local2.addChildAt(backgroundImage, (_local4 + 1)); backgroundImage.mask = _local3; } public function get backgroundImageBounds():Rectangle{ return (_backgroundImageBounds); } public function get hasBackgroundImage():Boolean{ return (!((backgroundImage == null))); } private function completeEventHandler(_arg1:Event):void{ if (!parent){ return; }; var _local2:DisplayObject = DisplayObject(LoaderInfo(_arg1.target).loader); initBackgroundImage(_local2); layoutBackgroundImage(); dispatchEvent(_arg1.clone()); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var cls:Class; var newStyleObj:DisplayObject; var loader:Loader; var loaderContext:LoaderContext; var message:String; var unscaledWidth = _arg1; var unscaledHeight = _arg2; if (!parent){ return; }; var newStyle:Object = getStyle("backgroundImage"); if (newStyle != backgroundImageStyle){ removedHandler(null); backgroundImageStyle = newStyle; if (((newStyle) && ((newStyle as Class)))){ cls = Class(newStyle); initBackgroundImage(new (cls)); } else { if (((newStyle) && ((newStyle is String)))){ try { cls = Class(getDefinitionByName(String(newStyle))); } catch(e:Error) { }; if (cls){ newStyleObj = new (cls); initBackgroundImage(newStyleObj); } else { loader = new FlexLoader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeEventHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorEventHandler); loader.contentLoaderInfo.addEventListener(ErrorEvent.ERROR, errorEventHandler); loaderContext = new LoaderContext(); loaderContext.applicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain); loader.load(new URLRequest(String(newStyle)), loaderContext); }; } else { if (newStyle){ message = resourceManager.getString("skins", "notLoaded", [newStyle]); throw (new Error(message)); }; }; }; }; if (backgroundImage){ layoutBackgroundImage(); }; } private function errorEventHandler(_arg1:Event):void{ } } }//package mx.skins
Section 234
//CSSStyleDeclaration (mx.styles.CSSStyleDeclaration) package mx.styles { import flash.display.*; import flash.events.*; import flash.utils.*; import mx.core.*; import mx.managers.*; public class CSSStyleDeclaration extends EventDispatcher { mx_internal var effects:Array; protected var overrides:Object; public var defaultFactory:Function; public var factory:Function; mx_internal var selectorRefCount:int;// = 0 private var styleManager:IStyleManager2; private var clones:Dictionary; mx_internal static const VERSION:String = "3.2.0.4537"; private static const NOT_A_COLOR:uint = 4294967295; private static const FILTERMAP_PROP:String = "__reserved__filterMap"; public function CSSStyleDeclaration(_arg1:String=null){ clones = new Dictionary(true); super(); if (_arg1){ styleManager = (Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2); styleManager.setStyleDeclaration(_arg1, this, false); }; } mx_internal function addStyleToProtoChain(_arg1:Object, _arg2:DisplayObject, _arg3:Object=null):Object{ var p:String; var emptyObjectFactory:Function; var filteredChain:Object; var filterObjectFactory:Function; var i:String; var chain = _arg1; var target = _arg2; var filterMap = _arg3; var nodeAddedToChain:Boolean; var originalChain:Object = chain; if (filterMap){ chain = {}; }; if (defaultFactory != null){ defaultFactory.prototype = chain; chain = new defaultFactory(); nodeAddedToChain = true; }; if (factory != null){ factory.prototype = chain; chain = new factory(); nodeAddedToChain = true; }; if (overrides){ if ((((defaultFactory == null)) && ((factory == null)))){ emptyObjectFactory = function ():void{ }; emptyObjectFactory.prototype = chain; chain = new (emptyObjectFactory); nodeAddedToChain = true; }; for (p in overrides) { if (overrides[p] === undefined){ delete chain[p]; } else { chain[p] = overrides[p]; }; }; }; if (filterMap){ if (nodeAddedToChain){ filteredChain = {}; filterObjectFactory = function ():void{ }; filterObjectFactory.prototype = originalChain; filteredChain = new (filterObjectFactory); for (i in chain) { if (filterMap[i] != null){ filteredChain[filterMap[i]] = chain[i]; }; }; chain = filteredChain; chain[FILTERMAP_PROP] = filterMap; } else { chain = originalChain; }; }; if (nodeAddedToChain){ clones[chain] = 1; }; return (chain); } public function getStyle(_arg1:String){ var _local2:*; var _local3:*; if (overrides){ if ((((_arg1 in overrides)) && ((overrides[_arg1] === undefined)))){ return (undefined); }; _local3 = overrides[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; if (factory != null){ factory.prototype = {}; _local2 = new factory(); _local3 = _local2[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; if (defaultFactory != null){ defaultFactory.prototype = {}; _local2 = new defaultFactory(); _local3 = _local2[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; return (undefined); } public function clearStyle(_arg1:String):void{ setStyle(_arg1, undefined); } public function setStyle(_arg1:String, _arg2):void{ var _local7:int; var _local8:Object; var _local3:Object = getStyle(_arg1); var _local4:Boolean; if ((((((((((selectorRefCount > 0)) && ((factory == null)))) && ((defaultFactory == null)))) && (!(overrides)))) && (!((_local3 === _arg2))))){ _local4 = true; }; if (_arg2 !== undefined){ setStyle(_arg1, _arg2); } else { if (_arg2 == _local3){ return; }; setStyle(_arg1, _arg2); }; var _local5:Array = SystemManagerGlobals.topLevelSystemManagers; var _local6:int = _local5.length; if (_local4){ _local7 = 0; while (_local7 < _local6) { _local8 = _local5[_local7]; _local8.regenerateStyleCache(true); _local7++; }; }; _local7 = 0; while (_local7 < _local6) { _local8 = _local5[_local7]; _local8.notifyStyleChangeInChildren(_arg1, true); _local7++; }; } private function clearStyleAttr(_arg1:String):void{ var _local2:*; if (!overrides){ overrides = {}; }; overrides[_arg1] = undefined; for (_local2 in clones) { delete _local2[_arg1]; }; } mx_internal function createProtoChainRoot():Object{ var _local1:Object = {}; if (defaultFactory != null){ defaultFactory.prototype = _local1; _local1 = new defaultFactory(); }; if (factory != null){ factory.prototype = _local1; _local1 = new factory(); }; clones[_local1] = 1; return (_local1); } mx_internal function clearOverride(_arg1:String):void{ if (((overrides) && (overrides[_arg1]))){ delete overrides[_arg1]; }; } mx_internal function setStyle(_arg1:String, _arg2):void{ var _local3:Object; var _local4:*; var _local5:Number; var _local6:Object; if (_arg2 === undefined){ clearStyleAttr(_arg1); return; }; if ((_arg2 is String)){ if (!styleManager){ styleManager = (Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2); }; _local5 = styleManager.getColorName(_arg2); if (_local5 != NOT_A_COLOR){ _arg2 = _local5; }; }; if (defaultFactory != null){ _local3 = new defaultFactory(); if (_local3[_arg1] !== _arg2){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; } else { if (overrides){ delete overrides[_arg1]; }; }; }; if (factory != null){ _local3 = new factory(); if (_local3[_arg1] !== _arg2){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; } else { if (overrides){ delete overrides[_arg1]; }; }; }; if ((((defaultFactory == null)) && ((factory == null)))){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; }; for (_local4 in clones) { _local6 = _local4[FILTERMAP_PROP]; if (_local6){ if (_local6[_arg1] != null){ _local4[_local6[_arg1]] = _arg2; }; } else { _local4[_arg1] = _arg2; }; }; } } }//package mx.styles
Section 235
//ISimpleStyleClient (mx.styles.ISimpleStyleClient) package mx.styles { public interface ISimpleStyleClient { function set styleName(_arg1:Object):void; function styleChanged(_arg1:String):void; function get styleName():Object; } }//package mx.styles
Section 236
//IStyleClient (mx.styles.IStyleClient) package mx.styles { public interface IStyleClient extends ISimpleStyleClient { function regenerateStyleCache(_arg1:Boolean):void; function get className():String; function clearStyle(_arg1:String):void; function getClassStyleDeclarations():Array; function get inheritingStyles():Object; function set nonInheritingStyles(_arg1:Object):void; function setStyle(_arg1:String, _arg2):void; function get styleDeclaration():CSSStyleDeclaration; function set styleDeclaration(_arg1:CSSStyleDeclaration):void; function get nonInheritingStyles():Object; function set inheritingStyles(_arg1:Object):void; function getStyle(_arg1:String); function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void; function registerEffects(_arg1:Array):void; } }//package mx.styles
Section 237
//IStyleManager (mx.styles.IStyleManager) package mx.styles { import flash.events.*; public interface IStyleManager { function isColorName(_arg1:String):Boolean; function registerParentDisplayListInvalidatingStyle(_arg1:String):void; function registerInheritingStyle(_arg1:String):void; function set stylesRoot(_arg1:Object):void; function get typeSelectorCache():Object; function styleDeclarationsChanged():void; function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void; function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean; function isSizeInvalidatingStyle(_arg1:String):Boolean; function get inheritingStyles():Object; function isValidStyleValue(_arg1):Boolean; function isParentSizeInvalidatingStyle(_arg1:String):Boolean; function getColorName(_arg1:Object):uint; function set typeSelectorCache(_arg1:Object):void; function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void; function getColorNames(_arg1:Array):void; function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):IEventDispatcher; function isInheritingStyle(_arg1:String):Boolean; function set inheritingStyles(_arg1:Object):void; function get stylesRoot():Object; function initProtoChainRoots():void; function registerColorName(_arg1:String, _arg2:uint):void; function registerParentSizeInvalidatingStyle(_arg1:String):void; function registerSizeInvalidatingStyle(_arg1:String):void; function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void; function isInheritingTextFormatStyle(_arg1:String):Boolean; function getStyleDeclaration(_arg1:String):CSSStyleDeclaration; } }//package mx.styles
Section 238
//IStyleManager2 (mx.styles.IStyleManager2) package mx.styles { import flash.events.*; import flash.system.*; public interface IStyleManager2 extends IStyleManager { function get selectors():Array; function loadStyleDeclarations2(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher; } }//package mx.styles
Section 239
//IStyleModule (mx.styles.IStyleModule) package mx.styles { public interface IStyleModule { function unload():void; } }//package mx.styles
Section 240
//StyleManager (mx.styles.StyleManager) package mx.styles { import flash.events.*; import flash.system.*; import mx.core.*; public class StyleManager { mx_internal static const VERSION:String = "3.2.0.4537"; public static const NOT_A_COLOR:uint = 4294967295; private static var _impl:IStyleManager2; private static var implClassDependency:StyleManagerImpl; public static function isParentSizeInvalidatingStyle(_arg1:String):Boolean{ return (impl.isParentSizeInvalidatingStyle(_arg1)); } public static function registerInheritingStyle(_arg1:String):void{ impl.registerInheritingStyle(_arg1); } mx_internal static function set stylesRoot(_arg1:Object):void{ impl.stylesRoot = _arg1; } mx_internal static function get inheritingStyles():Object{ return (impl.inheritingStyles); } mx_internal static function styleDeclarationsChanged():void{ impl.styleDeclarationsChanged(); } public static function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void{ impl.setStyleDeclaration(_arg1, _arg2, _arg3); } public static function registerParentDisplayListInvalidatingStyle(_arg1:String):void{ impl.registerParentDisplayListInvalidatingStyle(_arg1); } mx_internal static function get typeSelectorCache():Object{ return (impl.typeSelectorCache); } mx_internal static function set inheritingStyles(_arg1:Object):void{ impl.inheritingStyles = _arg1; } public static function isColorName(_arg1:String):Boolean{ return (impl.isColorName(_arg1)); } public static function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean{ return (impl.isParentDisplayListInvalidatingStyle(_arg1)); } public static function isSizeInvalidatingStyle(_arg1:String):Boolean{ return (impl.isSizeInvalidatingStyle(_arg1)); } public static function getColorName(_arg1:Object):uint{ return (impl.getColorName(_arg1)); } mx_internal static function set typeSelectorCache(_arg1:Object):void{ impl.typeSelectorCache = _arg1; } public static function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void{ impl.unloadStyleDeclarations(_arg1, _arg2); } public static function getColorNames(_arg1:Array):void{ impl.getColorNames(_arg1); } public static function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false, _arg4:ApplicationDomain=null, _arg5:SecurityDomain=null):IEventDispatcher{ return (impl.loadStyleDeclarations2(_arg1, _arg2, _arg4, _arg5)); } private static function get impl():IStyleManager2{ if (!_impl){ _impl = IStyleManager2(Singleton.getInstance("mx.styles::IStyleManager2")); }; return (_impl); } public static function isValidStyleValue(_arg1):Boolean{ return (impl.isValidStyleValue(_arg1)); } mx_internal static function get stylesRoot():Object{ return (impl.stylesRoot); } public static function isInheritingStyle(_arg1:String):Boolean{ return (impl.isInheritingStyle(_arg1)); } mx_internal static function initProtoChainRoots():void{ impl.initProtoChainRoots(); } public static function registerParentSizeInvalidatingStyle(_arg1:String):void{ impl.registerParentSizeInvalidatingStyle(_arg1); } public static function get selectors():Array{ return (impl.selectors); } public static function registerSizeInvalidatingStyle(_arg1:String):void{ impl.registerSizeInvalidatingStyle(_arg1); } public static function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void{ impl.clearStyleDeclaration(_arg1, _arg2); } public static function registerColorName(_arg1:String, _arg2:uint):void{ impl.registerColorName(_arg1, _arg2); } public static function isInheritingTextFormatStyle(_arg1:String):Boolean{ return (impl.isInheritingTextFormatStyle(_arg1)); } public static function getStyleDeclaration(_arg1:String):CSSStyleDeclaration{ return (impl.getStyleDeclaration(_arg1)); } } }//package mx.styles
Section 241
//StyleManagerImpl (mx.styles.StyleManagerImpl) package mx.styles { import flash.events.*; import flash.system.*; import flash.utils.*; import mx.core.*; import mx.events.*; import mx.resources.*; import mx.managers.*; import mx.modules.*; public class StyleManagerImpl implements IStyleManager2 { private var _stylesRoot:Object; private var _selectors:Object; private var styleModules:Object; private var _inheritingStyles:Object; private var resourceManager:IResourceManager; private var _typeSelectorCache:Object; mx_internal static const VERSION:String = "3.2.0.4537"; private static var parentSizeInvalidatingStyles:Object = {bottom:true, horizontalCenter:true, left:true, right:true, top:true, verticalCenter:true, baseline:true}; private static var colorNames:Object = {transparent:"transparent", black:0, blue:0xFF, green:0x8000, gray:0x808080, silver:0xC0C0C0, lime:0xFF00, olive:0x808000, white:0xFFFFFF, yellow:0xFFFF00, maroon:0x800000, navy:128, red:0xFF0000, purple:0x800080, teal:0x8080, fuchsia:0xFF00FF, aqua:0xFFFF, magenta:0xFF00FF, cyan:0xFFFF, halogreen:8453965, haloblue:40447, haloorange:0xFFB600, halosilver:11455193}; private static var inheritingTextFormatStyles:Object = {align:true, bold:true, color:true, font:true, indent:true, italic:true, size:true}; private static var instance:IStyleManager2; private static var parentDisplayListInvalidatingStyles:Object = {bottom:true, horizontalCenter:true, left:true, right:true, top:true, verticalCenter:true, baseline:true}; private static var sizeInvalidatingStyles:Object = {borderStyle:true, borderThickness:true, fontAntiAliasType:true, fontFamily:true, fontGridFitType:true, fontSharpness:true, fontSize:true, fontStyle:true, fontThickness:true, fontWeight:true, headerHeight:true, horizontalAlign:true, horizontalGap:true, kerning:true, leading:true, letterSpacing:true, paddingBottom:true, paddingLeft:true, paddingRight:true, paddingTop:true, strokeWidth:true, tabHeight:true, tabWidth:true, verticalAlign:true, verticalGap:true}; public function StyleManagerImpl(){ _selectors = {}; styleModules = {}; resourceManager = ResourceManager.getInstance(); _inheritingStyles = {}; _typeSelectorCache = {}; super(); } public function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void{ _arg2.selectorRefCount++; _selectors[_arg1] = _arg2; typeSelectorCache = {}; if (_arg3){ styleDeclarationsChanged(); }; } public function registerParentDisplayListInvalidatingStyle(_arg1:String):void{ parentDisplayListInvalidatingStyles[_arg1] = true; } public function getStyleDeclaration(_arg1:String):CSSStyleDeclaration{ var _local2:int; if (_arg1.charAt(0) != "."){ _local2 = _arg1.lastIndexOf("."); if (_local2 != -1){ _arg1 = _arg1.substr((_local2 + 1)); }; }; return (_selectors[_arg1]); } public function set typeSelectorCache(_arg1:Object):void{ _typeSelectorCache = _arg1; } public function isColorName(_arg1:String):Boolean{ return (!((colorNames[_arg1.toLowerCase()] === undefined))); } public function set inheritingStyles(_arg1:Object):void{ _inheritingStyles = _arg1; } public function getColorNames(_arg1:Array):void{ var _local4:uint; if (!_arg1){ return; }; var _local2:int = _arg1.length; var _local3:int; while (_local3 < _local2) { if (((!((_arg1[_local3] == null))) && (isNaN(_arg1[_local3])))){ _local4 = getColorName(_arg1[_local3]); if (_local4 != StyleManager.NOT_A_COLOR){ _arg1[_local3] = _local4; }; }; _local3++; }; } public function isInheritingTextFormatStyle(_arg1:String):Boolean{ return ((inheritingTextFormatStyles[_arg1] == true)); } public function registerParentSizeInvalidatingStyle(_arg1:String):void{ parentSizeInvalidatingStyles[_arg1] = true; } public function registerColorName(_arg1:String, _arg2:uint):void{ colorNames[_arg1.toLowerCase()] = _arg2; } public function isParentSizeInvalidatingStyle(_arg1:String):Boolean{ return ((parentSizeInvalidatingStyles[_arg1] == true)); } public function registerInheritingStyle(_arg1:String):void{ inheritingStyles[_arg1] = true; } public function set stylesRoot(_arg1:Object):void{ _stylesRoot = _arg1; } public function get typeSelectorCache():Object{ return (_typeSelectorCache); } public function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean{ return ((parentDisplayListInvalidatingStyles[_arg1] == true)); } public function isSizeInvalidatingStyle(_arg1:String):Boolean{ return ((sizeInvalidatingStyles[_arg1] == true)); } public function styleDeclarationsChanged():void{ var _local4:Object; var _local1:Array = SystemManagerGlobals.topLevelSystemManagers; var _local2:int = _local1.length; var _local3:int; while (_local3 < _local2) { _local4 = _local1[_local3]; _local4.regenerateStyleCache(true); _local4.notifyStyleChangeInChildren(null, true); _local3++; }; } public function isValidStyleValue(_arg1):Boolean{ return (!((_arg1 === undefined))); } public function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):IEventDispatcher{ return (loadStyleDeclarations2(_arg1, _arg2)); } public function get inheritingStyles():Object{ return (_inheritingStyles); } public function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void{ var _local4:IModuleInfo; var _local3:StyleModuleInfo = styleModules[_arg1]; if (_local3){ _local3.styleModule.unload(); _local4 = _local3.module; _local4.unload(); _local4.removeEventListener(ModuleEvent.READY, _local3.readyHandler); _local4.removeEventListener(ModuleEvent.ERROR, _local3.errorHandler); styleModules[_arg1] = null; }; if (_arg2){ styleDeclarationsChanged(); }; } public function getColorName(_arg1:Object):uint{ var _local2:Number; var _local3:*; if ((_arg1 is String)){ if (_arg1.charAt(0) == "#"){ _local2 = Number(("0x" + _arg1.slice(1))); return ((isNaN(_local2)) ? StyleManager.NOT_A_COLOR : uint(_local2)); }; if ((((_arg1.charAt(1) == "x")) && ((_arg1.charAt(0) == "0")))){ _local2 = Number(_arg1); return ((isNaN(_local2)) ? StyleManager.NOT_A_COLOR : uint(_local2)); }; _local3 = colorNames[_arg1.toLowerCase()]; if (_local3 === undefined){ return (StyleManager.NOT_A_COLOR); }; return (uint(_local3)); }; return (uint(_arg1)); } public function isInheritingStyle(_arg1:String):Boolean{ return ((inheritingStyles[_arg1] == true)); } public function get stylesRoot():Object{ return (_stylesRoot); } public function initProtoChainRoots():void{ if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ delete _inheritingStyles["textDecoration"]; delete _inheritingStyles["leading"]; }; if (!stylesRoot){ stylesRoot = _selectors["global"].addStyleToProtoChain({}, null); }; } public function loadStyleDeclarations2(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher{ var module:IModuleInfo; var styleEventDispatcher:StyleEventDispatcher; var timer:Timer; var timerHandler:Function; var url = _arg1; var update = _arg2; var applicationDomain = _arg3; var securityDomain = _arg4; module = ModuleManager.getModule(url); var readyHandler:Function = function (_arg1:ModuleEvent):void{ var _local2:IStyleModule = IStyleModule(_arg1.module.factory.create()); styleModules[_arg1.module.url].styleModule = _local2; if (update){ styleDeclarationsChanged(); }; }; module.addEventListener(ModuleEvent.READY, readyHandler, false, 0, true); styleEventDispatcher = new StyleEventDispatcher(module); var errorHandler:Function = function (_arg1:ModuleEvent):void{ var _local3:StyleEvent; var _local2:String = resourceManager.getString("styles", "unableToLoad", [_arg1.errorText, url]); if (styleEventDispatcher.willTrigger(StyleEvent.ERROR)){ _local3 = new StyleEvent(StyleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local3.bytesLoaded = 0; _local3.bytesTotal = 0; _local3.errorText = _local2; styleEventDispatcher.dispatchEvent(_local3); } else { throw (new Error(_local2)); }; }; module.addEventListener(ModuleEvent.ERROR, errorHandler, false, 0, true); styleModules[url] = new StyleModuleInfo(module, readyHandler, errorHandler); timer = new Timer(0); timerHandler = function (_arg1:TimerEvent):void{ timer.removeEventListener(TimerEvent.TIMER, timerHandler); timer.stop(); module.load(applicationDomain, securityDomain); }; timer.addEventListener(TimerEvent.TIMER, timerHandler, false, 0, true); timer.start(); return (styleEventDispatcher); } public function registerSizeInvalidatingStyle(_arg1:String):void{ sizeInvalidatingStyles[_arg1] = true; } public function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void{ var _local3:CSSStyleDeclaration = getStyleDeclaration(_arg1); if (((_local3) && ((_local3.selectorRefCount > 0)))){ _local3.selectorRefCount--; }; delete _selectors[_arg1]; if (_arg2){ styleDeclarationsChanged(); }; } public function get selectors():Array{ var _local2:String; var _local1:Array = []; for (_local2 in _selectors) { _local1.push(_local2); }; return (_local1); } public static function getInstance():IStyleManager2{ if (!instance){ instance = new (StyleManagerImpl); }; return (instance); } } }//package mx.styles import flash.events.*; import mx.events.*; import mx.modules.*; class StyleEventDispatcher extends EventDispatcher { private function StyleEventDispatcher(_arg1:IModuleInfo){ _arg1.addEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.READY, moduleInfo_readyHandler, false, 0, true); } private function moduleInfo_progressHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } private function moduleInfo_readyHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.COMPLETE); dispatchEvent(_local2); } private function moduleInfo_errorHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; _local2.errorText = _arg1.errorText; dispatchEvent(_local2); } } class StyleModuleInfo { public var errorHandler:Function; public var readyHandler:Function; public var module:IModuleInfo; public var styleModule:IStyleModule; private function StyleModuleInfo(_arg1:IModuleInfo, _arg2:Function, _arg3:Function){ this.module = _arg1; this.readyHandler = _arg2; this.errorHandler = _arg3; } }
Section 242
//ColorUtil (mx.utils.ColorUtil) package mx.utils { public class ColorUtil { mx_internal static const VERSION:String = "3.2.0.4537"; public static function adjustBrightness2(_arg1:uint, _arg2:Number):uint{ var _local3:Number; var _local4:Number; var _local5:Number; if (_arg2 == 0){ return (_arg1); }; if (_arg2 < 0){ _arg2 = ((100 + _arg2) / 100); _local3 = (((_arg1 >> 16) & 0xFF) * _arg2); _local4 = (((_arg1 >> 8) & 0xFF) * _arg2); _local5 = ((_arg1 & 0xFF) * _arg2); } else { _arg2 = (_arg2 / 100); _local3 = ((_arg1 >> 16) & 0xFF); _local4 = ((_arg1 >> 8) & 0xFF); _local5 = (_arg1 & 0xFF); _local3 = (_local3 + ((0xFF - _local3) * _arg2)); _local4 = (_local4 + ((0xFF - _local4) * _arg2)); _local5 = (_local5 + ((0xFF - _local5) * _arg2)); _local3 = Math.min(_local3, 0xFF); _local4 = Math.min(_local4, 0xFF); _local5 = Math.min(_local5, 0xFF); }; return ((((_local3 << 16) | (_local4 << 8)) | _local5)); } public static function rgbMultiply(_arg1:uint, _arg2:uint):uint{ var _local3:Number = ((_arg1 >> 16) & 0xFF); var _local4:Number = ((_arg1 >> 8) & 0xFF); var _local5:Number = (_arg1 & 0xFF); var _local6:Number = ((_arg2 >> 16) & 0xFF); var _local7:Number = ((_arg2 >> 8) & 0xFF); var _local8:Number = (_arg2 & 0xFF); return ((((((_local3 * _local6) / 0xFF) << 16) | (((_local4 * _local7) / 0xFF) << 8)) | ((_local5 * _local8) / 0xFF))); } public static function adjustBrightness(_arg1:uint, _arg2:Number):uint{ var _local3:Number = Math.max(Math.min((((_arg1 >> 16) & 0xFF) + _arg2), 0xFF), 0); var _local4:Number = Math.max(Math.min((((_arg1 >> 8) & 0xFF) + _arg2), 0xFF), 0); var _local5:Number = Math.max(Math.min(((_arg1 & 0xFF) + _arg2), 0xFF), 0); return ((((_local3 << 16) | (_local4 << 8)) | _local5)); } } }//package mx.utils
Section 243
//GraphicsUtil (mx.utils.GraphicsUtil) package mx.utils { import flash.display.*; public class GraphicsUtil { mx_internal static const VERSION:String = "3.2.0.4537"; public static function drawRoundRectComplex(_arg1:Graphics, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Number):void{ var _local10:Number = (_arg2 + _arg4); var _local11:Number = (_arg3 + _arg5); var _local12:Number = ((_arg4 < _arg5)) ? (_arg4 * 2) : (_arg5 * 2); _arg6 = ((_arg6 < _local12)) ? _arg6 : _local12; _arg7 = ((_arg7 < _local12)) ? _arg7 : _local12; _arg8 = ((_arg8 < _local12)) ? _arg8 : _local12; _arg9 = ((_arg9 < _local12)) ? _arg9 : _local12; var _local13:Number = (_arg9 * 0.292893218813453); var _local14:Number = (_arg9 * 0.585786437626905); _arg1.moveTo(_local10, (_local11 - _arg9)); _arg1.curveTo(_local10, (_local11 - _local14), (_local10 - _local13), (_local11 - _local13)); _arg1.curveTo((_local10 - _local14), _local11, (_local10 - _arg9), _local11); _local13 = (_arg8 * 0.292893218813453); _local14 = (_arg8 * 0.585786437626905); _arg1.lineTo((_arg2 + _arg8), _local11); _arg1.curveTo((_arg2 + _local14), _local11, (_arg2 + _local13), (_local11 - _local13)); _arg1.curveTo(_arg2, (_local11 - _local14), _arg2, (_local11 - _arg8)); _local13 = (_arg6 * 0.292893218813453); _local14 = (_arg6 * 0.585786437626905); _arg1.lineTo(_arg2, (_arg3 + _arg6)); _arg1.curveTo(_arg2, (_arg3 + _local14), (_arg2 + _local13), (_arg3 + _local13)); _arg1.curveTo((_arg2 + _local14), _arg3, (_arg2 + _arg6), _arg3); _local13 = (_arg7 * 0.292893218813453); _local14 = (_arg7 * 0.585786437626905); _arg1.lineTo((_local10 - _arg7), _arg3); _arg1.curveTo((_local10 - _local14), _arg3, (_local10 - _local13), (_arg3 + _local13)); _arg1.curveTo(_local10, (_arg3 + _local14), _local10, (_arg3 + _arg7)); _arg1.lineTo(_local10, (_local11 - _arg9)); } } }//package mx.utils
Section 244
//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 245
//StringUtil (mx.utils.StringUtil) package mx.utils { public class StringUtil { mx_internal static const VERSION:String = "3.2.0.4537"; public static function trim(_arg1:String):String{ if (_arg1 == null){ return (""); }; var _local2:int; while (isWhitespace(_arg1.charAt(_local2))) { _local2++; }; var _local3:int = (_arg1.length - 1); while (isWhitespace(_arg1.charAt(_local3))) { _local3--; }; if (_local3 >= _local2){ return (_arg1.slice(_local2, (_local3 + 1))); }; return (""); } public static function isWhitespace(_arg1:String):Boolean{ switch (_arg1){ case " ": case "\t": case "\r": case "\n": case "\f": return (true); default: return (false); }; } public static function substitute(_arg1:String, ... _args):String{ var _local4:Array; if (_arg1 == null){ return (""); }; var _local3:uint = _args.length; if ((((_local3 == 1)) && ((_args[0] is Array)))){ _local4 = (_args[0] as Array); _local3 = _local4.length; } else { _local4 = _args; }; var _local5:int; while (_local5 < _local3) { _arg1 = _arg1.replace(new RegExp((("\\{" + _local5) + "\\}"), "g"), _local4[_local5]); _local5++; }; return (_arg1); } public static function trimArrayElements(_arg1:String, _arg2:String):String{ var _local3:Array; var _local4:int; var _local5:int; if (((!((_arg1 == ""))) && (!((_arg1 == null))))){ _local3 = _arg1.split(_arg2); _local4 = _local3.length; _local5 = 0; while (_local5 < _local4) { _local3[_local5] = StringUtil.trim(_local3[_local5]); _local5++; }; if (_local4 > 0){ _arg1 = _local3.join(_arg2); }; }; return (_arg1); } } }//package mx.utils
Section 246
//_-3H (test._-3H) package test { import flash.display.*; import Box2D.Common.Math.*; import Box2D.Collision.*; import flash.geom.*; import flash.filters.*; import _-Hu.*; import _-Ao.*; import game.*; public class _-3H { protected var _-2Q:_-Dp; public var _-56:_-DV; public var _-G4:Sprite; public var _-9q:_-ID; public function _-3H(_arg1:_-Dp){ _-2Q = _arg1; _-9q = new _-ID(); } protected function _-8(_arg1:DisplayObject):void{ var _local2:b2Vec2 = new b2Vec2(0, 0); var _local3:Number = 0; _arg1.rotation = 0; var _local4:Matrix = _arg1.transform.matrix; _local4.tx = -((_arg1.width / 2)); _local4.ty = -((_arg1.height / 2)); _local4.rotate(_local3); var _local5:_-8k = new _-8k(_local3); var _local6:b2Vec2 = _-4U._-01(_local5, (_arg1 as _-BM).magic_shift); _local4.tx = (_local4.tx + ((_local2.x * 30) + _local6.x)); _local4.ty = (_local4.ty + ((_local2.y * 30) + _local6.y)); _arg1.transform.matrix = _local4; } public function set ():void{ var _local3:int; var _local5:_-Ih; var _local1:Array = new Array(); var _local2 = 64; _local3 = _-2Q._-GS(_-9q, _local1, _local2, false, null); var _local4:int; for (;_local4 < _local3;_local4++) { if (_local1[_local4].GetType() != _-8J._-Fs){ //unresolved if } else { _local5 = _local1[_local4].GetBody(); if (_local5.m_userData == null){ } else { if (!(_local5.m_userData as _-BM).is_possible_remove){ } else { if ((_local5.m_userData as _-BM).collision_group == 0){ _-C0(_local1[_local4]); } else { if ((_local5.m_userData as _-BM).collision_group == 1){ _-2w(_local1[_local4]); continue; }; }; }; }; }; }; } public function _-9k():void{ var _local3:int; var _local5:_-Ih; var _local6:Array; var _local7:int; var _local8:Number; var _local9:Number; var _local10:_-09; var _local11:_-Ih; var _local12:_-Ih; var _local1:Array = new Array(); var _local2 = 64; _local3 = _-2Q._-GS(_-9q, _local1, _local2, false, null); var _local4:int; while (_local4 < _local3) { if (_local1[_local4].GetType() != _-8J._-Fs){ //unresolved if } else { _local5 = _local1[_local4].GetBody(); if (_local5.m_userData == null){ } else { if ((_local5.m_userData as _-BM).collision_group != 0){ } else { if (!(_local5.m_userData as _-BM).is_possible_remove){ } else { _local6 = new Array(2); _local6[0] = new each(); _local6[1] = new each(); _local6[0].density = 5; _local6[1].density = 5; if (_local1[_local4].GetType() == _-8J.implements){ _local7 = _-2X(_local1[_local4], _-9q, _local6); } else { _local7 = _-6p(_local1[_local4], _-9q, _local6); }; if (_local7 == 0){ _local8 = _-Ak(_local6[0]); if (_local8 <= 0.1){ } else { _local9 = _-Ak(_local6[1]); if (_local9 <= 0.1){ } else { _local10 = new _-09(); _local10.userData = new _-BM((_local5.m_userData as _-BM)._-4G, _local6[1], 30, (_local5.m_userData as _-BM)._-EX, 5, (_local5.m_userData as _-BM)._-9e, (_local5.m_userData as _-BM)._-Ee); if (_local9 > _local8){ _-G4.addChild(_local10.userData); _local10.userData.x = -100; _local10.userData.y = -100; _local10.userData.is_possible_remove = true; _local11 = _-2Q._-IW(_local10); _local11.try(_local6[1]); _local11._-8U(); _local11._-5t(_local5._-5Q()); _local11._-7d(_local5._-24()); } else { _-8(_local10.userData); _-56.addItem(_local10.userData, 100); }; _local10 = new _-09(); _local10.userData = new _-BM((_local5.m_userData as _-BM)._-4G, _local6[0], 30, (_local5.m_userData as _-BM)._-EX, 5, (_local5.m_userData as _-BM)._-9e, (_local5.m_userData as _-BM)._-Ee); if (_local9 < _local8){ _-G4.addChild(_local10.userData); _local10.userData.x = -100; _local10.userData.y = -100; _local10.userData.is_possible_remove = true; _local12 = _-2Q._-IW(_local10); _local12.try(_local6[0]); _local12._-8U(); _local12._-5t(_local5._-5Q()); _local12._-7d(_local5._-24()); } else { _-8(_local10.userData); _-56.addItem(_local10.userData, 100); }; _-G4.removeChild(_local5.m_userData); _local5.m_userData = null; _-2Q._-HC(_local5); }; }; }; }; }; }; }; _local4++; }; } protected function _-23(_arg1:DisplayObject):void{ var _local2:DropShadowFilter = new DropShadowFilter(); _local2.color = 0; _local2.blurY = 4; _local2.blurX = 4; _local2.angle = 45; _local2.alpha = 0.5; _local2.distance = 4; var _local3:Array = new Array(_local2); _arg1.filters = _local3; } protected function _-6p(_arg1:_-2f, _arg2, _arg3:Array):int{ if (_arg1 == null){ return (-1); }; if (_arg3 == null){ return (-1); }; var _local4:Array = [1]; var _local5:Array = [0]; var _local6 = 3; var _local7 = 3; var _local8:_-Ih = _arg1.GetBody(); var _local9:_-0X = _local8._-9p(); if (_arg1. else(_local9, _local4, _local5, _arg2, 1) != _-8J._-1o){ return (-1); }; _local6 = _local5[0]; var _local10:b2Vec2 = _arg2.p1.Copy(); _local10.Multiply((1 - _local4[0])); var _local11:b2Vec2 = _arg2.p2.Copy(); _local11.Multiply(_local4[0]); _local10.Add(_local11); var _local12:_-ID = new _-ID(); _local12.p1 = _arg2.p2; _local12.p2 = _arg2.p1; if (_arg1. else(_local9, _local4, _local5, _local12, 1) != _-8J._-1o){ return (-1); }; _local7 = _local5[0]; var _local13:b2Vec2 = _local12.p1.Copy(); _local13.Multiply((1 - _local4[0])); _local11 = _local12.p2.Copy(); _local11.Multiply(_local4[0]); _local13.Add(_local11); if (_local6 == _local7){ return (-1); }; var _local14:Array = _arg1._-8c(); var _local15:int = (_local6 + 1); var _local16:int = _arg1._-10(); if (_local15 == _local16){ _local15 = 0; }; _arg3[0].vertices[0] = _local10.Copy(); _arg3[0].vertexCount = 1; while (true) { _arg3[0].vertices[_arg3[0].vertexCount] = _-4U._-CZ(_arg1.m_body.m_xf, _local14[_local15]); _arg3[0].vertexCount++; if (_local15 == _local7){ break; }; _local15++; if (_local15 == _local16){ _local15 = 0; }; }; _arg3[0].vertices[_arg3[0].vertexCount] = _local13.Copy(); _arg3[0].vertexCount++; _local15 = (_local7 + 1); if (_local15 == _local16){ _local15 = 0; }; _arg3[1].vertices[0] = _local13.Copy(); _arg3[1].vertexCount = 1; while (true) { _arg3[1].vertices[_arg3[1].vertexCount] = _-4U._-CZ(_arg1.m_body.m_xf, _local14[_local15]); _arg3[1].vertexCount++; if (_local15 == _local6){ break; }; _local15++; if (_local15 == _local16){ _local15 = 0; }; }; _arg3[1].vertices[_arg3[1].vertexCount] = _local10.Copy(); _arg3[1].vertexCount++; return (0); } protected function _-2w(_arg1):void{ var _local2:_-Ih; var _local4:int; var _local8:_-Ih; var _local9:_-Ih; _local2 = _arg1.GetBody(); var _local3:Array = new Array(2); _local3[0] = new each(); _local3[1] = new each(); _local3[0].density = 5; _local3[1].density = 5; if (_arg1.GetType() == _-8J.implements){ _local4 = _-2X(_arg1, _-9q, _local3); } else { _local4 = _-6p(_arg1, _-9q, _local3); }; if (_local4 != 0){ return; }; var _local5:Number = _-Ak(_local3[0]); if (_local5 <= 0.1){ return; }; var _local6:Number = _-Ak(_local3[1]); if (_local6 <= 0.1){ return; }; var _local7:_-09 = new _-09(); _local7.userData = new _-BM((_local2.m_userData as _-BM)._-4G, _local3[1], 30, (_local2.m_userData as _-BM)._-EX, 5, (_local2.m_userData as _-BM)._-9e, (_local2.m_userData as _-BM)._-Ee); if (_local6 > _local5){ _-G4.addChild(_local7.userData); _local7.userData.x = -100; _local7.userData.y = -100; _local7.userData.is_possible_remove = true; _local8 = _-2Q._-IW(_local7); _local8.try(_local3[1]); _local8._-8U(); _local8._-5t(_local2._-5Q()); _local8._-7d(_local2._-24()); } else { _-8(_local7.userData); _-56.addItem(_local7.userData, 100); }; _local7 = new _-09(); _local7.userData = new _-BM((_local2.m_userData as _-BM)._-4G, _local3[0], 30, (_local2.m_userData as _-BM)._-EX, 5, (_local2.m_userData as _-BM)._-9e, (_local2.m_userData as _-BM)._-Ee); if (_local6 < _local5){ _-G4.addChild(_local7.userData); _local7.userData.x = -100; _local7.userData.y = -100; _local7.userData.is_possible_remove = true; _local9 = _-2Q._-IW(_local7); _local9.try(_local3[0]); _local9._-8U(); _local9._-5t(_local2._-5Q()); _local9._-7d(_local2._-24()); } else { _-8(_local7.userData); _-56.addItem(_local7.userData, 100); }; _-G4.removeChild(_local2.m_userData); _local2.m_userData = null; _-2Q._-HC(_local2); } protected function _-2X(_arg1:_-Cx, _arg2, _arg3:Array):int{ var _local16:Number; var _local17:Number; var _local18:int; var _local21:b2Vec2; if (_arg1 == null){ return (-1); }; if (_arg3 == null){ return (-1); }; var _local4:Array = [1]; var _local5:b2Vec2 = new b2Vec2(); var _local6:_-Ih = _arg1.GetBody(); var _local7:_-0X = _local6._-9p(); if (_arg1.TestSegment(_local7, _local4, _local5, _arg2, 1) != _-8J._-1o){ return (-1); }; var _local8:b2Vec2 = _arg2.p1.Copy(); _local8.Multiply((1 - _local4[0])); var _local9:b2Vec2 = _arg2.p2.Copy(); _local9.Multiply(_local4[0]); _local8.Add(_local9); var _local10:_-ID = new _-ID(); _local10.p1 = _arg2.p2; _local10.p2 = _arg2.p1; if (_arg1.TestSegment(_local7, _local4, _local5, _local10, 1) != _-8J._-1o){ return (-1); }; var _local11:b2Vec2 = _local10.p1.Copy(); _local11.Multiply((1 - _local4[0])); _local9 = _local10.p2.Copy(); _local9.Multiply(_local4[0]); _local11.Add(_local9); var _local12:b2Vec2 = _-4U._-CZ(_arg1.m_body.m_xf, _arg1._-42); var _local13:Number = _arg1._-Db; var _local14:Number = Math.atan2((-(_local12.y) + _local8.y), (_local8.x - _local12.x)); var _local15:Number = Math.atan2((-(_local12.y) + _local11.y), (_local11.x - _local12.x)); if (_local14 < 0){ _local14 = ((Math.PI * 2) + _local14); }; if (_local15 < 0){ _local15 = ((Math.PI * 2) + _local15); }; if (_local14 > _local15){ _local17 = _local14; _local16 = _local15; } else { _local17 = _local15; _local16 = _local14; }; var _local19:Number = (_local17 - _local16); var _local20:int = Math.floor(((_local19 * 8) / Math.PI)); if (_local20 < 3){ _local20 = 3; }; _local19 = (_local19 / _local20); _arg3[0].vertexCount = 0; _local20++; _local18 = 0; while (_local18 < _local20) { _local21 = new b2Vec2((Math.cos((_local16 + (_local18 * _local19))) * _local13), (Math.sin((_local16 + (_local18 * _local19))) * _local13)); _local21.Add(_local12); _arg3[0].vertices[_arg3[0].vertexCount] = _local21; _arg3[0].vertexCount++; _local18++; }; _local19 = ((Math.PI * 2) - (_local17 - _local16)); _local20 = Math.floor(((_local19 * 8) / Math.PI)); if (_local20 < 3){ _local20 = 3; }; _local19 = (_local19 / _local20); _arg3[1].vertexCount = 0; _local20++; _local18 = 0; while (_local18 < _local20) { _local21 = new b2Vec2((Math.cos((_local17 + (_local18 * _local19))) * _local13), (Math.sin((_local17 + (_local18 * _local19))) * _local13)); _local21.Add(_local12); _arg3[1].vertices[_arg3[1].vertexCount] = _local21; _arg3[1].vertexCount++; _local18++; }; return (0); } public function in():void{ var _local3:int; var _local5:_-Ih; var _local6:Array; var _local7:int; var _local8:Number; var _local9:Number; var _local10:_-09; var _local11:_-Ih; var _local12:_-Ih; var _local1:Array = new Array(); var _local2 = 64; _local3 = _-2Q._-GS(_-9q, _local1, _local2, false, null); var _local4:int; while (_local4 < _local3) { if (_local1[_local4].GetType() != _-8J._-Fs){ //unresolved if } else { _local5 = _local1[_local4].GetBody(); if (_local5.m_userData == null){ } else { if ((_local5.m_userData as _-BM).collision_group != 0){ } else { if (!(_local5.m_userData as _-BM).is_possible_remove){ } else { _local6 = new Array(2); _local6[0] = new each(); _local6[1] = new each(); _local6[0].density = 5; _local6[1].density = 5; if (_local1[_local4].GetType() == _-8J.implements){ _local7 = _-2X(_local1[_local4], _-9q, _local6); } else { _local7 = _-6p(_local1[_local4], _-9q, _local6); }; if (_local7 == 0){ _local8 = _-Ak(_local6[0]); if (_local8 <= 0.1){ } else { _local9 = _-Ak(_local6[1]); if (_local9 <= 0.1){ } else { _local10 = new _-09(); _local10.userData = new _-BM((_local5.m_userData as _-BM)._-4G, _local6[1], 30, (_local5.m_userData as _-BM)._-EX, 5, (_local5.m_userData as _-BM)._-9e, (_local5.m_userData as _-BM)._-Ee); _-G4.addChild(_local10.userData); _local10.userData.x = -100; _local10.userData.y = -100; _local10.userData.is_possible_remove = true; _local11 = _-2Q._-IW(_local10); _local11.try(_local6[1]); _local11._-8U(); _local11._-5t(_local5._-5Q()); _local11._-7d(_local5._-24()); _local10 = new _-09(); _local10.userData = new _-BM((_local5.m_userData as _-BM)._-4G, _local6[0], 30, (_local5.m_userData as _-BM)._-EX, 5, (_local5.m_userData as _-BM)._-9e, (_local5.m_userData as _-BM)._-Ee); _-G4.addChild(_local10.userData); _local10.userData.x = -100; _local10.userData.y = -100; _local10.userData.is_possible_remove = true; _local12 = _-2Q._-IW(_local10); _local12.try(_local6[0]); _local12._-8U(); _local12._-5t(_local5._-5Q()); _local12._-7d(_local5._-24()); _-G4.removeChild(_local5.m_userData); _local5.m_userData = null; _-2Q._-HC(_local5); }; }; }; }; }; }; }; _local4++; }; } protected function _-Ak(_arg1: each):Number{ var _local2:int; var _local3:int; var _local4:int = _arg1.vertexCount; var _local5:Number = 0; _local2 = 0; while (_local2 < _local4) { _local3 = ((_local2 + 1) % _local4); _local5 = ((_local5 + (_arg1.vertices[_local2].x * _arg1.vertices[_local3].y)) - (_arg1.vertices[_local3].x * _arg1.vertices[_local2].y)); _local2++; }; return ((_local5 / 2)); } protected function _-C0(_arg1):void{ var _local2:_-Ih; var _local4:int; var _local8:_-Ih; var _local9:_-Ih; _local2 = _arg1.GetBody(); var _local3:Array = new Array(2); _local3[0] = new each(); _local3[1] = new each(); _local3[0].density = 5; _local3[1].density = 5; if (_arg1.GetType() == _-8J.implements){ _local4 = _-2X(_arg1, _-9q, _local3); } else { _local4 = _-6p(_arg1, _-9q, _local3); }; if (_local4 != 0){ return; }; var _local5:Number = _-Ak(_local3[0]); if (_local5 <= 0.1){ return; }; var _local6:Number = _-Ak(_local3[1]); if (_local6 <= 0.1){ return; }; var _local7:_-09 = new _-09(); _local7.userData = new _-BM((_local2.m_userData as _-BM)._-4G, _local3[1], 30, (_local2.m_userData as _-BM)._-EX, 5, (_local2.m_userData as _-BM)._-9e, (_local2.m_userData as _-BM)._-Ee); _-23(_local7.userData); _-G4.addChild(_local7.userData); _local7.userData.x = -100; _local7.userData.y = -100; _local7.userData.is_possible_remove = true; _local8 = _-2Q._-IW(_local7); _local8.try(_local3[1]); _local8._-8U(); _local8._-5t(_local2._-5Q()); _local8._-7d(_local2._-24()); _local7 = new _-09(); _local7.userData = new _-BM((_local2.m_userData as _-BM)._-4G, _local3[0], 30, (_local2.m_userData as _-BM)._-EX, 5, (_local2.m_userData as _-BM)._-9e, (_local2.m_userData as _-BM)._-Ee); _-23(_local7.userData); _-G4.addChild(_local7.userData); _local7.userData.x = -100; _local7.userData.y = -100; _local7.userData.is_possible_remove = true; _local9 = _-2Q._-IW(_local7); _local9.try(_local3[0]); _local9._-8U(); _local9._-5t(_local2._-5Q()); _local9._-7d(_local2._-24()); _-G4.removeChild(_local2.m_userData); _local2.m_userData = null; _-2Q._-HC(_local2); } } }//package test
Section 247
//_-BM (test._-BM) package test { import flash.display.*; import Box2D.Common.Math.*; import flash.geom.*; import _-Ao.*; public class _-BM extends Bitmap { public var _-Ee:Boolean; public var _-EX:Boolean; public var _-1B:int; public var _-9e:uint; public var var:Number; public var magic_shift:b2Vec2; public var collision_group:int; public var is_possible_remove:Boolean; public var _-4G:Class; public function _-BM(_arg1:Class, _arg2: each, _arg3:Number, _arg4:Boolean=false, _arg5:Number=2, _arg6:uint=0, _arg7:Boolean=true, _arg8:Boolean=false){ var _local9:BitmapData; var _local11:int; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local23:int; var _local24:int; var _local27:DisplayObject; var _local28:DisplayObject; var _local29:Matrix; var _local30:Matrix; var _local31:Sprite; var _local32:Sprite; _-4G = _arg1; _-9e = _arg6; _-Ee = _arg7; _-EX = _arg4; magic_shift = _-6i(_arg2, _arg3); var _local10:int = _arg2.vertexCount; _local12 = _arg2.vertices[0].x; _local13 = _arg2.vertices[0].y; _local14 = _arg2.vertices[0].x; _local15 = _arg2.vertices[0].y; _local11 = 1; while (_local11 < _local10) { if (_arg2.vertices[_local11].x < _local12){ _local12 = _arg2.vertices[_local11].x; }; if (_arg2.vertices[_local11].x > _local14){ _local14 = _arg2.vertices[_local11].x; }; if (_arg2.vertices[_local11].y < _local13){ _local13 = _arg2.vertices[_local11].y; }; if (_arg2.vertices[_local11].y > _local15){ _local15 = _arg2.vertices[_local11].y; }; _local11++; }; _local16 = (_local14 - _local12); if (_local16 < 0){ _local16 = -(_local16); }; _local17 = (_local15 - _local13); if (_local17 < 0){ _local17 = -(_local17); }; _local9 = new BitmapData(Math.ceil((_local16 * _arg3)), Math.ceil((_local17 * _arg3)), true, 0); var _local18:Sprite = new Sprite(); _local18.graphics.clear(); _local18.graphics.beginFill(0xFF00, 1); _local18.graphics.moveTo(((_arg2.vertices[0].x - _local12) * _arg3), ((_arg2.vertices[0].y - _local13) * _arg3)); _local11 = 1; while (_local11 < _local10) { _local18.graphics.lineTo(((_arg2.vertices[_local11].x - _local12) * _arg3), ((_arg2.vertices[_local11].y - _local13) * _arg3)); _local11++; }; _local18.graphics.endFill(); _local9.draw(_local18); _local18 = null; var _local19:int = Math.ceil(Math.sqrt(((_local9.width * _local9.width) + (_local9.height * _local9.height)))); if (_local19 > 2880){ _local19 = 2880; }; _local18 = new Sprite(); var _local20:DisplayObject = new (_arg1); var _local21:int = ((_local19 / _local20.width) + 1); var _local22:int = ((_local19 / _local20.height) + 1); var _local25:Sprite = new Sprite(); if (!_arg8){ _local23 = 0; while (_local23 < _local21) { _local24 = 0; while (_local24 < _local22) { _local27 = new (_arg1); _local27.x = (_local23 * _local20.width); _local27.y = (_local24 * _local20.height); _local25.addChild(_local27); _local24++; }; _local23++; }; } else { _local28 = new (_arg1); _local28.width = _local9.width; _local28.height = _local9.height; _local25.addChild(_local28); }; if (!_arg8){ _local25.rotation = 0; _local29 = _local25.transform.matrix; _local29.tx = -((_local19 / 2)); _local29.ty = -((_local19 / 2)); _local29.rotate( var); _local29.tx = (_local29.tx + (_local9.width / 2)); _local29.ty = (_local29.ty + (_local9.height / 2)); _local25.transform.matrix = _local29; }; _local18.addChild(_local25); if (_arg7){ _local30 = new Matrix(); _local30.createGradientBox(_local9.width, _local9.height, (Math.PI / 2), 0, 0); _local31 = new Sprite(); _local31.graphics.beginGradientFill(GradientType.LINEAR, [0xFFFFFF, 0], [0.25, 0.5], [92, 0xFF], _local30); _local31.graphics.drawRect(0, 0, _local9.width, _local9.height); _local31.graphics.endFill(); _local18.addChild(_local31); }; if (_arg4){ _local32 = new Sprite(); _local18.addChild(_local32); _local32.graphics.lineStyle(_arg5, _arg6); _local32.graphics.moveTo(((_arg2.vertices[0].x - _local12) * _arg3), ((_arg2.vertices[0].y - _local13) * _arg3)); _local11 = 1; while (_local11 < _local10) { _local32.graphics.lineTo(((_arg2.vertices[_local11].x - _local12) * _arg3), ((_arg2.vertices[_local11].y - _local13) * _arg3)); _local11++; }; _local32.graphics.lineTo(((_arg2.vertices[0].x - _local12) * _arg3), ((_arg2.vertices[0].y - _local13) * _arg3)); }; var _local26:BitmapData = new BitmapData(_local9.width, _local9.height, true, 0); _local26.draw(_local18); _local18 = null; _local9.copyChannel(_local26, new Rectangle(0, 0, _local9.width, _local9.height), new Point(0, 0), BitmapDataChannel.RED, BitmapDataChannel.RED); _local9.copyChannel(_local26, new Rectangle(0, 0, _local9.width, _local9.height), new Point(0, 0), BitmapDataChannel.GREEN, BitmapDataChannel.GREEN); _local9.copyChannel(_local26, new Rectangle(0, 0, _local9.width, _local9.height), new Point(0, 0), BitmapDataChannel.BLUE, BitmapDataChannel.BLUE); _local26 = null; super(_local9, "auto", true); } protected function _-6i(_arg1: each, _arg2:Number):b2Vec2{ var _local4:int; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local13:Number; var _local3:int = _arg1.vertexCount; var _local9:b2Vec2 = _arg1.vertices[0].Copy(); _-1B = 0; _local9._-EW(_arg1.vertices[1]); var _local10:Number = _local9._-l(); _local5 = _arg1.vertices[0].x; _local6 = _arg1.vertices[0].y; _local7 = _arg1.vertices[0].x; _local8 = _arg1.vertices[0].y; _local4 = 1; while (_local4 < _local3) { if (_arg1.vertices[_local4].x < _local5){ _local5 = _arg1.vertices[_local4].x; }; if (_arg1.vertices[_local4].x > _local7){ _local7 = _arg1.vertices[_local4].x; }; if (_arg1.vertices[_local4].y < _local6){ _local6 = _arg1.vertices[_local4].y; }; if (_arg1.vertices[_local4].y > _local8){ _local8 = _arg1.vertices[_local4].y; }; _local9 = _arg1.vertices[_local4].Copy(); if (_local4 != (_local3 - 1)){ _local9._-EW(_arg1.vertices[(_local4 + 1)]); } else { _local9._-EW(_arg1.vertices[0]); }; _local13 = _local9._-l(); if (_local13 > _local10){ _local10 = _local13; _-1B = _local4; }; _local4++; }; if (_-1B != (_local3 - 1)){ var = Math.atan2((-(_arg1.vertices[_-1B].y) + _arg1.vertices[(_-1B + 1)].y), (_arg1.vertices[(_-1B + 1)].x - _arg1.vertices[_-1B].x)); } else { var = Math.atan2((-(_arg1.vertices[_-1B].y) + _arg1.vertices[0].y), (_arg1.vertices[0].x - _arg1.vertices[_-1B].x)); }; var _local11:b2Vec2 = new b2Vec2(((_local7 - _local5) / 2), ((_local8 - _local6) / 2)); var _local12:b2Vec2 = new b2Vec2(_local5, _local6); _local12.Add(_local11); _local12._-Ed(); _local12.Multiply(_arg2); return (_local12); } } }//package test
Section 248
//_-A8 (_-A8) package { import flash.display.*; public dynamic class _-A8 extends MovieClip { public function _-Cn(_arg1:Number, _arg2:int):void{ this.bubbleboxGameID = _arg2; this.score = _arg1; this.gotoAndStop(1); } } }//package
Section 249
//_activeButtonStyleStyle (_activeButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _activeButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".activeButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".activeButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 250
//_activeTabStyleStyle (_activeTabStyleStyle) package { import mx.core.*; import mx.styles.*; public class _activeTabStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".activeTabStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".activeTabStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 251
//_alertButtonStyleStyle (_alertButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _alertButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".alertButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".alertButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.color = 734012; }; }; } } }//package
Section 252
//_comboDropdownStyle (_comboDropdownStyle) package { import mx.core.*; import mx.styles.*; public class _comboDropdownStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".comboDropdown"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".comboDropdown", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.shadowDirection = "center"; this.fontWeight = "normal"; this.dropShadowEnabled = true; this.leading = 0; this.backgroundColor = 0xFFFFFF; this.shadowDistance = 1; this.cornerRadius = 0; this.borderThickness = 0; this.paddingLeft = 5; this.paddingRight = 5; }; }; } } }//package
Section 253
//_dataGridStylesStyle (_dataGridStylesStyle) package { import mx.core.*; import mx.styles.*; public class _dataGridStylesStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".dataGridStyles"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".dataGridStyles", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 254
//_dateFieldPopupStyle (_dateFieldPopupStyle) package { import mx.core.*; import mx.styles.*; public class _dateFieldPopupStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".dateFieldPopup"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".dateFieldPopup", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.dropShadowEnabled = true; this.backgroundColor = 0xFFFFFF; this.borderThickness = 0; }; }; } } }//package
Section 255
//_errorTipStyle (_errorTipStyle) package { import mx.core.*; import mx.styles.*; public class _errorTipStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".errorTip"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".errorTip", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; this.borderStyle = "errorTipRight"; this.paddingTop = 4; this.borderColor = 13510953; this.color = 0xFFFFFF; this.fontSize = 9; this.shadowColor = 0; this.paddingLeft = 4; this.paddingBottom = 4; this.paddingRight = 4; }; }; } } }//package
Section 256
//_globalStyle (_globalStyle) package { import mx.core.*; import mx.styles.*; import mx.skins.halo.*; public class _globalStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("global"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration("global", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fillColor = 0xFFFFFF; this.kerning = false; this.iconColor = 0x111111; this.textRollOverColor = 2831164; this.horizontalAlign = "left"; this.shadowCapColor = 14015965; this.backgroundAlpha = 1; this.filled = true; this.textDecoration = "none"; this.roundedBottomCorners = true; this.fontThickness = 0; this.focusBlendMode = "normal"; this.fillColors = [0xFFFFFF, 0xCCCCCC, 0xFFFFFF, 0xEEEEEE]; this.horizontalGap = 8; this.borderCapColor = 9542041; this.buttonColor = 7305079; this.indentation = 17; this.selectionDisabledColor = 0xDDDDDD; this.closeDuration = 250; this.embedFonts = false; this.paddingTop = 0; this.letterSpacing = 0; this.focusAlpha = 0.4; this.bevel = true; this.fontSize = 10; this.shadowColor = 0xEEEEEE; this.borderAlpha = 1; this.paddingLeft = 0; this.fontWeight = "normal"; this.indicatorGap = 14; this.focusSkin = HaloFocusRect; this.dropShadowEnabled = false; this.leading = 2; this.borderSkin = HaloBorder; this.fontSharpness = 0; this.modalTransparencyDuration = 100; this.borderThickness = 1; this.backgroundSize = "auto"; this.borderStyle = "inset"; this.borderColor = 12040892; this.fontAntiAliasType = "advanced"; this.errorColor = 0xFF0000; this.shadowDistance = 2; this.horizontalGridLineColor = 0xF7F7F7; this.stroked = false; this.modalTransparencyColor = 0xDDDDDD; this.cornerRadius = 0; this.verticalAlign = "top"; this.textIndent = 0; this.fillAlphas = [0.6, 0.4, 0.75, 0.65]; this.verticalGridLineColor = 14015965; this.themeColor = 40447; this.version = "3.0.0"; this.shadowDirection = "center"; this.modalTransparency = 0.5; this.repeatInterval = 35; this.openDuration = 250; this.textAlign = "left"; this.fontFamily = "Verdana"; this.textSelectedColor = 2831164; this.paddingBottom = 0; this.strokeWidth = 1; this.fontGridFitType = "pixel"; this.horizontalGridLines = false; this.useRollOver = true; this.verticalGridLines = true; this.repeatDelay = 500; this.fontStyle = "normal"; this.dropShadowColor = 0; this.focusThickness = 2; this.verticalGap = 6; this.disabledColor = 11187123; this.paddingRight = 0; this.focusRoundedCorners = "tl tr bl br"; this.borderSides = "left top right bottom"; this.disabledIconColor = 0x999999; this.modalTransparencyBlur = 3; this.color = 734012; this.selectionDuration = 250; this.highlightAlphas = [0.3, 0]; }; }; } } }//package
Section 257
//_headerDateTextStyle (_headerDateTextStyle) package { import mx.core.*; import mx.styles.*; public class _headerDateTextStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".headerDateText"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".headerDateText", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; this.textAlign = "center"; }; }; } } }//package
Section 258
//_headerDragProxyStyleStyle (_headerDragProxyStyleStyle) package { import mx.core.*; import mx.styles.*; public class _headerDragProxyStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".headerDragProxyStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".headerDragProxyStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 259
//_-Id (_-Id) package { import mx.core.*; public class _-Id extends ByteArrayAsset { } }//package
Section 260
//_-IX (_-IX) package { import flash.utils.*; import mx.core.*; public class _-IX extends MovieClipLoaderAsset { public var _-Cf:Class; private static var _-G3:ByteArray = null; public function _-IX(){ _-Cf = _-Id; super(); initialWidth = (13500 / 20); initialHeight = (9800 / 20); } override public function get movieClipData():ByteArray{ if (_-G3 == null){ _-G3 = ByteArray(new _-Cf()); }; return (_-G3); } } }//package
Section 261
//_linkButtonStyleStyle (_linkButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _linkButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".linkButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".linkButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 2; this.paddingLeft = 2; this.paddingBottom = 2; this.paddingRight = 2; }; }; } } }//package
Section 262
//_opaquePanelStyle (_opaquePanelStyle) package { import mx.core.*; import mx.styles.*; public class _opaquePanelStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".opaquePanel"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".opaquePanel", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.borderColor = 0xFFFFFF; this.backgroundColor = 0xFFFFFF; this.headerColors = [0xE7E7E7, 0xD9D9D9]; this.footerColors = [0xE7E7E7, 0xC7C7C7]; this.borderAlpha = 1; }; }; } } }//package
Section 263
//_plainStyle (_plainStyle) package { import mx.core.*; import mx.styles.*; public class _plainStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".plain"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".plain", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 0; this.backgroundColor = 0xFFFFFF; this.backgroundImage = ""; this.horizontalAlign = "left"; this.paddingLeft = 0; this.paddingBottom = 0; this.paddingRight = 0; }; }; } } }//package
Section 264
//_popUpMenuStyle (_popUpMenuStyle) package { import mx.core.*; import mx.styles.*; public class _popUpMenuStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".popUpMenu"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".popUpMenu", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "normal"; this.textAlign = "left"; }; }; } } }//package
Section 265
//_richTextEditorTextAreaStyleStyle (_richTextEditorTextAreaStyleStyle) package { import mx.core.*; import mx.styles.*; public class _richTextEditorTextAreaStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".richTextEditorTextAreaStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".richTextEditorTextAreaStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 266
//_swatchPanelTextFieldStyle (_swatchPanelTextFieldStyle) package { import mx.core.*; import mx.styles.*; public class _swatchPanelTextFieldStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".swatchPanelTextField"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".swatchPanelTextField", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.borderStyle = "inset"; this.borderColor = 14015965; this.highlightColor = 12897484; this.backgroundColor = 0xFFFFFF; this.shadowCapColor = 14015965; this.shadowColor = 14015965; this.paddingLeft = 5; this.buttonColor = 7305079; this.borderCapColor = 9542041; this.paddingRight = 5; }; }; } } }//package
Section 267
//_textAreaHScrollBarStyleStyle (_textAreaHScrollBarStyleStyle) package { import mx.core.*; import mx.styles.*; public class _textAreaHScrollBarStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".textAreaHScrollBarStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".textAreaHScrollBarStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 268
//_textAreaVScrollBarStyleStyle (_textAreaVScrollBarStyleStyle) package { import mx.core.*; import mx.styles.*; public class _textAreaVScrollBarStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".textAreaVScrollBarStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".textAreaVScrollBarStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 269
//_todayStyleStyle (_todayStyleStyle) package { import mx.core.*; import mx.styles.*; public class _todayStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".todayStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".todayStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.color = 0xFFFFFF; this.textAlign = "center"; }; }; } } }//package
Section 270
//_weekDayStyleStyle (_weekDayStyleStyle) package { import mx.core.*; import mx.styles.*; public class _weekDayStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".weekDayStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".weekDayStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; this.textAlign = "center"; }; }; } } }//package
Section 271
//_windowStatusStyle (_windowStatusStyle) package { import mx.core.*; import mx.styles.*; public class _windowStatusStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".windowStatus"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".windowStatus", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.color = 0x666666; }; }; } } }//package
Section 272
//_windowStylesStyle (_windowStylesStyle) package { import mx.core.*; import mx.styles.*; public class _windowStylesStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".windowStyles"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".windowStyles", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 273
//bubblebox_submit_score (bubblebox_submit_score) package { import flash.display.*; import flash.events.*; import flash.text.*; import flash.system.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.filters.*; import flash.external.*; import flash.media.*; import flash.accessibility.*; import flash.ui.*; import flash.errors.*; public dynamic class bubblebox_submit_score extends _-A8 { public var hexArray_chr; public var vartext; public var validWeeklyScore; public var validScore; public function bubblebox_submit_score(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } public function ii(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (cmn((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } public function gg(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (cmn((MathbitAND(_arg2, _arg4) | MathbitAND(_arg3, ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } public function cmn(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6){ return (addme(rol(addme(addme(_arg2, _arg1), addme(_arg4, _arg6)), _arg5), _arg3)); } function frame2(){ stop(); } function frame3(){ this.bubblebox_view_score.addEventListener(MouseEvent.CLICK, function (_arg1:Event){ navigateToURL(new URLRequest((("http://www.bubblebox.com/highscores/" + _arg1.currentTarget.parent.bubbleboxGameID) + ".htm")), "_blank"); _arg1.target.parent.dispatchEvent(new Event("viewScores")); }); vartext = ""; validScore = true; validWeeklyScore = true; if (isNaN(this.result_scorepos)){ validScore = false; }; if (isNaN(this.result_scorepos)){ validWeeklyScore = false; }; if ((((validScore == true)) && ((this.result_scorepos <= 1000)))){ vartext = (("Congratulations, you're ranked nr " + this.result_scorepos) + " in the alltime highscores!!"); } else { if ((((validWeeklyScore == true)) && ((this.result_weeklyScorepos <= 1000)))){ vartext = (("Congratulations, you're ranked nr " + this.result_weeklyScorepos) + " in the weekly highscores."); } else { vartext = "Sorry, you did not make it into the weekly or alltime top 1000."; }; }; this.postext.text = vartext; } public function hh(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (cmn(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7)); } function frame1(){ MathbitAND = function (_arg1, _arg2){ var _local3:*; var _local4:*; if ((((_arg1 < 0)) && ((_arg2 < 0)))){ _local3 = ((_arg1 & 1) & (_arg2 & 1)); _local4 = ((_arg1 >>> 1) & (_arg2 >>> 1)); return (((_local4 << 1) | _local3)); }; return ((_arg1 & _arg2)); }; hexArray_chr = "0123456789abcdef"; String.prototype.MD5 = function (){ var _local1:* = this; xArray = str2blks_MD5(_local1); a = 1732584193; b = -271733879; c = -1732584194; d = 271733878; i = 0; while (i < xArray.length) { olda = a; oldb = b; oldc = c; oldd = d; a = ff(a, b, c, d, xArray[(i + 0)], 7, -680876936); d = ff(d, a, b, c, xArray[(i + 1)], 12, -389564586); c = ff(c, d, a, b, xArray[(i + 2)], 17, 606105819); b = ff(b, c, d, a, xArray[(i + 3)], 22, -1044525330); a = ff(a, b, c, d, xArray[(i + 4)], 7, -176418897); d = ff(d, a, b, c, xArray[(i + 5)], 12, 1200080426); c = ff(c, d, a, b, xArray[(i + 6)], 17, -1473231341); b = ff(b, c, d, a, xArray[(i + 7)], 22, -45705983); a = ff(a, b, c, d, xArray[(i + 8)], 7, 1770035416); d = ff(d, a, b, c, xArray[(i + 9)], 12, -1958414417); c = ff(c, d, a, b, xArray[(i + 10)], 17, -42063); b = ff(b, c, d, a, xArray[(i + 11)], 22, -1990404162); a = ff(a, b, c, d, xArray[(i + 12)], 7, 1804603682); d = ff(d, a, b, c, xArray[(i + 13)], 12, -40341101); c = ff(c, d, a, b, xArray[(i + 14)], 17, -1502002290); b = ff(b, c, d, a, xArray[(i + 15)], 22, 1236535329); a = gg(a, b, c, d, xArray[(i + 1)], 5, -165796510); d = gg(d, a, b, c, xArray[(i + 6)], 9, -1069501632); c = gg(c, d, a, b, xArray[(i + 11)], 14, 643717713); b = gg(b, c, d, a, xArray[(i + 0)], 20, -373897302); a = gg(a, b, c, d, xArray[(i + 5)], 5, -701558691); d = gg(d, a, b, c, xArray[(i + 10)], 9, 38016083); c = gg(c, d, a, b, xArray[(i + 15)], 14, -660478335); b = gg(b, c, d, a, xArray[(i + 4)], 20, -405537848); a = gg(a, b, c, d, xArray[(i + 9)], 5, 568446438); d = gg(d, a, b, c, xArray[(i + 14)], 9, -1019803690); c = gg(c, d, a, b, xArray[(i + 3)], 14, -187363961); b = gg(b, c, d, a, xArray[(i + 8)], 20, 1163531501); a = gg(a, b, c, d, xArray[(i + 13)], 5, -1444681467); d = gg(d, a, b, c, xArray[(i + 2)], 9, -51403784); c = gg(c, d, a, b, xArray[(i + 7)], 14, 1735328473); b = gg(b, c, d, a, xArray[(i + 12)], 20, -1926607734); a = hh(a, b, c, d, xArray[(i + 5)], 4, -378558); d = hh(d, a, b, c, xArray[(i + 8)], 11, -2022574463); c = hh(c, d, a, b, xArray[(i + 11)], 16, 1839030562); b = hh(b, c, d, a, xArray[(i + 14)], 23, -35309556); a = hh(a, b, c, d, xArray[(i + 1)], 4, -1530992060); d = hh(d, a, b, c, xArray[(i + 4)], 11, 1272893353); c = hh(c, d, a, b, xArray[(i + 7)], 16, -155497632); b = hh(b, c, d, a, xArray[(i + 10)], 23, -1094730640); a = hh(a, b, c, d, xArray[(i + 13)], 4, 681279174); d = hh(d, a, b, c, xArray[(i + 0)], 11, -358537222); c = hh(c, d, a, b, xArray[(i + 3)], 16, -722521979); b = hh(b, c, d, a, xArray[(i + 6)], 23, 76029189); a = hh(a, b, c, d, xArray[(i + 9)], 4, -640364487); d = hh(d, a, b, c, xArray[(i + 12)], 11, -421815835); c = hh(c, d, a, b, xArray[(i + 15)], 16, 530742520); b = hh(b, c, d, a, xArray[(i + 2)], 23, -995338651); a = ii(a, b, c, d, xArray[(i + 0)], 6, -198630844); d = ii(d, a, b, c, xArray[(i + 7)], 10, 1126891415); c = ii(c, d, a, b, xArray[(i + 14)], 15, -1416354905); b = ii(b, c, d, a, xArray[(i + 5)], 21, -57434055); a = ii(a, b, c, d, xArray[(i + 12)], 6, 1700485571); d = ii(d, a, b, c, xArray[(i + 3)], 10, -1894986606); c = ii(c, d, a, b, xArray[(i + 10)], 15, -1051523); b = ii(b, c, d, a, xArray[(i + 1)], 21, -2054922799); a = ii(a, b, c, d, xArray[(i + 8)], 6, 1873313359); d = ii(d, a, b, c, xArray[(i + 15)], 10, -30611744); c = ii(c, d, a, b, xArray[(i + 6)], 15, -1560198380); b = ii(b, c, d, a, xArray[(i + 13)], 21, 1309151649); a = ii(a, b, c, d, xArray[(i + 4)], 6, -145523070); d = ii(d, a, b, c, xArray[(i + 11)], 10, -1120210379); c = ii(c, d, a, b, xArray[(i + 2)], 15, 718787259); b = ii(b, c, d, a, xArray[(i + 9)], 21, -343485551); a = addme(a, olda); b = addme(b, oldb); c = addme(c, oldc); d = addme(d, oldd); i = (i + 16); }; return ((((rhexArray(a) + rhexArray(b)) + rhexArray(c)) + rhexArray(d))); }; stop(); scoreMc = this; sendBubbleBoxScore = function (_arg1, _arg2:Sprite){ var gameID = _arg1; var root = _arg2; userData = new URLLoader(); var sendStr:* = ((((gameID + "_") + root.score) + "_") + root.bubblebox_name.text); var preHashStr:* = ((((((((((gameID + "_") + "4234232143214421") + "_") + root.score) + "_") + "2537625476251") + "_") + root.bubblebox_name.text) + "_") + "desleutelistessa"); var hashStr:* = preHashStr.MD5(); var data:URLVariables = new URLVariables(((("datastring=" + sendStr) + "&hashstring=") + hashStr)); userData.addEventListener(IOErrorEvent.IO_ERROR, function (_arg1:Event){ scoreMc.gotoAndStop("tryagain"); }); userData.addEventListener(Event.COMPLETE, function (_arg1:Event){ var _local5:String; var _local6:Array; var _local2:* = _arg1.target; var _local3:Array = _local2.data.split("&"); var _local4:Object = {}; for each (_local5 in _local3) { _local6 = _local5.split("="); if (_local6.length == 2){ _local4[_local6[0]] = _local6[1]; }; }; scoreMc.result_scoreID = _local4.id; scoreMc.result_weeklyID = _local4.weekly_id; scoreMc.result_scorepos = _local4.scorepos; scoreMc.result_weeklyScorepos = _local4.weeklyScorepos; scoreMc.gotoAndStop("success"); }); var request:URLRequest = new URLRequest("http://www.bubblebox.com/scripts/insertscore2009.php"); request.method = URLRequestMethod.POST; request.data = data; userData.load(request); }; this.send_btn.addEventListener(MouseEvent.CLICK, function (_arg1:MouseEvent){ var _local2:Sprite = _arg1.target.parent; if (((!((_local2.bubblebox_name.text == "YOUR NAME"))) && ((_local2.bubblebox_name.text.length > 0)))){ trace(_local2.bubbleboxGameID); sendBubbleBoxScore(_local2.bubbleboxGameID, _local2); _local2.gotoAndStop("saving"); _local2.dispatchEvent(new Event("sendScores")); }; }); } function frame4(){ this.try_again.addEventListener(MouseEvent.CLICK, function (_arg1:MouseEvent){ _arg1.currentTarget.parent.gotoAndStop(1); }); } public function ff(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (cmn((MathbitAND(_arg2, _arg3) | MathbitAND(~(_arg2), _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7)); } public function rhexArray(_arg1){ str = ""; j = 0; while (j <= 3) { str = (str + (hexArray_chr.charAt(MathbitAND((_arg1 >> ((j * 8) + 4)), 15)) + hexArray_chr.charAt(MathbitAND((_arg1 >> (j * 8)), 15)))); j++; }; return (str); } public function str2blks_MD5(_arg1){ _arg1 = String(_arg1); nblk = (((_arg1.length + 8) >> 6) + 1); blks = new Array((nblk * 16)); i = 0; while (i < (nblk * 16)) { blks[i] = 0; i++; }; i = 0; while (i < _arg1.length) { blks[(i >> 2)] = (blks[(i >> 2)] | (_arg1.charCodeAt(i) << ((i % 4) * 8))); i++; }; blks[(i >> 2)] = (blks[(i >> 2)] | (128 << ((i % 4) * 8))); blks[((nblk * 16) - 2)] = (_arg1.length * 8); return (blks); } public function rol(_arg1, _arg2){ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } public function addme(_arg1, _arg2){ var _local3:* = (MathbitAND(_arg1, 0xFFFF) + MathbitAND(_arg2, 0xFFFF)); var _local4:* = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16)); return (((_local4 << 16) | MathbitAND(_local3, 0xFFFF))); } } }//package
Section 274
//en_US$core_properties (en_US$core_properties) package { import mx.resources.*; public class en_US$core_properties extends ResourceBundle { public function en_US$core_properties(){ super("en_US", "core"); } override protected function getContent():Object{ var _local1:Object = {multipleChildSets_ClassAndInstance:"Multiple sets of visual children have been specified for this component (component definition and component instance).", truncationIndicator:"...", notExecuting:"Repeater is not executing.", versionAlreadyRead:"Compatibility version has already been read.", multipleChildSets_ClassAndSubclass:"Multiple sets of visual children have been specified for this component (base component definition and derived component definition).", viewSource:"View Source", badFile:"File does not exist.", stateUndefined:"Undefined state '{0}'.", versionAlreadySet:"Compatibility version has already been set."}; return (_local1); } } }//package
Section 275
//en_US$skins_properties (en_US$skins_properties) package { import mx.resources.*; public class en_US$skins_properties extends ResourceBundle { public function en_US$skins_properties(){ super("en_US", "skins"); } override protected function getContent():Object{ var _local1:Object = {notLoaded:"Unable to load '{0}'."}; return (_local1); } } }//package
Section 276
//en_US$styles_properties (en_US$styles_properties) package { import mx.resources.*; public class en_US$styles_properties extends ResourceBundle { public function en_US$styles_properties(){ super("en_US", "styles"); } override protected function getContent():Object{ var _local1:Object = {unableToLoad:"Unable to load style({0}): {1}."}; return (_local1); } } }//package
Section 277
//Main (Main) package { import flash.display.*; import flash.events.*; import flash.geom.*; import flash.net.*; import game.*; import true.*; public class Main extends MovieClip { protected var _-DL:Sprite; protected var _-DK:_-6K; private var _-9b:Class; protected var _-14:Sprite; protected var _-En:Number; protected var _-6r:Sprite; public function Main(){ _-9b = _-IX; super(); if (stage){ _-Ff(); } else { addEventListener(Event.ADDED_TO_STAGE, _-Ff); }; } protected function update(_arg1:Event):void{ var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); if ((_local3 - _-En) >= 5000){ removeEventListener(Event.ENTER_FRAME, update); _-En = _local3; _-6r = new Sprite(); _-6r.graphics.beginFill(0); _-6r.graphics.drawRect(0, 0, 640, 480); _-6r.graphics.endFill(); _-6r.alpha = 0; _-DL.addChild(_-6r); addEventListener(Event.ENTER_FRAME, _-f); }; } protected function _-f(_arg1:Event):void{ var _local2:bubblebox_submit_score; _-6r.alpha = _-EN(_-6r.alpha, 1, 0.15); if (_-6r.alpha >= 0.8){ _-6r.alpha = 0; removeEventListener(Event.ENTER_FRAME, _-f); removeChild(_-DL); _-DL = null; _-DK = new _-6K(); addChild(_-DK); return; }; } public function _-Ff(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, _-Ff); stage.scaleMode = StageScaleMode.NO_SCALE; test(); _-1Y._-3F(this, "7fbe7258"); } protected function _-EN(_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.bubblebox.com/clickreg.php?type=gamestats&id=1785&subid=splash"); navigateToURL(_local2, "_blank"); } protected function _-GN(_arg1:Event):void{ removeChild(_-14); _-14 = null; } public function _-4T():void{ var _local1:Matrix = new Matrix(); _local1.createGradientBox(800, 600, (Math.PI / 2), 0, 0); this.graphics.beginGradientFill(GradientType.LINEAR, [0, 0], [0.9, 0.7], [0, 0xFF], _local1); this.graphics.drawRect(0, 0, 800, 600); this.graphics.endFill(); } public function _-Cq():void{ var _local3:int; var _local1 = 10; this.graphics.lineStyle(1, 0xAAAAAA, 0.25); var _local2:int = (800 / _local1); _local3 = 0; while (_local3 < _local2) { this.graphics.moveTo((_local3 * _local1), 0); this.graphics.lineTo((_local3 * _local1), 600); _local3++; }; _local2 = (600 / _local1); _local3 = 0; while (_local3 < _local2) { this.graphics.moveTo(0, (_local3 * _local1)); this.graphics.lineTo(800, (_local3 * _local1)); _local3++; }; } protected function _-GH(_arg1:Event):void{ var _local2 = 460; var _local3 = 230; _-14.graphics.lineStyle(4, 0xFFFFFF); _-14.graphics.moveTo(_local2, _local3); _-14.graphics.lineTo((_local2 + 10), (_local3 + 10)); _-14.graphics.moveTo(_local2, (_local3 + 10)); _-14.graphics.lineTo((_local2 + 10), _local3); } protected function test():void{ var _local1:Date = new Date(); var _local2:Number = _local1.getTime(); _-En = _local2; var _local3:MovieClip = new _-9b(); _local3.x = 320; _local3.y = 240; _local3.buttonMode = true; _local3.addEventListener(MouseEvent.CLICK, onClick); _-DL = new Sprite(); _-DL.addChild(_local3); addChild(_-DL); _-DL.graphics.beginFill(0); _-DL.graphics.drawRect(0, 0, 640, 480); _-DL.graphics.endFill(); addEventListener(Event.ENTER_FRAME, update); } } }//package
Section 278
//starItem_OnePhoto1 (starItem_OnePhoto1) package { import mx.core.*; public class starItem_OnePhoto1 extends BitmapAsset { } }//package

Library Items

Symbol 1 Bitmap {_-7g._-9d}
Symbol 2 Bitmap {_-7g._-8z}
Symbol 3 GraphicUsed by:6 9 14
Symbol 4 GraphicUsed by:5 6
Symbol 5 MovieClipUses:4Used by:6
Symbol 6 MovieClip {bubblebox_submit_score_fla.bubblebox_try_again_10} [bubblebox_submit_score_fla.bubblebox_try_again_10]Uses:3 4 5Used by:31
Symbol 7 GraphicUsed by:8 9
Symbol 8 MovieClipUses:7Used by:9
Symbol 9 MovieClip {bubblebox_submit_score_fla.bubblebox_view_scores_8} [bubblebox_submit_score_fla.bubblebox_view_scores_8]Uses:3 7 8Used by:31
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:14
Symbol 12 GraphicUsed by:13 31
Symbol 13 MovieClipUses:12Used by:14
Symbol 14 MovieClip {bubblebox_submit_score_fla.bubblebox_saving_5} [bubblebox_submit_score_fla.bubblebox_saving_5]Uses:3 11 13Used by:31
Symbol 15 GraphicUsed by:19
Symbol 16 GraphicUsed by:19
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:19
Symbol 19 MovieClip {bubblebox_submit_score_fla.bubblebox_send_btn_2} [bubblebox_submit_score_fla.bubblebox_send_btn_2]Uses:15 16 18Used by:31
Symbol 20 GraphicUsed by:31
Symbol 21 GraphicUsed by:31
Symbol 22 FontUsed by:23 29
Symbol 23 TextUses:22Used by:31
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:26 31
Symbol 26 MovieClip {bubblebox_submit_score_fla.bblogo_4} [bubblebox_submit_score_fla.bblogo_4]Uses:25Used by:31
Symbol 27 FontUsed by:28 30
Symbol 28 EditableTextUses:27Used by:31
Symbol 29 EditableTextUses:22Used by:31
Symbol 30 EditableTextUses:27Used by:31
Symbol 31 MovieClip {bubblebox_submit_score} [bubblebox_submit_score]Uses:20 21 19 23 26 12 28 14 9 29 6 30 25
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:46 85
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:45
Symbol 36 GraphicUsed by:37 42
Symbol 37 MovieClipUses:36Used by:45
Symbol 38 GraphicUsed by:41
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:41
Symbol 41 MovieClipUses:38 40Used by:42
Symbol 42 MovieClipUses:36 41Used by:45
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:45
Symbol 45 MovieClipUses:35 37 42 44Used by:46
Symbol 46 MovieClip {game._-AM} [game_title]Uses:33 45
Symbol 47 GraphicUsed by:50
Symbol 48 GraphicUsed by:50
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClip {game._-3U} [sign]Uses:47 48 49
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:55
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:55
Symbol 55 MovieClip {game._-5n} [ball_title]Uses:52 54
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClip {game._-2o} [bglogo]Uses:56
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:60
Symbol 60 MovieClip {game._-2h} [fb1]Uses:59
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:63
Symbol 63 MovieClipUses:62Used by:64
Symbol 64 MovieClip {game._-FH} [tw2]Uses:63
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:67
Symbol 67 MovieClipUses:66Used by:68
Symbol 68 MovieClipUses:67Used by:69
Symbol 69 MovieClip {game.continue} [tw3]Uses:68
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:70Used by:72
Symbol 72 MovieClipUses:71Used by:73
Symbol 73 MovieClipUses:72Used by:74
Symbol 74 MovieClip {game.with} [fb3]Uses:73
Symbol 75 Sound {game.soundManager_Sound1} [game.soundManager_Sound1]
Symbol 76 GraphicUsed by:79
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:79
Symbol 79 MovieClip {game._-1u} [sky]Uses:76 78
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:82
Symbol 82 MovieClip {game._-1G} [help_res_buttons]Uses:81
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClip {game._-1N} [back4]Uses:83
Symbol 85 MovieClip {game._-7u} [logo_back]Uses:33
Symbol 86 GraphicUsed by:96
Symbol 87 GraphicUsed by:93
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:91
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:89 90Used by:93 119
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:87 91 92Used by:96
Symbol 94 FontUsed by:95
Symbol 95 TextUses:94Used by:96
Symbol 96 MovieClipUses:86 93 95Used by:97
Symbol 97 MovieClip {game._-CF} [completed]Uses:96
Symbol 98 GraphicUsed by:101
Symbol 99 FontUsed by:100
Symbol 100 TextUses:99Used by:101
Symbol 101 MovieClipUses:98 100Used by:102
Symbol 102 MovieClip {game._-40} [completed2]Uses:101
Symbol 103 FontUsed by:104
Symbol 104 TextUses:103Used by:105
Symbol 105 MovieClip {game._-0e} [select_level]Uses:104
Symbol 106 GraphicUsed by:109
Symbol 107 GraphicUsed by:109
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:106 107 108Used by:112 115
Symbol 110 FontUsed by:111 114
Symbol 111 TextUses:110Used by:112
Symbol 112 MovieClipUses:109 111Used by:113
Symbol 113 MovieClip {game._-0N} [back11]Uses:112
Symbol 114 TextUses:110Used by:115
Symbol 115 MovieClipUses:109 114Used by:116
Symbol 116 MovieClip {game._-Em} [back22]Uses:115
Symbol 117 GraphicUsed by:119
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClip {game._-Hq} [pizdec]Uses:117 91 118
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClip {game._-b} [tile]Uses:120
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClip {game._-5I} [cloud1]Uses:122
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClip {game._-CN} [cloud2]Uses:124
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:128
Symbol 128 MovieClip {game._-49} [cloud3]Uses:127
Symbol 129 Bitmap {starItem_OnePhoto1}
Symbol 130 Bitmap {game._-Hd}
Symbol 131 Bitmap {game._-8t}
Symbol 132 BinaryData {game._-Fo}
Symbol 133 Bitmap {game._-Af}
Symbol 134 Bitmap {game._-0p}
Symbol 135 Bitmap {game._-5u}
Symbol 136 Bitmap {game._-Q}
Symbol 137 Bitmap {game._-4-}
Symbol 138 Bitmap {game._-5L}
Symbol 139 Bitmap {game._-R}
Symbol 140 Bitmap {game._-8-}
Symbol 141 Bitmap {game._-3o}
Symbol 142 Bitmap {game._-5w}
Symbol 143 Bitmap {game._-A3}
Symbol 144 Bitmap {game._-4t}
Symbol 145 Bitmap {game._-Bc}
Symbol 146 Bitmap {game._-4b}
Symbol 147 Bitmap {game._-Fw}
Symbol 148 Bitmap {game._-FX}
Symbol 149 Bitmap {game._-Bn}
Symbol 150 Bitmap {game._-3B}
Symbol 151 MovieClip {_-IX}
Symbol 152 Bitmap {game._-FR}
Symbol 153 Font {game.mainMenu_FontClass1}
Symbol 154 Bitmap {game._-5b}
Symbol 155 Bitmap {game.for}
Symbol 156 Bitmap {game._-4k}
Symbol 157 Bitmap {game._-8n}
Symbol 158 Bitmap {game.case }
Symbol 159 Bitmap {game._-39}
Symbol 160 Bitmap {game._-4Q}
Symbol 161 BinaryData {_-Id}
Symbol 162 BinaryData {game._-Fe}
Symbol 163 Bitmap {game._-6F}
Symbol 164 Bitmap {game._-HN}
Symbol 165 Bitmap {game._-2Z}
Symbol 166 Bitmap {game._-0A}
Symbol 167 Bitmap {game._-Fc}

Instance Names

"send_btn"Symbol 31 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 1Symbol 19 MovieClip {bubblebox_submit_score_fla.bubblebox_send_btn_2} [bubblebox_submit_score_fla.bubblebox_send_btn_2]
"bubblebox_name"Symbol 31 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 1Symbol 28 EditableText
"bubblebox_saving"Symbol 31 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 2Symbol 14 MovieClip {bubblebox_submit_score_fla.bubblebox_saving_5} [bubblebox_submit_score_fla.bubblebox_saving_5]
"bubblebox_view_score"Symbol 31 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 3Symbol 9 MovieClip {bubblebox_submit_score_fla.bubblebox_view_scores_8} [bubblebox_submit_score_fla.bubblebox_view_scores_8]
"postext"Symbol 31 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 3Symbol 29 EditableText
"try_again"Symbol 31 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 4Symbol 6 MovieClip {bubblebox_submit_score_fla.bubblebox_try_again_10} [bubblebox_submit_score_fla.bubblebox_try_again_10]

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1459 bytes "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 1000, ScriptTimeout: 60 seconds
ExportAssets (56)Timeline Frame 2Symbol 6 as "bubblebox_submit_score_fla.bubblebox_try_again_10"
ExportAssets (56)Timeline Frame 2Symbol 9 as "bubblebox_submit_score_fla.bubblebox_view_scores_8"
ExportAssets (56)Timeline Frame 2Symbol 14 as "bubblebox_submit_score_fla.bubblebox_saving_5"
ExportAssets (56)Timeline Frame 2Symbol 19 as "bubblebox_submit_score_fla.bubblebox_send_btn_2"
ExportAssets (56)Timeline Frame 2Symbol 31 as "bubblebox_submit_score"
ExportAssets (56)Timeline Frame 2Symbol 26 as "bubblebox_submit_score_fla.bblogo_4"
ExportAssets (56)Timeline Frame 2Symbol 46 as "game_title"
ExportAssets (56)Timeline Frame 2Symbol 50 as "sign"
ExportAssets (56)Timeline Frame 2Symbol 55 as "ball_title"
ExportAssets (56)Timeline Frame 2Symbol 57 as "bglogo"
ExportAssets (56)Timeline Frame 2Symbol 60 as "fb1"
ExportAssets (56)Timeline Frame 2Symbol 64 as "tw2"
ExportAssets (56)Timeline Frame 2Symbol 69 as "tw3"
ExportAssets (56)Timeline Frame 2Symbol 74 as "fb3"
ExportAssets (56)Timeline Frame 2Symbol 75 as "game.soundManager_Sound1"
ExportAssets (56)Timeline Frame 2Symbol 79 as "sky"
ExportAssets (56)Timeline Frame 2Symbol 82 as "help_res_buttons"
ExportAssets (56)Timeline Frame 2Symbol 84 as "back4"
ExportAssets (56)Timeline Frame 2Symbol 85 as "logo_back"
ExportAssets (56)Timeline Frame 2Symbol 97 as "completed"
ExportAssets (56)Timeline Frame 2Symbol 102 as "completed2"
ExportAssets (56)Timeline Frame 2Symbol 105 as "select_level"
ExportAssets (56)Timeline Frame 2Symbol 113 as "back11"
ExportAssets (56)Timeline Frame 2Symbol 116 as "back22"
ExportAssets (56)Timeline Frame 2Symbol 119 as "pizdec"
ExportAssets (56)Timeline Frame 2Symbol 121 as "tile"
ExportAssets (56)Timeline Frame 2Symbol 123 as "cloud1"
ExportAssets (56)Timeline Frame 2Symbol 125 as "cloud2"
ExportAssets (56)Timeline Frame 2Symbol 128 as "cloud3"
Tag 0x0FF (255)Timeline Frame 11 bytes "."
SerialNumber (41)Timeline Frame 1

Labels

"preloader_preloaderCPMStarBubblebox"Frame 1
"Main"Frame 2
"saving"Symbol 31 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 2
"success"Symbol 31 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 3
"tryagain"Symbol 31 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 4




http://swfchan.com/24/116329/info.shtml
Created: 9/3 -2019 00:01:53 Last modified: 9/3 -2019 00:01:53 Server time: 02/05 -2024 08:44:38