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

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

Slicerix - collide same-colored objects to win.swf

This is the info page for
Flash #90826

(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
//_-I1 ( true._-I1) package true { import flash.display.*; import flash.events.*; import flash.net.*; import flash.system.*; public class _-I1 extends Sprite { private var _-4M:Loader; private var _-2:String; public function _-I1(_arg1:String){ this._-2 = _arg1; addEventListener(Event.ADDED, _-59); } private function _-I4(_arg1:Event):void{ dispatchEvent(_arg1); } private function _-59(_arg1:Event):void{ removeEventListener(Event.ADDED, _-59); Security.allowDomain("server.cpmstar.com"); var _local2 = "http://server.cpmstar.com/adviewas3.swf"; var _local3:DisplayObjectContainer = parent; _-4M = new Loader(); _-4M.contentLoaderInfo.addEventListener(Event.INIT, _-I4); _-4M.contentLoaderInfo.addEventListener(Event.COMPLETE, _-I4); _-4M.load(new URLRequest(((_local2 + "?contentspotid=") + _-2))); addChild(_-4M); } } }//package true
Section 2
//_-3e (_-1x._-3e) package _-1x { import Box2D.Common.Math.*; public class _-3e { private var _-CA:uint;// = 0 private var _-r:uint;// = 0 private var _-HO:uint;// = 0 public function _-3e(_arg1:Number, _arg2:Number, _arg3:Number){ _-CA = uint((0xFF * _-BI._-13(_arg1, 0, 1))); _-r = uint((0xFF * _-BI._-13(_arg2, 0, 1))); _-HO = uint((0xFF * _-BI._-13(_arg3, 0, 1))); } public function Set(_arg1:Number, _arg2:Number, _arg3:Number):void{ _-CA = uint((0xFF * _-BI._-13(_arg1, 0, 1))); _-r = uint((0xFF * _-BI._-13(_arg2, 0, 1))); _-HO = uint((0xFF * _-BI._-13(_arg3, 0, 1))); } public function set b(_arg1:Number):void{ _-HO = uint((0xFF * _-BI._-13(_arg1, 0, 1))); } public function get color():uint{ return (((_-CA | (_-r << 8)) | (_-HO << 16))); } public function set r(_arg1:Number):void{ _-CA = uint((0xFF * _-BI._-13(_arg1, 0, 1))); } public function set g(_arg1:Number):void{ _-r = uint((0xFF * _-BI._-13(_arg1, 0, 1))); } } }//package _-1x
Section 3
//_-IN (_-1x._-IN) package _-1x { import Box2D.Common.Math.*; public class _-IN { public static const return:Number = 0.0111111111111111; public static const _-AX:Number = 0.01; public static const _-C8:Number = 0.0349065850398866; public static const _-Ay:Number = 0.005; public static const _-C6:Number = 3.14159265358979; public static const _-2r:int = 0x0200; public static const _-GG:Number = 62500; public static const _-41:int = 8; public static const _-7u:Number = 1; public static const _-3m:Number = 0.2; public static const _-Dd:int = 4096; public static const _-D1:int = 32; public static const _-3J:Number = 0.5; public static const _-76:int = 2; public static const _-6q:Number = 250; public static const _-0u:Number = 0.139626340159546; public static const _-A5:int = 0xFFFF; public static const _-4z:Number = 200; public static const _-67:Number = 0.2; public static const _-8N:Number = 0.04; public static const _-AM:Number = 40000; public static function _-1S(_arg1:Boolean):void{ var _local2:b2Vec2; if (!_arg1){ _local2.x++; }; } } }//package _-1x
Section 4
//_-99 (_-2k._-99) package _-2k { import flash.display.*; import flash.events.*; import game.*; import true.*; import flash.filters.*; import flash.utils.*; public class _-99 extends MovieClip { protected var _-7D:Number; protected var sprite:_-Dw; protected var _-43:_-I1; private var _-0N:Class; protected var _-B1:Sprite; public function _-99(){ var _local4:_-CW; var _local5:GlowFilter; _-0N = _-Al; super(); stop(); stage.scaleMode = StageScaleMode.NO_SCALE; var _local1:Sprite = new Sprite(); _local1.graphics.lineStyle(); _local1.graphics.beginFill(0); _local1.graphics.drawRect(0, 0, 640, 480); _local1.graphics.endFill(); addChild(_local1); var _local2:Sprite = new Sprite(); addChild(_local2); _-B1 = new Sprite(); addChild(_-B1); sprite = new _-Dw(_-5m); addChild(sprite); sprite.x = 0; sprite.y = 0; var _local3:Date = new Date(); _-7D = _local3.getTime(); addEventListener(Event.ENTER_FRAME, _-IW); if (!_-4P(["www8.agame.com", "3.xiaoyouxi.cn", "files.game.com.cn", "files.game.asia", "agame.com", "cdn.kaisergames.de", "andkon.com", "gamezhero.com", "freeonlinegames.com", "spielfreudig.de"])){ _-43 = new _-I1("2168Q5A86C1A9"); _-43.x = 180; _-43.y = 100; addChild(_-43); } else { _local4 = new _-CW(); _local5 = new GlowFilter(16777130); _local4.filters = [_local5]; _local2.addChild(_local4); }; } function _-Cp(_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) { _-B1.graphics.moveTo(_local11, _local12); _-B1.graphics.lineTo((_local11 + (Math.cos(_local14) * _arg5)), (_local12 + (Math.sin(_local14) * _arg5))); _local11 = (_local11 + _local8); _local12 = (_local12 + _local9); _local15++; }; _-B1.graphics.moveTo(_local11, _local12); _local13 = Math.sqrt((((_arg3 - _local11) * (_arg3 - _local11)) + ((_arg4 - _local12) * (_arg4 - _local12)))); if (_local13 > _arg5){ _-B1.graphics.lineTo((_local11 + (Math.cos(_local14) * _arg5)), (_local12 + (Math.sin(_local14) * _arg5))); } else { if (_local13 > 0){ _-B1.graphics.lineTo((_local11 + (Math.cos(_local14) * _local13)), (_local12 + (Math.sin(_local14) * _local13))); }; }; _-B1.graphics.moveTo(_arg3, _arg4); } public function _-4P(_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 _-9o():void{ sprite._-p(); } public function _-IW(_arg1:Event):void{ var _local4:Number; var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); if ((((framesLoaded == totalFrames)) && (((_local3 - _-7D) > 5000)))){ removeEventListener(Event.ENTER_FRAME, _-IW); nextFrame(); _-9o(); } else { _local4 = (root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal); _-B1.graphics.clear(); _-B1.graphics.lineStyle(2, 0xFFFFFF); _-Cp(20, 380, (600 * _local4), 380, 10, 15); _-Cp(20, 400, (600 * _local4), 400, 10, 15); _-B1.graphics.moveTo(20, 380); _-B1.graphics.lineTo(20, 400); _-B1.graphics.moveTo((600 * _local4), 380); _-B1.graphics.lineTo((600 * _local4), 400); _-B1.graphics.endFill(); }; } private function _-5m(_arg1:MouseEvent):void{ var _local2:Class = Class(getDefinitionByName("Main")); var _local3:DisplayObject = new (_local2); parent.addChild(_local3); sprite._-EC(); removeChild(sprite); sprite = null; parent.removeChild(this); } } }//package _-2k
Section 5
//_-Al (_-2k._-Al) package _-2k { import mx.core.*; public class _-Al extends BitmapAsset { } }//package _-2k
Section 6
//_-Dw (_-2k._-Dw) package _-2k { import flash.display.*; import flash.events.*; import true.*; public class _-Dw extends Sprite { protected var _-43:_-I1; protected var _-5K:Function; private var _-0N:Class; protected var _-4I:SimpleButton; public function _-Dw(_arg1:Function){ _-0N = function; super(); _-5K = _arg1; } protected function update(_arg1:Event):void{ _-4I.y = _-Ba(_-4I.y, 410, 0.1); if (_-4I.y <= 409){ _-4I.y = 410; }; } public function _-EC():void{ removeEventListener(Event.ENTER_FRAME, update); } protected function _-Ba(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return ((_arg1 + (_arg3 * (_arg2 - _arg1)))); } public function _-p():void{ var _local1:DisplayObject = new _-0N(); _-4I = new SimpleButton(_local1, _local1, _local1, _local1); _-4I.x = ((640 - _local1.width) / 2); _-4I.y = 480; _-4I.alpha = 1; _-4I.addEventListener(MouseEvent.CLICK, _-5K); addChild(_-4I); addEventListener(Event.ENTER_FRAME, update); } } }//package _-2k
Section 7
//function (_-2k.function) package _-2k { import mx.core.*; public class function extends BitmapAsset { } }//package _-2k
Section 8
//_-3G (_-4b._-3G) package _-4b { import flash.display.*; import flash.system.*; import flash.net.*; public dynamic class _-3G extends Sprite { public static function _-Cr(_arg1:Sprite, _arg2:String):_-3G{ if (Security.sandboxType == "localWithFile"){ return (null); }; var _local3:_-3G = new (_-3G); _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 _-4b
Section 9
//_-CR (_-4b._-CR) package _-4b { import flash.display.*; import Box2D.Common.Math.*; import flash.events.*; public class _-CR extends Sprite { protected var create_time:Number; protected var _-Gd:b2Vec2; protected var radius:b2Vec2; protected var _-GX:int; public function _-CR(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:int){ _-Gd = new b2Vec2(_arg1, _arg2); radius = new b2Vec2(_arg3, _arg4); create_time = new Date().getTime(); _-GX = _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) / _-GX); var _local4:Number = (radius.x + ((radius.y - radius.x) * _local3)); this.x = (_-Gd.x - _local4); this.y = (_-Gd.y - _local4); this.graphics.clear(); this.graphics.lineStyle(8, 0); this.graphics.drawCircle(_local4, _local4, _local4); } } }//package _-4b
Section 10
//_-0P (_-CG._-0P) package _-CG { public class _-0P { public function _-A(_arg1:_-h):void{ } } }//package _-CG
Section 11
//_-11 (_-CG._-11) package _-CG { import Box2D.Collision.*; import _-HM.*; public class _-11 { public function Add(_arg1:_-Bc):void{ } public function _-9P(_arg1:_-Bc):void{ } public function _-2X(_arg1:_-Bc):void{ } public function _-39(_arg1:_-1G):void{ } } }//package _-CG
Section 12
//_-25 (_-CG._-25) package _-CG { import _-Cx.*; public class _-25 { public static var package:_-25 = new (_-25); ; public function _-GM(_arg1:_-4A, _arg2:_-4A):Boolean{ var _local3:_-FQ = _arg1._-GU(); var _local4:_-FQ = _arg2._-GU(); if ((((_local3._-Db == _local4._-Db)) && (!((_local3._-Db == 0))))){ return ((_local3._-Db > 0)); }; var _local5:Boolean = ((!(((_local3._-HU & _local4._-HJ) == 0))) && (!(((_local3._-HJ & _local4._-HU) == 0)))); return (_local5); } public function _-Ah(_arg1, _arg2:_-4A):Boolean{ if (!_arg1){ return (true); }; return (_-GM((_arg1 as _-4A), _arg2)); } } }//package _-CG
Section 13
//_-3j (_-CG._-3j) package _-CG { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-Cx.*; import _-HM.*; public class _-3j extends _-EP { public var m_world:_-Do; public var _-0f:Boolean; public var _-U:_-2T; private static const _-9f:_-Bc = new _-Bc(); public function _-3j(){ _-U = new _-2T(); super(); m_world = null; _-0f = false; } override public function PairRemoved(_arg1, _arg2, _arg3):void{ if (_arg3 == null){ return; }; var _local4:_-92 = (_arg3 as _-92); if (_local4 == _-U){ return; }; _-2d(_local4); } public function _-2d(_arg1:_-92):void{ var _local7:_-h; var _local8:_-h; var _local9:Array; var _local10:_-Bc; var _local11:int; var _local12:_-2D; var _local13:int; var _local14:_-7c; var _local15:b2Vec2; var _local16:b2Vec2; var _local2:_-4A = _arg1._-4-; var _local3:_-4A = _arg1._-04; var _local4:int = _arg1._-CJ; if ((((_local4 > 0)) && (m_world._-HP))){ _local7 = _local2.m_body; _local8 = _local3.m_body; _local9 = _arg1.GetManifolds(); _local10 = _-9f; _local10.shape1 = _arg1._-4-; _local10.shape2 = _arg1._-4-; _local10._-H8 = _arg1._-Ch; _local10._-Ak = _arg1._-8q; _local11 = 0; while (_local11 < _local4) { _local12 = _local9[_local11]; _local10.normal._-56(_local12.normal); _local13 = 0; while (_local13 < _local12._-8L) { _local14 = _local12.points[_local13]; _local10.position = _local7.GetWorldPoint(_local14._-03); _local15 = _local7._-Cu(_local14._-03); _local16 = _local8._-Cu(_local14._-GS); _local10._-n.Set((_local16.x - _local15.x), (_local16.y - _local15.y)); _local10._-4O = _local14._-4O; _local10.id.key = _local14.id._-77; m_world._-HP._-9P(_local10); _local13++; }; _local11++; }; }; if (_arg1._-Fw){ _arg1._-Fw._-HY = _arg1._-HY; }; if (_arg1._-HY){ _arg1._-HY._-Fw = _arg1._-Fw; }; if (_arg1 == m_world._-7t){ m_world._-7t = _arg1._-HY; }; var _local5:_-h = _local2.m_body; var _local6:_-h = _local3.m_body; if (_arg1._-DN._-D3){ _arg1._-DN._-D3.next = _arg1._-DN.next; }; if (_arg1._-DN.next){ _arg1._-DN.next._-D3 = _arg1._-DN._-D3; }; if (_arg1._-DN == _local5._-7t){ _local5._-7t = _arg1._-DN.next; }; if (_arg1._-E1._-D3){ _arg1._-E1._-D3.next = _arg1._-E1.next; }; if (_arg1._-E1.next){ _arg1._-E1.next._-D3 = _arg1._-E1._-D3; }; if (_arg1._-E1 == _local6._-7t){ _local6._-7t = _arg1._-E1.next; }; _-92._-2d(_arg1, m_world._-3v); m_world._-4H--; } override public function PairAdded(_arg1, _arg2){ var _local5:_-h; var _local3:_-4A = (_arg1 as _-4A); var _local4:_-4A = (_arg2 as _-4A); _local5 = _local3.m_body; var _local6:_-h = _local4.m_body; if (((_local5.IsStatic()) && (_local6.IsStatic()))){ return (_-U); }; if (_local3.m_body == _local4.m_body){ return (_-U); }; if (_local6._-0H(_local5)){ return (_-U); }; if (((!((m_world._-7C == null))) && ((m_world._-7C._-GM(_local3, _local4) == false)))){ return (_-U); }; var _local7:_-92 = _-92._-Hg(_local3, _local4, m_world._-3v); if (_local7 == null){ return (_-U); }; _local3 = _local7._-4-; _local4 = _local7._-04; _local5 = _local3.m_body; _local6 = _local4.m_body; _local7._-Fw = null; _local7._-HY = m_world._-7t; if (m_world._-7t != null){ m_world._-7t._-Fw = _local7; }; m_world._-7t = _local7; _local7._-DN._-CH = _local7; _local7._-DN._-9s = _local6; _local7._-DN._-D3 = null; _local7._-DN.next = _local5._-7t; if (_local5._-7t != null){ _local5._-7t._-D3 = _local7._-DN; }; _local5._-7t = _local7._-DN; _local7._-E1._-CH = _local7; _local7._-E1._-9s = _local5; _local7._-E1._-D3 = null; _local7._-E1.next = _local6._-7t; if (_local6._-7t != null){ _local6._-7t._-D3 = _local7._-E1; }; _local6._-7t = _local7._-E1; m_world._-4H++; return (_local7); } public function _-IM():void{ var _local2:_-h; var _local3:_-h; var _local1:_-92 = m_world._-7t; while (_local1) { _local2 = _local1._-4-.m_body; _local3 = _local1._-04.m_body; if (((_local2.IsSleeping()) && (_local3.IsSleeping()))){ } else { _local1._-8H(m_world._-HP); }; _local1 = _local1._-HY; }; } } }//package _-CG
Section 14
//_-6F (_-CG._-6F) package _-CG { public class _-6F { public var _-Gq:Boolean; public var _-AO:Boolean; public var _-8f:Number; public var _-FO:int; public var _-62:Number; public var _-49:Number; } }//package _-CG
Section 15
//_-AC (_-CG._-AC) package _-CG { import Box2D.Common.Math.*; import _-Cx.*; public class _-AC { public var _-6D:Number; public var angle:Number; public var _-5h:Boolean; public var position:b2Vec2; public var _-7a:Boolean; public var _-8Z:Boolean; public var userData; public var _-8V:Boolean; public var each:Number; public var _-A6:_-4t; public function _-AC(){ _-A6 = new _-4t(); position = new b2Vec2(); super(); _-A6.center._-0t(); _-A6._-0z = 0; _-A6._-E8 = 0; userData = null; position.Set(0, 0); angle = 0; each = 0; _-6D = 0; _-8Z = true; _-5h = false; _-8V = false; _-7a = false; } } }//package _-CG
Section 16
//_-Bo (_-CG._-Bo) package _-CG { import _-Cx.*; import var .*; public class _-Bo { public function _-3l(_arg1:_-4A):void{ } public function _-38(_arg1:_-EH):void{ } } }//package _-CG
Section 17
//_-Do (_-CG._-Do) package _-CG { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-Cx.*; import _-HM.*; import var .*; public class _-Do { public var _-AT:Number; public var _-Aq:_-0P; public var _-7t:_-92; public var _-3v; public var _-HP:_-11; public var _-IK:_-AY; public var _-D6: if; public var _-3x:_-Bo; public var _-Ht:int; public var _-9w:Boolean; public var _-9c:int; public var _-B5; public var _-50:Boolean; public var _-9r:int; public var m_groundBody:_-h; public var _-4H:int; public var _-H7:b2Vec2; public var _-7C:_-25; public var _-F5:_-h; public var _-5t:_-E7; public var _-EZ; public var _-4L:_-EH; public var _-E4:b2Vec2; public var _-0J:_-3j; private static var _-1b:_-3e = new _-3e(0.5, 0.8, 0.8); public static var _-51:Boolean; public static var _-1H:Boolean; private static var _-De:_-3e = new _-3e(0.9, 0.6, 0.6); public static var _-01:Boolean; private static var _-V:_-AJ = new _-AJ(); public function _-Do(_arg1:final, _arg2:b2Vec2, _arg3:Boolean){ _-H7 = new b2Vec2(); _-0J = new _-3j(); super(); _-3x = null; _-Aq = null; _-7C = _-25.package; _-HP = null; _-5t = null; _-F5 = null; _-7t = null; _-4L = null; _-9c = 0; _-4H = 0; _-Ht = 0; _-01 = true; _-1H = true; _-51 = true; _-50 = _arg3; _-E4 = _arg2; _-9w = false; _-AT = 0; _-0J.m_world = this; _-D6 = new if(_arg1, _-0J); var _local4:_-AC = new _-AC(); m_groundBody = _-Fy(_local4); } public function _-3W(_arg1:_-EH):void{ var _local11:case; var _local12:b2Vec2; var _local13:b2Vec2; var _local2:_-h = _arg1._-0U; var _local3:_-h = _arg1._-e; var _local4:_-AJ = _local2.m_xf; var _local5:_-AJ = _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:_-3e = _-1b; switch (_arg1.m_type){ case _-EH._-8Q: _-5t._-G8(_local8, _local9, _local10); break; case _-EH._-CF: _local11 = (_arg1 as case); _local12 = _local11._-q(); _local13 = _local11._-9n(); _-5t._-G8(_local12, _local8, _local10); _-5t._-G8(_local13, _local9, _local10); _-5t._-G8(_local12, _local13, _local10); break; case _-EH._-g: _-5t._-G8(_local8, _local9, _local10); break; default: if (_local2 != m_groundBody){ _-5t._-G8(_local6, _local8, _local10); }; _-5t._-G8(_local8, _local9, _local10); if (_local3 != m_groundBody){ _-5t._-G8(_local7, _local9, _local10); }; }; } public function _-Et(_arg1:_-4A):void{ _arg1._-7i(_-D6, _arg1.m_body.m_xf); } public function _-Gf(_arg1:_-E7):void{ _-5t = _arg1; } public function _-4E(_arg1:Boolean):void{ _-51 = _arg1; } public function _-Gg():int{ return (_-D6._-F0); } public function _-3d():void{ var _local2:int; var _local3:_-h; var _local4:_-4A; var _local5:_-EH; var _local6: if; var _local11:_-AJ; var _local15:Boolean; var _local16:uint; var _local17:_-8U; var _local18:_-7Z; var _local19:_-7Z; var _local20:b2Vec2; var _local21:b2Vec2; var _local22:_-7Z; var _local23:_-CC; var _local24:_-Ic; var _local25:b2Vec2; var _local26:_-8y; var _local27:b2Vec2; var _local28:Number; if (_-5t == null){ return; }; _-5t._-1R.graphics.clear(); var _local1:uint = _-5t._-2P(); var _local7:b2Vec2 = new b2Vec2(); var _local8:b2Vec2 = new b2Vec2(); var _local9:b2Vec2 = new b2Vec2(); var _local10:_-3e = new _-3e(0, 0, 0); var _local12:final = new final(); var _local13:final = new final(); var _local14:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2(), new b2Vec2()]; if ((_local1 & _-E7._-8m)){ _local15 = ((_local1 & _-E7._-He) == _-E7._-He); _local3 = _-F5; while (_local3) { _local11 = _local3.m_xf; _local4 = _local3._-02(); while (_local4) { if (_local3.IsStatic()){ _-3X(_local4, _local11, new _-3e(0.5, 0.9, 0.5), _local15); } else { if (_local3.IsSleeping()){ _-3X(_local4, _local11, new _-3e(0.5, 0.5, 0.9), _local15); } else { _-3X(_local4, _local11, new _-3e(0.9, 0.9, 0.9), _local15); }; }; _local4 = _local4._-HY; }; _local3 = _local3._-HY; }; }; if ((_local1 & _-E7._-7h)){ _local5 = _-4L; while (_local5) { _-3W(_local5); _local5 = _local5._-HY; }; }; if ((_local1 & _-E7._-4X)){ _local6 = _-D6; _local7.Set((1 / _local6._-9U.x), (1 / _local6._-9U.y)); _local10.Set(0.9, 0.9, 0.3); _local2 = 0; while (_local2 < _-8U._-9a) { _local16 = _local6._-AF._-IC[_local2]; while (_local16 != _-8U._-0C) { _local17 = _local6._-AF._-4c[_local16]; _local18 = _local6.do [_local17.proxyId1]; _local19 = _local6.do [_local17.proxyId2]; _local12._-Hy.x = (_local6._-Fi._-Hy.x + (_local7.x * _local6._-GK[0][_local18._-3V[0]].value)); _local12._-Hy.y = (_local6._-Fi._-Hy.y + (_local7.y * _local6._-GK[1][_local18._-3V[1]].value)); _local12._-7A.x = (_local6._-Fi._-Hy.x + (_local7.x * _local6._-GK[0][_local18._-2b[0]].value)); _local12._-7A.y = (_local6._-Fi._-Hy.y + (_local7.y * _local6._-GK[1][_local18._-2b[1]].value)); _local13._-Hy.x = (_local6._-Fi._-Hy.x + (_local7.x * _local6._-GK[0][_local19._-3V[0]].value)); _local13._-Hy.y = (_local6._-Fi._-Hy.y + (_local7.y * _local6._-GK[1][_local19._-3V[1]].value)); _local13._-7A.x = (_local6._-Fi._-Hy.x + (_local7.x * _local6._-GK[0][_local19._-2b[0]].value)); _local13._-7A.y = (_local6._-Fi._-Hy.y + (_local7.y * _local6._-GK[1][_local19._-2b[1]].value)); _local8.x = (0.5 * (_local12._-Hy.x + _local12._-7A.x)); _local8.y = (0.5 * (_local12._-Hy.y + _local12._-7A.y)); _local9.x = (0.5 * (_local13._-Hy.x + _local13._-7A.x)); _local9.y = (0.5 * (_local13._-Hy.y + _local13._-7A.y)); _-5t._-G8(_local8, _local9, _local10); _local16 = _local17.next; }; _local2++; }; }; if ((_local1 & _-E7._-EY)){ _local6 = _-D6; _local20 = _local6._-Fi._-Hy; _local21 = _local6._-Fi._-7A; _local7.Set((1 / _local6._-9U.x), (1 / _local6._-9U.y)); _local10.Set(0.9, 0.3, 0.9); _local2 = 0; while (_local2 < _-IN._-2r) { _local22 = _local6.do [_local2]; if (_local22._-Gh() == false){ } else { _local12._-Hy.x = (_local20.x + (_local7.x * _local6._-GK[0][_local22._-3V[0]].value)); _local12._-Hy.y = (_local20.y + (_local7.y * _local6._-GK[1][_local22._-3V[1]].value)); _local12._-7A.x = (_local20.x + (_local7.x * _local6._-GK[0][_local22._-2b[0]].value)); _local12._-7A.y = (_local20.y + (_local7.y * _local6._-GK[1][_local22._-2b[1]].value)); _local14[0].Set(_local12._-Hy.x, _local12._-Hy.y); _local14[1].Set(_local12._-7A.x, _local12._-Hy.y); _local14[2].Set(_local12._-7A.x, _local12._-7A.y); _local14[3].Set(_local12._-Hy.x, _local12._-7A.y); _-5t._-D9(_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); _-5t._-D9(_local14, 4, new _-3e(0.3, 0.9, 0.9)); }; if ((_local1 & _-E7._-Ew)){ _local10.Set(0.5, 0.3, 0.5); _local3 = _-F5; while (_local3) { _local11 = _local3.m_xf; _local4 = _local3._-02(); while (_local4) { if (_local4.m_type != _-4A._-1E){ } else { _local23 = (_local4 as _-CC); _local24 = _local23._-CX(); _local25 = _local24._-28; _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._-2I.x * _local27.x) + (_local26._-1.x * _local27.y))); _local14[_local2].y = (_local24.center.y + ((_local26._-2I.y * _local27.x) + (_local26._-1.y * _local27.y))); _local14[_local2].x = _local28; _local26 = _local11.R; _local28 = (_local11.position.x + ((_local26._-2I.x * _local27.x) + (_local26._-1.x * _local27.y))); _local14[_local2].y = (_local11.position.y + ((_local26._-2I.y * _local27.x) + (_local26._-1.y * _local27.y))); _local14[_local2].x = _local28; _local2++; }; _-5t._-D9(_local14, 4, _local10); }; _local4 = _local4._-HY; }; _local3 = _local3._-HY; }; }; if ((_local1 & _-E7._-E6)){ _local3 = _-F5; while (_local3) { _local11 = _-V; _local11.R = _local3.m_xf.R; _local11.position = _local3._-0S(); _-5t._-8B(_local11); _local3 = _local3._-HY; }; }; } public function _-9g(_arg1:_-h):void{ var _local4:_-DH; var _local5:_-4A; if (_-9w == true){ return; }; var _local2:_-DH = _arg1._-4L; while (_local2) { _local4 = _local2; _local2 = _local2.next; if (_-3x){ _-3x._-38(_local4._-10); }; _-3H(_local4._-10); }; var _local3:_-4A = _arg1._-IJ; while (_local3) { _local5 = _local3; _local3 = _local3._-HY; if (_-3x){ _-3x._-3l(_local5); }; _local5._-5f(_-D6); _-4A._-2d(_local5, _-3v); }; if (_arg1._-Fw){ _arg1._-Fw._-HY = _arg1._-HY; }; if (_arg1._-HY){ _arg1._-HY._-Fw = _arg1._-Fw; }; if (_arg1 == _-F5){ _-F5 = _arg1._-HY; }; _-9c--; } public function _-3X(_arg1:_-4A, _arg2:_-AJ, _arg3:_-3e, _arg4:Boolean):void{ var _local6:_-7R; var _local7:b2Vec2; var _local8:Number; var _local9:b2Vec2; var _local10:int; var _local11:_-CC; var _local12:int; var _local13:Array; var _local14:Array; var _local15:Array; var _local5:_-3e = _-De; switch (_arg1.m_type){ case _-4A._-79: _local6 = (_arg1 as _-7R); _local7 = _-BI._-Df(_arg2, _local6._-5M); _local8 = _local6._-IQ; _local9 = _arg2.R._-2I; _-5t._-6r(_local7, _local8, _local9, _arg3); if (_arg4){ _-5t._-IR(_local7, (_local8 - _-IN._-8N), _local5); }; break; case _-4A._-1E: _local11 = (_arg1 as _-CC); _local12 = _local11.case (); _local13 = _local11._-F(); _local14 = new Array(_-IN._-41); _local10 = 0; while (_local10 < _local12) { _local14[_local10] = _-BI._-Df(_arg2, _local13[_local10]); _local10++; }; _-5t._-Cl(_local14, _local12, _arg3); if (_arg4){ _local15 = _local11._-HH(); _local10 = 0; while (_local10 < _local12) { _local14[_local10] = _-BI._-Df(_arg2, _local15[_local10]); _local10++; }; _-5t._-D9(_local14, _local12, _local5); }; break; }; } public function _-G7():_-h{ return (m_groundBody); } public function _-1c(_arg1:_-25):void{ _-7C = _arg1; } public function _-G9(_arg1:_-6F):void{ var _local2:_-h; var _local9:int; var _local10:int; var _local11:_-h; var _local12:_-G; var _local13:_-DH; var _local14:Boolean; _-9r = 0; var _local3:_-f = new _-f(_-9c, _-4H, _-Ht, _-EZ, _-HP); _local2 = _-F5; while (_local2) { _local2._-6z = (_local2._-6z & ~(_-h._-5g)); _local2 = _local2._-HY; }; var _local4:_-92 = _-7t; while (_local4) { _local4._-6z = (_local4._-6z & ~(_-92._-5g)); _local4 = _local4._-HY; }; var _local5:_-EH = _-4L; while (_local5) { _local5._-5u = false; _local5 = _local5._-HY; }; var _local6:int = _-9c; var _local7:Array = new Array(_local6); var _local8:_-h = _-F5; while (_local8) { if ((_local8._-6z & ((_-h._-5g | _-h._-Hl) | _-h._-BU))){ } else { if (_local8.IsStatic()){ } else { _local3._-C5(); _local9 = 0; var _temp1 = _local9; _local9 = (_local9 + 1); var _local15 = _temp1; _local7[_local15] = _local8; _local8._-6z = (_local8._-6z | _-h._-5g); while (_local9 > 0) { --_local9; _local2 = _local7[_local9]; _local3._-En(_local2); _local2._-6z = (_local2._-6z & ~(_-h._-Hl)); if (_local2.IsStatic()){ } else { _local12 = _local2._-7t; while (_local12) { if ((_local12._-CH._-6z & (_-92._-5g | _-92._-5I))){ } else { if (_local12._-CH._-CJ == 0){ } else { _local3._-DG(_local12._-CH); _local12._-CH._-6z = (_local12._-CH._-6z | _-92._-5g); _local11 = _local12._-9s; if ((_local11._-6z & _-h._-5g)){ } else { var _temp2 = _local9; _local9 = (_local9 + 1); var _local16 = _temp2; _local7[_local16] = _local11; _local11._-6z = (_local11._-6z | _-h._-5g); }; }; }; _local12 = _local12.next; }; _local13 = _local2._-4L; while (_local13) { if (_local13._-10._-5u == true){ } else { _local3.var(_local13._-10); _local13._-10._-5u = true; _local11 = _local13._-9s; if ((_local11._-6z & _-h._-5g)){ } else { var _temp3 = _local9; _local9 = (_local9 + 1); _local16 = _temp3; _local7[_local16] = _local11; _local11._-6z = (_local11._-6z | _-h._-5g); }; }; _local13 = _local13.next; }; }; }; _local3._-G9(_arg1, _-E4, _-01, _-50); if (_local3._-9r > _-9r){ _-9r = _local3._-9r; }; _local10 = 0; while (_local10 < _local3._-9c) { _local2 = _local3._-8Y[_local10]; if (_local2.IsStatic()){ _local2._-6z = (_local2._-6z & ~(_-h._-5g)); }; _local10++; }; }; }; _local8 = _local8._-HY; }; _local2 = _-F5; while (_local2) { if ((_local2._-6z & (_-h._-Hl | _-h._-BU))){ } else { if (_local2.IsStatic()){ } else { _local14 = _local2._-0-(); if ((((_local14 == false)) && (!((_-Aq == null))))){ _-Aq._-A(_local2); }; }; }; _local2 = _local2._-HY; }; _-D6._-B9(); } public function _-5F(_arg1:final, _arg2:Array, _arg3:int):int{ var _local4:Array = new Array(_arg3); var _local5:int = _-D6._-b(_arg1, _local4, _arg3); var _local6:int; while (_local6 < _local5) { _arg2[_local6] = _local4[_local6]; _local6++; }; return (_local5); } public function _-5n():int{ return (_-4H); } public function _-8r(_arg1:_-6F):void{ var _local2:_-h; var _local3:_-4A; var _local4:_-4A; var _local5:_-h; var _local6:_-h; var _local7:_-G; var _local11:_-92; var _local12:_-92; var _local13:Number; var _local14:_-h; var _local15:int; var _local16:_-6F; var _local17:int; var _local18:Number; var _local19:Number; var _local20:_-h; var _local21:Boolean; var _local8:_-f = new _-f(_-9c, _-IN._-D1, 0, _-EZ, _-HP); var _local9:int = _-9c; var _local10:Array = new Array(_local9); _local2 = _-F5; while (_local2) { _local2._-6z = (_local2._-6z & ~(_-h._-5g)); _local2.m_sweep._-0W = 0; _local2 = _local2._-HY; }; _local11 = _-7t; while (_local11) { _local11._-6z = (_local11._-6z & ~((_-92._-9Q | _-92._-5g))); _local11 = _local11._-HY; }; while (true) { _local12 = null; _local13 = 1; _local11 = _-7t; for (;_local11;(_local11 = _local11._-HY)) { if ((_local11._-6z & (_-92._-6V | _-92._-5I))){ } else { _local18 = 1; if ((_local11._-6z & _-92._-9Q)){ _local18 = _local11._-5Q; } else { _local3 = _local11._-4-; _local4 = _local11._-04; _local5 = _local3.m_body; _local6 = _local4.m_body; if (((((_local5.IsStatic()) || (_local5.IsSleeping()))) && (((_local6.IsStatic()) || (_local6.IsSleeping()))))){ continue; }; _local19 = _local5.m_sweep._-0W; if (_local5.m_sweep._-0W < _local6.m_sweep._-0W){ _local19 = _local6.m_sweep._-0W; _local5.m_sweep._-9T(_local19); } else { if (_local6.m_sweep._-0W < _local5.m_sweep._-0W){ _local19 = _local5.m_sweep._-0W; _local6.m_sweep._-9T(_local19); }; }; _local18 = _-Cs._-2e(_local11._-4-, _local5.m_sweep, _local11._-04, _local6.m_sweep); if ((((_local18 > 0)) && ((_local18 < 1)))){ _local18 = (((1 - _local18) * _local19) + _local18); if (_local18 > 1){ _local18 = 1; }; }; _local11._-5Q = _local18; _local11._-6z = (_local11._-6z | _-92._-9Q); }; if ((((Number.MIN_VALUE < _local18)) && ((_local18 < _local13)))){ _local12 = _local11; _local13 = _local18; }; }; }; if ((((_local12 == null)) || (((1 - (100 * Number.MIN_VALUE)) < _local13)))){ break; }; _local3 = _local12._-4-; _local4 = _local12._-04; _local5 = _local3.m_body; _local6 = _local4.m_body; _local5._-9T(_local13); _local6._-9T(_local13); _local12._-8H(_-HP); _local12._-6z = (_local12._-6z & ~(_-92._-9Q)); if (_local12._-CJ == 0){ } else { _local14 = _local5; if (_local14.IsStatic()){ _local14 = _local6; }; _local8._-C5(); _local15 = 0; var _temp1 = _local15; _local15 = (_local15 + 1); var _local22 = _temp1; _local10[_local22] = _local14; _local14._-6z = (_local14._-6z | _-h._-5g); while (_local15 > 0) { --_local15; _local2 = _local10[_local15]; _local8._-En(_local2); _local2._-6z = (_local2._-6z & ~(_-h._-Hl)); if (_local2.IsStatic()){ } else { _local7 = _local2._-7t; while (_local7) { if (_local8._-4H == _local8._-AI){ } else { if ((_local7._-CH._-6z & ((_-92._-5g | _-92._-6V) | _-92._-5I))){ } else { if (_local7._-CH._-CJ == 0){ } else { _local8._-DG(_local7._-CH); _local7._-CH._-6z = (_local7._-CH._-6z | _-92._-5g); _local20 = _local7._-9s; if ((_local20._-6z & _-h._-5g)){ } else { if (_local20.IsStatic() == false){ _local20._-9T(_local13); _local20.WakeUp(); }; var _temp2 = _local15; _local15 = (_local15 + 1); var _local23 = _temp2; _local10[_local23] = _local20; _local20._-6z = (_local20._-6z | _-h._-5g); }; }; }; }; _local7 = _local7.next; }; }; }; _local16 = new _-6F(); _local16._-8f = ((1 - _local13) * _arg1._-8f); _local16._-49 = (1 / _local16._-8f); _local16._-FO = _arg1._-FO; _local8._-8r(_local16); _local17 = 0; while (_local17 < _local8._-9c) { _local2 = _local8._-8Y[_local17]; _local2._-6z = (_local2._-6z & ~(_-h._-5g)); if ((_local2._-6z & (_-h._-Hl | _-h._-BU))){ } else { if (_local2.IsStatic()){ } else { _local21 = _local2._-0-(); if ((((_local21 == false)) && (!((_-Aq == null))))){ _-Aq._-A(_local2); }; _local7 = _local2._-7t; while (_local7) { _local7._-CH._-6z = (_local7._-CH._-6z & ~(_-92._-9Q)); _local7 = _local7.next; }; }; }; _local17++; }; _local17 = 0; while (_local17 < _local8._-4H) { _local11 = _local8._-AB[_local17]; _local8._-AB[_local17]._-6z = (_local11._-6z & ~((_-92._-9Q | _-92._-5g))); _local17++; }; _-D6._-B9(); }; }; } public function _-IO():_-EH{ return (_-4L); } public function _-I3():void{ _-D6._-I3(); } public function _-Bq(_arg1:b2Vec2):void{ _-E4 = _arg1; } public function _-3Q():int{ return (_-D6._-AF._-2v); } public function _-Es():_-h{ return (_-F5); } public function _-G-(_arg1:Boolean):void{ _-1H = _arg1; } public function _-3U(_arg1:Boolean):void{ _-01 = _arg1; } public function _-BG(_arg1:_-EV):_-EH{ var _local3:_-h; var _local4:_-4A; var _local2:_-EH = _-EH._-Hg(_arg1, _-3v); _local2._-Fw = null; _local2._-HY = _-4L; if (_-4L){ _-4L._-Fw = _local2; }; _-4L = _local2; _-Ht++; _local2._-DN._-10 = _local2; _local2._-DN._-9s = _local2._-e; _local2._-DN._-D3 = null; _local2._-DN.next = _local2._-0U._-4L; if (_local2._-0U._-4L){ _local2._-0U._-4L._-D3 = _local2._-DN; }; _local2._-0U._-4L = _local2._-DN; _local2._-E1._-10 = _local2; _local2._-E1._-9s = _local2._-0U; _local2._-E1._-D3 = null; _local2._-E1.next = _local2._-e._-4L; if (_local2._-e._-4L){ _local2._-e._-4L._-D3 = _local2._-E1; }; _local2._-e._-4L = _local2._-E1; if (_arg1._-9R == false){ _local3 = ((_arg1._-3Y._-DA < _arg1._-8o._-DA)) ? _arg1._-3Y : _arg1._-8o; _local4 = _local3._-IJ; while (_local4) { _local4._-7i(_-D6, _local3.m_xf); _local4 = _local4._-HY; }; }; return (_local2); } public function _-3H(_arg1:_-EH):void{ var _local5:_-h; var _local6:_-4A; var _local2:Boolean = _arg1._-4W; if (_arg1._-Fw){ _arg1._-Fw._-HY = _arg1._-HY; }; if (_arg1._-HY){ _arg1._-HY._-Fw = _arg1._-Fw; }; if (_arg1 == _-4L){ _-4L = _arg1._-HY; }; var _local3:_-h = _arg1._-0U; var _local4:_-h = _arg1._-e; _local3.WakeUp(); _local4.WakeUp(); if (_arg1._-DN._-D3){ _arg1._-DN._-D3.next = _arg1._-DN.next; }; if (_arg1._-DN.next){ _arg1._-DN.next._-D3 = _arg1._-DN._-D3; }; if (_arg1._-DN == _local3._-4L){ _local3._-4L = _arg1._-DN.next; }; _arg1._-DN._-D3 = null; _arg1._-DN.next = null; if (_arg1._-E1._-D3){ _arg1._-E1._-D3.next = _arg1._-E1.next; }; if (_arg1._-E1.next){ _arg1._-E1.next._-D3 = _arg1._-E1._-D3; }; if (_arg1._-E1 == _local4._-4L){ _local4._-4L = _arg1._-E1.next; }; _arg1._-E1._-D3 = null; _arg1._-E1.next = null; _-EH._-2d(_arg1, _-3v); _-Ht--; if (_local2 == false){ _local5 = ((_local3._-DA < _local4._-DA)) ? _local3 : _local4; _local6 = _local5._-IJ; while (_local6) { _local6._-7i(_-D6, _local5.m_xf); _local6 = _local6._-HY; }; }; } public function super(_arg1:_-11):void{ _-HP = _arg1; } public function _-05(_arg1:_-AY, _arg2:Array, _arg3:int, _arg4:Boolean, _arg5):int{ var _local7:int; var _local6:Array = new Array(_arg3); _-IK = _arg1; _-B5 = _arg5; if (_arg4){ _local7 = _-D6._-0g(_arg1, _local6, _arg3, _-6A); } else { _local7 = _-D6._-0g(_arg1, _local6, _arg3, _-3b); }; var _local8:int; while (_local8 < _local7) { _arg2[_local8] = _local6[_local8]; _local8++; }; return (_local7); } public function _-3b(_arg1:_-4A){ if (((_-7C) && (!(_-7C._-Ah(_-B5, _arg1))))){ return (-1); }; var _local2:_-h = _arg1.GetBody(); var _local3:_-AJ = _local2._-26(); var _local4:Array = [0]; if (_arg1.TestSegment(_local3, _local4, _-H7, _-IK, 1) != _-4A._-35){ return (-1); }; return (_local4[0]); } public function _-2S(_arg1:_-AY, _arg2:Array, _arg3:b2Vec2, _arg4:Boolean, _arg5):_-4A{ var _local6:Array = new Array(1); var _local7:Number = _-05(_arg1, _local6, 1, _arg4, _arg5); if (_local7 == 0){ return (null); }; if (_local7 > 1){ trace(_local7); }; var _local8:_-4A = _local6[0]; var _local9:_-AJ = _local8.GetBody()._-26(); _local8.TestSegment(_local9, _arg2, _arg3, _arg1, 1); return (_local8); } public function _-Fy(_arg1:_-AC):_-h{ if (_-9w == true){ return (null); }; var _local2:_-h = new _-h(_arg1, this); _local2._-Fw = null; _local2._-HY = _-F5; if (_-F5){ _-F5._-Fw = _local2; }; _-F5 = _local2; _-9c++; return (_local2); } public function _-6A(_arg1:_-4A){ if (((_-7C) && (!(_-7C._-Ah(_-B5, _arg1))))){ return (-1); }; var _local2:_-h = _arg1.GetBody(); var _local3:_-AJ = _local2._-26(); var _local4:Array = [0]; if (_arg1.TestSegment(_local3, _local4, _-H7, _-IK, 1) == _-4A._-6Q){ return (-1); }; return (_local4[0]); } public function _-H6(_arg1:_-0P):void{ _-Aq = _arg1; } public function _-DL(_arg1:_-Bo):void{ _-3x = _arg1; } public function _-Fq(_arg1:Number, _arg2:int):void{ _-9w = true; var _local3:_-6F = new _-6F(); _local3._-8f = _arg1; _local3._-FO = _arg2; if (_arg1 > 0){ _local3._-49 = (1 / _arg1); } else { _local3._-49 = 0; }; _local3._-62 = (_-AT * _arg1); _local3._-AO = _-01; _local3._-Gq = _-1H; _-0J._-IM(); if (_local3._-8f > 0){ _-G9(_local3); }; if (((_-51) && ((_local3._-8f > 0)))){ _-8r(_local3); }; _-3d(); _-AT = _local3._-49; _-9w = false; } public function _-5U():int{ return (_-9c); } public function _-FS():int{ return (_-Ht); } } }//package _-CG
Section 18
//_-E7 (_-CG._-E7) package _-CG { import flash.display.*; import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-Cx.*; import _-HM.*; public class _-E7 { public var _-3P:Number;// = 1 public var _-2z:Number;// = 1 public var _-7M:Number;// = 1 public var catch:uint; public var _-8C:Number;// = 1 public var _-Id:Number;// = 1 public var _-1R:Sprite; public static var _-He:uint = 4; public static var _-8m:uint = 1; public static var _-E6:uint = 64; public static var _-EY:uint = 8; public static var _-Ew:uint = 16; public static var _-4X:uint = 32; public static var _-7h:uint = 2; public function _-E7(){ catch = 0; } public function _-Ie(_arg1:uint):void{ catch = (catch & ~(_arg1)); } public function _-F2(_arg1:uint):void{ catch = _arg1; } public function _-IP(_arg1:uint):void{ catch = (catch | _arg1); } public function _-G8(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:_-3e):void{ _-1R.graphics.lineStyle(_-8C, _arg3.color, _-7M); _-1R.graphics.moveTo((_arg1.x * _-Id), (_arg1.y * _-Id)); _-1R.graphics.lineTo((_arg2.x * _-Id), (_arg2.y * _-Id)); } public function _-Cl(_arg1:Array, _arg2:int, _arg3:_-3e):void{ _-1R.graphics.lineStyle(_-8C, _arg3.color, _-7M); _-1R.graphics.moveTo((_arg1[0].x * _-Id), (_arg1[0].y * _-Id)); _-1R.graphics.beginFill(_arg3.color, _-2z); var _local4 = 1; while (_local4 < _arg2) { _-1R.graphics.lineTo((_arg1[_local4].x * _-Id), (_arg1[_local4].y * _-Id)); _local4++; }; _-1R.graphics.lineTo((_arg1[0].x * _-Id), (_arg1[0].y * _-Id)); _-1R.graphics.endFill(); } public function _-IR(_arg1:b2Vec2, _arg2:Number, _arg3:_-3e):void{ _-1R.graphics.lineStyle(_-8C, _arg3.color, _-7M); _-1R.graphics.drawCircle((_arg1.x * _-Id), (_arg1.y * _-Id), (_arg2 * _-Id)); } public function _-D9(_arg1:Array, _arg2:int, _arg3:_-3e):void{ _-1R.graphics.lineStyle(_-8C, _arg3.color, _-7M); _-1R.graphics.moveTo((_arg1[0].x * _-Id), (_arg1[0].y * _-Id)); var _local4 = 1; while (_local4 < _arg2) { _-1R.graphics.lineTo((_arg1[_local4].x * _-Id), (_arg1[_local4].y * _-Id)); _local4++; }; _-1R.graphics.lineTo((_arg1[0].x * _-Id), (_arg1[0].y * _-Id)); } public function _-6r(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:_-3e):void{ _-1R.graphics.lineStyle(_-8C, _arg4.color, _-7M); _-1R.graphics.moveTo(0, 0); _-1R.graphics.beginFill(_arg4.color, _-2z); _-1R.graphics.drawCircle((_arg1.x * _-Id), (_arg1.y * _-Id), (_arg2 * _-Id)); _-1R.graphics.endFill(); _-1R.graphics.moveTo((_arg1.x * _-Id), (_arg1.y * _-Id)); _-1R.graphics.lineTo(((_arg1.x + (_arg3.x * _arg2)) * _-Id), ((_arg1.y + (_arg3.y * _arg2)) * _-Id)); } public function _-2P():uint{ return (catch); } public function _-8B(_arg1:_-AJ):void{ _-1R.graphics.lineStyle(_-8C, 0xFF0000, _-7M); _-1R.graphics.moveTo((_arg1.position.x * _-Id), (_arg1.position.y * _-Id)); _-1R.graphics.lineTo(((_arg1.position.x + (_-3P * _arg1.R._-2I.x)) * _-Id), ((_arg1.position.y + (_-3P * _arg1.R._-2I.y)) * _-Id)); _-1R.graphics.lineStyle(_-8C, 0xFF00, _-7M); _-1R.graphics.moveTo((_arg1.position.x * _-Id), (_arg1.position.y * _-Id)); _-1R.graphics.lineTo(((_arg1.position.x + (_-3P * _arg1.R._-1.x)) * _-Id), ((_arg1.position.y + (_-3P * _arg1.R._-1.y)) * _-Id)); } } }//package _-CG
Section 19
//_-f (_-CG._-f) package _-CG { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-HM.*; import var .*; public class _-f { public var continue:_-11; public var _-9r:int; public var _-At:int; public var _-8Y:Array; public var _-Aa:Array; public var _-6H:int; public var _-4H:int; public var _-AB:Array; public var _-AI:int; public var _-Ht:int; public var _-G5; public var _-9c:int; private static var _-3t:_-1G = new _-1G(); public function _-f(_arg1:int, _arg2:int, _arg3:int, _arg4, _arg5:_-11){ var _local6:int; super(); _-At = _arg1; _-AI = _arg2; _-6H = _arg3; _-9c = 0; _-4H = 0; _-Ht = 0; _-G5 = _arg4; continue = _arg5; _-8Y = new Array(_arg1); _local6 = 0; while (_local6 < _arg1) { _-8Y[_local6] = null; _local6++; }; _-AB = new Array(_arg2); _local6 = 0; while (_local6 < _arg2) { _-AB[_local6] = null; _local6++; }; _-Aa = new Array(_arg3); _local6 = 0; while (_local6 < _arg3) { _-Aa[_local6] = null; _local6++; }; _-9r = 0; } public function _-En(_arg1:_-h):void{ var _local2 = _-9c++; _-8Y[_local2] = _arg1; } public function var(_arg1:_-EH):void{ var _local2 = _-Ht++; _-Aa[_local2] = _arg1; } public function _-Fc(_arg1:Array):void{ var _local2:_-8y; var _local3:b2Vec2; var _local5:_-92; var _local6:_-94; var _local7:_-1G; var _local8:_-h; var _local9:int; var _local10:Array; var _local11:int; var _local12:_-2D; var _local13:int; var _local14:_-7c; var _local15:_-4Y; if (continue == null){ return; }; var _local4:int; while (_local4 < _-4H) { _local5 = _-AB[_local4]; _local6 = _arg1[_local4]; _local7 = _-3t; _local7.shape1 = _local5._-4-; _local7.shape2 = _local5._-04; _local8 = _local7.shape1.m_body; _local9 = _local5._-CJ; _local10 = _local5.GetManifolds(); _local11 = 0; while (_local11 < _local9) { _local12 = _local10[_local11]; _local7.normal._-56(_local12.normal); _local13 = 0; while (_local13 < _local12._-8L) { _local14 = _local12.points[_local13]; _local15 = _local6.points[_local13]; _local7.position = _local8.GetWorldPoint(_local14._-03); _local7._-GD = _local15._-GD; _local7._-5Y = _local15._-5Y; _local7.id.key = _local14.id.key; continue._-39(_local7); _local13++; }; _local11++; }; _local4++; }; } public function _-DG(_arg1:_-92):void{ var _local2 = _-4H++; _-AB[_local2] = _arg1; } public function _-G9(_arg1:_-6F, _arg2:b2Vec2, _arg3:Boolean, _arg4:Boolean):void{ var _local5:int; var _local6:_-h; var _local7:_-EH; 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 < _-9c) { _local6 = _-8Y[_local5]; if (_local6.IsStatic()){ } else { _local6._-D-.x = (_local6._-D-.x + (_arg1._-8f * (_arg2.x + (_local6._-AK * _local6._-Di.x)))); _local6._-D-.y = (_local6._-D-.y + (_arg1._-8f * (_arg2.y + (_local6._-AK * _local6._-Di.y)))); _local6.m_angularVelocity = (_local6.m_angularVelocity + ((_arg1._-8f * _local6._-Co) * _local6._-7-)); _local6._-Di._-0t(); _local6._-7- = 0; _local6._-D-.Multiply(_-BI._-13((1 - (_arg1._-8f * _local6._-0V)), 0, 1)); _local6.m_angularVelocity = (_local6.m_angularVelocity * _-BI._-13((1 - (_arg1._-8f * _local6._-IV)), 0, 1)); if (_local6._-D-._-1i() > _-IN._-AM){ _local6._-D-._-7K(); _local6._-D-.x = (_local6._-D-.x * _-IN._-4z); _local6._-D-.y = (_local6._-D-.y * _-IN._-4z); }; if ((_local6.m_angularVelocity * _local6.m_angularVelocity) > _-IN._-GG){ if (_local6.m_angularVelocity < 0){ _local6.m_angularVelocity = -(_-IN._-6q); } else { _local6.m_angularVelocity = _-IN._-6q; }; }; }; _local5++; }; var _local8:_-1u = new _-1u(_arg1, _-AB, _-4H, _-G5); _local8.InitVelocityConstraints(_arg1); _local5 = 0; while (_local5 < _-Ht) { _local7 = _-Aa[_local5]; _local7.InitVelocityConstraints(_arg1); _local5++; }; _local5 = 0; while (_local5 < _arg1._-FO) { _local8.SolveVelocityConstraints(); _local9 = 0; while (_local9 < _-Ht) { _local7 = _-Aa[_local9]; _local7.SolveVelocityConstraints(_arg1); _local9++; }; _local5++; }; _local8._-6X(); _local5 = 0; while (_local5 < _-9c) { _local6 = _-8Y[_local5]; if (_local6.IsStatic()){ } else { _local6.m_sweep._-CM._-56(_local6.m_sweep.c); _local6.m_sweep._-3q = _local6.m_sweep.a; _local6.m_sweep.c.x = (_local6.m_sweep.c.x + (_arg1._-8f * _local6._-D-.x)); _local6.m_sweep.c.y = (_local6.m_sweep.c.y + (_arg1._-8f * _local6._-D-.y)); _local6.m_sweep.a = (_local6.m_sweep.a + (_arg1._-8f * _local6.m_angularVelocity)); _local6._-DW(); }; _local5++; }; if (_arg3){ _local5 = 0; while (_local5 < _-Ht) { _local7 = _-Aa[_local5]; _local7._-8t(); _local5++; }; _-9r = 0; while (_-9r < _arg1._-FO) { _local10 = _local8.SolvePositionConstraints(_-IN._-3m); _local11 = true; _local5 = 0; while (_local5 < _-Ht) { _local7 = _-Aa[_local5]; _local12 = _local7.SolvePositionConstraints(); _local11 = ((_local11) && (_local12)); _local5++; }; if (((_local10) && (_local11))){ break; }; _-9r++; }; }; _-Fc(_local8._-Eg); if (_arg4){ _local13 = Number.MAX_VALUE; _local14 = (_-IN._-AX * _-IN._-AX); _local15 = (_-IN.return * _-IN.return); _local5 = 0; while (_local5 < _-9c) { _local6 = _-8Y[_local5]; if (_local6._-AK == 0){ } else { if ((_local6._-6z & _-h._-Eb) == 0){ _local6._-Bz = 0; _local13 = 0; }; if (((((((_local6._-6z & _-h._-Eb) == 0)) || (((_local6.m_angularVelocity * _local6.m_angularVelocity) > _local15)))) || ((_-BI._-4w(_local6._-D-, _local6._-D-) > _local14)))){ _local6._-Bz = 0; _local13 = 0; } else { _local6._-Bz = (_local6._-Bz + _arg1._-8f); _local13 = _-BI._-Aw(_local13, _local6._-Bz); }; }; _local5++; }; if (_local13 >= _-IN._-3J){ _local5 = 0; while (_local5 < _-9c) { _local6 = _-8Y[_local5]; _-8Y[_local5]._-6z = (_local6._-6z | _-h._-Hl); _local6._-D-._-0t(); _local6.m_angularVelocity = 0; _local5++; }; }; }; } public function _-C5():void{ _-9c = 0; _-4H = 0; _-Ht = 0; } public function _-8r(_arg1:_-6F):void{ var _local2:int; var _local5:_-h; var _local6:Boolean; var _local3:_-1u = new _-1u(_arg1, _-AB, _-4H, _-G5); _local2 = 0; while (_local2 < _arg1._-FO) { _local3.SolveVelocityConstraints(); _local2++; }; _local2 = 0; while (_local2 < _-9c) { _local5 = _-8Y[_local2]; if (_local5.IsStatic()){ } else { _local5.m_sweep._-CM._-56(_local5.m_sweep.c); _local5.m_sweep._-3q = _local5.m_sweep.a; _local5.m_sweep.c.x = (_local5.m_sweep.c.x + (_arg1._-8f * _local5._-D-.x)); _local5.m_sweep.c.y = (_local5.m_sweep.c.y + (_arg1._-8f * _local5._-D-.y)); _local5.m_sweep.a = (_local5.m_sweep.a + (_arg1._-8f * _local5.m_angularVelocity)); _local5._-DW(); }; _local2++; }; var _local4:Number = 0.75; _local2 = 0; while (_local2 < _arg1._-FO) { _local6 = _local3.SolvePositionConstraints(_local4); if (_local6){ break; }; _local2++; }; _-Fc(_local3._-Eg); } } }//package _-CG
Section 20
//_-h (_-CG._-h) package _-CG { import Box2D.Common.Math.*; import _-Cx.*; import _-HM.*; import var .*; public class _-h { public var _-HY:_-h; public var m_xf:_-AJ; public var _-7t:_-G; public var m_angularVelocity:Number; public var _-IJ:_-4A; public var _-Di:b2Vec2; public var m_mass:Number; public var m_sweep:_-Eo; public var _-7-:Number; public var m_userData; public var _-6z:uint; public var m_world:_-Do; public var _-Fw:_-h; public var _-AK:Number; public var m_type:int; public var _-0V:Number; public var _-DA:int; public var _-IV:Number; public var _-Co:Number; public var _-D-:b2Vec2; public var _-Bz:Number; public var _-4L:_-DH; public var _-Bt:Number; public static var _-B8:uint = 64; public static var _-BU:uint = 2; public static var _-FJ:uint = 3; public static var _-Hl:uint = 8; private static var _-1F:_-4t = new _-4t(); public static var _-l:uint = 32; public static var _-HD:uint = 1; public static var _-5g:uint = 4; public static var _-Eb:uint = 16; private static var _-2E:_-AJ = new _-AJ(); public static var _-Dz:uint = 2; public function _-h(_arg1:_-AC, _arg2:_-Do){ m_xf = new _-AJ(); m_sweep = new _-Eo(); _-D- = new b2Vec2(); _-Di = new b2Vec2(); super(); _-6z = 0; if (_arg1._-7a){ _-6z = (_-6z | _-l); }; if (_arg1._-8V){ _-6z = (_-6z | _-B8); }; if (_arg1._-8Z){ _-6z = (_-6z | _-Eb); }; if (_arg1._-5h){ _-6z = (_-6z | _-Hl); }; m_world = _arg2; m_xf.position._-56(_arg1.position); m_xf.R.Set(_arg1.angle); m_sweep.localCenter._-56(_arg1._-A6.center); m_sweep._-0W = 1; m_sweep._-3q = (m_sweep.a = _arg1.angle); var _local3:_-8y = m_xf.R; var _local4:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local3._-2I.x * _local4.x) + (_local3._-1.x * _local4.y)); m_sweep.c.y = ((_local3._-2I.y * _local4.x) + (_local3._-1.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._-CM._-56(m_sweep.c); _-4L = null; _-7t = null; _-Fw = null; _-HY = null; _-0V = _arg1.each; _-IV = _arg1._-6D; _-Di.Set(0, 0); _-7- = 0; _-D-._-0t(); m_angularVelocity = 0; _-Bz = 0; _-AK = 0; _-Bt = 0; _-Co = 0; m_mass = _arg1._-A6._-0z; if (m_mass > 0){ _-AK = (1 / m_mass); }; if ((_-6z & _-h._-B8) == 0){ _-Bt = _arg1._-A6._-E8; }; if (_-Bt > 0){ _-Co = (1 / _-Bt); }; if ((((_-AK == 0)) && ((_-Co == 0)))){ m_type = _-HD; } else { m_type = _-Dz; }; m_userData = _arg1.userData; _-IJ = null; _-DA = 0; } public function _-0X(_arg1:b2Vec2):b2Vec2{ return (new b2Vec2((_-D-.x + (m_angularVelocity * (_arg1.y - m_sweep.c.y))), (_-D-.x - (m_angularVelocity * (_arg1.x - m_sweep.c.x))))); } public function _-B6(_arg1:b2Vec2):void{ _-D-._-56(_arg1); } public function WakeUp():void{ _-6z = (_-6z & ~(_-Hl)); _-Bz = 0; } public function _-97():b2Vec2{ return (m_sweep.localCenter); } public function _-8X(_arg1:Number):void{ if (IsSleeping()){ WakeUp(); }; _-7- = (_-7- + _arg1); } public function _-Bi():Boolean{ return (((_-6z & _-BU) == _-BU)); } public function true ():Boolean{ return ((m_type == _-Dz)); } public function _-1X():b2Vec2{ return (_-D-); } public function _-DW():void{ m_xf.R.Set(m_sweep.a); var _local1:_-8y = m_xf.R; var _local2:b2Vec2 = m_sweep.localCenter; m_xf.position.x = (m_sweep.c.x - ((_local1._-2I.x * _local2.x) + (_local1._-1.x * _local2.y))); m_xf.position.y = (m_sweep.c.y - ((_local1._-2I.y * _local2.x) + (_local1._-1.y * _local2.y))); } public function get ():Number{ return (_-Bt); } public function IsSleeping():Boolean{ return (((_-6z & _-Hl) == _-Hl)); } public function _-2H():void{ var _local1:_-4A; if (m_world._-9w == true){ return; }; m_mass = 0; _-AK = 0; _-Bt = 0; _-Co = 0; var _local2:Number = 0; var _local3:Number = 0; var _local4:_-4t = _-1F; _local1 = _-IJ; while (_local1) { _local1.ComputeMass(_local4); m_mass = (m_mass + _local4._-0z); _local2 = (_local2 + (_local4._-0z * _local4.center.x)); _local3 = (_local3 + (_local4._-0z * _local4.center.y)); _-Bt = (_-Bt + _local4._-E8); _local1 = _local1._-HY; }; if (m_mass > 0){ _-AK = (1 / m_mass); _local2 = (_local2 * _-AK); _local3 = (_local3 * _-AK); }; if ((((_-Bt > 0)) && (((_-6z & _-B8) == 0)))){ _-Bt = (_-Bt - (m_mass * ((_local2 * _local2) + (_local3 * _local3)))); _-Co = (1 / _-Bt); } else { _-Bt = 0; _-Co = 0; }; m_sweep.localCenter.Set(_local2, _local3); var _local5:_-8y = m_xf.R; var _local6:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local5._-2I.x * _local6.x) + (_local5._-1.x * _local6.y)); m_sweep.c.y = ((_local5._-2I.y * _local6.x) + (_local5._-1.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._-CM._-56(m_sweep.c); _local1 = _-IJ; while (_local1) { _local1.UpdateSweepRadius(m_sweep.localCenter); _local1 = _local1._-HY; }; var _local7:int = m_type; if ((((_-AK == 0)) && ((_-Co == 0)))){ m_type = _-HD; } else { m_type = _-Dz; }; if (_local7 != m_type){ _local1 = _-IJ; while (_local1) { _local1._-7i(m_world._-D6, m_xf); _local1 = _local1._-HY; }; }; } public function dynamic():void{ _-6z = (_-6z | _-Hl); _-Bz = 0; _-D-._-0t(); m_angularVelocity = 0; _-Di._-0t(); _-7- = 0; } public function _-IO():_-DH{ return (_-4L); } public function _-GY(_arg1:b2Vec2, _arg2:Number):Boolean{ var _local3:_-4A; var _local7:Boolean; if (m_world._-9w == true){ return (true); }; if (_-Bi()){ return (false); }; m_xf.R.Set(_arg2); m_xf.position._-56(_arg1); var _local4:_-8y = m_xf.R; var _local5:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local4._-2I.x * _local5.x) + (_local4._-1.x * _local5.y)); m_sweep.c.y = ((_local4._-2I.y * _local5.x) + (_local4._-1.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._-CM._-56(m_sweep.c); m_sweep._-3q = (m_sweep.a = _arg2); var _local6:Boolean; _local3 = _-IJ; while (_local3) { _local7 = _local3._-HR(m_world._-D6, m_xf, m_xf); if (_local7 == false){ _local6 = true; break; }; _local3 = _local3._-HY; }; if (_local6 == true){ _-6z = (_-6z | _-BU); _-D-._-0t(); m_angularVelocity = 0; _local3 = _-IJ; while (_local3) { _local3._-5f(m_world._-D6); _local3 = _local3._-HY; }; return (false); }; m_world._-D6._-B9(); return (true); } public function GetLocalPoint(_arg1:b2Vec2):b2Vec2{ return (_-BI._-15(m_xf, _arg1)); } public function _-9O(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping()){ WakeUp(); }; _-Di.x = (_-Di.x + _arg1.x); _-Di.y = (_-Di.y + _arg1.y); _-7- = (_-7- + (((_arg2.x - m_sweep.c.x) * _arg1.y) - ((_arg2.y - m_sweep.c.y) * _arg1.x))); } public function _-0-():Boolean{ var _local4:_-4A; var _local1:_-AJ = _-2E; _local1.R.Set(m_sweep._-3q); var _local2:_-8y = _local1.R; var _local3:b2Vec2 = m_sweep.localCenter; _local1.position.x = (m_sweep._-CM.x - ((_local2._-2I.x * _local3.x) + (_local2._-1.x * _local3.y))); _local1.position.y = (m_sweep._-CM.y - ((_local2._-2I.y * _local3.x) + (_local2._-1.y * _local3.y))); var _local5:Boolean; _local4 = _-IJ; while (_local4) { _local5 = _local4._-HR(m_world._-D6, _local1, m_xf); if (_local5 == false){ break; }; _local4 = _local4._-HY; }; if (_local5 == false){ _-6z = (_-6z | _-BU); _-D-._-0t(); m_angularVelocity = 0; _local4 = _-IJ; while (_local4) { _local4._-5f(m_world._-D6); _local4 = _local4._-HY; }; return (false); }; return (true); } public function GetAngle():Number{ return (m_sweep.a); } public function _-26():_-AJ{ return (m_xf); } public function _-Cu(_arg1:b2Vec2):b2Vec2{ var _local2:_-8y = m_xf.R; var _local3:b2Vec2 = new b2Vec2(((_local2._-2I.x * _arg1.x) + (_local2._-1.x * _arg1.y)), ((_local2._-2I.y * _arg1.x) + (_local2._-1.y * _arg1.y))); _local3.x = (_local3.x + m_xf.position.x); _local3.y = (_local3.y + m_xf.position.y); return (new b2Vec2((_-D-.x + (m_angularVelocity * (_local3.y - m_sweep.c.y))), (_-D-.x - (m_angularVelocity * (_local3.x - m_sweep.c.x))))); } public function _-EM():_-h{ return (_-HY); } public function _-4f():Number{ return (m_mass); } public function _-0p(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping()){ WakeUp(); }; _-D-.x = (_-D-.x + (_-AK * _arg1.x)); _-D-.y = (_-D-.y + (_-AK * _arg1.y)); m_angularVelocity = (m_angularVelocity + (_-Co * (((_arg2.x - m_sweep.c.x) * _arg1.y) - ((_arg2.y - m_sweep.c.y) * _arg1.x)))); } public function _-Dh():Number{ return (m_angularVelocity); } public function _-DY(_arg1:Number):void{ m_angularVelocity = _arg1; } public function _-7p(_arg1:_-4t):void{ var _local2:_-4A; var _local4:b2Vec2; if (m_world._-9w == true){ return; }; _-AK = 0; _-Bt = 0; _-Co = 0; m_mass = _arg1._-0z; if (m_mass > 0){ _-AK = (1 / m_mass); }; if ((_-6z & _-h._-B8) == 0){ _-Bt = _arg1._-E8; }; if (_-Bt > 0){ _-Co = (1 / _-Bt); }; m_sweep.localCenter._-56(_arg1.center); var _local3:_-8y = m_xf.R; _local4 = m_sweep.localCenter; m_sweep.c.x = ((_local3._-2I.x * _local4.x) + (_local3._-1.x * _local4.y)); m_sweep.c.y = ((_local3._-2I.y * _local4.x) + (_local3._-1.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._-CM._-56(m_sweep.c); _local2 = _-IJ; while (_local2) { _local2.UpdateSweepRadius(m_sweep.localCenter); _local2 = _local2._-HY; }; var _local5:int = m_type; if ((((_-AK == 0)) && ((_-Co == 0)))){ m_type = _-HD; } else { m_type = _-Dz; }; if (_local5 != m_type){ _local2 = _-IJ; while (_local2) { _local2._-7i(m_world._-D6, m_xf); _local2 = _local2._-HY; }; }; } public function IsStatic():Boolean{ return ((m_type == _-HD)); } public function _-DV(_arg1:b2Vec2):b2Vec2{ return (_-BI._-6w(m_xf.R, _arg1)); } public function _-02():_-4A{ return (_-IJ); } public function _-9T(_arg1:Number):void{ m_sweep._-9T(_arg1); m_sweep.c._-56(m_sweep._-CM); m_sweep.a = m_sweep._-3q; _-DW(); } public function _-Hx(_arg1:Boolean):void{ if (_arg1){ _-6z = (_-6z | _-l); } else { _-6z = (_-6z & ~(_-l)); }; } public function _-84(_arg1:default):_-4A{ if (m_world._-9w == true){ return (null); }; var _local2:_-4A = _-4A._-Hg(_arg1, m_world._-3v); _local2._-HY = _-IJ; _-IJ = _local2; _-DA++; _local2.m_body = this; _local2._-w(m_world._-D6, m_xf); _local2.UpdateSweepRadius(m_sweep.localCenter); return (_local2); } public function _-0H(_arg1:_-h):Boolean{ var _local2:_-DH = _-4L; while (_local2) { if (_local2._-9s == _arg1){ return ((_local2._-10._-4W == false)); }; _local2 = _local2.next; }; return (false); } public function _-23(_arg1:_-4A):void{ if (m_world._-9w == true){ return; }; _arg1._-5f(m_world._-D6); var _local2:_-4A = _-IJ; var _local3:Boolean; while (_local2 != null) { if (_local2 == _arg1){ _local2 = _arg1._-HY; _local3 = true; break; }; _local2 = _local2._-HY; }; _arg1.m_body = null; _arg1._-HY = null; _-DA--; _-4A._-2d(_arg1, m_world._-3v); } public function _-3s(){ return (m_userData); } public function _-4T():Boolean{ return (((_-6z & _-l) == _-l)); } public function _-0S():b2Vec2{ return (m_sweep.c); } public function _-ET(_arg1:Boolean):void{ if (_arg1){ _-6z = (_-6z | _-Eb); } else { _-6z = (_-6z & ~(_-Eb)); WakeUp(); }; } public function _-2C(_arg1):void{ m_userData = _arg1; } public function GetLocalVector(_arg1:b2Vec2):b2Vec2{ return (_-BI._-EN(m_xf.R, _arg1)); } public function GetWorldPoint(_arg1:b2Vec2):b2Vec2{ var _local2:_-8y = m_xf.R; var _local3:b2Vec2 = new b2Vec2(((_local2._-2I.x * _arg1.x) + (_local2._-1.x * _arg1.y)), ((_local2._-2I.y * _arg1.x) + (_local2._-1.y * _arg1.y))); _local3.x = (_local3.x + m_xf.position.x); _local3.y = (_local3.y + m_xf.position.y); return (_local3); } public function _-Ec():_-Do{ return (m_world); } public function _-C3():b2Vec2{ return (m_xf.position); } } }//package _-CG
Section 21
//_-4A (_-Cx._-4A) package _-Cx { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-CG.*; public class _-4A { public var _-HY:_-4A; public var m_type:int; public var _-2F:Number; public var _-BK:Number; public var _-4B:_-FQ; public var _-Ch:Number; public var m_isSensor:Boolean; public var _-8q:Number; public var m_userData; public var for:uint; public var m_body:_-h; public static const _-1E:int = 1; public static const _-35:int = 1; public static const _-6Q:int = 0; public static const _-D2:int = -1; public static const _-79:int = 0; public static const _-D4:int = 2; public static const _-FF:int = -1; private static var _-BH:final = new final(); private static var _-82:final = new final(); private static var _-ES:final = new final(); public function _-4A(_arg1:default){ m_userData = _arg1.userData; _-Ch = _arg1._-H8; _-8q = _arg1._-Ak; _-BK = _arg1.density; m_body = null; _-2F = 0; _-HY = null; for = _-8U._-HI; _-4B = _arg1._-Hz.Copy(); m_isSensor = _arg1._-4N; } public function _-2C(_arg1):void{ m_userData = _arg1; } public function _-F9():Number{ return (_-2F); } public function _-EM():_-4A{ return (_-HY); } public function ComputeSweptAABB(_arg1:final, _arg2:_-AJ, _arg3:_-AJ):void{ } public function GetType():int{ return (m_type); } public function _-5o():Number{ return (_-8q); } public function _-Z():Number{ return (_-Ch); } public function _-GU():_-FQ{ return (_-4B.Copy()); } public function TestSegment(_arg1:_-AJ, _arg2:Array, _arg3:b2Vec2, _arg4:_-AY, _arg5:Number):int{ return (_-6Q); } public function _-7i(_arg1: if, _arg2:_-AJ):void{ if (for == _-8U._-HI){ return; }; _arg1._-5f(for); var _local3:final = _-BH; ComputeAABB(_local3, _arg2); var _local4:Boolean = _arg1._-Fb(_local3); if (_local4){ for = _arg1._-w(_local3, this); } else { for = _-8U._-HI; }; } public function _-FD(_arg1:_-FQ):void{ _-4B = _arg1.Copy(); } public function _-3s(){ return (m_userData); } public function _-HR(_arg1: if, _arg2:_-AJ, _arg3:_-AJ):Boolean{ if (for == _-8U._-HI){ return (false); }; var _local4:final = _-82; ComputeSweptAABB(_local4, _arg2, _arg3); if (_arg1._-Fb(_local4)){ _arg1._-4o(for, _local4); return (true); }; return (false); } public function ComputeMass(_arg1:_-4t):void{ } public function _-CT():Boolean{ return (m_isSensor); } public function _-5f(_arg1: if):void{ if (for != _-8U._-HI){ _arg1._-5f(for); for = _-8U._-HI; }; } public function UpdateSweepRadius(_arg1:b2Vec2):void{ } public function ComputeAABB(_arg1:final, _arg2:_-AJ):void{ } public function GetBody():_-h{ return (m_body); } public function _-w(_arg1: if, _arg2:_-AJ):void{ var _local3:final = _-ES; ComputeAABB(_local3, _arg2); var _local4:Boolean = _arg1._-Fb(_local3); if (_local4){ for = _arg1._-w(_local3, this); } else { for = _-8U._-HI; }; } public function TestPoint(_arg1:_-AJ, _arg2:b2Vec2):Boolean{ return (false); } public static function _-2d(_arg1:_-4A, _arg2):void{ } public static function _-Hg(_arg1:default, _arg2):_-4A{ switch (_arg1.type){ case _-79: return (new _-7R(_arg1)); case _-1E: return (new _-CC(_arg1)); default: return (null); }; } } }//package _-Cx
Section 22
//_-4t (_-Cx._-4t) package _-Cx { import Box2D.Common.Math.*; public class _-4t { public var _-0z:Number;// = 0 public var center:b2Vec2; public var _-E8:Number;// = 0 public function _-4t(){ center = new b2Vec2(0, 0); super(); } } }//package _-Cx
Section 23
//_-7R (_-Cx._-7R) package _-Cx { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-CG.*; public class _-7R extends _-4A { public var _-5M:b2Vec2; public var _-IQ:Number; public function _-7R(_arg1:default){ _-5M = new b2Vec2(); super(_arg1); var _local2:_-Hr = (_arg1 as _-Hr); m_type = _-79; _-5M._-56(_local2._-3S); _-IQ = _local2.radius; } override public function TestSegment(_arg1:_-AJ, _arg2:Array, _arg3:b2Vec2, _arg4:_-AY, _arg5:Number):int{ var _local10:Number; var _local6:_-8y = _arg1.R; var _local7:Number = (_arg1.position.x + ((_local6._-2I.x * _-5M.x) + (_local6._-1.x * _-5M.y))); var _local8:Number = (_arg1.position.y + ((_local6._-2I.y * _-5M.x) + (_local6._-1.y * _-5M.y))); var _local9:Number = (_arg4.p1.x - _local7); _local10 = (_arg4.p1.y - _local8); var _local11:Number = (((_local9 * _local9) + (_local10 * _local10)) - (_-IQ * _-IQ)); if (_local11 < 0){ _arg2[0] = 0; return (_-FF); }; 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 (_-6Q); }; 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._-7K(); return (_-35); }; return (_-6Q); } public function _-5X():b2Vec2{ return (_-5M); } public function _-M():Number{ return (_-IQ); } override public function ComputeSweptAABB(_arg1:final, _arg2:_-AJ, _arg3:_-AJ):void{ var _local4:_-8y; _local4 = _arg2.R; var _local5:Number = (_arg2.position.x + ((_local4._-2I.x * _-5M.x) + (_local4._-1.x * _-5M.y))); var _local6:Number = (_arg2.position.y + ((_local4._-2I.y * _-5M.x) + (_local4._-1.y * _-5M.y))); _local4 = _arg3.R; var _local7:Number = (_arg3.position.x + ((_local4._-2I.x * _-5M.x) + (_local4._-1.x * _-5M.y))); var _local8:Number = (_arg3.position.y + ((_local4._-2I.y * _-5M.x) + (_local4._-1.y * _-5M.y))); _arg1._-Hy.Set((((_local5 < _local7)) ? _local5 : _local7 - _-IQ), (((_local6 < _local8)) ? _local6 : _local8 - _-IQ)); _arg1._-7A.Set((((_local5 > _local7)) ? _local5 : _local7 + _-IQ), (((_local6 > _local8)) ? _local6 : _local8 + _-IQ)); } override public function ComputeMass(_arg1:_-4t):void{ _arg1._-0z = (((_-BK * _-IN._-C6) * _-IQ) * _-IQ); _arg1.center._-56(_-5M); _arg1._-E8 = (_arg1._-0z * (((0.5 * _-IQ) * _-IQ) + ((_-5M.x * _-5M.x) + (_-5M.y * _-5M.y)))); } override public function UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:Number = (_-5M.x - _arg1.x); var _local3:Number = (_-5M.y - _arg1.y); _local2 = Math.sqrt(((_local2 * _local2) + (_local3 * _local3))); _-2F = ((_local2 + _-IQ) - _-IN._-8N); } override public function ComputeAABB(_arg1:final, _arg2:_-AJ):void{ var _local3:_-8y = _arg2.R; var _local4:Number = (_arg2.position.x + ((_local3._-2I.x * _-5M.x) + (_local3._-1.x * _-5M.y))); var _local5:Number = (_arg2.position.y + ((_local3._-2I.y * _-5M.x) + (_local3._-1.y * _-5M.y))); _arg1._-Hy.Set((_local4 - _-IQ), (_local5 - _-IQ)); _arg1._-7A.Set((_local4 + _-IQ), (_local5 + _-IQ)); } override public function TestPoint(_arg1:_-AJ, _arg2:b2Vec2):Boolean{ var _local3:_-8y = _arg1.R; var _local4:Number = (_arg1.position.x + ((_local3._-2I.x * _-5M.x) + (_local3._-1.x * _-5M.y))); var _local5:Number = (_arg1.position.y + ((_local3._-2I.y * _-5M.x) + (_local3._-1.y * _-5M.y))); _local4 = (_arg2.x - _local4); _local5 = (_arg2.y - _local5); return ((((_local4 * _local4) + (_local5 * _local5)) <= (_-IQ * _-IQ))); } } }//package _-Cx
Section 24
//_-CC (_-Cx._-CC) package _-Cx { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-CG.*; public class _-CC extends _-4A { public var _-2q:Array; public var _-8b:Array; private var _-0R:b2Vec2; public var _-BT:b2Vec2; public var _-71:Array; public var _-0h:_-Ic; public var _-Ar:int; private static var _-17:_-8y = new _-8y(); private static var _-9u:final = new final(); private static var _-FN:final = new final(); public function _-CC(_arg1:default){ 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; _-0R = new b2Vec2(); _-0h = new _-Ic(); _-8b = new Array(_-IN._-41); _-71 = new Array(_-IN._-41); _-2q = new Array(_-IN._-41); super(_arg1); m_type = _-1E; var _local2:_-Cc = (_arg1 as _-Cc); _-Ar = _local2.vertexCount; var _local4:int = _local3; var _local5:int = _local3; _local3 = 0; while (_local3 < _-Ar) { _-8b[_local3] = _local2.vertices[_local3].Copy(); _local3++; }; _local3 = 0; while (_local3 < _-Ar) { _local4 = _local3; _local5 = (((_local3 + 1) < _-Ar)) ? (_local3 + 1) : 0; _local6 = (_-8b[_local5].x - _-8b[_local4].x); _local7 = (_-8b[_local5].y - _-8b[_local4].y); _local8 = Math.sqrt(((_local6 * _local6) + (_local7 * _local7))); _-71[_local3] = new b2Vec2((_local7 / _local8), (-(_local6) / _local8)); _local3++; }; _-BT = _-7v(_local2.vertices, _local2.vertexCount); _-C2(_-0h, _-8b, _-Ar); _local3 = 0; while (_local3 < _-Ar) { _local4 = (((_local3 - 1) >= 0)) ? (_local3 - 1) : (_-Ar - 1); _local5 = _local3; _local9 = _-71[_local4].x; _local10 = _-71[_local4].y; _local11 = _-71[_local5].x; _local12 = _-71[_local5].y; _local13 = (_-8b[_local3].x - _-BT.x); _local14 = (_-8b[_local3].y - _-BT.y); _local15 = (((_local9 * _local13) + (_local10 * _local14)) - _-IN._-8N); _local16 = (((_local11 * _local13) + (_local12 * _local14)) - _-IN._-8N); _local17 = (1 / ((_local9 * _local12) - (_local10 * _local11))); _-2q[_local3] = new b2Vec2(((_local17 * ((_local12 * _local15) - (_local10 * _local16))) + _-BT.x), ((_local17 * ((_local9 * _local16) - (_local11 * _local15))) + _-BT.y)); _local3++; }; } override public function ComputeSweptAABB(_arg1:final, _arg2:_-AJ, _arg3:_-AJ):void{ var _local4:final = _-9u; var _local5:final = _-FN; ComputeAABB(_local4, _arg2); ComputeAABB(_local5, _arg3); _arg1._-Hy.Set(((_local4._-Hy.x < _local5._-Hy.x)) ? _local4._-Hy.x : _local5._-Hy.x, ((_local4._-Hy.y < _local5._-Hy.y)) ? _local4._-Hy.y : _local5._-Hy.y); _arg1._-7A.Set(((_local4._-7A.x > _local5._-7A.x)) ? _local4._-7A.x : _local5._-7A.x, ((_local4._-7A.y > _local5._-7A.y)) ? _local4._-7A.y : _local5._-7A.y); } public function _-F():Array{ return (_-8b); } public function _-HH():Array{ return (_-2q); } public function _-Dj():b2Vec2{ return (_-BT); } public function _-CX():_-Ic{ return (_-0h); } public function GetFirstVertex(_arg1:_-AJ):b2Vec2{ return (_-BI._-Df(_arg1, _-2q[0])); } public function _-7H(_arg1:_-AJ):b2Vec2{ return (_-BI._-Df(_arg1, _-BT)); } override public function TestSegment(_arg1:_-AJ, _arg2:Array, _arg3:b2Vec2, _arg4:_-AY, _arg5:Number):int{ var _local8:Number; var _local9:Number; var _local10:_-8y; 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._-2I.x) + (_local9 * _local10._-2I.y)); var _local13:Number = ((_local8 * _local10._-1.x) + (_local9 * _local10._-1.y)); _local8 = (_arg4.p2.x - _arg1.position.x); _local9 = (_arg4.p2.y - _arg1.position.y); _local10 = _arg1.R; var _local14:Number = ((_local8 * _local10._-2I.x) + (_local9 * _local10._-2I.y)); var _local15:Number = ((_local8 * _local10._-1.x) + (_local9 * _local10._-1.y)); var _local16:Number = (_local14 - _local12); var _local17:Number = (_local15 - _local13); var _local18 = -1; var _local19:int; while (_local19 < _-Ar) { _local11 = _-8b[_local19]; _local8 = (_local11.x - _local12); _local9 = (_local11.y - _local13); _local11 = _-71[_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 (_-6Q); }; _local19++; }; if (_local18 >= 0){ _arg2[0] = _local6; _local10 = _arg1.R; _local11 = _-71[_local18]; _arg3.x = ((_local10._-2I.x * _local11.x) + (_local10._-1.x * _local11.y)); _arg3.y = ((_local10._-2I.y * _local11.x) + (_local10._-1.y * _local11.y)); return (_-35); }; _arg2[0] = 0; return (_-FF); } override public function ComputeMass(_arg1:_-4t):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 < _-Ar) { _local10 = _-8b[_local9]; _local11 = (((_local9 + 1) < _-Ar)) ? _-8b[int((_local9 + 1))] : _-8b[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._-0z = (_-BK * _local4); _local2 = (_local2 * (1 / _local4)); _local3 = (_local3 * (1 / _local4)); _arg1.center.Set(_local2, _local3); _arg1._-E8 = (_-BK * _local5); } public function _-18():Array{ return (_-71); } public function Support(_arg1:_-AJ, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:b2Vec2; var _local5:_-8y; var _local11:Number; _local5 = _arg1.R; var _local6:Number = ((_arg2 * _local5._-2I.x) + (_arg3 * _local5._-2I.y)); var _local7:Number = ((_arg2 * _local5._-1.x) + (_arg3 * _local5._-1.y)); var _local8:int; _local4 = _-2q[0]; var _local9:Number = ((_local4.x * _local6) + (_local4.y * _local7)); var _local10 = 1; while (_local10 < _-Ar) { _local4 = _-2q[_local10]; _local11 = ((_local4.x * _local6) + (_local4.y * _local7)); if (_local11 > _local9){ _local8 = _local10; _local9 = _local11; }; _local10++; }; _local5 = _arg1.R; _local4 = _-2q[_local8]; _-0R.x = (_arg1.position.x + ((_local5._-2I.x * _local4.x) + (_local5._-1.x * _local4.y))); _-0R.y = (_arg1.position.y + ((_local5._-2I.y * _local4.x) + (_local5._-1.y * _local4.y))); return (_-0R); } public function _-6o(_arg1:_-AJ, _arg2:Array, _arg3:Array, _arg4:_-AY, _arg5:Number):int{ var _local8:Number; var _local9:Number; var _local10:_-8y; 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._-2I.x) + (_local9 * _local10._-2I.y)); var _local13:Number = ((_local8 * _local10._-1.x) + (_local9 * _local10._-1.y)); _local8 = (_arg4.p2.x - _arg1.position.x); _local9 = (_arg4.p2.y - _arg1.position.y); _local10 = _arg1.R; var _local14:Number = ((_local8 * _local10._-2I.x) + (_local9 * _local10._-2I.y)); var _local15:Number = ((_local8 * _local10._-1.x) + (_local9 * _local10._-1.y)); var _local16:Number = (_local14 - _local12); var _local17:Number = (_local15 - _local13); var _local18 = -1; var _local19:int; while (_local19 < _-Ar) { _local11 = _-8b[_local19]; _local8 = (_local11.x - _local12); _local9 = (_local11.y - _local13); _local11 = _-71[_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 (_-6Q); }; _local19++; }; if (_local18 >= 0){ _arg2[0] = _local6; _arg3[0] = _local18; return (_-35); }; _arg2[0] = 0; return (_-FF); } public function case ():int{ return (_-Ar); } override public function ComputeAABB(_arg1:final, _arg2:_-AJ):void{ var _local3:_-8y; var _local4:b2Vec2; var _local5:_-8y = _-17; _local3 = _arg2.R; _local4 = _-0h.R._-2I; _local5._-2I.x = ((_local3._-2I.x * _local4.x) + (_local3._-1.x * _local4.y)); _local5._-2I.y = ((_local3._-2I.y * _local4.x) + (_local3._-1.y * _local4.y)); _local4 = _-0h.R._-1; _local5._-1.x = ((_local3._-2I.x * _local4.x) + (_local3._-1.x * _local4.y)); _local5._-1.y = ((_local3._-2I.y * _local4.x) + (_local3._-1.y * _local4.y)); _local5._-IH(); var _local6:_-8y = _local5; _local4 = _-0h._-28; var _local7:Number = ((_local6._-2I.x * _local4.x) + (_local6._-1.x * _local4.y)); var _local8:Number = ((_local6._-2I.y * _local4.x) + (_local6._-1.y * _local4.y)); _local3 = _arg2.R; _local4 = _-0h.center; var _local9:Number = (_arg2.position.x + ((_local3._-2I.x * _local4.x) + (_local3._-1.x * _local4.y))); var _local10:Number = (_arg2.position.y + ((_local3._-2I.y * _local4.x) + (_local3._-1.y * _local4.y))); _arg1._-Hy.Set((_local9 - _local7), (_local10 - _local8)); _arg1._-7A.Set((_local9 + _local7), (_local10 + _local8)); } override public function UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:b2Vec2; var _local4:Number; var _local5:Number; _-2F = 0; var _local3:int; while (_local3 < _-Ar) { _local2 = _-2q[_local3]; _local4 = (_local2.x - _arg1.x); _local5 = (_local2.y - _arg1.y); _local4 = Math.sqrt(((_local4 * _local4) + (_local5 * _local5))); if (_local4 > _-2F){ _-2F = _local4; }; _local3++; }; } override public function TestPoint(_arg1:_-AJ, _arg2:b2Vec2):Boolean{ var _local3:b2Vec2; var _local10:Number; var _local4:_-8y = _arg1.R; var _local5:Number = (_arg2.x - _arg1.position.x); var _local6:Number = (_arg2.y - _arg1.position.y); var _local7:Number = ((_local5 * _local4._-2I.x) + (_local6 * _local4._-2I.y)); var _local8:Number = ((_local5 * _local4._-1.x) + (_local6 * _local4._-1.y)); var _local9:int; while (_local9 < _-Ar) { _local3 = _-8b[_local9]; _local5 = (_local7 - _local3.x); _local6 = (_local8 - _local3.y); _local3 = _-71[_local9]; _local10 = ((_local3.x * _local5) + (_local3.y * _local6)); if (_local10 > 0){ return (false); }; _local9++; }; return (true); } public static function _-7v(_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 _-C2(_arg1:_-Ic, _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:_-8y; var _local5:Array = new Array((_-IN._-41 + 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._-2I.x = _local8; _arg1.R._-2I.y = _local9; _arg1.R._-1.x = _local11; _arg1.R._-1.y = _local12; _local23 = (0.5 * (_local13 + _local15)); _local24 = (0.5 * (_local14 + _local16)); _local25 = _arg1.R; _arg1.center.x = (_local7.x + ((_local25._-2I.x * _local23) + (_local25._-1.x * _local24))); _arg1.center.y = (_local7.y + ((_local25._-2I.y * _local23) + (_local25._-1.y * _local24))); _arg1._-28.x = (0.5 * (_local15 - _local13)); _arg1._-28.y = (0.5 * (_local16 - _local14)); }; _local4++; }; } } }//package _-Cx
Section 25
//_-Cc (_-Cx._-Cc) package _-Cx { import Box2D.Common.Math.*; import _-1x.*; public class _-Cc extends default { public var vertices:Array; public var vertexCount:int; private static var _-Bv:_-8y = new _-8y(); public function _-Cc(){ vertices = new Array(_-IN._-41); super(); type = _-4A._-1E; vertexCount = 0; var _local1:int; while (_local1 < _-IN._-41) { vertices[_local1] = new b2Vec2(); _local1++; }; } public function _-Fr(_arg1:Number, _arg2:Number, _arg3:b2Vec2=null, _arg4:Number=0):void{ var _local5:b2Vec2; var _local6:_-8y; 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 = _-Bv; _local6.Set(_arg4); _local7 = 0; while (_local7 < vertexCount) { _arg3 = vertices[_local7]; _arg1 = (_local5.x + ((_local6._-2I.x * _arg3.x) + (_local6._-1.x * _arg3.y))); _arg3.y = (_local5.y + ((_local6._-2I.y * _arg3.x) + (_local6._-1.y * _arg3.y))); _arg3.x = _arg1; _local7++; }; }; } public function _-CV(_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 _-Cx
Section 26
//_-FQ (_-Cx._-FQ) package _-Cx { public class _-FQ { public var _-HU:uint;// = 0xFFFF public var _-Db:int;// = 0 public var _-HJ:uint;// = 1 public function Copy():_-FQ{ var _local1:_-FQ = new _-FQ(); _local1._-HJ = _-HJ; _local1._-HU = _-HU; _local1._-Db = _-Db; return (_local1); } } }//package _-Cx
Section 27
//_-Hr (_-Cx._-Hr) package _-Cx { import Box2D.Common.Math.*; public class _-Hr extends default { public var radius:Number; public var _-3S:b2Vec2; public function _-Hr(){ _-3S = new b2Vec2(0, 0); super(); type = _-4A._-79; radius = 1; } } }//package _-Cx
Section 28
//default (_-Cx.default) package _-Cx { public class default { public var _-H8:Number;// = 0.2 public var _-4N:Boolean;// = false public var density:Number;// = 0 public var _-Ak:Number;// = 0 public var userData;// = null public var _-Hz:_-FQ; public var type:int; public function default(){ type = _-4A._-D2; _-Hz = new _-FQ(); super(); } } }//package _-Cx
Section 29
//_-1G (_-HM._-1G) package _-HM { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-Cx.*; public class _-1G { public var position:b2Vec2; public var shape1:_-4A; public var shape2:_-4A; public var _-GD:Number; public var normal:b2Vec2; public var _-5Y:Number; public var id:_-09; public function _-1G(){ position = new b2Vec2(); normal = new b2Vec2(); id = new _-09(); super(); } } }//package _-HM
Section 30
//_-1u (_-HM._-1u) package _-HM { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-CG.*; public class _-1u { public var try :int; public var _-Eg:Array; public var _-G5; public var _-4:_-6F; public function _-1u(_arg1:_-6F, _arg2:Array, _arg3:int, _arg4){ var _local5:_-92; var _local6:int; var _local7:b2Vec2; var _local8:_-8y; var _local10:_-h; var _local11:_-h; 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:_-2D; var _local24:Number; var _local25:Number; var _local26:_-94; var _local27:uint; var _local28:_-7c; var _local29:_-4Y; 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; _-4 = new _-6F(); _-Eg = new Array(); super(); _-4._-8f = _arg1._-8f; _-4._-49 = _arg1._-49; _-4._-FO = _arg1._-FO; _-G5 = _arg4; try = 0; _local6 = 0; while (_local6 < _arg3) { _local5 = _arg2[_local6]; try = (try + _local5._-CJ); _local6++; }; _local6 = 0; while (_local6 < try ) { _-Eg[_local6] = new _-94(); _local6++; }; var _local9:int; _local6 = 0; while (_local6 < _arg3) { _local5 = _arg2[_local6]; _local10 = _local5._-4-.m_body; _local11 = _local5._-04.m_body; _local12 = _local5._-CJ; _local13 = _local5.GetManifolds(); _local14 = _local5._-Ch; _local15 = _local5._-8q; _local16 = _local10._-D-.x; _local17 = _local10._-D-.y; _local18 = _local11._-D-.x; _local19 = _local11._-D-.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 = _-Eg[_local9]; _local26._-3Y = _local10; _local26._-8o = _local11; _local26._-0E = _local23; _local26.normal.x = _local24; _local26.normal.y = _local25; _local26._-8L = _local23._-8L; _local26._-H8 = _local14; _local26._-Ak = _local15; _local27 = 0; while (_local27 < _local26._-8L) { _local28 = _local23.points[_local27]; _local29 = _local26.points[_local27]; _local29._-GD = _local28._-GD; _local29._-5Y = _local28._-5Y; _local29._-4O = _local28._-4O; _local29._-u = 0; _local29._-8u._-56(_local28._-03); _local29.use ._-56(_local28._-GS); _local8 = _local10.m_xf.R; _local32 = (_local28._-03.x - _local10.m_sweep.localCenter.x); _local33 = (_local28._-03.y - _local10.m_sweep.localCenter.y); _local30 = ((_local8._-2I.x * _local32) + (_local8._-1.x * _local33)); _local33 = ((_local8._-2I.y * _local32) + (_local8._-1.y * _local33)); _local32 = _local30; _local29._-4h.Set(_local32, _local33); _local8 = _local11.m_xf.R; _local34 = (_local28._-GS.x - _local11.m_sweep.localCenter.x); _local35 = (_local28._-GS.y - _local11.m_sweep.localCenter.y); _local30 = ((_local8._-2I.x * _local34) + (_local8._-1.x * _local35)); _local35 = ((_local8._-2I.y * _local34) + (_local8._-1.y * _local35)); _local34 = _local30; _local29._-9l.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._-AK + _local11._-AK); _local40 = (_local40 + ((_local10._-Co * (_local36 - (_local38 * _local38))) + (_local11._-Co * (_local37 - (_local39 * _local39))))); _local29._-8A = (1 / _local40); _local41 = ((_local10.m_mass * _local10._-AK) + (_local11.m_mass * _local11._-AK)); _local41 = (_local41 + (((_local10.m_mass * _local10._-Co) * (_local36 - (_local38 * _local38))) + ((_local11.m_mass * _local11._-Co) * (_local37 - (_local39 * _local39))))); _local29._-7N = (1 / _local41); _local42 = _local25; _local43 = -(_local24); _local44 = ((_local32 * _local42) + (_local33 * _local43)); _local45 = ((_local34 * _local42) + (_local35 * _local43)); _local46 = (_local10._-AK + _local11._-AK); _local46 = (_local46 + ((_local10._-Co * (_local36 - (_local44 * _local44))) + (_local11._-Co * (_local37 - (_local45 * _local45))))); _local29._-98 = (1 / _local46); _local29._-6E = 0; if (_local29._-4O > 0){ _local29._-6E = (-60 * _local29._-4O); }; _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 < -(_-IN._-7u)){ _local29._-6E = (_local29._-6E + (-(_local26._-Ak) * _local47)); }; _local27++; }; _local9++; _local22++; }; _local6++; }; } public function InitVelocityConstraints(_arg1:_-6F):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:_-8y; var _local6:_-94; var _local7:_-h; var _local8:_-h; 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:_-4Y; var _local21:Number; var _local22:Number; var _local23:_-4Y; var _local5:int; while (_local5 < try ) { _local6 = _-Eg[_local5]; _local7 = _local6._-3Y; _local8 = _local6._-8o; _local9 = _local7._-AK; _local10 = _local7._-Co; _local11 = _local8._-AK; _local12 = _local8._-Co; _local13 = _local6.normal.x; _local14 = _local6.normal.y; _local15 = _local14; _local16 = -(_local13); if (_arg1._-Gq){ _local19 = _local6._-8L; _local18 = 0; while (_local18 < _local19) { _local20 = _local6.points[_local18]; _local6.points[_local18]._-GD = (_local20._-GD * _arg1._-62); _local20._-5Y = (_local20._-5Y * _arg1._-62); _local21 = ((_local20._-GD * _local13) + (_local20._-5Y * _local15)); _local22 = ((_local20._-GD * _local14) + (_local20._-5Y * _local16)); _local7.m_angularVelocity = (_local7.m_angularVelocity - (_local10 * ((_local20._-4h.x * _local22) - (_local20._-4h.y * _local21)))); _local7._-D-.x = (_local7._-D-.x - (_local9 * _local21)); _local7._-D-.y = (_local7._-D-.y - (_local9 * _local22)); _local8.m_angularVelocity = (_local8.m_angularVelocity + (_local12 * ((_local20._-9l.x * _local22) - (_local20._-9l.y * _local21)))); _local8._-D-.x = (_local8._-D-.x + (_local11 * _local21)); _local8._-D-.y = (_local8._-D-.y + (_local11 * _local22)); _local18++; }; } else { _local19 = _local6._-8L; _local18 = 0; while (_local18 < _local19) { _local23 = _local6.points[_local18]; _local23._-GD = 0; _local23._-5Y = 0; _local18++; }; }; _local5++; }; } public function SolvePositionConstraints(_arg1:Number):Boolean{ var _local3:_-8y; var _local4:b2Vec2; var _local6:_-94; var _local7:_-h; var _local8:_-h; 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:_-4Y; 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 < try ) { _local6 = _-Eg[_local5]; _local7 = _local6._-3Y; _local8 = _local6._-8o; _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._-AK); _local14 = (_local7.m_mass * _local7._-Co); _local15 = (_local8.m_mass * _local8._-AK); _local16 = (_local8.m_mass * _local8._-Co); _local17 = _local6.normal.x; _local18 = _local6.normal.y; _local19 = _local6._-8L; _local20 = 0; while (_local20 < _local19) { _local21 = _local6.points[_local20]; _local3 = _local7.m_xf.R; _local4 = _local7.m_sweep.localCenter; _local22 = (_local21._-8u.x - _local4.x); _local23 = (_local21._-8u.y - _local4.y); _local26 = ((_local3._-2I.x * _local22) + (_local3._-1.x * _local23)); _local23 = ((_local3._-2I.y * _local22) + (_local3._-1.y * _local23)); _local22 = _local26; _local3 = _local8.m_xf.R; _local4 = _local8.m_sweep.localCenter; _local24 = (_local21.use .x - _local4.x); _local25 = (_local21.use .y - _local4.y); _local26 = ((_local3._-2I.x * _local24) + (_local3._-1.x * _local25)); _local25 = ((_local3._-2I.y * _local24) + (_local3._-1.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._-4O); _local2 = _-BI._-Aw(_local2, _local33); _local34 = (_arg1 * _-BI._-13((_local33 + _-IN._-Ay), -(_-IN._-67), 0)); _local35 = (-(_local21._-7N) * _local34); _local36 = _local21._-u; _local21._-u = _-BI._-0b((_local36 + _local35), 0); _local35 = (_local21._-u - _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._-DW(); _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._-DW(); _local20++; }; _local5++; }; return ((_local2 >= (-1.5 * _-IN._-Ay))); } public function SolveVelocityConstraints():void{ var _local1:int; var _local2:_-4Y; 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:_-8y; var _local18:b2Vec2; var _local20:_-94; var _local21:_-h; var _local22:_-h; 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 < try ) { _local20 = _-Eg[_local19]; _local21 = _local20._-3Y; _local22 = _local20._-8o; _local23 = _local21.m_angularVelocity; _local24 = _local22.m_angularVelocity; _local25 = _local21._-D-; _local26 = _local22._-D-; _local27 = _local21._-AK; _local28 = _local21._-Co; _local29 = _local22._-AK; _local30 = _local22._-Co; _local31 = _local20.normal.x; _local32 = _local20.normal.y; _local33 = _local32; _local34 = -(_local31); _local35 = _local20._-H8; _local37 = _local20._-8L; _local1 = 0; while (_local1 < _local37) { _local2 = _local20.points[_local1]; _local7 = (((_local26.x + (-(_local24) * _local2._-9l.y)) - _local25.x) - (-(_local23) * _local2._-4h.y)); _local8 = (((_local26.y + (_local24 * _local2._-9l.x)) - _local25.y) - (_local23 * _local2._-4h.x)); _local9 = ((_local7 * _local31) + (_local8 * _local32)); _local11 = (-(_local2._-8A) * (_local9 - _local2._-6E)); _local10 = ((_local7 * _local33) + (_local8 * _local34)); _local12 = (_local2._-98 * -(_local10)); _local13 = _-BI._-0b((_local2._-GD + _local11), 0); _local11 = (_local13 - _local2._-GD); _local38 = (_local35 * _local2._-GD); _local14 = _-BI._-13((_local2._-5Y + _local12), -(_local38), _local38); _local12 = (_local14 - _local2._-5Y); _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._-4h.x * _local16) - (_local2._-4h.y * _local15)))); _local26.x = (_local26.x + (_local29 * _local15)); _local26.y = (_local26.y + (_local29 * _local16)); _local24 = (_local24 + (_local30 * ((_local2._-9l.x * _local16) - (_local2._-9l.y * _local15)))); _local2._-GD = _local13; _local2._-5Y = _local14; _local1++; }; _local21.m_angularVelocity = _local23; _local22.m_angularVelocity = _local24; _local19++; }; } public function _-6X():void{ var _local2:_-94; var _local3:_-2D; var _local4:int; var _local5:_-7c; var _local6:_-4Y; var _local1:int; while (_local1 < try ) { _local2 = _-Eg[_local1]; _local3 = _local2._-0E; _local4 = 0; while (_local4 < _local2._-8L) { _local5 = _local3.points[_local4]; _local6 = _local2.points[_local4]; _local5._-GD = _local6._-GD; _local5._-5Y = _local6._-5Y; _local4++; }; _local1++; }; } } }//package _-HM
Section 31
//_-1Y (_-HM._-1Y) package _-HM { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-CG.*; import _-Cx.*; public class _-1Y extends _-92 { private var _-Hc:Array; private var _-5R:_-2D; public var _-BN:_-2D; private static const _-9f:_-Bc = new _-Bc(); public function _-1Y(_arg1:_-4A, _arg2:_-4A):void{ _-5R = new _-2D(); _-Hc = [new _-2D()]; super(_arg1, _arg2); _-BN = _-Hc[0]; _-BN._-8L = 0; } override public function Evaluate(_arg1:_-11):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:_-7c; var _local7:_-Bc; var _local8:int; var _local10:_-7c; var _local11:Boolean; var _local12:uint; var _local13:int; var _local5:_-h = _-4-.m_body; var _local6:_-h = _-04.m_body; _-5R.Set(_-BN); _-k._-Bl(_-BN, (_-4- as _-CC), _local5.m_xf, (_-04 as _-CC), _local6.m_xf); var _local9:Array = [false, false]; _local7 = _-9f; _local7.shape1 = _-4-; _local7.shape2 = _-04; _local7._-H8 = _-Ch; _local7._-Ak = _-8q; if (_-BN._-8L > 0){ _local8 = 0; while (_local8 < _-BN._-8L) { _local10 = _-BN.points[_local8]; _local10._-GD = 0; _local10._-5Y = 0; _local11 = false; _local12 = _local10.id._-77; _local13 = 0; while (_local13 < _-5R._-8L) { if (_local9[_local13] == true){ } else { _local4 = _-5R.points[_local13]; if (_local4.id._-77 == _local12){ _local9[_local13] = true; _local10._-GD = _local4._-GD; _local10._-5Y = _local4._-5Y; _local11 = true; if (_arg1 != null){ _local7.position = _local5.GetWorldPoint(_local10._-03); _local2 = _local5._-Cu(_local10._-03); _local3 = _local6._-Cu(_local10._-GS); _local7._-n.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-56(_-BN.normal); _local7._-4O = _local10._-4O; _local7.id.key = _local12; _arg1._-2X(_local7); }; break; }; }; _local13++; }; if ((((_local11 == false)) && (!((_arg1 == null))))){ _local7.position = _local5.GetWorldPoint(_local10._-03); _local2 = _local5._-Cu(_local10._-03); _local3 = _local6._-Cu(_local10._-GS); _local7._-n.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-56(_-BN.normal); _local7._-4O = _local10._-4O; _local7.id.key = _local12; _arg1.Add(_local7); }; _local8++; }; _-CJ = 1; } else { _-CJ = 0; }; if (_arg1 == null){ return; }; _local8 = 0; while (_local8 < _-5R._-8L) { if (_local9[_local8]){ } else { _local4 = _-5R.points[_local8]; _local7.position = _local5.GetWorldPoint(_local4._-03); _local2 = _local5._-Cu(_local4._-03); _local3 = _local6._-Cu(_local4._-GS); _local7._-n.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-56(_-5R.normal); _local7._-4O = _local4._-4O; _local7.id.key = _local4.id._-77; _arg1._-9P(_local7); }; _local8++; }; } override public function GetManifolds():Array{ return (_-Hc); } public static function _-2d(_arg1:_-92, _arg2):void{ } public static function _-Hg(_arg1:_-4A, _arg2:_-4A, _arg3):_-92{ return (new _-1Y(_arg1, _arg2)); } } }//package _-HM
Section 32
//_-2M (_-HM._-2M) package _-HM { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-CG.*; import _-Cx.*; public class _-2M extends _-92 { private var _-Hc:Array; public var _-BN:_-2D; private var _-5R:_-2D; private static const _-9f:_-Bc = new _-Bc(); public function _-2M(_arg1:_-4A, _arg2:_-4A){ _-Hc = [new _-2D()]; _-5R = new _-2D(); super(_arg1, _arg2); _-BN = _-Hc[0]; _-BN._-8L = 0; var _local3:_-7c = _-BN.points[0]; _local3._-GD = 0; _local3._-5Y = 0; } override public function Evaluate(_arg1:_-11):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:_-7c; var _local8:_-7c; var _local5:_-h = _-4-.m_body; var _local6:_-h = _-04.m_body; _-5R.Set(_-BN); _-k._-5c(_-BN, (_-4- as _-7R), _local5.m_xf, (_-04 as _-7R), _local6.m_xf); var _local7:_-Bc = _-9f; _local7.shape1 = _-4-; _local7.shape2 = _-04; _local7._-H8 = _-Ch; _local7._-Ak = _-8q; if (_-BN._-8L > 0){ _-CJ = 1; _local8 = _-BN.points[0]; if (_-5R._-8L == 0){ _local8._-GD = 0; _local8._-5Y = 0; if (_arg1){ _local7.position = _local5.GetWorldPoint(_local8._-03); _local2 = _local5._-Cu(_local8._-03); _local3 = _local6._-Cu(_local8._-GS); _local7._-n.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-56(_-BN.normal); _local7._-4O = _local8._-4O; _local7.id.key = _local8.id._-77; _arg1.Add(_local7); }; } else { _local4 = _-5R.points[0]; _local8._-GD = _local4._-GD; _local8._-5Y = _local4._-5Y; if (_arg1){ _local7.position = _local5.GetWorldPoint(_local8._-03); _local2 = _local5._-Cu(_local8._-03); _local3 = _local6._-Cu(_local8._-GS); _local7._-n.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-56(_-BN.normal); _local7._-4O = _local8._-4O; _local7.id.key = _local8.id._-77; _arg1._-2X(_local7); }; }; } else { _-CJ = 0; if ((((_-5R._-8L > 0)) && (_arg1))){ _local4 = _-5R.points[0]; _local7.position = _local5.GetWorldPoint(_local4._-03); _local2 = _local5._-Cu(_local4._-03); _local3 = _local6._-Cu(_local4._-GS); _local7._-n.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal._-56(_-5R.normal); _local7._-4O = _local4._-4O; _local7.id.key = _local4.id._-77; _arg1._-9P(_local7); }; }; } override public function GetManifolds():Array{ return (_-Hc); } public static function _-2d(_arg1:_-92, _arg2):void{ } public static function _-Hg(_arg1:_-4A, _arg2:_-4A, _arg3):_-92{ return (new _-2M(_arg1, _arg2)); } } }//package _-HM
Section 33
//_-2T (_-HM._-2T) package _-HM { import _-CG.*; public class _-2T extends _-92 { override public function Evaluate(_arg1:_-11):void{ } override public function GetManifolds():Array{ return (null); } } }//package _-HM
Section 34
//_-4Y (_-HM._-4Y) package _-HM { import Box2D.Common.Math.*; public class _-4Y { public var _-9l:b2Vec2; public var _-4O:Number; public var _-u:Number; public var _-GD:Number; public var _-98:Number; public var _-7N:Number; public var _-5Y:Number; public var _-8u:b2Vec2; public var use :b2Vec2; public var _-8A:Number; public var _-6E:Number; public var _-4h:b2Vec2; public function _-4Y(){ _-8u = new b2Vec2(); use = new b2Vec2(); _-4h = new b2Vec2(); _-9l = new b2Vec2(); super(); } } }//package _-HM
Section 35
//_-92 (_-HM._-92) package _-HM { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-CG.*; import _-Cx.*; public class _-92 { public var _-4-:_-4A; public var _-04:_-4A; public var _-Fw:_-92; public var _-5Q:Number; public var _-HY:_-92; public var _-Ch:Number; public var _-CJ:int; public var _-DN:_-G; public var _-E1:_-G; public var _-8q:Number; public var _-6z:uint; public static var _-9Q:uint = 8; public static var _-5I:uint = 1; public static var _-6V:uint = 2; public static var _-5g:uint = 4; public static var set:Array; public static var _-8-:Boolean = false; public function _-92(_arg1:_-4A=null, _arg2:_-4A=null){ _-DN = new _-G(); _-E1 = new _-G(); super(); _-6z = 0; if (((!(_arg1)) || (!(_arg2)))){ _-4- = null; _-04 = null; return; }; if (((_arg1._-CT()) || (_arg2._-CT()))){ _-6z = (_-6z | _-5I); }; _-4- = _arg1; _-04 = _arg2; _-CJ = 0; _-Ch = Math.sqrt((_-4-._-Ch * _-04._-Ch)); _-8q = _-BI._-0b(_-4-._-8q, _-04._-8q); _-Fw = null; _-HY = null; _-DN._-CH = null; _-DN._-D3 = null; _-DN.next = null; _-DN._-9s = null; _-E1._-CH = null; _-E1._-D3 = null; _-E1.next = null; _-E1._-9s = null; } public function _-1m():Boolean{ return (((_-6z & _-5I) == 0)); } public function _-4d():_-4A{ return (_-4-); } public function _-3D():_-4A{ return (_-04); } public function _-EM():_-92{ return (_-HY); } public function _-2f():int{ return (_-CJ); } public function GetManifolds():Array{ return (null); } public function _-8H(_arg1:_-11):void{ var _local2:int = _-CJ; Evaluate(_arg1); var _local3:int = _-CJ; var _local4:_-h = _-4-.m_body; var _local5:_-h = _-04.m_body; if ((((_local3 == 0)) && ((_local2 > 0)))){ _local4.WakeUp(); _local5.WakeUp(); }; if (((((((_local4.IsStatic()) || (_local4._-4T()))) || (_local5.IsStatic()))) || (_local5._-4T()))){ _-6z = (_-6z & ~(_-6V)); } else { _-6z = (_-6z | _-6V); }; } public function Evaluate(_arg1:_-11):void{ } public static function _-6U():void{ var _local2:int; set = new Array(_-4A._-D4); var _local1:int; while (_local1 < _-4A._-D4) { set[_local1] = new Array(_-4A._-D4); _local2 = 0; while (_local2 < _-4A._-D4) { set[_local1][_local2] = new _-BD(); _local2++; }; _local1++; }; _-Ck(_-2M._-Hg, _-2M._-2d, _-4A._-79, _-4A._-79); _-Ck(do._-Hg, do._-2d, _-4A._-1E, _-4A._-79); _-Ck(_-1Y._-Hg, _-1Y._-2d, _-4A._-1E, _-4A._-1E); } public static function _-2d(_arg1:_-92, _arg2):void{ if (_arg1._-CJ > 0){ _arg1._-4-.m_body.WakeUp(); _arg1._-04.m_body.WakeUp(); }; var _local3:int = _arg1._-4-.m_type; var _local4:int = _arg1._-04.m_type; var _local5:_-BD = set[_local3][_local4]; var _local6:Function = _local5.destroyFcn; _local6(_arg1, _arg2); } public static function _-Ck(_arg1:Function, _arg2:Function, _arg3:int, _arg4:int):void{ set[_arg3][_arg4].createFcn = _arg1; set[_arg3][_arg4].destroyFcn = _arg2; set[_arg3][_arg4].primary = true; if (_arg3 != _arg4){ set[_arg4][_arg3].createFcn = _arg1; set[_arg4][_arg3].destroyFcn = _arg2; set[_arg4][_arg3].primary = false; }; } public static function _-Hg(_arg1:_-4A, _arg2:_-4A, _arg3):_-92{ var _local8:_-92; var _local9:int; var _local10:_-2D; if (_-8- == false){ _-6U(); _-8- = true; }; var _local4:int = _arg1.m_type; var _local5:int = _arg2.m_type; var _local6:_-BD = set[_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._-CJ) { _local10 = _local8.GetManifolds()[_local9]; _local8.GetManifolds()[_local9].normal = _local10.normal._-1q(); _local9++; }; return (_local8); } else { }; return (!NULL!); } } }//package _-HM
Section 36
//_-94 (_-HM._-94) package _-HM { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-CG.*; public class _-94 { public var points:Array; public var normal:b2Vec2; public var _-Ak:Number; public var _-3Y:_-h; public var _-0E:_-2D; public var _-8o:_-h; public var _-H8:Number; public var _-8L:int; public function _-94(){ normal = new b2Vec2(); super(); points = new Array(_-IN._-76); var _local1:int; while (_local1 < _-IN._-76) { points[_local1] = new _-4Y(); _local1++; }; } } }//package _-HM
Section 37
//_-BD (_-HM._-BD) package _-HM { public class _-BD { public var primary:Boolean; public var createFcn:Function; public var destroyFcn:Function; } }//package _-HM
Section 38
//_-G (_-HM._-G) package _-HM { import _-CG.*; public class _-G { public var _-9s:_-h; public var _-D3:_-G; public var _-CH:_-92; public var next:_-G; } }//package _-HM
Section 39
//do (_-HM.do) package _-HM { import Box2D.Common.Math.*; import Box2D.Collision.*; import _-1x.*; import _-CG.*; import _-Cx.*; public class do extends _-92 { private var _-Hc:Array; public var _-BN:_-2D; private var _-5R:_-2D; private static const _-9f:_-Bc = new _-Bc(); public function do(_arg1:_-4A, _arg2:_-4A){ _-Hc = [new _-2D()]; _-5R = new _-2D(); super(_arg1, _arg2); _-BN = _-Hc[0]; _-IN._-1S((_-4-.m_type == _-4A._-1E)); _-IN._-1S((_-04.m_type == _-4A._-79)); _-BN._-8L = 0; var _local3:_-7c = _-BN.points[0]; _local3._-GD = 0; _local3._-5Y = 0; } override public function Evaluate(_arg1:_-11):void{ var _local2:int; var _local3:b2Vec2; var _local4:b2Vec2; var _local5:_-7c; var _local10:_-7c; var _local11:Boolean; var _local12:uint; var _local13:int; var _local6:_-h = _-4-.m_body; var _local7:_-h = _-04.m_body; _-5R.Set(_-BN); _-k._-86(_-BN, (_-4- as _-CC), _local6.m_xf, (_-04 as _-7R), _local7.m_xf); var _local8:Array = [false, false]; var _local9:_-Bc = _-9f; _local9.shape1 = _-4-; _local9.shape2 = _-04; _local9._-H8 = _-Ch; _local9._-Ak = _-8q; if (_-BN._-8L > 0){ _local2 = 0; while (_local2 < _-BN._-8L) { _local10 = _-BN.points[_local2]; _local10._-GD = 0; _local10._-5Y = 0; _local11 = false; _local12 = _local10.id._-77; _local13 = 0; while (_local13 < _-5R._-8L) { if (_local8[_local13] == true){ } else { _local5 = _-5R.points[_local13]; if (_local5.id._-77 == _local12){ _local8[_local13] = true; _local10._-GD = _local5._-GD; _local10._-5Y = _local5._-5Y; _local11 = true; if (_arg1 != null){ _local9.position = _local6.GetWorldPoint(_local10._-03); _local3 = _local6._-Cu(_local10._-03); _local4 = _local7._-Cu(_local10._-GS); _local9._-n.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal._-56(_-BN.normal); _local9._-4O = _local10._-4O; _local9.id.key = _local12; _arg1._-2X(_local9); }; break; }; }; _local13++; }; if ((((_local11 == false)) && (!((_arg1 == null))))){ _local9.position = _local6.GetWorldPoint(_local10._-03); _local3 = _local6._-Cu(_local10._-03); _local4 = _local7._-Cu(_local10._-GS); _local9._-n.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal._-56(_-BN.normal); _local9._-4O = _local10._-4O; _local9.id.key = _local12; _arg1.Add(_local9); }; _local2++; }; _-CJ = 1; } else { _-CJ = 0; }; if (_arg1 == null){ return; }; _local2 = 0; while (_local2 < _-5R._-8L) { if (_local8[_local2]){ } else { _local5 = _-5R.points[_local2]; _local9.position = _local6.GetWorldPoint(_local5._-03); _local3 = _local6._-Cu(_local5._-03); _local4 = _local7._-Cu(_local5._-GS); _local9._-n.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal._-56(_-5R.normal); _local9._-4O = _local5._-4O; _local9.id.key = _local5.id._-77; _arg1._-9P(_local9); }; _local2++; }; } override public function GetManifolds():Array{ return (_-Hc); } public static function _-2d(_arg1:_-92, _arg2):void{ } public static function _-Hg(_arg1:_-4A, _arg2:_-4A, _arg3):_-92{ return (new do(_arg1, _arg2)); } } }//package _-HM
Section 40
// if (Box2D.Collision. if) package Box2D.Collision { import Box2D.Common.Math.*; import _-1x.*; public class if { public var _-GK:Array; public var _-Fi:final; public var _-:Array; public var _-89:uint; public var _-9U:b2Vec2; public var _-F0:int; public var do :Array; public var do:int; public var _-AF:_-30; public var _-AD:uint; public var _-3a:Array; public static const _-Q:uint = 0xFFFF; public static const _-7F:uint = 0xFFFF; public static var _-Af:Boolean = false; public function if(_arg1:final, _arg2:_-EP){ var _local3:int; var _local6:_-7Z; var _local7:int; _-AF = new _-30(); do = new Array(_-IN._-Dd); _-GK = new Array((2 * _-IN._-2r)); _- = new Array(_-IN._-2r); _-3a = new Array(_-IN._-2r); _-9U = new b2Vec2(); super(); _-AF.class(this, _arg2); _-Fi = _arg1; _-F0 = 0; _local3 = 0; while (_local3 < _-IN._-2r) { _-3a[_local3] = 0; _-[_local3] = 0; _local3++; }; _-GK = new Array(2); _local3 = 0; while (_local3 < 2) { _-GK[_local3] = new Array((2 * _-IN._-2r)); _local7 = 0; while (_local7 < (2 * _-IN._-2r)) { _-GK[_local3][_local7] = new _-7o(); _local7++; }; _local3++; }; var _local4:Number = (_arg1._-7A.x - _arg1._-Hy.x); var _local5:Number = (_arg1._-7A.y - _arg1._-Hy.y); _-9U.x = (_-IN._-A5 / _local4); _-9U.y = (_-IN._-A5 / _local5); _local3 = 0; while (_local3 < (_-IN._-2r - 1)) { _local6 = new _-7Z(); do [_local3] = _local6; _local6.get((_local3 + 1)); _local6._-I6 = 0; _local6._-Be = _-7F; _local6.userData = null; _local3++; }; _local6 = new _-7Z(); do [int((_-IN._-2r - 1))] = _local6; _local6.get(_-8U._-HI); _local6._-I6 = 0; _local6._-Be = _-7F; _local6.userData = null; _-89 = 0; _-AD = 1; do = 0; } public function _-b(_arg1:final, _arg2, _arg3:int):int{ var _local6:uint; var _local7:uint; var _local12:_-7Z; var _local4:Array = new Array(); var _local5:Array = new Array(); _-0x(_local4, _local5, _arg1); var _local8:Array = [_local6]; var _local9:Array = [_local7]; _-5F(_local8, _local9, _local4[0], _local5[0], _-GK[0], (2 * _-F0), 0); _-5F(_local8, _local9, _local4[1], _local5[1], _-GK[1], (2 * _-F0), 1); var _local10:int; var _local11:int; while ((((_local11 < do)) && ((_local10 < _arg3)))) { _local12 = do [_-3a[_local11]]; _arg2[_local11] = _local12.userData; _local11++; _local10++; }; do = 0; _-6g(); return (_local10); } public function _-B9():void{ _-AF._-B9(); } public function set(_arg1:int):_-7Z{ var _local2:_-7Z = do [_arg1]; if ((((_arg1 == _-8U._-HI)) || ((_local2._-Gh() == false)))){ return (null); }; return (_local2); } private function _-6g():void{ var _local1:uint; if (_-AD == _-IN._-A5){ _local1 = 0; while (_local1 < _-IN._-2r) { (do [_local1] as _-7Z)._-I6 = 0; _local1++; }; _-AD = 1; } else { _-AD++; }; } private function _-5F(_arg1:Array, _arg2:Array, _arg3:uint, _arg4:uint, _arg5:Array, _arg6:uint, _arg7:int):void{ var _local10:_-7o; var _local12:int; var _local13:int; var _local14:_-7Z; var _local8:uint = use(_arg5, _arg6, _arg3); var _local9:uint = use(_arg5, _arg6, _arg4); var _local11:uint = _local8; while (_local11 < _local9) { _local10 = _arg5[_local11]; if (_local10.IsLower()){ _-EW(_local10.proxyId); }; _local11++; }; if (_local8 > 0){ _local12 = (_local8 - 1); _local10 = _arg5[_local12]; _local13 = _local10._-9m; while (_local13) { _local10 = _arg5[_local12]; if (_local10.IsLower()){ _local14 = do [_local10.proxyId]; if (_local8 <= _local14._-2b[_arg7]){ _-EW(_local10.proxyId); _local13--; }; }; _local12--; }; }; _arg1[0] = _local8; _arg2[0] = _local9; } private function _-F6(_arg1:uint, _arg2:_-7Z, _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 < do)) && ((_-[_local6] < _local5)))) { _local6++; }; var _local7:Number = _local5; var _local8:uint = _arg1; do = ( do + 1); if ( do > _arg3){ do = _arg3; }; while (_local6 < do) { _local9 = _-[_local6]; _local10 = _-3a[_local6]; _-[_local6] = _local7; _-3a[_local6] = _local8; _local7 = _local9; _local8 = _local10; _local6++; }; } private function _-5S(_arg1:_-7Z, _arg2:_-7Z):Boolean{ var _local4:Array; var _local5:_-7o; var _local6:_-7o; var _local3:int; while (_local3 < 2) { _local4 = _-GK[_local3]; _local5 = _local4[_arg1._-3V[_local3]]; _local6 = _local4[_arg2._-2b[_local3]]; if (_local5.value > _local6.value){ return (false); }; _local5 = _local4[_arg1._-2b[_local3]]; _local6 = _local4[_arg2._-3V[_local3]]; if (_local5.value < _local6.value){ return (false); }; _local3++; }; return (true); } private function _-0x(_arg1:Array, _arg2:Array, _arg3:final):void{ var _local4:Number = _arg3._-Hy.x; var _local5:Number = _arg3._-Hy.y; _local4 = _-BI._-Aw(_local4, _-Fi._-7A.x); _local5 = _-BI._-Aw(_local5, _-Fi._-7A.y); _local4 = _-BI._-0b(_local4, _-Fi._-Hy.x); _local5 = _-BI._-0b(_local5, _-Fi._-Hy.y); var _local6:Number = _arg3._-7A.x; var _local7:Number = _arg3._-7A.y; _local6 = _-BI._-Aw(_local6, _-Fi._-7A.x); _local7 = _-BI._-Aw(_local7, _-Fi._-7A.y); _local6 = _-BI._-0b(_local6, _-Fi._-Hy.x); _local7 = _-BI._-0b(_local7, _-Fi._-Hy.y); _arg1[0] = (uint((_-9U.x * (_local4 - _-Fi._-Hy.x))) & (_-IN._-A5 - 1)); _arg2[0] = ((uint((_-9U.x * (_local6 - _-Fi._-Hy.x))) & 0xFFFF) | 1); _arg1[1] = (uint((_-9U.y * (_local5 - _-Fi._-Hy.y))) & (_-IN._-A5 - 1)); _arg2[1] = ((uint((_-9U.y * (_local7 - _-Fi._-Hy.y))) & 0xFFFF) | 1); } public function _-w(_arg1:final, _arg2):uint{ var _local3:uint; var _local4:_-7Z; 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:_-7o; var _local20:_-7o; var _local21:_-7o; var _local22:int; var _local23:_-7Z; var _local5:uint = _-89; _local4 = do [_local5]; _-89 = _local4._-EM(); _local4._-Be = 0; _local4.userData = _arg2; var _local6:uint = (2 * _-F0); var _local7:Array = new Array(); var _local8:Array = new Array(); _-0x(_local7, _local8, _arg1); var _local9:int; while (_local9 < 2) { _local11 = _-GK[_local9]; _local14 = [_local12]; _local15 = [_local13]; _-5F(_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 _-7o(); _local19 = _local16[_local17]; _local20 = _local11[int((_local13 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19._-9m = _local20._-9m; _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._-9m = _local20._-9m; _local17++; }; _local16 = new Array(); _local18 = (_local13 - _local12); _local17 = 0; while (_local17 < _local18) { _local16[_local17] = new _-7o(); _local19 = _local16[_local17]; _local20 = _local11[int((_local12 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19._-9m = _local20._-9m; _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._-9m = _local20._-9m; _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._-9m = ((_local12 == 0)) ? 0 : _local21._-9m; _local21 = _local11[int((_local13 - 1))]; _local20._-9m = _local21._-9m; _local3 = _local12; while (_local3 < _local13) { _local21 = _local11[_local3]; _local21._-9m++; _local3++; }; _local3 = _local12; while (_local3 < (_local6 + 2)) { _local19 = _local11[_local3]; _local23 = do [_local19.proxyId]; if (_local19.IsLower()){ _local23._-3V[_local9] = _local3; } else { _local23._-2b[_local9] = _local3; }; _local3++; }; _local9++; }; _-F0++; var _local10:int; while (_local10 < do) { _-AF._-Cb(_local5, _-3a[_local10]); _local10++; }; _-AF._-B9(); do = 0; _-6g(); return (_local5); } public function _-5f(_arg1:uint):void{ var _local2:_-7o; var _local3:_-7o; 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:_-7Z; var _local4:_-7Z = do [_arg1]; var _local5:int = (2 * _-F0); var _local6:int; while (_local6 < 2) { _local8 = _-GK[_local6]; _local9 = _local4._-3V[_local6]; _local10 = _local4._-2b[_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 _-7o(); _local2 = _local13[_local14]; _local3 = _local8[int(((_local9 + 1) + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2._-9m = _local3._-9m; _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._-9m = _local3._-9m; _local14++; }; _local13 = new Array(); _local15 = ((_local5 - _local10) - 1); _local14 = 0; while (_local14 < _local15) { _local13[_local14] = new _-7o(); _local2 = _local13[_local14]; _local3 = _local8[int(((_local10 + 1) + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2._-9m = _local3._-9m; _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._-9m = _local3._-9m; _local14++; }; _local15 = (_local5 - 2); _local17 = _local9; while (_local17 < _local15) { _local2 = _local8[_local17]; _local19 = do [_local2.proxyId]; if (_local2.IsLower()){ _local19._-3V[_local6] = _local17; } else { _local19._-2b[_local6] = _local17; }; _local17++; }; _local15 = (_local10 - 1); _local18 = _local9; while (_local18 < _local15) { _local2 = _local8[_local18]; _local2._-9m--; _local18++; }; _-5F([0], [0], _local11, _local12, _local8, (_local5 - 2), _local6); _local6++; }; var _local7:int; while (_local7 < do) { _-AF._-HW(_arg1, _-3a[_local7]); _local7++; }; _-AF._-B9(); do = 0; _-6g(); _local4.userData = null; _local4._-Be = _-7F; _local4._-3V[0] = _-7F; _local4._-3V[1] = _-7F; _local4._-2b[0] = _-7F; _local4._-2b[1] = _-7F; _local4.get(_-89); _-89 = _arg1; _-F0--; } public function _-2l(_arg1:_-5E, _arg2:_-7Z):Boolean{ var _local4:Array; var _local5:_-7o; var _local3:int; while (_local3 < 2) { _local4 = _-GK[_local3]; _local5 = _local4[_arg2._-2b[_local3]]; if (_arg1._-1v[_local3] > _local5.value){ return (false); }; _local5 = _local4[_arg2._-3V[_local3]]; if (_arg1.implements[_local3] < _local5.value){ return (false); }; _local3++; }; return (true); } public function _-I3():void{ var _local1:_-8U; var _local2:_-7Z; var _local3:_-7Z; var _local4:Boolean; var _local6:_-7o; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:_-7o; var _local5:int; while (_local5 < 2) { _local6 = _-GK[_local5]; _local7 = (2 * _-F0); _local8 = 0; _local9 = 0; while (_local9 < _local7) { _local10 = _local6[_local9]; if (_local10.IsLower() == true){ _local8++; } else { _local8--; }; _local9++; }; _local5++; }; } private function _-EW(_arg1:uint):void{ var _local2:_-7Z = do [_arg1]; if (_local2._-I6 < _-AD){ _local2._-I6 = _-AD; _local2._-Be = 1; } else { _local2._-Be = 2; _-3a[ do] = _arg1; do++; }; } public function _-Fb(_arg1:final):Boolean{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = _arg1._-Hy.x; _local3 = _arg1._-Hy.y; _local2 = (_local2 - _-Fi._-7A.x); _local3 = (_local3 - _-Fi._-7A.y); _local4 = _-Fi._-Hy.x; _local5 = _-Fi._-Hy.y; _local4 = (_local4 - _arg1._-7A.x); _local5 = (_local5 - _arg1._-7A.y); _local2 = _-BI._-0b(_local2, _local4); _local3 = _-BI._-0b(_local3, _local5); return ((_-BI._-0b(_local2, _local3) < 0)); } public function _-0g(_arg1:_-AY, _arg2, _arg3:int, _arg4:Function):int{ var _local15:int; var _local16:int; var _local17:uint; var _local18:_-7Z; 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) * _-9U.x); var _local7:Number = ((_arg1.p2.y - _arg1.p1.y) * _-9U.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 = (_-9U.x * (_arg1.p1.x - _-Fi._-Hy.x)); var _local11:Number = (_-9U.y * (_arg1.p1.y - _-Fi._-Hy.y)); var _local12:Array = new Array(); var _local13:Array = new Array(); _local12[0] = (uint(_local10) & (_-IN._-A5 - 1)); _local12[1] = (uint(_local11) & (_-IN._-A5 - 1)); _local13[0] = (_local12[0] + 1); _local13[1] = (_local12[1] + 1); var _local14:Array = new Array(); var _local21:Array = [_local19]; var _local22:Array = [_local20]; _-5F(_local21, _local22, _local12[0], _local13[0], _-GK[0], (2 * _-F0), 0); if (_local8 >= 0){ _local15 = (_local22[0] - 1); } else { _local15 = _local21[0]; }; _-5F(_local21, _local22, _local12[1], _local13[1], _-GK[1], (2 * _-F0), 1); if (_local9 >= 0){ _local16 = (_local22[0] - 1); } else { _local16 = _local21[0]; }; if (_arg4 != null){ _local27 = 0; while (_local27 < do) { _-[_local27] = _arg4(do [_-3a[_local27]].userData); _local27++; }; _local27 = 0; while (_local27 < ( do - 1)) { _local28 = _-[_local27]; _local29 = _-[(_local27 + 1)]; if (((_local28)<0) ? (_local29 >= 0) : (((_local28 > _local29)) && ((_local29 >= 0)))){ _-[(_local27 + 1)] = _local28; _-[_local27] = _local29; _local30 = _-3a[(_local27 + 1)]; _-3a[(_local27 + 1)] = _-3a[_local27]; _-3a[_local27] = _local30; --_local27; if (_local27 == -1){ _local27 = 1; }; } else { _local27++; }; }; while (((( do > 0)) && ((_-[( do - 1)] < 0)))) { do--; }; }; var _local23:Boolean; if ((((_local15 < 0)) || ((_local15 >= (_-F0 * 2))))){ _local23 = false; }; if ((((_local16 < 0)) || ((_local16 >= (_-F0 * 2))))){ _local23 = false; }; if (_local23){ if (_local8 != 0){ if (_local8 > 0){ _local15++; if (_local15 == (_-F0 * 2)){ _local23 = false; }; } else { --_local15; if (_local15 < 0){ _local23 = false; }; }; _local24 = ((_-GK[0][_local15].value - _local10) / _local6); }; if (_local9 != 0){ if (_local9 > 0){ _local16++; if (_local16 == (_-F0 * 2)){ _local23 = false; }; } else { --_local16; if (_local16 < 0){ _local23 = false; }; }; _local25 = ((_-GK[1][_local16].value - _local11) / _local7); }; }; while (_local23) { if ((((_local9 == 0)) || (((!((_local8 == 0))) && ((_local24 < _local25)))))){ if (_local24 > _local5){ break; }; if (((_local8 > 0)) ? _-GK[0][_local15].IsLower() : _-GK[0][_local15].IsUpper()){ _local17 = _-GK[0][_local15].proxyId; _local18 = do [_local17]; if (_local9 >= 0){ if ((((_local18._-3V[1] <= (_local16 - 1))) && ((_local18._-2b[1] >= _local16)))){ if (_arg4 != null){ _-F6(_local17, _local18, _arg3, _arg4); } else { _-3a[ do] = _local17; do++; }; }; } else { if ((((_local18._-3V[1] <= _local16)) && ((_local18._-2b[1] >= (_local16 + 1))))){ if (_arg4 != null){ _-F6(_local17, _local18, _arg3, _arg4); } else { _-3a[ do] = _local17; do++; }; }; }; }; if (((((((!((_arg4 == null))) && (( do == _arg3)))) && (( do > 0)))) && ((_local24 > _-[( do - 1)])))){ break; }; if (_local8 > 0){ _local15++; if (_local15 == (_-F0 * 2)){ break; }; } else { --_local15; if (_local15 < 0){ break; }; }; _local24 = ((_-GK[0][_local15].value - _local10) / _local6); } else { if (_local25 > _local5){ break; }; if (((_local9 > 0)) ? _-GK[1][_local16].IsLower() : _-GK[1][_local16].IsUpper()){ _local17 = _-GK[1][_local16].proxyId; _local18 = do [_local17]; if (_local8 >= 0){ if ((((_local18._-3V[0] <= (_local15 - 1))) && ((_local18._-2b[0] >= _local15)))){ if (_arg4 != null){ _-F6(_local17, _local18, _arg3, _arg4); } else { _-3a[ do] = _local17; do++; }; }; } else { if ((((_local18._-3V[0] <= _local15)) && ((_local18._-2b[0] >= (_local15 + 1))))){ if (_arg4 != null){ _-F6(_local17, _local18, _arg3, _arg4); } else { _-3a[ do] = _local17; do++; }; }; }; }; if (((((((!((_arg4 == null))) && (( do == _arg3)))) && (( do > 0)))) && ((_local25 > _-[( do - 1)])))){ break; }; if (_local9 > 0){ _local16++; if (_local16 == (_-F0 * 2)){ break; }; } else { --_local16; if (_local16 < 0){ break; }; }; _local25 = ((_-GK[1][_local16].value - _local11) / _local7); }; }; var _local26:int; _local27 = 0; while ((((_local27 < do)) && ((_local26 < _arg3)))) { _local18 = do [_-3a[_local27]]; _arg2[_local27] = _local18.userData; _local27++; _local26++; }; do = 0; _-6g(); return (_local26); } public function _-4o(_arg1:uint, _arg2:final):void{ var _local3:Array; var _local4:int; var _local5:uint; var _local6:uint; var _local7:_-7o; var _local8:_-7o; var _local9:_-7o; var _local10:uint; var _local11:_-7Z; 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:_-7Z; if ((((_arg1 == _-8U._-HI)) || ((_-IN._-2r <= _arg1)))){ return; }; if (_arg2._-Gh() == false){ return; }; var _local12:uint = (2 * _-F0); var _local13:_-7Z = do [_arg1]; var _local14:_-5E = new _-5E(); _-0x(_local14._-1v, _local14.implements, _arg2); var _local15:_-5E = new _-5E(); _local5 = 0; while (_local5 < 2) { _local7 = _-GK[_local5][_local13._-3V[_local5]]; _local15._-1v[_local5] = _local7.value; _local7 = _-GK[_local5][_local13._-2b[_local5]]; _local15.implements[_local5] = _local7.value; _local5++; }; _local5 = 0; while (_local5 < 2) { _local16 = _-GK[_local5]; _local17 = _local13._-3V[_local5]; _local18 = _local13._-2b[_local5]; _local19 = _local14._-1v[_local5]; _local20 = _local14.implements[_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 _-7o).value)))) { _local7 = _local16[_local6]; _local8 = _local16[int((_local6 - 1))]; _local23 = _local8.proxyId; _local24 = do [_local8.proxyId]; _local8._-9m++; if (_local8.IsUpper() == true){ if (_-2l(_local14, _local24)){ _-AF._-Cb(_arg1, _local23); }; _local3 = _local24._-2b; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-9m++; } else { _local3 = _local24._-3V; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-9m--; }; _local3 = _local13._-3V; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-4F(_local8); _local6--; }; }; if (_local22 > 0){ _local6 = _local18; while ((((_local6 < (_local12 - 1))) && (((_local16[int((_local6 + 1))] as _-7o).value <= _local20)))) { _local7 = _local16[_local6]; _local9 = _local16[int((_local6 + 1))]; _local10 = _local9.proxyId; _local11 = do [_local10]; _local9._-9m++; if (_local9.IsLower() == true){ if (_-2l(_local14, _local11)){ _-AF._-Cb(_arg1, _local10); }; _local3 = _local11._-3V; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-9m++; } else { _local3 = _local11._-2b; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-9m--; }; _local3 = _local13._-2b; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-4F(_local9); _local6++; }; }; if (_local21 > 0){ _local6 = _local17; while ((((_local6 < (_local12 - 1))) && (((_local16[int((_local6 + 1))] as _-7o).value <= _local19)))) { _local7 = _local16[_local6]; _local9 = _local16[int((_local6 + 1))]; _local10 = _local9.proxyId; _local11 = do [_local10]; _local9._-9m--; if (_local9.IsUpper()){ if (_-2l(_local15, _local11)){ _-AF._-HW(_arg1, _local10); }; _local3 = _local11._-2b; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-9m--; } else { _local3 = _local11._-3V; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-9m++; }; _local3 = _local13._-3V; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-4F(_local9); _local6++; }; }; if (_local22 < 0){ _local6 = _local18; while ((((_local6 > 0)) && ((_local20 < (_local16[int((_local6 - 1))] as _-7o).value)))) { _local7 = _local16[_local6]; _local8 = _local16[int((_local6 - 1))]; _local23 = _local8.proxyId; _local24 = do [_local23]; _local8._-9m--; if (_local8.IsLower() == true){ if (_-2l(_local15, _local24)){ _-AF._-HW(_arg1, _local23); }; _local3 = _local24._-3V; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-9m--; } else { _local3 = _local24._-2b; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7._-9m++; }; _local3 = _local13._-2b; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7._-4F(_local8); _local6--; }; }; _local5++; }; } public static function use(_arg1:Array, _arg2:int, _arg3:uint):uint{ var _local6:int; var _local7:_-7o; 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 41
//_-09 (Box2D.Collision._-09) package Box2D.Collision { public class _-09 { public var _-77:uint; public var _-4C:_-1M; public function _-09(){ _-4C = new _-1M(); super(); _-4C._-5w = this; } public function Set(_arg1:_-09):void{ key = _arg1._-77; } public function Copy():_-09{ var _local1:_-09 = new _-09(); _local1.key = key; return (_local1); } public function set key(_arg1:uint):void{ _-77 = _arg1; _-4C._-9G = (_-77 & 0xFF); _-4C._-F1 = (((_-77 & 0xFF00) >> 8) & 0xFF); _-4C._-9D = (((_-77 & 0xFF0000) >> 16) & 0xFF); _-4C._-Gt = (((_-77 & 4278190080) >> 24) & 0xFF); } public function get key():uint{ return (_-77); } } }//package Box2D.Collision
Section 42
//_-1M (Box2D.Collision._-1M) package Box2D.Collision { public class _-1M { public var _-9G:int; public var _-F1:int; public var _-Gt:int; public var _-9D:int; public var _-5w:_-09; public function get _-6t():int{ return (_-9G); } public function set _-5j(_arg1:int):void{ _-9D = _arg1; _-5w._-77 = ((_-5w._-77 & 4278255615) | ((_-9D << 16) & 0xFF0000)); } public function get _-6I():int{ return (_-Gt); } public function get _-Ft():int{ return (_-F1); } public function set _-6t(_arg1:int):void{ _-9G = _arg1; _-5w._-77 = ((_-5w._-77 & 4294967040) | (_-9G & 0xFF)); } public function get _-5j():int{ return (_-9D); } public function set _-6I(_arg1:int):void{ _-Gt = _arg1; _-5w._-77 = ((_-5w._-77 & 0xFFFFFF) | ((_-Gt << 24) & 4278190080)); } public function set _-Ft(_arg1:int):void{ _-F1 = _arg1; _-5w._-77 = ((_-5w._-77 & 4294902015) | ((_-F1 << 8) & 0xFF00)); } } }//package Box2D.Collision
Section 43
//_-2D (Box2D.Collision._-2D) package Box2D.Collision { import Box2D.Common.Math.*; import _-1x.*; public class _-2D { public var _-8L:int;// = 0 public var normal:b2Vec2; public var points:Array; public function _-2D(){ points = new Array(_-IN._-76); var _local1:int; while (_local1 < _-IN._-76) { points[_local1] = new _-7c(); _local1++; }; normal = new b2Vec2(); } public function Set(_arg1:_-2D):void{ _-8L = _arg1._-8L; var _local2:int; while (_local2 < _-IN._-76) { (points[_local2] as _-7c).Set(_arg1.points[_local2]); _local2++; }; normal._-56(_arg1.normal); } public function _-1Z():void{ var _local1:int; while (_local1 < _-IN._-76) { (points[_local1] as _-7c)._-1Z(); _local1++; }; normal._-0t(); _-8L = 0; } } }//package Box2D.Collision
Section 44
//_-2O (Box2D.Collision._-2O) package Box2D.Collision { import Box2D.Common.Math.*; import _-1x.*; import _-Cx.*; public class _-2O { private static var _-9y:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var _-5N:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var _-AV:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var _-73:_-Bf = new _-Bf(); public static var _-9N:int = 0; public static function _-9M(_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 _-2K(_arg1:b2Vec2, _arg2:b2Vec2, _arg3, _arg4:_-AJ, _arg5, _arg6:_-AJ):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 = _-5N; var _local9:Array = _-9y; var _local10:Array = _-AV; var _local11:int; _arg1._-56(_arg3.GetFirstVertex(_arg4)); _arg2._-56(_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._-56(_local17); _arg2._-56(_local18); }; _-9N = _local14; return (Math.sqrt(_local12)); }; switch (_local11){ case 0: _local7 = _local8[0]; _local7._-56(_local17); _local7 = _local9[0]; _local7._-56(_local18); _local7 = _local10[0]; _local7.x = _local19; _local7.y = _local20; _arg1._-56(_local8[0]); _arg2._-56(_local9[0]); _local11++; break; case 1: _local7 = _local8[1]; _local7._-56(_local17); _local7 = _local9[1]; _local7._-56(_local18); _local7 = _local10[1]; _local7.x = _local19; _local7.y = _local20; _local11 = else(_arg1, _arg2, _local8, _local9, _local10); break; case 2: _local7 = _local8[2]; _local7._-56(_local17); _local7 = _local9[2]; _local7._-56(_local18); _local7 = _local10[2]; _local7.x = _local19; _local7.y = _local20; _local11 = each(_arg1, _arg2, _local8, _local9, _local10); break; }; if (_local11 == 3){ _-9N = _local14; return (0); }; _local22 = -(Number.MAX_VALUE); _local23 = 0; while (_local23 < _local11) { _local7 = _local10[_local23]; _local22 = _-BI._-0b(_local22, ((_local7.x * _local7.x) + (_local7.y * _local7.y))); _local23++; }; if ((((_local11 == 3)) || ((_local12 <= ((100 * Number.MIN_VALUE) * _local22))))){ _-9N = _local14; _local15 = (_arg2.x - _arg1.x); _local16 = (_arg2.y - _arg1.y); _local12 = ((_local15 * _local15) + (_local16 * _local16)); return (Math.sqrt(_local12)); }; _local14++; }; _-9N = _local13; return (Math.sqrt(_local12)); } public static function _-IA(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:_-7R, _arg4:_-AJ, _arg5:_-7R, _arg6:_-AJ):Number{ var _local7:_-8y; var _local8:b2Vec2; var _local19:Number; var _local20:Number; _local7 = _arg4.R; _local8 = _arg3._-5M; var _local9:Number = (_arg4.position.x + ((_local7._-2I.x * _local8.x) + (_local7._-1.x * _local8.y))); var _local10:Number = (_arg4.position.y + ((_local7._-2I.y * _local8.x) + (_local7._-1.y * _local8.y))); _local7 = _arg6.R; _local8 = _arg5._-5M; var _local11:Number = (_arg6.position.x + ((_local7._-2I.x * _local8.x) + (_local7._-1.x * _local8.y))); var _local12:Number = (_arg6.position.y + ((_local7._-2I.y * _local8.x) + (_local7._-1.y * _local8.y))); var _local13:Number = (_local11 - _local9); var _local14:Number = (_local12 - _local10); var _local15:Number = ((_local13 * _local13) + (_local14 * _local14)); var _local16:Number = (_arg3._-IQ - _-IN._-8N); var _local17:Number = (_arg5._-IQ - _-IN._-8N); 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 each(_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._-56(_local11); _arg2._-56(_local14); _local9._-56(_local11); _local12._-56(_local14); _local6._-56(_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._-56(_local11); _local12._-56(_local14); _local6._-56(_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._-56(_local11); _local13._-56(_local14); _local7._-56(_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 _-7y(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:_-CC, _arg4:_-AJ, _arg5:_-7R, _arg6:_-AJ):Number{ var _local7:_-8y; var _local8:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local9:_-Bf = _-73; _local8 = _arg5._-5M; _local7 = _arg6.R; _local9.p.x = (_arg6.position.x + ((_local7._-2I.x * _local8.x) + (_local7._-1.x * _local8.y))); _local9.p.y = (_arg6.position.y + ((_local7._-2I.y * _local8.x) + (_local7._-1.y * _local8.y))); var _local10:Number = _-2K(_arg1, _arg2, _arg3, _arg4, _local9, _-BI._-0l); var _local11:Number = (_arg5._-IQ - _-IN._-8N); 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 include(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:_-4A, _arg4:_-AJ, _arg5:_-4A, _arg6:_-AJ):Number{ var _local7:int = _arg3.m_type; var _local8:int = _arg5.m_type; if ((((_local7 == _-4A._-79)) && ((_local8 == _-4A._-79)))){ return (_-IA(_arg1, _arg2, (_arg3 as _-7R), _arg4, (_arg5 as _-7R), _arg6)); }; if ((((_local7 == _-4A._-1E)) && ((_local8 == _-4A._-79)))){ return (_-7y(_arg1, _arg2, (_arg3 as _-CC), _arg4, (_arg5 as _-7R), _arg6)); }; if ((((_local7 == _-4A._-79)) && ((_local8 == _-4A._-1E)))){ return (_-7y(_arg2, _arg1, (_arg5 as _-CC), _arg6, (_arg3 as _-7R), _arg4)); }; if ((((_local7 == _-4A._-1E)) && ((_local8 == _-4A._-1E)))){ return (_-2K(_arg1, _arg2, (_arg3 as _-CC), _arg4, (_arg5 as _-CC), _arg6)); }; return (0); } public static function else(_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._-56(_local9); _arg2._-56(_local11); _local8._-56(_local9); _local10._-56(_local11); _local6._-56(_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 45
//_-30 (Box2D.Collision._-30) package Box2D.Collision { import Box2D.Common.Math.*; import _-1x.*; public class _-30 { public var _-2v:int; public var _-EB:Array; public var _-IC:Array; public var _-Hu:_-EP; public var _-4c:Array; public var _-29:int; public var _-D6: if; public var _-1g:uint; public function _-30(){ var _local1:uint; super(); _-IC = new Array(_-8U._-9a); _local1 = 0; while (_local1 < _-8U._-9a) { _-IC[_local1] = _-8U._-0C; _local1++; }; _-4c = new Array(_-IN._-Dd); _local1 = 0; while (_local1 < _-IN._-Dd) { _-4c[_local1] = new _-8U(); _local1++; }; _-EB = new Array(_-IN._-Dd); _local1 = 0; while (_local1 < _-IN._-Dd) { _-EB[_local1] = new _-6C(); _local1++; }; _local1 = 0; while (_local1 < _-IN._-Dd) { _-4c[_local1].proxyId1 = _-8U._-HI; _-4c[_local1].proxyId2 = _-8U._-HI; _-4c[_local1].userData = null; _-4c[_local1].status = 0; _-4c[_local1].next = (_local1 + 1); _local1++; }; _-4c[int((_-IN._-Dd - 1))].next = _-8U._-0C; _-2v = 0; _-29 = 0; } private function _-7x(_arg1:uint, _arg2:uint, _arg3:uint):_-8U{ var _local4:_-8U; var _local5:uint = _-IC[_arg3]; _local4 = _-4c[_local5]; while (((!((_local5 == _-8U._-0C))) && ((_-CK(_local4, _arg1, _arg2) == false)))) { _local5 = _local4.next; _local4 = _-4c[_local5]; }; if (_local5 == _-8U._-0C){ return (null); }; return (_local4); } private function _-GH(_arg1:uint, _arg2:uint):_-8U{ var _local4:uint; if (_arg1 > _arg2){ _local4 = _arg1; _arg1 = _arg2; _arg2 = _local4; }; var _local3:uint = (_-8c(_arg1, _arg2) & _-8U._-9K); return (_-7x(_arg1, _arg2, _local3)); } private function _-ER():void{ } public function _-B9():void{ var _local1:_-6C; var _local2:int; var _local5:_-8U; var _local6:_-7Z; var _local7:_-7Z; var _local3:int; var _local4:Array = _-D6.do ; _local2 = 0; while (_local2 < _-29) { _local1 = _-EB[_local2]; _local5 = _-GH(_local1.proxyId1, _local1.proxyId2); _local5._-Go(); _local6 = _local4[_local5.proxyId1]; _local7 = _local4[_local5.proxyId2]; if (_local5._-0v()){ if (_local5._-Gn() == true){ _-Hu.PairRemoved(_local6.userData, _local7.userData, _local5.userData); }; _local1 = _-EB[_local3]; _local1.proxyId1 = _local5.proxyId1; _local1.proxyId2 = _local5.proxyId2; _local3++; } else { if (_local5._-Gn() == false){ _local5.userData = _-Hu.PairAdded(_local6.userData, _local7.userData); _local5._-0r(); }; }; _local2++; }; _local2 = 0; while (_local2 < _local3) { _local1 = _-EB[_local2]; _-In(_local1.proxyId1, _local1.proxyId2); _local2++; }; _-29 = 0; if ( if._-Af){ if (); }; } public function _-HW(_arg1:int, _arg2:int):void{ var _local3:_-6C; var _local4:_-8U = _-GH(_arg1, _arg2); if (_local4 == null){ return; }; if (_local4._-I() == false){ _local4._-Bg(); _local3 = _-EB[_-29]; _local3.proxyId1 = _local4.proxyId1; _local3.proxyId2 = _local4.proxyId2; _-29++; }; _local4._-58(); if ( if._-Af){ _-ER(); }; } private function _-In(_arg1:uint, _arg2:uint){ var _local3:_-8U; var _local7:uint; var _local8:uint; var _local9:*; if (_arg1 > _arg2){ _local7 = _arg1; _arg1 = _arg2; _arg2 = _local7; }; var _local4:uint = (_-8c(_arg1, _arg2) & _-8U._-9K); var _local5:uint = _-IC[_local4]; var _local6:_-8U; while (_local5 != _-8U._-0C) { if (_-CK(_-4c[_local5], _arg1, _arg2)){ _local8 = _local5; _local3 = _-4c[_local5]; if (_local6){ _local6.next = _local3.next; } else { _-IC[_local4] = _local3.next; }; _local3 = _-4c[_local8]; _local9 = _local3.userData; _local3.next = _-1g; _local3.proxyId1 = _-8U._-HI; _local3.proxyId2 = _-8U._-HI; _local3.userData = null; _local3.status = 0; _-1g = _local8; _-2v--; return (_local9); } else { _local6 = _-4c[_local5]; _local5 = _local6.next; }; }; return (null); } public function class(_arg1: if, _arg2:_-EP):void{ _-D6 = _arg1; _-Hu = _arg2; } public function _-Cb(_arg1:int, _arg2:int):void{ var _local3:_-6C; var _local4:_-8U = _-IU(_arg1, _arg2); if (_local4._-I() == false){ _local4._-Bg(); _local3 = _-EB[_-29]; _local3.proxyId1 = _local4.proxyId1; _local3.proxyId2 = _local4.proxyId2; _-29++; }; _local4._-6c(); if ( if._-Af){ _-ER(); }; } private function _-IU(_arg1:uint, _arg2:uint):_-8U{ var _local6:uint; if (_arg1 > _arg2){ _local6 = _arg1; _arg1 = _arg2; _arg2 = _local6; }; var _local3:uint = (_-8c(_arg1, _arg2) & _-8U._-9K); var _local4 = _-7x(_arg1, _arg2, _local3); if (_local4 != null){ return (_local4); }; var _local5:uint = _-1g; _local4 = _-4c[_local5]; _-1g = _local4.next; _local4.proxyId1 = _arg1; _local4.proxyId2 = _arg2; _local4.status = 0; _local4.userData = null; _local4.next = _-IC[_local3]; _-IC[_local3] = _local5; _-2v++; return (_local4); } private function if ():void{ } public static function _-4k(_arg1:_-6C, _arg2:_-6C):Boolean{ return ((((_arg1.proxyId1 == _arg2.proxyId1)) && ((_arg1.proxyId2 == _arg2.proxyId2)))); } public static function _-8c(_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 _-CK(_arg1:_-8U, _arg2:uint, _arg3:uint):Boolean{ return ((((_arg1.proxyId1 == _arg2)) && ((_arg1.proxyId2 == _arg3)))); } } }//package Box2D.Collision
Section 46
//_-5E (Box2D.Collision._-5E) package Box2D.Collision { public class _-5E { public var _-1v:Array; public var implements:Array; public function _-5E(){ _-1v = [0, 0]; implements = [0, 0]; super(); } } }//package Box2D.Collision
Section 47
//_-6C (Box2D.Collision._-6C) package Box2D.Collision { public class _-6C { public var proxyId1:uint; public var proxyId2:uint; } }//package Box2D.Collision
Section 48
//_-7c (Box2D.Collision._-7c) package Box2D.Collision { import Box2D.Common.Math.*; public class _-7c { public var _-4O:Number; public var _-GS:b2Vec2; public var _-GD:Number; public var _-5Y:Number; public var _-03:b2Vec2; public var id:_-09; public function _-7c(){ _-03 = new b2Vec2(); _-GS = new b2Vec2(); id = new _-09(); super(); } public function Set(_arg1:_-7c):void{ _-03._-56(_arg1._-03); _-GS._-56(_arg1._-GS); _-4O = _arg1._-4O; _-GD = _arg1._-GD; _-5Y = _arg1._-5Y; id.key = _arg1.id.key; } public function _-1Z():void{ _-03._-0t(); _-GS._-0t(); _-4O = 0; _-GD = 0; _-5Y = 0; id.key = 0; } } }//package Box2D.Collision
Section 49
//_-7o (Box2D.Collision._-7o) package Box2D.Collision { public class _-7o { public var value:uint; public var proxyId:uint; public var _-9m:uint; public function _-4F(_arg1:_-7o):void{ var _local2:uint = value; var _local3:uint = proxyId; var _local4:uint = _-9m; value = _arg1.value; proxyId = _arg1.proxyId; _-9m = _arg1._-9m; _arg1.value = _local2; _arg1.proxyId = _local3; _arg1._-9m = _local4; } public function IsLower():Boolean{ return (((value & 1) == 0)); } public function IsUpper():Boolean{ return (((value & 1) == 1)); } } }//package Box2D.Collision
Section 50
//_-7Z (Box2D.Collision._-7Z) package Box2D.Collision { public class _-7Z { public var _-Be:uint; public var userData;// = null public var _-3V:Array; public var _-2b:Array; public var _-I6:uint; public function _-7Z(){ _-3V = [uint(0), uint(0)]; _-2b = [uint(0), uint(0)]; super(); } public function _-EM():uint{ return (_-3V[0]); } public function _-Gh():Boolean{ return (!((_-Be == if._-7F))); } public function get(_arg1:uint):void{ _-3V[0] = (_arg1 & 0xFFFF); } } }//package Box2D.Collision
Section 51
//_-8a (Box2D.Collision._-8a) package Box2D.Collision { import Box2D.Common.Math.*; public class _-8a { public var id:_-09; public var v:b2Vec2; public function _-8a(){ v = new b2Vec2(); id = new _-09(); super(); } } }//package Box2D.Collision
Section 52
//_-8U (Box2D.Collision._-8U) package Box2D.Collision { import _-1x.*; public class _-8U { public var proxyId1:uint; public var userData;// = null public var proxyId2:uint; public var status:uint; public var next:uint; public static var _-9:uint = 4; public static var _-9K:int = (_-9a - 1); public static var _-Bp:uint = 2; public static var _-0C:uint = _-IN._-A5; public static var with:uint = 1; public static var _-HI:uint = _-IN._-A5; public static var _-9a:int = _-IN._-Dd; public function _-Bg():void{ status = (status | with); } public function _-I():Boolean{ return (((status & with) == with)); } public function _-Gn():Boolean{ return (((status & _-9) == _-9)); } public function _-6c():void{ status = (status & ~(_-Bp)); } public function _-0r():void{ status = (status | _-9); } public function _-0v():Boolean{ return (((status & _-Bp) == _-Bp)); } public function _-Go():void{ status = (status & ~(with)); } public function _-58():void{ status = (status | _-Bp); } } }//package Box2D.Collision
Section 53
//_-AY (Box2D.Collision._-AY) package Box2D.Collision { import Box2D.Common.Math.*; import _-1x.*; public class _-AY { public var p1:b2Vec2; public var p2:b2Vec2; public function _-AY(){ p1 = new b2Vec2(); p2 = new b2Vec2(); super(); } public function TestSegment(_arg1:Array, _arg2:b2Vec2, _arg3:_-AY, _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 _-7V(_arg1:final):void{ _-48(_arg1); _-FY(_arg1); } public function _-48(_arg1:final):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._-7A.x - p1.x) / dX) : ((dX < 0)) ? ((aabb._-Hy.x - p1.x) / dX) : Number.POSITIVE_INFINITY, ((dY > 0)) ? ((aabb._-7A.y - p1.y) / dY) : ((dY < 0)) ? ((aabb._-Hy.y - p1.y) / dY) : Number.POSITIVE_INFINITY); p2.x = (p1.x + (dX * lambda)); p2.y = (p1.y + (dY * lambda)); } public function _-FY(_arg1:final):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._-7A.x - p2.x) / dX) : ((dX < 0)) ? ((aabb._-Hy.x - p2.x) / dX) : Number.POSITIVE_INFINITY, ((dY > 0)) ? ((aabb._-7A.y - p2.y) / dY) : ((dY < 0)) ? ((aabb._-Hy.y - p2.y) / dY) : Number.POSITIVE_INFINITY); p1.x = (p2.x + (dX * lambda)); p1.y = (p2.y + (dY * lambda)); } } }//package Box2D.Collision
Section 54
//_-Bc (Box2D.Collision._-Bc) package Box2D.Collision { import Box2D.Common.Math.*; import _-Cx.*; public class _-Bc { public var _-H8:Number; public var _-4O:Number; public var normal:b2Vec2; public var position:b2Vec2; public var _-Ak:Number; public var shape1:_-4A; public var shape2:_-4A; public var id:_-09; public var _-n:b2Vec2; public function _-Bc(){ position = new b2Vec2(); _-n = new b2Vec2(); normal = new b2Vec2(); id = new _-09(); super(); } } }//package Box2D.Collision
Section 55
//_-Bf (Box2D.Collision._-Bf) package Box2D.Collision { import Box2D.Common.Math.*; public class _-Bf { public var p:b2Vec2; public function _-Bf(){ p = new b2Vec2(); super(); } public function GetFirstVertex(_arg1:_-AJ):b2Vec2{ return (p); } public function Support(_arg1:_-AJ, _arg2:Number, _arg3:Number):b2Vec2{ return (p); } } }//package Box2D.Collision
Section 56
//_-Cs (Box2D.Collision._-Cs) package Box2D.Collision { import Box2D.Common.Math.*; import _-1x.*; import _-Cx.*; public class _-Cs { public static var _-2E:_-AJ = new _-AJ(); public static var _-0D:_-AJ = new _-AJ(); public static var _-x:b2Vec2 = new b2Vec2(); public static var _-F7:b2Vec2 = new b2Vec2(); public static function _-2e(_arg1:_-4A, _arg2:_-Eo, _arg3:_-4A, _arg4:_-Eo):Number{ var _local5:Number; var _local6:Number; var _local25:Number; var _local26:_-AJ; var _local27:_-AJ; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local7:Number = _arg1._-2F; var _local8:Number = _arg3._-2F; var _local9:Number = _arg2._-0W; var _local10:Number = (_arg2.c.x - _arg2._-CM.x); var _local11:Number = (_arg2.c.y - _arg2._-CM.y); var _local12:Number = (_arg4.c.x - _arg4._-CM.x); var _local13:Number = (_arg4.c.y - _arg4._-CM.y); var _local14:Number = (_arg2.a - _arg2._-3q); var _local15:Number = (_arg4.a - _arg4._-3q); var _local16:Number = 0; var _local17:b2Vec2 = _-x; var _local18:b2Vec2 = _-F7; 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 = _-2E; _local27 = _-0D; _arg2._-26(_local26, _local25); _arg4._-26(_local27, _local25); _local23 = _-2O.include(_local17, _local18, _arg1, _local26, _arg3, _local27); if (_local20 == 0){ if (_local23 > (2 * _-IN._-8N)){ _local24 = (1.5 * _-IN._-8N); } else { _local5 = (0.05 * _-IN._-8N); _local6 = (_local23 - (0.5 * _-IN._-8N)); _local24 = ((_local5 > _local6)) ? _local5 : _local6; }; }; if (((((_local23 - _local24) < (0.05 * _-IN._-8N))) || ((_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
//_-EP (Box2D.Collision._-EP) package Box2D.Collision { public class _-EP { public function PairRemoved(_arg1, _arg2, _arg3):void{ } public function PairAdded(_arg1, _arg2){ return (null); } } }//package Box2D.Collision
Section 58
//_-Ic (Box2D.Collision._-Ic) package Box2D.Collision { import Box2D.Common.Math.*; public class _-Ic { public var R:_-8y; public var center:b2Vec2; public var _-28:b2Vec2; public function _-Ic(){ R = new _-8y(); center = new b2Vec2(); _-28 = new b2Vec2(); super(); } } }//package Box2D.Collision
Section 59
//_-k (Box2D.Collision._-k) package Box2D.Collision { import Box2D.Common.Math.*; import _-1x.*; import _-Cx.*; public class _-k { public static const _-Im:uint = 0xFF; private static var _-1h:b2Vec2 = new b2Vec2(); public static function _-6O(_arg1:_-CC, _arg2:_-AJ, _arg3:int, _arg4:_-CC, _arg5:_-AJ):Number{ var _local11:_-8y; var _local12:b2Vec2; var _local25:Number; var _local6:int = _arg1._-Ar; var _local7:Array = _arg1._-8b; var _local8:Array = _arg1._-71; var _local9:int = _arg4._-Ar; var _local10:Array = _arg4._-8b; _local11 = _arg2.R; _local12 = _local8[_arg3]; var _local13:Number = ((_local11._-2I.x * _local12.x) + (_local11._-1.x * _local12.y)); var _local14:Number = ((_local11._-2I.y * _local12.x) + (_local11._-1.y * _local12.y)); _local11 = _arg5.R; var _local15:Number = ((_local11._-2I.x * _local13) + (_local11._-2I.y * _local14)); var _local16:Number = ((_local11._-1.x * _local13) + (_local11._-1.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._-2I.x * _local12.x) + (_local11._-1.x * _local12.y))); var _local21:Number = (_arg2.position.y + ((_local11._-2I.y * _local12.x) + (_local11._-1.y * _local12.y))); _local12 = _local10[_local17]; _local11 = _arg5.R; var _local22:Number = (_arg5.position.x + ((_local11._-2I.x * _local12.x) + (_local11._-1.x * _local12.y))); var _local23:Number = (_arg5.position.y + ((_local11._-2I.y * _local12.x) + (_local11._-1.y * _local12.y))); _local22 = (_local22 - _local20); _local23 = (_local23 - _local21); var _local24:Number = ((_local22 * _local13) + (_local23 * _local14)); return (_local24); } public static function _-6R(_arg1:final, _arg2:final):Boolean{ var _local3:b2Vec2 = _arg2._-Hy; var _local4:b2Vec2 = _arg1._-7A; var _local5:Number = (_local3.x - _local4.x); var _local6:Number = (_local3.y - _local4.y); _local3 = _arg1._-Hy; _local4 = _arg2._-7A; 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 _-BO(_arg1:Array, _arg2:_-CC, _arg3:_-AJ, _arg4:int, _arg5:_-CC, _arg6:_-AJ):void{ var _local12:_-8y; var _local13:b2Vec2; var _local20:_-8a; var _local23:Number; var _local7:int = _arg2._-Ar; var _local8:Array = _arg2._-71; var _local9:int = _arg5._-Ar; var _local10:Array = _arg5._-8b; var _local11:Array = _arg5._-71; _local12 = _arg3.R; _local13 = _local8[_arg4]; var _local14:Number = ((_local12._-2I.x * _local13.x) + (_local12._-1.x * _local13.y)); var _local15:Number = ((_local12._-2I.y * _local13.x) + (_local12._-1.y * _local13.y)); _local12 = _arg6.R; var _local16:Number = ((_local12._-2I.x * _local14) + (_local12._-2I.y * _local15)); _local15 = ((_local12._-1.x * _local14) + (_local12._-1.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._-2I.x * _local13.x) + (_local12._-1.x * _local13.y))); _local20.v.y = (_arg6.position.y + ((_local12._-2I.y * _local13.x) + (_local12._-1.y * _local13.y))); _local20.id._-4C._-6t = _arg4; _local20.id._-4C._-Ft = _local21; _local20.id._-4C._-5j = 0; _local20 = _arg1[1]; _local13 = _local10[_local22]; _local12 = _arg6.R; _local20.v.x = (_arg6.position.x + ((_local12._-2I.x * _local13.x) + (_local12._-1.x * _local13.y))); _local20.v.y = (_arg6.position.y + ((_local12._-2I.y * _local13.x) + (_local12._-1.y * _local13.y))); _local20.id._-4C._-6t = _arg4; _local20.id._-4C._-Ft = _local22; _local20.id._-4C._-5j = 1; } public static function _-Bl(_arg1:_-2D, _arg2:_-CC, _arg3:_-AJ, _arg4:_-CC, _arg5:_-AJ):void{ var _local6:_-8a; var _local13:_-CC; var _local14:_-CC; var _local17:int; var _local18:uint; var _local34:int; var _local37:b2Vec2; var _local38:Number; var _local39:_-7c; _arg1._-8L = 0; var _local7:int; var _local8:Array = [_local7]; var _local9:Number = _-BV(_local8, _arg2, _arg3, _arg4, _arg5); _local7 = _local8[0]; if (_local9 > 0){ return; }; var _local10:int; var _local11:Array = [_local10]; var _local12:Number = _-BV(_local11, _arg4, _arg5, _arg2, _arg3); _local10 = _local11[0]; if (_local12 > 0){ return; }; var _local15:_-AJ = new _-AJ(); var _local16:_-AJ = new _-AJ(); 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 _-8a(), new _-8a()]; _-BO(_local21, _local13, _local15, _local17, _local14, _local16); var _local22:int = _local13._-Ar; var _local23:Array = _local13._-8b; 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 = _-BI._-BR(_local37, _local25); var _local27:b2Vec2 = _-BI._-6w(_local15.R, _-BI._-BR(_local37, _local25)); _local27._-7K(); var _local28:b2Vec2 = _-BI._-FR(_local27, 1); _local25 = _-BI._-Df(_local15, _local25); _local37 = _-BI._-Df(_local15, _local37); var _local29:Number = _-BI._-4w(_local28, _local25); var _local30:Number = -(_-BI._-4w(_local27, _local25)); var _local31:Number = _-BI._-4w(_local27, _local37); var _local32:Array = [new _-8a(), new _-8a()]; var _local33:Array = [new _-8a(), new _-8a()]; _local34 = _-1-(_local32, _local21, _local27._-1q(), _local30); if (_local34 < 2){ return; }; _local34 = _-1-(_local33, _local32, _local27, _local31); if (_local34 < 2){ return; }; _arg1.normal = (_local18) ? _local28._-1q() : _local28.Copy(); var _local35:int; var _local36:int; while (_local36 < _-IN._-76) { _local6 = _local33[_local36]; _local38 = (_-BI._-4w(_local28, _local6.v) - _local29); if (_local38 <= 0){ _local39 = _arg1.points[_local35]; _local39._-4O = _local38; _local39._-03 = _-BI._-15(_arg3, _local6.v); _local39._-GS = _-BI._-15(_arg5, _local6.v); _local39.id.key = _local6.id._-77; _local39.id._-4C._-6I = _local18; _local35++; }; _local36++; }; _arg1._-8L = _local35; } public static function _-BV(_arg1:Array, _arg2:_-CC, _arg3:_-AJ, _arg4:_-CC, _arg5:_-AJ):Number{ var _local8:b2Vec2; var _local9:_-8y; var _local22:int; var _local23:Number; var _local24:int; var _local25:Number; var _local6:int = _arg2._-Ar; var _local7:Array = _arg2._-71; _local9 = _arg5.R; _local8 = _arg4._-BT; var _local10:Number = (_arg5.position.x + ((_local9._-2I.x * _local8.x) + (_local9._-1.x * _local8.y))); var _local11:Number = (_arg5.position.y + ((_local9._-2I.y * _local8.x) + (_local9._-1.y * _local8.y))); _local9 = _arg3.R; _local8 = _arg2._-BT; _local10 = (_local10 - (_arg3.position.x + ((_local9._-2I.x * _local8.x) + (_local9._-1.x * _local8.y)))); _local11 = (_local11 - (_arg3.position.y + ((_local9._-2I.y * _local8.x) + (_local9._-1.y * _local8.y)))); var _local12:Number = ((_local10 * _arg3.R._-2I.x) + (_local11 * _arg3.R._-2I.y)); var _local13:Number = ((_local10 * _arg3.R._-1.x) + (_local11 * _arg3.R._-1.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 = _-6O(_arg2, _arg3, _local14, _arg4, _arg5); if (_local17 > 0){ return (_local17); }; var _local18:int = (((_local14 - 1) >= 0)) ? (_local14 - 1) : (_local6 - 1); var _local19:Number = _-6O(_arg2, _arg3, _local18, _arg4, _arg5); if (_local19 > 0){ return (_local19); }; var _local20:int = (((_local14 + 1) < _local6)) ? (_local14 + 1) : 0; var _local21:Number = _-6O(_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 = _-6O(_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 _-1-(_arg1:Array, _arg2:Array, _arg3:b2Vec2, _arg4:Number):int{ var _local5:_-8a; var _local6:int; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:Number; var _local11:Number; var _local12:b2Vec2; var _local13:_-8a; _local6 = 0; _local5 = _arg2[0]; _local7 = _local5.v; _local5 = _arg2[1]; _local8 = _local5.v; _local9 = (_-BI._-4w(_arg3, _local7) - _arg4); var _local10:Number = (_-BI._-4w(_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 _-5c(_arg1:_-2D, _arg2:_-7R, _arg3:_-AJ, _arg4:_-7R, _arg5:_-AJ):void{ var _local6:_-8y; var _local7:b2Vec2; var _local18:Number; var _local24:Number; var _local25:Number; _arg1._-8L = 0; _local6 = _arg3.R; _local7 = _arg2._-5M; var _local8:Number = (_arg3.position.x + ((_local6._-2I.x * _local7.x) + (_local6._-1.x * _local7.y))); var _local9:Number = (_arg3.position.y + ((_local6._-2I.y * _local7.x) + (_local6._-1.y * _local7.y))); _local6 = _arg5.R; _local7 = _arg4._-5M; var _local10:Number = (_arg5.position.x + ((_local6._-2I.x * _local7.x) + (_local6._-1.x * _local7.y))); var _local11:Number = (_arg5.position.y + ((_local6._-2I.y * _local7.x) + (_local6._-1.y * _local7.y))); var _local12:Number = (_local10 - _local8); var _local13:Number = (_local11 - _local9); var _local14:Number = ((_local12 * _local12) + (_local13 * _local13)); var _local15:Number = _arg2._-IQ; var _local16:Number = _arg4._-IQ; 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._-8L = 1; var _local19:_-7c = _arg1.points[0]; _local19.id.key = 0; _local19._-4O = _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._-03.x = ((_local22 * _arg3.R._-2I.x) + (_local23 * _arg3.R._-2I.y)); _local19._-03.y = ((_local22 * _arg3.R._-1.x) + (_local23 * _arg3.R._-1.y)); _local22 = (_local20 - _arg5.position.x); _local23 = (_local21 - _arg5.position.y); _local19._-GS.x = ((_local22 * _arg5.R._-2I.x) + (_local23 * _arg5.R._-2I.y)); _local19._-GS.y = ((_local22 * _arg5.R._-1.x) + (_local23 * _arg5.R._-1.y)); } public static function _-86(_arg1:_-2D, _arg2:_-CC, _arg3:_-AJ, _arg4:_-7R, _arg5:_-AJ):void{ var _local6:_-7c; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:b2Vec2; var _local12:_-8y; var _local17:Number; var _local32:Number; var _local33:Number; var _local34:Number; _arg1._-8L = 0; _local12 = _arg5.R; _local11 = _arg4._-5M; var _local13:Number = (_arg5.position.x + ((_local12._-2I.x * _local11.x) + (_local12._-1.x * _local11.y))); var _local14:Number = (_arg5.position.y + ((_local12._-2I.y * _local11.x) + (_local12._-1.y * _local11.y))); _local7 = (_local13 - _arg3.position.x); _local8 = (_local14 - _arg3.position.y); _local12 = _arg3.R; var _local15:Number = ((_local7 * _local12._-2I.x) + (_local8 * _local12._-2I.y)); var _local16:Number = ((_local7 * _local12._-1.x) + (_local8 * _local12._-1.y)); var _local18:int; var _local19:Number = -(Number.MAX_VALUE); var _local20:Number = _arg4._-IQ; var _local21:int = _arg2._-Ar; var _local22:Array = _arg2._-8b; var _local23:Array = _arg2._-71; 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._-8L = 1; _local11 = _local23[_local18]; _local12 = _arg3.R; _arg1.normal.x = ((_local12._-2I.x * _local11.x) + (_local12._-1.x * _local11.y)); _arg1.normal.y = ((_local12._-2I.y * _local11.x) + (_local12._-1.y * _local11.y)); _local6 = _arg1.points[0]; _local6.id._-4C._-Ft = _local18; _local6.id._-4C._-5j = _-Im; _local6.id._-4C._-6t = 0; _local6.id._-4C._-6I = 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._-03.x = ((_local7 * _local12._-2I.x) + (_local8 * _local12._-2I.y)); _local6._-03.y = ((_local7 * _local12._-1.x) + (_local8 * _local12._-1.y)); _local7 = (_local9 - _arg5.position.x); _local8 = (_local10 - _arg5.position.y); _local12 = _arg5.R; _local6._-GS.x = ((_local7 * _local12._-2I.x) + (_local8 * _local12._-2I.y)); _local6._-GS.y = ((_local7 * _local12._-1.x) + (_local8 * _local12._-1.y)); _local6._-4O = (_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._-4C._-Ft = _-Im; _local6.id._-4C._-5j = _local25; } else { if (_local31 >= _local30){ _local32 = _local27.x; _local33 = _local27.y; _local6.id._-4C._-Ft = _-Im; _local6.id._-4C._-5j = _local26; } else { _local32 = ((_local28 * _local31) + _local11.x); _local33 = ((_local29 * _local31) + _local11.y); _local6.id._-4C._-Ft = _local18; _local6.id._-4C._-5j = 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._-8L = 1; _local12 = _arg3.R; _arg1.normal.x = ((_local12._-2I.x * _local7) + (_local12._-1.x * _local8)); _arg1.normal.y = ((_local12._-2I.y * _local7) + (_local12._-1.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._-03.x = ((_local7 * _local12._-2I.x) + (_local8 * _local12._-2I.y)); _local6._-03.y = ((_local7 * _local12._-1.x) + (_local8 * _local12._-1.y)); _local7 = (_local9 - _arg5.position.x); _local8 = (_local10 - _arg5.position.y); _local12 = _arg5.R; _local6._-GS.x = ((_local7 * _local12._-2I.x) + (_local8 * _local12._-2I.y)); _local6._-GS.y = ((_local7 * _local12._-1.x) + (_local8 * _local12._-1.y)); _local6._-4O = (_local17 - _local20); _local6.id._-4C._-6t = 0; _local6.id._-4C._-6I = 0; } } }//package Box2D.Collision
Section 60
//final (Box2D.Collision.final) package Box2D.Collision { import Box2D.Common.Math.*; public class final { public var _-7A:b2Vec2; public var _-Hy:b2Vec2; public function final(){ _-Hy = new b2Vec2(); _-7A = new b2Vec2(); super(); } public function _-Gh():Boolean{ var _local1:Number = (_-7A.x - _-Hy.x); var _local2:Number = (_-7A.y - _-Hy.y); var _local3:Boolean = (((_local1 >= 0)) && ((_local2 >= 0))); _local3 = ((((_local3) && (_-Hy._-Gh()))) && (_-7A._-Gh())); return (_local3); } } }//package Box2D.Collision
Section 61
//_-8y (Box2D.Common.Math._-8y) package Box2D.Common.Math { public class _-8y { public var _-2I:b2Vec2; public var _-1:b2Vec2; public function _-8y(_arg1:Number=0, _arg2:b2Vec2=null, _arg3:b2Vec2=null){ var _local4:Number; var _local5:Number; _-2I = new b2Vec2(); _-1 = new b2Vec2(); super(); if (((!((_arg2 == null))) && (!((_arg3 == null))))){ _-2I._-56(_arg2); _-1._-56(_arg3); } else { _local4 = Math.cos(_arg1); _local5 = Math.sin(_arg1); _-2I.x = _local4; _-1.x = -(_local5); _-2I.y = _local5; _-1.y = _local4; }; } public function _-6Y():void{ _-2I.x = 1; _-1.x = 0; _-2I.y = 0; _-1.y = 1; } public function _-G3(_arg1:b2Vec2, _arg2:b2Vec2):void{ _-2I._-56(_arg1); _-1._-56(_arg2); } public function Set(_arg1:Number):void{ var _local2:Number; _local2 = Math.cos(_arg1); var _local3:Number = Math.sin(_arg1); _-2I.x = _local2; _-1.x = -(_local3); _-2I.y = _local3; _-1.y = _local2; } public function _-0t():void{ _-2I.x = 0; _-1.x = 0; _-2I.y = 0; _-1.y = 0; } public function in (_arg1:_-8y):void{ _-2I._-56(_arg1._-2I); _-1._-56(_arg1._-1); } public function _-CY(_arg1:_-8y):void{ _-2I.x = (_-2I.x + _arg1._-2I.x); _-2I.y = (_-2I.y + _arg1._-2I.y); _-1.x = (_-1.x + _arg1._-1.x); _-1.y = (_-1.y + _arg1._-1.y); } public function _-IH():void{ _-2I._-IH(); _-1._-IH(); } public function Copy():_-8y{ return (new _-8y(0, _-2I, _-1)); } public function _-A3(_arg1:_-8y):_-8y{ var _local2:Number; var _local4:Number; var _local6:Number; _local2 = _-2I.x; var _local3:Number = _-1.x; _local4 = _-2I.y; var _local5:Number = _-1.y; _local6 = ((_local2 * _local5) - (_local3 * _local4)); _local6 = (1 / _local6); _arg1._-2I.x = (_local6 * _local5); _arg1._-1.x = (-(_local6) * _local3); _arg1._-2I.y = (-(_local6) * _local4); _arg1._-1.y = (_local6 * _local2); return (_arg1); } public function GetAngle():Number{ return (Math.atan2(_-2I.y, _-2I.x)); } public function _-G9(_arg1:b2Vec2, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:Number = _-2I.x; var _local5:Number = _-1.x; var _local6:Number = _-2I.y; var _local7:Number = _-1.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 62
//_-AJ (Box2D.Common.Math._-AJ) package Box2D.Common.Math { public class _-AJ { public var position:b2Vec2; public var R:_-8y; public function _-AJ(_arg1:b2Vec2=null, _arg2:_-8y=null):void{ position = new b2Vec2(); R = new _-8y(); super(); if (_arg1){ position._-56(_arg1); R.in (_arg2); }; } public function class(_arg1:b2Vec2, _arg2:_-8y):void{ position._-56(_arg1); R.in (_arg2); } public function Set(_arg1:_-AJ):void{ position._-56(_arg1.position); R.in (_arg1.R); } public function _-6Y():void{ position._-0t(); R._-6Y(); } } }//package Box2D.Common.Math
Section 63
//_-BI (Box2D.Common.Math._-BI) package Box2D.Common.Math { public class _-BI { public static const _-FX:_-8y = new _-8y(0, new b2Vec2(1, 0), new b2Vec2(0, 1)); public static const _-0l:_-AJ = new _-AJ(_-6k, _-FX); public static const _-6k:b2Vec2 = new b2Vec2(0, 0); public static function _-FR(_arg1:b2Vec2, _arg2:Number):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg2 * _arg1.y), (-(_arg2) * _arg1.x)); return (_local3); } public static function _-i(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg1.x + _arg2.x), (_arg1.y + _arg2.y)); return (_local3); } public static function _-55(_arg1:Number):Boolean{ return (isFinite(_arg1)); } public static function false(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(_-Aw(_arg1.x, _arg2.x), _-Aw(_arg1.y, _arg2.y)); return (_local3); } public static function _-Df(_arg1:_-AJ, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = _-6w(_arg1.R, _arg2); _local3.x = (_local3.x + _arg1.position.x); _local3.y = (_local3.y + _arg1.position.y); return (_local3); } public static function try(_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 _-DR(_arg1:Array, _arg2:Array):void{ var _local3:* = _arg1[0]; _arg1[0] = _arg2[0]; _arg2[0] = _local3; } public static function _-FV(_arg1:_-8y):_-8y{ var _local2:_-8y = new _-8y(0, _-F3(_arg1._-2I), _-F3(_arg1._-1)); return (_local2); } public static function _-BR(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg1.x - _arg2.x), (_arg1.y - _arg2.y)); return (_local3); } public static function _-15(_arg1:_-AJ, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; var _local4:Number; _local3 = _-BR(_arg2, _arg1.position); _local4 = ((_local3.x * _arg1.R._-2I.x) + (_local3.y * _arg1.R._-2I.y)); _local3.y = ((_local3.x * _arg1.R._-1.x) + (_local3.y * _arg1.R._-1.y)); _local3.x = _local4; return (_local3); } public static function _-A0(_arg1:Number):Number{ return (((_arg1 > 0)) ? _arg1 : -(_arg1)); } public static function _-13(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return (_-0b(_arg2, _-Aw(_arg1, _arg3))); } public static function _-F3(_arg1:b2Vec2):b2Vec2{ var _local2:b2Vec2 = new b2Vec2(_-A0(_arg1.x), _-A0(_arg1.y)); return (_local2); } public static function _-2c(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg1 * _arg2.x), (_arg1 * _arg2.y)); return (_local3); } public static function _-Ca(_arg1:b2Vec2, _arg2:b2Vec2):Number{ return (((_arg1.x * _arg2.y) - (_arg1.y * _arg2.x))); } public static function _-4w(_arg1:b2Vec2, _arg2:b2Vec2):Number{ return (((_arg1.x * _arg2.x) + (_arg1.y * _arg2.y))); } public static function _-3C(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((-(_arg1) * _arg2.y), (_arg1 * _arg2.x)); return (_local3); } public static function _-Ds(_arg1:_-8y, _arg2:_-8y):_-8y{ var _local3:_-8y = new _-8y(0, _-i(_arg1._-2I, _arg2._-2I), _-i(_arg1._-1, _arg2._-1)); return (_local3); } public static function _-2O(_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 _-D8(_arg1:_-8y, _arg2:_-8y):_-8y{ var _local3:b2Vec2 = new b2Vec2(_-4w(_arg1._-2I, _arg2._-2I), _-4w(_arg1._-1, _arg2._-2I)); var _local4:b2Vec2 = new b2Vec2(_-4w(_arg1._-2I, _arg2._-1), _-4w(_arg1._-1, _arg2._-1)); var _local5:_-8y = new _-8y(0, _local3, _local4); return (_local5); } public static function _-GN(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(_-0b(_arg1.x, _arg2.x), _-0b(_arg1.y, _arg2.y)); return (_local3); } public static function _-2Y(_arg1:uint):Boolean{ var _local2:Boolean = (((_arg1 > 0)) && (((_arg1 & (_arg1 - 1)) == 0))); return (_local2); } public static function _-Ev(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Vec2):b2Vec2{ return (_-GN(_arg2, false(_arg1, _arg3))); } public static function _-CQ(_arg1:Number, _arg2:Number):Number{ var _local3:Number = Math.random(); _local3 = (((_arg2 - _arg1) * _local3) + _arg1); return (_local3); } public static function _-EN(_arg1:_-8y, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(_-4w(_arg2, _arg1._-2I), _-4w(_arg2, _arg1._-1)); return (_local3); } public static function _-Aw(_arg1:Number, _arg2:Number):Number{ return (((_arg1 < _arg2)) ? _arg1 : _arg2); } public static function _-Hk():Number{ return (((Math.random() * 2) - 1)); } public static function _-Gu(_arg1:_-8y, _arg2:_-8y):_-8y{ var _local3:_-8y = new _-8y(0, _-6w(_arg1, _arg2._-2I), _-6w(_arg1, _arg2._-1)); return (_local3); } public static function _-Cq(_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 _-0b(_arg1:Number, _arg2:Number):Number{ return (((_arg1 > _arg2)) ? _arg1 : _arg2); } public static function _-6w(_arg1:_-8y, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(((_arg1._-2I.x * _arg2.x) + (_arg1._-1.x * _arg2.y)), ((_arg1._-2I.y * _arg2.x) + (_arg1._-1.y * _arg2.y))); return (_local3); } } }//package Box2D.Common.Math
Section 64
//_-Eo (Box2D.Common.Math._-Eo) package Box2D.Common.Math { public class _-Eo { public var localCenter:b2Vec2; public var a:Number; public var c:b2Vec2; public var _-3q:Number; public var _-CM:b2Vec2; public var _-0W:Number; public function _-Eo(){ localCenter = new b2Vec2(); _-CM = new b2Vec2(); c = new b2Vec2(); super(); } public function _-9T(_arg1:Number):void{ var _local2:Number; if ((((_-0W < _arg1)) && (((1 - _-0W) > Number.MIN_VALUE)))){ _local2 = ((_arg1 - _-0W) / (1 - _-0W)); _-CM.x = (((1 - _local2) * _-CM.x) + (_local2 * c.x)); _-CM.y = (((1 - _local2) * _-CM.y) + (_local2 * c.y)); _-3q = (((1 - _local2) * _-3q) + (_local2 * a)); _-0W = _arg1; }; } public function _-26(_arg1:_-AJ, _arg2:Number):void{ var _local4:Number; var _local5:Number; if ((1 - _-0W) > Number.MIN_VALUE){ _local4 = ((_arg2 - _-0W) / (1 - _-0W)); _arg1.position.x = (((1 - _local4) * _-CM.x) + (_local4 * c.x)); _arg1.position.y = (((1 - _local4) * _-CM.y) + (_local4 * c.y)); _local5 = (((1 - _local4) * _-3q) + (_local4 * a)); _arg1.R.Set(_local5); } else { _arg1.position._-56(c); _arg1.R.Set(a); }; var _local3:_-8y = _arg1.R; _arg1.position.x = (_arg1.position.x - ((_local3._-2I.x * localCenter.x) + (_local3._-1.x * localCenter.y))); _arg1.position.y = (_arg1.position.y - ((_local3._-2I.y * localCenter.x) + (_local3._-1.y * localCenter.y))); } } }//package Box2D.Common.Math
Section 65
//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 _-6-():Number{ return (Math.sqrt(((x * x) + (y * y)))); } public function _-1i():Number{ return (((x * x) + (y * y))); } public function _-1L(_arg1:_-8y):void{ var _local2:Number = x; x = ((_arg1._-2I.x * _local2) + (_arg1._-1.x * y)); y = ((_arg1._-2I.y * _local2) + (_arg1._-1.y * y)); } public function _-0t():void{ x = 0; y = 0; } public function _-AA(_arg1:b2Vec2):void{ x = ((x < _arg1.x)) ? x : _arg1.x; y = ((y < _arg1.y)) ? y : _arg1.y; } public function _-7K():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 _-27(_arg1:Number):void{ var _local2:Number = x; x = (_arg1 * y); y = (-(_arg1) * _local2); } public function _-GL(_arg1:b2Vec2):void{ x = ((x > _arg1.x)) ? x : _arg1.x; y = ((y > _arg1.y)) ? y : _arg1.y; } public function _-56(_arg1:b2Vec2):void{ x = _arg1.x; y = _arg1.y; } public function _-1q():b2Vec2{ return (new b2Vec2(-(x), -(y))); } public function _-7X(_arg1:Number):void{ var _local2:Number = x; x = (-(_arg1) * y); y = (_arg1 * _local2); } public function _-IH():void{ if (x < 0){ x = -(x); }; if (y < 0){ y = -(y); }; } public function _-BX(_arg1:b2Vec2):void{ x = (x - _arg1.x); y = (y - _arg1.y); } public function Copy():b2Vec2{ return (new b2Vec2(x, y)); } public function _-4e(_arg1:_-8y):void{ var _local2:Number = _-BI._-4w(this, _arg1._-2I); y = _-BI._-4w(this, _arg1._-1); x = _local2; } public function _-Gh():Boolean{ return (((_-BI._-55(x)) && (_-BI._-55(y)))); } public static function _-1y(_arg1:Number, _arg2:Number):b2Vec2{ return (new b2Vec2(_arg1, _arg2)); } } }//package Box2D.Common.Math
Section 66
//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.net.*; import flash.utils.*; 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 67
//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.net.*; import flash.utils.*; 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 68
//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.net.*; import flash.utils.*; 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 69
//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.net.*; import flash.utils.*; 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 70
//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.net.*; import flash.utils.*; 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 71
//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 72
// try (game. try) package game { import mx.core.*; public class try extends BitmapAsset { } }//package game
Section 73
// var (game. var) package game { import flash.display.*; import flash.events.*; import flash.geom.*; public class var extends Sprite { var _-a:Number; var _-2W:Number; private var _-0N:Class; var sky1:DisplayObject; var sky2:DisplayObject; var case:Bitmap; var _-9C:Number; public function var(){ _-0N = _-HL; super(); case = new Bitmap(new BitmapData(640, 480, true, 0)); addChild( case); init(); this.addEventListener(Event.ENTER_FRAME, onUpdate); } protected function onUpdate(_arg1:Event):void{ var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); _-a = _local3; sky1.x = (sky1.x + _-9C); sky2.x = (sky2.x + _-2W); if (sky1.x > 640){ sky1 = _-BY(); sky1.x = -((150 + (Math.random() * 50))); sky1.y = (50 + (Math.random() * 100)); _-9C = (1 + (Math.random() * 3)); }; if (sky2.x > 640){ sky2 = _-BY(); sky2.x = -((150 + (Math.random() * 50))); sky2.y = (50 + (Math.random() * 100)); _-2W = (1 + (Math.random() * 3)); }; var _local4:Sprite = new Sprite(); _local4.addChild(sky1); _local4.addChild(sky2); case.bitmapData.fillRect(new Rectangle(0, 0, 640, 480), 0); case.bitmapData.draw(_local4); } protected function _-BY():DisplayObject{ var _local1:int = Math.floor((Math.random() * 3)); var _local2:DisplayObject = new _-0N(); 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 = _-BY(); sky1.x = -((150 + (Math.random() * 50))); sky1.y = (50 + (Math.random() * 100)); _-9C = (0.25 + (Math.random() * 1.5)); sky2 = _-BY(); sky2.x = -((150 + (Math.random() * 50))); sky2.y = (50 + (Math.random() * 100)); _-2W = (0.25 + (Math.random() * 1.5)); } } }//package game
Section 74
//_-0a (game._-0a) package game { import flash.display.*; import flash.events.*; import flash.geom.*; public class _-0a extends Sprite { var _-a:Number; private var OnePhoto1:Class; private var _-As:Class; private var _-Ik:Class; var sky1:DisplayObject; var sky2:DisplayObject; var case:Bitmap; var _-9C:Number; var _-2W:Number; public function _-0a(){ OnePhoto1 = _-GV; _-As = _-H0; _-Ik = _-Fk; super(); case = new Bitmap(new BitmapData(640, 480, true, 0)); addChild( case); init(); this.addEventListener(Event.ENTER_FRAME, onUpdate); } protected function onUpdate(_arg1:Event):void{ var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); _-a = _local3; sky1.x = (sky1.x + _-9C); sky2.x = (sky2.x + _-2W); if (sky1.x > 640){ sky1 = _-BY(); sky1.x = -((150 + (Math.random() * 50))); sky1.y = (50 + (Math.random() * 100)); _-9C = (1 + (Math.random() * 3)); }; if (sky2.x > 640){ sky2 = _-BY(); sky2.x = -((150 + (Math.random() * 50))); sky2.y = (50 + (Math.random() * 100)); _-2W = (1 + (Math.random() * 3)); }; var _local4:Sprite = new Sprite(); _local4.addChild(sky1); _local4.addChild(sky2); case.bitmapData.fillRect(new Rectangle(0, 0, 640, 480), 0); case.bitmapData.draw(_local4); } protected function _-BY():DisplayObject{ var _local1:int = Math.floor((Math.random() * 3)); switch (_local1){ case 0: return (new OnePhoto1()); case 1: return (new _-As()); case 2: return (new _-Ik()); }; return (new OnePhoto1()); } protected function init():void{ sky1 = _-BY(); sky1.x = -((150 + (Math.random() * 50))); sky1.y = (50 + (Math.random() * 100)); _-9C = (1 + (Math.random() * 3)); sky2 = _-BY(); sky2.x = -((150 + (Math.random() * 50))); sky2.y = (50 + (Math.random() * 100)); _-2W = (1 + (Math.random() * 3)); } } }//package game
Section 75
//_-0d (game._-0d) package game { import mx.core.*; public class _-0d extends ByteArrayAsset { } }//package game
Section 76
//_-0s (game._-0s) package game { import mx.core.*; public class _-0s extends BitmapAsset { } }//package game
Section 77
//_-1d (game._-1d) package game { import flash.display.*; import flash.events.*; import flash.text.*; import flash.net.*; import flash.filters.*; public class _-1d extends Sprite { protected var level:_-S; public var _-9Z:Boolean;// = false protected var _-A-:_-IG; protected var _-9L:Sprite; protected var _-Hm:_-Ao; private var OnePhoto1:Class; private var _-As:Class; private var _-Ik:Class; private var _-An:Class; private var _-0N:Class; private var _-BM:Class; private var _-Fn:Class; protected var _-A1:Number; private var _-6W:Class; protected var _-Bm:Boolean;// = false protected var sky:DisplayObject; protected var _-3w:DisplayObject; protected var _-1t:int; protected var _-Dk:Boolean;// = true protected var _-53:TextField; protected var _-GO:int; protected var _-Gv:_-EU; protected var _-IZ:_-Hw; protected var _-88:_-6v; public function _-1d(){ var _local4:Bitmap; var _local5:Bitmap; var _local6:Sprite; var _local9:TextField; var _local10:TextField; OnePhoto1 = _-9S; _-As = _-3y; _-Ik = _-Hf; _-An = _-N; _-6W = while; _-0N = _-3h; _-BM = _-HB; _-Fn = _-GF; super(); var _local1:Number = 440; var _local2:_-CW = new _-CW(); var _local3:GlowFilter = new GlowFilter(16777130); _local2.filters = [_local3]; addChild(_local2); _-Hm = new _-Ao(); addChild(_-Hm); _-Hm._-6e = _-42; _-Hm._-Hj = true; _-IZ = new _-Hw(); _-1t = _-IZ._-E9(); level = new _-S(); this.addEventListener(MouseEvent.MOUSE_DOWN, _-4V); this.addEventListener(MouseEvent.MOUSE_UP, _-1O); this.addEventListener(MouseEvent.MOUSE_MOVE, _-6K); if (stage){ _-G2(null); } else { this.addEventListener(Event.ADDED_TO_STAGE, _-G2); }; _-Gv = new _-EU(); _-Gv.x = ((640 / 2) - 140); _-Gv.y = _local1; addChild(_-Gv); 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; _-00(_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; _-00(_local10); var _local11:SimpleButton = new SimpleButton(_local9, _local10, _local10, _local10); _local11.x = 510; _local11.y = 440; addChild(_local11); _local11.addEventListener(MouseEvent.CLICK, _-Cj); _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; _-00(_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; _-00(_local10); _local11 = new SimpleButton(_local9, _local10, _local10, _local10); _local11.x = 75; _local11.y = _local1; addChild(_local11); _local11.addEventListener(MouseEvent.CLICK, _-0m); _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; _-00(_local9); _local9.x = (580 - _local9.width); _local9.y = 12; addChild(_local9); _-53 = _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; _-00(_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; _-00(_local10); _local11 = new SimpleButton(_local9, _local10, _local10, _local10); _local11.x = 420; _local11.y = _local1; addChild(_local11); _local11.addEventListener(MouseEvent.CLICK, _-1C); _local9 = new TextField(); _local9.embedFonts = true; _local9.defaultTextFormat = _local8; _local9.selectable = false; _local9.mouseEnabled = false; _local9.antiAliasType = AntiAliasType.ADVANCED; _local9.text = ("/" + _-1t.toString()); _local9.width = (_local9.textWidth + 5); _local9.height = _local9.textHeight; _-00(_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; _-00(_local9); _local9.x = 475; _local9.y = 12; addChild(_local9); } protected function _-7w():void{ } protected function _-1C(_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 _-Cj(_arg1:MouseEvent):void{ var _local2:Date; var _local3:Number; if (_-Bm){ _-Hm._-9v(level); _-Hm.x = -(level.shift.x); _-Hm.y = -(level.shift.y); _local2 = new Date(); _local3 = _local2.getTime(); _-A1 = _local3; _-Gv._-7k(_local3, _-GO); if (_-GO == 0){ _-88.restart(); }; _-Ee(); }; } protected function _-5O(_arg1:MouseEvent):void{ if ((_-GO + 1) != _-1t){ _-5r((_-GO + 1)); } else { _-5r(0); }; _-Ee(); _-7w(); } protected function _-Fu():void{ _-53.text = int((_-GO + 1)).toString(); _-53.width = (_-53.textWidth + 5); _-53.x = (575 - _-53.width); } protected function _-Ee():void{ if (_-A-){ _-A-._-0A.removeEventListener(MouseEvent.CLICK, _-Cj); if (_-A-._-Er != null){ _-A-._-Er.removeEventListener(MouseEvent.CLICK, _-5O); }; removeChild(_-A-); _-A- = null; }; } protected function _-42():void{ var _local1:static = static._-6j(); var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); var _local4:int = Math.ceil(((_local3 - _-A1) / 1000)); if (_local4 <= 60){ _local4 = (((61 - _local4) * 16) + (_-GO * 10)); } else { _local4 = (_-GO * 10); }; _local1._-8H(_-GO, _local4); if ((_-GO + 1) != _-1t){ _local1._-CI((_-GO + 1)); }; _-Gv.update(_local3); _-Gv._-EC(); var _local5 = (_-1t == (_-GO + 1)); _-A- = new _-IG(150, _local5); _-A-.y = 100; _-A-.x = 125; _-A-._-0A.addEventListener(MouseEvent.CLICK, _-Cj); if (!_local5){ if (_-A-._-Er != null){ _-A-._-Er.addEventListener(MouseEvent.CLICK, _-5O); }; }; addChild(_-A-); } protected function _-G2(_arg1:Event):void{ stage.addEventListener(KeyboardEvent.KEY_DOWN, _-Bu); stage.focus = stage; } protected function _-0m(_arg1:MouseEvent):void{ _-9Z = true; _-Ee(); } public function _-5r(_arg1:int):Boolean{ var _local2:Boolean = _-IZ._-0k(_arg1, level); if (!_local2){ return (_local2); }; _-Hm._-9v(level); _-Hm.x = -(level.shift.x); _-Hm.y = -(level.shift.y); if (_arg1 == 0){ _-88 = new _-6v(); _-Hm.addChild(_-88); } else { if (_-88 != null){ _-Hm.removeChild(_-88); }; _-88 = null; }; var _local3:Date = new Date(); var _local4:Number = _local3.getTime(); _-A1 = _local4; _-Gv._-7k(_local4, _arg1); _-GO = _arg1; _-Bm = true; _-Fu(); _-7w(); return (true); } protected function _-1O(_arg1:MouseEvent):void{ if (_-Bm){ _-Hm._-9I(_arg1); }; } protected function _-4V(_arg1:MouseEvent):void{ if (_-Bm){ _-Hm._-2U(_arg1); }; } protected function _-Bu(_arg1:KeyboardEvent):void{ var _local2:Date; var _local3:Number; if (_-FL._-90()._-8z == true){ return; }; if (_arg1.keyCode == 82){ if (_-Bm){ _-Hm._-9v(level); _-Hm.x = -(level.shift.x); _-Hm.y = -(level.shift.y); _local2 = new Date(); _local3 = _local2.getTime(); _-A1 = _local3; _-Gv._-7k(_local3, _-GO); if (_-GO == 0){ _-88.restart(); }; _-Ee(); }; }; } protected function _-00(_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 true():void{ _-Hm._-9v(level); _-Hm.x = -(level.shift.x); _-Hm.y = -(level.shift.y); var _local1:Date = new Date(); var _local2:Number = _local1.getTime(); _-A1 = _local2; _-Gv._-7k(_local2, _-GO); if (_-GO == 0){ _-88.restart(); }; } protected function _-6K(_arg1:MouseEvent):void{ if (_-Bm){ _-Hm._-Fx(_arg1); }; } } }//package game
Section 78
//_-1W (game._-1W) package game { import mx.core.*; public class _-1W extends SpriteAsset { } }//package game
Section 79
//_-22 (game._-22) package game { import mx.core.*; public class _-22 extends BitmapAsset { } }//package game
Section 80
//_-2h (game._-2h) package game { import flash.display.*; import flash.events.*; import flash.text.*; public class _-2h extends Sprite { protected var _-DE:Function; protected var _-5Z:SimpleButton; private var _-0N:Class; protected var _-Bd:DisplayObject; public function _-2h(_arg1:Function){ _-0N = _-8p; super(); _-DE = _arg1; var _local2:TextFormat = new TextFormat(); _local2.font = "embed_font_1"; _local2.color = 0xFFFFFF; _local2.size = 60; var _local3:DisplayObject = new _-0N(); _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; _-5Z = new SimpleButton(_local4, _local4, _local4, _local4); _-5Z.x = 110; _-5Z.y = 310; _-5Z.addEventListener(MouseEvent.CLICK, _-Ag); addChild(_-5Z); this.alpha = 0; } protected function _-Ag(_arg1:MouseEvent):void{ _-5Z.removeEventListener(MouseEvent.CLICK, _-Ag); _-DE(); } } }//package game
Section 81
//_-2J (game._-2J) package game { import flash.display.*; import flash.events.*; import flash.text.*; import flash.geom.*; public class _-2J extends Sprite { private var _-Il:Class; private var _-As:Class; private var _-Ik:Class; private var _-An:Class; private var _-0N:Class; private var _-BM:Class; protected var _-3T:SimpleButton; private var _-s:Class; private var _-6L:Class; private var _-A4:Class; private var _-FP:Class; private var _-Fn:Class; protected var _-9Y:Function; protected var _-Hi:int; public function _-2J(_arg1:int, _arg2:Function){ _-Il = _-D0; _-As = else; _-0N = _-Ef; _-BM = _-Ia; _-Fn = _-5P; _-s = _-1W; _-6L = _-5s; _-A4 = _-Cz; _-FP = _-DJ; _-Ik = _-6N; _-An = _-I0; super(); _-Hi = _arg1; _-9Y = _arg2; _-El(); } protected function _-El():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 _-As() as Bitmap); _local5 = 40; _local6 = 10; var _local8:DisplayObject = new _-0N(); _local8.x = 0; var _local9:DisplayObject = new _-BM(); 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 <= _-Hi){ _local10 = new Bitmap(new BitmapData(49, 50, true, 0)); _local14 = new _-Ik(); _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 (_-9Y != null){ _local18.addEventListener(MouseEvent.CLICK, _-9Y); }; _local18.x = _local5; _local18.y = _local6; addChild(_local18); } else { _local10 = new Bitmap(new BitmapData(49, 50, true, 0)); _local14 = new _-Ik(); _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; _-3T = new SimpleButton(_local16, _local16, _local16, _local16); _-3T.x = 340; _-3T.y = 310; addChild(_-3T); _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 each (_arg1:Boolean, _arg2:Function):void{ if (_arg1){ _-3T.addEventListener(MouseEvent.CLICK, _arg2); } else { _-3T.removeEventListener(MouseEvent.CLICK, _arg2); _-3T.enabled = false; }; } protected function _-Ff():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 _-As() 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 <= _-Hi){ _local8.graphics.beginFill(6144772); }; _local8.graphics.drawRoundRect(0, 0, _local1, _local1, 4, 4); if (_local10 <= _-Hi){ _local8.graphics.endFill(); } else { _local8.x = _local5; _local8.y = _local6; }; _local8.addChild(_local9); if (_local10 <= _-Hi){ _local14 = new SimpleButton(_local8, _local8, _local8, _local8); _local14.name = _local10.toString(); if (_-9Y != null){ _local14.addEventListener(MouseEvent.CLICK, _-9Y); }; _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 _-s(); var _local12:DisplayObject = new _-Fn(); _-3T = new SimpleButton(_local11, _local12, _local12, _local12); _-3T.x = 410; _-3T.y = 310; addChild(_-3T); } } }//package game
Section 82
//_-2N (game._-2N) package game { import mx.core.*; public class _-2N extends SpriteAsset { } }//package game
Section 83
//_-2V (game._-2V) package game { import mx.core.*; public class _-2V extends BitmapAsset { } }//package game
Section 84
//_-2y (game._-2y) package game { import mx.core.*; public class _-2y extends SpriteAsset { } }//package game
Section 85
//_-3 (game._-3) package game { import mx.core.*; public class _-3 extends BitmapAsset { } }//package game
Section 86
//_-3h (game._-3h) package game { import mx.core.*; public class _-3h extends SpriteAsset { } }//package game
Section 87
//_-3R (game._-3R) package game { import mx.core.*; public class _-3R extends BitmapAsset { } }//package game
Section 88
//_-3y (game._-3y) package game { import mx.core.*; public class _-3y extends BitmapAsset { } }//package game
Section 89
//_-45 (game._-45) package game { import mx.core.*; public class _-45 extends BitmapAsset { } }//package game
Section 90
//_-4G (game._-4G) package game { public class _-4G { 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 _-4G(){ points = new Array(); is_static = false; is_possible_remove = false; collision_group = 0; material = 0; } } }//package game
Section 91
//_-4u (game._-4u) package game { import mx.core.*; public class _-4u extends SpriteAsset { } }//package game
Section 92
//_-5G (game._-5G) package game { import flash.display.*; import flash.events.*; public class _-5G extends Sprite { protected var _-4l:Function; private var OnePhoto1:Class; protected var _-68:Boolean; protected var _-5Z:SimpleButton; protected var _-Dp:Sprite; protected var _-Fm:Sprite; public function _-5G(_arg1:Function){ OnePhoto1 = _-2V; super(); _-4l = _arg1; _-68 = false; var _local2:DisplayObject = new OnePhoto1(); _-5Z = new SimpleButton(_local2, _local2, _local2, _local2); addChild(_-5Z); _-5Z.addEventListener(MouseEvent.CLICK, _-5m); } protected function _-5m(_arg1:MouseEvent):void{ if (_-4l != null){ _-4l(); }; } } }//package game
Section 93
//_-5P (game._-5P) package game { import mx.core.*; public class _-5P extends SpriteAsset { } }//package game
Section 94
//_-5s (game._-5s) package game { import mx.core.*; public class _-5s extends SpriteAsset { } }//package game
Section 95
//_-6a (game._-6a) package game { import mx.core.*; public class _-6a extends BitmapAsset { } }//package game
Section 96
//_-6b (game._-6b) package game { import mx.core.*; public class _-6b extends ByteArrayAsset { } }//package game
Section 97
//_-6h (game._-6h) package game { import mx.core.*; public class _-6h extends BitmapAsset { } }//package game
Section 98
//_-6M (game._-6M) package game { import mx.core.*; public class _-6M extends BitmapAsset { } }//package game
Section 99
//_-6N (game._-6N) package game { import mx.core.*; public class _-6N extends BitmapAsset { } }//package game
Section 100
//_-6p (game._-6p) package game { import flash.display.*; import flash.events.*; import flash.net.*; public class _-6p extends Sprite { private var _-4U:Class; public function _-6p(){ _-4U = _-9F; super(); var _local1:DisplayObject = new _-4U(); 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 101
//_-6v (game._-6v) package game { import flash.display.*; import flash.events.*; public class _-6v extends Sprite { protected var b:Boolean; protected var _-Dp:DisplayObject; private var OnePhoto1:Class; protected var counter:int; public function _-6v(){ OnePhoto1 = _-9j; super(); _-Dp = new OnePhoto1(); addChild(_-Dp); _-Dp.x = 0; _-Dp.y = 0; _-Dp.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); }; _-Dp.alpha = 0; } protected function _-Ba(_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){ _-Dp.alpha = _-Ba(_-Dp.alpha, 1, 0.1); return; }; if (counter < 220){ _-Dp.alpha = _-Ba(_-Dp.alpha, 0, 0.1); return; }; if (counter > 320){ b = false; _-Dp.alpha = 0; removeEventListener(Event.ENTER_FRAME, update); return; }; } } }//package game
Section 102
//_-7U (game._-7U) package game { import flash.display.*; import flash.events.*; import flash.text.*; import flash.net.*; import flash.filters.*; public class _-7U extends Sprite { private var _-BQ:Class; private var _-78:Class; private var _-T:String;// = "mainMenu_FontClass1" private var _-Il:Class; public var _-G6:int; private var _-0B:Class; protected var _-FB:SimpleButton; protected var _-57:_-BZ; protected var _-5V:SimpleButton; private var OnePhoto1:Class; private var _-As:Class; private var _-HQ:Class; private var _-4U:Class; private var _-0N:Class; private var _-BM:Class; private var _-Fn:Class; private var _-s:Class; private var _-6L:Class; private var _-A4:Class; private var _-FP:Class; private var _-5T:Class; private var _-Hp:Class; private var _-5d:Class; protected var _-C9:SimpleButton; protected var _-DC:SimpleButton; private var _-Ik:Class; private var _-An:Class; private var _-6W:Class; private var _-Cv:Class; protected var _-40:SimpleButton; protected var _-1J:int;// = 0 protected var _-C4:Number; protected var _-R:SimpleButton; protected var _-4a:SimpleButton; public var _-91:Boolean;// = false protected var null :_-2h; protected var _-7Y:Sprite; protected var _-H1:_-2J; protected var _-II:Sprite; public function _-7U(){ _-0N = _-2N; _-BM = _-GZ; _-Fn = _-8E; _-s = _-HE; _-6L = _-2y; _-A4 = _-4u; _-FP = _-A9; _-5T = _-HA; _-Hp = _-O; _-HQ = _-d; _-4U = _-AG; _-Il = set ; OnePhoto1 = try; _-As = _-45; _-Ik = _-BP; _-An = _-DX; _-6W = _-22; _-Cv = _-Dl; _-5d = _-Aj; _-BQ = _-85; _-78 = _-Hq; _-0B = _-6a; super(); var _local1:DisplayObject = new _-CW(); var _local2:GlowFilter = new GlowFilter(16777130); _local1.filters = [_local2]; addChild(_local1); _-7Y = new Sprite(); var _local3:DisplayObject = new _-6W(); _local3.x = ((640 - _local3.width) / 2); _-7Y.addChild(_local3); _-Ff(); } protected function _-3B(_arg1:MouseEvent):void{ _-G6 = uint((_arg1.target as SimpleButton).name); _-1J = 4; _-H1.each (false, _-7B); } protected function _-5-(_arg1:MouseEvent):void{ _-Bn(false); _-1J = 8; } protected function _-Ba(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return ((_arg1 + (_arg3 * (_arg2 - _arg1)))); } protected function _-5e():void{ _-1J = 7; } protected function _-08(_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 _-8O(_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 _-FI(_arg1:MouseEvent):void{ _-Bn(false); _-1J = 5; } protected function _-HX(_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 _-BC():void{ var _local5:Sprite; var _local7:Sprite; var _local1:Sprite = new Sprite(); var _local2:DisplayObject = new _-BM(); _local2.scaleX = 1; _local2.scaleY = 1; _local1.addChild(_local2); var _local3:DisplayObject = new _-Fn(); _local3.scaleX = 0.55; _local3.scaleY = 0.55; _local3.x = 50; _local3.y = 30; _local1.addChild(_local3); _local1.cacheAsBitmap = true; _-C9 = new SimpleButton(_local1, _local1, _local1, _local1); _-C9.addEventListener(MouseEvent.CLICK, _-8w); _-C9.x = 280; _-C9.y = 20; _-7Y.addChild(_-C9); _local2 = new _-BM(); _local2.scaleX = 1.2; _local2.scaleY = 0.5; var _local4:DisplayObject = new _-5T(); _local4.x = ((_local2.width - _local4.width) / 2); _local4.y = 9; _local5 = new Sprite(); _local5.addChild(_local2); _local5.addChild(_local4); var _local6:DisplayObject = new _-FP(); _local6.x = ((_local2.width - _local6.width) / 2); _local6.y = 9; _local2 = new _-BM(); _local2.scaleX = 1.2; _local2.scaleY = 0.5; _local7 = new Sprite(); _local7.addChild(_local2); _local7.addChild(_local6); _-FB = new SimpleButton(_local5, _local7, _local7, _local7); _-FB.x = 200; _-FB.y = 445; _-7Y.addChild(_-FB); _-FB.addEventListener(MouseEvent.CLICK, _-EL); _local2 = new _-BM(); _local2.scaleX = 1.2; _local2.scaleY = 0.5; _local4 = new _-Hp(); _local4.x = ((_local2.width - _local4.width) / 2); _local4.y = 9; _local5 = new Sprite(); _local5.addChild(_local2); _local5.addChild(_local4); _local6 = new _-HQ(); _local6.x = ((_local2.width - _local6.width) / 2); _local6.y = 9; _local2 = new _-BM(); _local2.scaleX = 1.2; _local2.scaleY = 0.5; _local7 = new Sprite(); _local7.addChild(_local2); _local7.addChild(_local6); _-R = new SimpleButton(_local5, _local7, _local7, _local7); _-R.x = 340; _-R.y = 445; _-7Y.addChild(_-R); _-R.addEventListener(MouseEvent.CLICK, _-8O); } protected function _-7B(_arg1:MouseEvent):void{ _-1J = 3; _-H1.each (false, _-7B); } protected function _-GC(_arg1:MouseEvent):void{ _-1J = 1; _-Bn(false); } protected function _-Bn(_arg1:Boolean):void{ _-5V.enabled = _arg1; _-DC.enabled = _arg1; _-40.enabled = _arg1; _-4a.enabled = _arg1; if (_arg1){ _-5V.addEventListener(MouseEvent.CLICK, _-GC); _-DC.addEventListener(MouseEvent.CLICK, _-5-); _-40.addEventListener(MouseEvent.CLICK, _-FI); _-4a.addEventListener(MouseEvent.CLICK, _-HX); } else { _-5V.removeEventListener(MouseEvent.CLICK, _-GC); _-DC.removeEventListener(MouseEvent.CLICK, _-5-); _-40.removeEventListener(MouseEvent.CLICK, _-FI); _-4a.removeEventListener(MouseEvent.CLICK, _-HX); }; } public function _-G4():void{ _-II.removeEventListener(Event.ENTER_FRAME, _-Bb); } protected function _-Bb(_arg1:Event):void{ var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); _-C4 = _local3; switch (_-1J){ case 1: _-II.x = _-Ba(_-II.x, 180, 0.1); _-II.alpha = _-Ba(_-II.alpha, 0, 0.25); if (_-II.alpha <= 0.001){ _-II.alpha = 0; _-II.x = 640; _-1J = 2; _-H1 = new _-2J(static._-6j()._-8l(), _-3B); _-H1.each (true, _-7B); addChild(_-H1); _-H1.x = 90; _-H1.y = 100; _-H1.alpha = 0; }; return; case 2: _-H1.alpha = _-Ba(_-H1.alpha, 1, 0.25); if (_-H1.alpha >= 0.999){ _-H1.alpha = 1; _-1J = 0; }; return; case 3: _-H1.alpha = _-Ba(_-H1.alpha, 0, 0.25); _-H1.x = _-Ba(_-H1.x, 220, 0.1); if (_-H1.alpha < 0.001){ removeChild(_-H1); _-H1 = null; _-II.x = 0; _-1J = 99; _-Bn(true); }; return; case 4: _-H1.alpha = _-Ba(_-H1.alpha, 0, 0.25); _-H1.x = _-Ba(_-H1.x, 220, 0.1); if (_-H1.alpha < 0.001){ removeChild(_-H1); _-H1 = null; _-91 = true; }; return; case 5: _-II.x = _-Ba(_-II.x, 180, 0.1); _-II.alpha = _-Ba(_-II.alpha, 0, 0.1); if (_-II.alpha <= 0.001){ _-II.alpha = 0; _-1J = 6; null = new _-2h(_-5e); null .x = 150; null .y = 100; addChild(null ); }; return; case 6: null .alpha = _-Ba(null .alpha, 1, 0.1); if (null .alpha >= 0.999){ null .alpha = 1; _-1J = 0; }; return; case 7: null .alpha = _-Ba(null .alpha, 0, 0.25); null .y = _-Ba(null .y, 90, 0.25); if (null .alpha <= 0.001){ null .alpha = 0; removeChild(null ); null = null; _-II.x = 0; _-Bn(true); _-1J = 99; }; return; case 8: _-II.x = _-Ba(_-II.x, 180, 0.1); _-II.alpha = _-Ba(_-II.alpha, 0, 0.1); if (_-II.alpha <= 0.001){ _-II.alpha = 0; _-1J = 9; _-57 = new _-BZ(_-c); _-57.x = 150; _-57.y = 100; addChild(_-57); }; return; case 9: _-57.alpha = _-Ba(_-57.alpha, 1, 0.1); if (_-57.alpha >= 0.999){ _-57.alpha = 1; _-1J = 0; }; return; case 10: _-57.alpha = _-Ba(_-57.alpha, 0, 0.25); _-57.y = _-Ba(_-57.y, 90, 0.25); if (_-57.alpha <= 0.001){ _-57.alpha = 0; removeChild(_-57); _-57 = null; _-II.x = 0; _-Bn(true); _-1J = 99; }; return; case 99: _-II.alpha = _-Ba(_-II.alpha, 1, 0.25); if (_-II.alpha >= 0.999){ _-II.alpha = 1; _-1J = 0; }; return; }; } protected function _-c():void{ _-1J = 10; } protected function _-Ff():void{ _-9W(); var _local1 = 220; _-II = new Sprite(); _-II.addEventListener(Event.ENTER_FRAME, _-Bb); _-II.alpha = 0; _-1J = 99; addChild(_-II); _-II.addChild(_-7Y); var _local2:Sprite = new Sprite(); var _local3:Sprite = new Sprite(); var _local4:DisplayObject = new _-6L(); 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 _-6L(); _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; _-5V = new SimpleButton(_local2, _local3, _local3, _local3); _-5V.x = 240; _-5V.y = _local1; _-II.addChild(_-5V); _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; _-DC = new SimpleButton(_local2, _local3, _local3, _local3); _-DC.x = ((640 - _local2.width) / 2); _-DC.y = (_local1 + 130); _-II.addChild(_-DC); _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; _-40 = new SimpleButton(_local2, _local3, _local3, _local3); _-40.x = ((640 - _local2.width) / 2); _-40.y = (_local1 + 180); _-II.addChild(_-40); _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; _-4a = new SimpleButton(_local2, _local3, _local3, _local3); _-4a.x = ((640 - _local2.width) / 2); _-4a.y = (_local1 + 80); _-II.addChild(_-4a); _-Bn(true); } protected function _-EL(_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 _-9W():void{ var _local1:Sprite = new Sprite(); var _local2:DisplayObject = new _-4U(); _local1.buttonMode = true; _local1.addChild(_local2); _local1.x = 32; _local1.y = 450; _local1.addEventListener(MouseEvent.CLICK, _-08); addChild(_local1); } protected function _-8w(_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 103
//_-85 (game._-85) package game { import mx.core.*; public class _-85 extends BitmapAsset { } }//package game
Section 104
//_-8E (game._-8E) package game { import mx.core.*; public class _-8E extends SpriteAsset { } }//package game
Section 105
//_-8p (game._-8p) package game { import mx.core.*; public class _-8p extends BitmapAsset { } }//package game
Section 106
//_-9F (game._-9F) package game { import flash.utils.*; import mx.core.*; public class _-9F extends MovieClipLoaderAsset { public var _-1U:Class; private static var _-46:ByteArray = null; public function _-9F(){ _-1U = _-6b; super(); initialWidth = (3067 / 20); initialHeight = (0x0300 / 20); } override public function get movieClipData():ByteArray{ if (_-46 == null){ _-46 = ByteArray(new _-1U()); }; return (_-46); } } }//package game
Section 107
//_-9j (game._-9j) package game { import mx.core.*; public class _-9j extends BitmapAsset { } }//package game
Section 108
//_-9S (game._-9S) package game { import mx.core.*; public class _-9S extends BitmapAsset { } }//package game
Section 109
//_-9t (game._-9t) package game { import flash.display.*; import flash.events.*; public class _-9t extends Sprite { protected var _-2x:Sprite; protected var magic:int; public function _-9t(_arg1:int, _arg2:DisplayObjectContainer){ _-FL._-90()._-8z = true; var _local3:bubblebox_submit_score = new bubblebox_submit_score(); _local3._-B0(_arg1, 1785); _local3.addEventListener("sendScores", _-4x); _local3.addEventListener("viewScores", _-I2); _local3.x = ((640 - _local3.width) / 2); _local3.y = 240; _arg2.addChild(this); addChild(_local3); } protected function _-1N(_arg1:MouseEvent):void{ parent.removeChild(this); _-FL._-90()._-8z = false; } protected function _-I2(_arg1:Event):void{ parent.removeChild(this); _-FL._-90()._-8z = false; } protected function _-4x(_arg1:Event):void{ _-2x = new Sprite(); var _local2:int; var _local3:int; _-2x.graphics.lineStyle(8, 0); _-2x.graphics.moveTo(_local2, _local3); _-2x.graphics.lineTo((_local2 + 10), (_local3 + 10)); _-2x.graphics.moveTo(_local2, (_local3 + 10)); _-2x.graphics.lineTo((_local2 + 10), _local3); _-2x.graphics.lineStyle(4, 0xFFFFFF); _-2x.graphics.moveTo(_local2, _local3); _-2x.graphics.lineTo((_local2 + 10), (_local3 + 10)); _-2x.graphics.moveTo(_local2, (_local3 + 10)); _-2x.graphics.lineTo((_local2 + 10), _local3); _-2x.x = 460; _-2x.y = 230; _-2x.addEventListener(MouseEvent.CLICK, _-1N); addChild(_-2x); } } }//package game
Section 110
//_-A9 (game._-A9) package game { import mx.core.*; public class _-A9 extends SpriteAsset { } }//package game
Section 111
//_-Ab (game._-Ab) package game { import mx.core.*; public class _-Ab extends ByteArrayAsset { } }//package game
Section 112
//_-AG (game._-AG) package game { import flash.utils.*; import mx.core.*; public class _-AG extends MovieClipLoaderAsset { public var _-1U:Class; private static var _-46:ByteArray = null; public function _-AG(){ _-1U = _-0d; super(); initialWidth = (3067 / 20); initialHeight = (0x0300 / 20); } override public function get movieClipData():ByteArray{ if (_-46 == null){ _-46 = ByteArray(new _-1U()); }; return (_-46); } } }//package game
Section 113
//_-Aj (game._-Aj) package game { import mx.core.*; public class _-Aj extends BitmapAsset { } }//package game
Section 114
//_-Ao (game._-Ao) package game { import flash.display.*; import Box2D.Common.Math.*; import flash.events.*; import Box2D.Collision.*; import flash.geom.*; import flash.filters.*; import _-CG.*; import _-Cx.*; import test.*; import _-4b.*; public class _-Ao extends Sprite { protected var finally:int; public var _-Hj:Function; protected var _-Bs:Sprite; private var _-Il:Class; protected var _-a:Number; protected var _-Hm:_-Do; private var _-As:Class; private var _-Ik:Class; private var _-An:Class; private var _-6W:Class; private var _-Cv:Class; private var _-5d:Class; protected var it:_-S; protected var _-IE:_-EF; protected var _-AW:Bitmap; protected var _-G0:Sprite; public var _-6e:Function; protected var _-H:_-1D; protected var _-7d:Number;// = 30 protected var const:Boolean;// = false protected var _-8P:int; protected var _-E2:myContactListener; public function _-Ao(){ _-Il = _-6h; _-As = _-6M; _-Ik = _-0s; _-An = _-DT; _-6W = _-Fh; _-Cv = _-3R; _-5d = _-HN; super(); it = null; _-7d = 30; _-Bs = new Sprite(); addChild(_-Bs); _-Bs.mouseChildren = false; _-G0 = new Sprite(); addChild(_-G0); _-AW = (new _-Il() as Bitmap); _-IE = new _-EF(); _-3M(); addEventListener(Event.ENTER_FRAME, update); var _local1:Date = new Date(); var _local2:Number = _local1.getTime(); _-a = _local2; addChild(_-IE); } public function _-5y(_arg1:MouseEvent):void{ var _local2:_-h = _-C7(true); if (_local2 == null){ return; }; if (!_local2.m_userData.is_possible_remove){ return; }; _-Bs.removeChild(_local2.m_userData); _-IE.addItem(_local2.m_userData, 100); _-Hm._-9g(_local2); _local2 = null; var _local3:_-CR = new _-CR(mouseX, mouseY, 10, 25, 250); _-IE.addItem(_local3, 250); } function _-Cp(_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) { _-G0.graphics.moveTo(_local11, _local12); _-G0.graphics.lineTo((_local11 + (Math.cos(_local14) * _arg5)), (_local12 + (Math.sin(_local14) * _arg5))); _local11 = (_local11 + _local8); _local12 = (_local12 + _local9); _local15++; }; _-G0.graphics.moveTo(_local11, _local12); _local13 = Math.sqrt((((_arg3 - _local11) * (_arg3 - _local11)) + ((_arg4 - _local12) * (_arg4 - _local12)))); if (_local13 > _arg5){ _-G0.graphics.lineTo((_local11 + (Math.cos(_local14) * _arg5)), (_local12 + (Math.sin(_local14) * _arg5))); } else { if (_local13 > 0){ _-G0.graphics.lineTo((_local11 + (Math.cos(_local14) * _local13)), (_local12 + (Math.sin(_local14) * _local13))); }; }; _-G0.graphics.moveTo(_arg3, _arg4); } public function _-9v(_arg1:_-S):void{ var _local3:int; var _local4:int; var _local5:_-AC; var _local6:default; var _local7:_-h; var _local8:_-Hr; var _local9:int; var _local10:b2Vec2; var _local11:b2Vec2; var _local12:_-Cc; var _local13:_-Cc; var _local14:int; var _local15:int; it = _arg1; var _local2:int = it._-Gj.length; if (_local2 == 0){ return; }; _-6d(); _-3M(); _local3 = 0; while (_local3 < _local2) { _local4 = it._-Gj[_local3].points.length; if (_local4 <= 1){ } else { _local5 = new _-AC(); _local5.position.Set(0, 0); if (_local4 == 2){ _local8 = new _-Hr(); _local6 = _local8; if (it._-Gj[_local3].is_static){ _local8.density = 0; } else { _local8.density = 1; }; _-33(_local6, it._-Gj[_local3].material); _local9 = it._-Gj[_local3].points[0]; _local10 = it.points[_local9].Copy(); _local11 = _local10.Copy(); _local9 = it._-Gj[_local3].points[1]; _local10.Add(it.points[_local9]); _local11._-BX(it.points[_local9]); _local10.Multiply((0.5 / _-7d)); _local5.position = _local10.Copy(); _local8.radius = ((_local11._-6-() * 0.5) / _-7d); _local12 = _-8D(64, _local8.radius); _local5.userData = new _-1f(_-v(it._-Gj[_local3].sprite), _local12, _-7d, (it._-Gj[_local3].collision_group == 0), 4, _-Gb(it._-Gj[_local3].sprite), (it._-Gj[_local3].collision_group == 0), !((it._-Gj[_local3].collision_group == 0))); _local5.userData.is_possible_remove = it._-Gj[_local3].is_possible_remove; _local5.userData.collision_group = it._-Gj[_local3].collision_group; _-00(_local5.userData); _-Bs.addChild(_local5.userData); } else { _local13 = new _-Cc(); _local6 = _local13; if (it._-Gj[_local3].is_static){ _local6.density = 0; } else { _local6.density = 1; }; _-33(_local6, it._-Gj[_local3].material); _local13.vertexCount = _local4; _local14 = 0; while (_local14 < _local4) { _local15 = it._-Gj[_local3].points[_local14]; _local13.vertices[_local14] = it.points[_local15].Copy(); _local13.vertices[_local14].Multiply((1 / _-7d)); _local14++; }; _local5.userData = new _-1f(_-Ac(it._-Gj[_local3].sprite), _local13, _-7d, true, 4, _-Gb(it._-Gj[_local3].sprite), true); _local5.userData.is_possible_remove = it._-Gj[_local3].is_possible_remove; _local5.userData.collision_group = it._-Gj[_local3].collision_group; _-00(_local5.userData); _-Bs.addChild(_local5.userData); }; _local7 = _-Hm._-Fy(_local5); _local7._-84(_local6); _local7._-2H(); _local7.m_mass = (_local7.m_mass * 100); }; _local3++; }; _-2o(); _-5l(); } public function _-C7(_arg1:Boolean=false):_-h{ var _local11:_-4A; var _local12:Boolean; var _local2:b2Vec2 = new b2Vec2(); var _local3:Number = (mouseX / _-7d); var _local4:Number = (mouseY / _-7d); _local2.Set(_local3, _local4); var _local5:final = new final(); _local5._-Hy.Set((_local3 - 0.001), (_local4 - 0.001)); _local5._-7A.Set((_local3 + 0.001), (_local4 + 0.001)); var _local6 = 10; var _local7:Array = new Array(); var _local8:int = _-Hm._-5F(_local5, _local7, _local6); var _local9:_-h; var _local10:int; while (_local10 < _local8) { if ((((_local7[_local10].GetBody().IsStatic() == false)) || (_arg1))){ _local11 = (_local7[_local10] as _-4A); _local12 = (_local7[_local10] as _-4A).TestPoint(_local11.GetBody()._-26(), _local2); if (_local12){ _local9 = _local11.GetBody(); break; }; }; _local10++; }; return (_local9); } protected function _-33(_arg1:default, _arg2:int):void{ switch (_arg2){ case 0: _arg1._-H8 = 0.9; _arg1._-Ak = 0; return; case 1: _arg1._-H8 = 0.9; _arg1._-Ak = 0.3; return; case 2: _arg1._-H8 = 0.5; _arg1._-Ak = 0; return; case 3: _arg1._-H8 = 0.5; _arg1._-Ak = 0.3; return; }; } public function _-Ac(_arg1:int):Class{ switch (_arg1){ case 0: return (_-As); case 1: return (_-Il); case 2: return (_-Ik); case 3: return (_-An); case 4: return (_-6W); }; return (null); } public function _-2U(_arg1:MouseEvent):void{ const = true; _-G0.graphics.clear(); _-H._-7O.p1 = new b2Vec2((mouseX / _-7d), (mouseY / _-7d)); } protected function _-36(_arg1:b2Vec2, _arg2:b2Vec2):void{ _-G0.graphics.clear(); _-G0.graphics.lineStyle(5, 0); _-Cp(_arg1.x, _arg1.y, _arg2.x, _arg2.y, 10, 15); _-G0.graphics.lineStyle(2, 0xFFFFFF); _-Cp(_arg1.x, _arg1.y, _arg2.x, _arg2.y, 10, 15); } protected function _-Dt():void{ var _local2:int; var _local3:_-h; var _local1:int = _-E2.shapes.length; if (_local1 == 0){ return; }; _local2 = 0; while (_local2 < _local1) { _local3 = _-E2.shapes[_local2].m_body; _-Bs.removeChild(_local3.m_userData); _-IE.addItem(_local3.m_userData); _local3.m_userData = null; _-Hm._-9g(_local3); _local3 = null; finally++; _local2++; }; _-E2.shapes.length = 0; if (finally == _-8P){ if (_-6e != null){ _-6e(); }; }; } protected function _-5l():void{ var _local2:b2Vec2; var _local3:Number; var _local4:Matrix; var _local5:_-8y; var _local6:b2Vec2; var _local1:_-h = _-Hm._-F5; while (_local1) { if ((_local1.m_userData is DisplayObject)){ _local2 = _local1._-C3(); _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 _-8y(_local3); _local6 = _-BI._-6w(_local5, _local1.m_userData.magic_shift); _local4.tx = (_local4.tx + ((_local2.x * _-7d) + _local6.x)); _local4.ty = (_local4.ty + ((_local2.y * _-7d) + _local6.y)); _local1.m_userData.transform.matrix = _local4; _local1.m_userData.scaleX = 1; _local1.m_userData.scaleY = 1; }; _local1 = _local1._-HY; }; } public function _-8D(_arg1:int, _arg2:Number):_-Cc{ var _local4:int; var _local5:Number; var _local6:Number; var _local3:_-Cc = new _-Cc(); _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 _-Fx(_arg1:MouseEvent):void{ if (!const){ return; }; _-36(new b2Vec2((_-H._-7O.p1.x * _-7d), (_-H._-7O.p1.y * _-7d)), new b2Vec2(mouseX, mouseY)); } protected function update(_arg1:Event):void{ if (_-Hm == null){ return; }; var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); _-a = _local3; _-Hm._-Fq((1 / 30), 10); _-5l(); _-Dt(); _-Ij(); } protected function _-FM():void{ var _local1:_-h; var _local2:_-h; var _local3:_-AC; var _local4:_-Cc; _local3 = new _-AC(); _local3.position.Set(27, 10); _local4 = new _-Cc(); _local4._-CV(0.25, 10); _local4._-H8 = 0.3; _local4.density = 0; _local4._-4N = true; _local3.userData = null; _local1 = _-Hm._-Fy(_local3); _local1._-84(_local4); _local3.position.Set(-0.25, 10); _local3.userData = null; _local2 = _-Hm._-Fy(_local3); _local2._-84(_local4); _local3 = new _-AC(); _local3.position.Set(13, 21); _local4 = new _-Cc(); _local4._-CV(14, 0.25); _local4._-H8 = 0.3; _local4.density = 0; _local4._-4N = true; _local3.userData = null; _local1 = _-Hm._-Fy(_local3); _local1._-84(_local4); } public function _-Gb(_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 _-2o():void{ if (_-Hm == null){ return; }; _-8P = 0; finally = 0; var _local1:_-h = _-Hm._-F5; while (_local1) { if ((_local1.m_userData is Bitmap)){ if (_local1.m_userData.collision_group > 1){ _-8P++; }; }; _local1 = _local1._-HY; }; if (_-8P == 0){ _-8P = int.MAX_VALUE; }; } public function _-6d():void{ var _local1:_-h; if (_-Hm){ if (_-Hm._-F5){ _local1 = _-Hm._-F5; while (_local1) { if ((_local1.m_userData is Bitmap)){ _-Bs.removeChild(_local1.m_userData); }; _local1 = _local1._-HY; }; }; if (_-Hm._-5t){ if (_-Hm._-5t._-1R){ _-Bs.removeChild(_-Hm._-5t._-1R); }; }; _-Hm = null; _-H = null; }; } protected function _-00(_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 _-3M():void{ var _local1:final = new final(); _local1._-Hy.Set(-100, -100); _local1._-7A.Set(100, 100); var _local2:b2Vec2 = new b2Vec2(0, 15); _-Hm = new _-Do(_local1, _local2, true); _-E2 = new myContactListener(); _-Hm.super(_-E2); _-FM(); _-H = new _-1D(_-Hm); _-H._-m = _-Bs; _-H._-IE = _-IE; } public function _-v(_arg1:int):Class{ switch (_arg1){ case 2: return (_-Cv); case 3: return (_-5d); }; return (_-Ac(_arg1)); } protected function _-Ij():void{ var _local2:int; var _local3:_-h; var _local1:int = _-E2.sensors.length; if (_local1 == 0){ return; }; _local2 = 0; while (_local2 < _local1) { _local3 = _-E2.sensors[_local2].m_body; _-Bs.removeChild(_local3.m_userData); _-Hm._-9g(_local3); _local3 = null; _local2++; }; _-E2.sensors.length = 0; if (_-Hj != null){ _-Hj(); }; } public function _-9I(_arg1:MouseEvent):void{ _-H._-7O.p2 = new b2Vec2((mouseX / _-7d), (mouseY / _-7d)); _-G0.graphics.clear(); _-H._-4m(); const = false; } } }//package game import flash.display.*; import Box2D.Collision.*; import _-CG.*; import _-Cx.*; class myContactListener extends _-11 { public var shapes:Array; public var sensors:Array; private function myContactListener(){ shapes = new Array(); sensors = new Array(); } override public function Add(_arg1:_-Bc):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:_-4A):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:_-4A):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 115
//_-BP (game._-BP) package game { import mx.core.*; public class _-BP extends BitmapAsset { } }//package game
Section 116
//_-BZ (game._-BZ) package game { import flash.display.*; import flash.events.*; import flash.text.*; public class _-BZ extends Sprite { protected var _-DE:Function; private var _-0N:Class; protected var _-3T:SimpleButton; public function _-BZ(_arg1:Function){ _-0N = _-FW; super(); _-DE = _arg1; var _local2:TextFormat = new TextFormat(); _local2.font = "embed_font_1"; _local2.color = 0xFFFFFF; _local2.size = 60; var _local3:DisplayObject = new _-0N(); _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; _-3T = new SimpleButton(_local4, _local4, _local4, _local4); _-3T.x = 110; _-3T.y = 310; _-3T.addEventListener(MouseEvent.CLICK, _-95); addChild(_-3T); this.alpha = 0; } protected function _-95(_arg1:MouseEvent):void{ _-3T.removeEventListener(MouseEvent.CLICK, _-95); _-DE(); } } }//package game
Section 117
//_-CW (game._-CW) package game { import flash.display.*; import flash.events.*; import flash.filters.*; public class _-CW extends Sprite { protected const _-FK:int = 40; private var _-As:Class; private var _-Ik:Class; private var _-An:Class; protected var _-2g:Array; public function _-CW(){ var _local3:int; _-As = _-FA; _-Ik = _-3; _-An = _-Ig; _-2g = new Array(); super(); var _local1:DisplayObject = new _-Ik(); addChild(_local1); _local1 = new Sprite(); addChild(_local1); var _local2:BlurFilter = new BlurFilter(); _local1.filters = [_local2]; _local3 = 0; while (_local3 < _-FK) { _-2g[_local3] = new starItem((_local1 as Sprite)); _local3++; }; _local1 = new _-As(); _local1.y = (480 - _local1.height); addChild(_local1); _local1 = new _-An(); _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 < _-FK) { _-2g[_local2].update(); _local2++; }; } } }//package game import Box2D.Common.Math.*; import flash.display.*; 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 118
//_-Cz (game._-Cz) package game { import mx.core.*; public class _-Cz extends SpriteAsset { } }//package game
Section 119
//_-d (game._-d) package game { import mx.core.*; public class _-d extends SpriteAsset { } }//package game
Section 120
//_-D0 (game._-D0) package game { import mx.core.*; public class _-D0 extends BitmapAsset { } }//package game
Section 121
//_-DJ (game._-DJ) package game { import mx.core.*; public class _-DJ extends SpriteAsset { } }//package game
Section 122
//_-Dl (game._-Dl) package game { import mx.core.*; public class _-Dl extends BitmapAsset { } }//package game
Section 123
//_-DT (game._-DT) package game { import mx.core.*; public class _-DT extends BitmapAsset { } }//package game
Section 124
//_-DX (game._-DX) package game { import mx.core.*; public class _-DX extends BitmapAsset { } }//package game
Section 125
//_-E (game._-E) package game { import flash.media.*; public class _-E { protected var _-Hv:Boolean;// = false private var _-3n:Class; protected var _-DB:Sound; protected var _-9x:SoundChannel; protected static var break:_-E; public function _-E(){ _-3n = soundManager_Sound1; super(); _-DB = (new _-3n() as Sound); _-9x = _-DB.play(0, int.MAX_VALUE); } public function _-16():void{ var _local1:SoundTransform = new SoundTransform(); _local1.volume = 0; SoundMixer.soundTransform = _local1; _-Hv = true; } public function use():void{ var _local1:SoundTransform = new SoundTransform(); _local1.volume = 1; SoundMixer.soundTransform = _local1; _-Hv = false; } public function _-F-():Boolean{ return (_-Hv); } public static function getInstance():_-E{ if (break != null){ return (break); }; break = new (_-E); return (break); } } }//package game
Section 126
//_-EF (game._-EF) package game { import flash.display.*; import flash.events.*; public class _-EF extends Sprite { protected var _-2g:Array; public function _-EF(){ _-2g = new Array(); addEventListener(Event.ENTER_FRAME, update); } protected function update(_arg1:Event):void{ var _local3:int; var _local6:Number; var _local2:int = _-2g.length; if (_local2 == 0){ return; }; var _local4:Date = new Date(); var _local5:Number = _local4.getTime(); _local3 = 0; while (_local3 < _local2) { if ((_local5 - _-2g[_local3].create_time) >= _-2g[_local3].live_time){ this.removeChild(_-2g[_local3].sprite); _-2g[_local3].sprite = null; _-2g.splice(_local3, 1); _-2g.length = (_local2 - 1); return; }; _local6 = ((_local5 - _-2g[_local3].create_time) / _-2g[_local3].live_time); _-2g[_local3].sprite.alpha = ((_-2g[_local3].live_time - (_local5 - _-2g[_local3].create_time)) / _-2g[_local3].live_time); _local3++; }; } public function addItem(_arg1:DisplayObject, _arg2:Number=500):void{ var _local3:int = _-2g.length; _-2g.length = (_local3 + 1); var _local4:Date = new Date(); var _local5:Number = _local4.getTime(); _-2g[_local3] = new EffectItem(); _-2g[_local3].sprite = _arg1; _-2g[_local3].create_time = _local5; _-2g[_local3].live_time = _arg2; addChild(_-2g[_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 127
//_-Ef (game._-Ef) package game { import mx.core.*; public class _-Ef extends SpriteAsset { } }//package game
Section 128
//_-Eq (game._-Eq) package game { import flash.display.*; import flash.events.*; public class _-Eq extends Sprite { var _-Az:_-5G; var _-CZ:int; var _-0q:_-1d; var _-CS:_-7U; var _-Du:_-6p; public function _-Eq(){ _-CS = new _-7U(); addChild(_-CS); _-CZ = 0; _-E.getInstance(); this.addEventListener(Event.ENTER_FRAME, onUpdate); } protected function onUpdate(_arg1:Event):void{ var _local2:int; var _local3:Boolean; switch (_-CZ){ case 0: if (_-CS._-91){ _local2 = _-CS._-G6; _-CZ = 1; removeChild(_-CS); _-CS._-G4(); _-CS = null; _-0q = new _-1d(); addChild(_-0q); _-Az = new _-5G(_-8j); addChild(_-Az); _-Az.x = 20; _-Az.y = 450; _-Du = new _-6p(); addChild(_-Du); _-Du.x = 30; _-Du.y = 25; _local3 = _-0q._-5r(_local2); }; return; case 1: if (_-0q._-9Z){ removeChild(_-0q); _-0q = null; removeChild(_-Az); _-Az = null; removeChild(_-Du); _-Du = null; _-CS = new _-7U(); addChild(_-CS); _-CZ = 0; }; return; }; } protected function _-8j():void{ if (_-E.getInstance()._-F-()){ _-E.getInstance().use(); } else { _-E.getInstance()._-16(); }; } } }//package game
Section 129
//_-EU (game._-EU) package game { import flash.display.*; import flash.events.*; import flash.text.*; import flash.filters.*; public class _-EU extends Sprite { protected var throw:TextField; protected var _-Ep:int; protected var _-D7:Number; protected var _-7S:Boolean;// = false public function _-EU(){ 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; throw = new TextField(); throw.embedFonts = true; throw.defaultTextFormat = _local2; throw.selectable = false; throw.mouseEnabled = false; throw.antiAliasType = AntiAliasType.ADVANCED; throw.text = ""; throw.width = (throw.textWidth + 5); throw.height = throw.textHeight; _-00(throw); addChild(throw); 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; _-00(_local3); throw.x = (_local3.x + _local3.width); throw.y = _local3.y; addChild(_local3); } protected function _-9e(_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 - _-D7) / 1000)); if (_local2 <= 60){ _local2 = (((61 - _local2) * 16) + (_-Ep * 10)); } else { _local2 = (_-Ep * 10); }; throw.text = _local2.toString(); throw.width = (throw.textWidth + 5); throw.height = throw.textHeight; } public function _-EC():void{ if (_-7S){ removeEventListener(Event.ENTER_FRAME, _-9e); }; _-7S = false; } protected function _-00(_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 _-7k(_arg1:Number, _arg2:int):void{ _-D7 = _arg1; _-Ep = _arg2; if (_-7S){ removeEventListener(Event.ENTER_FRAME, _-9e); }; _-7S = true; addEventListener(Event.ENTER_FRAME, _-9e); } } }//package game
Section 130
//_-FA (game._-FA) package game { import mx.core.*; public class _-FA extends BitmapAsset { } }//package game
Section 131
//_-Fh (game._-Fh) package game { import mx.core.*; public class _-Fh extends BitmapAsset { } }//package game
Section 132
//_-Fk (game._-Fk) package game { import mx.core.*; public class _-Fk extends SpriteAsset { } }//package game
Section 133
//_-FL (game._-FL) package game { public class _-FL { public var _-8z:Boolean;// = false protected static var _-8W:_-FL = null; public function _-FL(){ _-8W = this; } public static function _-90():_-FL{ if (_-8W == null){ _-8W = new (_-FL); return (_-8W); }; return (_-8W); } } }//package game
Section 134
//_-FW (game._-FW) package game { import mx.core.*; public class _-FW extends BitmapAsset { } }//package game
Section 135
//_-GF (game._-GF) package game { import mx.core.*; public class _-GF extends SpriteAsset { } }//package game
Section 136
//_-GV (game._-GV) package game { import mx.core.*; public class _-GV extends SpriteAsset { } }//package game
Section 137
//_-GZ (game._-GZ) package game { import mx.core.*; public class _-GZ extends SpriteAsset { } }//package game
Section 138
//_-H0 (game._-H0) package game { import mx.core.*; public class _-H0 extends SpriteAsset { } }//package game
Section 139
//_-HA (game._-HA) package game { import mx.core.*; public class _-HA extends SpriteAsset { } }//package game
Section 140
//_-HB (game._-HB) package game { import mx.core.*; public class _-HB extends SpriteAsset { } }//package game
Section 141
//_-HE (game._-HE) package game { import mx.core.*; public class _-HE extends SpriteAsset { } }//package game
Section 142
//_-Hf (game._-Hf) package game { import mx.core.*; public class _-Hf extends BitmapAsset { } }//package game
Section 143
//_-HL (game._-HL) package game { import mx.core.*; public class _-HL extends BitmapAsset { } }//package game
Section 144
//_-HN (game._-HN) package game { import mx.core.*; public class _-HN extends BitmapAsset { } }//package game
Section 145
//_-Hq (game._-Hq) package game { import mx.core.*; public class _-Hq extends BitmapAsset { } }//package game
Section 146
//_-Hw (game._-Hw) package game { import Box2D.Common.Math.*; import flash.utils.*; public class _-Hw { protected var _-5b:Array; private var _-AQ:Class; protected var data:ByteArray; public function _-Hw(){ _-AQ = _-Ab; super(); data = (new _-AQ() as ByteArray); _-5b = new Array(); _-DD(); } protected function _-DD():void{ var _local1:int; var _local2:int; data.position = 0; _local1 = data.readInt(); _-5b.length = _local1; _local2 = 0; while (_local2 < _local1) { _-5b[_local2] = data.readInt(); _local2++; }; } public function _-E9():int{ return (_-5b.length); } public function _-0k(_arg1:int, _arg2:_-S):Boolean{ var _local4:int; var _local5:b2Vec2; var _local6:int; var _local7:int; if (_arg1 >= _-5b.length){ return (false); }; data.position = _-5b[_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._-Gj.length = _local3; if (_local3 != 0){ _local4 = 0; while (_local4 < _local3) { _arg2._-Gj[_local4] = new _-4G(); _arg2._-Gj[_local4].sprite = data.readInt(); _arg2._-Gj[_local4].is_static = data.readBoolean(); _arg2._-Gj[_local4].collision_group = data.readInt(); _arg2._-Gj[_local4].is_possible_remove = data.readBoolean(); _arg2._-Gj[_local4].material = data.readInt(); _local6 = data.readInt(); _arg2._-Gj[_local4].points.length = _local6; if (_local6 != 0){ _local7 = 0; while (_local7 < _local6) { _arg2._-Gj[_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 147
//_-I0 (game._-I0) package game { import mx.core.*; public class _-I0 extends BitmapAsset { } }//package game
Section 148
//_-Ia (game._-Ia) package game { import mx.core.*; public class _-Ia extends SpriteAsset { } }//package game
Section 149
//_-Ig (game._-Ig) package game { import mx.core.*; public class _-Ig extends BitmapAsset { } }//package game
Section 150
//_-IG (game._-IG) package game { import flash.display.*; import flash.events.*; import flash.text.*; import flash.net.*; import flash.filters.*; public class _-IG extends Sprite { public var _-ID:SimpleButton;// = null protected var _-4S:Number; protected var _-a:Number; public var _-0A:SimpleButton;// = null protected var _-HF:DisplayObject; public var _-Er:SimpleButton;// = null public function _-IG(_arg1:Number, _arg2:Boolean=false){ _-4S = _arg1; if (_arg2){ _-BE(); } else { _-2L(); }; 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 - _-a) <= 500){ return; }; _-a = (_local3 - 500); this.alpha = _-Ba(this.alpha, 1, 0.2); this.y = _-Ba(this.y, _-4S, 0.2); if (this.alpha >= 0.999){ this.alpha = 1; this.y = _-4S; this.removeEventListener(Event.ENTER_FRAME, onUpdate); }; } protected function _-DU(_arg1:MouseEvent):void{ _-ID.enabled = false; _-ID.removeEventListener(MouseEvent.CLICK, _-DU); var _local2:int = static._-6j()._-Cy(); var _local3:_-9t = new _-9t(_local2, stage); } function _-7G(_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 _-3I(_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(); _-a = _local2; } protected function _-2L():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 " + static._-6j()._-Cy().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; _-ID = new SimpleButton(_local5, _local8, _local8, _local8); _-ID.x = ((_local1 / 2) + 10); _-ID.y = (_local2 - 70); _-ID.addEventListener(MouseEvent.CLICK, _-DU); addChild(_-ID); _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; _-0A = new SimpleButton(_local5, _local8, _local8, _local8); _-0A.x = (((_local1 / 2) - 30) - _local8.width); _-0A.y = (_local2 - 70); addChild(_-0A); _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; _-00(_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; _-00(_local10); var _local11:DisplayObject = _-7G(_local9); var _local12:DisplayObject = _-7G(_local10); _-Er = new SimpleButton(_local11, _local11, _local11, _local11); _-Er.x = 140; _-Er.y = 85; addChild(_-Er); } protected function _-BE():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 " + static._-6j()._-Cy().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; _-ID = new SimpleButton(_local5, _local8, _local8, _local8); _-ID.x = ((_local1 / 2) + 10); _-ID.y = (_local2 - 70); _-ID.addEventListener(MouseEvent.CLICK, _-DU); addChild(_-ID); _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; _-0A = new SimpleButton(_local5, _local8, _local8, _local8); _-0A.x = (((_local1 / 2) - 30) - _local8.width); _-0A.y = (_local2 - 70); addChild(_-0A); _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); _-00(_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); _-00(_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, _-3I); } protected function _-Ba(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return ((_arg1 + (_arg3 * (_arg2 - _arg1)))); } protected function _-00(_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 151
//_-N (game._-N) package game { import mx.core.*; public class _-N extends BitmapAsset { } }//package game
Section 152
//_-O (game._-O) package game { import mx.core.*; public class _-O extends SpriteAsset { } }//package game
Section 153
//_-S (game._-S) package game { import Box2D.Common.Math.*; public class _-S { public var shift:b2Vec2; public var points:Array; public var _-Gj:Array; public function _-S(){ points = new Array(); _-Gj = new Array(); shift = new b2Vec2(); } } }//package game
Section 154
//else (game.else) package game { import mx.core.*; public class else extends BitmapAsset { } }//package game
Section 155
//mainMenu_FontClass1 (game.mainMenu_FontClass1) package game { import mx.core.*; public class mainMenu_FontClass1 extends FontAsset { } }//package game
Section 156
//set (game.set ) package game { import mx.core.*; public class set extends BitmapAsset { } }//package game
Section 157
//soundManager_Sound1 (game.soundManager_Sound1) package game { import mx.core.*; public class soundManager_Sound1 extends SoundAsset { } }//package game
Section 158
//static (game.static) package game { import flash.net.*; public class static { protected var _-2g:Array; protected var in:Boolean; protected var _-44:int; protected var _-Hd:int; protected var _-EJ:int;// = 0 private static var _-87:static = null; public function static(_arg1:int){ var _local2:int; super(); _-2g = new Array(); _-2g.length = _arg1; _-44 = _arg1; _local2 = 0; while (_local2 < _arg1) { _-2g[_local2] = 0; _local2++; }; in = false; _-2-(); } public function _-CI(_arg1:int):void{ if (_arg1 > _-EJ){ _-EJ = _arg1; _-Ai(); }; } public function if():Boolean{ return (in); } protected function _-Ai():void{ var _local2:uint; var _local3:uint; var _local1:SharedObject = SharedObject.getLocal("turbrono/game/003"); _local3 = _-2g.length; _local1.data.my_items = _-2g; _local1.data.magic = _-EJ; _local1.flush(); _local1.close(); } public function _-Cy():uint{ var _local1:uint; var _local2:uint; var _local3:uint; _local2 = _-2g.length; _local3 = 0; _local1 = 0; while (_local1 < _local2) { _local3 = (_local3 + _-2g[_local1]); _local1++; }; return (_local3); } public function _-8H(_arg1:uint, _arg2:uint):void{ var _local3:uint = _-2g[_arg1]; _-Hd = _arg2; if (_arg2 > _local3){ _-2g[_arg1] = _arg2; in = true; _-Ai(); }; } public function _-Bk():void{ in = false; } protected function _-2-():void{ var _local2:uint; var _local3:uint; var _local4:uint; var _local1:SharedObject = SharedObject.getLocal("turbrono/game/003"); _local3 = _-2g.length; if (_local1.data["my_items"] != null){ _-2g = _local1.data.my_items; }; if (_local1.data["magic"] != null){ _-EJ = _local1.data.magic; }; _local1.close(); } public function _-8l():int{ return (_-EJ); } public function _-0j():int{ return (_-Hd); } public static function _-6j():static{ if (_-87 == null){ _-87 = new static(40); return (_-87); }; return (_-87); } } }//package game
Section 159
//while (game.while) package game { import mx.core.*; public class while extends SpriteAsset { } }//package game
Section 160
//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 161
//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 162
//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 163
//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 164
//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 165
//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 166
//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 167
//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 168
//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 169
//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 170
//IBorder (mx.core.IBorder) package mx.core { public interface IBorder { function get borderMetrics():EdgeMetrics; } }//package mx.core
Section 171
//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 172
//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 173
//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 174
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 175
//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 176
//IFlexModuleFactory (mx.core.IFlexModuleFactory) package mx.core { public interface IFlexModuleFactory { function create(... _args):Object; function info():Object; } }//package mx.core
Section 177
//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 178
//IProgrammaticSkin (mx.core.IProgrammaticSkin) package mx.core { public interface IProgrammaticSkin { function validateNow():void; function validateDisplayList():void; } }//package mx.core
Section 179
//IRawChildrenContainer (mx.core.IRawChildrenContainer) package mx.core { public interface IRawChildrenContainer { function get rawChildren():IChildList; } }//package mx.core
Section 180
//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 181
//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 182
//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 183
//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 184
//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 185
//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 186
//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 187
//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 188
//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 189
//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 190
//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 191
//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 192
//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 193
//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 194
//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 195
//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 196
//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 197
//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 198
//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 199
//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 200
//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 201
//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 202
//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 203
//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 204
//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.net.*; import flash.utils.*; 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 205
//ModuleManagerGlobals (mx.modules.ModuleManagerGlobals) package mx.modules { public class ModuleManagerGlobals { public static var managerSingleton:Object = null; } }//package mx.modules
Section 206
//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 207
//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 208
//IResourceModule (mx.resources.IResourceModule) package mx.resources { public interface IResourceModule { function get resourceBundles():Array; } }//package mx.resources
Section 209
//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 210
//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 211
//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 212
//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 213
//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 214
//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 215
//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 216
//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 217
//RectangularBorder (mx.skins.RectangularBorder) package mx.skins { import flash.display.*; import flash.events.*; import flash.system.*; import flash.geom.*; import flash.net.*; import flash.utils.*; 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 218
//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 219
//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 220
//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 221
//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 222
//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 223
//IStyleModule (mx.styles.IStyleModule) package mx.styles { public interface IStyleModule { function unload():void; } }//package mx.styles
Section 224
//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 225
//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 226
//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 227
//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 228
//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 229
//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 230
//_-1D (test._-1D) package test { import flash.display.*; import Box2D.Common.Math.*; import Box2D.Collision.*; import flash.geom.*; import flash.filters.*; import _-CG.*; import _-Cx.*; import game.*; public class _-1D { protected var _-Hm:_-Do; public var _-IE:_-EF; public var _-m:Sprite; public var _-7O:_-AY; public function _-1D(_arg1:_-Do){ _-Hm = _arg1; _-7O = new _-AY(); } protected function _-32(_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:_-8y = new _-8y(_local3); var _local6:b2Vec2 = _-BI._-6w(_local5, (_arg1 as _-1f).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 _-4m():void{ var _local3:int; var _local5:_-h; var _local1:Array = new Array(); var _local2 = 64; _local3 = _-Hm._-05(_-7O, _local1, _local2, false, null); var _local4:int; for (;_local4 < _local3;_local4++) { if (_local1[_local4].GetType() != _-4A._-1E){ //unresolved if } else { _local5 = _local1[_local4].GetBody(); if (_local5.m_userData == null){ } else { if (!(_local5.m_userData as _-1f).is_possible_remove){ } else { if ((_local5.m_userData as _-1f).collision_group == 0){ _-81(_local1[_local4]); } else { if ((_local5.m_userData as _-1f).collision_group == 1){ _-X(_local1[_local4]); continue; }; }; }; }; }; }; } public function _-3O():void{ var _local3:int; var _local5:_-h; var _local6:Array; var _local7:int; var _local8:Number; var _local9:Number; var _local10:_-AC; var _local11:_-h; var _local12:_-h; var _local1:Array = new Array(); var _local2 = 64; _local3 = _-Hm._-05(_-7O, _local1, _local2, false, null); var _local4:int; while (_local4 < _local3) { if (_local1[_local4].GetType() != _-4A._-1E){ //unresolved if } else { _local5 = _local1[_local4].GetBody(); if (_local5.m_userData == null){ } else { if ((_local5.m_userData as _-1f).collision_group != 0){ } else { if (!(_local5.m_userData as _-1f).is_possible_remove){ } else { _local6 = new Array(2); _local6[0] = new _-Cc(); _local6[1] = new _-Cc(); _local6[0].density = 5; _local6[1].density = 5; if (_local1[_local4].GetType() == _-4A._-79){ _local7 = _-4R(_local1[_local4], _-7O, _local6); } else { _local7 = _-9b(_local1[_local4], _-7O, _local6); }; if (_local7 == 0){ _local8 = _-7q(_local6[0]); if (_local8 <= 0.1){ } else { _local9 = _-7q(_local6[1]); if (_local9 <= 0.1){ } else { _local10 = new _-AC(); _local10.userData = new _-1f((_local5.m_userData as _-1f)._-Gz, _local6[1], 30, (_local5.m_userData as _-1f)._-Am, 5, (_local5.m_userData as _-1f)._-Eu, (_local5.m_userData as _-1f)._-Gx); if (_local9 > _local8){ _-m.addChild(_local10.userData); _local10.userData.x = -100; _local10.userData.y = -100; _local10.userData.is_possible_remove = true; _local11 = _-Hm._-Fy(_local10); _local11._-84(_local6[1]); _local11._-2H(); _local11._-DY(_local5._-Dh()); _local11._-B6(_local5._-1X()); } else { _-32(_local10.userData); _-IE.addItem(_local10.userData, 100); }; _local10 = new _-AC(); _local10.userData = new _-1f((_local5.m_userData as _-1f)._-Gz, _local6[0], 30, (_local5.m_userData as _-1f)._-Am, 5, (_local5.m_userData as _-1f)._-Eu, (_local5.m_userData as _-1f)._-Gx); if (_local9 < _local8){ _-m.addChild(_local10.userData); _local10.userData.x = -100; _local10.userData.y = -100; _local10.userData.is_possible_remove = true; _local12 = _-Hm._-Fy(_local10); _local12._-84(_local6[0]); _local12._-2H(); _local12._-DY(_local5._-Dh()); _local12._-B6(_local5._-1X()); } else { _-32(_local10.userData); _-IE.addItem(_local10.userData, 100); }; _-m.removeChild(_local5.m_userData); _local5.m_userData = null; _-Hm._-9g(_local5); }; }; }; }; }; }; }; _local4++; }; } protected function _-00(_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 _-9b(_arg1:_-CC, _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:_-h = _arg1.GetBody(); var _local9:_-AJ = _local8._-26(); if (_arg1._-6o(_local9, _local4, _local5, _arg2, 1) != _-4A._-35){ 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:_-AY = new _-AY(); _local12.p1 = _arg2.p2; _local12.p2 = _arg2.p1; if (_arg1._-6o(_local9, _local4, _local5, _local12, 1) != _-4A._-35){ 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._-F(); var _local15:int = (_local6 + 1); var _local16:int = _arg1.case (); if (_local15 == _local16){ _local15 = 0; }; _arg3[0].vertices[0] = _local10.Copy(); _arg3[0].vertexCount = 1; while (true) { _arg3[0].vertices[_arg3[0].vertexCount] = _-BI._-Df(_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] = _-BI._-Df(_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 _-X(_arg1):void{ var _local2:_-h; var _local4:int; var _local8:_-h; var _local9:_-h; _local2 = _arg1.GetBody(); var _local3:Array = new Array(2); _local3[0] = new _-Cc(); _local3[1] = new _-Cc(); _local3[0].density = 5; _local3[1].density = 5; if (_arg1.GetType() == _-4A._-79){ _local4 = _-4R(_arg1, _-7O, _local3); } else { _local4 = _-9b(_arg1, _-7O, _local3); }; if (_local4 != 0){ return; }; var _local5:Number = _-7q(_local3[0]); if (_local5 <= 0.1){ return; }; var _local6:Number = _-7q(_local3[1]); if (_local6 <= 0.1){ return; }; var _local7:_-AC = new _-AC(); _local7.userData = new _-1f((_local2.m_userData as _-1f)._-Gz, _local3[1], 30, (_local2.m_userData as _-1f)._-Am, 5, (_local2.m_userData as _-1f)._-Eu, (_local2.m_userData as _-1f)._-Gx); if (_local6 > _local5){ _-m.addChild(_local7.userData); _local7.userData.x = -100; _local7.userData.y = -100; _local7.userData.is_possible_remove = true; _local8 = _-Hm._-Fy(_local7); _local8._-84(_local3[1]); _local8._-2H(); _local8._-DY(_local2._-Dh()); _local8._-B6(_local2._-1X()); } else { _-32(_local7.userData); _-IE.addItem(_local7.userData, 100); }; _local7 = new _-AC(); _local7.userData = new _-1f((_local2.m_userData as _-1f)._-Gz, _local3[0], 30, (_local2.m_userData as _-1f)._-Am, 5, (_local2.m_userData as _-1f)._-Eu, (_local2.m_userData as _-1f)._-Gx); if (_local6 < _local5){ _-m.addChild(_local7.userData); _local7.userData.x = -100; _local7.userData.y = -100; _local7.userData.is_possible_remove = true; _local9 = _-Hm._-Fy(_local7); _local9._-84(_local3[0]); _local9._-2H(); _local9._-DY(_local2._-Dh()); _local9._-B6(_local2._-1X()); } else { _-32(_local7.userData); _-IE.addItem(_local7.userData, 100); }; _-m.removeChild(_local2.m_userData); _local2.m_userData = null; _-Hm._-9g(_local2); } protected function _-4R(_arg1:_-7R, _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:_-h = _arg1.GetBody(); var _local7:_-AJ = _local6._-26(); if (_arg1.TestSegment(_local7, _local4, _local5, _arg2, 1) != _-4A._-35){ 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:_-AY = new _-AY(); _local10.p1 = _arg2.p2; _local10.p2 = _arg2.p1; if (_arg1.TestSegment(_local7, _local4, _local5, _local10, 1) != _-4A._-35){ 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 = _-BI._-Df(_arg1.m_body.m_xf, _arg1._-5M); var _local13:Number = _arg1._-IQ; 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 _-Fd():void{ var _local3:int; var _local5:_-h; var _local6:Array; var _local7:int; var _local8:Number; var _local9:Number; var _local10:_-AC; var _local11:_-h; var _local12:_-h; var _local1:Array = new Array(); var _local2 = 64; _local3 = _-Hm._-05(_-7O, _local1, _local2, false, null); var _local4:int; while (_local4 < _local3) { if (_local1[_local4].GetType() != _-4A._-1E){ //unresolved if } else { _local5 = _local1[_local4].GetBody(); if (_local5.m_userData == null){ } else { if ((_local5.m_userData as _-1f).collision_group != 0){ } else { if (!(_local5.m_userData as _-1f).is_possible_remove){ } else { _local6 = new Array(2); _local6[0] = new _-Cc(); _local6[1] = new _-Cc(); _local6[0].density = 5; _local6[1].density = 5; if (_local1[_local4].GetType() == _-4A._-79){ _local7 = _-4R(_local1[_local4], _-7O, _local6); } else { _local7 = _-9b(_local1[_local4], _-7O, _local6); }; if (_local7 == 0){ _local8 = _-7q(_local6[0]); if (_local8 <= 0.1){ } else { _local9 = _-7q(_local6[1]); if (_local9 <= 0.1){ } else { _local10 = new _-AC(); _local10.userData = new _-1f((_local5.m_userData as _-1f)._-Gz, _local6[1], 30, (_local5.m_userData as _-1f)._-Am, 5, (_local5.m_userData as _-1f)._-Eu, (_local5.m_userData as _-1f)._-Gx); _-m.addChild(_local10.userData); _local10.userData.x = -100; _local10.userData.y = -100; _local10.userData.is_possible_remove = true; _local11 = _-Hm._-Fy(_local10); _local11._-84(_local6[1]); _local11._-2H(); _local11._-DY(_local5._-Dh()); _local11._-B6(_local5._-1X()); _local10 = new _-AC(); _local10.userData = new _-1f((_local5.m_userData as _-1f)._-Gz, _local6[0], 30, (_local5.m_userData as _-1f)._-Am, 5, (_local5.m_userData as _-1f)._-Eu, (_local5.m_userData as _-1f)._-Gx); _-m.addChild(_local10.userData); _local10.userData.x = -100; _local10.userData.y = -100; _local10.userData.is_possible_remove = true; _local12 = _-Hm._-Fy(_local10); _local12._-84(_local6[0]); _local12._-2H(); _local12._-DY(_local5._-Dh()); _local12._-B6(_local5._-1X()); _-m.removeChild(_local5.m_userData); _local5.m_userData = null; _-Hm._-9g(_local5); }; }; }; }; }; }; }; _local4++; }; } protected function _-7q(_arg1:_-Cc):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 _-81(_arg1):void{ var _local2:_-h; var _local4:int; var _local8:_-h; var _local9:_-h; _local2 = _arg1.GetBody(); var _local3:Array = new Array(2); _local3[0] = new _-Cc(); _local3[1] = new _-Cc(); _local3[0].density = 5; _local3[1].density = 5; if (_arg1.GetType() == _-4A._-79){ _local4 = _-4R(_arg1, _-7O, _local3); } else { _local4 = _-9b(_arg1, _-7O, _local3); }; if (_local4 != 0){ return; }; var _local5:Number = _-7q(_local3[0]); if (_local5 <= 0.1){ return; }; var _local6:Number = _-7q(_local3[1]); if (_local6 <= 0.1){ return; }; var _local7:_-AC = new _-AC(); _local7.userData = new _-1f((_local2.m_userData as _-1f)._-Gz, _local3[1], 30, (_local2.m_userData as _-1f)._-Am, 5, (_local2.m_userData as _-1f)._-Eu, (_local2.m_userData as _-1f)._-Gx); _-00(_local7.userData); _-m.addChild(_local7.userData); _local7.userData.x = -100; _local7.userData.y = -100; _local7.userData.is_possible_remove = true; _local8 = _-Hm._-Fy(_local7); _local8._-84(_local3[1]); _local8._-2H(); _local8._-DY(_local2._-Dh()); _local8._-B6(_local2._-1X()); _local7 = new _-AC(); _local7.userData = new _-1f((_local2.m_userData as _-1f)._-Gz, _local3[0], 30, (_local2.m_userData as _-1f)._-Am, 5, (_local2.m_userData as _-1f)._-Eu, (_local2.m_userData as _-1f)._-Gx); _-00(_local7.userData); _-m.addChild(_local7.userData); _local7.userData.x = -100; _local7.userData.y = -100; _local7.userData.is_possible_remove = true; _local9 = _-Hm._-Fy(_local7); _local9._-84(_local3[0]); _local9._-2H(); _local9._-DY(_local2._-Dh()); _local9._-B6(_local2._-1X()); _-m.removeChild(_local2.m_userData); _local2.m_userData = null; _-Hm._-9g(_local2); } } }//package test
Section 231
//_-1f (test._-1f) package test { import flash.display.*; import Box2D.Common.Math.*; import flash.geom.*; import _-Cx.*; public class _-1f extends Bitmap { public var _-Gx:Boolean; public var _-Am:Boolean; public var _-5a:int; public var _-Eu:uint; public var _-4Q:Number; public var magic_shift:b2Vec2; public var collision_group:int; public var is_possible_remove:Boolean; public var _-Gz:Class; public function _-1f(_arg1:Class, _arg2:_-Cc, _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; _-Gz = _arg1; _-Eu = _arg6; _-Gx = _arg7; _-Am = _arg4; magic_shift = _-H9(_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(_-4Q); _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 _-H9(_arg1:_-Cc, _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(); _-5a = 0; _local9._-BX(_arg1.vertices[1]); var _local10:Number = _local9._-6-(); _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._-BX(_arg1.vertices[(_local4 + 1)]); } else { _local9._-BX(_arg1.vertices[0]); }; _local13 = _local9._-6-(); if (_local13 > _local10){ _local10 = _local13; _-5a = _local4; }; _local4++; }; if (_-5a != (_local3 - 1)){ _-4Q = Math.atan2((-(_arg1.vertices[_-5a].y) + _arg1.vertices[(_-5a + 1)].y), (_arg1.vertices[(_-5a + 1)].x - _arg1.vertices[_-5a].x)); } else { _-4Q = Math.atan2((-(_arg1.vertices[_-5a].y) + _arg1.vertices[0].y), (_arg1.vertices[0].x - _arg1.vertices[_-5a].x)); }; var _local11:b2Vec2 = new b2Vec2(((_local7 - _local5) / 2), ((_local8 - _local6) / 2)); var _local12:b2Vec2 = new b2Vec2(_local5, _local6); _local12.Add(_local11); _local12._-1q(); _local12.Multiply(_arg2); return (_local12); } } }//package test
Section 232
//_-06 (var ._-06) package var { import Box2D.Common.Math.*; import _-1x.*; import _-CG.*; public class _-06 extends _-EH { public var _-7P:_-h; public var _-4J:b2Vec2; public var _-80:b2Vec2; public var _-7T:b2Vec2; public var _-9z:b2Vec2; public var _-CP:Number; public var _-EG:override; public var _-Di:Number; public var m_mass:Number; public var _-Hs:_-Fv; public var _-AE:_-h; public var _-CE:override; public var _-Gy:_-Fv; public var _-AH:Number; public var _-65:_-BS; public function _-06(_arg1:_-4j){ var _local4:Number; var _local5:Number; _-4J = new b2Vec2(); _-80 = new b2Vec2(); _-7T = new b2Vec2(); _-9z = new b2Vec2(); _-65 = new _-BS(); super(_arg1); var _local2:int = _arg1._-GP.m_type; var _local3:int = _arg1._-6s.m_type; _-CE = null; _-Gy = null; _-EG = null; _-Hs = null; _-AE = _arg1._-GP._-0U; _-0U = _arg1._-GP._-e; if (_local2 == _-EH.e_revoluteJoint){ _-CE = (_arg1._-GP as override); _-4J._-56(_-CE._-7T); _-7T._-56(_-CE._-9z); _local4 = _-CE._-FZ(); } else { _-Gy = (_arg1._-GP as _-Fv); _-4J._-56(_-Gy._-7T); _-7T._-56(_-Gy._-9z); _local4 = _-Gy._-AU(); }; _-7P = _arg1._-6s._-0U; _-e = _arg1._-6s._-e; if (_local3 == _-EH.e_revoluteJoint){ _-EG = (_arg1._-6s as override); _-80._-56(_-EG._-7T); _-9z._-56(_-EG._-9z); _local5 = _-EG._-FZ(); } else { _-Hs = (_arg1._-6s as _-Fv); _-80._-56(_-Hs._-7T); _-9z._-56(_-Hs._-9z); _local5 = _-Hs._-AU(); }; _-CP = _arg1._-3L; _-AH = (_local4 + (_-CP * _local5)); _-Di = 0; } override public function GetAnchor1():b2Vec2{ return (_-0U.GetWorldPoint(_-7T)); } override public function GetAnchor2():b2Vec2{ return (_-e.GetWorldPoint(_-9z)); } override public function InitVelocityConstraints(_arg1:_-6F):void{ var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:_-8y; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local15:Number; var _local2:_-h = _-AE; var _local3:_-h = _-7P; var _local4:_-h = _-0U; var _local5:_-h = _-e; var _local14:Number = 0; _-65._-0t(); if (_-CE){ _-65._-Ad = -1; _local14 = (_local14 + _local4._-Co); } else { _local10 = _local2.m_xf.R; _local11 = _-Gy._-1B; _local6 = ((_local10._-2I.x * _local11.x) + (_local10._-1.x * _local11.y)); _local7 = ((_local10._-2I.y * _local11.x) + (_local10._-1.y * _local11.y)); _local10 = _local4.m_xf.R; _local8 = (_-7T.x - _local4.m_sweep.localCenter.x); _local9 = (_-7T.y - _local4.m_sweep.localCenter.y); _local13 = ((_local10._-2I.x * _local8) + (_local10._-1.x * _local9)); _local9 = ((_local10._-2I.y * _local8) + (_local10._-1.y * _local9)); _local8 = _local13; _local12 = ((_local8 * _local7) - (_local9 * _local6)); _-65._-9V.Set(-(_local6), -(_local7)); _-65._-Ad = -(_local12); _local14 = (_local14 + (_local4._-AK + ((_local4._-Co * _local12) * _local12))); }; if (_-EG){ _-65._-61 = -(_-CP); _local14 = (_local14 + ((_-CP * _-CP) * _local5._-Co)); } else { _local10 = _local3.m_xf.R; _local11 = _-Hs._-1B; _local6 = ((_local10._-2I.x * _local11.x) + (_local10._-1.x * _local11.y)); _local7 = ((_local10._-2I.y * _local11.x) + (_local10._-1.y * _local11.y)); _local10 = _local5.m_xf.R; _local8 = (_-9z.x - _local5.m_sweep.localCenter.x); _local9 = (_-9z.y - _local5.m_sweep.localCenter.y); _local13 = ((_local10._-2I.x * _local8) + (_local10._-1.x * _local9)); _local9 = ((_local10._-2I.y * _local8) + (_local10._-1.y * _local9)); _local8 = _local13; _local12 = ((_local8 * _local7) - (_local9 * _local6)); _-65._-4K.Set((-(_-CP) * _local6), (-(_-CP) * _local7)); _-65._-61 = (-(_-CP) * _local12); _local14 = (_local14 + ((_-CP * _-CP) * (_local5._-AK + ((_local5._-Co * _local12) * _local12)))); }; m_mass = (1 / _local14); if (_arg1._-Gq){ _local15 = (_arg1._-8f * _-Di); _local4._-D-.x = (_local4._-D-.x + ((_local4._-AK * _local15) * _-65._-9V.x)); _local4._-D-.y = (_local4._-D-.y + ((_local4._-AK * _local15) * _-65._-9V.y)); _local4.m_angularVelocity = (_local4.m_angularVelocity + ((_local4._-Co * _local15) * _-65._-Ad)); _local5._-D-.x = (_local5._-D-.x + ((_local5._-AK * _local15) * _-65._-4K.x)); _local5._-D-.y = (_local5._-D-.y + ((_local5._-AK * _local15) * _-65._-4K.y)); _local5.m_angularVelocity = (_local5.m_angularVelocity + ((_local5._-Co * _local15) * _-65._-61)); } else { _-Di = 0; }; } override public function GetReactionTorque():Number{ var _local1:_-8y = _-e.m_xf.R; var _local2:Number = (_-7T.x - _-e.m_sweep.localCenter.x); var _local3:Number = (_-7T.y - _-e.m_sweep.localCenter.y); var _local4:Number = ((_local1._-2I.x * _local2) + (_local1._-1.x * _local3)); _local3 = ((_local1._-2I.y * _local2) + (_local1._-1.y * _local3)); _local2 = _local4; _local4 = ((_-Di * _-65._-61) - ((_local2 * (_-Di * _-65._-4K.y)) - (_local3 * (_-Di * _-65._-4K.x)))); return (_local4); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = new b2Vec2((_-Di * _-65._-4K.x), (_-Di * _-65._-4K.y)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local4:Number; var _local5:Number; var _local1:Number = 0; var _local2:_-h = _-0U; var _local3:_-h = _-e; if (_-CE){ _local4 = _-CE._-FZ(); } else { _local4 = _-Gy._-AU(); }; if (_-EG){ _local5 = _-EG._-FZ(); } else { _local5 = _-Hs._-AU(); }; var _local6:Number = (_-AH - (_local4 + (_-CP * _local5))); var _local7:Number = (-(m_mass) * _local6); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + ((_local2._-AK * _local7) * _-65._-9V.x)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + ((_local2._-AK * _local7) * _-65._-9V.y)); _local2.m_sweep.a = (_local2.m_sweep.a + ((_local2._-Co * _local7) * _-65._-Ad)); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local3._-AK * _local7) * _-65._-4K.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local3._-AK * _local7) * _-65._-4K.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local3._-Co * _local7) * _-65._-61)); _local2._-DW(); _local3._-DW(); return ((_local1 < _-IN._-Ay)); } public function _-Gm():Number{ return (_-CP); } override public function SolveVelocityConstraints(_arg1:_-6F):void{ var _local2:_-h = _-0U; var _local3:_-h = _-e; var _local4:Number = _-65._-Em(_local2._-D-, _local2.m_angularVelocity, _local3._-D-, _local3.m_angularVelocity); var _local5:Number = ((-(_arg1._-49) * m_mass) * _local4); _-Di = (_-Di + _local5); var _local6:Number = (_arg1._-8f * _local5); _local2._-D-.x = (_local2._-D-.x + ((_local2._-AK * _local6) * _-65._-9V.x)); _local2._-D-.y = (_local2._-D-.y + ((_local2._-AK * _local6) * _-65._-9V.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local2._-Co * _local6) * _-65._-Ad)); _local3._-D-.x = (_local3._-D-.x + ((_local3._-AK * _local6) * _-65._-4K.x)); _local3._-D-.y = (_local3._-D-.y + ((_local3._-AK * _local6) * _-65._-4K.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3._-Co * _local6) * _-65._-61)); } } }//package var
Section 233
//_-2B (var ._-2B) package var { import Box2D.Common.Math.*; import _-CG.*; public class _-2B extends _-EV { public var _-8u:b2Vec2; public var length:Number; public var _-B7:Number; public var use :b2Vec2; public var _-6S:Number; public function _-2B(){ _-8u = new b2Vec2(); use = new b2Vec2(); super(); type = _-EH._-8Q; length = 1; _-6S = 0; _-B7 = 0; } public function class(_arg1:_-h, _arg2:_-h, _arg3:b2Vec2, _arg4:b2Vec2):void{ _-3Y = _arg1; _-8o = _arg2; _-8u._-56(_-3Y.GetLocalPoint(_arg3)); use ._-56(_-8o.GetLocalPoint(_arg4)); var _local5:Number = (_arg4.x - _arg3.x); var _local6:Number = (_arg4.y - _arg3.y); length = Math.sqrt(((_local5 * _local5) + (_local6 * _local6))); _-6S = 0; _-B7 = 0; } } }//package var
Section 234
//_-4j (var ._-4j) package var { public class _-4j extends _-EV { public var _-GP:_-EH; public var _-6s:_-EH; public var _-3L:Number; public function _-4j(){ type = _-EH._-3E; _-GP = null; _-6s = null; _-3L = 1; } } }//package var
Section 235
//_-9p (var ._-9p) package var { import Box2D.Common.Math.*; import _-CG.*; public class _-9p extends _-EV { public var _-9J:Number; public var _-6i:b2Vec2; public var _-5i:Number; public var _-5C:Number; public var _-8u:b2Vec2; public var use :b2Vec2; public var _-6P:Boolean; public var _-IX:Boolean; public var _-Bh:Number; public var _-9X:Number; public function _-9p(){ _-8u = new b2Vec2(); use = new b2Vec2(); _-6i = new b2Vec2(); super(); type = _-EH._-0w; _-6i.Set(1, 0); _-5i = 0; _-6P = false; _-9X = 0; _-5C = 0; _-IX = false; _-Bh = 0; _-9J = 0; } public function class(_arg1:_-h, _arg2:_-h, _arg3:b2Vec2, _arg4:b2Vec2):void{ _-3Y = _arg1; _-8o = _arg2; _-8u = _-3Y.GetLocalPoint(_arg3); use = _-8o.GetLocalPoint(_arg3); _-6i = _-3Y.GetLocalVector(_arg4); _-5i = (_-8o.GetAngle() - _-3Y.GetAngle()); } } }//package var
Section 236
//_-AZ (var ._-AZ) package var { import Box2D.Common.Math.*; public class _-AZ extends _-EV { public var _-FC:Number; public var target:b2Vec2; public var _-B3:Number; public var _-B7:Number; public var _-6S:Number; public function _-AZ(){ target = new b2Vec2(); super(); type = _-EH._-g; _-B3 = 0; _-6S = 5; _-B7 = 0.7; _-FC = (1 / 60); } } }//package var
Section 237
//_-BS (var ._-BS) package var { import Box2D.Common.Math.*; public class _-BS { public var _-9V:b2Vec2; public var _-4K:b2Vec2; public var _-Ad:Number; public var _-61:Number; public function _-BS(){ _-9V = new b2Vec2(); _-4K = new b2Vec2(); super(); } public function Set(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):void{ _-9V._-56(_arg1); _-Ad = _arg2; _-4K._-56(_arg3); _-61 = _arg4; } public function _-0t():void{ _-9V._-0t(); _-Ad = 0; _-4K._-0t(); _-61 = 0; } public function _-Em(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):Number{ return ((((((_-9V.x * _arg1.x) + (_-9V.y * _arg1.y)) + (_-Ad * _arg2)) + ((_-4K.x * _arg3.x) + (_-4K.y * _arg3.y))) + (_-61 * _arg4))); } } }//package var
Section 238
//_-DH (var ._-DH) package var { import _-CG.*; public class _-DH { public var _-9s:_-h; public var next:_-DH; public var _-D3:_-DH; public var _-10:_-EH; } }//package var
Section 239
//_-EH (var ._-EH) package var { import Box2D.Common.Math.*; import _-CG.*; public class _-EH { public var _-5u:Boolean; public var _-0U:_-h; public var _-Fw:_-EH; public var _-HY:_-EH; public var m_type:int; public var _-4W:Boolean; public var _-DN:_-DH; public var _-E1:_-DH; public var _-Gp:Number; public var m_userData; public var _-e:_-h; public static const _-Ct:int = 0; public static const _-0O:int = 0; public static const _-Fl:int = 2; public static const _-Gc:int = 1; public static const _-3E:int = 6; public static const e_revoluteJoint:int = 1; public static const _-3g:int = 3; public static const _-8Q:int = 3; public static const _-CF:int = 4; public static const _-0w:int = 2; public static const _-g:int = 5; public function _-EH(_arg1:_-EV){ _-DN = new _-DH(); _-E1 = new _-DH(); super(); m_type = _arg1.type; _-Fw = null; _-HY = null; _-0U = _arg1._-3Y; _-e = _arg1._-8o; _-4W = _arg1._-9R; _-5u = false; m_userData = _arg1.userData; } public function _-o():_-h{ return (_-e); } public function GetAnchor1():b2Vec2{ return (null); } public function GetAnchor2():b2Vec2{ return (null); } public function _-EM():_-EH{ return (_-HY); } public function GetType():int{ return (m_type); } public function InitVelocityConstraints(_arg1:_-6F):void{ } public function GetReactionTorque():Number{ return (0); } public function _-3s(){ return (m_userData); } public function GetReactionForce():b2Vec2{ return (null); } public function SolvePositionConstraints():Boolean{ return (false); } public function _-2C(_arg1):void{ m_userData = _arg1; } public function _-8K():_-h{ return (_-0U); } public function SolveVelocityConstraints(_arg1:_-6F):void{ } public function _-8t():void{ } public static function _-2d(_arg1:_-EH, _arg2):void{ } public static function _-Hg(_arg1:_-EV, _arg2):_-EH{ var _local3:_-EH; switch (_arg1.type){ case _-8Q: _local3 = new _-EX((_arg1 as _-2B)); break; case _-g: _local3 = new _-HZ((_arg1 as _-AZ)); break; case _-0w: _local3 = new _-Fv((_arg1 as _-9p)); break; case e_revoluteJoint: _local3 = new override((_arg1 as _-Ey)); break; case _-CF: _local3 = new case((_arg1 as _-Hn)); break; case _-3E: _local3 = new _-06((_arg1 as _-4j)); break; default: break; }; return (_local3); } } }//package var
Section 240
//_-EV (var ._-EV) package var { import _-CG.*; public class _-EV { public var _-8o:_-h; public var type:int; public var userData; public var _-9R:Boolean; public var _-3Y:_-h; public function _-EV(){ type = _-EH._-Ct; userData = null; _-3Y = null; _-8o = null; _-9R = false; } } }//package var
Section 241
//_-EX (var ._-EX) package var { import Box2D.Common.Math.*; import _-1x.*; import _-CG.*; public class _-EX extends _-EH { public var _-7T:b2Vec2; public var _-9z:b2Vec2; public var _-K:Number; public var _-I5:Number; public var _-2G:b2Vec2; public var m_mass:Number; public var _-HT:Number; public var _-Gr:Number; public var _-Ih:Number; public var _-1K:Number; public function _-EX(_arg1:_-2B){ var _local2:_-8y; var _local3:Number; var _local4:Number; _-7T = new b2Vec2(); _-9z = new b2Vec2(); _-2G = new b2Vec2(); super(_arg1); _-7T._-56(_arg1._-8u); _-9z._-56(_arg1.use ); _-1K = _arg1.length; _-Ih = _arg1._-6S; _-Gr = _arg1._-B7; _-HT = 0; _-I5 = 0; _-K = 0; _-Gp = 0; } override public function GetAnchor1():b2Vec2{ return (_-0U.GetWorldPoint(_-7T)); } override public function GetAnchor2():b2Vec2{ return (_-e.GetWorldPoint(_-9z)); } override public function InitVelocityConstraints(_arg1:_-6F):void{ var _local2:_-8y; var _local3:Number; var _local4:_-h; var _local5:_-h; var _local6:Number; var _local8:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; _-Gp = _arg1._-49; _local4 = _-0U; _local5 = _-e; _local2 = _local4.m_xf.R; _local6 = (_-7T.x - _local4.m_sweep.localCenter.x); var _local7:Number = (_-7T.y - _local4.m_sweep.localCenter.y); _local3 = ((_local2._-2I.x * _local6) + (_local2._-1.x * _local7)); _local7 = ((_local2._-2I.y * _local6) + (_local2._-1.y * _local7)); _local6 = _local3; _local2 = _local5.m_xf.R; _local8 = (_-9z.x - _local5.m_sweep.localCenter.x); var _local9:Number = (_-9z.y - _local5.m_sweep.localCenter.y); _local3 = ((_local2._-2I.x * _local8) + (_local2._-1.x * _local9)); _local9 = ((_local2._-2I.y * _local8) + (_local2._-1.y * _local9)); _local8 = _local3; _-2G.x = (((_local5.m_sweep.c.x + _local8) - _local4.m_sweep.c.x) - _local6); _-2G.y = (((_local5.m_sweep.c.y + _local9) - _local4.m_sweep.c.y) - _local7); var _local10:Number = Math.sqrt(((_-2G.x * _-2G.x) + (_-2G.y * _-2G.y))); if (_local10 > _-IN._-Ay){ _-2G.Multiply((1 / _local10)); } else { _-2G._-0t(); }; var _local11:Number = ((_local6 * _-2G.y) - (_local7 * _-2G.x)); var _local12:Number = ((_local8 * _-2G.y) - (_local9 * _-2G.x)); var _local13:Number = (((_local4._-AK + ((_local4._-Co * _local11) * _local11)) + _local5._-AK) + ((_local5._-Co * _local12) * _local12)); m_mass = (1 / _local13); if (_-Ih > 0){ _local14 = (_local10 - _-1K); _local15 = ((2 * Math.PI) * _-Ih); _local16 = (((2 * m_mass) * _-Gr) * _local15); _local17 = ((m_mass * _local15) * _local15); _-I5 = (1 / (_arg1._-8f * (_local16 + (_arg1._-8f * _local17)))); _-K = (((_local14 * _arg1._-8f) * _local17) * _-I5); m_mass = (1 / (_local13 + _-I5)); }; if (_arg1._-Gq){ _-HT = (_-HT * _arg1._-62); _local18 = (_-HT * _-2G.x); _local19 = (_-HT * _-2G.y); _local4._-D-.x = (_local4._-D-.x - (_local4._-AK * _local18)); _local4._-D-.y = (_local4._-D-.y - (_local4._-AK * _local19)); _local4.m_angularVelocity = (_local4.m_angularVelocity - (_local4._-Co * ((_local6 * _local19) - (_local7 * _local18)))); _local5._-D-.x = (_local5._-D-.x + (_local5._-AK * _local18)); _local5._-D-.y = (_local5._-D-.y + (_local5._-AK * _local19)); _local5.m_angularVelocity = (_local5.m_angularVelocity + (_local5._-Co * ((_local8 * _local19) - (_local9 * _local18)))); } else { _-HT = 0; }; } override public function GetReactionTorque():Number{ return (0); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = new b2Vec2(); _local1._-56(_-2G); _local1.Multiply((_-Gp * _-HT)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local1:_-8y; if (_-Ih > 0){ return (true); }; var _local2:_-h = _-0U; var _local3:_-h = _-e; _local1 = _local2.m_xf.R; var _local4:Number = (_-7T.x - _local2.m_sweep.localCenter.x); var _local5:Number = (_-7T.y - _local2.m_sweep.localCenter.y); var _local6:Number = ((_local1._-2I.x * _local4) + (_local1._-1.x * _local5)); _local5 = ((_local1._-2I.y * _local4) + (_local1._-1.y * _local5)); _local4 = _local6; _local1 = _local3.m_xf.R; var _local7:Number = (_-9z.x - _local3.m_sweep.localCenter.x); var _local8:Number = (_-9z.y - _local3.m_sweep.localCenter.y); _local6 = ((_local1._-2I.x * _local7) + (_local1._-1.x * _local8)); _local8 = ((_local1._-2I.y * _local7) + (_local1._-1.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 - _-1K); _local12 = _-BI._-13(_local12, -(_-IN._-67), _-IN._-67); var _local13:Number = (-(m_mass) * _local12); _-2G.Set(_local9, _local10); var _local14:Number = (_local13 * _-2G.x); var _local15:Number = (_local13 * _-2G.y); _local2.m_sweep.c.x = (_local2.m_sweep.c.x - (_local2._-AK * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y - (_local2._-AK * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a - (_local2._-Co * ((_local4 * _local15) - (_local5 * _local14)))); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + (_local3._-AK * _local14)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + (_local3._-AK * _local15)); _local3.m_sweep.a = (_local3.m_sweep.a + (_local3._-Co * ((_local7 * _local15) - (_local8 * _local14)))); _local2._-DW(); _local3._-DW(); return ((_-BI._-A0(_local12) < _-IN._-Ay)); } override public function SolveVelocityConstraints(_arg1:_-6F):void{ var _local2:_-8y; var _local3:_-h = _-0U; var _local4:_-h = _-e; _local2 = _local3.m_xf.R; var _local5:Number = (_-7T.x - _local3.m_sweep.localCenter.x); var _local6:Number = (_-7T.y - _local3.m_sweep.localCenter.y); var _local7:Number = ((_local2._-2I.x * _local5) + (_local2._-1.x * _local6)); _local6 = ((_local2._-2I.y * _local5) + (_local2._-1.y * _local6)); _local5 = _local7; _local2 = _local4.m_xf.R; var _local8:Number = (_-9z.x - _local4.m_sweep.localCenter.x); var _local9:Number = (_-9z.y - _local4.m_sweep.localCenter.y); _local7 = ((_local2._-2I.x * _local8) + (_local2._-1.x * _local9)); _local9 = ((_local2._-2I.y * _local8) + (_local2._-1.y * _local9)); _local8 = _local7; var _local10:Number = (_local3._-D-.x + (-(_local3.m_angularVelocity) * _local6)); var _local11:Number = (_local3._-D-.y + (_local3.m_angularVelocity * _local5)); var _local12:Number = (_local4._-D-.x + (-(_local4.m_angularVelocity) * _local9)); var _local13:Number = (_local4._-D-.y + (_local4.m_angularVelocity * _local8)); var _local14:Number = ((_-2G.x * (_local12 - _local10)) + (_-2G.y * (_local13 - _local11))); var _local15:Number = (-(m_mass) * ((_local14 + _-K) + (_-I5 * _-HT))); _-HT = (_-HT + _local15); var _local16:Number = (_local15 * _-2G.x); var _local17:Number = (_local15 * _-2G.y); _local3._-D-.x = (_local3._-D-.x - (_local3._-AK * _local16)); _local3._-D-.y = (_local3._-D-.y - (_local3._-AK * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity - (_local3._-Co * ((_local5 * _local17) - (_local6 * _local16)))); _local4._-D-.x = (_local4._-D-.x + (_local4._-AK * _local16)); _local4._-D-.y = (_local4._-D-.y + (_local4._-AK * _local17)); _local4.m_angularVelocity = (_local4.m_angularVelocity + (_local4._-Co * ((_local8 * _local17) - (_local9 * _local16)))); } } }//package var
Section 242
//_-Ey (var ._-Ey) package var { import Box2D.Common.Math.*; import _-CG.*; public class _-Ey extends _-EV { public var _-Cd:Number; public var _-IX:Boolean; public var _-5i:Number; public var _-9J:Number; public var _-8u:b2Vec2; public var use :b2Vec2; public var _-6P:Boolean; public var _-Fz:Number; public var _-2p:Number; public function _-Ey(){ _-8u = new b2Vec2(); use = new b2Vec2(); super(); type = _-EH.e_revoluteJoint; _-8u.Set(0, 0); use .Set(0, 0); _-5i = 0; _-Fz = 0; _-Cd = 0; _-2p = 0; _-9J = 0; _-6P = false; _-IX = false; } public function class(_arg1:_-h, _arg2:_-h, _arg3:b2Vec2):void{ _-3Y = _arg1; _-8o = _arg2; _-8u = _-3Y.GetLocalPoint(_arg3); use = _-8o.GetLocalPoint(_arg3); _-5i = (_-8o.GetAngle() - _-3Y.GetAngle()); } } }//package var
Section 243
//_-Fv (var ._-Fv) package var { import Box2D.Common.Math.*; import _-1x.*; import _-CG.*; public class _-Fv extends _-EH { public var _-3F:Number; public var _-EA:Number; public var _-1B:b2Vec2; public var _-IL:Number; public var _-7-:Number; public var _-54:Number; public var for:Boolean; public var _-8G:Number; public var _-Fo:Number; public var _-4g:b2Vec2; public var _-Di:Number; public var _-2A:Number; public var _-8F:Number; public var _-7T:b2Vec2; public var _-9z:b2Vec2; public var _-8i:int; public var _-Ei:Number; public var _-1P:_-BS; public var _-7b:Number; public var _-4D:Number; public var native:Boolean; public var _-7f:_-BS; public function _-Fv(_arg1:_-9p){ var _local2:_-8y; var _local3:Number; var _local4:Number; _-7T = new b2Vec2(); _-9z = new b2Vec2(); _-1B = new b2Vec2(); _-4g = new b2Vec2(); _-7f = new _-BS(); _-1P = new _-BS(); super(_arg1); _-7T._-56(_arg1._-8u); _-9z._-56(_arg1.use ); _-1B._-56(_arg1._-6i); _-4g.x = -(_-1B.y); _-4g.y = _-1B.x; _-IL = _arg1._-5i; _-7f._-0t(); _-Ei = 0; _-Di = 0; _-8G = 0; _-7- = 0; _-1P._-0t(); _-2A = 0; _-54 = 0; _-3F = 0; _-7b = 0; _-EA = _arg1._-9X; _-8F = _arg1._-5C; _-Fo = _arg1._-Bh; _-4D = _arg1._-9J; for = _arg1._-6P; native = _arg1._-IX; } override public function SolveVelocityConstraints(_arg1:_-6F):void{ var _local6:Number; var _local8:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local2:_-h = _-0U; var _local3:_-h = _-e; var _local4:Number = _local2._-AK; var _local5:Number = _local3._-AK; _local6 = _local2._-Co; var _local7:Number = _local3._-Co; var _local9:Number = _-7f._-Em(_local2._-D-, _local2.m_angularVelocity, _local3._-D-, _local3.m_angularVelocity); var _local10:Number = ((-(_arg1._-49) * _-Ei) * _local9); _-Di = (_-Di + _local10); var _local11:Number = (_arg1._-8f * _local10); _local2._-D-.x = (_local2._-D-.x + ((_local4 * _local11) * _-7f._-9V.x)); _local2._-D-.y = (_local2._-D-.y + ((_local4 * _local11) * _-7f._-9V.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * _-7f._-Ad)); _local3._-D-.x = (_local3._-D-.x + ((_local5 * _local11) * _-7f._-4K.x)); _local3._-D-.y = (_local3._-D-.y + ((_local5 * _local11) * _-7f._-4K.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * _-7f._-61)); var _local12:Number = (_local3.m_angularVelocity - _local2.m_angularVelocity); var _local13:Number = ((-(_arg1._-49) * _-8G) * _local12); _-7- = (_-7- + _local13); var _local14:Number = (_arg1._-8f * _local13); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local6 * _local14)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local7 * _local14)); if (((native) && (!((_-8i == _-3g))))){ _local15 = (_-1P._-Em(_local2._-D-, _local2.m_angularVelocity, _local3._-D-, _local3.m_angularVelocity) - _-4D); _local16 = ((-(_arg1._-49) * _-2A) * _local15); _local17 = _-54; _-54 = _-BI._-13((_-54 + _local16), -(_-Fo), _-Fo); _local16 = (_-54 - _local17); _local11 = (_arg1._-8f * _local16); _local2._-D-.x = (_local2._-D-.x + ((_local4 * _local11) * _-1P._-9V.x)); _local2._-D-.y = (_local2._-D-.y + ((_local4 * _local11) * _-1P._-9V.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * _-1P._-Ad)); _local3._-D-.x = (_local3._-D-.x + ((_local5 * _local11) * _-1P._-4K.x)); _local3._-D-.y = (_local3._-D-.y + ((_local5 * _local11) * _-1P._-4K.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * _-1P._-61)); }; if ((( for) && (!((_-8i == _-0O))))){ _local18 = _-1P._-Em(_local2._-D-, _local2.m_angularVelocity, _local3._-D-, _local3.m_angularVelocity); _local19 = ((-(_arg1._-49) * _-2A) * _local18); if (_-8i == _-3g){ _-3F = (_-3F + _local19); } else { if (_-8i == _-Gc){ _local8 = _-3F; _-3F = _-BI._-0b((_-3F + _local19), 0); _local19 = (_-3F - _local8); } else { if (_-8i == _-Fl){ _local8 = _-3F; _-3F = _-BI._-Aw((_-3F + _local19), 0); _local19 = (_-3F - _local8); }; }; }; _local11 = (_arg1._-8f * _local19); _local2._-D-.x = (_local2._-D-.x + ((_local4 * _local11) * _-1P._-9V.x)); _local2._-D-.y = (_local2._-D-.y + ((_local4 * _local11) * _-1P._-9V.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * _-1P._-Ad)); _local3._-D-.x = (_local3._-D-.x + ((_local5 * _local11) * _-1P._-4K.x)); _local3._-D-.y = (_local3._-D-.y + ((_local5 * _local11) * _-1P._-4K.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * _-1P._-61)); }; } override public function GetAnchor1():b2Vec2{ return (_-0U.GetWorldPoint(_-7T)); } override public function GetAnchor2():b2Vec2{ return (_-e.GetWorldPoint(_-9z)); } public function _-3N():Number{ return (_-8F); } public function _-1T():Number{ return (_-EA); } public function switch(_arg1:Boolean):void{ native = _arg1; } public function _-AU():Number{ var _local3:_-8y; var _local1:_-h = _-0U; var _local2:_-h = _-e; var _local4:b2Vec2 = _local1.GetWorldPoint(_-7T); var _local5:b2Vec2 = _local2.GetWorldPoint(_-9z); var _local6:Number = (_local5.x - _local4.x); var _local7:Number = (_local5.y - _local4.y); var _local8:b2Vec2 = _local1._-DV(_-1B); var _local9:Number = ((_local8.x * _local6) + (_local8.y * _local7)); return (_local9); } public function _-Dc():Number{ return (_-4D); } override public function GetReactionForce():b2Vec2{ var _local1:_-8y = _-0U.m_xf.R; var _local2:Number = (_-3F * ((_local1._-2I.x * _-1B.x) + (_local1._-1.x * _-1B.y))); var _local3:Number = (_-3F * ((_local1._-2I.y * _-1B.x) + (_local1._-1.y * _-1B.y))); var _local4:Number = (_-Di * ((_local1._-2I.x * _-4g.x) + (_local1._-1.x * _-4g.y))); var _local5:Number = (_-Di * ((_local1._-2I.y * _-4g.x) + (_local1._-1.y * _-4g.y))); return (new b2Vec2(((_-3F * _local2) + (_-Di * _local4)), ((_-3F * _local3) + (_-Di * _local5)))); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local9:_-8y; var _local10:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local3:_-h = _-0U; var _local4:_-h = _-e; var _local5:Number = _local3._-AK; var _local6:Number = _local4._-AK; var _local7:Number = _local3._-Co; var _local8:Number = _local4._-Co; _local9 = _local3.m_xf.R; var _local11:Number = (_-7T.x - _local3.m_sweep.localCenter.x); var _local12:Number = (_-7T.y - _local3.m_sweep.localCenter.y); _local10 = ((_local9._-2I.x * _local11) + (_local9._-1.x * _local12)); _local12 = ((_local9._-2I.y * _local11) + (_local9._-1.y * _local12)); _local11 = _local10; _local9 = _local4.m_xf.R; var _local13:Number = (_-9z.x - _local4.m_sweep.localCenter.x); var _local14:Number = (_-9z.y - _local4.m_sweep.localCenter.y); _local10 = ((_local9._-2I.x * _local13) + (_local9._-1.x * _local14)); _local14 = ((_local9._-2I.y * _local13) + (_local9._-1.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._-2I.x * _-4g.x) + (_local9._-1.x * _-4g.y)); var _local22:Number = ((_local9._-2I.y * _-4g.x) + (_local9._-1.y * _-4g.y)); var _local23:Number = ((_local21 * _local19) + (_local22 * _local20)); _local23 = _-BI._-13(_local23, -(_-IN._-67), _-IN._-67); var _local24:Number = (-(_-Ei) * _local23); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local5 * _local24) * _-7f._-9V.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local5 * _local24) * _-7f._-9V.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local7 * _local24) * _-7f._-Ad)); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + ((_local6 * _local24) * _-7f._-4K.x)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + ((_local6 * _local24) * _-7f._-4K.y)); _local4.m_sweep.a = (_local4.m_sweep.a + ((_local8 * _local24) * _-7f._-61)); var _local25:Number = _-BI._-A0(_local23); var _local26:Number = ((_local4.m_sweep.a - _local3.m_sweep.a) - _-IL); _local26 = _-BI._-13(_local26, -(_-IN._-0u), _-IN._-0u); var _local27:Number = (-(_-8G) * _local26); _local3.m_sweep.a = (_local3.m_sweep.a - (_local3._-Co * _local27)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4._-Co * _local27)); _local3._-DW(); _local4._-DW(); var _local28:Number = _-BI._-A0(_local26); if ((( for) && (!((_-8i == _-0O))))){ _local9 = _local3.m_xf.R; _local11 = (_-7T.x - _local3.m_sweep.localCenter.x); _local12 = (_-7T.y - _local3.m_sweep.localCenter.y); _local10 = ((_local9._-2I.x * _local11) + (_local9._-1.x * _local12)); _local12 = ((_local9._-2I.y * _local11) + (_local9._-1.y * _local12)); _local11 = _local10; _local9 = _local4.m_xf.R; _local13 = (_-9z.x - _local4.m_sweep.localCenter.x); _local14 = (_-9z.y - _local4.m_sweep.localCenter.y); _local10 = ((_local9._-2I.x * _local13) + (_local9._-1.x * _local14)); _local14 = ((_local9._-2I.y * _local13) + (_local9._-1.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._-2I.x * _-1B.x) + (_local9._-1.x * _-1B.y)); _local30 = ((_local9._-2I.y * _-1B.x) + (_local9._-1.y * _-1B.y)); _local31 = ((_local29 * _local19) + (_local30 * _local20)); _local32 = 0; if (_-8i == _-3g){ _local1 = _-BI._-13(_local31, -(_-IN._-67), _-IN._-67); _local32 = (-(_-2A) * _local1); _local25 = _-BI._-0b(_local25, _-BI._-A0(_local26)); } else { if (_-8i == _-Gc){ _local1 = (_local31 - _-EA); _local25 = _-BI._-0b(_local25, -(_local1)); _local1 = _-BI._-13((_local1 + _-IN._-Ay), -(_-IN._-67), 0); _local32 = (-(_-2A) * _local1); _local2 = _-7b; _-7b = _-BI._-0b((_-7b + _local32), 0); _local32 = (_-7b - _local2); } else { if (_-8i == _-Fl){ _local1 = (_local31 - _-8F); _local25 = _-BI._-0b(_local25, _local1); _local1 = _-BI._-13((_local1 - _-IN._-Ay), 0, _-IN._-67); _local32 = (-(_-2A) * _local1); _local2 = _-7b; _-7b = _-BI._-Aw((_-7b + _local32), 0); _local32 = (_-7b - _local2); }; }; }; _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local5 * _local32) * _-1P._-9V.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local5 * _local32) * _-1P._-9V.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local7 * _local32) * _-1P._-Ad)); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + ((_local6 * _local32) * _-1P._-4K.x)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + ((_local6 * _local32) * _-1P._-4K.y)); _local4.m_sweep.a = (_local4.m_sweep.a + ((_local8 * _local32) * _-1P._-61)); _local3._-DW(); _local4._-DW(); }; return ((((_local25 <= _-IN._-Ay)) && ((_local28 <= _-IN._-C8)))); } public function _-AN(_arg1:Number):void{ _-4D = _arg1; } public function _-4q():Number{ var _local3:_-8y; var _local1:_-h = _-0U; var _local2:_-h = _-e; _local3 = _local1.m_xf.R; var _local4:Number = (_-7T.x - _local1.m_sweep.localCenter.x); var _local5:Number = (_-7T.y - _local1.m_sweep.localCenter.y); var _local6:Number = ((_local3._-2I.x * _local4) + (_local3._-1.x * _local5)); _local5 = ((_local3._-2I.y * _local4) + (_local3._-1.y * _local5)); _local4 = _local6; _local3 = _local2.m_xf.R; var _local7:Number = (_-9z.x - _local2.m_sweep.localCenter.x); var _local8:Number = (_-9z.y - _local2.m_sweep.localCenter.y); _local6 = ((_local3._-2I.x * _local7) + (_local3._-1.x * _local8)); _local8 = ((_local3._-2I.y * _local7) + (_local3._-1.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._-DV(_-1B); var _local16:b2Vec2 = _local1._-D-; var _local17:b2Vec2 = _local2._-D-; 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:_-6F):void{ var _local4:_-8y; 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:_-h = _-0U; var _local3:_-h = _-e; _local4 = _local2.m_xf.R; var _local6:Number = (_-7T.x - _local2.m_sweep.localCenter.x); var _local7:Number = (_-7T.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4._-2I.x * _local6) + (_local4._-1.x * _local7)); _local7 = ((_local4._-2I.y * _local6) + (_local4._-1.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (_-9z.x - _local3.m_sweep.localCenter.x); var _local9:Number = (_-9z.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4._-2I.x * _local8) + (_local4._-1.x * _local9)); _local9 = ((_local4._-2I.y * _local8) + (_local4._-1.y * _local9)); _local8 = _local5; var _local10:Number = _local2._-AK; var _local11:Number = _local3._-AK; var _local12:Number = _local2._-Co; var _local13:Number = _local3._-Co; _local4 = _local2.m_xf.R; var _local14:Number = ((_local4._-2I.x * _-4g.x) + (_local4._-1.x * _-4g.y)); var _local15:Number = ((_local4._-2I.y * _-4g.x) + (_local4._-1.y * _-4g.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); _-7f._-9V.x = -(_local14); _-7f._-9V.y = -(_local15); _-7f._-4K.x = _local14; _-7f._-4K.y = _local15; _-7f._-Ad = -(((_local16 * _local15) - (_local17 * _local14))); _-7f._-61 = ((_local8 * _local15) - (_local9 * _local14)); _-Ei = (((_local10 + ((_local12 * _-7f._-Ad) * _-7f._-Ad)) + _local11) + ((_local13 * _-7f._-61) * _-7f._-61)); _-Ei = (1 / _-Ei); _-8G = (_local12 + _local13); if (_-8G > Number.MIN_VALUE){ _-8G = (1 / _-8G); }; if ((( for) || (native))){ _local4 = _local2.m_xf.R; _local18 = ((_local4._-2I.x * _-1B.x) + (_local4._-1.x * _-1B.y)); _local19 = ((_local4._-2I.y * _-1B.x) + (_local4._-1.y * _-1B.y)); _-1P._-9V.x = -(_local18); _-1P._-9V.y = -(_local19); _-1P._-4K.x = _local18; _-1P._-4K.y = _local19; _-1P._-Ad = -(((_local16 * _local19) - (_local17 * _local18))); _-1P._-61 = ((_local8 * _local19) - (_local9 * _local18)); _-2A = (((_local10 + ((_local12 * _-1P._-Ad) * _-1P._-Ad)) + _local11) + ((_local13 * _-1P._-61) * _-1P._-61)); _-2A = (1 / _-2A); if ( for){ _local20 = (_local16 - _local6); _local21 = (_local17 - _local7); _local22 = ((_local18 * _local20) + (_local19 * _local21)); if (_-BI._-A0((_-8F - _-EA)) < (2 * _-IN._-Ay)){ _-8i = _-3g; } else { if (_local22 <= _-EA){ if (_-8i != _-Gc){ _-3F = 0; }; _-8i = _-Gc; } else { if (_local22 >= _-8F){ if (_-8i != _-Fl){ _-3F = 0; }; _-8i = _-Fl; } else { _-8i = _-0O; _-3F = 0; }; }; }; }; }; if (native == false){ _-54 = 0; }; if ( for == false){ _-3F = 0; }; if (_arg1._-Gq){ _local23 = (_arg1._-8f * ((_-Di * _-7f._-9V.x) + ((_-54 + _-3F) * _-1P._-9V.x))); _local24 = (_arg1._-8f * ((_-Di * _-7f._-9V.y) + ((_-54 + _-3F) * _-1P._-9V.y))); _local25 = (_arg1._-8f * ((_-Di * _-7f._-4K.x) + ((_-54 + _-3F) * _-1P._-4K.x))); _local26 = (_arg1._-8f * ((_-Di * _-7f._-4K.y) + ((_-54 + _-3F) * _-1P._-4K.y))); _local27 = (_arg1._-8f * (((_-Di * _-7f._-Ad) - _-7-) + ((_-54 + _-3F) * _-1P._-Ad))); _local28 = (_arg1._-8f * (((_-Di * _-7f._-61) + _-7-) + ((_-54 + _-3F) * _-1P._-61))); _local2._-D-.x = (_local2._-D-.x + (_local10 * _local23)); _local2._-D-.y = (_local2._-D-.y + (_local10 * _local24)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local12 * _local27)); _local3._-D-.x = (_local3._-D-.x + (_local11 * _local25)); _local3._-D-.y = (_local3._-D-.y + (_local11 * _local26)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local13 * _local28)); } else { _-Di = 0; _-7- = 0; _-3F = 0; _-54 = 0; }; _-7b = 0; } public function _-0e():Number{ return (_-54); } public function _-6l(_arg1:Boolean):void{ for = _arg1; } public function _-1k(_arg1:Number):void{ _-Fo = _arg1; } override public function GetReactionTorque():Number{ return (_-7-); } public function _-Ex():Boolean{ return ( for); } public function _-FU():Boolean{ return (native); } public function _-1n(_arg1:Number, _arg2:Number):void{ _-EA = _arg1; _-8F = _arg2; } } }//package var
Section 244
//_-Hn (var ._-Hn) package var { import Box2D.Common.Math.*; import _-CG.*; public class _-Hn extends _-EV { public var _-C:Number; public var _-BB:Number; public var _-0T:Number; public var _-8u:b2Vec2; public var use :b2Vec2; public var _-W:b2Vec2; public var _-8I:b2Vec2; public var _-3L:Number; public var _-Fs:Number; public function _-Hn(){ _-W = new b2Vec2(); _-8I = new b2Vec2(); _-8u = new b2Vec2(); use = new b2Vec2(); super(); type = _-EH._-CF; _-W.Set(-1, 1); _-8I.Set(1, 1); _-8u.Set(-1, 0); use .Set(1, 0); _-0T = 0; _-C = 0; _-Fs = 0; _-BB = 0; _-3L = 1; _-9R = true; } public function class(_arg1:_-h, _arg2:_-h, _arg3:b2Vec2, _arg4:b2Vec2, _arg5:b2Vec2, _arg6:b2Vec2, _arg7:Number):void{ _-3Y = _arg1; _-8o = _arg2; _-W._-56(_arg3); _-8I._-56(_arg4); _-8u = _-3Y.GetLocalPoint(_arg5); use = _-8o.GetLocalPoint(_arg6); var _local8:Number = (_arg5.x - _arg3.x); var _local9:Number = (_arg5.y - _arg3.y); _-0T = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); var _local10:Number = (_arg6.x - _arg4.x); var _local11:Number = (_arg6.y - _arg4.y); _-Fs = Math.sqrt(((_local10 * _local10) + (_local11 * _local11))); _-3L = _arg7; var _local12:Number = (_-0T + (_-3L * _-Fs)); _-C = (_local12 - (_-3L * case._-H3)); _-BB = ((_local12 - case._-H3) / _-3L); } } }//package var
Section 245
//_-HZ (var ._-HZ) package var { import Box2D.Common.Math.*; import _-1x.*; import _-CG.*; public class _-HZ extends _-EH { private var _-GJ:_-8y; private var _-8h:_-8y; public var _-3K:Number; public var m_mass:_-8y; private var _-6y:_-8y; public var _-DP:b2Vec2; public var _-I5:Number; public var _-HT:b2Vec2; public var _-Au:b2Vec2; public var _-Cw:b2Vec2; public var _-3k:Number; public function _-HZ(_arg1:_-AZ){ var _local3:Number; _-8h = new _-8y(); _-GJ = new _-8y(); _-6y = new _-8y(); _-Cw = new b2Vec2(); _-DP = new b2Vec2(); _-HT = new b2Vec2(); m_mass = new _-8y(); _-Au = new b2Vec2(); super(_arg1); _-DP._-56(_arg1.target); var _local2:Number = (_-DP.x - _-e.m_xf.position.x); _local3 = (_-DP.y - _-e.m_xf.position.y); var _local4:_-8y = _-e.m_xf.R; _-Cw.x = ((_local2 * _local4._-2I.x) + (_local3 * _local4._-2I.y)); _-Cw.y = ((_local2 * _local4._-1.x) + (_local3 * _local4._-1.y)); _-3k = _arg1._-B3; _-HT._-0t(); var _local5:Number = _-e.m_mass; var _local6:Number = ((2 * _-IN._-C6) * _arg1._-6S); var _local7:Number = (((2 * _local5) * _arg1._-B7) * _local6); var _local8:Number = ((_arg1._-FC * _local5) * (_local6 * _local6)); _-I5 = (1 / (_local7 + _local8)); _-3K = (_local8 / (_local7 + _local8)); } public function _-Ed(_arg1:b2Vec2):void{ if (_-e.IsSleeping()){ _-e.WakeUp(); }; _-DP = _arg1; } override public function GetAnchor2():b2Vec2{ return (_-e.GetWorldPoint(_-Cw)); } override public function InitVelocityConstraints(_arg1:_-6F):void{ var _local2:_-h; var _local3:_-8y; var _local4:Number; var _local5:Number; var _local7:Number; var _local8:Number; _local2 = _-e; _local3 = _local2.m_xf.R; _local4 = (_-Cw.x - _local2.m_sweep.localCenter.x); _local5 = (_-Cw.y - _local2.m_sweep.localCenter.y); var _local6:Number = ((_local3._-2I.x * _local4) + (_local3._-1.x * _local5)); _local5 = ((_local3._-2I.y * _local4) + (_local3._-1.y * _local5)); _local4 = _local6; _local7 = _local2._-AK; _local8 = _local2._-Co; _-GJ._-2I.x = _local7; _-GJ._-1.x = 0; _-GJ._-2I.y = 0; _-GJ._-1.y = _local7; _-6y._-2I.x = ((_local8 * _local5) * _local5); _-6y._-1.x = ((-(_local8) * _local4) * _local5); _-6y._-2I.y = ((-(_local8) * _local4) * _local5); _-6y._-1.y = ((_local8 * _local4) * _local4); _-8h.in (_-GJ); _-8h._-CY(_-6y); _-8h._-2I.x = (_-8h._-2I.x + _-I5); _-8h._-1.y = (_-8h._-1.y + _-I5); _-8h._-A3(m_mass); _-Au.x = ((_local2.m_sweep.c.x + _local4) - _-DP.x); _-Au.y = ((_local2.m_sweep.c.y + _local5) - _-DP.y); _local2.m_angularVelocity = (_local2.m_angularVelocity * 0.98); var _local9:Number = (_arg1._-8f * _-HT.x); var _local10:Number = (_arg1._-8f * _-HT.y); _local2._-D-.x = (_local2._-D-.x + (_local7 * _local9)); _local2._-D-.y = (_local2._-D-.y + (_local7 * _local10)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local8 * ((_local4 * _local10) - (_local5 * _local9)))); } override public function GetAnchor1():b2Vec2{ return (_-DP); } override public function GetReactionTorque():Number{ return (0); } override public function GetReactionForce():b2Vec2{ return (_-HT); } override public function SolvePositionConstraints():Boolean{ return (true); } override public function SolveVelocityConstraints(_arg1:_-6F):void{ var _local3:_-8y; var _local4:Number; var _local5:Number; var _local2:_-h = _-e; _local3 = _local2.m_xf.R; var _local6:Number = (_-Cw.x - _local2.m_sweep.localCenter.x); var _local7:Number = (_-Cw.y - _local2.m_sweep.localCenter.y); _local4 = ((_local3._-2I.x * _local6) + (_local3._-1.x * _local7)); _local7 = ((_local3._-2I.y * _local6) + (_local3._-1.y * _local7)); _local6 = _local4; var _local8:Number = (_local2._-D-.x + (-(_local2.m_angularVelocity) * _local7)); var _local9:Number = (_local2._-D-.y + (_local2.m_angularVelocity * _local6)); _local3 = m_mass; _local4 = ((_local8 + ((_-3K * _arg1._-49) * _-Au.x)) + ((_-I5 * _arg1._-8f) * _-HT.x)); _local5 = ((_local9 + ((_-3K * _arg1._-49) * _-Au.y)) + ((_-I5 * _arg1._-8f) * _-HT.y)); var _local10:Number = (-(_arg1._-49) * ((_local3._-2I.x * _local4) + (_local3._-1.x * _local5))); var _local11:Number = (-(_arg1._-49) * ((_local3._-2I.y * _local4) + (_local3._-1.y * _local5))); var _local12:Number = _-HT.x; var _local13:Number = _-HT.y; _-HT.x = (_-HT.x + _local10); _-HT.y = (_-HT.y + _local11); var _local14:Number = _-HT._-6-(); if (_local14 > _-3k){ _-HT.Multiply((_-3k / _local14)); }; _local10 = (_-HT.x - _local12); _local11 = (_-HT.y - _local13); var _local15:Number = (_arg1._-8f * _local10); var _local16:Number = (_arg1._-8f * _local11); _local2._-D-.x = (_local2._-D-.x + (_local2._-AK * _local15)); _local2._-D-.y = (_local2._-D-.y + (_local2._-AK * _local16)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2._-Co * ((_local6 * _local16) - (_local7 * _local15)))); } } }//package var
Section 246
//case (var .case) package var { import Box2D.Common.Math.*; import _-1x.*; import _-CG.*; public class case extends _-EH { public var extends:int; public var _-5q:int; public var _-H5:_-h; public var _-D:Number; public var _-2u:Number; public var _-1I:Number; public var _-9A:Number; public var _-Di:Number; public var _-AH:Number; public var _-7W:Number; public var _-8d:int; public var _-CP:Number; public var _-4J:b2Vec2; public var _-80:b2Vec2; public var _-7T:b2Vec2; public var _-9z:b2Vec2; public var _-I8:Number; public var _-3z:Number; public var _-AL:Number; public var _-Dr:b2Vec2; public var _-24:Number; public var _-9E:Number; public var _-8n:b2Vec2; public static const _-H3:Number = 2; public function case(_arg1:_-Hn){ var _local2:_-8y; var _local3:Number; var _local4:Number; _-4J = new b2Vec2(); _-80 = new b2Vec2(); _-7T = new b2Vec2(); _-9z = new b2Vec2(); _-Dr = new b2Vec2(); _-8n = new b2Vec2(); super(_arg1); _-H5 = _-0U.m_world.m_groundBody; _-4J.x = (_arg1._-W.x - _-H5.m_xf.position.x); _-4J.y = (_arg1._-W.y - _-H5.m_xf.position.y); _-80.x = (_arg1._-8I.x - _-H5.m_xf.position.x); _-80.y = (_arg1._-8I.y - _-H5.m_xf.position.y); _-7T._-56(_arg1._-8u); _-9z._-56(_arg1.use ); _-CP = _arg1._-3L; _-AH = (_arg1._-0T + (_-CP * _arg1._-Fs)); _-2u = _-BI._-Aw(_arg1._-C, (_-AH - (_-CP * _-H3))); _-D = _-BI._-Aw(_arg1._-BB, ((_-AH - _-H3) / _-CP)); _-Di = 0; _-24 = 0; _-9E = 0; } public function _-9n():b2Vec2{ var _local1:b2Vec2 = _-H5.m_xf.position.Copy(); _local1.Add(_-80); return (_local1); } override public function GetAnchor1():b2Vec2{ return (_-0U.GetWorldPoint(_-7T)); } override public function GetAnchor2():b2Vec2{ return (_-e.GetWorldPoint(_-9z)); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = _-8n.Copy(); _local1.Multiply(_-Di); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local3:_-8y; 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:_-h = _-0U; var _local2:_-h = _-e; var _local4:Number = (_-H5.m_xf.position.x + _-4J.x); var _local5:Number = (_-H5.m_xf.position.y + _-4J.y); var _local6:Number = (_-H5.m_xf.position.x + _-80.x); var _local7:Number = (_-H5.m_xf.position.y + _-80.y); var _local23:Number = 0; if (_-8d == _-Fl){ _local3 = _local1.m_xf.R; _local8 = (_-7T.x - _local1.m_sweep.localCenter.x); _local9 = (_-7T.y - _local1.m_sweep.localCenter.y); _local22 = ((_local3._-2I.x * _local8) + (_local3._-1.x * _local9)); _local9 = ((_local3._-2I.y * _local8) + (_local3._-1.y * _local9)); _local8 = _local22; _local3 = _local2.m_xf.R; _local10 = (_-9z.x - _local2.m_sweep.localCenter.x); _local11 = (_-9z.y - _local2.m_sweep.localCenter.y); _local22 = ((_local3._-2I.x * _local10) + (_local3._-1.x * _local11)); _local11 = ((_local3._-2I.y * _local10) + (_local3._-1.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); _-Dr.Set((_local12 - _local4), (_local13 - _local5)); _-8n.Set((_local14 - _local6), (_local15 - _local7)); _local16 = _-Dr._-6-(); _local17 = _-8n._-6-(); if (_local16 > _-IN._-Ay){ _-Dr.Multiply((1 / _local16)); } else { _-Dr._-0t(); }; if (_local17 > _-IN._-Ay){ _-8n.Multiply((1 / _local17)); } else { _-8n._-0t(); }; _local18 = ((_-AH - _local16) - (_-CP * _local17)); _local23 = _-BI._-0b(_local23, -(_local18)); _local18 = _-BI._-13((_local18 + _-IN._-Ay), -(_-IN._-67), 0); _local19 = (-(_-AL) * _local18); _local20 = _-7W; _-7W = _-BI._-0b(0, (_-7W + _local19)); _local19 = (_-7W - _local20); _local12 = (-(_local19) * _-Dr.x); _local13 = (-(_local19) * _-Dr.y); _local14 = ((-(_-CP) * _local19) * _-8n.x); _local15 = ((-(_-CP) * _local19) * _-8n.y); _local1.m_sweep.c.x = (_local1.m_sweep.c.x + (_local1._-AK * _local12)); _local1.m_sweep.c.y = (_local1.m_sweep.c.y + (_local1._-AK * _local13)); _local1.m_sweep.a = (_local1.m_sweep.a + (_local1._-Co * ((_local8 * _local13) - (_local9 * _local12)))); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + (_local2._-AK * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + (_local2._-AK * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a + (_local2._-Co * ((_local10 * _local15) - (_local11 * _local14)))); _local1._-DW(); _local2._-DW(); }; if (extends == _-Fl){ _local3 = _local1.m_xf.R; _local8 = (_-7T.x - _local1.m_sweep.localCenter.x); _local9 = (_-7T.y - _local1.m_sweep.localCenter.y); _local22 = ((_local3._-2I.x * _local8) + (_local3._-1.x * _local9)); _local9 = ((_local3._-2I.y * _local8) + (_local3._-1.y * _local9)); _local8 = _local22; _local12 = (_local1.m_sweep.c.x + _local8); _local13 = (_local1.m_sweep.c.y + _local9); _-Dr.Set((_local12 - _local4), (_local13 - _local5)); _local16 = _-Dr._-6-(); if (_local16 > _-IN._-Ay){ _-Dr.x = (_-Dr.x * (1 / _local16)); _-Dr.y = (_-Dr.y * (1 / _local16)); } else { _-Dr._-0t(); }; _local18 = (_-2u - _local16); _local23 = _-BI._-0b(_local23, -(_local18)); _local18 = _-BI._-13((_local18 + _-IN._-Ay), -(_-IN._-67), 0); _local19 = (-(_-I8) * _local18); _local21 = _-1I; _-1I = _-BI._-0b(0, (_-1I + _local19)); _local19 = (_-1I - _local21); _local12 = (-(_local19) * _-Dr.x); _local13 = (-(_local19) * _-Dr.y); _local1.m_sweep.c.x = (_local1.m_sweep.c.x + (_local1._-AK * _local12)); _local1.m_sweep.c.y = (_local1.m_sweep.c.y + (_local1._-AK * _local13)); _local1.m_sweep.a = (_local1.m_sweep.a + (_local1._-Co * ((_local8 * _local13) - (_local9 * _local12)))); _local1._-DW(); }; if (_-5q == _-Fl){ _local3 = _local2.m_xf.R; _local10 = (_-9z.x - _local2.m_sweep.localCenter.x); _local11 = (_-9z.y - _local2.m_sweep.localCenter.y); _local22 = ((_local3._-2I.x * _local10) + (_local3._-1.x * _local11)); _local11 = ((_local3._-2I.y * _local10) + (_local3._-1.y * _local11)); _local10 = _local22; _local14 = (_local2.m_sweep.c.x + _local10); _local15 = (_local2.m_sweep.c.y + _local11); _-8n.Set((_local14 - _local6), (_local15 - _local7)); _local17 = _-8n._-6-(); if (_local17 > _-IN._-Ay){ _-8n.x = (_-8n.x * (1 / _local17)); _-8n.y = (_-8n.y * (1 / _local17)); } else { _-8n._-0t(); }; _local18 = (_-D - _local17); _local23 = _-BI._-0b(_local23, -(_local18)); _local18 = _-BI._-13((_local18 + _-IN._-Ay), -(_-IN._-67), 0); _local19 = (-(_-3z) * _local18); _local21 = _-9A; _-9A = _-BI._-0b(0, (_-9A + _local19)); _local19 = (_-9A - _local21); _local14 = (-(_local19) * _-8n.x); _local15 = (-(_local19) * _-8n.y); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + (_local2._-AK * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + (_local2._-AK * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a + (_local2._-Co * ((_local10 * _local15) - (_local11 * _local14)))); _local2._-DW(); }; return ((_local23 < _-IN._-Ay)); } override public function InitVelocityConstraints(_arg1:_-6F):void{ var _local4:_-8y; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local2:_-h = _-0U; var _local3:_-h = _-e; _local4 = _local2.m_xf.R; var _local5:Number = (_-7T.x - _local2.m_sweep.localCenter.x); var _local6:Number = (_-7T.y - _local2.m_sweep.localCenter.y); var _local7:Number = ((_local4._-2I.x * _local5) + (_local4._-1.x * _local6)); _local6 = ((_local4._-2I.y * _local5) + (_local4._-1.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; var _local8:Number = (_-9z.x - _local3.m_sweep.localCenter.x); var _local9:Number = (_-9z.y - _local3.m_sweep.localCenter.y); _local7 = ((_local4._-2I.x * _local8) + (_local4._-1.x * _local9)); _local9 = ((_local4._-2I.y * _local8) + (_local4._-1.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 = (_-H5.m_xf.position.x + _-4J.x); var _local15:Number = (_-H5.m_xf.position.y + _-4J.y); var _local16:Number = (_-H5.m_xf.position.x + _-80.x); var _local17:Number = (_-H5.m_xf.position.y + _-80.y); _-Dr.Set((_local10 - _local14), (_local11 - _local15)); _-8n.Set((_local12 - _local16), (_local13 - _local17)); var _local18:Number = _-Dr._-6-(); var _local19:Number = _-8n._-6-(); if (_local18 > _-IN._-Ay){ _-Dr.Multiply((1 / _local18)); } else { _-Dr._-0t(); }; if (_local19 > _-IN._-Ay){ _-8n.Multiply((1 / _local19)); } else { _-8n._-0t(); }; var _local20:Number = ((_-AH - _local18) - (_-CP * _local19)); if (_local20 > 0){ _-8d = _-0O; _-Di = 0; } else { _-8d = _-Fl; _-7W = 0; }; if (_local18 < _-2u){ extends = _-0O; _-24 = 0; } else { extends = _-Fl; _-1I = 0; }; if (_local19 < _-D){ _-5q = _-0O; _-9E = 0; } else { _-5q = _-Fl; _-9A = 0; }; var _local21:Number = ((_local5 * _-Dr.y) - (_local6 * _-Dr.x)); var _local22:Number = ((_local8 * _-8n.y) - (_local9 * _-8n.x)); _-I8 = (_local2._-AK + ((_local2._-Co * _local21) * _local21)); _-3z = (_local3._-AK + ((_local3._-Co * _local22) * _local22)); _-AL = (_-I8 + ((_-CP * _-CP) * _-3z)); _-I8 = (1 / _-I8); _-3z = (1 / _-3z); _-AL = (1 / _-AL); if (_arg1._-Gq){ _local23 = ((_arg1._-8f * (-(_-Di) - _-24)) * _-Dr.x); _local24 = ((_arg1._-8f * (-(_-Di) - _-24)) * _-Dr.y); _local25 = ((_arg1._-8f * ((-(_-CP) * _-Di) - _-9E)) * _-8n.x); _local26 = ((_arg1._-8f * ((-(_-CP) * _-Di) - _-9E)) * _-8n.y); _local2._-D-.x = (_local2._-D-.x + (_local2._-AK * _local23)); _local2._-D-.y = (_local2._-D-.y + (_local2._-AK * _local24)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2._-Co * ((_local5 * _local24) - (_local6 * _local23)))); _local3._-D-.x = (_local3._-D-.x + (_local3._-AK * _local25)); _local3._-D-.y = (_local3._-D-.y + (_local3._-AK * _local26)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3._-Co * ((_local8 * _local26) - (_local9 * _local25)))); } else { _-Di = 0; _-24 = 0; _-9E = 0; }; } override public function GetReactionTorque():Number{ return (0); } public function _-Gm():Number{ return (_-CP); } override public function SolveVelocityConstraints(_arg1:_-6F):void{ var _local4:_-8y; 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:_-h = _-0U; var _local3:_-h = _-e; _local4 = _local2.m_xf.R; var _local5:Number = (_-7T.x - _local2.m_sweep.localCenter.x); var _local6:Number = (_-7T.y - _local2.m_sweep.localCenter.y); var _local7:Number = ((_local4._-2I.x * _local5) + (_local4._-1.x * _local6)); _local6 = ((_local4._-2I.y * _local5) + (_local4._-1.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; _local8 = (_-9z.x - _local3.m_sweep.localCenter.x); var _local9:Number = (_-9z.y - _local3.m_sweep.localCenter.y); _local7 = ((_local4._-2I.x * _local8) + (_local4._-1.x * _local9)); _local9 = ((_local4._-2I.y * _local8) + (_local4._-1.y * _local9)); _local8 = _local7; if (_-8d == _-Fl){ _local10 = (_local2._-D-.x + (-(_local2.m_angularVelocity) * _local6)); _local11 = (_local2._-D-.y + (_local2.m_angularVelocity * _local5)); _local12 = (_local3._-D-.x + (-(_local3.m_angularVelocity) * _local9)); _local13 = (_local3._-D-.y + (_local3.m_angularVelocity * _local8)); _local18 = (-(((_-Dr.x * _local10) + (_-Dr.y * _local11))) - (_-CP * ((_-8n.x * _local12) + (_-8n.y * _local13)))); _local19 = ((-(_arg1._-49) * _-AL) * _local18); _local20 = _-Di; _-Di = _-BI._-0b(0, (_-Di + _local19)); _local19 = (_-Di - _local20); _local14 = ((-(_arg1._-8f) * _local19) * _-Dr.x); _local15 = ((-(_arg1._-8f) * _local19) * _-Dr.y); _local16 = (((-(_arg1._-8f) * _-CP) * _local19) * _-8n.x); _local17 = (((-(_arg1._-8f) * _-CP) * _local19) * _-8n.y); _local2._-D-.x = (_local2._-D-.x + (_local2._-AK * _local14)); _local2._-D-.y = (_local2._-D-.y + (_local2._-AK * _local15)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2._-Co * ((_local5 * _local15) - (_local6 * _local14)))); _local3._-D-.x = (_local3._-D-.x + (_local3._-AK * _local16)); _local3._-D-.y = (_local3._-D-.y + (_local3._-AK * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3._-Co * ((_local8 * _local17) - (_local9 * _local16)))); }; if (extends == _-Fl){ _local10 = (_local2._-D-.x + (-(_local2.m_angularVelocity) * _local6)); _local11 = (_local2._-D-.y + (_local2.m_angularVelocity * _local5)); _local18 = -(((_-Dr.x * _local10) + (_-Dr.y * _local11))); _local19 = ((-(_arg1._-49) * _-I8) * _local18); _local20 = _-24; _-24 = _-BI._-0b(0, (_-24 + _local19)); _local19 = (_-24 - _local20); _local14 = ((-(_arg1._-8f) * _local19) * _-Dr.x); _local15 = ((-(_arg1._-8f) * _local19) * _-Dr.y); _local2._-D-.x = (_local2._-D-.x + (_local2._-AK * _local14)); _local2._-D-.y = (_local2._-D-.y + (_local2._-AK * _local15)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2._-Co * ((_local5 * _local15) - (_local6 * _local14)))); }; if (_-5q == _-Fl){ _local12 = (_local3._-D-.x + (-(_local3.m_angularVelocity) * _local9)); _local13 = (_local3._-D-.y + (_local3.m_angularVelocity * _local8)); _local18 = -(((_-8n.x * _local12) + (_-8n.y * _local13))); _local19 = ((-(_arg1._-49) * _-3z) * _local18); _local20 = _-9E; _-9E = _-BI._-0b(0, (_-9E + _local19)); _local19 = (_-9E - _local20); _local16 = ((-(_arg1._-8f) * _local19) * _-8n.x); _local17 = ((-(_arg1._-8f) * _local19) * _-8n.y); _local3._-D-.x = (_local3._-D-.x + (_local3._-AK * _local16)); _local3._-D-.y = (_local3._-D-.y + (_local3._-AK * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3._-Co * ((_local8 * _local17) - (_local9 * _local16)))); }; } public function _-Ez():Number{ var _local1:b2Vec2 = _-0U.GetWorldPoint(_-7T); var _local2:Number = (_-H5.m_xf.position.x + _-4J.x); var _local3:Number = (_-H5.m_xf.position.y + _-4J.y); var _local4:Number = (_local1.x - _local2); var _local5:Number = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } public function _-F4():Number{ var _local1:b2Vec2 = _-e.GetWorldPoint(_-9z); var _local2:Number = (_-H5.m_xf.position.x + _-80.x); var _local3:Number = (_-H5.m_xf.position.y + _-80.y); var _local4:Number = (_local1.x - _local2); var _local5:Number = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } public function _-q():b2Vec2{ var _local1:b2Vec2 = _-H5.m_xf.position.Copy(); _local1.Add(_-4J); return (_local1); } } }//package var
Section 247
//override (var .override) package var { import Box2D.Common.Math.*; import _-1x.*; import _-CG.*; public class override extends _-EH { public var _-3F:Number; public var _-7r:_-8y; public var _-54:Number; public var for:Boolean; public var _-8i:int; public var _-2A:Number; public var _-7T:b2Vec2; public var _-9z:b2Vec2; private var _-GJ:_-8y; private var _-6y:_-8y; private var _-7n:_-8y; private var _-8h:_-8y; public var for :b2Vec2; public var native:Boolean; public var _-IT:Number; public var _-7b:Number; public var _-4D:Number; public var _-IB:Number; public var _-63:Number; public var _-1s:Number; public static var _-14:b2Vec2 = new b2Vec2(); public function override(_arg1:_-Ey){ _-8h = new _-8y(); _-GJ = new _-8y(); _-6y = new _-8y(); _-7n = new _-8y(); _-7T = new b2Vec2(); _-9z = new b2Vec2(); for = new b2Vec2(); _-7r = new _-8y(); super(_arg1); _-7T._-56(_arg1._-8u); _-9z._-56(_arg1.use ); _-IT = _arg1._-5i; for .Set(0, 0); _-54 = 0; _-3F = 0; _-7b = 0; _-63 = _arg1._-Fz; _-IB = _arg1._-Cd; _-1s = _arg1._-2p; _-4D = _arg1._-9J; for = _arg1._-6P; native = _arg1._-IX; } override public function SolveVelocityConstraints(_arg1:_-6F):void{ var _local4:_-8y; 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:_-h = _-0U; var _local3:_-h = _-e; _local4 = _local2.m_xf.R; var _local6:Number = (_-7T.x - _local2.m_sweep.localCenter.x); var _local7:Number = (_-7T.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4._-2I.x * _local6) + (_local4._-1.x * _local7)); _local7 = ((_local4._-2I.y * _local6) + (_local4._-1.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (_-9z.x - _local3.m_sweep.localCenter.x); var _local9:Number = (_-9z.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4._-2I.x * _local8) + (_local4._-1.x * _local9)); _local9 = ((_local4._-2I.y * _local8) + (_local4._-1.y * _local9)); _local8 = _local5; var _local11:Number = (((_local3._-D-.x + (-(_local3.m_angularVelocity) * _local9)) - _local2._-D-.x) - (-(_local2.m_angularVelocity) * _local7)); var _local12:Number = (((_local3._-D-.y + (_local3.m_angularVelocity * _local8)) - _local2._-D-.y) - (_local2.m_angularVelocity * _local6)); var _local13:Number = (-(_arg1._-49) * ((_-7r._-2I.x * _local11) + (_-7r._-1.x * _local12))); var _local14:Number = (-(_arg1._-49) * ((_-7r._-2I.y * _local11) + (_-7r._-1.y * _local12))); for .x = (for .x + _local13); for .y = (for .y + _local14); var _local15:Number = (_arg1._-8f * _local13); _local16 = (_arg1._-8f * _local14); _local2._-D-.x = (_local2._-D-.x - (_local2._-AK * _local15)); _local2._-D-.y = (_local2._-D-.y - (_local2._-AK * _local16)); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local2._-Co * ((_local6 * _local16) - (_local7 * _local15)))); _local3._-D-.x = (_local3._-D-.x + (_local3._-AK * _local15)); _local3._-D-.y = (_local3._-D-.y + (_local3._-AK * _local16)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3._-Co * ((_local8 * _local16) - (_local9 * _local15)))); if (((native) && (!((_-8i == _-3g))))){ _local17 = ((_local3.m_angularVelocity - _local2.m_angularVelocity) - _-4D); _local18 = ((-(_arg1._-49) * _-2A) * _local17); _local19 = _-54; _-54 = _-BI._-13((_-54 + _local18), -(_-1s), _-1s); _local18 = (_-54 - _local19); _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_local2._-Co * _arg1._-8f) * _local18)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3._-Co * _arg1._-8f) * _local18)); }; if ((( for) && (!((_-8i == _-0O))))){ _local20 = (_local3.m_angularVelocity - _local2.m_angularVelocity); _local21 = ((-(_arg1._-49) * _-2A) * _local20); if (_-8i == _-3g){ _-3F = (_-3F + _local21); } else { if (_-8i == _-Gc){ _local10 = _-3F; _-3F = _-BI._-0b((_-3F + _local21), 0); _local21 = (_-3F - _local10); } else { if (_-8i == _-Fl){ _local10 = _-3F; _-3F = _-BI._-Aw((_-3F + _local21), 0); _local21 = (_-3F - _local10); }; }; }; _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_local2._-Co * _arg1._-8f) * _local21)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3._-Co * _arg1._-8f) * _local21)); }; } override public function GetAnchor1():b2Vec2{ return (_-0U.GetWorldPoint(_-7T)); } override public function GetAnchor2():b2Vec2{ return (_-e.GetWorldPoint(_-9z)); } public function _-3N():Number{ return (_-IB); } public function _-1T():Number{ return (_-63); } public function switch(_arg1:Boolean):void{ native = _arg1; } public function _-Dc():Number{ return (_-4D); } override public function GetReactionForce():b2Vec2{ return (for ); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local6:_-8y; var _local25:Number; var _local26:Number; var _local3:_-h = _-0U; var _local4:_-h = _-e; var _local5:Number = 0; _local6 = _local3.m_xf.R; var _local7:Number = (_-7T.x - _local3.m_sweep.localCenter.x); var _local8:Number = (_-7T.y - _local3.m_sweep.localCenter.y); var _local9:Number = ((_local6._-2I.x * _local7) + (_local6._-1.x * _local8)); _local8 = ((_local6._-2I.y * _local7) + (_local6._-1.y * _local8)); _local7 = _local9; _local6 = _local4.m_xf.R; var _local10:Number = (_-9z.x - _local4.m_sweep.localCenter.x); var _local11:Number = (_-9z.y - _local4.m_sweep.localCenter.y); _local9 = ((_local6._-2I.x * _local10) + (_local6._-1.x * _local11)); _local11 = ((_local6._-2I.y * _local10) + (_local6._-1.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._-AK; var _local19:Number = _local4._-AK; var _local20:Number = _local3._-Co; var _local21:Number = _local4._-Co; _-GJ._-2I.x = (_local18 + _local19); _-GJ._-1.x = 0; _-GJ._-2I.y = 0; _-GJ._-1.y = (_local18 + _local19); _-6y._-2I.x = ((_local20 * _local8) * _local8); _-6y._-1.x = ((-(_local20) * _local7) * _local8); _-6y._-2I.y = ((-(_local20) * _local7) * _local8); _-6y._-1.y = ((_local20 * _local7) * _local7); _-7n._-2I.x = ((_local21 * _local11) * _local11); _-7n._-1.x = ((-(_local21) * _local10) * _local11); _-7n._-2I.y = ((-(_local21) * _local10) * _local11); _-7n._-1.y = ((_local21 * _local10) * _local10); _-8h.in (_-GJ); _-8h._-CY(_-6y); _-8h._-CY(_-7n); _-8h._-G9(_-14, -(_local16), -(_local17)); var _local22:Number = _-14.x; var _local23:Number = _-14.y; _local3.m_sweep.c.x = (_local3.m_sweep.c.x - (_local3._-AK * _local22)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y - (_local3._-AK * _local23)); _local3.m_sweep.a = (_local3.m_sweep.a - (_local3._-Co * ((_local7 * _local23) - (_local8 * _local22)))); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + (_local4._-AK * _local22)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + (_local4._-AK * _local23)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4._-Co * ((_local10 * _local23) - (_local11 * _local22)))); _local3._-DW(); _local4._-DW(); var _local24:Number = 0; if ((( for) && (!((_-8i == _-0O))))){ _local25 = ((_local4.m_sweep.a - _local3.m_sweep.a) - _-IT); _local26 = 0; if (_-8i == _-3g){ _local2 = _-BI._-13(_local25, -(_-IN._-0u), _-IN._-0u); _local26 = (-(_-2A) * _local2); _local24 = _-BI._-A0(_local2); } else { if (_-8i == _-Gc){ _local2 = (_local25 - _-63); _local24 = _-BI._-0b(0, -(_local2)); _local2 = _-BI._-13((_local2 + _-IN._-C8), -(_-IN._-0u), 0); _local26 = (-(_-2A) * _local2); _local1 = _-7b; _-7b = _-BI._-0b((_-7b + _local26), 0); _local26 = (_-7b - _local1); } else { if (_-8i == _-Fl){ _local2 = (_local25 - _-IB); _local24 = _-BI._-0b(0, _local2); _local2 = _-BI._-13((_local2 - _-IN._-C8), 0, _-IN._-0u); _local26 = (-(_-2A) * _local2); _local1 = _-7b; _-7b = _-BI._-Aw((_-7b + _local26), 0); _local26 = (_-7b - _local1); }; }; }; _local3.m_sweep.a = (_local3.m_sweep.a - (_local3._-Co * _local26)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4._-Co * _local26)); _local3._-DW(); _local4._-DW(); }; return ((((_local5 <= _-IN._-Ay)) && ((_local24 <= _-IN._-C8)))); } public function _-AN(_arg1:Number):void{ _-4D = _arg1; } public function _-4q():Number{ return ((_-e.m_angularVelocity - _-0U.m_angularVelocity)); } public function _-4r(_arg1:Number):void{ _-1s = _arg1; } public function _-FZ():Number{ return (((_-e.m_sweep.a - _-0U.m_sweep.a) - _-IT)); } public function _-3r():Number{ return (_-54); } override public function InitVelocityConstraints(_arg1:_-6F):void{ var _local2:_-h; var _local3:_-h; var _local4:_-8y; var _local5:Number; var _local7:Number; var _local14:Number; _local2 = _-0U; _local3 = _-e; _local4 = _local2.m_xf.R; var _local6:Number = (_-7T.x - _local2.m_sweep.localCenter.x); _local7 = (_-7T.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4._-2I.x * _local6) + (_local4._-1.x * _local7)); _local7 = ((_local4._-2I.y * _local6) + (_local4._-1.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (_-9z.x - _local3.m_sweep.localCenter.x); var _local9:Number = (_-9z.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4._-2I.x * _local8) + (_local4._-1.x * _local9)); _local9 = ((_local4._-2I.y * _local8) + (_local4._-1.y * _local9)); _local8 = _local5; var _local10:Number = _local2._-AK; var _local11:Number = _local3._-AK; var _local12:Number = _local2._-Co; var _local13:Number = _local3._-Co; _-GJ._-2I.x = (_local10 + _local11); _-GJ._-1.x = 0; _-GJ._-2I.y = 0; _-GJ._-1.y = (_local10 + _local11); _-6y._-2I.x = ((_local12 * _local7) * _local7); _-6y._-1.x = ((-(_local12) * _local6) * _local7); _-6y._-2I.y = ((-(_local12) * _local6) * _local7); _-6y._-1.y = ((_local12 * _local6) * _local6); _-7n._-2I.x = ((_local13 * _local9) * _local9); _-7n._-1.x = ((-(_local13) * _local8) * _local9); _-7n._-2I.y = ((-(_local13) * _local8) * _local9); _-7n._-1.y = ((_local13 * _local8) * _local8); _-8h.in (_-GJ); _-8h._-CY(_-6y); _-8h._-CY(_-7n); _-8h._-A3(_-7r); _-2A = (1 / (_local12 + _local13)); if (native == false){ _-54 = 0; }; if ( for){ _local14 = ((_local3.m_sweep.a - _local2.m_sweep.a) - _-IT); if (_-BI._-A0((_-IB - _-63)) < (2 * _-IN._-C8)){ _-8i = _-3g; } else { if (_local14 <= _-63){ if (_-8i != _-Gc){ _-3F = 0; }; _-8i = _-Gc; } else { if (_local14 >= _-IB){ if (_-8i != _-Fl){ _-3F = 0; }; _-8i = _-Fl; } else { _-8i = _-0O; _-3F = 0; }; }; }; } else { _-3F = 0; }; if (_arg1._-Gq){ _local2._-D-.x = (_local2._-D-.x - ((_arg1._-8f * _local10) * for .x)); _local2._-D-.y = (_local2._-D-.y - ((_arg1._-8f * _local10) * for .y)); _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_arg1._-8f * _local12) * ((((_local6 * for .y) - (_local7 * for .x)) + _-54) + _-3F))); _local3._-D-.x = (_local3._-D-.x + ((_arg1._-8f * _local11) * for .x)); _local3._-D-.y = (_local3._-D-.y + ((_arg1._-8f * _local11) * for .y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_arg1._-8f * _local13) * ((((_local8 * for .y) - (_local9 * for .x)) + _-54) + _-3F))); } else { for ._-0t(); _-54 = 0; _-3F = 0; }; _-7b = 0; } public function _-6l(_arg1:Boolean):void{ for = _arg1; } override public function GetReactionTorque():Number{ return (_-3F); } public function _-Ex():Boolean{ return ( for); } public function _-FU():Boolean{ return (native); } public function _-1n(_arg1:Number, _arg2:Number):void{ _-63 = _arg1; _-IB = _arg2; } } }//package var
Section 248
//_-37 (_-37) package { import mx.core.*; public class _-37 extends ByteArrayAsset { } }//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
//_-Da (_-Da) package { import flash.display.*; public dynamic class _-Da extends MovieClip { public function _-B0(_arg1:Number, _arg2:int):void{ this.bubbleboxGameID = _arg2; this.score = _arg1; this.gotoAndStop(1); } } }//package
Section 254
//_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 255
//_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 256
//_-DK (_-DK) package { import flash.utils.*; import mx.core.*; public class _-DK extends MovieClipLoaderAsset { public var _-1U:Class; private static var _-46:ByteArray = null; public function _-DK(){ _-1U = _-37; super(); initialWidth = (13500 / 20); initialHeight = (9800 / 20); } override public function get movieClipData():ByteArray{ if (_-46 == null){ _-46 = ByteArray(new _-1U()); }; return (_-46); } } }//package
Section 257
//_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 258
//_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 259
//_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 260
//_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 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.net.*; import flash.utils.*; 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 _-Da { 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 _-4b.*; public class Main extends MovieClip { protected var _-8x:Sprite; protected var _-07:_-Eq; private var _-4U:Class; protected var _-7e:Sprite; protected var _-4i:Number; protected var _-F8:Sprite; public function Main(){ _-4U = _-DK; super(); if (stage){ _-9o(); } else { addEventListener(Event.ADDED_TO_STAGE, _-9o); }; } protected function update(_arg1:Event):void{ var _local2:Date = new Date(); var _local3:Number = _local2.getTime(); if ((_local3 - _-4i) >= 5000){ removeEventListener(Event.ENTER_FRAME, update); _-4i = _local3; _-F8 = new Sprite(); _-F8.graphics.beginFill(0); _-F8.graphics.drawRect(0, 0, 640, 480); _-F8.graphics.endFill(); _-F8.alpha = 0; _-8x.addChild(_-F8); addEventListener(Event.ENTER_FRAME, _-5x); }; } protected function _-5x(_arg1:Event):void{ var _local2:bubblebox_submit_score; _-F8.alpha = _-Ba(_-F8.alpha, 1, 0.15); if (_-F8.alpha >= 0.8){ _-F8.alpha = 0; removeEventListener(Event.ENTER_FRAME, _-5x); removeChild(_-8x); _-8x = null; _-07 = new _-Eq(); addChild(_-07); return; }; } public function _-9o(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, _-9o); stage.scaleMode = StageScaleMode.NO_SCALE; test(); _-3G._-Cr(this, "7fbe7258"); } protected function _-Ba(_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 _-Ha(_arg1:Event):void{ removeChild(_-7e); _-7e = null; } public function _-1w():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 _-A8():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 _-E-(_arg1:Event):void{ var _local2 = 460; var _local3 = 230; _-7e.graphics.lineStyle(4, 0xFFFFFF); _-7e.graphics.moveTo(_local2, _local3); _-7e.graphics.lineTo((_local2 + 10), (_local3 + 10)); _-7e.graphics.moveTo(_local2, (_local3 + 10)); _-7e.graphics.lineTo((_local2 + 10), _local3); } protected function test():void{ var _local1:Date = new Date(); var _local2:Number = _local1.getTime(); _-4i = _local2; var _local3:MovieClip = new _-4U(); _local3.x = 320; _local3.y = 240; _local3.buttonMode = true; _local3.addEventListener(MouseEvent.CLICK, onClick); _-8x = new Sprite(); _-8x.addChild(_local3); addChild(_-8x); _-8x.graphics.beginFill(0); _-8x.graphics.drawRect(0, 0, 640, 480); _-8x.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 {starItem_OnePhoto1}
Symbol 2 Bitmap {_-2k.function}
Symbol 3 Bitmap {game._-Aj}
Symbol 4 Bitmap {game._-3}
Symbol 5 Bitmap {game._-FA}
Symbol 6 Bitmap {_-2k._-Al}
Symbol 7 GraphicUsed by:10 13 18
Symbol 8 GraphicUsed by:9 10
Symbol 9 MovieClipUses:8Used by:10
Symbol 10 MovieClip {bubblebox_submit_score_fla.bubblebox_try_again_10} [bubblebox_submit_score_fla.bubblebox_try_again_10]Uses:7 8 9Used by:35
Symbol 11 GraphicUsed by:12 13
Symbol 12 MovieClipUses:11Used by:13
Symbol 13 MovieClip {bubblebox_submit_score_fla.bubblebox_view_scores_8} [bubblebox_submit_score_fla.bubblebox_view_scores_8]Uses:7 11 12Used by:35
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:18
Symbol 16 GraphicUsed by:17 35
Symbol 17 MovieClipUses:16Used by:18
Symbol 18 MovieClip {bubblebox_submit_score_fla.bubblebox_saving_5} [bubblebox_submit_score_fla.bubblebox_saving_5]Uses:7 15 17Used by:35
Symbol 19 GraphicUsed by:23
Symbol 20 GraphicUsed by:23
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:23
Symbol 23 MovieClip {bubblebox_submit_score_fla.bubblebox_send_btn_2} [bubblebox_submit_score_fla.bubblebox_send_btn_2]Uses:19 20 22Used by:35
Symbol 24 GraphicUsed by:35
Symbol 25 GraphicUsed by:35
Symbol 26 FontUsed by:27 33
Symbol 27 TextUses:26Used by:35
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:30 35
Symbol 30 MovieClip {bubblebox_submit_score_fla.bblogo_4} [bubblebox_submit_score_fla.bblogo_4]Uses:29Used by:35
Symbol 31 FontUsed by:32 34
Symbol 32 EditableTextUses:31Used by:35
Symbol 33 EditableTextUses:26Used by:35
Symbol 34 EditableTextUses:31Used by:35
Symbol 35 MovieClip {bubblebox_submit_score} [bubblebox_submit_score]Uses:24 25 23 27 30 16 32 18 13 33 10 34 29
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:50 89
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:49
Symbol 40 GraphicUsed by:41 46
Symbol 41 MovieClipUses:40Used by:49
Symbol 42 GraphicUsed by:45
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:45
Symbol 45 MovieClipUses:42 44Used by:46
Symbol 46 MovieClipUses:40 45Used by:49
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:49
Symbol 49 MovieClipUses:39 41 46 48Used by:50
Symbol 50 MovieClip {game._-2N} [game_title]Uses:37 49
Symbol 51 GraphicUsed by:54
Symbol 52 GraphicUsed by:54
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClip {game._-2y} [sign]Uses:51 52 53
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:55Used by:59
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:57Used by:59
Symbol 59 MovieClip {game._-4u} [ball_title]Uses:56 58
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClip {game._-8E} [bglogo]Uses:60
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:64
Symbol 64 MovieClip {game._-O} [fb1]Uses:63
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:67
Symbol 67 MovieClipUses:66Used by:68
Symbol 68 MovieClip {game._-HA} [tw2]Uses:67
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClipUses:69Used by:71
Symbol 71 MovieClipUses:70Used by:72
Symbol 72 MovieClipUses:71Used by:73
Symbol 73 MovieClip {game._-A9} [tw3]Uses:72
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:76
Symbol 76 MovieClipUses:75Used by:77
Symbol 77 MovieClipUses:76Used by:78
Symbol 78 MovieClip {game._-d} [fb3]Uses:77
Symbol 79 Sound {game.soundManager_Sound1} [game.soundManager_Sound1]
Symbol 80 GraphicUsed by:83
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:83
Symbol 83 MovieClip {game.while} [sky]Uses:80 82
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:84Used by:86
Symbol 86 MovieClip {game._-3h} [help_res_buttons]Uses:85
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClip {game._-GF} [back4]Uses:87
Symbol 89 MovieClip {game._-GZ} [logo_back]Uses:37
Symbol 90 GraphicUsed by:100
Symbol 91 GraphicUsed by:97
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:92Used by:95
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:93 94Used by:97 123
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:91 95 96Used by:100
Symbol 98 FontUsed by:99
Symbol 99 TextUses:98Used by:100
Symbol 100 MovieClipUses:90 97 99Used by:101
Symbol 101 MovieClip {game._-Cz} [completed]Uses:100
Symbol 102 GraphicUsed by:105
Symbol 103 FontUsed by:104
Symbol 104 TextUses:103Used by:105
Symbol 105 MovieClipUses:102 104Used by:106
Symbol 106 MovieClip {game._-DJ} [completed2]Uses:105
Symbol 107 FontUsed by:108
Symbol 108 TextUses:107Used by:109
Symbol 109 MovieClip {game._-5s} [select_level]Uses:108
Symbol 110 GraphicUsed by:113
Symbol 111 GraphicUsed by:113
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClipUses:110 111 112Used by:116 119
Symbol 114 FontUsed by:115 118
Symbol 115 TextUses:114Used by:116
Symbol 116 MovieClipUses:113 115Used by:117
Symbol 117 MovieClip {game._-1W} [back11]Uses:116
Symbol 118 TextUses:114Used by:119
Symbol 119 MovieClipUses:113 118Used by:120
Symbol 120 MovieClip {game._-5P} [back22]Uses:119
Symbol 121 GraphicUsed by:123
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClip {game._-Ia} [pizdec]Uses:121 95 122
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClip {game._-Ef} [tile]Uses:124
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClip {game._-GV} [cloud1]Uses:126
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClip {game._-H0} [cloud2]Uses:128
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:132
Symbol 132 MovieClip {game._-Fk} [cloud3]Uses:131
Symbol 133 Bitmap {game._-8p}
Symbol 134 Bitmap {game._-D0}
Symbol 135 BinaryData {game._-Ab}
Symbol 136 Bitmap {game._-FW}
Symbol 137 Bitmap {game._-6N}
Symbol 138 Bitmap {game.else}
Symbol 139 Bitmap {game._-I0}
Symbol 140 Bitmap {game._-0s}
Symbol 141 Bitmap {game._-45}
Symbol 142 Bitmap {game._-6M}
Symbol 143 Bitmap {game. try}
Symbol 144 Bitmap {game._-2V}
Symbol 145 Bitmap {game._-Dl}
Symbol 146 Bitmap {game._-22}
Symbol 147 Bitmap {game._-DX}
Symbol 148 Bitmap {game._-BP}
Symbol 149 Bitmap {game._-HL}
Symbol 150 Bitmap {game._-N}
Symbol 151 Bitmap {game._-85}
Symbol 152 Bitmap {game._-3y}
Symbol 153 Bitmap {game._-Hf}
Symbol 154 MovieClip {_-DK}
Symbol 155 Bitmap {game._-9S}
Symbol 156 Bitmap {game._-Hq}
Symbol 157 Font {game.mainMenu_FontClass1}
Symbol 158 Bitmap {game._-6a}
Symbol 159 Bitmap {game._-3R}
Symbol 160 Bitmap {game._-HN}
Symbol 161 Bitmap {game._-DT}
Symbol 162 Bitmap {game._-Fh}
Symbol 163 Bitmap {game.set }
Symbol 164 BinaryData {_-37}
Symbol 165 BinaryData {game._-0d}
Symbol 166 Bitmap {game._-9j}
Symbol 167 Bitmap {game._-6h}

Instance Names

"send_btn"Symbol 35 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 1Symbol 23 MovieClip {bubblebox_submit_score_fla.bubblebox_send_btn_2} [bubblebox_submit_score_fla.bubblebox_send_btn_2]
"bubblebox_name"Symbol 35 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 1Symbol 32 EditableText
"bubblebox_saving"Symbol 35 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 2Symbol 18 MovieClip {bubblebox_submit_score_fla.bubblebox_saving_5} [bubblebox_submit_score_fla.bubblebox_saving_5]
"bubblebox_view_score"Symbol 35 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 3Symbol 13 MovieClip {bubblebox_submit_score_fla.bubblebox_view_scores_8} [bubblebox_submit_score_fla.bubblebox_view_scores_8]
"postext"Symbol 35 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 3Symbol 33 EditableText
"try_again"Symbol 35 MovieClip {bubblebox_submit_score} [bubblebox_submit_score] Frame 4Symbol 10 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 10 as "bubblebox_submit_score_fla.bubblebox_try_again_10"
ExportAssets (56)Timeline Frame 2Symbol 13 as "bubblebox_submit_score_fla.bubblebox_view_scores_8"
ExportAssets (56)Timeline Frame 2Symbol 18 as "bubblebox_submit_score_fla.bubblebox_saving_5"
ExportAssets (56)Timeline Frame 2Symbol 23 as "bubblebox_submit_score_fla.bubblebox_send_btn_2"
ExportAssets (56)Timeline Frame 2Symbol 35 as "bubblebox_submit_score"
ExportAssets (56)Timeline Frame 2Symbol 30 as "bubblebox_submit_score_fla.bblogo_4"
ExportAssets (56)Timeline Frame 2Symbol 50 as "game_title"
ExportAssets (56)Timeline Frame 2Symbol 54 as "sign"
ExportAssets (56)Timeline Frame 2Symbol 59 as "ball_title"
ExportAssets (56)Timeline Frame 2Symbol 61 as "bglogo"
ExportAssets (56)Timeline Frame 2Symbol 64 as "fb1"
ExportAssets (56)Timeline Frame 2Symbol 68 as "tw2"
ExportAssets (56)Timeline Frame 2Symbol 73 as "tw3"
ExportAssets (56)Timeline Frame 2Symbol 78 as "fb3"
ExportAssets (56)Timeline Frame 2Symbol 79 as "game.soundManager_Sound1"
ExportAssets (56)Timeline Frame 2Symbol 83 as "sky"
ExportAssets (56)Timeline Frame 2Symbol 86 as "help_res_buttons"
ExportAssets (56)Timeline Frame 2Symbol 88 as "back4"
ExportAssets (56)Timeline Frame 2Symbol 89 as "logo_back"
ExportAssets (56)Timeline Frame 2Symbol 101 as "completed"
ExportAssets (56)Timeline Frame 2Symbol 106 as "completed2"
ExportAssets (56)Timeline Frame 2Symbol 109 as "select_level"
ExportAssets (56)Timeline Frame 2Symbol 117 as "back11"
ExportAssets (56)Timeline Frame 2Symbol 120 as "back22"
ExportAssets (56)Timeline Frame 2Symbol 123 as "pizdec"
ExportAssets (56)Timeline Frame 2Symbol 125 as "tile"
ExportAssets (56)Timeline Frame 2Symbol 127 as "cloud1"
ExportAssets (56)Timeline Frame 2Symbol 129 as "cloud2"
ExportAssets (56)Timeline Frame 2Symbol 132 as "cloud3"
Tag 0x0FF (255)Timeline Frame 11 bytes "."
SerialNumber (41)Timeline Frame 1

Labels

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




http://swfchan.com/19/90826/info.shtml
Created: 28/3 -2019 05:40:32 Last modified: 28/3 -2019 05:40:32 Server time: 09/05 -2024 02:29:55