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

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

Dildo Heroine.swf

This is the info page for
Flash #224277

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


Text
<p align="center"></p>

Dildo Heroine
created by Mutanky team.
For buisness contact check
Phisics engine byBox2DFlash
Flag icons by FamFamFam

<p align="center"><font face="Trebuchet MS" size="14" color="#333333" letterSpacing="0.000000" kerning="1"><a href="http://www.mutanky.com" target = "_blank"><b>www.mutanky.com</b></a></font></p>

<p align="left"></p>

<p align="right"></p>

<p align="center"></p>

<p align="justify"></p>

ActionScript [AS3]

Section 1
//b2BoxDef (Box2D.Collision.Shapes.b2BoxDef) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; public class b2BoxDef extends b2ShapeDef { public var extents:b2Vec2; public function b2BoxDef(){ type = b2Shape.e_boxShape; extents = new b2Vec2(1, 1); } } }//package Box2D.Collision.Shapes
Section 2
//b2CircleDef (Box2D.Collision.Shapes.b2CircleDef) package Box2D.Collision.Shapes { public class b2CircleDef extends b2ShapeDef { public var radius:Number; public function b2CircleDef(){ type = b2Shape.e_circleShape; radius = 1; } } }//package Box2D.Collision.Shapes
Section 3
//b2CircleShape (Box2D.Collision.Shapes.b2CircleShape) package Box2D.Collision.Shapes { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2CircleShape extends b2Shape { public var m_localPosition:b2Vec2; public var m_radius:Number; public function b2CircleShape(_arg1:b2ShapeDef, _arg2:b2Body, _arg3:b2Vec2){ var _local4:b2CircleDef; var _local5:Number; var _local6:Number; var _local7:b2AABB; var _local8:b2BroadPhase; m_localPosition = new b2Vec2(); super(_arg1, _arg2); _local4 = (_arg1 as b2CircleDef); m_localPosition.Set((_arg1.localPosition.x - _arg3.x), (_arg1.localPosition.y - _arg3.y)); m_type = b2Shape.e_circleShape; m_radius = _local4.radius; m_R.SetM(m_body.m_R); _local5 = ((m_R.col1.x * m_localPosition.x) + (m_R.col2.x * m_localPosition.y)); _local6 = ((m_R.col1.y * m_localPosition.x) + (m_R.col2.y * m_localPosition.y)); m_position.x = (m_body.m_position.x + _local5); m_position.y = (m_body.m_position.y + _local6); m_maxRadius = (Math.sqrt(((_local5 * _local5) + (_local6 * _local6))) + m_radius); _local7 = new b2AABB(); _local7.minVertex.Set((m_position.x - m_radius), (m_position.y - m_radius)); _local7.maxVertex.Set((m_position.x + m_radius), (m_position.y + m_radius)); _local8 = m_body.m_world.m_broadPhase; if (_local8.InRange(_local7)){ m_proxyId = _local8.CreateProxy(_local7, this); } else { m_proxyId = b2Pair.b2_nullProxy; }; if (m_proxyId == b2Pair.b2_nullProxy){ m_body.Freeze(); }; } override public function ResetProxy(_arg1:b2BroadPhase):void{ var _local2:b2Proxy; var _local3:b2AABB; if (m_proxyId == b2Pair.b2_nullProxy){ return; }; _local2 = _arg1.GetProxy(m_proxyId); _arg1.DestroyProxy(m_proxyId); _local2 = null; _local3 = new b2AABB(); _local3.minVertex.Set((m_position.x - m_radius), (m_position.y - m_radius)); _local3.maxVertex.Set((m_position.x + m_radius), (m_position.y + m_radius)); if (_arg1.InRange(_local3)){ m_proxyId = _arg1.CreateProxy(_local3, this); } else { m_proxyId = b2Pair.b2_nullProxy; }; if (m_proxyId == b2Pair.b2_nullProxy){ m_body.Freeze(); }; } override public function QuickSync(_arg1:b2Vec2, _arg2:b2Mat22):void{ m_R.SetM(_arg2); m_position.x = (((_arg2.col1.x * m_localPosition.x) + (_arg2.col2.x * m_localPosition.y)) + _arg1.x); m_position.y = (((_arg2.col1.y * m_localPosition.x) + (_arg2.col2.y * m_localPosition.y)) + _arg1.y); } override public function Support(_arg1:Number, _arg2:Number, _arg3:b2Vec2):void{ var _local4:Number; _local4 = Math.sqrt(((_arg1 * _arg1) + (_arg2 * _arg2))); _arg1 = (_arg1 / _local4); _arg2 = (_arg2 / _local4); _arg3.Set((m_position.x + (m_radius * _arg1)), (m_position.y + (m_radius * _arg2))); } override public function Synchronize(_arg1:b2Vec2, _arg2:b2Mat22, _arg3:b2Vec2, _arg4:b2Mat22):void{ var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:b2AABB; var _local12:b2BroadPhase; m_R.SetM(_arg4); m_position.x = (((_arg4.col1.x * m_localPosition.x) + (_arg4.col2.x * m_localPosition.y)) + _arg3.x); m_position.y = (((_arg4.col1.y * m_localPosition.x) + (_arg4.col2.y * m_localPosition.y)) + _arg3.y); if (m_proxyId == b2Pair.b2_nullProxy){ return; }; _local5 = (_arg1.x + ((_arg2.col1.x * m_localPosition.x) + (_arg2.col2.x * m_localPosition.y))); _local6 = (_arg1.y + ((_arg2.col1.y * m_localPosition.x) + (_arg2.col2.y * m_localPosition.y))); _local7 = Math.min(_local5, m_position.x); _local8 = Math.min(_local6, m_position.y); _local9 = Math.max(_local5, m_position.x); _local10 = Math.max(_local6, m_position.y); _local11 = new b2AABB(); _local11.minVertex.Set((_local7 - m_radius), (_local8 - m_radius)); _local11.maxVertex.Set((_local9 + m_radius), (_local10 + m_radius)); _local12 = m_body.m_world.m_broadPhase; if (_local12.InRange(_local11)){ _local12.MoveProxy(m_proxyId, _local11); } else { m_body.Freeze(); }; } override public function TestPoint(_arg1:b2Vec2):Boolean{ var _local2:b2Vec2; _local2 = new b2Vec2(); _local2.SetV(_arg1); _local2.Subtract(m_position); return ((b2Math.b2Dot(_local2, _local2) <= (m_radius * m_radius))); } } }//package Box2D.Collision.Shapes
Section 4
//b2MassData (Box2D.Collision.Shapes.b2MassData) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; public class b2MassData { public var mass:Number;// = 0 public var center:b2Vec2; public var I:Number;// = 0 public function b2MassData(){ mass = 0; center = new b2Vec2(0, 0); I = 0; super(); } } }//package Box2D.Collision.Shapes
Section 5
//b2PolyDef (Box2D.Collision.Shapes.b2PolyDef) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2PolyDef extends b2ShapeDef { public var vertexCount:int; public var vertices:Array; public function b2PolyDef(){ var _local1:int; vertices = new Array(b2Settings.b2_maxPolyVertices); super(); type = b2Shape.e_polyShape; vertexCount = 0; _local1 = 0; while (_local1 < b2Settings.b2_maxPolyVertices) { vertices[_local1] = new b2Vec2(); _local1++; }; } } }//package Box2D.Collision.Shapes
Section 6
//b2PolyShape (Box2D.Collision.Shapes.b2PolyShape) package Box2D.Collision.Shapes { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2PolyShape extends b2Shape { public var m_vertices:Array; public var m_localOBB:b2OBB; public var m_normals:Array; public var m_vertexCount:int; private var syncMat:b2Mat22; public var m_coreVertices:Array; public var m_localCentroid:b2Vec2; private var syncAABB:b2AABB; private static var tempVec:b2Vec2 = new b2Vec2(); private static var tAbsR:b2Mat22 = new b2Mat22(); public function b2PolyShape(_arg1:b2ShapeDef, _arg2:b2Body, _arg3:b2Vec2){ var _local4:int; var _local5:Number; var _local6:Number; var _local7:b2Vec2; var _local8:b2AABB; var _local9:b2Mat22; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:int; var _local15:int; var _local16:Number; var _local17:Number; var _local18:b2BroadPhase; var _local19:b2BoxDef; var _local20:Number; var _local21:Number; var _local22:b2PolyDef; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:b2Vec2; syncAABB = new b2AABB(); syncMat = new b2Mat22(); m_localCentroid = new b2Vec2(); m_localOBB = new b2OBB(); super(_arg1, _arg2); _local8 = new b2AABB(); m_vertices = new Array(b2Settings.b2_maxPolyVertices); m_coreVertices = new Array(b2Settings.b2_maxPolyVertices); m_normals = new Array(b2Settings.b2_maxPolyVertices); m_type = b2Shape.e_polyShape; _local9 = new b2Mat22(_arg1.localRotation); if (_arg1.type == b2Shape.e_boxShape){ m_localCentroid.x = (_arg1.localPosition.x - _arg3.x); m_localCentroid.y = (_arg1.localPosition.y - _arg3.y); _local19 = (_arg1 as b2BoxDef); m_vertexCount = 4; _local5 = _local19.extents.x; _local6 = _local19.extents.y; _local20 = Math.max(0, (_local5 - (2 * b2Settings.b2_linearSlop))); _local21 = Math.max(0, (_local6 - (2 * b2Settings.b2_linearSlop))); _local7 = (m_vertices[0] = new b2Vec2()); _local7.x = ((_local9.col1.x * _local5) + (_local9.col2.x * _local6)); _local7.y = ((_local9.col1.y * _local5) + (_local9.col2.y * _local6)); _local7 = (m_vertices[1] = new b2Vec2()); _local7.x = ((_local9.col1.x * -(_local5)) + (_local9.col2.x * _local6)); _local7.y = ((_local9.col1.y * -(_local5)) + (_local9.col2.y * _local6)); _local7 = (m_vertices[2] = new b2Vec2()); _local7.x = ((_local9.col1.x * -(_local5)) + (_local9.col2.x * -(_local6))); _local7.y = ((_local9.col1.y * -(_local5)) + (_local9.col2.y * -(_local6))); _local7 = (m_vertices[3] = new b2Vec2()); _local7.x = ((_local9.col1.x * _local5) + (_local9.col2.x * -(_local6))); _local7.y = ((_local9.col1.y * _local5) + (_local9.col2.y * -(_local6))); _local7 = (m_coreVertices[0] = new b2Vec2()); _local7.x = ((_local9.col1.x * _local20) + (_local9.col2.x * _local21)); _local7.y = ((_local9.col1.y * _local20) + (_local9.col2.y * _local21)); _local7 = (m_coreVertices[1] = new b2Vec2()); _local7.x = ((_local9.col1.x * -(_local20)) + (_local9.col2.x * _local21)); _local7.y = ((_local9.col1.y * -(_local20)) + (_local9.col2.y * _local21)); _local7 = (m_coreVertices[2] = new b2Vec2()); _local7.x = ((_local9.col1.x * -(_local20)) + (_local9.col2.x * -(_local21))); _local7.y = ((_local9.col1.y * -(_local20)) + (_local9.col2.y * -(_local21))); _local7 = (m_coreVertices[3] = new b2Vec2()); _local7.x = ((_local9.col1.x * _local20) + (_local9.col2.x * -(_local21))); _local7.y = ((_local9.col1.y * _local20) + (_local9.col2.y * -(_local21))); } else { _local22 = (_arg1 as b2PolyDef); m_vertexCount = _local22.vertexCount; PolyCentroid(_local22.vertices, _local22.vertexCount, tempVec); _local23 = tempVec.x; _local24 = tempVec.y; m_localCentroid.x = ((_arg1.localPosition.x + ((_local9.col1.x * _local23) + (_local9.col2.x * _local24))) - _arg3.x); m_localCentroid.y = ((_arg1.localPosition.y + ((_local9.col1.y * _local23) + (_local9.col2.y * _local24))) - _arg3.y); _local4 = 0; while (_local4 < m_vertexCount) { m_vertices[_local4] = new b2Vec2(); m_coreVertices[_local4] = new b2Vec2(); _local5 = (_local22.vertices[_local4].x - _local23); _local6 = (_local22.vertices[_local4].y - _local24); m_vertices[_local4].x = ((_local9.col1.x * _local5) + (_local9.col2.x * _local6)); m_vertices[_local4].y = ((_local9.col1.y * _local5) + (_local9.col2.y * _local6)); _local25 = m_vertices[_local4].x; _local26 = m_vertices[_local4].y; _local27 = Math.sqrt(((_local25 * _local25) + (_local26 * _local26))); if (_local27 > Number.MIN_VALUE){ _local25 = (_local25 * (1 / _local27)); _local26 = (_local26 * (1 / _local27)); }; m_coreVertices[_local4].x = (m_vertices[_local4].x - ((2 * b2Settings.b2_linearSlop) * _local25)); m_coreVertices[_local4].y = (m_vertices[_local4].y - ((2 * b2Settings.b2_linearSlop) * _local26)); _local4++; }; }; _local10 = Number.MAX_VALUE; _local11 = Number.MAX_VALUE; _local12 = -(Number.MAX_VALUE); _local13 = -(Number.MAX_VALUE); m_maxRadius = 0; _local4 = 0; while (_local4 < m_vertexCount) { _local28 = m_vertices[_local4]; _local10 = Math.min(_local10, _local28.x); _local11 = Math.min(_local11, _local28.y); _local12 = Math.max(_local12, _local28.x); _local13 = Math.max(_local13, _local28.y); m_maxRadius = Math.max(m_maxRadius, _local28.Length()); _local4++; }; m_localOBB.R.SetIdentity(); m_localOBB.center.Set(((_local10 + _local12) * 0.5), ((_local11 + _local13) * 0.5)); m_localOBB.extents.Set(((_local12 - _local10) * 0.5), ((_local13 - _local11) * 0.5)); _local4 = 0; while (_local4 < m_vertexCount) { m_normals[_local4] = new b2Vec2(); _local14 = _local4; _local15 = (((_local4 + 1) < m_vertexCount)) ? (_local4 + 1) : 0; m_normals[_local4].x = (m_vertices[_local15].y - m_vertices[_local14].y); m_normals[_local4].y = -((m_vertices[_local15].x - m_vertices[_local14].x)); m_normals[_local4].Normalize(); _local4++; }; _local4 = 0; while (_local4 < m_vertexCount) { _local14 = _local4; _local15 = (((_local4 + 1) < m_vertexCount)) ? (_local4 + 1) : 0; _local4++; }; m_R.SetM(m_body.m_R); m_position.x = (m_body.m_position.x + ((m_R.col1.x * m_localCentroid.x) + (m_R.col2.x * m_localCentroid.y))); m_position.y = (m_body.m_position.y + ((m_R.col1.y * m_localCentroid.x) + (m_R.col2.y * m_localCentroid.y))); tAbsR.col1.x = ((m_R.col1.x * m_localOBB.R.col1.x) + (m_R.col2.x * m_localOBB.R.col1.y)); tAbsR.col1.y = ((m_R.col1.y * m_localOBB.R.col1.x) + (m_R.col2.y * m_localOBB.R.col1.y)); tAbsR.col2.x = ((m_R.col1.x * m_localOBB.R.col2.x) + (m_R.col2.x * m_localOBB.R.col2.y)); tAbsR.col2.y = ((m_R.col1.y * m_localOBB.R.col2.x) + (m_R.col2.y * m_localOBB.R.col2.y)); tAbsR.Abs(); _local5 = ((tAbsR.col1.x * m_localOBB.extents.x) + (tAbsR.col2.x * m_localOBB.extents.y)); _local6 = ((tAbsR.col1.y * m_localOBB.extents.x) + (tAbsR.col2.y * m_localOBB.extents.y)); _local16 = (m_position.x + ((m_R.col1.x * m_localOBB.center.x) + (m_R.col2.x * m_localOBB.center.y))); _local17 = (m_position.y + ((m_R.col1.y * m_localOBB.center.x) + (m_R.col2.y * m_localOBB.center.y))); _local8.minVertex.x = (_local16 - _local5); _local8.minVertex.y = (_local17 - _local6); _local8.maxVertex.x = (_local16 + _local5); _local8.maxVertex.y = (_local17 + _local6); _local18 = m_body.m_world.m_broadPhase; if (_local18.InRange(_local8)){ m_proxyId = _local18.CreateProxy(_local8, this); } else { m_proxyId = b2Pair.b2_nullProxy; }; if (m_proxyId == b2Pair.b2_nullProxy){ m_body.Freeze(); }; } override public function QuickSync(_arg1:b2Vec2, _arg2:b2Mat22):void{ m_R.SetM(_arg2); m_position.x = (_arg1.x + ((_arg2.col1.x * m_localCentroid.x) + (_arg2.col2.x * m_localCentroid.y))); m_position.y = (_arg1.y + ((_arg2.col1.y * m_localCentroid.x) + (_arg2.col2.y * m_localCentroid.y))); } override public function Support(_arg1:Number, _arg2:Number, _arg3:b2Vec2):void{ var _local4:Number; var _local5:Number; var _local6:int; var _local7:Number; var _local8:int; var _local9:Number; _local4 = ((_arg1 * m_R.col1.x) + (_arg2 * m_R.col1.y)); _local5 = ((_arg1 * m_R.col2.x) + (_arg2 * m_R.col2.y)); _local6 = 0; _local7 = ((m_coreVertices[0].x * _local4) + (m_coreVertices[0].y * _local5)); _local8 = 1; while (_local8 < m_vertexCount) { _local9 = ((m_coreVertices[_local8].x * _local4) + (m_coreVertices[_local8].y * _local5)); if (_local9 > _local7){ _local6 = _local8; _local7 = _local9; }; _local8++; }; _arg3.Set((m_position.x + ((m_R.col1.x * m_coreVertices[_local6].x) + (m_R.col2.x * m_coreVertices[_local6].y))), (m_position.y + ((m_R.col1.y * m_coreVertices[_local6].x) + (m_R.col2.y * m_coreVertices[_local6].y)))); } override public function Synchronize(_arg1:b2Vec2, _arg2:b2Mat22, _arg3:b2Vec2, _arg4:b2Mat22):void{ var _local5:Number; var _local6:Number; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:b2Vec2; var _local10:b2Vec2; var _local11:Number; var _local12:Number; var _local13:b2BroadPhase; m_R.SetM(_arg4); m_position.x = (m_body.m_position.x + ((_arg4.col1.x * m_localCentroid.x) + (_arg4.col2.x * m_localCentroid.y))); m_position.y = (m_body.m_position.y + ((_arg4.col1.y * m_localCentroid.x) + (_arg4.col2.y * m_localCentroid.y))); if (m_proxyId == b2Pair.b2_nullProxy){ return; }; _local7 = _arg2.col1; _local8 = _arg2.col2; _local9 = m_localOBB.R.col1; _local10 = m_localOBB.R.col2; syncMat.col1.x = ((_local7.x * _local9.x) + (_local8.x * _local9.y)); syncMat.col1.y = ((_local7.y * _local9.x) + (_local8.y * _local9.y)); syncMat.col2.x = ((_local7.x * _local10.x) + (_local8.x * _local10.y)); syncMat.col2.y = ((_local7.y * _local10.x) + (_local8.y * _local10.y)); syncMat.Abs(); _local5 = (m_localCentroid.x + m_localOBB.center.x); _local6 = (m_localCentroid.y + m_localOBB.center.y); _local11 = (_arg1.x + ((_arg2.col1.x * _local5) + (_arg2.col2.x * _local6))); _local12 = (_arg1.y + ((_arg2.col1.y * _local5) + (_arg2.col2.y * _local6))); _local5 = ((syncMat.col1.x * m_localOBB.extents.x) + (syncMat.col2.x * m_localOBB.extents.y)); _local6 = ((syncMat.col1.y * m_localOBB.extents.x) + (syncMat.col2.y * m_localOBB.extents.y)); syncAABB.minVertex.x = (_local11 - _local5); syncAABB.minVertex.y = (_local12 - _local6); syncAABB.maxVertex.x = (_local11 + _local5); syncAABB.maxVertex.y = (_local12 + _local6); _local7 = _arg4.col1; _local8 = _arg4.col2; _local9 = m_localOBB.R.col1; _local10 = m_localOBB.R.col2; syncMat.col1.x = ((_local7.x * _local9.x) + (_local8.x * _local9.y)); syncMat.col1.y = ((_local7.y * _local9.x) + (_local8.y * _local9.y)); syncMat.col2.x = ((_local7.x * _local10.x) + (_local8.x * _local10.y)); syncMat.col2.y = ((_local7.y * _local10.x) + (_local8.y * _local10.y)); syncMat.Abs(); _local5 = (m_localCentroid.x + m_localOBB.center.x); _local6 = (m_localCentroid.y + m_localOBB.center.y); _local11 = (_arg3.x + ((_arg4.col1.x * _local5) + (_arg4.col2.x * _local6))); _local12 = (_arg3.y + ((_arg4.col1.y * _local5) + (_arg4.col2.y * _local6))); _local5 = ((syncMat.col1.x * m_localOBB.extents.x) + (syncMat.col2.x * m_localOBB.extents.y)); _local6 = ((syncMat.col1.y * m_localOBB.extents.x) + (syncMat.col2.y * m_localOBB.extents.y)); syncAABB.minVertex.x = Math.min(syncAABB.minVertex.x, (_local11 - _local5)); syncAABB.minVertex.y = Math.min(syncAABB.minVertex.y, (_local12 - _local6)); syncAABB.maxVertex.x = Math.max(syncAABB.maxVertex.x, (_local11 + _local5)); syncAABB.maxVertex.y = Math.max(syncAABB.maxVertex.y, (_local12 + _local6)); _local13 = m_body.m_world.m_broadPhase; if (_local13.InRange(syncAABB)){ _local13.MoveProxy(m_proxyId, syncAABB); } else { m_body.Freeze(); }; } override public function TestPoint(_arg1:b2Vec2):Boolean{ var _local2:b2Vec2; var _local3:int; var _local4:b2Vec2; var _local5:Number; _local2 = new b2Vec2(); _local2.SetV(_arg1); _local2.Subtract(m_position); _local2.MulTM(m_R); _local3 = 0; while (_local3 < m_vertexCount) { _local4 = new b2Vec2(); _local4.SetV(_local2); _local4.Subtract(m_vertices[_local3]); _local5 = b2Math.b2Dot(m_normals[_local3], _local4); if (_local5 > 0){ return (false); }; _local3++; }; return (true); } override public function ResetProxy(_arg1:b2BroadPhase):void{ var _local2:b2Proxy; var _local3:b2Mat22; var _local4:b2Mat22; var _local5:b2Vec2; var _local6:b2Vec2; var _local7:b2AABB; if (m_proxyId == b2Pair.b2_nullProxy){ return; }; _local2 = _arg1.GetProxy(m_proxyId); _arg1.DestroyProxy(m_proxyId); _local2 = null; _local3 = b2Math.b2MulMM(m_R, m_localOBB.R); _local4 = b2Math.b2AbsM(_local3); _local5 = b2Math.b2MulMV(_local4, m_localOBB.extents); _local6 = b2Math.b2MulMV(m_R, m_localOBB.center); _local6.Add(m_position); _local7 = new b2AABB(); _local7.minVertex.SetV(_local6); _local7.minVertex.Subtract(_local5); _local7.maxVertex.SetV(_local6); _local7.maxVertex.Add(_local5); if (_arg1.InRange(_local7)){ m_proxyId = _arg1.CreateProxy(_local7, this); } else { m_proxyId = b2Pair.b2_nullProxy; }; if (m_proxyId == b2Pair.b2_nullProxy){ m_body.Freeze(); }; } } }//package Box2D.Collision.Shapes
Section 7
//b2Shape (Box2D.Collision.Shapes.b2Shape) package Box2D.Collision.Shapes { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2Shape { public var m_body:b2Body; public var m_maxRadius:Number; public var m_next:b2Shape; public var m_R:b2Mat22; public var m_type:int; public var m_friction:Number; public var m_proxyId:uint; public var m_maskBits:uint; public var m_groupIndex:int; public var m_userData;// = null public var m_restitution:Number; public var m_position:b2Vec2; public var m_categoryBits:uint; public static const e_boxShape:int = 1; public static const e_unknownShape:int = -1; public static const e_shapeTypeCount:int = 4; public static const e_circleShape:int = 0; public static const e_meshShape:int = 3; public static const e_polyShape:int = 2; public function b2Shape(_arg1:b2ShapeDef, _arg2:b2Body){ m_R = new b2Mat22(); m_position = new b2Vec2(); m_userData = null; super(); m_userData = _arg1.userData; m_friction = _arg1.friction; m_restitution = _arg1.restitution; m_body = _arg2; m_proxyId = b2Pair.b2_nullProxy; m_maxRadius = 0; m_categoryBits = _arg1.categoryBits; m_maskBits = _arg1.maskBits; m_groupIndex = _arg1.groupIndex; } public function GetMaxRadius():Number{ return (m_maxRadius); } public function GetPosition():b2Vec2{ return (m_position); } public function QuickSync(_arg1:b2Vec2, _arg2:b2Mat22):void{ } public function GetNext():b2Shape{ return (m_next); } public function GetType():int{ return (m_type); } public function GetUserData(){ return (m_userData); } public function Support(_arg1:Number, _arg2:Number, _arg3:b2Vec2):void{ } public function Synchronize(_arg1:b2Vec2, _arg2:b2Mat22, _arg3:b2Vec2, _arg4:b2Mat22):void{ } public function DestroyProxy():void{ if (m_proxyId != b2Pair.b2_nullProxy){ m_body.m_world.m_broadPhase.DestroyProxy(m_proxyId); m_proxyId = b2Pair.b2_nullProxy; }; } public function GetRotationMatrix():b2Mat22{ return (m_R); } public function GetBody():b2Body{ return (m_body); } public function TestPoint(_arg1:b2Vec2):Boolean{ return (false); } public function ResetProxy(_arg1:b2BroadPhase):void{ } public static function Destroy(_arg1:b2Shape):void{ if (_arg1.m_proxyId != b2Pair.b2_nullProxy){ _arg1.m_body.m_world.m_broadPhase.DestroyProxy(_arg1.m_proxyId); }; } public static function PolyMass(_arg1:b2MassData, _arg2:Array, _arg3:int, _arg4:Number):void{ var _local5:b2Vec2; var _local6:Number; var _local7:Number; var _local8:b2Vec2; var _local9:Number; var _local10:int; var _local11:b2Vec2; var _local12:b2Vec2; var _local13:b2Vec2; var _local14:b2Vec2; var _local15:b2Vec2; var _local16:Number; var _local17:Number; var _local18:b2Vec2; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; _local5 = new b2Vec2(); _local5.SetZero(); _local6 = 0; _local7 = 0; _local8 = new b2Vec2(0, 0); _local9 = (1 / 3); _local10 = 0; while (_local10 < _arg3) { _local11 = _local8; _local12 = _arg2[_local10]; _local13 = (((_local10 + 1) < _arg3)) ? _arg2[(_local10 + 1)] : _arg2[0]; _local14 = b2Math.SubtractVV(_local12, _local11); _local15 = b2Math.SubtractVV(_local13, _local11); _local16 = b2Math.b2CrossVV(_local14, _local15); _local17 = (0.5 * _local16); _local6 = (_local6 + _local17); _local18 = new b2Vec2(); _local18.SetV(_local11); _local18.Add(_local12); _local18.Add(_local13); _local18.Multiply((_local9 * _local17)); _local5.Add(_local18); _local19 = _local11.x; _local20 = _local11.y; _local21 = _local14.x; _local22 = _local14.y; _local23 = _local15.x; _local24 = _local15.y; _local25 = ((_local9 * ((0.25 * (((_local21 * _local21) + (_local23 * _local21)) + (_local23 * _local23))) + ((_local19 * _local21) + (_local19 * _local23)))) + ((0.5 * _local19) * _local19)); _local26 = ((_local9 * ((0.25 * (((_local22 * _local22) + (_local24 * _local22)) + (_local24 * _local24))) + ((_local20 * _local22) + (_local20 * _local24)))) + ((0.5 * _local20) * _local20)); _local7 = (_local7 + (_local16 * (_local25 + _local26))); _local10++; }; _arg1.mass = (_arg4 * _local6); _local5.Multiply((1 / _local6)); _arg1.center = _local5; _local7 = (_arg4 * (_local7 - (_local6 * b2Math.b2Dot(_local5, _local5)))); _arg1.I = _local7; } public static function PolyCentroid(_arg1:Array, _arg2:int, _arg3:b2Vec2):void{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:int; 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; _local4 = 0; _local5 = 0; _local6 = 0; _local7 = 0; _local8 = 0; _local9 = (1 / 3); _local10 = 0; while (_local10 < _arg2) { _local11 = _local7; _local12 = _local8; _local13 = _arg1[_local10].x; _local14 = _arg1[_local10].y; _local15 = (((_local10 + 1) < _arg2)) ? _arg1[(_local10 + 1)].x : _arg1[0].x; _local16 = (((_local10 + 1) < _arg2)) ? _arg1[(_local10 + 1)].y : _arg1[0].y; _local17 = (_local13 - _local11); _local18 = (_local14 - _local12); _local19 = (_local15 - _local11); _local20 = (_local16 - _local12); _local21 = ((_local17 * _local20) - (_local18 * _local19)); _local22 = (0.5 * _local21); _local6 = (_local6 + _local22); _local4 = (_local4 + ((_local22 * _local9) * ((_local11 + _local13) + _local15))); _local5 = (_local5 + ((_local22 * _local9) * ((_local12 + _local14) + _local16))); _local10++; }; _local4 = (_local4 * (1 / _local6)); _local5 = (_local5 * (1 / _local6)); _arg3.Set(_local4, _local5); } public static function Create(_arg1:b2ShapeDef, _arg2:b2Body, _arg3:b2Vec2):b2Shape{ switch (_arg1.type){ case e_circleShape: return (new b2CircleShape(_arg1, _arg2, _arg3)); case e_boxShape: case e_polyShape: return (new b2PolyShape(_arg1, _arg2, _arg3)); }; return (null); } } }//package Box2D.Collision.Shapes
Section 8
//b2ShapeDef (Box2D.Collision.Shapes.b2ShapeDef) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2ShapeDef { public var groupIndex:int; public var categoryBits:int; public var localRotation:Number; public var restitution:Number; public var userData;// = null public var density:Number; public var maskBits:int; public var type:int; public var localPosition:b2Vec2; public var friction:Number; public function b2ShapeDef(){ userData = null; super(); type = b2Shape.e_unknownShape; userData = null; localPosition = new b2Vec2(0, 0); localRotation = 0; friction = 0.2; restitution = 0; density = 0; categoryBits = 1; maskBits = 0xFFFF; groupIndex = 0; } public function ComputeMass(_arg1:b2MassData):void{ var _local2:b2CircleDef; var _local3:b2BoxDef; var _local4:b2PolyDef; _arg1.center = new b2Vec2(0, 0); if (density == 0){ _arg1.mass = 0; _arg1.center.Set(0, 0); _arg1.I = 0; }; switch (type){ case b2Shape.e_circleShape: _local2 = (this as b2CircleDef); _arg1.mass = (((density * b2Settings.b2_pi) * _local2.radius) * _local2.radius); _arg1.center.Set(0, 0); _arg1.I = (((0.5 * _arg1.mass) * _local2.radius) * _local2.radius); break; case b2Shape.e_boxShape: _local3 = (this as b2BoxDef); _arg1.mass = (((4 * density) * _local3.extents.x) * _local3.extents.y); _arg1.center.Set(0, 0); _arg1.I = ((_arg1.mass / 3) * b2Math.b2Dot(_local3.extents, _local3.extents)); break; case b2Shape.e_polyShape: _local4 = (this as b2PolyDef); b2Shape.PolyMass(_arg1, _local4.vertices, _local4.vertexCount, density); break; default: _arg1.mass = 0; _arg1.center.Set(0, 0); _arg1.I = 0; break; }; } } }//package Box2D.Collision.Shapes
Section 9
//b2AABB (Box2D.Collision.b2AABB) package Box2D.Collision { import Box2D.Common.Math.*; public class b2AABB { public var minVertex:b2Vec2; public var maxVertex:b2Vec2; public function b2AABB(){ minVertex = new b2Vec2(); maxVertex = new b2Vec2(); super(); } public function IsValid():Boolean{ var _local1:Number; var _local2:Number; var _local3:Boolean; _local1 = maxVertex.x; _local2 = maxVertex.y; _local1 = maxVertex.x; _local2 = maxVertex.y; _local1 = (_local1 - minVertex.x); _local2 = (_local2 - minVertex.y); _local3 = (((_local1 >= 0)) && ((_local2 >= 0))); _local3 = ((((_local3) && (minVertex.IsValid()))) && (maxVertex.IsValid())); return (_local3); } } }//package Box2D.Collision
Section 10
//b2Bound (Box2D.Collision.b2Bound) package Box2D.Collision { public class b2Bound { public var proxyId:uint; public var stabbingCount:uint; public var value:uint; public function Swap(_arg1:b2Bound):void{ var _local2:uint; var _local3:uint; var _local4:uint; _local2 = value; _local3 = proxyId; _local4 = stabbingCount; value = _arg1.value; proxyId = _arg1.proxyId; stabbingCount = _arg1.stabbingCount; _arg1.value = _local2; _arg1.proxyId = _local3; _arg1.stabbingCount = _local4; } public function IsLower():Boolean{ return (((value & 1) == 0)); } public function IsUpper():Boolean{ return (((value & 1) == 1)); } } }//package Box2D.Collision
Section 11
//b2BoundValues (Box2D.Collision.b2BoundValues) package Box2D.Collision { public class b2BoundValues { public var lowerValues:Array; public var upperValues:Array; public function b2BoundValues(){ lowerValues = [0, 0]; upperValues = [0, 0]; super(); } } }//package Box2D.Collision
Section 12
//b2BroadPhase (Box2D.Collision.b2BroadPhase) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2BroadPhase { public var m_quantizationFactor:b2Vec2; public var m_worldAABB:b2AABB; public var m_bounds:Array; public var m_freeProxy:uint; public var m_proxyCount:int; public var m_proxyPool:Array; public var m_queryResultCount:int; public var m_pairManager:b2PairManager; public var m_timeStamp:uint; public var m_queryResults:Array; public static const b2_nullEdge:uint = b2Settings.USHRT_MAX; public static const b2_invalid:uint = b2Settings.USHRT_MAX; public static var s_validate:Boolean = false; public function b2BroadPhase(_arg1:b2AABB, _arg2:b2PairCallback){ var _local3:int; var _local4:Number; var _local5:Number; var _local6:b2Proxy; var _local7:int; m_pairManager = new b2PairManager(); m_proxyPool = new Array(b2Settings.b2_maxPairs); m_bounds = new Array((2 * b2Settings.b2_maxProxies)); m_queryResults = new Array(b2Settings.b2_maxProxies); m_quantizationFactor = new b2Vec2(); super(); m_pairManager.Initialize(this, _arg2); m_worldAABB = _arg1; m_proxyCount = 0; _local3 = 0; while (_local3 < b2Settings.b2_maxProxies) { m_queryResults[_local3] = 0; _local3++; }; m_bounds = new Array(2); _local3 = 0; while (_local3 < 2) { m_bounds[_local3] = new Array((2 * b2Settings.b2_maxProxies)); _local7 = 0; while (_local7 < (2 * b2Settings.b2_maxProxies)) { m_bounds[_local3][_local7] = new b2Bound(); _local7++; }; _local3++; }; _local4 = _arg1.maxVertex.x; _local5 = _arg1.maxVertex.y; _local4 = (_local4 - _arg1.minVertex.x); _local5 = (_local5 - _arg1.minVertex.y); m_quantizationFactor.x = (b2Settings.USHRT_MAX / _local4); m_quantizationFactor.y = (b2Settings.USHRT_MAX / _local5); _local3 = 0; while (_local3 < (b2Settings.b2_maxProxies - 1)) { _local6 = new b2Proxy(); m_proxyPool[_local3] = _local6; _local6.SetNext((_local3 + 1)); _local6.timeStamp = 0; _local6.overlapCount = b2_invalid; _local6.userData = null; _local3++; }; _local6 = new b2Proxy(); m_proxyPool[(b2Settings.b2_maxProxies - 1)] = _local6; _local6.SetNext(b2Pair.b2_nullProxy); _local6.timeStamp = 0; _local6.overlapCount = b2_invalid; _local6.userData = null; m_freeProxy = 0; m_timeStamp = 1; m_queryResultCount = 0; } public function QueryAABB(_arg1:b2AABB, _arg2, _arg3:int):int{ var _local4:Array; var _local5:Array; var _local6:uint; var _local7:uint; var _local8:Array; var _local9:Array; var _local10:int; var _local11:int; var _local12:b2Proxy; _local4 = new Array(); _local5 = new Array(); ComputeBounds(_local4, _local5, _arg1); _local8 = [_local6]; _local9 = [_local7]; Query(_local8, _local9, _local4[0], _local5[0], m_bounds[0], (2 * m_proxyCount), 0); Query(_local8, _local9, _local4[1], _local5[1], m_bounds[1], (2 * m_proxyCount), 1); _local10 = 0; _local11 = 0; while ((((_local11 < m_queryResultCount)) && ((_local10 < _arg3)))) { _local12 = m_proxyPool[m_queryResults[_local11]]; _arg2[_local11] = _local12.userData; _local11++; _local10++; }; m_queryResultCount = 0; IncrementTimeStamp(); return (_local10); } public function Commit():void{ m_pairManager.Commit(); } public function GetProxy(_arg1:int):b2Proxy{ if ((((_arg1 == b2Pair.b2_nullProxy)) || ((m_proxyPool[_arg1].IsValid() == false)))){ return (null); }; return (m_proxyPool[_arg1]); } private function IncrementTimeStamp():void{ var _local1:uint; if (m_timeStamp == b2Settings.USHRT_MAX){ _local1 = 0; while (_local1 < b2Settings.b2_maxProxies) { m_proxyPool[_local1].timeStamp = 0; _local1++; }; m_timeStamp = 1; } else { m_timeStamp++; }; } private function Query(_arg1:Array, _arg2:Array, _arg3:uint, _arg4:uint, _arg5:Array, _arg6:uint, _arg7:int):void{ var _local8:uint; var _local9:uint; var _local10:uint; var _local11:int; var _local12:int; var _local13:b2Proxy; _local8 = BinarySearch(_arg5, _arg6, _arg3); _local9 = BinarySearch(_arg5, _arg6, _arg4); _local10 = _local8; while (_local10 < _local9) { if (_arg5[_local10].IsLower()){ IncrementOverlapCount(_arg5[_local10].proxyId); }; _local10++; }; if (_local8 > 0){ _local11 = (_local8 - 1); _local12 = _arg5[_local11].stabbingCount; while (_local12) { if (_arg5[_local11].IsLower()){ _local13 = m_proxyPool[_arg5[_local11].proxyId]; if (_local8 <= _local13.upperBounds[_arg7]){ IncrementOverlapCount(_arg5[_local11].proxyId); _local12--; }; }; _local11--; }; }; _arg1[0] = _local8; _arg2[0] = _local9; } private function TestOverlapValidate(_arg1:b2Proxy, _arg2:b2Proxy):Boolean{ var _local3:int; var _local4:Array; _local3 = 0; while (_local3 < 2) { _local4 = m_bounds[_local3]; if (_local4[_arg1.lowerBounds[_local3]].value > _local4[_arg2.upperBounds[_local3]].value){ return (false); }; if (_local4[_arg1.upperBounds[_local3]].value < _local4[_arg2.lowerBounds[_local3]].value){ return (false); }; _local3++; }; return (true); } private function ComputeBounds(_arg1:Array, _arg2:Array, _arg3:b2AABB):void{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; _local4 = _arg3.minVertex.x; _local5 = _arg3.minVertex.y; _local4 = b2Math.b2Min(_local4, m_worldAABB.maxVertex.x); _local5 = b2Math.b2Min(_local5, m_worldAABB.maxVertex.y); _local4 = b2Math.b2Max(_local4, m_worldAABB.minVertex.x); _local5 = b2Math.b2Max(_local5, m_worldAABB.minVertex.y); _local6 = _arg3.maxVertex.x; _local7 = _arg3.maxVertex.y; _local6 = b2Math.b2Min(_local6, m_worldAABB.maxVertex.x); _local7 = b2Math.b2Min(_local7, m_worldAABB.maxVertex.y); _local6 = b2Math.b2Max(_local6, m_worldAABB.minVertex.x); _local7 = b2Math.b2Max(_local7, m_worldAABB.minVertex.y); _arg1[0] = (uint((m_quantizationFactor.x * (_local4 - m_worldAABB.minVertex.x))) & (b2Settings.USHRT_MAX - 1)); _arg2[0] = ((uint((m_quantizationFactor.x * (_local6 - m_worldAABB.minVertex.x))) & 0xFFFF) | 1); _arg1[1] = (uint((m_quantizationFactor.y * (_local5 - m_worldAABB.minVertex.y))) & (b2Settings.USHRT_MAX - 1)); _arg2[1] = ((uint((m_quantizationFactor.y * (_local7 - m_worldAABB.minVertex.y))) & 0xFFFF) | 1); } public function CreateProxy(_arg1:b2AABB, _arg2):uint{ var _local3:uint; var _local4:b2Proxy; var _local5:uint; var _local6:uint; var _local7:Array; var _local8:Array; var _local9:int; var _local10:int; 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:b2Bound; var _local20:b2Bound; var _local21:int; var _local22:b2Proxy; _local5 = m_freeProxy; _local4 = m_proxyPool[_local5]; m_freeProxy = _local4.GetNext(); _local4.overlapCount = 0; _local4.userData = _arg2; _local6 = (2 * m_proxyCount); _local7 = new Array(); _local8 = new Array(); ComputeBounds(_local7, _local8, _arg1); _local9 = 0; while (_local9 < 2) { _local11 = m_bounds[_local9]; _local14 = [_local12]; _local15 = [_local13]; Query(_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 b2Bound(); _local19 = _local16[_local17]; _local20 = _local11[(_local13 + _local17)]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local18 = _local16.length; _local21 = (_local13 + 2); _local17 = 0; while (_local17 < _local18) { _local20 = _local16[_local17]; _local19 = _local11[(_local21 + _local17)]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local16 = new Array(); _local18 = (_local13 - _local12); _local17 = 0; while (_local17 < _local18) { _local16[_local17] = new b2Bound(); _local19 = _local16[_local17]; _local20 = _local11[(_local12 + _local17)]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local18 = _local16.length; _local21 = (_local12 + 1); _local17 = 0; while (_local17 < _local18) { _local20 = _local16[_local17]; _local19 = _local11[(_local21 + _local17)]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local13++; _local11[_local12].value = _local7[_local9]; _local11[_local12].proxyId = _local5; _local11[_local13].value = _local8[_local9]; _local11[_local13].proxyId = _local5; _local11[_local12].stabbingCount = ((_local12 == 0)) ? 0 : _local11[(_local12 - 1)].stabbingCount; _local11[_local13].stabbingCount = _local11[(_local13 - 1)].stabbingCount; _local3 = _local12; while (_local3 < _local13) { _local11[_local3].stabbingCount++; _local3++; }; _local3 = _local12; while (_local3 < (_local6 + 2)) { _local22 = m_proxyPool[_local11[_local3].proxyId]; if (_local11[_local3].IsLower()){ _local22.lowerBounds[_local9] = _local3; } else { _local22.upperBounds[_local9] = _local3; }; _local3++; }; _local9++; }; m_proxyCount++; _local10 = 0; while (_local10 < m_queryResultCount) { m_pairManager.AddBufferedPair(_local5, m_queryResults[_local10]); _local10++; }; m_pairManager.Commit(); m_queryResultCount = 0; IncrementTimeStamp(); return (_local5); } public function DestroyProxy(_arg1:uint):void{ var _local2:b2Proxy; var _local3:int; var _local4:int; var _local5:int; var _local6:Array; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:uint; var _local11:Array; var _local12:int; var _local13:int; var _local14:b2Bound; var _local15:b2Bound; var _local16:int; var _local17:uint; var _local18:int; var _local19:b2Proxy; _local2 = m_proxyPool[_arg1]; _local3 = (2 * m_proxyCount); _local4 = 0; while (_local4 < 2) { _local6 = m_bounds[_local4]; _local7 = _local2.lowerBounds[_local4]; _local8 = _local2.upperBounds[_local4]; _local9 = _local6[_local7].value; _local10 = _local6[_local8].value; _local11 = new Array(); _local13 = ((_local8 - _local7) - 1); _local12 = 0; while (_local12 < _local13) { _local11[_local12] = new b2Bound(); _local14 = _local11[_local12]; _local15 = _local6[((_local7 + 1) + _local12)]; _local14.value = _local15.value; _local14.proxyId = _local15.proxyId; _local14.stabbingCount = _local15.stabbingCount; _local12++; }; _local13 = _local11.length; _local16 = _local7; _local12 = 0; while (_local12 < _local13) { _local15 = _local11[_local12]; _local14 = _local6[(_local16 + _local12)]; _local14.value = _local15.value; _local14.proxyId = _local15.proxyId; _local14.stabbingCount = _local15.stabbingCount; _local12++; }; _local11 = new Array(); _local13 = ((_local3 - _local8) - 1); _local12 = 0; while (_local12 < _local13) { _local11[_local12] = new b2Bound(); _local14 = _local11[_local12]; _local15 = _local6[((_local8 + 1) + _local12)]; _local14.value = _local15.value; _local14.proxyId = _local15.proxyId; _local14.stabbingCount = _local15.stabbingCount; _local12++; }; _local13 = _local11.length; _local16 = (_local8 - 1); _local12 = 0; while (_local12 < _local13) { _local15 = _local11[_local12]; _local14 = _local6[(_local16 + _local12)]; _local14.value = _local15.value; _local14.proxyId = _local15.proxyId; _local14.stabbingCount = _local15.stabbingCount; _local12++; }; _local13 = (_local3 - 2); _local17 = _local7; while (_local17 < _local13) { _local19 = m_proxyPool[_local6[_local17].proxyId]; if (_local6[_local17].IsLower()){ _local19.lowerBounds[_local4] = _local17; } else { _local19.upperBounds[_local4] = _local17; }; _local17++; }; _local13 = (_local8 - 1); _local18 = _local7; while (_local18 < _local13) { _local6[_local18].stabbingCount--; _local18++; }; Query([0], [0], _local9, _local10, _local6, (_local3 - 2), _local4); _local4++; }; _local5 = 0; while (_local5 < m_queryResultCount) { m_pairManager.RemoveBufferedPair(_arg1, m_queryResults[_local5]); _local5++; }; m_pairManager.Commit(); m_queryResultCount = 0; IncrementTimeStamp(); _local2.userData = null; _local2.overlapCount = b2_invalid; _local2.lowerBounds[0] = b2_invalid; _local2.lowerBounds[1] = b2_invalid; _local2.upperBounds[0] = b2_invalid; _local2.upperBounds[1] = b2_invalid; _local2.SetNext(m_freeProxy); m_freeProxy = _arg1; m_proxyCount--; } public function TestOverlap(_arg1:b2BoundValues, _arg2:b2Proxy):Boolean{ var _local3:int; var _local4:Array; _local3 = 0; while (_local3 < 2) { _local4 = m_bounds[_local3]; if (_arg1.lowerValues[_local3] > _local4[_arg2.upperBounds[_local3]].value){ return (false); }; if (_arg1.upperValues[_local3] < _local4[_arg2.lowerBounds[_local3]].value){ return (false); }; _local3++; }; return (true); } public function Validate():void{ var _local1:b2Pair; var _local2:b2Proxy; var _local3:b2Proxy; var _local4:Boolean; var _local5:int; var _local6:b2Bound; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:b2Bound; _local5 = 0; while (_local5 < 2) { _local6 = m_bounds[_local5]; _local7 = (2 * m_proxyCount); _local8 = 0; _local9 = 0; while (_local9 < _local7) { _local10 = _local6[_local9]; if (_local10.IsLower() == true){ _local8++; } else { _local8--; }; _local9++; }; _local5++; }; } private function IncrementOverlapCount(_arg1:uint):void{ var _local2:b2Proxy; _local2 = m_proxyPool[_arg1]; if (_local2.timeStamp < m_timeStamp){ _local2.timeStamp = m_timeStamp; _local2.overlapCount = 1; } else { _local2.overlapCount = 2; m_queryResults[m_queryResultCount] = _arg1; m_queryResultCount++; }; } public function InRange(_arg1:b2AABB):Boolean{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = _arg1.minVertex.x; _local3 = _arg1.minVertex.y; _local2 = (_local2 - m_worldAABB.maxVertex.x); _local3 = (_local3 - m_worldAABB.maxVertex.y); _local4 = m_worldAABB.minVertex.x; _local5 = m_worldAABB.minVertex.y; _local4 = (_local4 - _arg1.maxVertex.x); _local5 = (_local5 - _arg1.maxVertex.y); _local2 = b2Math.b2Max(_local2, _local4); _local3 = b2Math.b2Max(_local3, _local5); return ((b2Math.b2Max(_local2, _local3) < 0)); } public function MoveProxy(_arg1:uint, _arg2:b2AABB):void{ var _local3:uint; var _local4:uint; var _local5:b2Bound; var _local6:b2Bound; var _local7:b2Bound; var _local8:uint; var _local9:b2Proxy; var _local10:uint; var _local11:b2Proxy; var _local12:b2BoundValues; var _local13:b2BoundValues; var _local14:Array; var _local15:uint; var _local16:uint; var _local17:uint; var _local18:uint; var _local19:int; var _local20:int; var _local21:uint; var _local22:b2Proxy; if ((((_arg1 == b2Pair.b2_nullProxy)) || ((b2Settings.b2_maxProxies <= _arg1)))){ return; }; if (_arg2.IsValid() == false){ return; }; _local10 = (2 * m_proxyCount); _local11 = m_proxyPool[_arg1]; _local12 = new b2BoundValues(); ComputeBounds(_local12.lowerValues, _local12.upperValues, _arg2); _local13 = new b2BoundValues(); _local3 = 0; while (_local3 < 2) { _local13.lowerValues[_local3] = m_bounds[_local3][_local11.lowerBounds[_local3]].value; _local13.upperValues[_local3] = m_bounds[_local3][_local11.upperBounds[_local3]].value; _local3++; }; _local3 = 0; while (_local3 < 2) { _local14 = m_bounds[_local3]; _local15 = _local11.lowerBounds[_local3]; _local16 = _local11.upperBounds[_local3]; _local17 = _local12.lowerValues[_local3]; _local18 = _local12.upperValues[_local3]; _local19 = (_local17 - _local14[_local15].value); _local20 = (_local18 - _local14[_local16].value); _local14[_local15].value = _local17; _local14[_local16].value = _local18; if (_local19 < 0){ _local4 = _local15; while ((((_local4 > 0)) && ((_local17 < _local14[(_local4 - 1)].value)))) { _local5 = _local14[_local4]; _local6 = _local14[(_local4 - 1)]; _local21 = _local6.proxyId; _local22 = m_proxyPool[_local6.proxyId]; _local6.stabbingCount++; if (_local6.IsUpper() == true){ if (TestOverlap(_local12, _local22)){ m_pairManager.AddBufferedPair(_arg1, _local21); }; var _local23 = _local22.upperBounds; var _local24 = _local3; var _local25 = (_local23[_local24] + 1); _local23[_local24] = _local25; _local5.stabbingCount++; } else { _local23 = _local22.lowerBounds; _local24 = _local3; _local25 = (_local23[_local24] + 1); _local23[_local24] = _local25; _local5.stabbingCount--; }; _local23 = _local11.lowerBounds; _local24 = _local3; _local25 = (_local23[_local24] - 1); _local23[_local24] = _local25; _local5.Swap(_local6); _local4--; }; }; if (_local20 > 0){ _local4 = _local16; while ((((_local4 < (_local10 - 1))) && ((_local14[(_local4 + 1)].value <= _local18)))) { _local5 = _local14[_local4]; _local7 = _local14[(_local4 + 1)]; _local8 = _local7.proxyId; _local9 = m_proxyPool[_local8]; _local7.stabbingCount++; if (_local7.IsLower() == true){ if (TestOverlap(_local12, _local9)){ m_pairManager.AddBufferedPair(_arg1, _local8); }; _local23 = _local9.lowerBounds; _local24 = _local3; _local25 = (_local23[_local24] - 1); _local23[_local24] = _local25; _local5.stabbingCount++; } else { _local23 = _local9.upperBounds; _local24 = _local3; _local25 = (_local23[_local24] - 1); _local23[_local24] = _local25; _local5.stabbingCount--; }; _local23 = _local11.upperBounds; _local24 = _local3; _local25 = (_local23[_local24] + 1); _local23[_local24] = _local25; _local5.Swap(_local7); _local4++; }; }; if (_local19 > 0){ _local4 = _local15; while ((((_local4 < (_local10 - 1))) && ((_local14[(_local4 + 1)].value <= _local17)))) { _local5 = _local14[_local4]; _local7 = _local14[(_local4 + 1)]; _local8 = _local7.proxyId; _local9 = m_proxyPool[_local8]; _local7.stabbingCount--; if (_local7.IsUpper()){ if (TestOverlap(_local13, _local9)){ m_pairManager.RemoveBufferedPair(_arg1, _local8); }; _local23 = _local9.upperBounds; _local24 = _local3; _local25 = (_local23[_local24] - 1); _local23[_local24] = _local25; _local5.stabbingCount--; } else { _local23 = _local9.lowerBounds; _local24 = _local3; _local25 = (_local23[_local24] - 1); _local23[_local24] = _local25; _local5.stabbingCount++; }; _local23 = _local11.lowerBounds; _local24 = _local3; _local25 = (_local23[_local24] + 1); _local23[_local24] = _local25; _local5.Swap(_local7); _local4++; }; }; if (_local20 < 0){ _local4 = _local16; while ((((_local4 > 0)) && ((_local18 < _local14[(_local4 - 1)].value)))) { _local5 = _local14[_local4]; _local6 = _local14[(_local4 - 1)]; _local21 = _local6.proxyId; _local22 = m_proxyPool[_local21]; _local6.stabbingCount--; if (_local6.IsLower() == true){ if (TestOverlap(_local13, _local22)){ m_pairManager.RemoveBufferedPair(_arg1, _local21); }; _local23 = _local22.lowerBounds; _local24 = _local3; _local25 = (_local23[_local24] + 1); _local23[_local24] = _local25; _local5.stabbingCount--; } else { _local23 = _local22.upperBounds; _local24 = _local3; _local25 = (_local23[_local24] + 1); _local23[_local24] = _local25; _local5.stabbingCount++; }; _local23 = _local11.upperBounds; _local24 = _local3; _local25 = (_local23[_local24] - 1); _local23[_local24] = _local25; _local5.Swap(_local6); _local4--; }; }; _local3++; }; } public static function BinarySearch(_arg1:Array, _arg2:int, _arg3:uint):uint{ var _local4:int; var _local5:int; var _local6:int; _local4 = 0; _local5 = (_arg2 - 1); while (_local4 <= _local5) { _local6 = ((_local4 + _local5) / 2); if (_arg1[_local6].value > _arg3){ _local5 = (_local6 - 1); } else { if (_arg1[_local6].value < _arg3){ _local4 = (_local6 + 1); } else { return (uint(_local6)); }; }; }; return (uint(_local4)); } } }//package Box2D.Collision
Section 13
//b2BufferedPair (Box2D.Collision.b2BufferedPair) package Box2D.Collision { public class b2BufferedPair { public var proxyId1:uint; public var proxyId2:uint; } }//package Box2D.Collision
Section 14
//b2Collision (Box2D.Collision.b2Collision) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2Collision { public static const b2_nullFeature:uint = 0xFF; private static var b2CollidePolyTempVec:b2Vec2 = new b2Vec2(); public static function EdgeSeparation(_arg1:b2PolyShape, _arg2:int, _arg3:b2PolyShape):Number{ var _local4:Array; var _local5:int; var _local6:Array; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:b2Mat22; var _local11:Number; var _local12:Number; var _local13:int; var _local14:Number; var _local15:int; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:b2Vec2; var _local22:Number; _local4 = _arg1.m_vertices; _local5 = _arg3.m_vertexCount; _local6 = _arg3.m_vertices; _local7 = _arg1.m_normals[_arg2].x; _local8 = _arg1.m_normals[_arg2].y; _local9 = _local7; _local10 = _arg1.m_R; _local7 = ((_local10.col1.x * _local9) + (_local10.col2.x * _local8)); _local8 = ((_local10.col1.y * _local9) + (_local10.col2.y * _local8)); _local11 = _local7; _local12 = _local8; _local10 = _arg3.m_R; _local9 = ((_local11 * _local10.col1.x) + (_local12 * _local10.col1.y)); _local12 = ((_local11 * _local10.col2.x) + (_local12 * _local10.col2.y)); _local11 = _local9; _local13 = 0; _local14 = Number.MAX_VALUE; _local15 = 0; while (_local15 < _local5) { _local21 = _local6[_local15]; _local22 = ((_local21.x * _local11) + (_local21.y * _local12)); if (_local22 < _local14){ _local14 = _local22; _local13 = _local15; }; _local15++; }; _local10 = _arg1.m_R; _local16 = (_arg1.m_position.x + ((_local10.col1.x * _local4[_arg2].x) + (_local10.col2.x * _local4[_arg2].y))); _local17 = (_arg1.m_position.y + ((_local10.col1.y * _local4[_arg2].x) + (_local10.col2.y * _local4[_arg2].y))); _local10 = _arg3.m_R; _local18 = (_arg3.m_position.x + ((_local10.col1.x * _local6[_local13].x) + (_local10.col2.x * _local6[_local13].y))); _local19 = (_arg3.m_position.y + ((_local10.col1.y * _local6[_local13].x) + (_local10.col2.y * _local6[_local13].y))); _local18 = (_local18 - _local16); _local19 = (_local19 - _local17); _local20 = ((_local18 * _local7) + (_local19 * _local8)); return (_local20); } public static function b2TestOverlap(_arg1:b2AABB, _arg2:b2AABB):Boolean{ var _local3:b2Vec2; var _local4:b2Vec2; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local3 = _arg2.minVertex; _local4 = _arg1.maxVertex; _local5 = (_local3.x - _local4.x); _local6 = (_local3.y - _local4.y); _local3 = _arg1.minVertex; _local4 = _arg2.maxVertex; _local7 = (_local3.x - _local4.x); _local8 = (_local3.y - _local4.y); if ((((_local5 > 0)) || ((_local6 > 0)))){ return (false); }; if ((((_local7 > 0)) || ((_local8 > 0)))){ return (false); }; return (true); } public static function FindIncidentEdge(_arg1:Array, _arg2:b2PolyShape, _arg3:int, _arg4:b2PolyShape):void{ var _local5:int; var _local6:Array; var _local7:int; var _local8:Array; var _local9:int; var _local10:int; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:b2Mat22; var _local19:Number; var _local20:Number; var _local21:int; var _local22:int; var _local23:Number; var _local24:int; var _local25:ClipVertex; var _local26:int; var _local27:int; var _local28:Number; var _local29:Number; var _local30:Number; _local5 = _arg2.m_vertexCount; _local6 = _arg2.m_vertices; _local7 = _arg4.m_vertexCount; _local8 = _arg4.m_vertices; _local9 = _arg3; _local10 = (((_arg3 + 1) == _local5)) ? 0 : (_arg3 + 1); _local11 = _local6[_local10]; _local12 = _local11.x; _local13 = _local11.y; _local11 = _local6[_local9]; _local12 = (_local12 - _local11.x); _local13 = (_local13 - _local11.y); _local14 = _local12; _local12 = _local13; _local13 = -(_local14); _local15 = (1 / Math.sqrt(((_local12 * _local12) + (_local13 * _local13)))); _local12 = (_local12 * _local15); _local13 = (_local13 * _local15); _local16 = _local12; _local17 = _local13; _local14 = _local16; _local18 = _arg2.m_R; _local16 = ((_local18.col1.x * _local14) + (_local18.col2.x * _local17)); _local17 = ((_local18.col1.y * _local14) + (_local18.col2.y * _local17)); _local19 = _local16; _local20 = _local17; _local18 = _arg4.m_R; _local14 = ((_local19 * _local18.col1.x) + (_local20 * _local18.col1.y)); _local20 = ((_local19 * _local18.col2.x) + (_local20 * _local18.col2.y)); _local19 = _local14; _local23 = Number.MAX_VALUE; _local24 = 0; while (_local24 < _local7) { _local26 = _local24; _local27 = (((_local24 + 1) < _local7)) ? (_local24 + 1) : 0; _local11 = _local8[_local27]; _local28 = _local11.x; _local29 = _local11.y; _local11 = _local8[_local26]; _local28 = (_local28 - _local11.x); _local29 = (_local29 - _local11.y); _local14 = _local28; _local28 = _local29; _local29 = -(_local14); _local15 = (1 / Math.sqrt(((_local28 * _local28) + (_local29 * _local29)))); _local28 = (_local28 * _local15); _local29 = (_local29 * _local15); _local30 = ((_local28 * _local19) + (_local29 * _local20)); if (_local30 < _local23){ _local23 = _local30; _local21 = _local26; _local22 = _local27; }; _local24++; }; _local25 = _arg1[0]; _local11 = _local25.v; _local11.SetV(_local8[_local21]); _local11.MulM(_arg4.m_R); _local11.Add(_arg4.m_position); _local25.id.features.referenceFace = _arg3; _local25.id.features.incidentEdge = _local21; _local25.id.features.incidentVertex = _local21; _local25 = _arg1[1]; _local11 = _local25.v; _local11.SetV(_local8[_local22]); _local11.MulM(_arg4.m_R); _local11.Add(_arg4.m_position); _local25.id.features.referenceFace = _arg3; _local25.id.features.incidentEdge = _local21; _local25.id.features.incidentVertex = _local22; } public static function b2CollidePolyAndCircle(_arg1:b2Manifold, _arg2:b2PolyShape, _arg3:b2CircleShape, _arg4:Boolean):void{ var _local5:b2ContactPoint; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:b2Mat22; var _local11:Number; var _local12:Number; var _local13:int; var _local14:Number; var _local15:Number; var _local16:int; var _local17:int; var _local18:int; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:b2Vec2; _arg1.pointCount = 0; _local8 = (_arg3.m_position.x - _arg2.m_position.x); _local9 = (_arg3.m_position.y - _arg2.m_position.y); _local10 = _arg2.m_R; _local11 = ((_local8 * _local10.col1.x) + (_local9 * _local10.col1.y)); _local9 = ((_local8 * _local10.col2.x) + (_local9 * _local10.col2.y)); _local8 = _local11; _local13 = 0; _local14 = -(Number.MAX_VALUE); _local15 = _arg3.m_radius; _local16 = 0; while (_local16 < _arg2.m_vertexCount) { _local25 = ((_arg2.m_normals[_local16].x * (_local8 - _arg2.m_vertices[_local16].x)) + (_arg2.m_normals[_local16].y * (_local9 - _arg2.m_vertices[_local16].y))); if (_local25 > _local15){ return; }; if (_local25 > _local14){ _local14 = _local25; _local13 = _local16; }; _local16++; }; if (_local14 < Number.MIN_VALUE){ _arg1.pointCount = 1; _local26 = _arg2.m_normals[_local13]; _arg1.normal.x = ((_local10.col1.x * _local26.x) + (_local10.col2.x * _local26.y)); _arg1.normal.y = ((_local10.col1.y * _local26.x) + (_local10.col2.y * _local26.y)); _local5 = _arg1.points[0]; _local5.id.features.incidentEdge = _local13; _local5.id.features.incidentVertex = b2_nullFeature; _local5.id.features.referenceFace = b2_nullFeature; _local5.id.features.flip = 0; _local5.position.x = (_arg3.m_position.x - (_local15 * _arg1.normal.x)); _local5.position.y = (_arg3.m_position.y - (_local15 * _arg1.normal.y)); _local5.separation = (_local14 - _local15); return; }; _local17 = _local13; _local18 = (((_local17 + 1) < _arg2.m_vertexCount)) ? (_local17 + 1) : 0; _local19 = (_arg2.m_vertices[_local18].x - _arg2.m_vertices[_local17].x); _local20 = (_arg2.m_vertices[_local18].y - _arg2.m_vertices[_local17].y); _local21 = Math.sqrt(((_local19 * _local19) + (_local20 * _local20))); _local19 = (_local19 / _local21); _local20 = (_local20 / _local21); if (_local21 < Number.MIN_VALUE){ _local6 = (_local8 - _arg2.m_vertices[_local17].x); _local7 = (_local9 - _arg2.m_vertices[_local17].y); _local12 = Math.sqrt(((_local6 * _local6) + (_local7 * _local7))); _local6 = (_local6 / _local12); _local7 = (_local7 / _local12); if (_local12 > _local15){ return; }; _arg1.pointCount = 1; _arg1.normal.Set(((_local10.col1.x * _local6) + (_local10.col2.x * _local7)), ((_local10.col1.y * _local6) + (_local10.col2.y * _local7))); _local5 = _arg1.points[0]; _local5.id.features.incidentEdge = b2_nullFeature; _local5.id.features.incidentVertex = _local17; _local5.id.features.referenceFace = b2_nullFeature; _local5.id.features.flip = 0; _local5.position.x = (_arg3.m_position.x - (_local15 * _arg1.normal.x)); _local5.position.y = (_arg3.m_position.y - (_local15 * _arg1.normal.y)); _local5.separation = (_local12 - _local15); return; }; _local22 = (((_local8 - _arg2.m_vertices[_local17].x) * _local19) + ((_local9 - _arg2.m_vertices[_local17].y) * _local20)); _local5 = _arg1.points[0]; _local5.id.features.incidentEdge = b2_nullFeature; _local5.id.features.incidentVertex = b2_nullFeature; _local5.id.features.referenceFace = b2_nullFeature; _local5.id.features.flip = 0; if (_local22 <= 0){ _local23 = _arg2.m_vertices[_local17].x; _local24 = _arg2.m_vertices[_local17].y; _local5.id.features.incidentVertex = _local17; } else { if (_local22 >= _local21){ _local23 = _arg2.m_vertices[_local18].x; _local24 = _arg2.m_vertices[_local18].y; _local5.id.features.incidentVertex = _local18; } else { _local23 = ((_local19 * _local22) + _arg2.m_vertices[_local17].x); _local24 = ((_local20 * _local22) + _arg2.m_vertices[_local17].y); _local5.id.features.incidentEdge = _local17; }; }; _local6 = (_local8 - _local23); _local7 = (_local9 - _local24); _local12 = Math.sqrt(((_local6 * _local6) + (_local7 * _local7))); _local6 = (_local6 / _local12); _local7 = (_local7 / _local12); if (_local12 > _local15){ return; }; _arg1.pointCount = 1; _arg1.normal.Set(((_local10.col1.x * _local6) + (_local10.col2.x * _local7)), ((_local10.col1.y * _local6) + (_local10.col2.y * _local7))); _local5.position.x = (_arg3.m_position.x - (_local15 * _arg1.normal.x)); _local5.position.y = (_arg3.m_position.y - (_local15 * _arg1.normal.y)); _local5.separation = (_local12 - _local15); } public static function FindMaxSeparation(_arg1:Array, _arg2:b2PolyShape, _arg3:b2PolyShape, _arg4:Boolean):Number{ var _local5:int; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:int; var _local11:Number; var _local12:int; var _local13:Number; var _local14:int; var _local15:Number; var _local16:int; var _local17:Number; var _local18:int; var _local19:Number; var _local20:int; var _local21:Number; _local5 = _arg2.m_vertexCount; _local6 = (_arg3.m_position.x - _arg2.m_position.x); _local7 = (_arg3.m_position.y - _arg2.m_position.y); _local8 = ((_local6 * _arg2.m_R.col1.x) + (_local7 * _arg2.m_R.col1.y)); _local9 = ((_local6 * _arg2.m_R.col2.x) + (_local7 * _arg2.m_R.col2.y)); _local10 = 0; _local11 = -(Number.MAX_VALUE); _local12 = 0; while (_local12 < _local5) { _local21 = ((_arg2.m_normals[_local12].x * _local8) + (_arg2.m_normals[_local12].y * _local9)); if (_local21 > _local11){ _local11 = _local21; _local10 = _local12; }; _local12++; }; _local13 = EdgeSeparation(_arg2, _local10, _arg3); if ((((_local13 > 0)) && ((_arg4 == false)))){ return (_local13); }; _local14 = (((_local10 - 1) >= 0)) ? (_local10 - 1) : (_local5 - 1); _local15 = EdgeSeparation(_arg2, _local14, _arg3); if ((((_local15 > 0)) && ((_arg4 == false)))){ return (_local15); }; _local16 = (((_local10 + 1) < _local5)) ? (_local10 + 1) : 0; _local17 = EdgeSeparation(_arg2, _local16, _arg3); if ((((_local17 > 0)) && ((_arg4 == false)))){ return (_local17); }; if ((((_local15 > _local13)) && ((_local15 > _local17)))){ _local20 = -1; _local18 = _local14; _local19 = _local15; } else { if (_local17 > _local13){ _local20 = 1; _local18 = _local16; _local19 = _local17; } else { _arg1[0] = _local10; return (_local13); }; }; while (true) { if (_local20 == -1){ _local10 = (((_local18 - 1) >= 0)) ? (_local18 - 1) : (_local5 - 1); } else { _local10 = (((_local18 + 1) < _local5)) ? (_local18 + 1) : 0; }; _local13 = EdgeSeparation(_arg2, _local10, _arg3); if ((((_local13 > 0)) && ((_arg4 == false)))){ return (_local13); }; if (_local13 > _local19){ _local18 = _local10; _local19 = _local13; } else { break; }; }; _arg1[0] = _local18; return (_local19); } public static function ClipSegmentToLine(_arg1:Array, _arg2:Array, _arg3:b2Vec2, _arg4:Number):int{ var _local5:int; var _local6:b2Vec2; var _local7:b2Vec2; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:b2Vec2; _local5 = 0; _local6 = _arg2[0].v; _local7 = _arg2[1].v; _local8 = (b2Math.b2Dot(_arg3, _arg2[0].v) - _arg4); _local9 = (b2Math.b2Dot(_arg3, _arg2[1].v) - _arg4); if (_local8 <= 0){ var _temp1 = _local5; _local5 = (_local5 + 1); var _local12 = _temp1; _arg1[_local12] = _arg2[0]; }; if (_local9 <= 0){ var _temp2 = _local5; _local5 = (_local5 + 1); _local12 = _temp2; _arg1[_local12] = _arg2[1]; }; if ((_local8 * _local9) < 0){ _local10 = (_local8 / (_local8 - _local9)); _local11 = _arg1[_local5].v; _local11.x = (_local6.x + (_local10 * (_local7.x - _local6.x))); _local11.y = (_local6.y + (_local10 * (_local7.y - _local6.y))); if (_local8 > 0){ _arg1[_local5].id = _arg2[0].id; } else { _arg1[_local5].id = _arg2[1].id; }; _local5++; }; return (_local5); } public static function b2CollidePoly(_arg1:b2Manifold, _arg2:b2PolyShape, _arg3:b2PolyShape, _arg4:Boolean):void{ var _local5:int; var _local6:Array; var _local7:Number; var _local8:int; var _local9:Array; var _local10:Number; var _local11:b2PolyShape; var _local12:b2PolyShape; var _local13:int; var _local14:int; var _local15:Number; var _local16:Number; var _local17:Array; var _local18:int; var _local19:Array; var _local20:b2Vec2; var _local21:b2Vec2; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:b2Mat22; 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:Array; var _local39:Array; var _local40:int; var _local41:int; var _local42:int; var _local43:b2Vec2; var _local44:Number; var _local45:b2ContactPoint; _arg1.pointCount = 0; _local5 = 0; _local6 = [_local5]; _local7 = FindMaxSeparation(_local6, _arg2, _arg3, _arg4); _local5 = _local6[0]; if ((((_local7 > 0)) && ((_arg4 == false)))){ return; }; _local8 = 0; _local9 = [_local8]; _local10 = FindMaxSeparation(_local9, _arg3, _arg2, _arg4); _local8 = _local9[0]; if ((((_local10 > 0)) && ((_arg4 == false)))){ return; }; _local15 = 0.98; _local16 = 0.001; if (_local10 > ((_local15 * _local7) + _local16)){ _local11 = _arg3; _local12 = _arg2; _local13 = _local8; _local14 = 1; } else { _local11 = _arg2; _local12 = _arg3; _local13 = _local5; _local14 = 0; }; _local17 = [new ClipVertex(), new ClipVertex()]; FindIncidentEdge(_local17, _local11, _local13, _local12); _local18 = _local11.m_vertexCount; _local19 = _local11.m_vertices; _local20 = _local19[_local13]; _local21 = (((_local13 + 1) < _local18)) ? _local19[(_local13 + 1)] : _local19[0]; _local22 = (_local21.x - _local20.x); _local23 = (_local21.y - _local20.y); _local24 = (_local21.x - _local20.x); _local25 = (_local21.y - _local20.y); _local26 = _local24; _local27 = _local11.m_R; _local24 = ((_local27.col1.x * _local26) + (_local27.col2.x * _local25)); _local25 = ((_local27.col1.y * _local26) + (_local27.col2.y * _local25)); _local28 = (1 / Math.sqrt(((_local24 * _local24) + (_local25 * _local25)))); _local24 = (_local24 * _local28); _local25 = (_local25 * _local28); _local29 = _local24; _local30 = _local25; _local26 = _local29; _local29 = _local30; _local30 = -(_local26); _local31 = _local20.x; _local32 = _local20.y; _local26 = _local31; _local27 = _local11.m_R; _local31 = ((_local27.col1.x * _local26) + (_local27.col2.x * _local32)); _local32 = ((_local27.col1.y * _local26) + (_local27.col2.y * _local32)); _local31 = (_local31 + _local11.m_position.x); _local32 = (_local32 + _local11.m_position.y); _local33 = _local21.x; _local34 = _local21.y; _local26 = _local33; _local27 = _local11.m_R; _local33 = ((_local27.col1.x * _local26) + (_local27.col2.x * _local34)); _local34 = ((_local27.col1.y * _local26) + (_local27.col2.y * _local34)); _local33 = (_local33 + _local11.m_position.x); _local34 = (_local34 + _local11.m_position.y); _local35 = ((_local29 * _local31) + (_local30 * _local32)); _local36 = -(((_local24 * _local31) + (_local25 * _local32))); _local37 = ((_local24 * _local33) + (_local25 * _local34)); _local38 = [new ClipVertex(), new ClipVertex()]; _local39 = [new ClipVertex(), new ClipVertex()]; b2CollidePolyTempVec.Set(-(_local24), -(_local25)); _local40 = ClipSegmentToLine(_local38, _local17, b2CollidePolyTempVec, _local36); if (_local40 < 2){ return; }; b2CollidePolyTempVec.Set(_local24, _local25); _local40 = ClipSegmentToLine(_local39, _local38, b2CollidePolyTempVec, _local37); if (_local40 < 2){ return; }; if (_local14){ _arg1.normal.Set(-(_local29), -(_local30)); } else { _arg1.normal.Set(_local29, _local30); }; _local41 = 0; _local42 = 0; while (_local42 < b2Settings.b2_maxManifoldPoints) { _local43 = _local39[_local42].v; _local44 = (((_local29 * _local43.x) + (_local30 * _local43.y)) - _local35); if ((((_local44 <= 0)) || ((_arg4 == true)))){ _local45 = _arg1.points[_local41]; _local45.separation = _local44; _local45.position.SetV(_local39[_local42].v); _local45.id.Set(_local39[_local42].id); _local45.id.features.flip = _local14; _local41++; }; _local42++; }; _arg1.pointCount = _local41; } public static function b2CollideCircle(_arg1:b2Manifold, _arg2:b2CircleShape, _arg3:b2CircleShape, _arg4:Boolean):void{ var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:b2ContactPoint; var _local11:Number; var _local12:Number; _arg1.pointCount = 0; _local5 = (_arg3.m_position.x - _arg2.m_position.x); _local6 = (_arg3.m_position.y - _arg2.m_position.y); _local7 = ((_local5 * _local5) + (_local6 * _local6)); _local8 = (_arg2.m_radius + _arg3.m_radius); if ((((_local7 > (_local8 * _local8))) && ((_arg4 == false)))){ return; }; if (_local7 < Number.MIN_VALUE){ _local9 = -(_local8); _arg1.normal.Set(0, 1); } else { _local11 = Math.sqrt(_local7); _local9 = (_local11 - _local8); _local12 = (1 / _local11); _arg1.normal.x = (_local12 * _local5); _arg1.normal.y = (_local12 * _local6); }; _arg1.pointCount = 1; _local10 = _arg1.points[0]; _local10.id.key = 0; _local10.separation = _local9; _local10.position.x = (_arg3.m_position.x - (_arg3.m_radius * _arg1.normal.x)); _local10.position.y = (_arg3.m_position.y - (_arg3.m_radius * _arg1.normal.y)); } } }//package Box2D.Collision
Section 15
//b2ContactID (Box2D.Collision.b2ContactID) package Box2D.Collision { public class b2ContactID { public var _key:uint; public var features:Features; public function b2ContactID(){ features = new Features(); super(); features._m_id = this; } public function Set(_arg1:b2ContactID):void{ key = _arg1._key; } public function Copy():b2ContactID{ var _local1:b2ContactID; _local1 = new b2ContactID(); _local1.key = key; return (_local1); } public function get key():uint{ return (_key); } public function set key(_arg1:uint):void{ _key = _arg1; features._referenceFace = (_key & 0xFF); features._incidentEdge = (((_key & 0xFF00) >> 8) & 0xFF); features._incidentVertex = (((_key & 0xFF0000) >> 16) & 0xFF); features._flip = (((_key & 4278190080) >> 24) & 0xFF); } } }//package Box2D.Collision
Section 16
//b2ContactPoint (Box2D.Collision.b2ContactPoint) package Box2D.Collision { import Box2D.Common.Math.*; public class b2ContactPoint { public var separation:Number; public var position:b2Vec2; public var normalImpulse:Number; public var tangentImpulse:Number; public var id:b2ContactID; public function b2ContactPoint(){ position = new b2Vec2(); id = new b2ContactID(); super(); } } }//package Box2D.Collision
Section 17
//b2Manifold (Box2D.Collision.b2Manifold) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2Manifold { public var points:Array; public var pointCount:int; public var normal:b2Vec2; public function b2Manifold(){ var _local1:int; super(); points = new Array(b2Settings.b2_maxManifoldPoints); _local1 = 0; while (_local1 < b2Settings.b2_maxManifoldPoints) { points[_local1] = new b2ContactPoint(); _local1++; }; normal = new b2Vec2(); } } }//package Box2D.Collision
Section 18
//b2OBB (Box2D.Collision.b2OBB) package Box2D.Collision { import Box2D.Common.Math.*; public class b2OBB { public var R:b2Mat22; public var center:b2Vec2; public var extents:b2Vec2; public function b2OBB(){ R = new b2Mat22(); center = new b2Vec2(); extents = new b2Vec2(); super(); } } }//package Box2D.Collision
Section 19
//b2Pair (Box2D.Collision.b2Pair) package Box2D.Collision { public class b2Pair { public var userData;// = null public var proxyId1:uint; public var proxyId2:uint; public var status:uint; public var next:uint; public static var e_pairFinal:uint = 4; public static var b2_tableMask:int = (b2_tableCapacity - 1); public static var e_pairRemoved:uint = 2; public static var b2_nullPair:uint = 0xFFFF; public static var e_pairBuffered:uint = 1; public static var b2_nullProxy:uint = 0xFFFF; public static var b2_tableCapacity:int = 8192; public function b2Pair(){ userData = null; super(); } public function SetBuffered():void{ status = (status | e_pairBuffered); } public function IsBuffered():Boolean{ return (((status & e_pairBuffered) == e_pairBuffered)); } public function IsFinal():Boolean{ return (((status & e_pairFinal) == e_pairFinal)); } public function ClearRemoved():void{ status = (status & ~(e_pairRemoved)); } public function SetFinal():void{ status = (status | e_pairFinal); } public function IsRemoved():Boolean{ return (((status & e_pairRemoved) == e_pairRemoved)); } public function ClearBuffered():void{ status = (status & ~(e_pairBuffered)); } public function SetRemoved():void{ status = (status | e_pairRemoved); } } }//package Box2D.Collision
Section 20
//b2PairCallback (Box2D.Collision.b2PairCallback) package Box2D.Collision { public class b2PairCallback { public function PairRemoved(_arg1, _arg2, _arg3):void{ } public function PairAdded(_arg1, _arg2){ return (null); } } }//package Box2D.Collision
Section 21
//b2PairManager (Box2D.Collision.b2PairManager) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2PairManager { public var m_pairCount:int; public var m_pairBuffer:Array; public var m_callback:b2PairCallback; public var m_pairs:Array; public var m_pairBufferCount:int; public var m_hashTable:Array; public var m_broadPhase:b2BroadPhase; public var m_freePair:uint; public function b2PairManager(){ var _local1:uint; super(); m_hashTable = new Array(b2Pair.b2_tableCapacity); _local1 = 0; while (_local1 < b2Pair.b2_tableCapacity) { m_hashTable[_local1] = b2Pair.b2_nullPair; _local1++; }; m_pairs = new Array(b2Settings.b2_maxPairs); _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairs[_local1] = new b2Pair(); _local1++; }; m_pairBuffer = new Array(b2Settings.b2_maxPairs); _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairBuffer[_local1] = new b2BufferedPair(); _local1++; }; _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairs[_local1].proxyId1 = b2Pair.b2_nullProxy; m_pairs[_local1].proxyId2 = b2Pair.b2_nullProxy; m_pairs[_local1].userData = null; m_pairs[_local1].status = 0; m_pairs[_local1].next = (_local1 + 1); _local1++; }; m_pairs[(b2Settings.b2_maxPairs - 1)].next = b2Pair.b2_nullPair; m_pairCount = 0; } private function FindHash(_arg1:uint, _arg2:uint, _arg3:uint):b2Pair{ var _local4:uint; _local4 = m_hashTable[_arg3]; while (((!((_local4 == b2Pair.b2_nullPair))) && ((Equals(m_pairs[_local4], _arg1, _arg2) == false)))) { _local4 = m_pairs[_local4].next; }; if (_local4 == b2Pair.b2_nullPair){ return (null); }; return (m_pairs[_local4]); } private function Find(_arg1:uint, _arg2:uint):b2Pair{ var _local3:uint; var _local4:uint; if (_arg1 > _arg2){ _local4 = _arg1; _arg1 = _arg2; _arg2 = _local4; }; _local3 = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); return (FindHash(_arg1, _arg2, _local3)); } private function ValidateBuffer():void{ } public function Commit():void{ var _local1:int; var _local2:int; var _local3:Array; var _local4:b2Pair; var _local5:b2Proxy; var _local6:b2Proxy; _local2 = 0; _local3 = m_broadPhase.m_proxyPool; _local1 = 0; while (_local1 < m_pairBufferCount) { _local4 = Find(m_pairBuffer[_local1].proxyId1, m_pairBuffer[_local1].proxyId2); _local4.ClearBuffered(); _local5 = _local3[_local4.proxyId1]; _local6 = _local3[_local4.proxyId2]; if (_local4.IsRemoved()){ if (_local4.IsFinal() == true){ m_callback.PairRemoved(_local5.userData, _local6.userData, _local4.userData); }; m_pairBuffer[_local2].proxyId1 = _local4.proxyId1; m_pairBuffer[_local2].proxyId2 = _local4.proxyId2; _local2++; } else { if (_local4.IsFinal() == false){ _local4.userData = m_callback.PairAdded(_local5.userData, _local6.userData); _local4.SetFinal(); }; }; _local1++; }; _local1 = 0; while (_local1 < _local2) { RemovePair(m_pairBuffer[_local1].proxyId1, m_pairBuffer[_local1].proxyId2); _local1++; }; m_pairBufferCount = 0; if (b2BroadPhase.s_validate){ ValidateTable(); }; } public function RemoveBufferedPair(_arg1:int, _arg2:int):void{ var _local3:b2Pair; _local3 = Find(_arg1, _arg2); if (_local3 == null){ return; }; if (_local3.IsBuffered() == false){ _local3.SetBuffered(); m_pairBuffer[m_pairBufferCount].proxyId1 = _local3.proxyId1; m_pairBuffer[m_pairBufferCount].proxyId2 = _local3.proxyId2; m_pairBufferCount++; }; _local3.SetRemoved(); if (b2BroadPhase.s_validate){ ValidateBuffer(); }; } private function RemovePair(_arg1:uint, _arg2:uint){ var _local3:uint; var _local4:uint; var _local5:b2Pair; var _local6:uint; var _local7:uint; var _local8:b2Pair; var _local9:*; if (_arg1 > _arg2){ _local6 = _arg1; _arg1 = _arg2; _arg2 = _local6; }; _local3 = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); _local4 = m_hashTable[_local3]; _local5 = null; while (_local4 != b2Pair.b2_nullPair) { if (Equals(m_pairs[_local4], _arg1, _arg2)){ _local7 = _local4; if (_local5){ _local5.next = m_pairs[_local4].next; } else { m_hashTable[_local3] = m_pairs[_local4].next; }; _local8 = m_pairs[_local7]; _local9 = _local8.userData; _local8.next = m_freePair; _local8.proxyId1 = b2Pair.b2_nullProxy; _local8.proxyId2 = b2Pair.b2_nullProxy; _local8.userData = null; _local8.status = 0; m_freePair = _local7; m_pairCount--; return (_local9); } else { _local5 = m_pairs[_local4]; _local4 = _local5.next; }; }; return (null); } public function Initialize(_arg1:b2BroadPhase, _arg2:b2PairCallback):void{ m_broadPhase = _arg1; m_callback = _arg2; } public function AddBufferedPair(_arg1:int, _arg2:int):void{ var _local3:b2Pair; _local3 = AddPair(_arg1, _arg2); if (_local3.IsBuffered() == false){ _local3.SetBuffered(); m_pairBuffer[m_pairBufferCount].proxyId1 = _local3.proxyId1; m_pairBuffer[m_pairBufferCount].proxyId2 = _local3.proxyId2; m_pairBufferCount++; }; _local3.ClearRemoved(); if (b2BroadPhase.s_validate){ ValidateBuffer(); }; } private function AddPair(_arg1:uint, _arg2:uint):b2Pair{ var _local3:uint; var _local4:b2Pair; var _local5:uint; var _local6:uint; if (_arg1 > _arg2){ _local6 = _arg1; _arg1 = _arg2; _arg2 = _local6; }; _local3 = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); _local4 = FindHash(_arg1, _arg2, _local3); if (_local4 != null){ return (_local4); }; _local5 = m_freePair; _local4 = m_pairs[_local5]; m_freePair = _local4.next; _local4.proxyId1 = _arg1; _local4.proxyId2 = _arg2; _local4.status = 0; _local4.userData = null; _local4.next = m_hashTable[_local3]; m_hashTable[_local3] = _local5; m_pairCount++; return (_local4); } private function ValidateTable():void{ } public static function EqualsPair(_arg1:b2BufferedPair, _arg2:b2BufferedPair):Boolean{ return ((((_arg1.proxyId1 == _arg2.proxyId1)) && ((_arg1.proxyId2 == _arg2.proxyId2)))); } public static function Hash(_arg1:uint, _arg2:uint):uint{ var _local3:uint; _local3 = (((_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 Equals(_arg1:b2Pair, _arg2:uint, _arg3:uint):Boolean{ return ((((_arg1.proxyId1 == _arg2)) && ((_arg1.proxyId2 == _arg3)))); } } }//package Box2D.Collision
Section 22
//b2Proxy (Box2D.Collision.b2Proxy) package Box2D.Collision { public class b2Proxy { public var overlapCount:uint; public var lowerBounds:Array; public var upperBounds:Array; public var userData;// = null public var timeStamp:uint; public function b2Proxy(){ lowerBounds = [uint(0), uint(0)]; upperBounds = [uint(0), uint(0)]; userData = null; super(); } public function GetNext():uint{ return (lowerBounds[0]); } public function IsValid():Boolean{ return (!((overlapCount == b2BroadPhase.b2_invalid))); } public function SetNext(_arg1:uint):void{ lowerBounds[0] = (_arg1 & 0xFFFF); } } }//package Box2D.Collision
Section 23
//ClipVertex (Box2D.Collision.ClipVertex) package Box2D.Collision { import Box2D.Common.Math.*; public class ClipVertex { public var v:b2Vec2; public var id:b2ContactID; public function ClipVertex(){ v = new b2Vec2(); id = new b2ContactID(); super(); } } }//package Box2D.Collision
Section 24
//Features (Box2D.Collision.Features) package Box2D.Collision { public class Features { public var _referenceFace:int; public var _incidentEdge:int; public var _flip:int; public var _incidentVertex:int; public var _m_id:b2ContactID; public function get referenceFace():int{ return (_referenceFace); } public function set incidentVertex(_arg1:int):void{ _incidentVertex = _arg1; _m_id._key = ((_m_id._key & 4278255615) | ((_incidentVertex << 16) & 0xFF0000)); } public function get flip():int{ return (_flip); } public function get incidentEdge():int{ return (_incidentEdge); } public function set referenceFace(_arg1:int):void{ _referenceFace = _arg1; _m_id._key = ((_m_id._key & 4294967040) | (_referenceFace & 0xFF)); } public function set flip(_arg1:int):void{ _flip = _arg1; _m_id._key = ((_m_id._key & 0xFFFFFF) | ((_flip << 24) & 4278190080)); } public function get incidentVertex():int{ return (_incidentVertex); } public function set incidentEdge(_arg1:int):void{ _incidentEdge = _arg1; _m_id._key = ((_m_id._key & 4294902015) | ((_incidentEdge << 8) & 0xFF00)); } } }//package Box2D.Collision
Section 25
//b2Mat22 (Box2D.Common.Math.b2Mat22) package Box2D.Common.Math { public class b2Mat22 { public var col1:b2Vec2; public var col2:b2Vec2; public function b2Mat22(_arg1:Number=0, _arg2:b2Vec2=null, _arg3:b2Vec2=null){ var _local4:Number; var _local5:Number; col1 = new b2Vec2(); col2 = new b2Vec2(); super(); if (((!((_arg2 == null))) && (!((_arg3 == null))))){ col1.SetV(_arg2); col2.SetV(_arg3); } else { _local4 = Math.cos(_arg1); _local5 = Math.sin(_arg1); col1.x = _local4; col2.x = -(_local5); col1.y = _local5; col2.y = _local4; }; } public function SetIdentity():void{ col1.x = 1; col2.x = 0; col1.y = 0; col2.y = 1; } public function Set(_arg1:Number):void{ var _local2:Number; var _local3:Number; _local2 = Math.cos(_arg1); _local3 = Math.sin(_arg1); col1.x = _local2; col2.x = -(_local3); col1.y = _local3; col2.y = _local2; } public function SetVV(_arg1:b2Vec2, _arg2:b2Vec2):void{ col1.SetV(_arg1); col2.SetV(_arg2); } public function SetZero():void{ col1.x = 0; col2.x = 0; col1.y = 0; col2.y = 0; } public function SetM(_arg1:b2Mat22):void{ col1.SetV(_arg1.col1); col2.SetV(_arg1.col2); } public function AddM(_arg1:b2Mat22):void{ col1.x = (col1.x + _arg1.col1.x); col1.y = (col1.y + _arg1.col1.y); col2.x = (col2.x + _arg1.col2.x); col2.y = (col2.y + _arg1.col2.y); } public function Abs():void{ col1.Abs(); col2.Abs(); } public function Copy():b2Mat22{ return (new b2Mat22(0, col1, col2)); } public function Invert(_arg1:b2Mat22):b2Mat22{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; _local2 = col1.x; _local3 = col2.x; _local4 = col1.y; _local5 = col2.y; _local6 = ((_local2 * _local5) - (_local3 * _local4)); _local6 = (1 / _local6); _arg1.col1.x = (_local6 * _local5); _arg1.col2.x = (-(_local6) * _local3); _arg1.col1.y = (-(_local6) * _local4); _arg1.col2.y = (_local6 * _local2); return (_arg1); } public function Solve(_arg1:b2Vec2, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local4 = col1.x; _local5 = col2.x; _local6 = col1.y; _local7 = col2.y; _local8 = ((_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 26
//b2Math (Box2D.Common.Math.b2Math) package Box2D.Common.Math { public class b2Math { public static function b2CrossVF(_arg1:b2Vec2, _arg2:Number):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((_arg2 * _arg1.y), (-(_arg2) * _arg1.x)); return (_local3); } public static function AddVV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((_arg1.x + _arg2.x), (_arg1.y + _arg2.y)); return (_local3); } public static function b2IsValid(_arg1:Number):Boolean{ return (isFinite(_arg1)); } public static function b2Swap(_arg1:Array, _arg2:Array):void{ var _local3:*; _local3 = _arg1[0]; _arg1[0] = _arg2[0]; _arg2[0] = _local3; } public static function b2Abs(_arg1:Number):Number{ return (((_arg1 > 0)) ? _arg1 : -(_arg1)); } public static function b2AbsM(_arg1:b2Mat22):b2Mat22{ var _local2:b2Mat22; _local2 = new b2Mat22(0, b2AbsV(_arg1.col1), b2AbsV(_arg1.col2)); return (_local2); } public static function SubtractVV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((_arg1.x - _arg2.x), (_arg1.y - _arg2.y)); return (_local3); } public static function b2CrossVV(_arg1:b2Vec2, _arg2:b2Vec2):Number{ return (((_arg1.x * _arg2.y) - (_arg1.y * _arg2.x))); } public static function b2Clamp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return (b2Max(_arg2, b2Min(_arg1, _arg3))); } public static function b2AbsV(_arg1:b2Vec2):b2Vec2{ var _local2:b2Vec2; _local2 = new b2Vec2(b2Abs(_arg1.x), b2Abs(_arg1.y)); return (_local2); } public static function b2MinV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(b2Min(_arg1.x, _arg2.x), b2Min(_arg1.y, _arg2.y)); return (_local3); } public static function b2Dot(_arg1:b2Vec2, _arg2:b2Vec2):Number{ return (((_arg1.x * _arg2.x) + (_arg1.y * _arg2.y))); } public static function b2CrossFV(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((-(_arg1) * _arg2.y), (_arg1 * _arg2.x)); return (_local3); } public static function AddMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Mat22; _local3 = new b2Mat22(0, AddVV(_arg1.col1, _arg2.col1), AddVV(_arg1.col2, _arg2.col2)); return (_local3); } public static function b2MulTMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Vec2; var _local4:b2Vec2; var _local5:b2Mat22; _local3 = new b2Vec2(b2Dot(_arg1.col1, _arg2.col1), b2Dot(_arg1.col2, _arg2.col1)); _local4 = new b2Vec2(b2Dot(_arg1.col1, _arg2.col2), b2Dot(_arg1.col2, _arg2.col2)); _local5 = new b2Mat22(0, _local3, _local4); return (_local5); } public static function b2MaxV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(b2Max(_arg1.x, _arg2.x), b2Max(_arg1.y, _arg2.y)); return (_local3); } public static function b2IsPowerOfTwo(_arg1:uint):Boolean{ var _local2:Boolean; _local2 = (((_arg1 > 0)) && (((_arg1 & (_arg1 - 1)) == 0))); return (_local2); } public static function b2ClampV(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Vec2):b2Vec2{ return (b2MaxV(_arg2, b2MinV(_arg1, _arg3))); } public static function MulFV(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((_arg1 * _arg2.x), (_arg1 * _arg2.y)); return (_local3); } public static function b2MulTMV(_arg1:b2Mat22, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(b2Dot(_arg2, _arg1.col1), b2Dot(_arg2, _arg1.col2)); return (_local3); } public static function b2Min(_arg1:Number, _arg2:Number):Number{ return (((_arg1 < _arg2)) ? _arg1 : _arg2); } public static function b2Random():Number{ return (((Math.random() * 2) - 1)); } public static function b2MulMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Mat22; _local3 = new b2Mat22(0, b2MulMV(_arg1, _arg2.col1), b2MulMV(_arg1, _arg2.col2)); return (_local3); } public static function b2NextPowerOfTwo(_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 b2Max(_arg1:Number, _arg2:Number):Number{ return (((_arg1 > _arg2)) ? _arg1 : _arg2); } public static function b2MulMV(_arg1:b2Mat22, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(((_arg1.col1.x * _arg2.x) + (_arg1.col2.x * _arg2.y)), ((_arg1.col1.y * _arg2.x) + (_arg1.col2.y * _arg2.y))); return (_local3); } } }//package Box2D.Common.Math
Section 27
//b2Vec2 (Box2D.Common.Math.b2Vec2) package Box2D.Common.Math { public class b2Vec2 { public var x:Number; public var y:Number; public function b2Vec2(_arg1:Number=0, _arg2:Number=0):void{ x = _arg1; y = _arg2; } 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 Length():Number{ return (Math.sqrt(((x * x) + (y * y)))); } public function Add(_arg1:b2Vec2):void{ x = (x + _arg1.x); y = (y + _arg1.y); } public function SetZero():void{ x = 0; y = 0; } public function CrossVF(_arg1:Number):void{ var _local2:Number; _local2 = x; x = (_arg1 * y); y = (-(_arg1) * _local2); } public function MaxV(_arg1:b2Vec2):void{ x = ((x > _arg1.x)) ? x : _arg1.x; y = ((y > _arg1.y)) ? y : _arg1.y; } public function SetV(_arg1:b2Vec2):void{ x = _arg1.x; y = _arg1.y; } public function Negative():b2Vec2{ return (new b2Vec2(-(x), -(y))); } public function Abs():void{ x = Math.abs(x); y = Math.abs(y); } public function Copy():b2Vec2{ return (new b2Vec2(x, y)); } public function MulTM(_arg1:b2Mat22):void{ var _local2:Number; _local2 = b2Math.b2Dot(this, _arg1.col1); y = b2Math.b2Dot(this, _arg1.col2); x = _local2; } public function IsValid():Boolean{ return (((b2Math.b2IsValid(x)) && (b2Math.b2IsValid(y)))); } public function MinV(_arg1:b2Vec2):void{ x = ((x < _arg1.x)) ? x : _arg1.x; y = ((y < _arg1.y)) ? y : _arg1.y; } public function MulM(_arg1:b2Mat22):void{ var _local2:Number; _local2 = x; x = ((_arg1.col1.x * _local2) + (_arg1.col2.x * y)); y = ((_arg1.col1.y * _local2) + (_arg1.col2.y * y)); } public function Normalize():Number{ var _local1:Number; var _local2:Number; _local1 = Length(); if (_local1 < Number.MIN_VALUE){ return (0); }; _local2 = (1 / _local1); x = (x * _local2); y = (y * _local2); return (_local1); } public function Subtract(_arg1:b2Vec2):void{ x = (x - _arg1.x); y = (y - _arg1.y); } public function CrossFV(_arg1:Number):void{ var _local2:Number; _local2 = x; x = (-(_arg1) * y); y = (_arg1 * _local2); } public static function Make(_arg1:Number, _arg2:Number):b2Vec2{ return (new b2Vec2(_arg1, _arg2)); } } }//package Box2D.Common.Math
Section 28
//b2Settings (Box2D.Common.b2Settings) package Box2D.Common { import Box2D.Common.Math.*; public class b2Settings { public static const b2_lengthUnitsPerMeter:Number = 30; public static const b2_angularSleepTolerance:Number = 0.0111111111111111; public static const b2_linearSleepTolerance:Number = 0.3; public static const b2_angularSlop:Number = 0.0349065850398866; public static const b2_linearSlop:Number = 0.15; public static const b2_pi:Number = 3.14159265358979; public static const b2_maxShapesPerBody:int = 64; public static const b2_maxProxies:int = 0x0400; public static const b2_velocityThreshold:Number = 30; public static const b2_timeToSleep:Number = 0.5; public static const b2_contactBaumgarte:Number = 0.2; public static const b2_maxPairs:int = 8192; public static const b2_maxManifoldPoints:int = 2; public static const b2_massUnitsPerKilogram:Number = 1; public static const b2_maxAngularCorrection:Number = 0.139626340159546; public static const USHRT_MAX:int = 0xFFFF; public static const b2_maxLinearCorrection:Number = 6; public static const b2_maxPolyVertices:int = 16; public static const b2_timeUnitsPerSecond:Number = 1; public static function b2Assert(_arg1:Boolean):void{ var _local2:b2Vec2; if (!_arg1){ _local2.x++; }; } } }//package Box2D.Common
Section 29
//b2CircleContact (Box2D.Dynamics.Contacts.b2CircleContact) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2CircleContact extends b2Contact { public var m_manifold:Array; public function b2CircleContact(_arg1:b2Shape, _arg2:b2Shape){ m_manifold = [new b2Manifold()]; super(_arg1, _arg2); m_manifold[0].pointCount = 0; m_manifold[0].points[0].normalImpulse = 0; m_manifold[0].points[0].tangentImpulse = 0; } override public function GetManifolds():Array{ return (m_manifold); } override public function Evaluate():void{ b2Collision.b2CollideCircle(m_manifold[0], (m_shape1 as b2CircleShape), (m_shape2 as b2CircleShape), false); if (m_manifold[0].pointCount > 0){ m_manifoldCount = 1; } else { m_manifoldCount = 0; }; } public static function Destroy(_arg1:b2Contact, _arg2):void{ } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ return (new b2CircleContact(_arg1, _arg2)); } } }//package Box2D.Dynamics.Contacts
Section 30
//b2Contact (Box2D.Dynamics.Contacts.b2Contact) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2Contact { public var m_shape1:b2Shape; public var m_shape2:b2Shape; public var m_prev:b2Contact; public var m_next:b2Contact; public var m_friction:Number; public var m_manifoldCount:int; public var m_node1:b2ContactNode; public var m_node2:b2ContactNode; public var m_restitution:Number; public var m_flags:uint; public static var s_registers:Array; public static var s_initialized:Boolean = false; public static var e_islandFlag:uint = 1; public static var e_destroyFlag:uint = 2; public function b2Contact(_arg1:b2Shape=null, _arg2:b2Shape=null){ m_node1 = new b2ContactNode(); m_node2 = new b2ContactNode(); super(); m_flags = 0; if (((!(_arg1)) || (!(_arg2)))){ m_shape1 = null; m_shape2 = null; return; }; m_shape1 = _arg1; m_shape2 = _arg2; m_manifoldCount = 0; m_friction = Math.sqrt((m_shape1.m_friction * m_shape2.m_friction)); m_restitution = b2Math.b2Max(m_shape1.m_restitution, m_shape2.m_restitution); m_prev = null; m_next = null; m_node1.contact = null; m_node1.prev = null; m_node1.next = null; m_node1.other = null; m_node2.contact = null; m_node2.prev = null; m_node2.next = null; m_node2.other = null; } public function GetShape1():b2Shape{ return (m_shape1); } public function GetNext():b2Contact{ return (m_next); } public function GetShape2():b2Shape{ return (m_shape2); } public function GetManifoldCount():int{ return (m_manifoldCount); } public function GetManifolds():Array{ return (null); } public function Evaluate():void{ } public static function InitializeRegisters():void{ var _local1:int; var _local2:int; s_registers = new Array(b2Shape.e_shapeTypeCount); _local1 = 0; while (_local1 < b2Shape.e_shapeTypeCount) { s_registers[_local1] = new Array(b2Shape.e_shapeTypeCount); _local2 = 0; while (_local2 < b2Shape.e_shapeTypeCount) { s_registers[_local1][_local2] = new b2ContactRegister(); _local2++; }; _local1++; }; AddType(b2CircleContact.Create, b2CircleContact.Destroy, b2Shape.e_circleShape, b2Shape.e_circleShape); AddType(b2PolyAndCircleContact.Create, b2PolyAndCircleContact.Destroy, b2Shape.e_polyShape, b2Shape.e_circleShape); AddType(b2PolyContact.Create, b2PolyContact.Destroy, b2Shape.e_polyShape, b2Shape.e_polyShape); } public static function Destroy(_arg1:b2Contact, _arg2):void{ var _local3:int; var _local4:int; var _local5:*; if (_arg1.GetManifoldCount() > 0){ _arg1.m_shape1.m_body.WakeUp(); _arg1.m_shape2.m_body.WakeUp(); }; _local3 = _arg1.m_shape1.m_type; _local4 = _arg1.m_shape2.m_type; _local5 = s_registers[_local3][_local4].destroyFcn; _local5(_arg1, _arg2); } public static function AddType(_arg1, _arg2, _arg3:int, _arg4:int):void{ s_registers[_arg3][_arg4].createFcn = _arg1; s_registers[_arg3][_arg4].destroyFcn = _arg2; s_registers[_arg3][_arg4].primary = true; if (_arg3 != _arg4){ s_registers[_arg4][_arg3].createFcn = _arg1; s_registers[_arg4][_arg3].destroyFcn = _arg2; s_registers[_arg4][_arg3].primary = false; }; } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ var _local4:int; var _local5:int; var _local6:*; var _local7:b2Contact; var _local8:int; var _local9:b2Manifold; if (s_initialized == false){ InitializeRegisters(); s_initialized = true; }; _local4 = _arg1.m_type; _local5 = _arg2.m_type; _local6 = s_registers[_local4][_local5].createFcn; if (_local6){ if (s_registers[_local4][_local5].primary){ return (_local6(_arg1, _arg2, _arg3)); }; _local7 = _local6(_arg2, _arg1, _arg3); _local8 = 0; while (_local8 < _local7.GetManifoldCount()) { _local9 = _local7.GetManifolds()[_local8]; _local7.GetManifolds()[_local8].normal = _local9.normal.Negative(); _local8++; }; return (_local7); //unresolved jump }; return (null); } } }//package Box2D.Dynamics.Contacts
Section 31
//b2ContactConstraint (Box2D.Dynamics.Contacts.b2ContactConstraint) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2ContactConstraint { public var points:Array; public var restitution:Number; public var body1:b2Body; public var manifold:b2Manifold; public var normal:b2Vec2; public var body2:b2Body; public var friction:Number; public var pointCount:int; public function b2ContactConstraint(){ var _local1:int; normal = new b2Vec2(); super(); points = new Array(b2Settings.b2_maxManifoldPoints); _local1 = 0; while (_local1 < b2Settings.b2_maxManifoldPoints) { points[_local1] = new b2ContactConstraintPoint(); _local1++; }; } } }//package Box2D.Dynamics.Contacts
Section 32
//b2ContactConstraintPoint (Box2D.Dynamics.Contacts.b2ContactConstraintPoint) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; public class b2ContactConstraintPoint { public var separation:Number; public var positionImpulse:Number; public var normalImpulse:Number; public var tangentImpulse:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var tangentMass:Number; public var normalMass:Number; public var velocityBias:Number; public function b2ContactConstraintPoint(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); super(); } } }//package Box2D.Dynamics.Contacts
Section 33
//b2ContactNode (Box2D.Dynamics.Contacts.b2ContactNode) package Box2D.Dynamics.Contacts { import Box2D.Dynamics.*; public class b2ContactNode { public var next:b2ContactNode; public var other:b2Body; public var contact:b2Contact; public var prev:b2ContactNode; } }//package Box2D.Dynamics.Contacts
Section 34
//b2ContactRegister (Box2D.Dynamics.Contacts.b2ContactRegister) package Box2D.Dynamics.Contacts { public class b2ContactRegister { public var primary:Boolean; public var createFcn; public var destroyFcn; } }//package Box2D.Dynamics.Contacts
Section 35
//b2ContactSolver (Box2D.Dynamics.Contacts.b2ContactSolver) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2ContactSolver { public var m_constraintCount:int; public var m_constraints:Array; public var m_allocator; public function b2ContactSolver(_arg1:Array, _arg2:int, _arg3){ var _local4:int; var _local5:b2Vec2; var _local6:b2Mat22; var _local7:int; var _local8:b2Contact; var _local9:b2Body; var _local10:b2Body; var _local11:int; var _local12:Array; 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:int; var _local22:b2Manifold; var _local23:Number; var _local24:Number; var _local25:b2ContactConstraint; var _local26:uint; var _local27:b2ContactPoint; var _local28:b2ContactConstraintPoint; 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 _local39:Number; var _local40:Number; var _local41:Number; var _local42:Number; var _local43:Number; var _local44:Number; var _local45:Number; m_constraints = new Array(); super(); m_allocator = _arg3; m_constraintCount = 0; _local4 = 0; while (_local4 < _arg2) { m_constraintCount = (m_constraintCount + _arg1[_local4].GetManifoldCount()); _local4++; }; _local4 = 0; while (_local4 < m_constraintCount) { m_constraints[_local4] = new b2ContactConstraint(); _local4++; }; _local7 = 0; _local4 = 0; while (_local4 < _arg2) { _local8 = _arg1[_local4]; _local9 = _local8.m_shape1.m_body; _local10 = _local8.m_shape2.m_body; _local11 = _local8.GetManifoldCount(); _local12 = _local8.GetManifolds(); _local13 = _local8.m_friction; _local14 = _local8.m_restitution; _local15 = _local9.m_linearVelocity.x; _local16 = _local9.m_linearVelocity.y; _local17 = _local10.m_linearVelocity.x; _local18 = _local10.m_linearVelocity.y; _local19 = _local9.m_angularVelocity; _local20 = _local10.m_angularVelocity; _local21 = 0; while (_local21 < _local11) { _local22 = _local12[_local21]; _local23 = _local22.normal.x; _local24 = _local22.normal.y; _local25 = m_constraints[_local7]; _local25.body1 = _local9; _local25.body2 = _local10; _local25.manifold = _local22; _local25.normal.x = _local23; _local25.normal.y = _local24; _local25.pointCount = _local22.pointCount; _local25.friction = _local13; _local25.restitution = _local14; _local26 = 0; while (_local26 < _local25.pointCount) { _local27 = _local22.points[_local26]; _local28 = _local25.points[_local26]; _local28.normalImpulse = _local27.normalImpulse; _local28.tangentImpulse = _local27.tangentImpulse; _local28.separation = _local27.separation; _local29 = (_local27.position.x - _local9.m_position.x); _local30 = (_local27.position.y - _local9.m_position.y); _local31 = (_local27.position.x - _local10.m_position.x); _local32 = (_local27.position.y - _local10.m_position.y); _local5 = _local28.localAnchor1; _local6 = _local9.m_R; _local5.x = ((_local29 * _local6.col1.x) + (_local30 * _local6.col1.y)); _local5.y = ((_local29 * _local6.col2.x) + (_local30 * _local6.col2.y)); _local5 = _local28.localAnchor2; _local6 = _local10.m_R; _local5.x = ((_local31 * _local6.col1.x) + (_local32 * _local6.col1.y)); _local5.y = ((_local31 * _local6.col2.x) + (_local32 * _local6.col2.y)); _local33 = ((_local29 * _local29) + (_local30 * _local30)); _local34 = ((_local31 * _local31) + (_local32 * _local32)); _local35 = ((_local29 * _local23) + (_local30 * _local24)); _local36 = ((_local31 * _local23) + (_local32 * _local24)); _local37 = (_local9.m_invMass + _local10.m_invMass); _local37 = (_local37 + ((_local9.m_invI * (_local33 - (_local35 * _local35))) + (_local10.m_invI * (_local34 - (_local36 * _local36))))); _local28.normalMass = (1 / _local37); _local38 = _local24; _local39 = -(_local23); _local40 = ((_local29 * _local38) + (_local30 * _local39)); _local41 = ((_local31 * _local38) + (_local32 * _local39)); _local42 = (_local9.m_invMass + _local10.m_invMass); _local42 = (_local42 + ((_local9.m_invI * (_local33 - (_local40 * _local40))) + (_local10.m_invI * (_local34 - (_local41 * _local41))))); _local28.tangentMass = (1 / _local42); _local28.velocityBias = 0; if (_local28.separation > 0){ _local28.velocityBias = (-60 * _local28.separation); }; _local43 = (((_local17 + (-(_local20) * _local32)) - _local15) - (-(_local19) * _local30)); _local44 = (((_local18 + (_local20 * _local31)) - _local16) - (_local19 * _local29)); _local45 = ((_local25.normal.x * _local43) + (_local25.normal.y * _local44)); if (_local45 < -(b2Settings.b2_velocityThreshold)){ _local28.velocityBias = (_local28.velocityBias + (-(_local25.restitution) * _local45)); }; _local26++; }; _local7++; _local21++; }; _local4++; }; } public function SolvePositionConstraints(_arg1:Number):Boolean{ var _local2:Number; var _local3:b2Mat22; var _local4:b2Vec2; var _local5:int; var _local6:b2ContactConstraint; var _local7:b2Body; var _local8:b2Body; 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:Number; var _local20:Number; var _local21:int; var _local22:int; var _local23:b2ContactConstraintPoint; 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 _local39:Number; _local2 = 0; _local5 = 0; while (_local5 < m_constraintCount) { _local6 = m_constraints[_local5]; _local7 = _local6.body1; _local8 = _local6.body2; _local9 = _local7.m_position; _local10 = _local7.m_rotation; _local11 = _local8.m_position; _local12 = _local8.m_rotation; _local13 = _local7.m_invMass; _local14 = _local7.m_invI; _local15 = _local8.m_invMass; _local16 = _local8.m_invI; _local17 = _local6.normal.x; _local18 = _local6.normal.y; _local19 = _local18; _local20 = -(_local17); _local21 = _local6.pointCount; _local22 = 0; while (_local22 < _local21) { _local23 = _local6.points[_local22]; _local3 = _local7.m_R; _local4 = _local23.localAnchor1; _local24 = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); _local25 = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); _local3 = _local8.m_R; _local4 = _local23.localAnchor2; _local26 = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); _local27 = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); _local28 = (_local9.x + _local24); _local29 = (_local9.y + _local25); _local30 = (_local11.x + _local26); _local31 = (_local11.y + _local27); _local32 = (_local30 - _local28); _local33 = (_local31 - _local29); _local34 = (((_local32 * _local17) + (_local33 * _local18)) + _local23.separation); _local2 = b2Math.b2Min(_local2, _local34); _local35 = (_arg1 * b2Math.b2Clamp((_local34 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0)); _local36 = (-(_local23.normalMass) * _local35); _local37 = _local23.positionImpulse; _local23.positionImpulse = b2Math.b2Max((_local37 + _local36), 0); _local36 = (_local23.positionImpulse - _local37); _local38 = (_local36 * _local17); _local39 = (_local36 * _local18); _local9.x = (_local9.x - (_local13 * _local38)); _local9.y = (_local9.y - (_local13 * _local39)); _local10 = (_local10 - (_local14 * ((_local24 * _local39) - (_local25 * _local38)))); _local7.m_R.Set(_local10); _local11.x = (_local11.x + (_local15 * _local38)); _local11.y = (_local11.y + (_local15 * _local39)); _local12 = (_local12 + (_local16 * ((_local26 * _local39) - (_local27 * _local38)))); _local8.m_R.Set(_local12); _local22++; }; _local7.m_rotation = _local10; _local8.m_rotation = _local12; _local5++; }; return ((_local2 >= -(b2Settings.b2_linearSlop))); } public function SolveVelocityConstraints():void{ var _local1:int; var _local2:b2ContactConstraintPoint; 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:b2Mat22; var _local14:b2Vec2; var _local15:int; var _local16:b2ContactConstraint; var _local17:b2Body; var _local18:b2Body; var _local19:Number; var _local20:b2Vec2; var _local21:Number; var _local22:b2Vec2; 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:int; var _local32:Number; var _local33:Number; var _local34:Number; _local15 = 0; while (_local15 < m_constraintCount) { _local16 = m_constraints[_local15]; _local17 = _local16.body1; _local18 = _local16.body2; _local19 = _local17.m_angularVelocity; _local20 = _local17.m_linearVelocity; _local21 = _local18.m_angularVelocity; _local22 = _local18.m_linearVelocity; _local23 = _local17.m_invMass; _local24 = _local17.m_invI; _local25 = _local18.m_invMass; _local26 = _local18.m_invI; _local27 = _local16.normal.x; _local28 = _local16.normal.y; _local29 = _local28; _local30 = -(_local27); _local31 = _local16.pointCount; _local1 = 0; while (_local1 < _local31) { _local2 = _local16.points[_local1]; _local13 = _local17.m_R; _local14 = _local2.localAnchor1; _local3 = ((_local13.col1.x * _local14.x) + (_local13.col2.x * _local14.y)); _local4 = ((_local13.col1.y * _local14.x) + (_local13.col2.y * _local14.y)); _local13 = _local18.m_R; _local14 = _local2.localAnchor2; _local5 = ((_local13.col1.x * _local14.x) + (_local13.col2.x * _local14.y)); _local6 = ((_local13.col1.y * _local14.x) + (_local13.col2.y * _local14.y)); _local7 = (((_local22.x + (-(_local21) * _local6)) - _local20.x) - (-(_local19) * _local4)); _local8 = (((_local22.y + (_local21 * _local5)) - _local20.y) - (_local19 * _local3)); _local32 = ((_local7 * _local27) + (_local8 * _local28)); _local9 = (-(_local2.normalMass) * (_local32 - _local2.velocityBias)); _local10 = b2Math.b2Max((_local2.normalImpulse + _local9), 0); _local9 = (_local10 - _local2.normalImpulse); _local11 = (_local9 * _local27); _local12 = (_local9 * _local28); _local20.x = (_local20.x - (_local23 * _local11)); _local20.y = (_local20.y - (_local23 * _local12)); _local19 = (_local19 - (_local24 * ((_local3 * _local12) - (_local4 * _local11)))); _local22.x = (_local22.x + (_local25 * _local11)); _local22.y = (_local22.y + (_local25 * _local12)); _local21 = (_local21 + (_local26 * ((_local5 * _local12) - (_local6 * _local11)))); _local2.normalImpulse = _local10; _local7 = (((_local22.x + (-(_local21) * _local6)) - _local20.x) - (-(_local19) * _local4)); _local8 = (((_local22.y + (_local21 * _local5)) - _local20.y) - (_local19 * _local3)); _local33 = ((_local7 * _local29) + (_local8 * _local30)); _local9 = (_local2.tangentMass * -(_local33)); _local34 = (_local16.friction * _local2.normalImpulse); _local10 = b2Math.b2Clamp((_local2.tangentImpulse + _local9), -(_local34), _local34); _local9 = (_local10 - _local2.tangentImpulse); _local11 = (_local9 * _local29); _local12 = (_local9 * _local30); _local20.x = (_local20.x - (_local23 * _local11)); _local20.y = (_local20.y - (_local23 * _local12)); _local19 = (_local19 - (_local24 * ((_local3 * _local12) - (_local4 * _local11)))); _local22.x = (_local22.x + (_local25 * _local11)); _local22.y = (_local22.y + (_local25 * _local12)); _local21 = (_local21 + (_local26 * ((_local5 * _local12) - (_local6 * _local11)))); _local2.tangentImpulse = _local10; _local1++; }; _local17.m_angularVelocity = _local19; _local18.m_angularVelocity = _local21; _local15++; }; } public function PreSolve():void{ var _local1:b2Vec2; var _local2:b2Vec2; var _local3:b2Mat22; var _local4:int; var _local5:b2ContactConstraint; var _local6:b2Body; var _local7:b2Body; 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:int; var _local17:int; var _local18:b2ContactConstraintPoint; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:b2ContactConstraintPoint; _local4 = 0; while (_local4 < m_constraintCount) { _local5 = m_constraints[_local4]; _local6 = _local5.body1; _local7 = _local5.body2; _local8 = _local6.m_invMass; _local9 = _local6.m_invI; _local10 = _local7.m_invMass; _local11 = _local7.m_invI; _local12 = _local5.normal.x; _local13 = _local5.normal.y; _local14 = _local13; _local15 = -(_local12); if (b2World.s_enableWarmStarting){ _local17 = _local5.pointCount; _local16 = 0; while (_local16 < _local17) { _local18 = _local5.points[_local16]; _local19 = ((_local18.normalImpulse * _local12) + (_local18.tangentImpulse * _local14)); _local20 = ((_local18.normalImpulse * _local13) + (_local18.tangentImpulse * _local15)); _local3 = _local6.m_R; _local1 = _local18.localAnchor1; _local21 = ((_local3.col1.x * _local1.x) + (_local3.col2.x * _local1.y)); _local22 = ((_local3.col1.y * _local1.x) + (_local3.col2.y * _local1.y)); _local3 = _local7.m_R; _local1 = _local18.localAnchor2; _local23 = ((_local3.col1.x * _local1.x) + (_local3.col2.x * _local1.y)); _local24 = ((_local3.col1.y * _local1.x) + (_local3.col2.y * _local1.y)); _local6.m_angularVelocity = (_local6.m_angularVelocity - (_local9 * ((_local21 * _local20) - (_local22 * _local19)))); _local6.m_linearVelocity.x = (_local6.m_linearVelocity.x - (_local8 * _local19)); _local6.m_linearVelocity.y = (_local6.m_linearVelocity.y - (_local8 * _local20)); _local7.m_angularVelocity = (_local7.m_angularVelocity + (_local11 * ((_local23 * _local20) - (_local24 * _local19)))); _local7.m_linearVelocity.x = (_local7.m_linearVelocity.x + (_local10 * _local19)); _local7.m_linearVelocity.y = (_local7.m_linearVelocity.y + (_local10 * _local20)); _local18.positionImpulse = 0; _local16++; }; } else { _local17 = _local5.pointCount; _local16 = 0; while (_local16 < _local17) { _local25 = _local5.points[_local16]; _local25.normalImpulse = 0; _local25.tangentImpulse = 0; _local25.positionImpulse = 0; _local16++; }; }; _local4++; }; } public function PostSolve():void{ var _local1:int; var _local2:b2ContactConstraint; var _local3:b2Manifold; var _local4:int; var _local5:b2ContactPoint; var _local6:b2ContactConstraintPoint; _local1 = 0; while (_local1 < m_constraintCount) { _local2 = m_constraints[_local1]; _local3 = _local2.manifold; _local4 = 0; while (_local4 < _local2.pointCount) { _local5 = _local3.points[_local4]; _local6 = _local2.points[_local4]; _local5.normalImpulse = _local6.normalImpulse; _local5.tangentImpulse = _local6.tangentImpulse; _local4++; }; _local1++; }; } } }//package Box2D.Dynamics.Contacts
Section 36
//b2NullContact (Box2D.Dynamics.Contacts.b2NullContact) package Box2D.Dynamics.Contacts { public class b2NullContact extends b2Contact { public function b2NullContact():void{ } override public function GetManifolds():Array{ return (null); } override public function Evaluate():void{ } } }//package Box2D.Dynamics.Contacts
Section 37
//b2PolyAndCircleContact (Box2D.Dynamics.Contacts.b2PolyAndCircleContact) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2PolyAndCircleContact extends b2Contact { public var m_manifold:Array; public function b2PolyAndCircleContact(_arg1:b2Shape, _arg2:b2Shape){ m_manifold = [new b2Manifold()]; super(_arg1, _arg2); b2Settings.b2Assert((m_shape1.m_type == b2Shape.e_polyShape)); b2Settings.b2Assert((m_shape2.m_type == b2Shape.e_circleShape)); m_manifold[0].pointCount = 0; m_manifold[0].points[0].normalImpulse = 0; m_manifold[0].points[0].tangentImpulse = 0; } override public function GetManifolds():Array{ return (m_manifold); } override public function Evaluate():void{ b2Collision.b2CollidePolyAndCircle(m_manifold[0], (m_shape1 as b2PolyShape), (m_shape2 as b2CircleShape), false); if (m_manifold[0].pointCount > 0){ m_manifoldCount = 1; } else { m_manifoldCount = 0; }; } public static function Destroy(_arg1:b2Contact, _arg2):void{ } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ return (new b2PolyAndCircleContact(_arg1, _arg2)); } } }//package Box2D.Dynamics.Contacts
Section 38
//b2PolyContact (Box2D.Dynamics.Contacts.b2PolyContact) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2PolyContact extends b2Contact { public var m_manifold:Array; private var m0:b2Manifold; public function b2PolyContact(_arg1:b2Shape, _arg2:b2Shape):void{ m0 = new b2Manifold(); m_manifold = [new b2Manifold()]; super(_arg1, _arg2); m_manifold[0].pointCount = 0; } override public function GetManifolds():Array{ return (m_manifold); } override public function Evaluate():void{ var _local1:b2Manifold; var _local2:Array; var _local3:int; var _local4:b2ContactPoint; var _local5:b2ContactPoint; var _local6:Array; var _local7:int; var _local8:b2ContactPoint; var _local9:uint; var _local10:int; var _local11:b2ContactPoint; var _local12:b2ContactID; _local1 = m_manifold[0]; _local2 = m0.points; _local3 = 0; while (_local3 < _local1.pointCount) { _local4 = _local2[_local3]; _local5 = _local1.points[_local3]; _local4.normalImpulse = _local5.normalImpulse; _local4.tangentImpulse = _local5.tangentImpulse; _local4.id = _local5.id.Copy(); _local3++; }; m0.pointCount = _local1.pointCount; b2Collision.b2CollidePoly(_local1, (m_shape1 as b2PolyShape), (m_shape2 as b2PolyShape), false); if (_local1.pointCount > 0){ _local6 = [false, false]; _local7 = 0; while (_local7 < _local1.pointCount) { _local8 = _local1.points[_local7]; _local8.normalImpulse = 0; _local8.tangentImpulse = 0; _local9 = _local8.id.key; _local10 = 0; while (_local10 < m0.pointCount) { if (_local6[_local10] == true){ } else { _local11 = m0.points[_local10]; _local12 = _local11.id; if (_local12.key == _local9){ _local6[_local10] = true; _local8.normalImpulse = _local11.normalImpulse; _local8.tangentImpulse = _local11.tangentImpulse; break; }; }; _local10++; }; _local7++; }; m_manifoldCount = 1; } else { m_manifoldCount = 0; }; } public static function Destroy(_arg1:b2Contact, _arg2):void{ } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ return (new b2PolyContact(_arg1, _arg2)); } } }//package Box2D.Dynamics.Contacts
Section 39
//b2DistanceJoint (Box2D.Dynamics.Joints.b2DistanceJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2DistanceJoint extends b2Joint { public var m_localAnchor2:b2Vec2; public var m_mass:Number; public var m_localAnchor1:b2Vec2; public var m_u:b2Vec2; public var m_impulse:Number; public var m_length:Number; public function b2DistanceJoint(_arg1:b2DistanceJointDef){ var _local2:b2Mat22; var _local3:Number; var _local4:Number; m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_u = new b2Vec2(); super(_arg1); _local2 = m_body1.m_R; _local3 = (_arg1.anchorPoint1.x - m_body1.m_position.x); _local4 = (_arg1.anchorPoint1.y - m_body1.m_position.y); m_localAnchor1.x = ((_local3 * _local2.col1.x) + (_local4 * _local2.col1.y)); m_localAnchor1.y = ((_local3 * _local2.col2.x) + (_local4 * _local2.col2.y)); _local2 = m_body2.m_R; _local3 = (_arg1.anchorPoint2.x - m_body2.m_position.x); _local4 = (_arg1.anchorPoint2.y - m_body2.m_position.y); m_localAnchor2.x = ((_local3 * _local2.col1.x) + (_local4 * _local2.col1.y)); m_localAnchor2.y = ((_local3 * _local2.col2.x) + (_local4 * _local2.col2.y)); _local3 = (_arg1.anchorPoint2.x - _arg1.anchorPoint1.x); _local4 = (_arg1.anchorPoint2.y - _arg1.anchorPoint1.y); m_length = Math.sqrt(((_local3 * _local3) + (_local4 * _local4))); m_impulse = 0; } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Mat22; 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; _local2 = m_body1.m_R; _local3 = ((_local2.col1.x * m_localAnchor1.x) + (_local2.col2.x * m_localAnchor1.y)); _local4 = ((_local2.col1.y * m_localAnchor1.x) + (_local2.col2.y * m_localAnchor1.y)); _local2 = m_body2.m_R; _local5 = ((_local2.col1.x * m_localAnchor2.x) + (_local2.col2.x * m_localAnchor2.y)); _local6 = ((_local2.col1.y * m_localAnchor2.x) + (_local2.col2.y * m_localAnchor2.y)); _local7 = (m_body1.m_linearVelocity.x + (-(m_body1.m_angularVelocity) * _local4)); _local8 = (m_body1.m_linearVelocity.y + (m_body1.m_angularVelocity * _local3)); _local9 = (m_body2.m_linearVelocity.x + (-(m_body2.m_angularVelocity) * _local6)); _local10 = (m_body2.m_linearVelocity.y + (m_body2.m_angularVelocity * _local5)); _local11 = ((m_u.x * (_local9 - _local7)) + (m_u.y * (_local10 - _local8))); _local12 = (-(m_mass) * _local11); m_impulse = (m_impulse + _local12); _local13 = (_local12 * m_u.x); _local14 = (_local12 * m_u.y); m_body1.m_linearVelocity.x = (m_body1.m_linearVelocity.x - (m_body1.m_invMass * _local13)); m_body1.m_linearVelocity.y = (m_body1.m_linearVelocity.y - (m_body1.m_invMass * _local14)); m_body1.m_angularVelocity = (m_body1.m_angularVelocity - (m_body1.m_invI * ((_local3 * _local14) - (_local4 * _local13)))); m_body2.m_linearVelocity.x = (m_body2.m_linearVelocity.x + (m_body2.m_invMass * _local13)); m_body2.m_linearVelocity.y = (m_body2.m_linearVelocity.y + (m_body2.m_invMass * _local14)); m_body2.m_angularVelocity = (m_body2.m_angularVelocity + (m_body2.m_invI * ((_local5 * _local14) - (_local6 * _local13)))); } override public function GetAnchor1():b2Vec2{ return (b2Math.AddVV(m_body1.m_position, b2Math.b2MulMV(m_body1.m_R, m_localAnchor1))); } override public function GetAnchor2():b2Vec2{ return (b2Math.AddVV(m_body2.m_position, b2Math.b2MulMV(m_body2.m_R, m_localAnchor2))); } override public function PrepareVelocitySolver():void{ var _local1:b2Mat22; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; _local1 = m_body1.m_R; _local2 = ((_local1.col1.x * m_localAnchor1.x) + (_local1.col2.x * m_localAnchor1.y)); _local3 = ((_local1.col1.y * m_localAnchor1.x) + (_local1.col2.y * m_localAnchor1.y)); _local1 = m_body2.m_R; _local4 = ((_local1.col1.x * m_localAnchor2.x) + (_local1.col2.x * m_localAnchor2.y)); _local5 = ((_local1.col1.y * m_localAnchor2.x) + (_local1.col2.y * m_localAnchor2.y)); m_u.x = (((m_body2.m_position.x + _local4) - m_body1.m_position.x) - _local2); m_u.y = (((m_body2.m_position.y + _local5) - m_body1.m_position.y) - _local3); _local6 = Math.sqrt(((m_u.x * m_u.x) + (m_u.y * m_u.y))); if (_local6 > b2Settings.b2_linearSlop){ m_u.Multiply((1 / _local6)); } else { m_u.SetZero(); }; _local7 = ((_local2 * m_u.y) - (_local3 * m_u.x)); _local8 = ((_local4 * m_u.y) - (_local5 * m_u.x)); m_mass = (((m_body1.m_invMass + ((m_body1.m_invI * _local7) * _local7)) + m_body2.m_invMass) + ((m_body2.m_invI * _local8) * _local8)); m_mass = (1 / m_mass); if (b2World.s_enableWarmStarting){ _local9 = (m_impulse * m_u.x); _local10 = (m_impulse * m_u.y); m_body1.m_linearVelocity.x = (m_body1.m_linearVelocity.x - (m_body1.m_invMass * _local9)); m_body1.m_linearVelocity.y = (m_body1.m_linearVelocity.y - (m_body1.m_invMass * _local10)); m_body1.m_angularVelocity = (m_body1.m_angularVelocity - (m_body1.m_invI * ((_local2 * _local10) - (_local3 * _local9)))); m_body2.m_linearVelocity.x = (m_body2.m_linearVelocity.x + (m_body2.m_invMass * _local9)); m_body2.m_linearVelocity.y = (m_body2.m_linearVelocity.y + (m_body2.m_invMass * _local10)); m_body2.m_angularVelocity = (m_body2.m_angularVelocity + (m_body2.m_invI * ((_local4 * _local10) - (_local5 * _local9)))); } else { m_impulse = 0; }; } override public function GetReactionTorque(_arg1:Number):Number{ return (0); } override public function GetReactionForce(_arg1:Number):b2Vec2{ var _local2:b2Vec2; _local2 = new b2Vec2(); _local2.SetV(m_u); _local2.Multiply((m_impulse * _arg1)); return (_local2); } override public function SolvePositionConstraints():Boolean{ var _local1:b2Mat22; var _local2:Number; 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; _local1 = m_body1.m_R; _local2 = ((_local1.col1.x * m_localAnchor1.x) + (_local1.col2.x * m_localAnchor1.y)); _local3 = ((_local1.col1.y * m_localAnchor1.x) + (_local1.col2.y * m_localAnchor1.y)); _local1 = m_body2.m_R; _local4 = ((_local1.col1.x * m_localAnchor2.x) + (_local1.col2.x * m_localAnchor2.y)); _local5 = ((_local1.col1.y * m_localAnchor2.x) + (_local1.col2.y * m_localAnchor2.y)); _local6 = (((m_body2.m_position.x + _local4) - m_body1.m_position.x) - _local2); _local7 = (((m_body2.m_position.y + _local5) - m_body1.m_position.y) - _local3); _local8 = Math.sqrt(((_local6 * _local6) + (_local7 * _local7))); _local6 = (_local6 / _local8); _local7 = (_local7 / _local8); _local9 = (_local8 - m_length); _local9 = b2Math.b2Clamp(_local9, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); _local10 = (-(m_mass) * _local9); m_u.Set(_local6, _local7); _local11 = (_local10 * m_u.x); _local12 = (_local10 * m_u.y); m_body1.m_position.x = (m_body1.m_position.x - (m_body1.m_invMass * _local11)); m_body1.m_position.y = (m_body1.m_position.y - (m_body1.m_invMass * _local12)); m_body1.m_rotation = (m_body1.m_rotation - (m_body1.m_invI * ((_local2 * _local12) - (_local3 * _local11)))); m_body2.m_position.x = (m_body2.m_position.x + (m_body2.m_invMass * _local11)); m_body2.m_position.y = (m_body2.m_position.y + (m_body2.m_invMass * _local12)); m_body2.m_rotation = (m_body2.m_rotation + (m_body2.m_invI * ((_local4 * _local12) - (_local5 * _local11)))); m_body1.m_R.Set(m_body1.m_rotation); m_body2.m_R.Set(m_body2.m_rotation); return ((b2Math.b2Abs(_local9) < b2Settings.b2_linearSlop)); } } }//package Box2D.Dynamics.Joints
Section 40
//b2DistanceJointDef (Box2D.Dynamics.Joints.b2DistanceJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; public class b2DistanceJointDef extends b2JointDef { public var anchorPoint2:b2Vec2; public var anchorPoint1:b2Vec2; public function b2DistanceJointDef(){ anchorPoint1 = new b2Vec2(); anchorPoint2 = new b2Vec2(); super(); type = b2Joint.e_distanceJoint; } } }//package Box2D.Dynamics.Joints
Section 41
//b2GearJoint (Box2D.Dynamics.Joints.b2GearJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2GearJoint extends b2Joint { public var m_impulse:Number; public var m_mass:Number; public var m_prismatic1:b2PrismaticJoint; public var m_prismatic2:b2PrismaticJoint; public var m_ground1:b2Body; public var m_ground2:b2Body; public var m_constant:Number; public var m_revolute1:b2RevoluteJoint; public var m_revolute2:b2RevoluteJoint; public var m_groundAnchor1:b2Vec2; public var m_groundAnchor2:b2Vec2; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_ratio:Number; public var m_J:b2Jacobian; public function b2GearJoint(_arg1:b2GearJointDef){ var _local2:Number; var _local3:Number; m_groundAnchor1 = new b2Vec2(); m_groundAnchor2 = new b2Vec2(); m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_J = new b2Jacobian(); super(_arg1); m_revolute1 = null; m_prismatic1 = null; m_revolute2 = null; m_prismatic2 = null; m_ground1 = _arg1.joint1.m_body1; m_body1 = _arg1.joint1.m_body2; if (_arg1.joint1.m_type == b2Joint.e_revoluteJoint){ m_revolute1 = (_arg1.joint1 as b2RevoluteJoint); m_groundAnchor1.SetV(m_revolute1.m_localAnchor1); m_localAnchor1.SetV(m_revolute1.m_localAnchor2); _local2 = m_revolute1.GetJointAngle(); } else { m_prismatic1 = (_arg1.joint1 as b2PrismaticJoint); m_groundAnchor1.SetV(m_prismatic1.m_localAnchor1); m_localAnchor1.SetV(m_prismatic1.m_localAnchor2); _local2 = m_prismatic1.GetJointTranslation(); }; m_ground2 = _arg1.joint2.m_body1; m_body2 = _arg1.joint2.m_body2; if (_arg1.joint2.m_type == b2Joint.e_revoluteJoint){ m_revolute2 = (_arg1.joint2 as b2RevoluteJoint); m_groundAnchor2.SetV(m_revolute2.m_localAnchor1); m_localAnchor2.SetV(m_revolute2.m_localAnchor2); _local3 = m_revolute2.GetJointAngle(); } else { m_prismatic2 = (_arg1.joint2 as b2PrismaticJoint); m_groundAnchor2.SetV(m_prismatic2.m_localAnchor1); m_localAnchor2.SetV(m_prismatic2.m_localAnchor2); _local3 = m_prismatic2.GetJointTranslation(); }; m_ratio = _arg1.ratio; m_constant = (_local2 + (m_ratio * _local3)); m_impulse = 0; } override public function GetAnchor1():b2Vec2{ var _local1:b2Mat22; _local1 = m_body1.m_R; return (new b2Vec2((m_body1.m_position.x + ((_local1.col1.x * m_localAnchor1.x) + (_local1.col2.x * m_localAnchor1.y))), (m_body1.m_position.y + ((_local1.col1.y * m_localAnchor1.x) + (_local1.col2.y * m_localAnchor1.y))))); } override public function GetAnchor2():b2Vec2{ var _local1:b2Mat22; _local1 = m_body2.m_R; return (new b2Vec2((m_body2.m_position.x + ((_local1.col1.x * m_localAnchor2.x) + (_local1.col2.x * m_localAnchor2.y))), (m_body2.m_position.y + ((_local1.col1.y * m_localAnchor2.x) + (_local1.col2.y * m_localAnchor2.y))))); } override public function PrepareVelocitySolver():void{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Body; var _local4:b2Body; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:b2Mat22; var _local10:b2Vec2; var _local11:Number; var _local12:Number; _local1 = m_ground1; _local2 = m_ground2; _local3 = m_body1; _local4 = m_body2; _local12 = 0; m_J.SetZero(); if (m_revolute1){ m_J.angular1 = -1; _local12 = (_local12 + _local3.m_invI); } else { _local9 = _local1.m_R; _local10 = m_prismatic1.m_localXAxis1; _local5 = ((_local9.col1.x * _local10.x) + (_local9.col2.x * _local10.y)); _local6 = ((_local9.col1.y * _local10.x) + (_local9.col2.y * _local10.y)); _local9 = _local3.m_R; _local7 = ((_local9.col1.x * m_localAnchor1.x) + (_local9.col2.x * m_localAnchor1.y)); _local8 = ((_local9.col1.y * m_localAnchor1.x) + (_local9.col2.y * m_localAnchor1.y)); _local11 = ((_local7 * _local6) - (_local8 * _local5)); m_J.linear1.Set(-(_local5), -(_local6)); m_J.angular1 = -(_local11); _local12 = (_local12 + (_local3.m_invMass + ((_local3.m_invI * _local11) * _local11))); }; if (m_revolute2){ m_J.angular2 = -(m_ratio); _local12 = (_local12 + ((m_ratio * m_ratio) * _local4.m_invI)); } else { _local9 = _local2.m_R; _local10 = m_prismatic2.m_localXAxis1; _local5 = ((_local9.col1.x * _local10.x) + (_local9.col2.x * _local10.y)); _local6 = ((_local9.col1.y * _local10.x) + (_local9.col2.y * _local10.y)); _local9 = _local4.m_R; _local7 = ((_local9.col1.x * m_localAnchor2.x) + (_local9.col2.x * m_localAnchor2.y)); _local8 = ((_local9.col1.y * m_localAnchor2.x) + (_local9.col2.y * m_localAnchor2.y)); _local11 = ((_local7 * _local6) - (_local8 * _local5)); m_J.linear2.Set((-(m_ratio) * _local5), (-(m_ratio) * _local6)); m_J.angular2 = (-(m_ratio) * _local11); _local12 = (_local12 + ((m_ratio * m_ratio) * (_local4.m_invMass + ((_local4.m_invI * _local11) * _local11)))); }; m_mass = (1 / _local12); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local3.m_invMass * m_impulse) * m_J.linear1.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local3.m_invMass * m_impulse) * m_J.linear1.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3.m_invI * m_impulse) * m_J.angular1)); _local4.m_linearVelocity.x = (_local4.m_linearVelocity.x + ((_local4.m_invMass * m_impulse) * m_J.linear2.x)); _local4.m_linearVelocity.y = (_local4.m_linearVelocity.y + ((_local4.m_invMass * m_impulse) * m_J.linear2.y)); _local4.m_angularVelocity = (_local4.m_angularVelocity + ((_local4.m_invI * m_impulse) * m_J.angular2)); } override public function GetReactionForce(_arg1:Number):b2Vec2{ return (new b2Vec2()); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:b2Body; var _local3:b2Body; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; _local1 = 0; _local2 = m_body1; _local3 = m_body2; if (m_revolute1){ _local4 = m_revolute1.GetJointAngle(); } else { _local4 = m_prismatic1.GetJointTranslation(); }; if (m_revolute2){ _local5 = m_revolute2.GetJointAngle(); } else { _local5 = m_prismatic2.GetJointTranslation(); }; _local6 = (m_constant - (_local4 + (m_ratio * _local5))); _local7 = (-(m_mass) * _local6); _local2.m_position.x = (_local2.m_position.x + ((_local2.m_invMass * _local7) * m_J.linear1.x)); _local2.m_position.y = (_local2.m_position.y + ((_local2.m_invMass * _local7) * m_J.linear1.y)); _local2.m_rotation = (_local2.m_rotation + ((_local2.m_invI * _local7) * m_J.angular1)); _local3.m_position.x = (_local3.m_position.x + ((_local3.m_invMass * _local7) * m_J.linear2.x)); _local3.m_position.y = (_local3.m_position.y + ((_local3.m_invMass * _local7) * m_J.linear2.y)); _local3.m_rotation = (_local3.m_rotation + ((_local3.m_invI * _local7) * m_J.angular2)); _local2.m_R.Set(_local2.m_rotation); _local3.m_R.Set(_local3.m_rotation); return ((_local1 < b2Settings.b2_linearSlop)); } override public function GetReactionTorque(_arg1:Number):Number{ return (0); } public function GetRatio():Number{ return (m_ratio); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:Number; var _local5:Number; _local2 = m_body1; _local3 = m_body2; _local4 = m_J.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); _local5 = (-(m_mass) * _local4); m_impulse = (m_impulse + _local5); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local2.m_invMass * _local5) * m_J.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local2.m_invMass * _local5) * m_J.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local2.m_invI * _local5) * m_J.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local3.m_invMass * _local5) * m_J.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local3.m_invMass * _local5) * m_J.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3.m_invI * _local5) * m_J.angular2)); } } }//package Box2D.Dynamics.Joints
Section 42
//b2GearJointDef (Box2D.Dynamics.Joints.b2GearJointDef) package Box2D.Dynamics.Joints { public class b2GearJointDef extends b2JointDef { public var joint2:b2Joint; public var joint1:b2Joint; public var ratio:Number; public function b2GearJointDef(){ type = b2Joint.e_gearJoint; joint1 = null; joint2 = null; ratio = 1; } } }//package Box2D.Dynamics.Joints
Section 43
//b2Jacobian (Box2D.Dynamics.Joints.b2Jacobian) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; public class b2Jacobian { public var linear1:b2Vec2; public var linear2:b2Vec2; public var angular2:Number; public var angular1:Number; public function b2Jacobian(){ linear1 = new b2Vec2(); linear2 = new b2Vec2(); super(); } public function Set(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):void{ linear1.SetV(_arg1); angular1 = _arg2; linear2.SetV(_arg3); angular2 = _arg4; } public function SetZero():void{ linear1.SetZero(); angular1 = 0; linear2.SetZero(); angular2 = 0; } public function Compute(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):Number{ return ((((((linear1.x * _arg1.x) + (linear1.y * _arg1.y)) + (angular1 * _arg2)) + ((linear2.x * _arg3.x) + (linear2.y * _arg3.y))) + (angular2 * _arg4))); } } }//package Box2D.Dynamics.Joints
Section 44
//b2Joint (Box2D.Dynamics.Joints.b2Joint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2Joint { public var m_islandFlag:Boolean; public var m_collideConnected:Boolean; public var m_prev:b2Joint; public var m_next:b2Joint; public var m_type:int; public var m_node1:b2JointNode; public var m_node2:b2JointNode; public var m_userData; public var m_body1:b2Body; public var m_body2:b2Body; public static const e_unknownJoint:int = 0; public static const e_inactiveLimit:int = 0; public static const e_atUpperLimit:int = 2; public static const e_atLowerLimit:int = 1; public static const e_gearJoint:int = 6; public static const e_revoluteJoint:int = 1; public static const e_equalLimits:int = 3; public static const e_distanceJoint:int = 3; public static const e_pulleyJoint:int = 4; public static const e_prismaticJoint:int = 2; public static const e_mouseJoint:int = 5; public function b2Joint(_arg1:b2JointDef){ m_node1 = new b2JointNode(); m_node2 = new b2JointNode(); super(); m_type = _arg1.type; m_prev = null; m_next = null; m_body1 = _arg1.body1; m_body2 = _arg1.body2; m_collideConnected = _arg1.collideConnected; m_islandFlag = false; m_userData = _arg1.userData; } public function GetAnchor1():b2Vec2{ return (null); } public function GetAnchor2():b2Vec2{ return (null); } public function GetNext():b2Joint{ return (m_next); } public function GetType():int{ return (m_type); } public function GetBody2():b2Body{ return (m_body2); } public function PrepareVelocitySolver():void{ } public function PreparePositionSolver():void{ } public function GetReactionTorque(_arg1:Number):Number{ return (0); } public function GetUserData(){ return (m_userData); } public function GetReactionForce(_arg1:Number):b2Vec2{ return (null); } public function SolvePositionConstraints():Boolean{ return (false); } public function GetBody1():b2Body{ return (m_body1); } public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ } public static function Destroy(_arg1:b2Joint, _arg2):void{ } public static function Create(_arg1:b2JointDef, _arg2):b2Joint{ var _local3:b2Joint; _local3 = null; switch (_arg1.type){ case e_distanceJoint: _local3 = new b2DistanceJoint((_arg1 as b2DistanceJointDef)); break; case e_mouseJoint: _local3 = new b2MouseJoint((_arg1 as b2MouseJointDef)); break; case e_prismaticJoint: _local3 = new b2PrismaticJoint((_arg1 as b2PrismaticJointDef)); break; case e_revoluteJoint: _local3 = new b2RevoluteJoint((_arg1 as b2RevoluteJointDef)); break; case e_pulleyJoint: _local3 = new b2PulleyJoint((_arg1 as b2PulleyJointDef)); break; case e_gearJoint: _local3 = new b2GearJoint((_arg1 as b2GearJointDef)); break; default: break; }; return (_local3); } } }//package Box2D.Dynamics.Joints
Section 45
//b2JointDef (Box2D.Dynamics.Joints.b2JointDef) package Box2D.Dynamics.Joints { import Box2D.Dynamics.*; public class b2JointDef { public var collideConnected:Boolean; public var body1:b2Body; public var body2:b2Body; public var userData; public var type:int; public function b2JointDef(){ type = b2Joint.e_unknownJoint; userData = null; body1 = null; body2 = null; collideConnected = false; } } }//package Box2D.Dynamics.Joints
Section 46
//b2JointNode (Box2D.Dynamics.Joints.b2JointNode) package Box2D.Dynamics.Joints { import Box2D.Dynamics.*; public class b2JointNode { public var joint:b2Joint; public var other:b2Body; public var next:b2JointNode; public var prev:b2JointNode; } }//package Box2D.Dynamics.Joints
Section 47
//b2MouseJoint (Box2D.Dynamics.Joints.b2MouseJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2MouseJoint extends b2Joint { public var m_beta:Number; public var m_target:b2Vec2; public var m_impulse:b2Vec2; public var m_ptpMass:b2Mat22; public var m_localAnchor:b2Vec2; private var K1:b2Mat22; private var K2:b2Mat22; private var K:b2Mat22; public var m_gamma:Number; public var m_C:b2Vec2; public var m_maxForce:Number; public function b2MouseJoint(_arg1:b2MouseJointDef){ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; K = new b2Mat22(); K1 = new b2Mat22(); K2 = new b2Mat22(); m_localAnchor = new b2Vec2(); m_target = new b2Vec2(); m_impulse = new b2Vec2(); m_ptpMass = new b2Mat22(); m_C = new b2Vec2(); super(_arg1); m_target.SetV(_arg1.target); _local2 = (m_target.x - m_body2.m_position.x); _local3 = (m_target.y - m_body2.m_position.y); m_localAnchor.x = ((_local2 * m_body2.m_R.col1.x) + (_local3 * m_body2.m_R.col1.y)); m_localAnchor.y = ((_local2 * m_body2.m_R.col2.x) + (_local3 * m_body2.m_R.col2.y)); m_maxForce = _arg1.maxForce; m_impulse.SetZero(); _local4 = m_body2.m_mass; _local5 = ((2 * b2Settings.b2_pi) * _arg1.frequencyHz); _local6 = (((2 * _local4) * _arg1.dampingRatio) * _local5); _local7 = ((_local4 * _local5) * _local5); m_gamma = (1 / (_local6 + (_arg1.timeStep * _local7))); m_beta = ((_arg1.timeStep * _local7) / (_local6 + (_arg1.timeStep * _local7))); } override public function GetAnchor1():b2Vec2{ return (m_target); } override public function GetAnchor2():b2Vec2{ var _local1:b2Vec2; _local1 = b2Math.b2MulMV(m_body2.m_R, m_localAnchor); _local1.Add(m_body2.m_position); return (_local1); } override public function PrepareVelocitySolver():void{ var _local1:b2Body; var _local2:b2Mat22; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local1 = m_body2; _local2 = _local1.m_R; _local3 = ((_local2.col1.x * m_localAnchor.x) + (_local2.col2.x * m_localAnchor.y)); _local4 = ((_local2.col1.y * m_localAnchor.x) + (_local2.col2.y * m_localAnchor.y)); _local5 = _local1.m_invMass; _local6 = _local1.m_invI; K1.col1.x = _local5; K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = _local5; K2.col1.x = ((_local6 * _local4) * _local4); K2.col2.x = ((-(_local6) * _local3) * _local4); K2.col1.y = ((-(_local6) * _local3) * _local4); K2.col2.y = ((_local6 * _local3) * _local3); K.SetM(K1); K.AddM(K2); K.col1.x = (K.col1.x + m_gamma); K.col2.y = (K.col2.y + m_gamma); K.Invert(m_ptpMass); m_C.x = ((_local1.m_position.x + _local3) - m_target.x); m_C.y = ((_local1.m_position.y + _local4) - m_target.y); _local1.m_angularVelocity = (_local1.m_angularVelocity * 0.98); _local7 = m_impulse.x; _local8 = m_impulse.y; _local1.m_linearVelocity.x = (_local1.m_linearVelocity.x + (_local5 * _local7)); _local1.m_linearVelocity.y = (_local1.m_linearVelocity.y + (_local5 * _local8)); _local1.m_angularVelocity = (_local1.m_angularVelocity + (_local6 * ((_local3 * _local8) - (_local4 * _local7)))); } override public function GetReactionForce(_arg1:Number):b2Vec2{ var _local2:b2Vec2; _local2 = new b2Vec2(); _local2.SetV(m_impulse); _local2.Multiply(_arg1); return (_local2); } override public function SolvePositionConstraints():Boolean{ return (true); } override public function GetReactionTorque(_arg1:Number):Number{ return (0); } public function SetTarget(_arg1:b2Vec2):void{ m_body2.WakeUp(); m_target = _arg1; } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Mat22; 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; _local2 = m_body2; _local3 = _local2.m_R; _local4 = ((_local3.col1.x * m_localAnchor.x) + (_local3.col2.x * m_localAnchor.y)); _local5 = ((_local3.col1.y * m_localAnchor.x) + (_local3.col2.y * m_localAnchor.y)); _local6 = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local5)); _local7 = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local4)); _local3 = m_ptpMass; _local8 = ((_local6 + ((m_beta * _arg1.inv_dt) * m_C.x)) + (m_gamma * m_impulse.x)); _local9 = ((_local7 + ((m_beta * _arg1.inv_dt) * m_C.y)) + (m_gamma * m_impulse.y)); _local10 = -(((_local3.col1.x * _local8) + (_local3.col2.x * _local9))); _local11 = -(((_local3.col1.y * _local8) + (_local3.col2.y * _local9))); _local12 = m_impulse.x; _local13 = m_impulse.y; m_impulse.x = (m_impulse.x + _local10); m_impulse.y = (m_impulse.y + _local11); _local14 = m_impulse.Length(); if (_local14 > (_arg1.dt * m_maxForce)){ m_impulse.Multiply(((_arg1.dt * m_maxForce) / _local14)); }; _local10 = (m_impulse.x - _local12); _local11 = (m_impulse.y - _local13); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local10)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local11)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local4 * _local11) - (_local5 * _local10)))); } } }//package Box2D.Dynamics.Joints
Section 48
//b2MouseJointDef (Box2D.Dynamics.Joints.b2MouseJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; public class b2MouseJointDef extends b2JointDef { public var frequencyHz:Number; public var dampingRatio:Number; public var maxForce:Number; public var target:b2Vec2; public var timeStep:Number; public function b2MouseJointDef(){ target = new b2Vec2(); super(); type = b2Joint.e_mouseJoint; maxForce = 0; frequencyHz = 5; dampingRatio = 0.7; timeStep = (1 / 60); } } }//package Box2D.Dynamics.Joints
Section 49
//b2PrismaticJoint (Box2D.Dynamics.Joints.b2PrismaticJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2PrismaticJoint extends b2Joint { public var m_initialAngle:Number; public var m_lowerTranslation:Number; public var m_localXAxis1:b2Vec2; public var m_enableLimit:Boolean; public var m_maxMotorForce:Number; public var m_angularMass:Number; public var m_localYAxis1:b2Vec2; public var m_linearImpulse:Number; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_motorMass:Number; public var m_limitState:int; public var m_linearMass:Number; public var m_upperTranslation:Number; public var m_angularImpulse:Number; public var m_motorImpulse:Number; public var m_motorJacobian:b2Jacobian; public var m_limitImpulse:Number; public var m_motorSpeed:Number; public var m_enableMotor:Boolean; public var m_limitPositionImpulse:Number; public var m_linearJacobian:b2Jacobian; public function b2PrismaticJoint(_arg1:b2PrismaticJointDef){ var _local2:b2Mat22; var _local3:Number; var _local4:Number; m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_localXAxis1 = new b2Vec2(); m_localYAxis1 = new b2Vec2(); m_linearJacobian = new b2Jacobian(); m_motorJacobian = new b2Jacobian(); super(_arg1); _local2 = m_body1.m_R; _local3 = (_arg1.anchorPoint.x - m_body1.m_position.x); _local4 = (_arg1.anchorPoint.y - m_body1.m_position.y); m_localAnchor1.Set(((_local3 * _local2.col1.x) + (_local4 * _local2.col1.y)), ((_local3 * _local2.col2.x) + (_local4 * _local2.col2.y))); _local2 = m_body2.m_R; _local3 = (_arg1.anchorPoint.x - m_body2.m_position.x); _local4 = (_arg1.anchorPoint.y - m_body2.m_position.y); m_localAnchor2.Set(((_local3 * _local2.col1.x) + (_local4 * _local2.col1.y)), ((_local3 * _local2.col2.x) + (_local4 * _local2.col2.y))); _local2 = m_body1.m_R; _local3 = _arg1.axis.x; _local4 = _arg1.axis.y; m_localXAxis1.Set(((_local3 * _local2.col1.x) + (_local4 * _local2.col1.y)), ((_local3 * _local2.col2.x) + (_local4 * _local2.col2.y))); m_localYAxis1.x = -(m_localXAxis1.y); m_localYAxis1.y = m_localXAxis1.x; m_initialAngle = (m_body2.m_rotation - m_body1.m_rotation); m_linearJacobian.SetZero(); m_linearMass = 0; m_linearImpulse = 0; m_angularMass = 0; m_angularImpulse = 0; m_motorJacobian.SetZero(); m_motorMass = 0; m_motorImpulse = 0; m_limitImpulse = 0; m_limitPositionImpulse = 0; m_lowerTranslation = _arg1.lowerTranslation; m_upperTranslation = _arg1.upperTranslation; m_maxMotorForce = _arg1.motorForce; m_motorSpeed = _arg1.motorSpeed; m_enableLimit = _arg1.enableLimit; m_enableMotor = _arg1.enableMotor; } override public function GetAnchor1():b2Vec2{ var _local1:b2Body; var _local2:b2Vec2; _local1 = m_body1; _local2 = new b2Vec2(); _local2.SetV(m_localAnchor1); _local2.MulM(_local1.m_R); _local2.Add(_local1.m_position); return (_local2); } override public function GetAnchor2():b2Vec2{ var _local1:b2Body; var _local2:b2Vec2; _local1 = m_body2; _local2 = new b2Vec2(); _local2.SetV(m_localAnchor2); _local2.MulM(_local1.m_R); _local2.Add(_local1.m_position); return (_local2); } override public function PrepareVelocitySolver():void{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; 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: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; _local1 = m_body1; _local2 = m_body2; _local3 = _local1.m_R; _local4 = ((_local3.col1.x * m_localAnchor1.x) + (_local3.col2.x * m_localAnchor1.y)); _local5 = ((_local3.col1.y * m_localAnchor1.x) + (_local3.col2.y * m_localAnchor1.y)); _local3 = _local2.m_R; _local6 = ((_local3.col1.x * m_localAnchor2.x) + (_local3.col2.x * m_localAnchor2.y)); _local7 = ((_local3.col1.y * m_localAnchor2.x) + (_local3.col2.y * m_localAnchor2.y)); _local8 = _local1.m_invMass; _local9 = _local2.m_invMass; _local10 = _local1.m_invI; _local11 = _local2.m_invI; _local3 = _local1.m_R; _local12 = ((_local3.col1.x * m_localYAxis1.x) + (_local3.col2.x * m_localYAxis1.y)); _local13 = ((_local3.col1.y * m_localYAxis1.x) + (_local3.col2.y * m_localYAxis1.y)); _local14 = ((_local2.m_position.x + _local6) - _local1.m_position.x); _local15 = ((_local2.m_position.y + _local7) - _local1.m_position.y); m_linearJacobian.linear1.x = -(_local12); m_linearJacobian.linear1.y = -(_local13); m_linearJacobian.linear2.x = _local12; m_linearJacobian.linear2.y = _local13; m_linearJacobian.angular1 = -(((_local14 * _local13) - (_local15 * _local12))); m_linearJacobian.angular2 = ((_local6 * _local13) - (_local7 * _local12)); m_linearMass = (((_local8 + ((_local10 * m_linearJacobian.angular1) * m_linearJacobian.angular1)) + _local9) + ((_local11 * m_linearJacobian.angular2) * m_linearJacobian.angular2)); m_linearMass = (1 / m_linearMass); m_angularMass = (1 / (_local10 + _local11)); if (((m_enableLimit) || (m_enableMotor))){ _local3 = _local1.m_R; _local16 = ((_local3.col1.x * m_localXAxis1.x) + (_local3.col2.x * m_localXAxis1.y)); _local17 = ((_local3.col1.y * m_localXAxis1.x) + (_local3.col2.y * m_localXAxis1.y)); m_motorJacobian.linear1.x = -(_local16); m_motorJacobian.linear1.y = -(_local17); m_motorJacobian.linear2.x = _local16; m_motorJacobian.linear2.y = _local17; m_motorJacobian.angular1 = -(((_local14 * _local17) - (_local15 * _local16))); m_motorJacobian.angular2 = ((_local6 * _local17) - (_local7 * _local16)); m_motorMass = (((_local8 + ((_local10 * m_motorJacobian.angular1) * m_motorJacobian.angular1)) + _local9) + ((_local11 * m_motorJacobian.angular2) * m_motorJacobian.angular2)); m_motorMass = (1 / m_motorMass); if (m_enableLimit){ _local18 = (_local14 - _local4); _local19 = (_local15 - _local5); _local20 = ((_local16 * _local18) + (_local17 * _local19)); if (b2Math.b2Abs((m_upperTranslation - m_lowerTranslation)) < (2 * b2Settings.b2_linearSlop)){ m_limitState = e_equalLimits; } else { if (_local20 <= m_lowerTranslation){ if (m_limitState != e_atLowerLimit){ m_limitImpulse = 0; }; m_limitState = e_atLowerLimit; } else { if (_local20 >= m_upperTranslation){ if (m_limitState != e_atUpperLimit){ m_limitImpulse = 0; }; m_limitState = e_atUpperLimit; } else { m_limitState = e_inactiveLimit; m_limitImpulse = 0; }; }; }; }; }; if (m_enableMotor == false){ m_motorImpulse = 0; }; if (m_enableLimit == false){ m_limitImpulse = 0; }; if (b2World.s_enableWarmStarting){ _local21 = ((m_linearImpulse * m_linearJacobian.linear1.x) + ((m_motorImpulse + m_limitImpulse) * m_motorJacobian.linear1.x)); _local22 = ((m_linearImpulse * m_linearJacobian.linear1.y) + ((m_motorImpulse + m_limitImpulse) * m_motorJacobian.linear1.y)); _local23 = ((m_linearImpulse * m_linearJacobian.linear2.x) + ((m_motorImpulse + m_limitImpulse) * m_motorJacobian.linear2.x)); _local24 = ((m_linearImpulse * m_linearJacobian.linear2.y) + ((m_motorImpulse + m_limitImpulse) * m_motorJacobian.linear2.y)); _local25 = (((m_linearImpulse * m_linearJacobian.angular1) - m_angularImpulse) + ((m_motorImpulse + m_limitImpulse) * m_motorJacobian.angular1)); _local26 = (((m_linearImpulse * m_linearJacobian.angular2) + m_angularImpulse) + ((m_motorImpulse + m_limitImpulse) * m_motorJacobian.angular2)); _local1.m_linearVelocity.x = (_local1.m_linearVelocity.x + (_local8 * _local21)); _local1.m_linearVelocity.y = (_local1.m_linearVelocity.y + (_local8 * _local22)); _local1.m_angularVelocity = (_local1.m_angularVelocity + (_local10 * _local25)); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local9 * _local23)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local9 * _local24)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local11 * _local26)); } else { m_linearImpulse = 0; m_angularImpulse = 0; m_limitImpulse = 0; m_motorImpulse = 0; }; m_limitPositionImpulse = 0; } public function GetJointTranslation():Number{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; 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; _local1 = m_body1; _local2 = m_body2; _local3 = _local1.m_R; _local4 = ((_local3.col1.x * m_localAnchor1.x) + (_local3.col2.x * m_localAnchor1.y)); _local5 = ((_local3.col1.y * m_localAnchor1.x) + (_local3.col2.y * m_localAnchor1.y)); _local3 = _local2.m_R; _local6 = ((_local3.col1.x * m_localAnchor2.x) + (_local3.col2.x * m_localAnchor2.y)); _local7 = ((_local3.col1.y * m_localAnchor2.x) + (_local3.col2.y * m_localAnchor2.y)); _local8 = (_local1.m_position.x + _local4); _local9 = (_local1.m_position.y + _local5); _local10 = (_local2.m_position.x + _local6); _local11 = (_local2.m_position.y + _local7); _local12 = (_local10 - _local8); _local13 = (_local11 - _local9); _local3 = _local1.m_R; _local14 = ((_local3.col1.x * m_localXAxis1.x) + (_local3.col2.x * m_localXAxis1.y)); _local15 = ((_local3.col1.y * m_localXAxis1.x) + (_local3.col2.y * m_localXAxis1.y)); _local16 = ((_local14 * _local12) + (_local15 * _local13)); return (_local16); } override public function GetReactionForce(_arg1:Number):b2Vec2{ var _local2:Number; var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; _local2 = (_arg1 * m_limitImpulse); _local3 = m_body1.m_R; _local4 = (_local2 * ((_local3.col1.x * m_localXAxis1.x) + (_local3.col2.x * m_localXAxis1.y))); _local5 = (_local2 * ((_local3.col1.y * m_localXAxis1.x) + (_local3.col2.y * m_localXAxis1.y))); _local6 = (_local2 * ((_local3.col1.x * m_localYAxis1.x) + (_local3.col2.x * m_localYAxis1.y))); _local7 = (_local2 * ((_local3.col1.y * m_localYAxis1.x) + (_local3.col2.y * m_localYAxis1.y))); return (new b2Vec2((_local4 + _local6), (_local5 + _local7))); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local3:b2Body; var _local4:b2Body; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:b2Mat22; 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 _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; _local3 = m_body1; _local4 = m_body2; _local5 = _local3.m_invMass; _local6 = _local4.m_invMass; _local7 = _local3.m_invI; _local8 = _local4.m_invI; _local9 = _local3.m_R; _local10 = ((_local9.col1.x * m_localAnchor1.x) + (_local9.col2.x * m_localAnchor1.y)); _local11 = ((_local9.col1.y * m_localAnchor1.x) + (_local9.col2.y * m_localAnchor1.y)); _local9 = _local4.m_R; _local12 = ((_local9.col1.x * m_localAnchor2.x) + (_local9.col2.x * m_localAnchor2.y)); _local13 = ((_local9.col1.y * m_localAnchor2.x) + (_local9.col2.y * m_localAnchor2.y)); _local14 = (_local3.m_position.x + _local10); _local15 = (_local3.m_position.y + _local11); _local16 = (_local4.m_position.x + _local12); _local17 = (_local4.m_position.y + _local13); _local18 = (_local16 - _local14); _local19 = (_local17 - _local15); _local9 = _local3.m_R; _local20 = ((_local9.col1.x * m_localYAxis1.x) + (_local9.col2.x * m_localYAxis1.y)); _local21 = ((_local9.col1.y * m_localYAxis1.x) + (_local9.col2.y * m_localYAxis1.y)); _local22 = ((_local20 * _local18) + (_local21 * _local19)); _local22 = b2Math.b2Clamp(_local22, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); _local23 = (-(m_linearMass) * _local22); _local3.m_position.x = (_local3.m_position.x + ((_local5 * _local23) * m_linearJacobian.linear1.x)); _local3.m_position.y = (_local3.m_position.y + ((_local5 * _local23) * m_linearJacobian.linear1.y)); _local3.m_rotation = (_local3.m_rotation + ((_local7 * _local23) * m_linearJacobian.angular1)); _local4.m_position.x = (_local4.m_position.x + ((_local6 * _local23) * m_linearJacobian.linear2.x)); _local4.m_position.y = (_local4.m_position.y + ((_local6 * _local23) * m_linearJacobian.linear2.y)); _local4.m_rotation = (_local4.m_rotation + ((_local8 * _local23) * m_linearJacobian.angular2)); _local24 = b2Math.b2Abs(_local22); _local25 = ((_local4.m_rotation - _local3.m_rotation) - m_initialAngle); _local25 = b2Math.b2Clamp(_local25, -(b2Settings.b2_maxAngularCorrection), b2Settings.b2_maxAngularCorrection); _local26 = (-(m_angularMass) * _local25); _local3.m_rotation = (_local3.m_rotation - (_local3.m_invI * _local26)); _local3.m_R.Set(_local3.m_rotation); _local4.m_rotation = (_local4.m_rotation + (_local4.m_invI * _local26)); _local4.m_R.Set(_local4.m_rotation); _local27 = b2Math.b2Abs(_local25); if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local9 = _local3.m_R; _local10 = ((_local9.col1.x * m_localAnchor1.x) + (_local9.col2.x * m_localAnchor1.y)); _local11 = ((_local9.col1.y * m_localAnchor1.x) + (_local9.col2.y * m_localAnchor1.y)); _local9 = _local4.m_R; _local12 = ((_local9.col1.x * m_localAnchor2.x) + (_local9.col2.x * m_localAnchor2.y)); _local13 = ((_local9.col1.y * m_localAnchor2.x) + (_local9.col2.y * m_localAnchor2.y)); _local14 = (_local3.m_position.x + _local10); _local15 = (_local3.m_position.y + _local11); _local16 = (_local4.m_position.x + _local12); _local17 = (_local4.m_position.y + _local13); _local18 = (_local16 - _local14); _local19 = (_local17 - _local15); _local9 = _local3.m_R; _local28 = ((_local9.col1.x * m_localXAxis1.x) + (_local9.col2.x * m_localXAxis1.y)); _local29 = ((_local9.col1.y * m_localXAxis1.x) + (_local9.col2.y * m_localXAxis1.y)); _local30 = ((_local28 * _local18) + (_local29 * _local19)); _local31 = 0; if (m_limitState == e_equalLimits){ _local1 = b2Math.b2Clamp(_local30, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); _local31 = (-(m_motorMass) * _local1); _local24 = b2Math.b2Max(_local24, b2Math.b2Abs(_local25)); } else { if (m_limitState == e_atLowerLimit){ _local1 = (_local30 - m_lowerTranslation); _local24 = b2Math.b2Max(_local24, -(_local1)); _local1 = b2Math.b2Clamp((_local1 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local31 = (-(m_motorMass) * _local1); _local2 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Max((m_limitPositionImpulse + _local31), 0); _local31 = (m_limitPositionImpulse - _local2); } else { if (m_limitState == e_atUpperLimit){ _local1 = (_local30 - m_upperTranslation); _local24 = b2Math.b2Max(_local24, _local1); _local1 = b2Math.b2Clamp((_local1 - b2Settings.b2_linearSlop), 0, b2Settings.b2_maxLinearCorrection); _local31 = (-(m_motorMass) * _local1); _local2 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Min((m_limitPositionImpulse + _local31), 0); _local31 = (m_limitPositionImpulse - _local2); }; }; }; _local3.m_position.x = (_local3.m_position.x + ((_local5 * _local31) * m_motorJacobian.linear1.x)); _local3.m_position.y = (_local3.m_position.y + ((_local5 * _local31) * m_motorJacobian.linear1.y)); _local3.m_rotation = (_local3.m_rotation + ((_local7 * _local31) * m_motorJacobian.angular1)); _local3.m_R.Set(_local3.m_rotation); _local4.m_position.x = (_local4.m_position.x + ((_local6 * _local31) * m_motorJacobian.linear2.x)); _local4.m_position.y = (_local4.m_position.y + ((_local6 * _local31) * m_motorJacobian.linear2.y)); _local4.m_rotation = (_local4.m_rotation + ((_local8 * _local31) * m_motorJacobian.angular2)); _local4.m_R.Set(_local4.m_rotation); }; return ((((_local24 <= b2Settings.b2_linearSlop)) && ((_local27 <= b2Settings.b2_angularSlop)))); } public function GetJointSpeed():Number{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; 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:b2Vec2; var _local17:b2Vec2; var _local18:Number; var _local19:Number; var _local20:Number; _local1 = m_body1; _local2 = m_body2; _local3 = _local1.m_R; _local4 = ((_local3.col1.x * m_localAnchor1.x) + (_local3.col2.x * m_localAnchor1.y)); _local5 = ((_local3.col1.y * m_localAnchor1.x) + (_local3.col2.y * m_localAnchor1.y)); _local3 = _local2.m_R; _local6 = ((_local3.col1.x * m_localAnchor2.x) + (_local3.col2.x * m_localAnchor2.y)); _local7 = ((_local3.col1.y * m_localAnchor2.x) + (_local3.col2.y * m_localAnchor2.y)); _local8 = (_local1.m_position.x + _local4); _local9 = (_local1.m_position.y + _local5); _local10 = (_local2.m_position.x + _local6); _local11 = (_local2.m_position.y + _local7); _local12 = (_local10 - _local8); _local13 = (_local11 - _local9); _local3 = _local1.m_R; _local14 = ((_local3.col1.x * m_localXAxis1.x) + (_local3.col2.x * m_localXAxis1.y)); _local15 = ((_local3.col1.y * m_localXAxis1.x) + (_local3.col2.y * m_localXAxis1.y)); _local16 = _local1.m_linearVelocity; _local17 = _local2.m_linearVelocity; _local18 = _local1.m_angularVelocity; _local19 = _local2.m_angularVelocity; _local20 = (((_local12 * (-(_local18) * _local15)) + (_local13 * (_local18 * _local14))) + ((_local14 * (((_local17.x + (-(_local19) * _local7)) - _local16.x) - (-(_local18) * _local5))) + (_local15 * (((_local17.y + (_local19 * _local6)) - _local16.y) - (_local18 * _local4))))); return (_local20); } public function SetMotorSpeed(_arg1:Number):void{ m_motorSpeed = _arg1; } public function GetMotorForce(_arg1:Number):Number{ return ((_arg1 * m_motorImpulse)); } public function SetMotorForce(_arg1:Number):void{ m_maxMotorForce = _arg1; } override public function GetReactionTorque(_arg1:Number):Number{ return ((_arg1 * m_angularImpulse)); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; 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:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_invMass; _local5 = _local3.m_invMass; _local6 = _local2.m_invI; _local7 = _local3.m_invI; _local9 = m_linearJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); _local10 = (-(m_linearMass) * _local9); m_linearImpulse = (m_linearImpulse + _local10); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local10) * m_linearJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local10) * m_linearJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local10) * m_linearJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local10) * m_linearJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local10) * m_linearJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local10) * m_linearJacobian.angular2)); _local11 = (_local3.m_angularVelocity - _local2.m_angularVelocity); _local12 = (-(m_angularMass) * _local11); m_angularImpulse = (m_angularImpulse + _local12); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local6 * _local12)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local7 * _local12)); if (((m_enableMotor) && (!((m_limitState == e_equalLimits))))){ _local13 = (m_motorJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity) - m_motorSpeed); _local14 = (-(m_motorMass) * _local13); _local15 = m_motorImpulse; m_motorImpulse = b2Math.b2Clamp((m_motorImpulse + _local14), (-(_arg1.dt) * m_maxMotorForce), (_arg1.dt * m_maxMotorForce)); _local14 = (m_motorImpulse - _local15); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local14) * m_motorJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local14) * m_motorJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local14) * m_motorJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local14) * m_motorJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local14) * m_motorJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local14) * m_motorJacobian.angular2)); }; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local16 = m_motorJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); _local17 = (-(m_motorMass) * _local16); if (m_limitState == e_equalLimits){ m_limitImpulse = (m_limitImpulse + _local17); } else { if (m_limitState == e_atLowerLimit){ _local8 = m_limitImpulse; m_limitImpulse = b2Math.b2Max((m_limitImpulse + _local17), 0); _local17 = (m_limitImpulse - _local8); } else { if (m_limitState == e_atUpperLimit){ _local8 = m_limitImpulse; m_limitImpulse = b2Math.b2Min((m_limitImpulse + _local17), 0); _local17 = (m_limitImpulse - _local8); }; }; }; _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local17) * m_motorJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local17) * m_motorJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local17) * m_motorJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local17) * m_motorJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local17) * m_motorJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local17) * m_motorJacobian.angular2)); }; } } }//package Box2D.Dynamics.Joints
Section 50
//b2PrismaticJointDef (Box2D.Dynamics.Joints.b2PrismaticJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; public class b2PrismaticJointDef extends b2JointDef { public var motorSpeed:Number; public var anchorPoint:b2Vec2; public var axis:b2Vec2; public var upperTranslation:Number; public var lowerTranslation:Number; public var enableMotor:Boolean; public var motorForce:Number; public var enableLimit:Boolean; public function b2PrismaticJointDef(){ type = b2Joint.e_prismaticJoint; anchorPoint = new b2Vec2(0, 0); axis = new b2Vec2(0, 0); lowerTranslation = 0; upperTranslation = 0; motorForce = 0; motorSpeed = 0; enableLimit = false; enableMotor = false; } } }//package Box2D.Dynamics.Joints
Section 51
//b2PulleyJoint (Box2D.Dynamics.Joints.b2PulleyJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2PulleyJoint extends b2Joint { public var m_ground:b2Body; public var m_maxLength2:Number; public var m_limitState1:int; public var m_maxLength1:Number; public var m_pulleyImpulse:Number; public var m_limitPositionImpulse1:Number; public var m_constant:Number; public var m_ratio:Number; public var m_groundAnchor1:b2Vec2; public var m_groundAnchor2:b2Vec2; public var m_limitPositionImpulse2:Number; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_limitState2:int; public var m_limitMass2:Number; public var m_limitMass1:Number; public var m_limitImpulse2:Number; public var m_u1:b2Vec2; public var m_u2:b2Vec2; public var m_limitImpulse1:Number; public var m_pulleyMass:Number; public static var b2_minPulleyLength:Number = 30; public function b2PulleyJoint(_arg1:b2PulleyJointDef){ var _local2:b2Mat22; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; m_groundAnchor1 = new b2Vec2(); m_groundAnchor2 = new b2Vec2(); m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_u1 = new b2Vec2(); m_u2 = new b2Vec2(); super(_arg1); m_ground = m_body1.m_world.m_groundBody; m_groundAnchor1.x = (_arg1.groundPoint1.x - m_ground.m_position.x); m_groundAnchor1.y = (_arg1.groundPoint1.y - m_ground.m_position.y); m_groundAnchor2.x = (_arg1.groundPoint2.x - m_ground.m_position.x); m_groundAnchor2.y = (_arg1.groundPoint2.y - m_ground.m_position.y); _local2 = m_body1.m_R; _local3 = (_arg1.anchorPoint1.x - m_body1.m_position.x); _local4 = (_arg1.anchorPoint1.y - m_body1.m_position.y); m_localAnchor1.x = ((_local3 * _local2.col1.x) + (_local4 * _local2.col1.y)); m_localAnchor1.y = ((_local3 * _local2.col2.x) + (_local4 * _local2.col2.y)); _local2 = m_body2.m_R; _local3 = (_arg1.anchorPoint2.x - m_body2.m_position.x); _local4 = (_arg1.anchorPoint2.y - m_body2.m_position.y); m_localAnchor2.x = ((_local3 * _local2.col1.x) + (_local4 * _local2.col1.y)); m_localAnchor2.y = ((_local3 * _local2.col2.x) + (_local4 * _local2.col2.y)); m_ratio = _arg1.ratio; _local3 = (_arg1.groundPoint1.x - _arg1.anchorPoint1.x); _local4 = (_arg1.groundPoint1.y - _arg1.anchorPoint1.y); _local5 = Math.sqrt(((_local3 * _local3) + (_local4 * _local4))); _local3 = (_arg1.groundPoint2.x - _arg1.anchorPoint2.x); _local4 = (_arg1.groundPoint2.y - _arg1.anchorPoint2.y); _local6 = Math.sqrt(((_local3 * _local3) + (_local4 * _local4))); _local7 = b2Math.b2Max((0.5 * b2_minPulleyLength), _local5); _local8 = b2Math.b2Max((0.5 * b2_minPulleyLength), _local6); m_constant = (_local7 + (m_ratio * _local8)); m_maxLength1 = b2Math.b2Clamp(_arg1.maxLength1, _local7, (m_constant - (m_ratio * b2_minPulleyLength))); m_maxLength2 = b2Math.b2Clamp(_arg1.maxLength2, _local8, ((m_constant - b2_minPulleyLength) / m_ratio)); m_pulleyImpulse = 0; m_limitImpulse1 = 0; m_limitImpulse2 = 0; } public function GetLength1():Number{ var _local1:b2Mat22; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = m_body1.m_R; _local2 = (m_body1.m_position.x + ((_local1.col1.x * m_localAnchor1.x) + (_local1.col2.x * m_localAnchor1.y))); _local3 = (m_body1.m_position.y + ((_local1.col1.y * m_localAnchor1.x) + (_local1.col2.y * m_localAnchor1.y))); _local4 = (_local2 - (m_ground.m_position.x + m_groundAnchor1.x)); _local5 = (_local3 - (m_ground.m_position.y + m_groundAnchor1.y)); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } override public function GetAnchor1():b2Vec2{ var _local1:b2Mat22; _local1 = m_body1.m_R; return (new b2Vec2((m_body1.m_position.x + ((_local1.col1.x * m_localAnchor1.x) + (_local1.col2.x * m_localAnchor1.y))), (m_body1.m_position.y + ((_local1.col1.y * m_localAnchor1.x) + (_local1.col2.y * m_localAnchor1.y))))); } override public function GetAnchor2():b2Vec2{ var _local1:b2Mat22; _local1 = m_body2.m_R; return (new b2Vec2((m_body2.m_position.x + ((_local1.col1.x * m_localAnchor2.x) + (_local1.col2.x * m_localAnchor2.y))), (m_body2.m_position.y + ((_local1.col1.y * m_localAnchor2.x) + (_local1.col2.y * m_localAnchor2.y))))); } override public function PrepareVelocitySolver():void{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; 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:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; _local1 = m_body1; _local2 = m_body2; _local3 = _local1.m_R; _local4 = ((_local3.col1.x * m_localAnchor1.x) + (_local3.col2.x * m_localAnchor1.y)); _local5 = ((_local3.col1.y * m_localAnchor1.x) + (_local3.col2.y * m_localAnchor1.y)); _local3 = _local2.m_R; _local6 = ((_local3.col1.x * m_localAnchor2.x) + (_local3.col2.x * m_localAnchor2.y)); _local7 = ((_local3.col1.y * m_localAnchor2.x) + (_local3.col2.y * m_localAnchor2.y)); _local8 = (_local1.m_position.x + _local4); _local9 = (_local1.m_position.y + _local5); _local10 = (_local2.m_position.x + _local6); _local11 = (_local2.m_position.y + _local7); _local12 = (m_ground.m_position.x + m_groundAnchor1.x); _local13 = (m_ground.m_position.y + m_groundAnchor1.y); _local14 = (m_ground.m_position.x + m_groundAnchor2.x); _local15 = (m_ground.m_position.y + m_groundAnchor2.y); m_u1.Set((_local8 - _local12), (_local9 - _local13)); m_u2.Set((_local10 - _local14), (_local11 - _local15)); _local16 = m_u1.Length(); _local17 = m_u2.Length(); if (_local16 > b2Settings.b2_linearSlop){ m_u1.Multiply((1 / _local16)); } else { m_u1.SetZero(); }; if (_local17 > b2Settings.b2_linearSlop){ m_u2.Multiply((1 / _local17)); } else { m_u2.SetZero(); }; if (_local16 < m_maxLength1){ m_limitState1 = e_inactiveLimit; m_limitImpulse1 = 0; } else { m_limitState1 = e_atUpperLimit; m_limitPositionImpulse1 = 0; }; if (_local17 < m_maxLength2){ m_limitState2 = e_inactiveLimit; m_limitImpulse2 = 0; } else { m_limitState2 = e_atUpperLimit; m_limitPositionImpulse2 = 0; }; _local18 = ((_local4 * m_u1.y) - (_local5 * m_u1.x)); _local19 = ((_local6 * m_u2.y) - (_local7 * m_u2.x)); m_limitMass1 = (_local1.m_invMass + ((_local1.m_invI * _local18) * _local18)); m_limitMass2 = (_local2.m_invMass + ((_local2.m_invI * _local19) * _local19)); m_pulleyMass = (m_limitMass1 + ((m_ratio * m_ratio) * m_limitMass2)); m_limitMass1 = (1 / m_limitMass1); m_limitMass2 = (1 / m_limitMass2); m_pulleyMass = (1 / m_pulleyMass); _local20 = ((-(m_pulleyImpulse) - m_limitImpulse1) * m_u1.x); _local21 = ((-(m_pulleyImpulse) - m_limitImpulse1) * m_u1.y); _local22 = (((-(m_ratio) * m_pulleyImpulse) - m_limitImpulse2) * m_u2.x); _local23 = (((-(m_ratio) * m_pulleyImpulse) - m_limitImpulse2) * m_u2.y); _local1.m_linearVelocity.x = (_local1.m_linearVelocity.x + (_local1.m_invMass * _local20)); _local1.m_linearVelocity.y = (_local1.m_linearVelocity.y + (_local1.m_invMass * _local21)); _local1.m_angularVelocity = (_local1.m_angularVelocity + (_local1.m_invI * ((_local4 * _local21) - (_local5 * _local20)))); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local22)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local23)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local6 * _local23) - (_local7 * _local22)))); } override public function GetReactionForce(_arg1:Number):b2Vec2{ return (new b2Vec2()); } override public function SolvePositionConstraints():Boolean{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; 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:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; _local1 = m_body1; _local2 = m_body2; _local4 = (m_ground.m_position.x + m_groundAnchor1.x); _local5 = (m_ground.m_position.y + m_groundAnchor1.y); _local6 = (m_ground.m_position.x + m_groundAnchor2.x); _local7 = (m_ground.m_position.y + m_groundAnchor2.y); _local21 = 0; _local3 = _local1.m_R; _local8 = ((_local3.col1.x * m_localAnchor1.x) + (_local3.col2.x * m_localAnchor1.y)); _local9 = ((_local3.col1.y * m_localAnchor1.x) + (_local3.col2.y * m_localAnchor1.y)); _local3 = _local2.m_R; _local10 = ((_local3.col1.x * m_localAnchor2.x) + (_local3.col2.x * m_localAnchor2.y)); _local11 = ((_local3.col1.y * m_localAnchor2.x) + (_local3.col2.y * m_localAnchor2.y)); _local12 = (_local1.m_position.x + _local8); _local13 = (_local1.m_position.y + _local9); _local14 = (_local2.m_position.x + _local10); _local15 = (_local2.m_position.y + _local11); m_u1.Set((_local12 - _local4), (_local13 - _local5)); m_u2.Set((_local14 - _local6), (_local15 - _local7)); _local16 = m_u1.Length(); _local17 = m_u2.Length(); if (_local16 > b2Settings.b2_linearSlop){ m_u1.Multiply((1 / _local16)); } else { m_u1.SetZero(); }; if (_local17 > b2Settings.b2_linearSlop){ m_u2.Multiply((1 / _local17)); } else { m_u2.SetZero(); }; _local18 = ((m_constant - _local16) - (m_ratio * _local17)); _local21 = b2Math.b2Max(_local21, Math.abs(_local18)); _local18 = b2Math.b2Clamp(_local18, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); _local19 = (-(m_pulleyMass) * _local18); _local12 = (-(_local19) * m_u1.x); _local13 = (-(_local19) * m_u1.y); _local14 = ((-(m_ratio) * _local19) * m_u2.x); _local15 = ((-(m_ratio) * _local19) * m_u2.y); _local1.m_position.x = (_local1.m_position.x + (_local1.m_invMass * _local12)); _local1.m_position.y = (_local1.m_position.y + (_local1.m_invMass * _local13)); _local1.m_rotation = (_local1.m_rotation + (_local1.m_invI * ((_local8 * _local13) - (_local9 * _local12)))); _local2.m_position.x = (_local2.m_position.x + (_local2.m_invMass * _local14)); _local2.m_position.y = (_local2.m_position.y + (_local2.m_invMass * _local15)); _local2.m_rotation = (_local2.m_rotation + (_local2.m_invI * ((_local10 * _local15) - (_local11 * _local14)))); _local1.m_R.Set(_local1.m_rotation); _local2.m_R.Set(_local2.m_rotation); if (m_limitState1 == e_atUpperLimit){ _local3 = _local1.m_R; _local8 = ((_local3.col1.x * m_localAnchor1.x) + (_local3.col2.x * m_localAnchor1.y)); _local9 = ((_local3.col1.y * m_localAnchor1.x) + (_local3.col2.y * m_localAnchor1.y)); _local12 = (_local1.m_position.x + _local8); _local13 = (_local1.m_position.y + _local9); m_u1.Set((_local12 - _local4), (_local13 - _local5)); _local16 = m_u1.Length(); if (_local16 > b2Settings.b2_linearSlop){ m_u1.x = (m_u1.x * (1 / _local16)); m_u1.y = (m_u1.y * (1 / _local16)); } else { m_u1.SetZero(); }; _local18 = (m_maxLength1 - _local16); _local21 = b2Math.b2Max(_local21, -(_local18)); _local18 = b2Math.b2Clamp((_local18 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local19 = (-(m_limitMass1) * _local18); _local20 = m_limitPositionImpulse1; m_limitPositionImpulse1 = b2Math.b2Max(0, (m_limitPositionImpulse1 + _local19)); _local19 = (m_limitPositionImpulse1 - _local20); _local12 = (-(_local19) * m_u1.x); _local13 = (-(_local19) * m_u1.y); _local1.m_position.x = (_local1.m_position.x + (_local1.m_invMass * _local12)); _local1.m_position.y = (_local1.m_position.y + (_local1.m_invMass * _local13)); _local1.m_rotation = (_local1.m_rotation + (_local1.m_invI * ((_local8 * _local13) - (_local9 * _local12)))); _local1.m_R.Set(_local1.m_rotation); }; if (m_limitState2 == e_atUpperLimit){ _local3 = _local2.m_R; _local10 = ((_local3.col1.x * m_localAnchor2.x) + (_local3.col2.x * m_localAnchor2.y)); _local11 = ((_local3.col1.y * m_localAnchor2.x) + (_local3.col2.y * m_localAnchor2.y)); _local14 = (_local2.m_position.x + _local10); _local15 = (_local2.m_position.y + _local11); m_u2.Set((_local14 - _local6), (_local15 - _local7)); _local17 = m_u2.Length(); if (_local17 > b2Settings.b2_linearSlop){ m_u2.x = (m_u2.x * (1 / _local17)); m_u2.y = (m_u2.y * (1 / _local17)); } else { m_u2.SetZero(); }; _local18 = (m_maxLength2 - _local17); _local21 = b2Math.b2Max(_local21, -(_local18)); _local18 = b2Math.b2Clamp((_local18 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local19 = (-(m_limitMass2) * _local18); _local20 = m_limitPositionImpulse2; m_limitPositionImpulse2 = b2Math.b2Max(0, (m_limitPositionImpulse2 + _local19)); _local19 = (m_limitPositionImpulse2 - _local20); _local14 = (-(_local19) * m_u2.x); _local15 = (-(_local19) * m_u2.y); _local2.m_position.x = (_local2.m_position.x + (_local2.m_invMass * _local14)); _local2.m_position.y = (_local2.m_position.y + (_local2.m_invMass * _local15)); _local2.m_rotation = (_local2.m_rotation + (_local2.m_invI * ((_local10 * _local15) - (_local11 * _local14)))); _local2.m_R.Set(_local2.m_rotation); }; return ((_local21 < b2Settings.b2_linearSlop)); } public function GetGroundPoint1():b2Vec2{ return (new b2Vec2((m_ground.m_position.x + m_groundAnchor1.x), (m_ground.m_position.y + m_groundAnchor1.y))); } public function GetGroundPoint2():b2Vec2{ return (new b2Vec2((m_ground.m_position.x + m_groundAnchor2.x), (m_ground.m_position.y + m_groundAnchor2.y))); } override public function GetReactionTorque(_arg1:Number):Number{ return (0); } public function GetRatio():Number{ return (m_ratio); } public function GetLength2():Number{ var _local1:b2Mat22; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = m_body2.m_R; _local2 = (m_body2.m_position.x + ((_local1.col1.x * m_localAnchor2.x) + (_local1.col2.x * m_localAnchor2.y))); _local3 = (m_body2.m_position.y + ((_local1.col1.y * m_localAnchor2.x) + (_local1.col2.y * m_localAnchor2.y))); _local4 = (_local2 - (m_ground.m_position.x + m_groundAnchor2.x)); _local5 = (_local3 - (m_ground.m_position.y + m_groundAnchor2.y)); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; 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:Number; var _local18:Number; var _local19:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_R; _local5 = ((_local4.col1.x * m_localAnchor1.x) + (_local4.col2.x * m_localAnchor1.y)); _local6 = ((_local4.col1.y * m_localAnchor1.x) + (_local4.col2.y * m_localAnchor1.y)); _local4 = _local3.m_R; _local7 = ((_local4.col1.x * m_localAnchor2.x) + (_local4.col2.x * m_localAnchor2.y)); _local8 = ((_local4.col1.y * m_localAnchor2.x) + (_local4.col2.y * m_localAnchor2.y)); _local9 = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local6)); _local10 = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local5)); _local11 = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local8)); _local12 = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local7)); _local17 = (-(((m_u1.x * _local9) + (m_u1.y * _local10))) - (m_ratio * ((m_u2.x * _local11) + (m_u2.y * _local12)))); _local18 = (-(m_pulleyMass) * _local17); m_pulleyImpulse = (m_pulleyImpulse + _local18); _local13 = (-(_local18) * m_u1.x); _local14 = (-(_local18) * m_u1.y); _local15 = ((-(m_ratio) * _local18) * m_u2.x); _local16 = ((-(m_ratio) * _local18) * m_u2.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local13)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local14)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local5 * _local14) - (_local6 * _local13)))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local15)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local16)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local7 * _local16) - (_local8 * _local15)))); if (m_limitState1 == e_atUpperLimit){ _local9 = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local6)); _local10 = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local5)); _local17 = -(((m_u1.x * _local9) + (m_u1.y * _local10))); _local18 = (-(m_limitMass1) * _local17); _local19 = m_limitImpulse1; m_limitImpulse1 = b2Math.b2Max(0, (m_limitImpulse1 + _local18)); _local18 = (m_limitImpulse1 - _local19); _local13 = (-(_local18) * m_u1.x); _local14 = (-(_local18) * m_u1.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local13)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local14)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local5 * _local14) - (_local6 * _local13)))); }; if (m_limitState2 == e_atUpperLimit){ _local11 = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local8)); _local12 = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local7)); _local17 = -(((m_u2.x * _local11) + (m_u2.y * _local12))); _local18 = (-(m_limitMass2) * _local17); _local19 = m_limitImpulse2; m_limitImpulse2 = b2Math.b2Max(0, (m_limitImpulse2 + _local18)); _local18 = (m_limitImpulse2 - _local19); _local15 = (-(_local18) * m_u2.x); _local16 = (-(_local18) * m_u2.y); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local15)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local16)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local7 * _local16) - (_local8 * _local15)))); }; } } }//package Box2D.Dynamics.Joints
Section 52
//b2PulleyJointDef (Box2D.Dynamics.Joints.b2PulleyJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; public class b2PulleyJointDef extends b2JointDef { public var groundPoint1:b2Vec2; public var groundPoint2:b2Vec2; public var ratio:Number; public var maxLength1:Number; public var maxLength2:Number; public var anchorPoint1:b2Vec2; public var anchorPoint2:b2Vec2; public function b2PulleyJointDef(){ groundPoint1 = new b2Vec2(); groundPoint2 = new b2Vec2(); anchorPoint1 = new b2Vec2(); anchorPoint2 = new b2Vec2(); super(); type = b2Joint.e_pulleyJoint; groundPoint1.Set(-1, 1); groundPoint2.Set(1, 1); anchorPoint1.Set(-1, 0); anchorPoint2.Set(1, 0); maxLength1 = (0.5 * b2PulleyJoint.b2_minPulleyLength); maxLength2 = (0.5 * b2PulleyJoint.b2_minPulleyLength); ratio = 1; collideConnected = true; } } }//package Box2D.Dynamics.Joints
Section 53
//b2RevoluteJoint (Box2D.Dynamics.Joints.b2RevoluteJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2RevoluteJoint extends b2Joint { public var m_intialAngle:Number; public var m_enableLimit:Boolean; public var m_limitState:int; public var m_ptpMass:b2Mat22; public var m_motorMass:Number; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; private var K1:b2Mat22; private var K2:b2Mat22; private var K3:b2Mat22; private var K:b2Mat22; public var m_limitImpulse:Number; public var m_motorImpulse:Number; public var m_enableMotor:Boolean; public var m_lowerAngle:Number; public var m_limitPositionImpulse:Number; public var m_maxMotorTorque:Number; public var m_upperAngle:Number; public var m_motorSpeed:Number; public var m_ptpImpulse:b2Vec2; public static var tImpulse:b2Vec2 = new b2Vec2(); public function b2RevoluteJoint(_arg1:b2RevoluteJointDef){ var _local2:b2Mat22; var _local3:Number; var _local4:Number; K = new b2Mat22(); K1 = new b2Mat22(); K2 = new b2Mat22(); K3 = new b2Mat22(); m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_ptpImpulse = new b2Vec2(); m_ptpMass = new b2Mat22(); super(_arg1); _local2 = m_body1.m_R; _local3 = (_arg1.anchorPoint.x - m_body1.m_position.x); _local4 = (_arg1.anchorPoint.y - m_body1.m_position.y); m_localAnchor1.x = ((_local3 * _local2.col1.x) + (_local4 * _local2.col1.y)); m_localAnchor1.y = ((_local3 * _local2.col2.x) + (_local4 * _local2.col2.y)); _local2 = m_body2.m_R; _local3 = (_arg1.anchorPoint.x - m_body2.m_position.x); _local4 = (_arg1.anchorPoint.y - m_body2.m_position.y); m_localAnchor2.x = ((_local3 * _local2.col1.x) + (_local4 * _local2.col1.y)); m_localAnchor2.y = ((_local3 * _local2.col2.x) + (_local4 * _local2.col2.y)); m_intialAngle = (m_body2.m_rotation - m_body1.m_rotation); m_ptpImpulse.Set(0, 0); m_motorImpulse = 0; m_limitImpulse = 0; m_limitPositionImpulse = 0; m_lowerAngle = _arg1.lowerAngle; m_upperAngle = _arg1.upperAngle; m_maxMotorTorque = _arg1.motorTorque; m_motorSpeed = _arg1.motorSpeed; m_enableLimit = _arg1.enableLimit; m_enableMotor = _arg1.enableMotor; } override public function GetAnchor1():b2Vec2{ var _local1:b2Mat22; _local1 = m_body1.m_R; return (new b2Vec2((m_body1.m_position.x + ((_local1.col1.x * m_localAnchor1.x) + (_local1.col2.x * m_localAnchor1.y))), (m_body1.m_position.y + ((_local1.col1.y * m_localAnchor1.x) + (_local1.col2.y * m_localAnchor1.y))))); } override public function GetAnchor2():b2Vec2{ var _local1:b2Mat22; _local1 = m_body2.m_R; return (new b2Vec2((m_body2.m_position.x + ((_local1.col1.x * m_localAnchor2.x) + (_local1.col2.x * m_localAnchor2.y))), (m_body2.m_position.y + ((_local1.col1.y * m_localAnchor2.x) + (_local1.col2.y * m_localAnchor2.y))))); } override public function PrepareVelocitySolver():void{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; 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; _local1 = m_body1; _local2 = m_body2; _local3 = _local1.m_R; _local4 = ((_local3.col1.x * m_localAnchor1.x) + (_local3.col2.x * m_localAnchor1.y)); _local5 = ((_local3.col1.y * m_localAnchor1.x) + (_local3.col2.y * m_localAnchor1.y)); _local3 = _local2.m_R; _local6 = ((_local3.col1.x * m_localAnchor2.x) + (_local3.col2.x * m_localAnchor2.y)); _local7 = ((_local3.col1.y * m_localAnchor2.x) + (_local3.col2.y * m_localAnchor2.y)); _local8 = _local1.m_invMass; _local9 = _local2.m_invMass; _local10 = _local1.m_invI; _local11 = _local2.m_invI; K1.col1.x = (_local8 + _local9); K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = (_local8 + _local9); K2.col1.x = ((_local10 * _local5) * _local5); K2.col2.x = ((-(_local10) * _local4) * _local5); K2.col1.y = ((-(_local10) * _local4) * _local5); K2.col2.y = ((_local10 * _local4) * _local4); K3.col1.x = ((_local11 * _local7) * _local7); K3.col2.x = ((-(_local11) * _local6) * _local7); K3.col1.y = ((-(_local11) * _local6) * _local7); K3.col2.y = ((_local11 * _local6) * _local6); K.SetM(K1); K.AddM(K2); K.AddM(K3); K.Invert(m_ptpMass); m_motorMass = (1 / (_local10 + _local11)); if (m_enableMotor == false){ m_motorImpulse = 0; }; if (m_enableLimit){ _local12 = ((_local2.m_rotation - _local1.m_rotation) - m_intialAngle); if (b2Math.b2Abs((m_upperAngle - m_lowerAngle)) < (2 * b2Settings.b2_angularSlop)){ m_limitState = e_equalLimits; } else { if (_local12 <= m_lowerAngle){ if (m_limitState != e_atLowerLimit){ m_limitImpulse = 0; }; m_limitState = e_atLowerLimit; } else { if (_local12 >= m_upperAngle){ if (m_limitState != e_atUpperLimit){ m_limitImpulse = 0; }; m_limitState = e_atUpperLimit; } else { m_limitState = e_inactiveLimit; m_limitImpulse = 0; }; }; }; } else { m_limitImpulse = 0; }; if (b2World.s_enableWarmStarting){ _local1.m_linearVelocity.x = (_local1.m_linearVelocity.x - (_local8 * m_ptpImpulse.x)); _local1.m_linearVelocity.y = (_local1.m_linearVelocity.y - (_local8 * m_ptpImpulse.y)); _local1.m_angularVelocity = (_local1.m_angularVelocity - (_local10 * ((((_local4 * m_ptpImpulse.y) - (_local5 * m_ptpImpulse.x)) + m_motorImpulse) + m_limitImpulse))); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local9 * m_ptpImpulse.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local9 * m_ptpImpulse.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local11 * ((((_local6 * m_ptpImpulse.y) - (_local7 * m_ptpImpulse.x)) + m_motorImpulse) + m_limitImpulse))); } else { m_ptpImpulse.SetZero(); m_motorImpulse = 0; m_limitImpulse = 0; }; m_limitPositionImpulse = 0; } override public function GetReactionForce(_arg1:Number):b2Vec2{ var _local2:b2Vec2; _local2 = m_ptpImpulse.Copy(); _local2.Multiply(_arg1); return (_local2); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local3:b2Body; var _local4:b2Body; var _local5:Number; var _local6:b2Mat22; 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; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; _local3 = m_body1; _local4 = m_body2; _local5 = 0; _local6 = _local3.m_R; _local7 = ((_local6.col1.x * m_localAnchor1.x) + (_local6.col2.x * m_localAnchor1.y)); _local8 = ((_local6.col1.y * m_localAnchor1.x) + (_local6.col2.y * m_localAnchor1.y)); _local6 = _local4.m_R; _local9 = ((_local6.col1.x * m_localAnchor2.x) + (_local6.col2.x * m_localAnchor2.y)); _local10 = ((_local6.col1.y * m_localAnchor2.x) + (_local6.col2.y * m_localAnchor2.y)); _local11 = (_local3.m_position.x + _local7); _local12 = (_local3.m_position.y + _local8); _local13 = (_local4.m_position.x + _local9); _local14 = (_local4.m_position.y + _local10); _local15 = (_local13 - _local11); _local16 = (_local14 - _local12); _local5 = Math.sqrt(((_local15 * _local15) + (_local16 * _local16))); _local17 = _local3.m_invMass; _local18 = _local4.m_invMass; _local19 = _local3.m_invI; _local20 = _local4.m_invI; K1.col1.x = (_local17 + _local18); K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = (_local17 + _local18); K2.col1.x = ((_local19 * _local8) * _local8); K2.col2.x = ((-(_local19) * _local7) * _local8); K2.col1.y = ((-(_local19) * _local7) * _local8); K2.col2.y = ((_local19 * _local7) * _local7); K3.col1.x = ((_local20 * _local10) * _local10); K3.col2.x = ((-(_local20) * _local9) * _local10); K3.col1.y = ((-(_local20) * _local9) * _local10); K3.col2.y = ((_local20 * _local9) * _local9); K.SetM(K1); K.AddM(K2); K.AddM(K3); K.Solve(tImpulse, -(_local15), -(_local16)); _local21 = tImpulse.x; _local22 = tImpulse.y; _local3.m_position.x = (_local3.m_position.x - (_local3.m_invMass * _local21)); _local3.m_position.y = (_local3.m_position.y - (_local3.m_invMass * _local22)); _local3.m_rotation = (_local3.m_rotation - (_local3.m_invI * ((_local7 * _local22) - (_local8 * _local21)))); _local3.m_R.Set(_local3.m_rotation); _local4.m_position.x = (_local4.m_position.x + (_local4.m_invMass * _local21)); _local4.m_position.y = (_local4.m_position.y + (_local4.m_invMass * _local22)); _local4.m_rotation = (_local4.m_rotation + (_local4.m_invI * ((_local9 * _local22) - (_local10 * _local21)))); _local4.m_R.Set(_local4.m_rotation); _local23 = 0; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local24 = ((_local4.m_rotation - _local3.m_rotation) - m_intialAngle); _local25 = 0; if (m_limitState == e_equalLimits){ _local2 = b2Math.b2Clamp(_local24, -(b2Settings.b2_maxAngularCorrection), b2Settings.b2_maxAngularCorrection); _local25 = (-(m_motorMass) * _local2); _local23 = b2Math.b2Abs(_local2); } else { if (m_limitState == e_atLowerLimit){ _local2 = (_local24 - m_lowerAngle); _local23 = b2Math.b2Max(0, -(_local2)); _local2 = b2Math.b2Clamp((_local2 + b2Settings.b2_angularSlop), -(b2Settings.b2_maxAngularCorrection), 0); _local25 = (-(m_motorMass) * _local2); _local1 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Max((m_limitPositionImpulse + _local25), 0); _local25 = (m_limitPositionImpulse - _local1); } else { if (m_limitState == e_atUpperLimit){ _local2 = (_local24 - m_upperAngle); _local23 = b2Math.b2Max(0, _local2); _local2 = b2Math.b2Clamp((_local2 - b2Settings.b2_angularSlop), 0, b2Settings.b2_maxAngularCorrection); _local25 = (-(m_motorMass) * _local2); _local1 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Min((m_limitPositionImpulse + _local25), 0); _local25 = (m_limitPositionImpulse - _local1); }; }; }; _local3.m_rotation = (_local3.m_rotation - (_local3.m_invI * _local25)); _local3.m_R.Set(_local3.m_rotation); _local4.m_rotation = (_local4.m_rotation + (_local4.m_invI * _local25)); _local4.m_R.Set(_local4.m_rotation); }; return ((((_local5 <= b2Settings.b2_linearSlop)) && ((_local23 <= b2Settings.b2_angularSlop)))); } public function GetJointSpeed():Number{ return ((m_body2.m_angularVelocity - m_body1.m_angularVelocity)); } public function SetMotorSpeed(_arg1:Number):void{ m_motorSpeed = _arg1; } public function SetMotorTorque(_arg1:Number):void{ m_maxMotorTorque = _arg1; } public function GetJointAngle():Number{ return ((m_body2.m_rotation - m_body1.m_rotation)); } public function GetMotorTorque(_arg1:Number):Number{ return ((_arg1 * m_motorImpulse)); } override public function GetReactionTorque(_arg1:Number):Number{ return ((_arg1 * m_limitImpulse)); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; 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:Number; var _local18:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_R; _local5 = ((_local4.col1.x * m_localAnchor1.x) + (_local4.col2.x * m_localAnchor1.y)); _local6 = ((_local4.col1.y * m_localAnchor1.x) + (_local4.col2.y * m_localAnchor1.y)); _local4 = _local3.m_R; _local7 = ((_local4.col1.x * m_localAnchor2.x) + (_local4.col2.x * m_localAnchor2.y)); _local8 = ((_local4.col1.y * m_localAnchor2.x) + (_local4.col2.y * m_localAnchor2.y)); _local10 = (((_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local8)) - _local2.m_linearVelocity.x) - (-(_local2.m_angularVelocity) * _local6)); _local11 = (((_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local7)) - _local2.m_linearVelocity.y) - (_local2.m_angularVelocity * _local5)); _local12 = -(((m_ptpMass.col1.x * _local10) + (m_ptpMass.col2.x * _local11))); _local13 = -(((m_ptpMass.col1.y * _local10) + (m_ptpMass.col2.y * _local11))); m_ptpImpulse.x = (m_ptpImpulse.x + _local12); m_ptpImpulse.y = (m_ptpImpulse.y + _local13); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x - (_local2.m_invMass * _local12)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y - (_local2.m_invMass * _local13)); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local2.m_invI * ((_local5 * _local13) - (_local6 * _local12)))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local12)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local13)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local7 * _local13) - (_local8 * _local12)))); if (((m_enableMotor) && (!((m_limitState == e_equalLimits))))){ _local14 = ((_local3.m_angularVelocity - _local2.m_angularVelocity) - m_motorSpeed); _local15 = (-(m_motorMass) * _local14); _local16 = m_motorImpulse; m_motorImpulse = b2Math.b2Clamp((m_motorImpulse + _local15), (-(_arg1.dt) * m_maxMotorTorque), (_arg1.dt * m_maxMotorTorque)); _local15 = (m_motorImpulse - _local16); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local2.m_invI * _local15)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * _local15)); }; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local17 = (_local3.m_angularVelocity - _local2.m_angularVelocity); _local18 = (-(m_motorMass) * _local17); if (m_limitState == e_equalLimits){ m_limitImpulse = (m_limitImpulse + _local18); } else { if (m_limitState == e_atLowerLimit){ _local9 = m_limitImpulse; m_limitImpulse = b2Math.b2Max((m_limitImpulse + _local18), 0); _local18 = (m_limitImpulse - _local9); } else { if (m_limitState == e_atUpperLimit){ _local9 = m_limitImpulse; m_limitImpulse = b2Math.b2Min((m_limitImpulse + _local18), 0); _local18 = (m_limitImpulse - _local9); }; }; }; _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local2.m_invI * _local18)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * _local18)); }; } } }//package Box2D.Dynamics.Joints
Section 54
//b2RevoluteJointDef (Box2D.Dynamics.Joints.b2RevoluteJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; public class b2RevoluteJointDef extends b2JointDef { public var upperAngle:Number; public var lowerAngle:Number; public var motorSpeed:Number; public var anchorPoint:b2Vec2; public var motorTorque:Number; public var enableMotor:Boolean; public var enableLimit:Boolean; public function b2RevoluteJointDef(){ type = b2Joint.e_revoluteJoint; anchorPoint = new b2Vec2(0, 0); lowerAngle = 0; upperAngle = 0; motorTorque = 0; motorSpeed = 0; enableLimit = false; enableMotor = false; } } }//package Box2D.Dynamics.Joints
Section 55
//b2Body (Box2D.Dynamics.b2Body) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.Contacts.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2Body { public var m_next:b2Body; public var m_mass:Number; public var m_contactList:b2ContactNode; public var m_angularVelocity:Number; public var m_rotation:Number; public var m_shapeList:b2Shape; public var m_R:b2Mat22; public var m_force:b2Vec2; public var m_torque:Number; public var m_rotation0:Number; public var m_userData; public var m_linearVelocity:b2Vec2; public var m_invMass:Number; public var m_position:b2Vec2; public var m_flags:uint; public var m_invI:Number; public var m_linearDamping:Number; public var m_prev:b2Body; public var m_world:b2World; public var m_angularDamping:Number; public var m_position0:b2Vec2; private var sMat0:b2Mat22; public var m_center:b2Vec2; public var m_sleepTime:Number; public var m_shapeCount:int; public var m_I:Number; public var m_jointList:b2JointNode; public static var e_frozenFlag:uint = 2; public static var e_sleepFlag:uint = 8; public static var e_islandFlag:uint = 4; public static var e_destroyFlag:uint = 32; public static var e_allowSleepFlag:uint = 16; public static var e_staticFlag:uint = 1; public function b2Body(_arg1:b2BodyDef, _arg2:b2World){ var _local3:int; var _local4:b2ShapeDef; var _local5:b2MassData; var _local6:Array; var _local7:b2Vec2; var _local8:b2Shape; sMat0 = new b2Mat22(); m_position = new b2Vec2(); m_R = new b2Mat22(0); m_position0 = new b2Vec2(); super(); m_flags = 0; m_position.SetV(_arg1.position); m_rotation = _arg1.rotation; m_R.Set(m_rotation); m_position0.SetV(m_position); m_rotation0 = m_rotation; m_world = _arg2; m_linearDamping = b2Math.b2Clamp((1 - _arg1.linearDamping), 0, 1); m_angularDamping = b2Math.b2Clamp((1 - _arg1.angularDamping), 0, 1); m_force = new b2Vec2(0, 0); m_torque = 0; m_mass = 0; _local6 = new Array(b2Settings.b2_maxShapesPerBody); _local3 = 0; while (_local3 < b2Settings.b2_maxShapesPerBody) { _local6[_local3] = new b2MassData(); _local3++; }; m_shapeCount = 0; m_center = new b2Vec2(0, 0); _local3 = 0; while (_local3 < b2Settings.b2_maxShapesPerBody) { _local4 = _arg1.shapes[_local3]; if (_local4 == null){ break; }; _local5 = _local6[_local3]; _local4.ComputeMass(_local5); m_mass = (m_mass + _local5.mass); m_center.x = (m_center.x + (_local5.mass * (_local4.localPosition.x + _local5.center.x))); m_center.y = (m_center.y + (_local5.mass * (_local4.localPosition.y + _local5.center.y))); m_shapeCount++; _local3++; }; if (m_mass > 0){ m_center.Multiply((1 / m_mass)); m_position.Add(b2Math.b2MulMV(m_R, m_center)); } else { m_flags = (m_flags | e_staticFlag); }; m_I = 0; _local3 = 0; while (_local3 < m_shapeCount) { _local4 = _arg1.shapes[_local3]; _local5 = _local6[_local3]; m_I = (m_I + _local5.I); _local7 = b2Math.SubtractVV(b2Math.AddVV(_local4.localPosition, _local5.center), m_center); m_I = (m_I + (_local5.mass * b2Math.b2Dot(_local7, _local7))); _local3++; }; if (m_mass > 0){ m_invMass = (1 / m_mass); } else { m_invMass = 0; }; if ((((m_I > 0)) && ((_arg1.preventRotation == false)))){ m_invI = (1 / m_I); } else { m_I = 0; m_invI = 0; }; m_linearVelocity = b2Math.AddVV(_arg1.linearVelocity, b2Math.b2CrossFV(_arg1.angularVelocity, m_center)); m_angularVelocity = _arg1.angularVelocity; m_jointList = null; m_contactList = null; m_prev = null; m_next = null; m_shapeList = null; _local3 = 0; while (_local3 < m_shapeCount) { _local4 = _arg1.shapes[_local3]; _local8 = b2Shape.Create(_local4, this, m_center); _local8.m_next = m_shapeList; m_shapeList = _local8; _local3++; }; m_sleepTime = 0; if (_arg1.allowSleep){ m_flags = (m_flags | e_allowSleepFlag); }; if (_arg1.isSleeping){ m_flags = (m_flags | e_sleepFlag); }; if ((((m_flags & e_sleepFlag)) || ((m_invMass == 0)))){ m_linearVelocity.Set(0, 0); m_angularVelocity = 0; }; m_userData = _arg1.userData; } public function SetCenterPosition(_arg1:b2Vec2, _arg2:Number):void{ var _local3:b2Shape; if (IsFrozen()){ return; }; m_rotation = _arg2; m_R.Set(m_rotation); m_position.SetV(_arg1); m_position0.SetV(m_position); m_rotation0 = m_rotation; _local3 = m_shapeList; while (_local3 != null) { _local3.Synchronize(m_position, m_R, m_position, m_R); _local3 = _local3.m_next; }; m_world.m_broadPhase.Commit(); } public function GetWorldPoint(_arg1:b2Vec2):b2Vec2{ return (b2Math.AddVV(m_position, b2Math.b2MulMV(m_R, _arg1))); } public function SetLinearVelocity(_arg1:b2Vec2):void{ m_linearVelocity.SetV(_arg1); } public function IsFrozen():Boolean{ return (((m_flags & e_frozenFlag) == e_frozenFlag)); } public function IsSleeping():Boolean{ return (((m_flags & e_sleepFlag) == e_sleepFlag)); } public function QuickSyncShapes():void{ var _local1:b2Shape; _local1 = m_shapeList; while (_local1 != null) { _local1.QuickSync(m_position, m_R); _local1 = _local1.m_next; }; } public function GetInertia():Number{ return (m_I); } public function GetLocalVector(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulTMV(m_R, _arg1)); } public function GetLinearVelocity():b2Vec2{ return (m_linearVelocity); } public function GetJointList():b2JointNode{ return (m_jointList); } public function GetRotationMatrix():b2Mat22{ return (m_R); } public function Freeze():void{ var _local1:b2Shape; m_flags = (m_flags | e_frozenFlag); m_linearVelocity.SetZero(); m_angularVelocity = 0; _local1 = m_shapeList; while (_local1 != null) { _local1.DestroyProxy(); _local1 = _local1.m_next; }; } public function SetAngularVelocity(_arg1:Number):void{ m_angularVelocity = _arg1; } public function SynchronizeShapes():void{ var _local1:b2Shape; sMat0.Set(m_rotation0); _local1 = m_shapeList; while (_local1 != null) { _local1.Synchronize(m_position0, sMat0, m_position, m_R); _local1 = _local1.m_next; }; } public function ApplyForce(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping() == false){ m_force.Add(_arg1); m_torque = (m_torque + b2Math.b2CrossVV(b2Math.SubtractVV(_arg2, m_position), _arg1)); }; } public function GetOriginPosition():b2Vec2{ return (b2Math.SubtractVV(m_position, b2Math.b2MulMV(m_R, m_center))); } public function ApplyImpulse(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping() == false){ m_linearVelocity.Add(b2Math.MulFV(m_invMass, _arg1)); m_angularVelocity = (m_angularVelocity + (m_invI * b2Math.b2CrossVV(b2Math.SubtractVV(_arg2, m_position), _arg1))); }; } public function GetContactList():b2ContactNode{ return (m_contactList); } public function GetAngularVelocity():Number{ return (m_angularVelocity); } public function GetMass():Number{ return (m_mass); } public function GetShapeList():b2Shape{ return (m_shapeList); } public function SetOriginPosition(_arg1:b2Vec2, _arg2:Number):void{ var _local3:b2Shape; if (IsFrozen()){ return; }; m_rotation = _arg2; m_R.Set(m_rotation); m_position = b2Math.AddVV(_arg1, b2Math.b2MulMV(m_R, m_center)); m_position0.SetV(m_position); m_rotation0 = m_rotation; _local3 = m_shapeList; while (_local3 != null) { _local3.Synchronize(m_position, m_R, m_position, m_R); _local3 = _local3.m_next; }; m_world.m_broadPhase.Commit(); } public function GetLocalPoint(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulTMV(m_R, b2Math.SubtractVV(_arg1, m_position))); } public function GetRotation():Number{ return (m_rotation); } public function IsStatic():Boolean{ return (((m_flags & e_staticFlag) == e_staticFlag)); } public function Destroy():void{ var _local1:b2Shape; var _local2:b2Shape; _local1 = m_shapeList; while (_local1) { _local2 = _local1; _local1 = _local1.m_next; b2Shape.Destroy(_local2); }; } public function GetWorldVector(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulMV(m_R, _arg1)); } public function GetNext():b2Body{ return (m_next); } public function IsConnected(_arg1:b2Body):Boolean{ var _local2:b2JointNode; _local2 = m_jointList; while (_local2 != null) { if (_local2.other == _arg1){ return ((_local2.joint.m_collideConnected == false)); }; _local2 = _local2.next; }; return (false); } public function GetUserData(){ return (m_userData); } public function GetCenterPosition():b2Vec2{ return (m_position); } public function ApplyTorque(_arg1:Number):void{ if (IsSleeping() == false){ m_torque = (m_torque + _arg1); }; } public function AllowSleeping(_arg1:Boolean):void{ if (_arg1){ m_flags = (m_flags | e_allowSleepFlag); } else { m_flags = (m_flags & ~(e_allowSleepFlag)); WakeUp(); }; } public function WakeUp():void{ m_flags = (m_flags & ~(e_sleepFlag)); m_sleepTime = 0; } } }//package Box2D.Dynamics
Section 56
//b2BodyDef (Box2D.Dynamics.b2BodyDef) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2BodyDef { public var angularDamping:Number; public var rotation:Number; public var allowSleep:Boolean; public var userData; public var linearDamping:Number; public var angularVelocity:Number; public var linearVelocity:b2Vec2; public var position:b2Vec2; public var shapes:Array; public var isSleeping:Boolean; public var preventRotation:Boolean; public function b2BodyDef(){ var _local1:int; shapes = new Array(); super(); userData = null; _local1 = 0; while (_local1 < b2Settings.b2_maxShapesPerBody) { shapes[_local1] = null; _local1++; }; position = new b2Vec2(0, 0); rotation = 0; linearVelocity = new b2Vec2(0, 0); angularVelocity = 0; linearDamping = 0; angularDamping = 0; allowSleep = true; isSleeping = false; preventRotation = false; } public function AddShape(_arg1:b2ShapeDef):void{ var _local2:int; _local2 = 0; while (_local2 < b2Settings.b2_maxShapesPerBody) { if (shapes[_local2] == null){ shapes[_local2] = _arg1; break; }; _local2++; }; } } }//package Box2D.Dynamics
Section 57
//b2CollisionFilter (Box2D.Dynamics.b2CollisionFilter) package Box2D.Dynamics { import Box2D.Collision.Shapes.*; public class b2CollisionFilter { public static var b2_defaultFilter:b2CollisionFilter = new (b2CollisionFilter); ; public function ShouldCollide(_arg1:b2Shape, _arg2:b2Shape):Boolean{ var _local3:Boolean; if ((((_arg1.m_groupIndex == _arg2.m_groupIndex)) && (!((_arg1.m_groupIndex == 0))))){ return ((_arg1.m_groupIndex > 0)); }; _local3 = ((!(((_arg1.m_maskBits & _arg2.m_categoryBits) == 0))) && (!(((_arg1.m_categoryBits & _arg2.m_maskBits) == 0)))); return (_local3); } } }//package Box2D.Dynamics
Section 58
//b2ContactManager (Box2D.Dynamics.b2ContactManager) package Box2D.Dynamics { import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; import Box2D.Collision.Shapes.*; public class b2ContactManager extends b2PairCallback { public var m_world:b2World; public var m_destroyImmediate:Boolean; public var m_nullContact:b2NullContact; public function b2ContactManager(){ m_nullContact = new b2NullContact(); super(); m_world = null; m_destroyImmediate = false; } public function Collide():void{ var _local1:b2Body; var _local2:b2Body; var _local3:b2ContactNode; var _local4:b2ContactNode; var _local5:b2Contact; var _local6:int; var _local7:int; _local5 = m_world.m_contactList; while (_local5 != null) { if (((_local5.m_shape1.m_body.IsSleeping()) && (_local5.m_shape2.m_body.IsSleeping()))){ } else { _local6 = _local5.GetManifoldCount(); _local5.Evaluate(); _local7 = _local5.GetManifoldCount(); if ((((_local6 == 0)) && ((_local7 > 0)))){ _local1 = _local5.m_shape1.m_body; _local2 = _local5.m_shape2.m_body; _local3 = _local5.m_node1; _local4 = _local5.m_node2; _local3.contact = _local5; _local3.other = _local2; _local3.prev = null; _local3.next = _local1.m_contactList; if (_local3.next != null){ _local3.next.prev = _local5.m_node1; }; _local1.m_contactList = _local5.m_node1; _local4.contact = _local5; _local4.other = _local1; _local4.prev = null; _local4.next = _local2.m_contactList; if (_local4.next != null){ _local4.next.prev = _local4; }; _local2.m_contactList = _local4; } else { if ((((_local6 > 0)) && ((_local7 == 0)))){ _local1 = _local5.m_shape1.m_body; _local2 = _local5.m_shape2.m_body; _local3 = _local5.m_node1; _local4 = _local5.m_node2; if (_local3.prev){ _local3.prev.next = _local3.next; }; if (_local3.next){ _local3.next.prev = _local3.prev; }; if (_local3 == _local1.m_contactList){ _local1.m_contactList = _local3.next; }; _local3.prev = null; _local3.next = null; if (_local4.prev){ _local4.prev.next = _local4.next; }; if (_local4.next){ _local4.next.prev = _local4.prev; }; if (_local4 == _local2.m_contactList){ _local2.m_contactList = _local4.next; }; _local4.prev = null; _local4.next = null; }; }; }; _local5 = _local5.m_next; }; } public function DestroyContact(_arg1:b2Contact):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2ContactNode; var _local5:b2ContactNode; if (_arg1.m_prev){ _arg1.m_prev.m_next = _arg1.m_next; }; if (_arg1.m_next){ _arg1.m_next.m_prev = _arg1.m_prev; }; if (_arg1 == m_world.m_contactList){ m_world.m_contactList = _arg1.m_next; }; if (_arg1.GetManifoldCount() > 0){ _local2 = _arg1.m_shape1.m_body; _local3 = _arg1.m_shape2.m_body; _local4 = _arg1.m_node1; _local5 = _arg1.m_node2; _local2.WakeUp(); _local3.WakeUp(); if (_local4.prev){ _local4.prev.next = _local4.next; }; if (_local4.next){ _local4.next.prev = _local4.prev; }; if (_local4 == _local2.m_contactList){ _local2.m_contactList = _local4.next; }; _local4.prev = null; _local4.next = null; if (_local5.prev){ _local5.prev.next = _local5.next; }; if (_local5.next){ _local5.next.prev = _local5.prev; }; if (_local5 == _local3.m_contactList){ _local3.m_contactList = _local5.next; }; _local5.prev = null; _local5.next = null; }; b2Contact.Destroy(_arg1, m_world.m_blockAllocator); m_world.m_contactCount--; } override public function PairAdded(_arg1, _arg2){ var _local3:b2Shape; var _local4:b2Shape; var _local5:b2Body; var _local6:b2Body; var _local7:b2Contact; var _local8:b2Shape; var _local9:b2Body; _local3 = (_arg1 as b2Shape); _local4 = (_arg2 as b2Shape); _local5 = _local3.m_body; _local6 = _local4.m_body; if (((_local5.IsStatic()) && (_local6.IsStatic()))){ return (m_nullContact); }; if (_local3.m_body == _local4.m_body){ return (m_nullContact); }; if (_local6.IsConnected(_local5)){ return (m_nullContact); }; if (((!((m_world.m_filter == null))) && ((m_world.m_filter.ShouldCollide(_local3, _local4) == false)))){ return (m_nullContact); }; if (_local6.m_invMass == 0){ _local8 = _local3; _local3 = _local4; _local4 = _local8; _local9 = _local5; _local5 = _local6; _local6 = _local9; }; _local7 = b2Contact.Create(_local3, _local4, m_world.m_blockAllocator); if (_local7 == null){ return (m_nullContact); }; _local7.m_prev = null; _local7.m_next = m_world.m_contactList; if (m_world.m_contactList != null){ m_world.m_contactList.m_prev = _local7; }; m_world.m_contactList = _local7; m_world.m_contactCount++; return (_local7); } public function CleanContactList():void{ var _local1:b2Contact; var _local2:b2Contact; _local1 = m_world.m_contactList; while (_local1 != null) { _local2 = _local1; _local1 = _local1.m_next; if ((_local2.m_flags & b2Contact.e_destroyFlag)){ DestroyContact(_local2); _local2 = null; }; }; } override public function PairRemoved(_arg1, _arg2, _arg3):void{ var _local4:b2Contact; if (_arg3 == null){ return; }; _local4 = (_arg3 as b2Contact); if (_local4 != m_nullContact){ if (m_destroyImmediate == true){ DestroyContact(_local4); _local4 = null; } else { _local4.m_flags = (_local4.m_flags | b2Contact.e_destroyFlag); }; }; } } }//package Box2D.Dynamics
Section 59
//b2Island (Box2D.Dynamics.b2Island) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.Contacts.*; import Box2D.Common.*; public class b2Island { public var m_positionError:Number; public var m_bodyCapacity:int; public var m_bodies:Array; public var m_joints:Array; public var m_jointCapacity:int; public var m_contactCount:int; public var m_contacts:Array; public var m_contactCapacity:int; public var m_jointCount:int; public var m_allocator; public var m_bodyCount:int; public static var m_positionIterationCount:uint; public function b2Island(_arg1:int, _arg2:int, _arg3:int, _arg4):void{ var _local5:int; super(); m_bodyCapacity = _arg1; m_contactCapacity = _arg2; m_jointCapacity = _arg3; m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; m_bodies = new Array(_arg1); _local5 = 0; while (_local5 < _arg1) { m_bodies[_local5] = null; _local5++; }; m_contacts = new Array(_arg2); _local5 = 0; while (_local5 < _arg2) { m_contacts[_local5] = null; _local5++; }; m_joints = new Array(_arg3); _local5 = 0; while (_local5 < _arg3) { m_joints[_local5] = null; _local5++; }; m_allocator = _arg4; } public function AddBody(_arg1:b2Body):void{ var _local2 = m_bodyCount++; m_bodies[_local2] = _arg1; } public function AddJoint(_arg1:b2Joint):void{ var _local2 = m_jointCount++; m_joints[_local2] = _arg1; } public function Solve(_arg1:b2TimeStep, _arg2:b2Vec2):void{ var _local3:int; var _local4:b2Body; var _local5:b2ContactSolver; var _local6:int; var _local7:Boolean; var _local8:Boolean; var _local9:Boolean; _local3 = 0; while (_local3 < m_bodyCount) { _local4 = m_bodies[_local3]; if (_local4.m_invMass == 0){ } else { _local4.m_linearVelocity.Add(b2Math.MulFV(_arg1.dt, b2Math.AddVV(_arg2, b2Math.MulFV(_local4.m_invMass, _local4.m_force)))); _local4.m_angularVelocity = (_local4.m_angularVelocity + ((_arg1.dt * _local4.m_invI) * _local4.m_torque)); _local4.m_linearVelocity.Multiply(_local4.m_linearDamping); _local4.m_angularVelocity = (_local4.m_angularVelocity * _local4.m_angularDamping); _local4.m_position0.SetV(_local4.m_position); _local4.m_rotation0 = _local4.m_rotation; }; _local3++; }; _local5 = new b2ContactSolver(m_contacts, m_contactCount, m_allocator); _local5.PreSolve(); _local3 = 0; while (_local3 < m_jointCount) { m_joints[_local3].PrepareVelocitySolver(); _local3++; }; _local3 = 0; while (_local3 < _arg1.iterations) { _local5.SolveVelocityConstraints(); _local6 = 0; while (_local6 < m_jointCount) { m_joints[_local6].SolveVelocityConstraints(_arg1); _local6++; }; _local3++; }; _local3 = 0; while (_local3 < m_bodyCount) { _local4 = m_bodies[_local3]; if (_local4.m_invMass == 0){ } else { _local4.m_position.x = (_local4.m_position.x + (_arg1.dt * _local4.m_linearVelocity.x)); _local4.m_position.y = (_local4.m_position.y + (_arg1.dt * _local4.m_linearVelocity.y)); _local4.m_rotation = (_local4.m_rotation + (_arg1.dt * _local4.m_angularVelocity)); _local4.m_R.Set(_local4.m_rotation); }; _local3++; }; _local3 = 0; while (_local3 < m_jointCount) { m_joints[_local3].PreparePositionSolver(); _local3++; }; if (b2World.s_enablePositionCorrection){ m_positionIterationCount = 0; while (m_positionIterationCount < _arg1.iterations) { _local7 = _local5.SolvePositionConstraints(b2Settings.b2_contactBaumgarte); _local8 = true; _local3 = 0; while (_local3 < m_jointCount) { _local9 = m_joints[_local3].SolvePositionConstraints(); _local8 = ((_local8) && (_local9)); _local3++; }; if (((_local7) && (_local8))){ break; }; m_positionIterationCount++; }; }; _local5.PostSolve(); _local3 = 0; while (_local3 < m_bodyCount) { _local4 = m_bodies[_local3]; if (_local4.m_invMass == 0){ } else { _local4.m_R.Set(_local4.m_rotation); _local4.SynchronizeShapes(); _local4.m_force.Set(0, 0); _local4.m_torque = 0; }; _local3++; }; } public function AddContact(_arg1:b2Contact):void{ var _local2 = m_contactCount++; m_contacts[_local2] = _arg1; } public function Clear():void{ m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; } public function UpdateSleep(_arg1:Number):void{ var _local2:int; var _local3:b2Body; var _local4:Number; var _local5:Number; var _local6:Number; _local4 = Number.MAX_VALUE; _local5 = (b2Settings.b2_linearSleepTolerance * b2Settings.b2_linearSleepTolerance); _local6 = (b2Settings.b2_angularSleepTolerance * b2Settings.b2_angularSleepTolerance); _local2 = 0; while (_local2 < m_bodyCount) { _local3 = m_bodies[_local2]; if (_local3.m_invMass == 0){ } else { if ((_local3.m_flags & b2Body.e_allowSleepFlag) == 0){ _local3.m_sleepTime = 0; _local4 = 0; }; if (((((((_local3.m_flags & b2Body.e_allowSleepFlag) == 0)) || (((_local3.m_angularVelocity * _local3.m_angularVelocity) > _local6)))) || ((b2Math.b2Dot(_local3.m_linearVelocity, _local3.m_linearVelocity) > _local5)))){ _local3.m_sleepTime = 0; _local4 = 0; } else { _local3.m_sleepTime = (_local3.m_sleepTime + _arg1); _local4 = b2Math.b2Min(_local4, _local3.m_sleepTime); }; }; _local2++; }; if (_local4 >= b2Settings.b2_timeToSleep){ _local2 = 0; while (_local2 < m_bodyCount) { _local3 = m_bodies[_local2]; _local3.m_flags = (_local3.m_flags | b2Body.e_sleepFlag); _local2++; }; }; } } }//package Box2D.Dynamics
Section 60
//b2TimeStep (Box2D.Dynamics.b2TimeStep) package Box2D.Dynamics { public class b2TimeStep { public var dt:Number; public var iterations:int; public var inv_dt:Number; } }//package Box2D.Dynamics
Section 61
//b2World (Box2D.Dynamics.b2World) package Box2D.Dynamics { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.Contacts.*; import Box2D.Collision.Shapes.*; public class b2World { public var m_filter:b2CollisionFilter; public var m_blockAllocator; public var m_contactList:b2Contact; public var m_broadPhase:b2BroadPhase; public var m_allowSleep:Boolean; public var m_jointCount:int; public var m_bodyCount:int; public var m_listener:b2WorldListener; private var step:b2TimeStep; public var m_positionIterationCount:int; public var m_groundBody:b2Body; public var m_contactCount:int; public var m_bodyDestroyList:b2Body; public var m_bodyList:b2Body; public var m_stackAllocator; public var m_gravity:b2Vec2; public var m_jointList:b2Joint; public var m_contactManager:b2ContactManager; public static var s_enableWarmStarting:int = 1; public static var s_enablePositionCorrection:int = 1; public function b2World(_arg1:b2AABB, _arg2:b2Vec2, _arg3:Boolean){ var _local4:b2BodyDef; step = new b2TimeStep(); m_contactManager = new b2ContactManager(); super(); m_listener = null; m_filter = b2CollisionFilter.b2_defaultFilter; m_bodyList = null; m_contactList = null; m_jointList = null; m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; m_bodyDestroyList = null; m_allowSleep = _arg3; m_gravity = _arg2; m_contactManager.m_world = this; m_broadPhase = new b2BroadPhase(_arg1, m_contactManager); _local4 = new b2BodyDef(); m_groundBody = CreateBody(_local4); } public function SetListener(_arg1:b2WorldListener):void{ m_listener = _arg1; } public function DestroyBody(_arg1:b2Body):void{ if ((_arg1.m_flags & b2Body.e_destroyFlag)){ return; }; if (_arg1.m_prev){ _arg1.m_prev.m_next = _arg1.m_next; }; if (_arg1.m_next){ _arg1.m_next.m_prev = _arg1.m_prev; }; if (_arg1 == m_bodyList){ m_bodyList = _arg1.m_next; }; _arg1.m_flags = (_arg1.m_flags | b2Body.e_destroyFlag); m_bodyCount--; _arg1.m_prev = null; _arg1.m_next = m_bodyDestroyList; m_bodyDestroyList = _arg1; } public function GetGroundBody():b2Body{ return (m_groundBody); } public function Query(_arg1:b2AABB, _arg2:Array, _arg3:int):int{ var _local4:Array; var _local5:int; var _local6:int; _local4 = new Array(); _local5 = m_broadPhase.QueryAABB(_arg1, _local4, _arg3); _local6 = 0; while (_local6 < _local5) { _arg2[_local6] = (_local4[_local6] as b2Shape); _local6++; }; return (_local5); } public function CleanBodyList():void{ var _local1:b2Body; var _local2:b2Body; var _local3:b2JointNode; var _local4:b2JointNode; m_contactManager.m_destroyImmediate = true; _local1 = m_bodyDestroyList; while (_local1) { _local2 = _local1; _local1 = _local1.m_next; _local3 = _local2.m_jointList; while (_local3) { _local4 = _local3; _local3 = _local3.next; if (m_listener){ m_listener.NotifyJointDestroyed(_local4.joint); }; DestroyJoint(_local4.joint); }; _local2.Destroy(); }; m_bodyDestroyList = null; m_contactManager.m_destroyImmediate = false; } public function GetJointList():b2Joint{ return (m_jointList); } public function GetBodyList():b2Body{ return (m_bodyList); } public function GetContactList():b2Contact{ return (m_contactList); } public function CreateJoint(_arg1:b2JointDef):b2Joint{ var _local2:b2Joint; var _local3:b2Body; var _local4:b2Shape; _local2 = b2Joint.Create(_arg1, m_blockAllocator); _local2.m_prev = null; _local2.m_next = m_jointList; if (m_jointList){ m_jointList.m_prev = _local2; }; m_jointList = _local2; m_jointCount++; _local2.m_node1.joint = _local2; _local2.m_node1.other = _local2.m_body2; _local2.m_node1.prev = null; _local2.m_node1.next = _local2.m_body1.m_jointList; if (_local2.m_body1.m_jointList){ _local2.m_body1.m_jointList.prev = _local2.m_node1; }; _local2.m_body1.m_jointList = _local2.m_node1; _local2.m_node2.joint = _local2; _local2.m_node2.other = _local2.m_body1; _local2.m_node2.prev = null; _local2.m_node2.next = _local2.m_body2.m_jointList; if (_local2.m_body2.m_jointList){ _local2.m_body2.m_jointList.prev = _local2.m_node2; }; _local2.m_body2.m_jointList = _local2.m_node2; if (_arg1.collideConnected == false){ _local3 = ((_arg1.body1.m_shapeCount < _arg1.body2.m_shapeCount)) ? _arg1.body1 : _arg1.body2; _local4 = _local3.m_shapeList; while (_local4) { _local4.ResetProxy(m_broadPhase); _local4 = _local4.m_next; }; }; return (_local2); } public function DestroyJoint(_arg1:b2Joint):void{ var _local2:Boolean; var _local3:b2Body; var _local4:b2Body; var _local5:b2Body; var _local6:b2Shape; _local2 = _arg1.m_collideConnected; if (_arg1.m_prev){ _arg1.m_prev.m_next = _arg1.m_next; }; if (_arg1.m_next){ _arg1.m_next.m_prev = _arg1.m_prev; }; if (_arg1 == m_jointList){ m_jointList = _arg1.m_next; }; _local3 = _arg1.m_body1; _local4 = _arg1.m_body2; _local3.WakeUp(); _local4.WakeUp(); if (_arg1.m_node1.prev){ _arg1.m_node1.prev.next = _arg1.m_node1.next; }; if (_arg1.m_node1.next){ _arg1.m_node1.next.prev = _arg1.m_node1.prev; }; if (_arg1.m_node1 == _local3.m_jointList){ _local3.m_jointList = _arg1.m_node1.next; }; _arg1.m_node1.prev = null; _arg1.m_node1.next = null; if (_arg1.m_node2.prev){ _arg1.m_node2.prev.next = _arg1.m_node2.next; }; if (_arg1.m_node2.next){ _arg1.m_node2.next.prev = _arg1.m_node2.prev; }; if (_arg1.m_node2 == _local4.m_jointList){ _local4.m_jointList = _arg1.m_node2.next; }; _arg1.m_node2.prev = null; _arg1.m_node2.next = null; b2Joint.Destroy(_arg1, m_blockAllocator); m_jointCount--; if (_local2 == false){ _local5 = ((_local3.m_shapeCount < _local4.m_shapeCount)) ? _local3 : _local4; _local6 = _local5.m_shapeList; while (_local6) { _local6.ResetProxy(m_broadPhase); _local6 = _local6.m_next; }; }; } public function SetFilter(_arg1:b2CollisionFilter):void{ m_filter = _arg1; } public function CreateBody(_arg1:b2BodyDef):b2Body{ var _local2:b2Body; _local2 = new b2Body(_arg1, this); _local2.m_prev = null; _local2.m_next = m_bodyList; if (m_bodyList){ m_bodyList.m_prev = _local2; }; m_bodyList = _local2; m_bodyCount++; return (_local2); } public function Step(_arg1:Number, _arg2:int):void{ var _local3:b2Body; var _local4:b2Body; var _local5:b2Island; var _local6:b2Contact; var _local7:b2Joint; var _local8:int; var _local9:Array; var _local10:int; var _local11:b2Body; var _local12:int; var _local13:int; var _local14:b2ContactNode; var _local15:b2JointNode; var _local16:uint; step.dt = _arg1; step.iterations = _arg2; if (_arg1 > 0){ step.inv_dt = (1 / _arg1); } else { step.inv_dt = 0; }; m_positionIterationCount = 0; m_contactManager.CleanContactList(); CleanBodyList(); m_contactManager.Collide(); _local5 = new b2Island(m_bodyCount, m_contactCount, m_jointCount, m_stackAllocator); _local3 = m_bodyList; while (_local3 != null) { _local3.m_flags = (_local3.m_flags & ~(b2Body.e_islandFlag)); _local3 = _local3.m_next; }; _local6 = m_contactList; while (_local6 != null) { _local6.m_flags = (_local6.m_flags & ~(b2Contact.e_islandFlag)); _local6 = _local6.m_next; }; _local7 = m_jointList; while (_local7 != null) { _local7.m_islandFlag = false; _local7 = _local7.m_next; }; _local8 = m_bodyCount; _local9 = new Array(m_bodyCount); _local10 = 0; while (_local10 < m_bodyCount) { _local9[_local10] = null; _local10++; }; _local11 = m_bodyList; while (_local11 != null) { if ((_local11.m_flags & (((b2Body.e_staticFlag | b2Body.e_islandFlag) | b2Body.e_sleepFlag) | b2Body.e_frozenFlag))){ } else { _local5.Clear(); _local12 = 0; var _temp1 = _local12; _local12 = (_local12 + 1); var _local17 = _temp1; _local9[_local17] = _local11; _local11.m_flags = (_local11.m_flags | b2Body.e_islandFlag); while (_local12 > 0) { --_local12; _local3 = _local9[_local12]; _local5.AddBody(_local3); _local3.m_flags = (_local3.m_flags & ~(b2Body.e_sleepFlag)); if ((_local3.m_flags & b2Body.e_staticFlag)){ } else { _local14 = _local3.m_contactList; while (_local14 != null) { if ((_local14.contact.m_flags & b2Contact.e_islandFlag)){ } else { _local5.AddContact(_local14.contact); _local14.contact.m_flags = (_local14.contact.m_flags | b2Contact.e_islandFlag); _local4 = _local14.other; if ((_local4.m_flags & b2Body.e_islandFlag)){ } else { var _temp2 = _local12; _local12 = (_local12 + 1); var _local18 = _temp2; _local9[_local18] = _local4; _local4.m_flags = (_local4.m_flags | b2Body.e_islandFlag); }; }; _local14 = _local14.next; }; _local15 = _local3.m_jointList; while (_local15 != null) { if (_local15.joint.m_islandFlag == true){ } else { _local5.AddJoint(_local15.joint); _local15.joint.m_islandFlag = true; _local4 = _local15.other; if ((_local4.m_flags & b2Body.e_islandFlag)){ } else { var _temp3 = _local12; _local12 = (_local12 + 1); _local18 = _temp3; _local9[_local18] = _local4; _local4.m_flags = (_local4.m_flags | b2Body.e_islandFlag); }; }; _local15 = _local15.next; }; }; }; _local5.Solve(step, m_gravity); m_positionIterationCount = b2Math.b2Max(m_positionIterationCount, b2Island.m_positionIterationCount); if (m_allowSleep){ _local5.UpdateSleep(_arg1); }; _local13 = 0; while (_local13 < _local5.m_bodyCount) { _local3 = _local5.m_bodies[_local13]; if ((_local3.m_flags & b2Body.e_staticFlag)){ _local3.m_flags = (_local3.m_flags & ~(b2Body.e_islandFlag)); }; if (((_local3.IsFrozen()) && (m_listener))){ _local16 = m_listener.NotifyBoundaryViolated(_local3); if (_local16 == b2WorldListener.b2_destroyBody){ DestroyBody(_local3); _local3 = null; _local5.m_bodies[_local13] = null; }; }; _local13++; }; }; _local11 = _local11.m_next; }; m_broadPhase.Commit(); } } }//package Box2D.Dynamics
Section 62
//b2WorldListener (Box2D.Dynamics.b2WorldListener) package Box2D.Dynamics { import Box2D.Dynamics.Joints.*; public class b2WorldListener { public static var b2_freezeBody:uint = 0; public static var b2_destroyBody:uint = 1; public function NotifyBoundaryViolated(_arg1:b2Body):uint{ return (b2_freezeBody); } public function NotifyJointDestroyed(_arg1:b2Joint):void{ } } }//package Box2D.Dynamics
Section 63
//3_1_74 (index_fla.3_1_74) package index_fla { import flash.display.*; public dynamic class 3_1_74 extends MovieClip { public function 3_1_74(){ addFrameScript(19, frame20); } function frame20(){ stop(); } } }//package index_fla
Section 64
//3_2_75 (index_fla.3_2_75) package index_fla { import flash.display.*; public dynamic class 3_2_75 extends MovieClip { public function 3_2_75(){ addFrameScript(20, frame21); } function frame21(){ stop(); } } }//package index_fla
Section 65
//3_70 (index_fla.3_70) package index_fla { import flash.display.*; public dynamic class 3_70 extends MovieClip { public function 3_70(){ addFrameScript(22, frame23); } function frame23(){ stop(); } } }//package index_fla
Section 66
//a_1_46 (index_fla.a_1_46) package index_fla { import flash.display.*; public dynamic class a_1_46 extends MovieClip { public var yes_off:MovieClip; public var no_on:MovieClip; public var yes_on:MovieClip; public var no_off:MovieClip; } }//package index_fla
Section 67
//a_2_40 (index_fla.a_2_40) package index_fla { import flash.display.*; public dynamic class a_2_40 extends MovieClip { public var yes_off:MovieClip; public var no_on:MovieClip; public var yes_on:MovieClip; public var no_off:MovieClip; } }//package index_fla
Section 68
//a_3_32 (index_fla.a_3_32) package index_fla { import flash.display.*; public dynamic class a_3_32 extends MovieClip { public var yes_off:MovieClip; public var a3_text1:MovieClip; public var no_on:MovieClip; public var yes_on:MovieClip; public var a3_text:MovieClip; public var no_off:MovieClip; } }//package index_fla
Section 69
//a_4_24 (index_fla.a_4_24) package index_fla { import flash.display.*; public dynamic class a_4_24 extends MovieClip { public var yes_off:MovieClip; public var no_on:MovieClip; public var yes_on:MovieClip; public var a4_text1:MovieClip; public var no_off:MovieClip; public var a4_text:MovieClip; } }//package index_fla
Section 70
//achievements_new_22 (index_fla.achievements_new_22) package index_fla { import flash.display.*; public dynamic class achievements_new_22 extends MovieClip { public var line1:MovieClip; public var line2:MovieClip; public var line0:MovieClip; public var line3:MovieClip; public var line4:MovieClip; } }//package index_fla
Section 71
//archi_line1_45 (index_fla.archi_line1_45) package index_fla { import flash.display.*; public dynamic class archi_line1_45 extends MovieClip { public var a:MovieClip; public function archi_line1_45(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ stop(); } function frame1(){ stop(); } } }//package index_fla
Section 72
//archi_line2_39 (index_fla.archi_line2_39) package index_fla { import flash.display.*; public dynamic class archi_line2_39 extends MovieClip { public var a:MovieClip; public function archi_line2_39(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ stop(); } function frame1(){ stop(); } } }//package index_fla
Section 73
//archi_line3_31 (index_fla.archi_line3_31) package index_fla { import flash.display.*; public dynamic class archi_line3_31 extends MovieClip { public var a:MovieClip; public function archi_line3_31(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ stop(); } function frame1(){ stop(); } } }//package index_fla
Section 74
//archi_line4_23 (index_fla.archi_line4_23) package index_fla { import flash.display.*; public dynamic class archi_line4_23 extends MovieClip { public var a:MovieClip; public function archi_line4_23(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ stop(); } function frame1(){ stop(); } } }//package index_fla
Section 75
//aw_dildo_61 (index_fla.aw_dildo_61) package index_fla { import flash.display.*; public dynamic class aw_dildo_61 extends MovieClip { public function aw_dildo_61(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 76
//aw_heart_62 (index_fla.aw_heart_62) package index_fla { import flash.display.*; public dynamic class aw_heart_62 extends MovieClip { public function aw_heart_62(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 77
//aw_stars_63 (index_fla.aw_stars_63) package index_fla { import flash.display.*; public dynamic class aw_stars_63 extends MovieClip { public function aw_stars_63(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 78
//ballmc_135 (index_fla.ballmc_135) package index_fla { import flash.display.*; public dynamic class ballmc_135 extends MovieClip { public var ring1:MovieClip; public var ring2:MovieClip; public var white:MovieClip; public var ballbody:MovieClip; public var l8:MovieClip; public var l3:MovieClip; public var l6:MovieClip; public var flashes:MovieClip; public var blik2:MovieClip; } }//package index_fla
Section 79
//bita_127 (index_fla.bita_127) package index_fla { import flash.display.*; public dynamic class bita_127 extends MovieClip { public var barmask:MovieClip; public var bitagreen:MovieClip; } }//package index_fla
Section 80
//circle_133 (index_fla.circle_133) package index_fla { import flash.display.*; public dynamic class circle_133 extends MovieClip { public function circle_133(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 81
//dark_166 (index_fla.dark_166) package index_fla { import flash.events.*; import flash.display.*; public dynamic class dark_166 extends MovieClip { public function dark_166(){ addFrameScript(19, frame20); } function frame20(){ stop(); dispatchEvent(new Event("DONE")); } } }//package index_fla
Section 82
//ending_173 (index_fla.ending_173) package index_fla { import flash.display.*; import flash.media.*; public dynamic class ending_173 extends MovieClip { public function ending_173(){ addFrameScript(1, frame2, 4, frame5, 5, frame6, 6, frame7); } function frame6(){ stop(); } function frame7(){ SoundMixer.stopAll(); (parent as MovieClip).gotoAndStop(1, "Top"); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package index_fla
Section 83
//extrasbg_188 (index_fla.extrasbg_188) package index_fla { import flash.display.*; public dynamic class extrasbg_188 extends MovieClip { public function extrasbg_188(){ addFrameScript(19, frame20); } function frame20(){ stop(); } } }//package index_fla
Section 84
//flags_60 (index_fla.flags_60) package index_fla { import flash.display.*; public dynamic class flags_60 extends MovieClip { public function flags_60(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 85
//flash1_144 (index_fla.flash1_144) package index_fla { import flash.display.*; public dynamic class flash1_144 extends MovieClip { public function flash1_144(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 86
//flash2_145 (index_fla.flash2_145) package index_fla { import flash.display.*; public dynamic class flash2_145 extends MovieClip { public function flash2_145(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 87
//flash3_146 (index_fla.flash3_146) package index_fla { import flash.display.*; public dynamic class flash3_146 extends MovieClip { public function flash3_146(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 88
//flash4_147 (index_fla.flash4_147) package index_fla { import flash.display.*; public dynamic class flash4_147 extends MovieClip { public function flash4_147(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 89
//flash5_148 (index_fla.flash5_148) package index_fla { import flash.display.*; public dynamic class flash5_148 extends MovieClip { public function flash5_148(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 90
//flash6_149 (index_fla.flash6_149) package index_fla { import flash.display.*; public dynamic class flash6_149 extends MovieClip { public function flash6_149(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 91
//flash7_150 (index_fla.flash7_150) package index_fla { import flash.display.*; public dynamic class flash7_150 extends MovieClip { public function flash7_150(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 92
//flash8_151 (index_fla.flash8_151) package index_fla { import flash.display.*; public dynamic class flash8_151 extends MovieClip { public function flash8_151(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 93
//flashes_143 (index_fla.flashes_143) package index_fla { import flash.display.*; public dynamic class flashes_143 extends MovieClip { public var light:MovieClip; public function flashes_143(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 94
//game_over_167 (index_fla.game_over_167) package index_fla { import flash.display.*; import flash.media.*; public dynamic class game_over_167 extends MovieClip { public function game_over_167(){ addFrameScript(1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); } function frame3(){ stop(); } function frame6(){ SoundMixer.stopAll(); (parent as MovieClip).gotoAndStop(1, "Top"); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package index_fla
Section 95
//helpbtn_57 (index_fla.helpbtn_57) package index_fla { import flash.display.*; public dynamic class helpbtn_57 extends MovieClip { public function helpbtn_57(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 96
//life_gone_161 (index_fla.life_gone_161) package index_fla { import flash.display.*; public dynamic class life_gone_161 extends MovieClip { public function life_gone_161(){ addFrameScript(12, frame13); } function frame13(){ visible = false; } } }//package index_fla
Section 97
//lifeindicator_159 (index_fla.lifeindicator_159) package index_fla { import flash.display.*; public dynamic class lifeindicator_159 extends MovieClip { public var lg:MovieClip; public var lm:MovieClip; } }//package index_fla
Section 98
//LOADING_SCREEN_1 (index_fla.LOADING_SCREEN_1) package index_fla { import flash.events.*; import flash.display.*; public dynamic class LOADING_SCREEN_1 extends MovieClip { public var preloadermask:MovieClip; public var Muny:MovieClip; public var shin:MovieClip; public var startbtn:MovieClip; public function LOADING_SCREEN_1(){ addFrameScript(117, frame118, 139, frame140, 149, frame150); } function frame118(){ stop(); shin.useHandCursor = true; shin.buttonMode = true; shin.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ gotoAndPlay(119); }); } function frame140(){ stop(); } function frame150(){ stop(); (parent as MovieClip).gotoAndStop(1, "Menu_"); } } }//package index_fla
Section 99
//LOADING_SCREEN_START_16 (index_fla.LOADING_SCREEN_START_16) package index_fla { import flash.display.*; public dynamic class LOADING_SCREEN_START_16 extends MovieClip { public var Muny:MovieClip; public function LOADING_SCREEN_START_16(){ addFrameScript(22, frame23); } function frame23(){ stop(); (parent as MovieClip).gotoAndStop(1, "Menu_"); } } }//package index_fla
Section 100
//M2_106 (index_fla.M2_106) package index_fla { import flash.display.*; public dynamic class M2_106 extends MovieClip { public var eye3:MovieClip; public var eye1:MovieClip; public var eye2:MovieClip; public var mouth3:MovieClip; public var mouth2:MovieClip; public var wet:MovieClip; public var wet3:MovieClip; public var wet2:MovieClip; } }//package index_fla
Section 101
//M3_115 (index_fla.M3_115) package index_fla { import flash.display.*; public dynamic class M3_115 extends MovieClip { public var eye3:MovieClip; public var eye1:MovieClip; public var eye2:MovieClip; public var mouth3:MovieClip; public var mouth2:MovieClip; public var wet:MovieClip; public var wet3:MovieClip; public var wet2:MovieClip; } }//package index_fla
Section 102
//M4_1_122 (index_fla.M4_1_122) package index_fla { import flash.display.*; public dynamic class M4_1_122 extends MovieClip { public var eye3:MovieClip; public var eye1:MovieClip; public var eye2:MovieClip; public var mouth3:MovieClip; public var mouth2:MovieClip; public var wet:MovieClip; public var wet3:MovieClip; public var wet2:MovieClip; } }//package index_fla
Section 103
//M4_121 (index_fla.M4_121) package index_fla { import flash.display.*; public dynamic class M4_121 extends MovieClip { public var eye3:MovieClip; public var eye1:MovieClip; public var eye2:MovieClip; public var mouth3:MovieClip; public var mouth2:MovieClip; public var wet:MovieClip; public var wet3:MovieClip; public var wet2:MovieClip; } }//package index_fla
Section 104
//M4_2_124 (index_fla.M4_2_124) package index_fla { import flash.display.*; public dynamic class M4_2_124 extends MovieClip { public var eye3:MovieClip; public var eye1:MovieClip; public var eye2:MovieClip; public var mouth3:MovieClip; public var mouth2:MovieClip; public var wet:MovieClip; public var wet3:MovieClip; public var wet2:MovieClip; } }//package index_fla
Section 105
//M5_123 (index_fla.M5_123) package index_fla { import flash.display.*; public dynamic class M5_123 extends MovieClip { public var eye3:MovieClip; public var eye1:MovieClip; public var eye2:MovieClip; public var mouth3:MovieClip; public var mouth2:MovieClip; public var wet:MovieClip; public var wet3:MovieClip; public var wet2:MovieClip; } }//package index_fla
Section 106
//MainTimeline (index_fla.MainTimeline) package index_fla { import flash.events.*; import flash.display.*; import flash.media.*; import flash.net.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.printing.*; import flash.system.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var a4; public var maxspeedindicator:MovieClip; public var countmsg:MovieClip; public var loader:URLLoader; public var flushStatus:String; public var mouthid:uint; public var maineq:main; public var lbar:MovieClip; public var sndt:SoundTransform; public var preveyestate:uint; public var btnsch:SoundChannel; public var i:uint; public var k:uint; public var l:topline; public var oppcounter:uint; public var goc:uint; public var mouthplay:Boolean; public var m3chaincounter:uint; public var z:uint; public var test:TextField; public var finish:MovieClip; public var gameid:String; public var gamemode:uint; public var skip_on:MovieClip; public var mouthframeid:uint; public var ts_btn:MovieClip; public var ht_btn:MovieClip; public var muny_x:Number; public var msgslist:Array; public var emc:MovieClip; public var mmbtn:MovieClip; public var achi:MovieClip; public var loadingScreen:MovieClip; public var munnydrag:Boolean; public var ex_btn:MovieClip; public var fr:uint; public var version:uint; public var timearea:MovieClip; public var gamecombo:uint; public var back:MovieClip; public var gotogirl21:Boolean; public var msgs:Array; public var messagearea:MovieClip; public var girl1:MovieClip; public var girl3:MovieClip; public var m3chain:uint; public var preveyecounter:uint; public var girl2:MovieClip; public var mySo:SharedObject; public var rollafterm3:Boolean; public var loading:MovieClip; public var watch2:Boolean; public var watch3:Boolean; public var watch1:Boolean; public var top:MovieClip; public var menu:MovieClip; public var ebar:MovieClip; public var Muny:MovieClip; public var btns:Array; public var gotogirl3:Boolean; public var messagearea1:MovieClip; public var gotogirl2:Boolean; public var sndt_:SoundTransform; public var gametime:uint; public var gamescore:uint; public var mouthsch:SoundChannel; public var eqbg:MovieClip; public var gameovermsg:MovieClip; public var oldmc:uint; public var opmsg:MovieClip; public var ctc:Boolean; public var infowindow:MovieClip; public var mg_btn:MovieClip; public var rq:URLRequest; public var rv:URLVariables; public var zeroflash:MovieClip; public var morganie2:Boolean; public var ebarbg:MovieClip; public var updwindow:MovieClip; public var st:uint; public var myContextMenu:ContextMenu; public var comix:MovieClip; public var topXML:XML; public var lifeindicator:MovieClip; public var girl:MovieClip; public var msgbox:MovieClip; public var mln:MovieClip; public var wordinfo:Array; public var maxcombo:uint; public var currid:uint; public var emc1:MovieClip; public var rl_btn:MovieClip; public var soundbtn:MovieClip; public var infobtn:MovieClip; public var sm_btn:MovieClip; public var lines:Array; public var item:ContextMenuItem; public var cont:MovieClip; public var combomsg:MovieClip; public var maxspeedmsg:MovieClip; public var config:configManager; public var girl2_1:MovieClip; public var girl2_2:MovieClip; public var schs:Array; public var dark:MovieClip; public var item1:ContextMenuItem; public var gamespeed:uint; public var mccounter:uint; public var gameover:Boolean; public var aftergame:Boolean; public var g3fin:Boolean; public var a1; public var a2; public var a3; public var voldown:Boolean; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12); } public function loaded(_arg1:Event):void{ removeChild(loading); stage.removeEventListener(MouseEvent.CLICK, stageclck); back.visible = true; } public function setGameOvermsg(_arg1:Event):void{ var xx:Number; var mess:String; var i:uint; var myTimer:Timer; var timerHandler:Function; var sc:Function; var l:letter; var e = _arg1; timerHandler = function (_arg1:TimerEvent):void{ stage.removeEventListener(MouseEvent.CLICK, sc); gotoAndStop(1, "GameOver"); }; sc = function (_arg1:Event):void{ stage.removeEventListener(MouseEvent.CLICK, sc); gotoAndStop(1, "GameOver"); }; xx = 0; mess = "GAME OVER!!!"; i = 0; while (i < mess.length) { if (mess.charCodeAt(i) != 32){ l = new letter(mess.charCodeAt(i), xx, 0); l.cacheAsBitmap = true; xx = (xx + l.width); gameovermsg.addChild(l); l.setpos(1, int.MAX_VALUE, gameovermsg); } else { xx = (xx + 17); }; i = (i + 1); }; gameovermsg.x = ((700 - gameovermsg.width) / 2); myTimer = new Timer(2000, 1); myTimer.addEventListener("timer", timerHandler); myTimer.start(); stage.addEventListener(MouseEvent.CLICK, sc); } function frame10(){ SoundMixer.stopAll(); if (!getFlashVersion()){ initupdate(); } else { updwindow.visible = false; }; stop(); Muny.x = muny_x; if (gamemode == 1){ mySo.data.arcadecount = gamescore; }; achi.addEventListener(MouseEvent.ROLL_OUT, function (_arg1:Event):void{ achi_show("line0"); }); set_achi(); setMuny(); Muny.useHandCursor = true; Muny.buttonMode = true; Muny.addEventListener(MouseEvent.MOUSE_DOWN, function (_arg1:Event):void{ munnydrag = true; Muny.startDrag(false, new Rectangle(-200, 85, 800, 0)); }); Muny.addEventListener(MouseEvent.MOUSE_UP, mmu); Muny.addEventListener(MouseEvent.CLICK, mmu); Muny.addEventListener(MouseEvent.MOUSE_MOVE, function (_arg1:MouseEvent):void{ muny_x = Muny.x; }); lines = []; k = 0; while (k < 20) { l = new topline(); top.linesplace.addChild(l); l.x = 190; l.y = (98 + (k * 17)); l.linebg.visible = false; l.aw_dildo.visible = false; l.aw_heart.visible = false; l.aw_stars.visible = false; lines[k] = l; k++; }; loader = new URLLoader(); msg("LOADING... PLEASE WAIT"); config.addArea("records", emc1); msgbox.visible = false; msgbox.editname.visible = false; msgbox.btncancel.useHandCursor = true; msgbox.btncancel.buttonMode = true; msgbox.btncancel.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:Event):void{ _arg1.target.y = 89; _arg1.target.gotoAndStop(2); }); msgbox.btncancel.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ _arg1.target.y = 90; _arg1.target.gotoAndStop(1); }); msgbox.btnok.useHandCursor = true; msgbox.btnok.buttonMode = true; msgbox.btnok.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:Event):void{ _arg1.target.y = 89; _arg1.target.gotoAndStop(2); }); msgbox.btnok.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ _arg1.target.y = 90; _arg1.target.gotoAndStop(1); }); mmbtn.useHandCursor = true; mmbtn.buttonMode = true; mmbtn.visible = false; mmbtn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ gotoAndStop(1, "Menu_"); }); mmbtn.addEventListener(MouseEvent.MOUSE_MOVE, function (_arg1:Event):void{ top.mmtext.y = 450; }); mmbtn.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ top.mmtext.y = 451; }); mmbtn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ gotoAndStop(1, "Menu_"); }); top.addEventListener("DONE", tdone); rq = new URLRequest("http://top.mutanky.com/"); rv = new URLVariables(); makeloader(); loader.addEventListener(Event.COMPLETE, loadXML); loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, ioErrorHandler); loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); trace(rq.data); loader.load(rq); i = 1; while (i < 5) { if (mySo.data.achives[i]){ mySo.flush(); break; }; i++; }; } function frame11(){ stop(); back.visible = false; if (!getFlashVersion()){ initupdate(); } else { updwindow.visible = false; }; SoundMixer.stopAll(); stage.addEventListener(MouseEvent.CLICK, stageclck); msg("LOADING... PLEASE WAIT"); config.addArea("extras", emc1); config.addEventListener("LOADED_extras", loaded); back.useHandCursor = true; back.buttonMode = true; back.addEventListener(MouseEvent.MOUSE_MOVE, function (_arg1:Event):void{ back.y = 9; }); back.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ if (back != null){ back.y = 10; }; }); back.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ gotoAndStop(1, "Menu_"); }); } public function eqclick(_arg1:Event):void{ if (!gameover){ if ((((maineq.currid == 0)) || ((maineq.currid == 7)))){ new bar_1().play(); }; if ((((maineq.currid == 1)) || ((maineq.currid == 6)))){ new bar_2().play(); }; if ((((maineq.currid == 2)) || ((maineq.currid == 5)))){ new bar_3().play(); }; if ((((maineq.currid == 3)) || ((maineq.currid == 4)))){ new bar_4().play(); }; }; } function frame1(){ version = 2; gameid = "dildo-heroine-1"; config = new configManager(gameid, version, stage); gamemode = 0; gametime = 0; gamescore = 0; gamecombo = 0; gamespeed = 0; st = getTimer(); aftergame = false; flushStatus = null; mySo = SharedObject.getLocal("mutanky-dildo-heroine-1"); if (mySo.data.achives == undefined){ mySo.data.arcadecount = 0; mySo.data.achives = []; mySo.data.achives_show = []; z = 1; while (z < 5) { mySo.data.achives[z] = false; mySo.data.achives_show[z] = true; z++; }; }; if (mySo.data.arcadecount == undefined){ mySo.data.arcadecount = 0; }; muny_x = 388; stage.scaleMode = StageScaleMode.NO_SCALE; stage.showDefaultContextMenu = false; myContextMenu = new ContextMenu(); item = new ContextMenuItem("!!!- MORE GAMES -!!!"); myContextMenu.customItems.push(item); item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler); item1 = new ContextMenuItem("EXIT"); myContextMenu.customItems.push(item1); item1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, menuItemSelectHandler1); contextMenu = myContextMenu; } function frame2(){ if ((getTimer() - st) > 1000){ loadingScreen.preloadermask.scaleX = 0.001; loadingScreen.startbtn.visible = false; }; setMuny(); loadingScreen.startbtn.useHandCursor = true; loadingScreen.startbtn.buttonMode = true; loadingScreen.startbtn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ if (loadingScreen.currentFrame == 140){ loadingScreen.gotoAndPlay(141); } else { gotoAndStop(2, "PreMenu"); }; }); loaderInfo.addEventListener(ProgressEvent.PROGRESS, update); stop(); } function frame4(){ stop(); SoundMixer.stopAll(); new menu_music().play(0, int.MAX_VALUE); infowindow.visible = false; munnydrag = false; aftergame = false; gametime = 0; gamescore = 0; gamecombo = 0; gamespeed = 0; config.addArea("menu", emc); Muny.x = muny_x; achi.addEventListener(MouseEvent.ROLL_OUT, function (_arg1:Event):void{ achi_show("line0"); }); setMuny(); set_achi(); infobtn.useHandCursor = true; infobtn.buttonMode = true; infobtn.addEventListener(MouseEvent.MOUSE_MOVE, function (_arg1:Event):void{ infobtn.y = 463; }); infobtn.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ infobtn.y = 464; }); infobtn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ infowindow.visible = true; }); infowindow.okbtn.useHandCursor = true; infowindow.okbtn.buttonMode = true; infowindow.okbtn.addEventListener(MouseEvent.ROLL_OVER, function (_arg1:Event):void{ infowindow.okbtn.gotoAndStop(2); infowindow.okbtn.y = 95; }); infowindow.okbtn.addEventListener(MouseEvent.ROLL_OUT, function (_arg1:Event):void{ infowindow.okbtn.gotoAndStop(1); infowindow.okbtn.y = 96; }); infowindow.okbtn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ infowindow.visible = false; }); Muny.useHandCursor = true; Muny.buttonMode = true; Muny.addEventListener(MouseEvent.MOUSE_DOWN, function (_arg1:Event):void{ munnydrag = true; Muny.startDrag(false, new Rectangle(-200, 85, 800, 0)); }); Muny.addEventListener(MouseEvent.MOUSE_UP, mmu); Muny.addEventListener(MouseEvent.CLICK, mmu); Muny.addEventListener(MouseEvent.MOUSE_MOVE, MunyMOVE); Muny.addEventListener(MouseEvent.MOUSE_OUT, MunyOUT); wordinfo = []; btns = [["STORY", sm_btn], ["ARCADE", rl_btn], ["RECORDS", ts_btn], ["MORE GAMES", mg_btn], ["HOW TO PLAY", ht_btn], ["EXTRAS", ex_btn]]; crmsg("STORY", sm_btn); sm_btn.addEventListener("DONE", showword, false, 0, true); sm_btn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ gamemode = 0; gotoAndStop(1, "Comix"); }); rl_btn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ gamemode = 1; gotoAndStop(1, "Game"); }); ts_btn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ gotoAndStop(1, "Top"); }); ex_btn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ gotoAndStop(1, "Extras"); }); ht_btn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ gotoAndStop(1, "HowToPlay"); }); mg_btn.addEventListener(MouseEvent.MOUSE_DOWN, function (_arg1:MouseEvent):void{ navigateToURL(new URLRequest((((("http://tds.mutanky.com/?gameid=" + gameid) + "&version=") + version) + "&action=more-games"))); }); if (!getFlashVersion()){ initupdate(); } else { updwindow.visible = false; }; } public function ioErrorHandler(_arg1:Event):void{ var stageclck:Function; var ee = _arg1; stageclck = function (_arg1:Event):void{ stage.removeEventListener(MouseEvent.CLICK, stageclck); stage.removeChild(stage.getChildByName("loading")); gotoAndStop(1, "Menu_"); }; if (contains(loading)){ removeChild(loading); }; loading = new MovieClip(); loading.name = "loading"; loading.y = 233; stage.addChild(loading); msg("ERROR LOADING..."); stage.addEventListener(MouseEvent.CLICK, stageclck); } function frame7(){ mln.visible = false; SoundMixer.stopAll(); if (!getFlashVersion()){ initupdate(); } else { updwindow.visible = false; }; a1 = 10; a2 = 200; a3 = 2000; a4 = 50000; goc = 32; maxcombo = 0; mouthid = 0; mouthframeid = 0; mouthplay = false; oppcounter = 0; stop(); dark.gotoAndStop(1); dark.visible = false; dark.addEventListener("DONE", setGameOvermsg); maineq.gamemode = gamemode; zeroflash.visible = false; zeroflash.gotoAndStop(1); if (gamemode == 1){ maineq.addEventListener("OPP", setopmsg); maineq.addEventListener("OPP1", opp1); maineq.addEventListener("OPP2", opp2); lifeindicator.visible = false; } else { combomsg.y = 10; countmsg.visible = false; maineq.wtf1.visible = false; maineq.wtf2.visible = false; finish.alpha = 0; finish.visible = false; }; finish.useHandCursor = true; finish.buttonMode = true; finish.addEventListener(MouseEvent.MOUSE_MOVE, function (_arg1:Event):void{ finish.y = 9; }); finish.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ if (finish != null){ finish.y = 10; }; }); finish.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, EF); gameover = true; SoundMixer.stopAll(); maineq.finalize(); gametime = (getTimer() - maineq.starttime); gamescore = maineq.count; gamecombo = maxcombo; gamespeed = maineq.speedrecord; aftergame = true; gotoAndStop(1, "Top"); if (gamemode == 0){ gotoAndStop(1, "Win"); }; }); messagearea.visible = true; messagearea1.visible = true; maineq.init(); if (gamemode == 1){ maineq.count = mySo.data.arcadecount; }; ctc = false; fr = 1; morganie2 = false; rollafterm3 = false; m3chain = 1; m3chaincounter = 0; g3fin = false; watch1 = false; watch2 = false; watch3 = false; gotogirl2 = false; gotogirl21 = false; gotogirl3 = false; oldmc = 10; mccounter = 0; preveyestate = 0; preveyecounter = 0; gameover = false; voldown = false; sndt = new SoundTransform(); sndt.volume = 0; sndt_ = new SoundTransform(); sndt_.volume = 1; schs = []; schs[0] = new beat1().play(0, int.MAX_VALUE); schs[1] = new beat2().play(0, int.MAX_VALUE, sndt); schs[2] = new beat3().play(0, int.MAX_VALUE, sndt); schs[3] = new beat4().play(0, int.MAX_VALUE, sndt); schs[4] = new beat5().play(0, int.MAX_VALUE, sndt); schs[5] = new beat6().play(0, int.MAX_VALUE, sndt); ebar.y = (143 + ebar.height); combomsg.scaleX = 0.5; combomsg.scaleY = 0.5; lifeindicator.lg.visible = false; msgslist = [[], [], [1, 2, 3, 4, 5, 7], [14, 22, 5, 6, 7, 12], [3, 5, 7, 8, 26], [26, 7, 8, 9, 10], [7, 8, 12, 11, 12], [8, 9, 11, 26, 5], [9, 10, 11, 12, 16], [10, 11, 12, 26, 3, 7, 8], [13, 26], [11, 12, 13, 8, 30], [10, 12, 14, 7, 26], [12, 14, 8, 16], [14, 7, 12], [8, 11, 10, 19], [15, 25], [10, 11, 30, 19, 22], [18, 25, 16, 12, 23], [8, 19, 14, 25], [19, 3, 16, 13], [17, 32], [26, 14, 22, 24, 21], [25, 12, 30], [24, 7, 3, 19, 10], [9, 3, 22, 20, 30], [33, 26, 5, 8], [23, 15], [15], [27], [28], [29], [32, 34], [31]]; msgs = ["", "FEELS GOOD!", "GO WITH THE RYTHM!", "GREAT!", "KEEP ME BOUNCE!", "AWESOME!", "YOU ARE ROCK!", "WOW!", "HARDER!", "OUTSTANDING!", "MORE!", "FASTER!", "AAAAH!", "I`M ON FIRE!", "FUCK YEAH!", "IT`S ALMOST THERE!", "OH MY GOD!", "THAT DILDO GONNA MELT!", "MAKE ME CUM!", "DON`T STOP!", "AGAIN!", "OH YEAH!!!", "FUCK!!!", "DO IT ONCE MORE!", "OH FUCK!!!", "IT`S SO FUCKING GOOD!", "FEELING GREAT", "I`M GONNA CUM!", "I`M CUMMING!", "I`M CUMMING AGAIN!", "I`TS SO HOT!", "I CAN`T TAKE IT ANYMORE!", "I LOVE THAT DILDO!", "NEXT GAME WILL BE BETTER!", "MUTANKY KICK ASS!"]; soundbtn.useHandCursor = true; soundbtn.buttonMode = true; soundbtn.addEventListener(MouseEvent.CLICK, soundCLICK); maineq.addEventListener("EQCLICK", eqclick); eqbg.addEventListener(MouseEvent.CLICK, maineq.CLICKHandler); messagearea.addEventListener(MouseEvent.CLICK, maineq.CLICKHandler); messagearea1.addEventListener(MouseEvent.CLICK, maineq.CLICKHandler); girl1.visible = false; girl2.visible = false; girl2.stop(); girl2_1.visible = false; girl2_1.stop(); girl2_2.visible = false; girl2_2.stop(); girl3.visible = false; girl3.stop(); girl.wet.visible = false; girl.wet2.visible = false; girl.wet3.visible = false; girl1.wet.visible = false; girl1.wet2.visible = false; girl1.wet3.visible = false; girl2.wet.visible = false; girl2.wet2.visible = false; girl2.wet3.visible = false; girl2_1.wet.visible = false; girl2_1.wet2.visible = false; girl2_1.wet3.visible = false; girl2_2.wet.visible = false; girl2_2.wet2.visible = false; girl2_2.wet3.visible = false; girl3.wet.visible = false; girl3.wet2.visible = false; girl3.wet3.visible = false; addEventListener(Event.ENTER_FRAME, EF); maineq.addEventListener("BANG", BANGEVENT); setcountmsg(maineq.count); maineq.addEventListener("MISS", MISSEVENT, false, 0, true); maineq.addEventListener("MAXSPEED", MAXSPEEDEVENT); maineq.addEventListener("FINE", FINEVENT); maineq.addEventListener("COUNT", COUNTEVENT); maineq.addEventListener("COUNT1", COUNTEVENT1); } function frame5(){ SoundMixer.stopAll(); } function frame6(){ stop(); SoundMixer.stopAll(); comix.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ cont.visible = false; skip_on.visible = false; comix.gotoAndPlay((comix.currentFrame + 1)); }); skip_on.buttonMode = true; skip_on.useHandCursor = true; skip_on.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ SoundMixer.stopAll(); gotoAndStop(1, "Game"); }); } function frame9(){ stop(); SoundMixer.stopAll(); comix.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ comix.gotoAndPlay((comix.currentFrame + 1)); }); aftergame = true; } function frame3(){ stop(); setMuny(); } function frame8(){ stop(); comix.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ comix.gotoAndPlay((comix.currentFrame + 1)); }); aftergame = true; } function frame12(){ SoundMixer.stopAll(); if (!getFlashVersion()){ initupdate(); } else { updwindow.visible = false; }; new menu_music().play(0, int.MAX_VALUE); back.useHandCursor = true; back.buttonMode = true; back.addEventListener(MouseEvent.MOUSE_MOVE, function (_arg1:Event):void{ back.y = 449; }); back.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ if (back != null){ back.y = 450; }; }); back.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ gotoAndStop(1, "Menu_"); }); } public function reg(_arg1:Event=null):void{ msgbox.editname.visible = true; msgbox.msg.text = "Please enter your NICKNAME:"; mySo.data.key = undefined; msgbox.btncancel.addEventListener(MouseEvent.CLICK, oncancel); msgbox.btnok.addEventListener(MouseEvent.CLICK, onok2); } public function EF(_arg1:Event):void{ var morganie:Boolean; var snd:SoundTransform; var i:uint; var hideg1:Boolean; var hideg2:Boolean; var hideg3:Boolean; var newmc:uint; var eyepos:uint; var myTimer:Timer; var timerHandler:Function; var e = _arg1; if (!gameover){ if ((((maineq.nonstopbeats_cut > 4)) && ((maineq.nonstopbeats_cut < 10)))){ if (!mouthplay){ if (int((Math.random() * 2)) == 1){ if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_05_B().play(); mouthframeid = 0; mouthid = 5; mouthplay = true; } else { if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_07_B().play(); mouthframeid = 0; mouthid = 7; mouthplay = true; }; }; }; if ((((maineq.nonstopbeats_cut > 9)) && ((maineq.nonstopbeats_cut < 15)))){ if (!mouthplay){ if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_02_E().play(); mouthframeid = 0; mouthid = 2; mouthplay = true; }; }; if ((((maineq.nonstopbeats_cut > 14)) && ((maineq.nonstopbeats_cut < 20)))){ if (!mouthplay){ if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_04_A().play(); mouthframeid = 0; mouthid = 4; mouthplay = true; }; }; if (maineq.nonstopbeats_cut > 19){ if (!mouthplay){ if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_05_B().play(); mouthframeid = 0; mouthid = 5; mouthplay = true; }; }; if (mouthplay){ mouthframeid++; if (mouthid == 1){ if (mouthframeid == 1){ setmouth(3); }; if ((((mouthframeid >= 2)) && ((mouthframeid <= 6)))){ setmouth(1); }; if ((((mouthframeid >= 7)) && ((mouthframeid <= 14)))){ setmouth(2); }; if (mouthframeid == 15){ setmouth(3); mouthplay = false; }; }; if (mouthid == 2){ if (mouthframeid == 1){ setmouth(3); }; if ((((mouthframeid >= 2)) && ((mouthframeid <= 5)))){ setmouth(2); }; if ((((mouthframeid >= 6)) && ((mouthframeid <= 11)))){ setmouth(1); }; if (mouthframeid == 12){ setmouth(3); mouthplay = false; }; }; if (mouthid == 3){ if (mouthframeid == 1){ setmouth(3); }; if ((((mouthframeid >= 2)) && ((mouthframeid <= 5)))){ setmouth(2); }; if ((((mouthframeid >= 6)) && ((mouthframeid <= 7)))){ setmouth(1); }; if ((((mouthframeid >= 8)) && ((mouthframeid <= 12)))){ setmouth(2); }; if ((((mouthframeid >= 13)) && ((mouthframeid <= 17)))){ setmouth(1); }; if ((((mouthframeid >= 18)) && ((mouthframeid <= 22)))){ setmouth(2); }; if (mouthframeid == 23){ setmouth(3); mouthplay = false; }; }; if (mouthid == 4){ if (mouthframeid == 1){ setmouth(3); }; if ((((mouthframeid >= 2)) && ((mouthframeid <= 10)))){ setmouth(2); }; if ((((mouthframeid >= 11)) && ((mouthframeid <= 17)))){ setmouth(1); }; if (mouthframeid == 18){ setmouth(3); mouthplay = false; }; }; if (mouthid == 5){ if (mouthframeid == 1){ setmouth(3); }; if ((((mouthframeid >= 2)) && ((mouthframeid <= 4)))){ setmouth(1); }; if ((((mouthframeid >= 5)) && ((mouthframeid <= 7)))){ setmouth(2); }; if ((((mouthframeid >= 8)) && ((mouthframeid <= 11)))){ setmouth(1); }; if (mouthframeid == 12){ setmouth(2); }; if (mouthframeid == 13){ setmouth(3); mouthplay = false; }; }; if (mouthid == 6){ if (mouthframeid == 1){ setmouth(3); }; if (mouthframeid == 2){ setmouth(2); }; if ((((mouthframeid >= 3)) && ((mouthframeid <= 7)))){ setmouth(1); }; if ((((mouthframeid >= 8)) && ((mouthframeid <= 13)))){ setmouth(2); }; if ((((mouthframeid >= 14)) && ((mouthframeid <= 18)))){ setmouth(1); }; if ((((mouthframeid >= 19)) && ((mouthframeid <= 24)))){ setmouth(2); }; if ((((mouthframeid >= 25)) && ((mouthframeid <= 28)))){ setmouth(1); }; if (mouthframeid == 29){ setmouth(3); mouthplay = false; }; }; if (mouthid == 7){ if (mouthframeid == 1){ setmouth(3); }; if ((((mouthframeid >= 2)) && ((mouthframeid <= 5)))){ setmouth(1); }; if ((((mouthframeid >= 6)) && ((mouthframeid <= 9)))){ setmouth(2); }; if ((((mouthframeid >= 10)) && ((mouthframeid <= 15)))){ setmouth(1); }; if (mouthframeid == 16){ setmouth(2); }; if (mouthframeid == 17){ setmouth(3); mouthplay = false; }; }; if (mouthid == 8){ if (mouthframeid == 1){ setmouth(3); }; if ((((mouthframeid >= 2)) && ((mouthframeid <= 3)))){ setmouth(2); }; if ((((mouthframeid >= 4)) && ((mouthframeid <= 6)))){ setmouth(1); }; if (mouthframeid == 7){ setmouth(2); }; if (mouthframeid == 8){ setmouth(3); mouthplay = false; }; }; if (mouthid == 9){ if (mouthframeid == 1){ setmouth(3); }; if ((((mouthframeid >= 2)) && ((mouthframeid <= 3)))){ setmouth(2); }; if ((((mouthframeid >= 4)) && ((mouthframeid <= 9)))){ setmouth(1); }; if (mouthframeid == 10){ setmouth(2); }; if (mouthframeid == 11){ setmouth(3); mouthplay = false; }; }; }; if (gamemode == 0){ createtimemsg(); }; if ((((gamemode == 0)) && ((((maineq.nonstopbeats == goc)) || ((maineq.count == 50000)))))){ gameover = true; }; if (voldown){ if ((((schs[1].soundTransform.volume > 0)) || ((schs[2].soundTransform.volume > 0)))){ snd = new SoundTransform(); if (schs[2].soundTransform.volume > schs[1].soundTransform.volume){ snd.volume = (schs[2].soundTransform.volume - 0.016); } else { snd.volume = (schs[1].soundTransform.volume - 0.016); }; i = 1; while (i < 6) { if (schs[i].soundTransform.volume > 0){ schs[i].soundTransform = snd; } else { schs[i].soundTransform = sndt; }; i = (i + 1); }; } else { schs[1].soundTransform = sndt; voldown = false; }; }; if (watch1){ hideg1 = false; if ((((fr < 8)) && ((girl1.currentFrame == 2)))){ hideg1 = true; } else { if ((((fr < 23)) && ((girl1.currentFrame == 3)))){ hideg1 = true; } else { if ((((fr < 30)) && ((girl1.currentFrame == 4)))){ hideg1 = true; } else { if (girl1.currentFrame == 5){ hideg1 = true; }; }; }; }; if (hideg1){ watch1 = false; girl1.visible = false; girl.visible = true; girl1.gotoAndStop(1); }; }; if (watch2){ hideg2 = false; if ((((fr < 8)) && ((girl2.currentFrame == 2)))){ hideg2 = true; } else { if ((((fr < 23)) && ((girl2.currentFrame == 3)))){ hideg2 = true; } else { if ((((fr < 30)) && ((girl2.currentFrame == 4)))){ hideg2 = true; } else { if (girl2.currentFrame == 5){ hideg2 = true; }; }; }; }; if (hideg2){ watch2 = false; girl2.visible = false; girl2.gotoAndStop(1); }; }; if (watch3){ hideg3 = false; if ((((fr < 8)) && ((girl2_2.currentFrame == 2)))){ hideg3 = true; } else { if ((((fr < 23)) && ((girl2_2.currentFrame == 3)))){ hideg3 = true; } else { if ((((fr < 30)) && ((girl2_2.currentFrame == 4)))){ hideg3 = true; } else { if (girl2_2.currentFrame > 4){ hideg3 = true; }; }; }; }; if (hideg3){ watch3 = false; girl2_2.visible = false; girl2_2.gotoAndStop(1); }; }; if (((((girl2_1.visible) && ((girl2_1.currentFrame == 7)))) && ((maineq.nonstopbeats_cut < 20)))){ girl2_1.visible = false; girl2_1.gotoAndStop(1); girl3.visible = true; girl3.gotoAndPlay(1); }; if (((((girl3.visible) && ((girl3.currentFrame == 10)))) && ((((maineq.nonstopbeats_cut < 20)) || (g3fin))))){ if ((((m3chaincounter == m3chain)) || (g3fin))){ girl3.visible = false; girl3.gotoAndStop(1); girl2_2.visible = true; girl2_2.gotoAndPlay(1); } else { m3chaincounter++; }; }; if (((((girl2_2.visible) && ((girl2_2.currentFrame == 6)))) && ((maineq.nonstopbeats_cut < 20)))){ if (!g3fin){ girl2_2.visible = false; girl2_2.gotoAndStop(1); girl2.visible = true; girl2.gotoAndPlay(1); } else { girl2_2.visible = false; girl2_2.gotoAndStop(1); g3fin = false; }; }; if (((gotogirl3) && ((girl2_2.currentFrame == 6)))){ girl2_2.visible = false; girl2_2.gotoAndStop(1); girl2_1.visible = true; girl2_1.gotoAndPlay(1); }; if (((gotogirl3) && ((girl2_1.currentFrame == 7)))){ gotogirl3 = false; girl2_1.visible = false; girl2_1.gotoAndStop(1); girl3.visible = true; girl3.gotoAndPlay(1); }; if (((gotogirl2) && ((girl1.currentFrame == 13)))){ gotogirl2 = false; girl2.visible = true; girl2.gotoAndPlay(1); }; if (((gotogirl21) && ((girl2.currentFrame == 13)))){ gotogirl21 = false; girl2_1.visible = true; girl2_1.gotoAndPlay(1); }; if ((((maineq.nonstopbeats_cut < 10)) && ((girl2.currentFrame == 13)))){ girl2.gotoAndStop(1); girl2.visible = false; girl1.gotoAndPlay(1); }; if ((((maineq.nonstopbeats_cut == 15)) || ((maineq.count > 5000)))){ girl.wet3.visible = true; girl1.wet3.visible = true; girl2.wet3.visible = true; girl2_1.wet3.visible = true; girl2_2.wet3.visible = true; girl3.wet3.visible = true; }; if ((((maineq.nonstopbeats_cut == 30)) || ((maineq.count > 10000)))){ girl.wet.visible = true; girl.wet2.visible = true; girl1.wet.visible = true; girl1.wet2.visible = true; girl2.wet.visible = true; girl2.wet2.visible = true; girl2_1.wet.visible = true; girl2_1.wet2.visible = true; girl2_2.wet.visible = true; girl2_2.wet2.visible = true; girl3.wet.visible = true; girl3.wet2.visible = true; }; morganie = false; if ((((int((Math.random() * 50)) == 25)) && (!(morganie2)))){ morganie = true; }; if (((((girl.visible) && (!(morganie)))) && (!(morganie2)))){ if (maineq.eyes_id == 1){ girl.eye1.visible = true; girl.eye2.visible = false; girl.eye3.visible = false; }; if (maineq.eyes_id == 2){ girl.eye1.visible = false; girl.eye2.visible = true; girl.eye3.visible = false; }; if (maineq.eyes_id == 3){ girl.eye1.visible = false; girl.eye2.visible = false; girl.eye3.visible = true; }; }; if (((girl.visible) && (morganie2))){ morganie2 = false; if ((((maineq.eyes_id == 3)) || ((maineq.eyes_id == 1)))){ girl.eye1.visible = false; girl.eye2.visible = true; girl.eye3.visible = false; }; }; if (((girl.visible) && (morganie))){ if (maineq.eyes_id == 2){ girl.eye1.visible = true; girl.eye2.visible = false; girl.eye3.visible = false; }; if ((((maineq.eyes_id == 3)) || ((maineq.eyes_id == 1)))){ morganie2 = true; girl.eye1.visible = true; girl.eye2.visible = false; girl.eye3.visible = false; }; }; if (girl1.visible){ if (maineq.eyes_id == 1){ girl1.eye1.visible = true; girl1.eye2.visible = false; girl1.eye3.visible = false; }; if (maineq.eyes_id == 2){ girl1.eye1.visible = false; girl1.eye2.visible = true; girl1.eye3.visible = false; }; if (maineq.eyes_id == 3){ girl1.eye1.visible = false; girl1.eye2.visible = false; girl1.eye3.visible = true; }; }; if (girl2.visible){ if (maineq.eyes_id == 1){ girl2.eye1.visible = true; girl2.eye2.visible = false; girl2.eye3.visible = false; }; if (maineq.eyes_id == 2){ girl2.eye1.visible = false; girl2.eye2.visible = true; girl2.eye3.visible = false; }; if (maineq.eyes_id == 3){ girl2.eye1.visible = false; girl2.eye2.visible = false; girl2.eye3.visible = true; }; }; if (girl2_1.visible){ if (maineq.eyes_id == 1){ girl2_1.eye1.visible = true; girl2_1.eye2.visible = false; girl2_1.eye3.visible = false; }; if (maineq.eyes_id == 2){ girl2_1.eye1.visible = false; girl2_1.eye2.visible = true; girl2_1.eye3.visible = false; }; if (maineq.eyes_id == 3){ girl2_1.eye1.visible = false; girl2_1.eye2.visible = false; girl2_1.eye3.visible = true; }; }; if (girl2_2.visible){ if (maineq.eyes_id == 1){ girl2_2.eye1.visible = true; girl2_2.eye2.visible = false; girl2_2.eye3.visible = false; }; if (maineq.eyes_id == 2){ girl2_2.eye1.visible = false; girl2_2.eye2.visible = true; girl2_2.eye3.visible = false; }; if (maineq.eyes_id == 3){ girl2_2.eye1.visible = false; girl2_2.eye2.visible = false; girl2_2.eye3.visible = true; }; }; if (girl3.visible){ if (maineq.eyes_id == 1){ girl3.eye1.visible = true; girl3.eye2.visible = false; girl3.eye3.visible = false; }; if (maineq.eyes_id == 2){ girl3.eye1.visible = false; girl3.eye2.visible = true; girl3.eye3.visible = false; }; }; if (ebar.y < (143 + 214)){ if (gamemode == 0){ ebar.y = (ebar.y + (((214 / 10) / 25) + (maineq.nonstopbeats / 17.5))); } else { ebar.y = (ebar.y + ((214 / 10) / 25)); }; } else { if (ebar.visible){ if ((((maineq.nonstopbeats_cut > 1)) && (!(gameover)))){ createmsg("COMBO FAILED!", 200, 400); voldown = true; if (maineq.nonstopbeats_cut >= 20){ g3fin = true; }; if (girl1.visible){ watch1 = true; }; if (girl2.visible){ watch2 = true; }; if (((girl3.visible) && (g3fin))){ watch3 = true; }; }; maineq.nonstopbeats = 0; maineq.nonstopbeats_cut = 0; setcombomsg(); ebar.visible = false; }; }; if (maineq.nonstopbeats_cut < 5){ if (maineq.circbody != null){ fr = (int(((maineq.circbody.m_position.y - 40) / 12)) + 1); }; if (!rollafterm3){ girl.gotoAndStop(fr); } else { if (girl.currentFrame < fr){ girl.gotoAndStop((girl.currentFrame + 1)); } else { rollafterm3 = false; }; }; if ((((girl1.currentFrame == 1)) && (girl1.visible))){ girl1.visible = false; girl.visible = true; girl.gotoAndStop(2); rollafterm3 = true; }; } else { if (maineq.nonstopbeats_cut < 10){ if (!girl1.visible){ girl1.visible = true; }; } else { if (!girl2.visible){ gotogirl2 = true; }; }; }; } else { if (!ctc){ timerHandler = function (_arg1:TimerEvent):void{ finish.visible = true; }; gametime = (getTimer() - maineq.starttime); gamescore = maineq.count; gamecombo = maineq.nonstopbeats; gamespeed = maineq.speedrecord; if (mySo.data.achive1 == undefined){ mySo.data.achive1 = 1; } else { mySo.data.achive1++; }; if (mySo.data.achive1 >= a1){ mySo.data.achives[1] = true; }; myTimer = new Timer(3000, 1); myTimer.addEventListener("timer", timerHandler); myTimer.start(); timearea.alpha = (timearea.alpha + -0.1); ctc = true; }; if (((finish.visible) && ((finish.alpha < 1)))){ finish.alpha = (finish.alpha + 0.1); }; if ((((timearea.alpha < 1)) && ((timearea.alpha > 0)))){ timearea.alpha = (timearea.alpha + -0.1); }; if (maineq.alpha > 0){ maxspeedmsg.alpha = (maxspeedmsg.alpha + -0.02); maxspeedindicator.alpha = (maxspeedindicator.alpha + -0.02); lifeindicator.alpha = (lifeindicator.alpha + -0.02); maineq.alpha = (maineq.alpha + -0.02); eqbg.alpha = (eqbg.alpha + -0.02); ebarbg.alpha = (ebarbg.alpha + -0.02); combomsg.alpha = (combomsg.alpha + -0.02); countmsg.alpha = (countmsg.alpha + -0.02); } else { maxspeedmsg.visible = false; maxspeedindicator.visible = false; lifeindicator.visible = false; maineq.visible = false; eqbg.visible = false; ebarbg.visible = false; combomsg.visible = false; countmsg.visible = false; }; if (oldmc > 3){ newmc = (int((Math.random() * 3)) + 1); oldmc = newmc; } else { if ((((mccounter < (int((Math.random() * 3)) + 4))) && ((((((girl3.currentFrame == 10)) || ((girl2.currentFrame == 13)))) || ((girl1.currentFrame == 13)))))){ mccounter++; newmc = oldmc; } else { mccounter = 0; newmc = (int((Math.random() * 3)) + 1); oldmc = newmc; }; }; if (((girl3.visible) && ((girl3.currentFrame == 10)))){ if (newmc != 3){ girl3.gotoAndStop(1); girl3.visible = false; girl2_2.visible = true; girl2_2.gotoAndPlay(1); }; }; if (((girl2.visible) && ((girl2.currentFrame == 13)))){ if (newmc == 1){ girl2.gotoAndStop(1); girl2.visible = false; girl1.visible = true; girl1.gotoAndPlay(1); }; if (newmc == 3){ girl2.gotoAndStop(1); girl2.visible = false; girl2_1.visible = true; girl2_1.gotoAndPlay(1); }; }; if (((girl2_1.visible) && ((girl2_1.currentFrame == 7)))){ girl2_1.gotoAndStop(1); girl2_1.visible = false; girl3.visible = true; girl3.gotoAndPlay(1); }; if (((girl2_2.visible) && ((girl2_2.currentFrame == 6)))){ girl2_2.gotoAndStop(1); girl2_2.visible = false; girl1.visible = true; girl1.gotoAndPlay(1); }; if (((girl1.visible) && ((girl1.currentFrame == 13)))){ if (newmc == 2){ girl1.gotoAndStop(1); girl1.visible = false; girl2.visible = true; girl2.gotoAndPlay(1); }; if (newmc == 3){ girl1.gotoAndStop(1); girl1.visible = false; girl2_1.visible = true; girl2_1.gotoAndPlay(1); }; }; if (preveyecounter < int(((Math.random() * 5) + 3))){ preveyecounter++; eyepos = preveyestate; } else { eyepos = int((Math.random() * 2)); preveyestate = eyepos; preveyecounter = 0; }; if (eyepos == 0){ girl1.eye1.visible = true; girl1.eye2.visible = false; girl1.eye3.visible = false; girl2.eye1.visible = true; girl2.eye2.visible = false; girl2.eye3.visible = false; girl2_1.eye1.visible = true; girl2_1.eye2.visible = false; girl2_1.eye3.visible = false; girl3.eye1.visible = true; girl3.eye2.visible = false; girl3.eye3.visible = false; girl2_2.eye1.visible = true; girl2_2.eye2.visible = false; girl2_2.eye3.visible = false; } else { girl1.eye1.visible = false; girl1.eye2.visible = true; girl1.eye3.visible = false; girl2.eye1.visible = false; girl2.eye2.visible = true; girl2.eye3.visible = false; girl2_1.eye1.visible = false; girl2_1.eye2.visible = true; girl2_1.eye3.visible = false; girl3.eye1.visible = false; girl3.eye2.visible = true; girl3.eye3.visible = false; girl2_2.eye1.visible = false; girl2_2.eye2.visible = true; girl2_2.eye3.visible = false; }; }; } public function onFlushStatus(_arg1:NetStatusEvent):void{ trace("User closed permission dialog...\n"); switch (_arg1.info.code){ case "SharedObject.Flush.Success": trace("User granted permission -- value saved.\n"); reg(); break; case "SharedObject.Flush.Failed": trace("User denied permission -- value not saved.\n"); mySo.data.key = undefined; msgbox.btnok.addEventListener(MouseEvent.CLICK, onok); msgbox.btncancel.addEventListener(MouseEvent.CLICK, oncancel); break; }; mySo.removeEventListener(NetStatusEvent.NET_STATUS, onFlushStatus); } public function crmsg(_arg1:String, _arg2:MovieClip):void{ var xx:Number; var i:uint; var l:letter; var mess = _arg1; var area = _arg2; if (area.numChildren == 1){ area.useHandCursor = true; area.buttonMode = true; xx = 0; i = 0; while (i < mess.length) { if (mess.charCodeAt(i) != 32){ l = new letter(mess.charCodeAt(i), xx, 0); l.cacheAsBitmap = true; l.name = ("l_" + i); xx = (xx + l.width); area.addChild(l); if (i > 0){ l.visible = false; } else { wordinfo.push([area, 0]); currid = (wordinfo.length - 1); l.setpos(2, 2, area); }; } else { area.addChild(new MovieClip()); xx = (xx + 17); }; i = (i + 1); }; }; area.bg.width = xx; area.x = ((700 - area.width) / 2); area.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:Event):void{ _arg1.target.y--; }); area.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ _arg1.target.y++; }); area.addEventListener(MouseEvent.ROLL_OVER, function (_arg1:Event):void{ var _local2:Sound; if (btnsch != null){ btnsch.stop(); }; switch (_arg1.target.name){ case "sm_btn": case "ex_btn": _local2 = new bar_1(); break; case "rl_btn": case "ht_btn": _local2 = new bar_2(); break; case "ts_btn": _local2 = new bar_3(); break; case "mg_btn": _local2 = new bar_4(); break; }; btnsch = _local2.play(); }); area.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:Event):void{ _arg1.target.parent.y--; }); area.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ _arg1.target.parent.y++; }); } public function update(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = Math.floor(((_arg1.bytesLoaded * 100) / _arg1.bytesTotal)); trace(_local2); loadingScreen.preloadermask.scaleX = (_local2 / 100); if (_local2 == 100){ loadingScreen.startbtn.visible = true; } else { loadingScreen.startbtn.visible = false; }; } public function MunyOUT(_arg1:MouseEvent):void{ sm_btn.y = 200; rl_btn.y = 235; ts_btn.y = 270; mg_btn.y = 305; ht_btn.y = 340; ex_btn.y = 375; } public function createmaxspeedmsg(_arg1:uint, _arg2:Boolean=true):void{ var _local3:String; var _local4:uint; var _local5:uint; var _local6:MovieClip; var _local7:Number; var _local8:uint; var _local9:letter; if ((((_arg1 >= a3)) && (mySo.data.achives[1]))){ mySo.data.achives[3] = true; }; _local3 = String(_arg1); _local4 = _local3.length; _local5 = 0; while (_local5 < (4 - _local4)) { _local3 = ("0" + _local3); _local5++; }; _local6 = (maxspeedmsg.getChildByName("emc") as MovieClip); if (_local6 != null){ _local8 = 0; while (_local8 < _local6.numChildren) { _local6.removeChildAt(_local8); _local8++; }; maxspeedmsg.removeChild(_local6); }; _local6 = new MovieClip(); _local6.name = "emc"; maxspeedmsg.addChild(_local6); _local7 = 0; _local5 = 0; while (_local5 < _local3.length) { if (_local3.charCodeAt(_local5) != 32){ _local9 = new letter(_local3.charCodeAt(_local5), _local7, 0); _local9.cacheAsBitmap = true; _local7 = (_local7 + _local9.width); _local6.addChild(_local9); _local9.setpos(1, ((25 * 60) * 60), maxspeedmsg); } else { _local7 = (_local7 + 17); }; _local5++; }; _local6.scaleX = 0.5; _local6.scaleY = 0.5; _local6.x = ((56 - _local6.width) / 2); } public function menuItemSelectHandler1(_arg1:ContextMenuEvent):void{ gotoAndStop(1, "Menu_"); } public function setMuny():void{ var _local1:MovieClip; var _local2:uint; if (loadingScreen != null){ _local1 = loadingScreen.Muny; } else { _local1 = Muny.old; }; _local2 = 1; while (_local2 < 5) { (_local1.getChildByName(("ah" + _local2)) as MovieClip).visible = mySo.data.achives_show[_local2]; _local2++; }; } public function createmsg(_arg1:String, _arg2:Number=0, _arg3:Number=400, _arg4:uint=20):void{ var emc:MovieClip; var doneEvt:Function; var i:uint; var l:letter; var mess = _arg1; var xx = _arg2; var yy = _arg3; var time = _arg4; if (((!((messagearea == null))) && ((messagearea.numChildren == 0)))){ doneEvt = function (_arg1:Event):void{ var _local2:uint; if (((((!((messagearea == null))) && (!((emc == null))))) && (messagearea.contains(emc)))){ _local2 = 0; while (_local2 < emc.numChildren) { emc.removeChildAt(_local2); _local2++; }; messagearea.removeChild(emc); }; }; xx = 0; yy = 440; emc = new MovieClip(); messagearea.addEventListener("DONE", doneEvt); messagearea.addChild(emc); i = 0; while (i < mess.length) { if (mess.charCodeAt(i) != 32){ l = new letter(mess.charCodeAt(i), xx, yy); l.cacheAsBitmap = true; xx = (xx + l.width); emc.addChild(l); l.setpos(1, time, messagearea); } else { xx = (xx + 17); }; i = (i + 1); }; emc.x = ((700 - emc.width) / 2); }; } public function createtimemsg():void{ var _local1:uint; var _local2:uint; var _local3:uint; var _local4:*; var _local5:*; var _local6:String; var _local7:String; var _local8:Number; var _local9:uint; var _local10:uint; var _local11:letter; _local1 = (getTimer() - maineq.starttime); _local2 = int((_local1 / 1000)); _local3 = int((_local2 / 60)); _local4 = String(_local3); if (_local3 < 10){ _local4 = ("0" + _local4); }; _local5 = String((_local2 - (_local3 * 60))); if ((_local2 - (_local3 * 60)) < 10){ _local5 = ("0" + _local5); }; _local6 = String((_local1 - (_local2 * 1000))); if ((_local1 - (_local2 * 1000)) < 10){ _local6 = ("0" + _local6); }; _local7 = ((_local4 + ":") + _local5); _local8 = 0; _local9 = 0; while (_local9 < timearea.numChildren) { timearea.removeChildAt(_local9); _local9++; }; _local10 = 0; while (_local10 < _local7.length) { if (_local7.charCodeAt(_local10) != 32){ _local11 = new letter(_local7.charCodeAt(_local10), _local8, 0); _local11.cacheAsBitmap = true; _local8 = (_local8 + _local11.width); timearea.addChild(_local11); _local11.setpos(3, 0, timearea); } else { _local8 = (_local8 + 17); }; _local10++; }; timearea.scaleX = 0.75; timearea.scaleY = 0.75; } public function achi_show(_arg1:String):void{ var _local2:uint; if ((achi.getChildByName(_arg1) as MovieClip).currentFrame != 15){ _local2 = 1; while (_local2 < 5) { if (((!((String(("line" + _local2)) == _arg1))) && (((achi.getChildByName(("line" + _local2)) as MovieClip).currentFrame <= 15)))){ (achi.getChildByName(("line" + _local2)) as MovieClip).gotoAndPlay(((16 + 15) - (achi.getChildByName(("line" + _local2)) as MovieClip).currentFrame)); }; _local2++; }; }; } public function oncancel(_arg1:Event):void{ msgbox.btncancel.removeEventListener(MouseEvent.CLICK, oncancel); msgbox.btnok.removeEventListener(MouseEvent.CLICK, onok); msgbox.visible = false; top.gotoAndPlay(2); } public function getFlashVersion():Boolean{ var _local1:String; var _local2:Array; var _local3:Number; var _local4:Array; var _local5:Number; var _local6:Number; var _local7:Number; _local1 = Capabilities.version; trace(("versionNumber: " + _local1)); _local2 = _local1.split(","); _local3 = _local2.length; _local4 = _local2[0].split(" "); _local5 = parseInt(_local4[1]); _local6 = parseInt(_local2[1]); _local7 = parseInt(_local2[2]); trace(("Platform: " + _local4[0])); trace(("Major version: " + _local5)); trace(("Minor version: " + _local6)); trace(("Build number: " + _local7)); if ((((int(_local5) >= 10)) || (!(config.chk9)))){ return (true); }; return (false); } public function showtop(_arg1:uint):void{ var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; var _local6:*; var _local7:*; var _local8:String; var _local9:uint; _local2 = 0; while (_local2 < 20) { if (_local2 < topXML.tabs.tab[(_arg1 - 1)].item.length()){ lines[_local2].flag.gotoAndStop((int(topXML.tabs.tab[(_arg1 - 1)].item[_local2].@country) + 1)); if (String(topXML.tabs.tab[(_arg1 - 1)].item[_local2].@me) == "yes"){ lines[_local2].linebg.visible = true; } else { lines[_local2].linebg.visible = false; }; if (int(topXML.tabs.tab[(_arg1 - 1)].item[_local2].@dildo) > 0){ lines[_local2].aw_dildo.visible = true; lines[_local2].aw_dildo.gotoAndStop(int(topXML.tabs.tab[(_arg1 - 1)].item[_local2].@dildo)); } else { lines[_local2].aw_dildo.visible = false; }; if (int(topXML.tabs.tab[(_arg1 - 1)].item[_local2].@heart) > 0){ lines[_local2].aw_heart.visible = true; lines[_local2].aw_heart.gotoAndStop(int(topXML.tabs.tab[(_arg1 - 1)].item[_local2].@heart)); } else { lines[_local2].aw_heart.visible = false; }; if (int(topXML.tabs.tab[(_arg1 - 1)].item[_local2].@stars) > 0){ lines[_local2].aw_stars.visible = true; lines[_local2].aw_stars.gotoAndStop(int(topXML.tabs.tab[(_arg1 - 1)].item[_local2].@stars)); } else { lines[_local2].aw_stars.visible = false; }; lines[_local2].namearea.text = String(topXML.tabs.tab[(_arg1 - 1)].item[_local2].@name); if (_arg1 == 4){ _local3 = int(topXML.tabs.tab[(_arg1 - 1)].item[_local2].@score); _local4 = int((_local3 / 1000)); _local5 = int((_local4 / 60)); _local7 = String(_local5); if (_local7.length == 1){ _local7 = ("0" + _local7); }; _local6 = String((_local4 - (_local5 * 60))); if (_local6.length == 1){ _local6 = ("0" + _local6); }; _local8 = String(((_local3 - (1000 * _local4)) - (_local5 * 60))); _local9 = 0; while (_local9 < (3 - _local8.length)) { _local8 = ("0" + _local6); _local9++; }; lines[_local2].scorearea.text = ((((_local7 + ":") + _local6) + ":") + _local8); } else { lines[_local2].scorearea.text = String(topXML.tabs.tab[(_arg1 - 1)].item[_local2].@score); }; } else { lines[_local2].aw_dildo.visible = false; lines[_local2].aw_heart.visible = false; lines[_local2].aw_stars.visible = false; lines[_local2].linebg.visible = false; lines[_local2].namearea.text = ""; lines[_local2].scorearea.text = ""; lines[_local2].flag.gotoAndStop(1); }; _local2++; }; } public function loadXML(_arg1:Event):void{ trace(_arg1.target.data, "\ntopxml loaded\n\n"); topXML = new XML(_arg1.target.data); loading.visible = false; if (int(topXML.user.@win) > 0){ if (mySo.data.key != undefined){ if (String(topXML.user.@status) == "waitforname"){ waitforname(true); } else { top.gotoAndPlay(2); }; } else { if (aftergame){ waitforname(); } else { top.gotoAndPlay(2); }; }; } else { top.gotoAndPlay(2); }; } public function FINEVENT(_arg1:Event):void{ var _local2:Array; var _local3:uint; _local2 = ["COME ON!", "HEY!", "START RECORDER!", "I`M WAITING!", "START ALREADY!", "I WANNA FUCK!", "PLAY WITH ME!"]; _local3 = int((Math.random() * _local2.length)); if (!gameover){ createmsg(_local2[_local3], 295, 400); }; } public function setcombomsg():void{ var _local1:String; var _local2:MovieClip; var _local3:Number; var _local4:uint; var _local5:uint; var _local6:letter; _local1 = ""; if (maineq.nonstopbeats > 1){ _local1 = (maineq.nonstopbeats + " HITS COMBO!"); }; if (maineq.nonstopbeats == a2){ mySo.data.achives[2] = true; }; _local2 = (combomsg.getChildByName("emc") as MovieClip); if (_local2 != null){ _local5 = 0; while (_local5 < _local2.numChildren) { _local2.removeChildAt(_local5); _local5++; }; combomsg.removeChild(_local2); }; _local2 = new MovieClip(); _local2.name = "emc"; combomsg.addChild(_local2); _local3 = 0; _local4 = 0; while (_local4 < _local1.length) { if (_local1.charCodeAt(_local4) != 32){ _local6 = new letter(_local1.charCodeAt(_local4), _local3, 0); _local6.cacheAsBitmap = true; _local3 = (_local3 + _local6.width); _local2.addChild(_local6); _local6.setpos(1, ((25 * 60) * 60), combomsg); } else { _local3 = (_local3 + 17); }; _local4++; }; } public function setmouth(_arg1:uint):void{ var _local2:Array; var _local3:uint; var _local4:uint; var _local5:MovieClip; _local2 = ["", "1", "2", "2_1", "2_2", "3"]; _local3 = 0; while (_local3 < _local2.length) { _local4 = 2; while (_local4 < 4) { _local5 = (getChildByName(("girl" + _local2[_local3])) as MovieClip); trace(("girl" + _local2[_local3]), ("mouth" + _local4)); if (_arg1 == _local4){ (_local5.getChildByName(("mouth" + _local4)) as MovieClip).visible = true; } else { (_local5.getChildByName(("mouth" + _local4)) as MovieClip).visible = false; }; _local4++; }; _local3++; }; } public function soundCLICK(_arg1:Event):void{ var _local2:SoundTransform; _local2 = new SoundTransform(); if (soundbtn.currentFrame == 1){ soundbtn.gotoAndStop(2); _local2.volume = 0; } else { soundbtn.gotoAndStop(1); _local2.volume = 1; }; SoundMixer.soundTransform = _local2; } public function initupdate():void{ var md:Function; var mu:Function; md = function (_arg1:MouseEvent):void{ if (((!(updwindow.updbtn.hitTestPoint(_arg1.stageX, _arg1.stageY))) && (!(updwindow.helpbtn.hitTestPoint(_arg1.stageX, _arg1.stageY))))){ updwindow.startDrag(false, new Rectangle(-100, -70, 700, 500)); }; }; mu = function (_arg1:MouseEvent):void{ if (updwindow != null){ updwindow.stopDrag(); }; }; updwindow.updbtn.useHandCursor = true; updwindow.updbtn.buttonMode = true; updwindow.updbtn.addEventListener(MouseEvent.MOUSE_DOWN, function (_arg1:Event):void{ updwindow.updbtn.gotoAndStop(2); }); updwindow.updbtn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ navigateToURL(new URLRequest("http://www.adobe.com/go/EN_US-H-GET-FLASH")); }); updwindow.updbtn.addEventListener(MouseEvent.MOUSE_UP, function (_arg1:Event):void{ updwindow.updbtn.gotoAndStop(1); }); updwindow.helpbtn.useHandCursor = true; updwindow.helpbtn.buttonMode = true; updwindow.helpbtn.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:Event):void{ updwindow.helpbtn.gotoAndStop(2); }); updwindow.helpbtn.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ navigateToURL(new URLRequest("http://www.adobe.com/products/flashplayer/")); }); updwindow.helpbtn.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ updwindow.helpbtn.gotoAndStop(1); }); updwindow.addEventListener(MouseEvent.MOUSE_DOWN, md); stage.addEventListener(MouseEvent.MOUSE_UP, mu); } public function tdone(_arg1:Event):void{ var i:uint; var tabCLICK:Function; var e = _arg1; tabCLICK = function (_arg1:Event):void{ settab(int(_arg1.target.parent.name.substr(3, 1))); }; mmbtn.visible = true; settab(int(topXML.user.@win)); i = 1; while (i < 5) { (top.getChildByName(("bar" + i)) as MovieClip).addEventListener(MouseEvent.CLICK, tabCLICK); i = (i + 1); }; } public function achi_show1(_arg1:String):void{ var _local2:uint; _local2 = int(_arg1.substr(4, 1)); mySo.data.achives_show[_local2] = !(mySo.data.achives_show[_local2]); if (mySo.data.achives_show[1]){ mySo.data.achives_show[3] = true; }; if (mySo.data.achives_show[2]){ mySo.data.achives_show[4] = true; }; mySo.flush(); setMuny(); } public function set_achi():void{ var i:uint; var m:MovieClip; if (mySo.data.achives[1]){ achi.line3.a.a3_text1.visible = false; } else { achi.line3.a.a3_text.visible = false; }; if (mySo.data.achives[2]){ achi.line4.a.a4_text1.visible = false; } else { achi.line4.a.a4_text.visible = false; }; i = 1; while (i < 5) { m = (achi.getChildByName(("line" + i)) as MovieClip); if (mySo.data.achives[i]){ m.a.yes_on.visible = false; m.a.no_on.visible = false; m.a.no_off.visible = false; m.a.yes_on.useHandCursor = true; m.a.yes_on.buttonMode = true; m.a.yes_off.useHandCursor = true; m.a.yes_off.buttonMode = true; m.a.yes_off.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:Event):void{ _arg1.target.parent.yes_on.visible = true; }); m.a.yes_on.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ achi_show1(_arg1.target.parent.parent.name); }); m.a.yes_on.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ _arg1.target.parent.yes_on.visible = false; }); } else { m.a.yes_on.visible = false; m.a.yes_off.visible = false; m.a.no_on.visible = false; m.a.no_on.useHandCursor = true; m.a.no_on.buttonMode = true; m.a.no_off.useHandCursor = true; m.a.no_off.buttonMode = true; m.a.no_off.addEventListener(MouseEvent.MOUSE_OVER, function (_arg1:Event):void{ _arg1.target.parent.no_on.visible = true; trace("1", _arg1.target.parent.no_on.x); }); m.a.no_on.addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ achi_show(_arg1.target.parent.parent.name); _arg1.target.parent.parent.gotoAndPlay((_arg1.target.parent.parent.currentFrame + 1)); }); m.a.no_on.addEventListener(MouseEvent.MOUSE_OUT, function (_arg1:Event):void{ _arg1.target.parent.no_on.visible = false; }); }; i = (i + 1); }; } public function setcountmsg(_arg1:uint, _arg2:Boolean=true):void{ var _local3:String; var _local4:uint; var _local5:uint; var _local6:MovieClip; var _local7:Number; var _local8:uint; var _local9:letter; var _local10:bang; while (_arg1 > 999999) { _arg1 = (_arg1 + -999999); mln.visible = true; }; if (gamemode == 1){ if ((((_arg1 >= a4)) && (mySo.data.achives[2]))){ mySo.data.achives[4] = true; }; _local3 = String(_arg1); _local4 = _local3.length; _local5 = 0; while (_local5 < (6 - _local4)) { _local3 = ("0" + _local3); _local5++; }; _local6 = (countmsg.getChildByName("emc") as MovieClip); if (_local6 != null){ _local8 = 0; while (_local8 < _local6.numChildren) { _local6.removeChildAt(_local8); _local8++; }; countmsg.removeChild(_local6); }; _local6 = new MovieClip(); _local6.name = "emc"; countmsg.addChild(_local6); _local7 = 0; _local5 = 0; while (_local5 < _local3.length) { if (_local3.charCodeAt(_local5) != 32){ _local9 = new letter(_local3.charCodeAt(_local5), _local7, 0); _local9.cacheAsBitmap = true; _local7 = (_local7 + _local9.width); _local6.addChild(_local9); _local9.setpos(1, ((25 * 60) * 60), countmsg); if (_arg2){ _local10 = new bang(); _local10.x = (_local9.x - 14); _local10.y = (_local9.y - 15); _local6.addChild(_local10); }; } else { _local7 = (_local7 + 17); }; _local5++; }; }; } public function stageclck(_arg1:Event):void{ stage.removeEventListener(MouseEvent.CLICK, stageclck); gotoAndStop(1, "Menu_"); } public function COUNTEVENT1(_arg1:Event):void{ if (!gameover){ setcountmsg(maineq.count, false); }; } public function menuItemSelectHandler(_arg1:ContextMenuEvent):void{ navigateToURL(new URLRequest((((("http://tds.mutanky.com/?gameid=" + gameid) + "&version=") + version) + "&action=more-games")), "_blank"); } public function mmu(_arg1:Event=null):void{ munnydrag = false; Muny.stopDrag(); } public function setopmsg(_arg1:Event=null):void{ var _local2:String; var _local3:MovieClip; var _local4:Number; var _local5:uint; var _local6:uint; var _local7:letter; _local2 = ""; if (maineq.ball.white.visible){ oppcounter++; _local2 = (Math.abs(oppcounter) + " OPPOSITS!"); } else { oppcounter = 0; _local2 = ""; }; if (_arg1 != null){ oppcounter = 0; _local2 = ""; }; _local3 = (opmsg.getChildByName("emc") as MovieClip); if (_local3 != null){ _local6 = 0; while (_local6 < _local3.numChildren) { _local3.removeChildAt(_local6); _local6++; }; opmsg.removeChild(_local3); }; _local3 = new MovieClip(); _local3.name = "emc"; opmsg.addChild(_local3); _local4 = 0; _local5 = 0; while (_local5 < _local2.length) { if (_local2.charCodeAt(_local5) != 32){ _local7 = new letter(_local2.charCodeAt(_local5), _local4, 0); _local7.cacheAsBitmap = true; _local4 = (_local4 + _local7.width); _local3.addChild(_local7); _local7.setpos(1, ((25 * 60) * 60), opmsg); } else { _local4 = (_local4 + 17); }; _local5++; }; _local3.scaleX = 0.5; _local3.scaleY = 0.5; } public function COUNTEVENT(_arg1:Event):void{ if (!gameover){ setcountmsg(maineq.count); }; } public function MISSEVENT(_arg1:Event):void{ if (!gameover){ new miss().play(); lifeindicator.lg.visible = true; lifeindicator.lg.y = (lifeindicator.lg.y + 19); lifeindicator.lg.gotoAndPlay(1); lifeindicator.lm.y = (lifeindicator.lg.y + (19 * 2)); if ((((lifeindicator.lm.y > 200)) && ((gamemode == 0)))){ removeEventListener(Event.ENTER_FRAME, EF); gameover = true; SoundMixer.stopAll(); maineq.finalize(); gametime = (getTimer() - maineq.starttime); gamescore = maineq.count; gamecombo = maineq.nonstopbeats; gamespeed = maineq.speedrecord; dark.visible = true; dark.gotoAndPlay(1); return; }; if ((((lifeindicator.lm.y <= 200)) || ((gamemode == 1)))){ voldown = true; if (maineq.nonstopbeats_cut >= 20){ g3fin = true; }; ebar.y = (143 + 214); setcombomsg(); createmsg("MISS", 295, 400); if (girl1.visible){ watch1 = true; }; if (girl2.visible){ watch2 = true; }; if (((girl3.visible) && (g3fin))){ watch3 = true; }; }; }; } public function MAXSPEEDEVENT(_arg1:Event):void{ if (!gameover){ createmaxspeedmsg(maineq.speedrecord); }; } public function BANGEVENT(_arg1:Event):void{ if (!gameover){ if ((((maineq.currid == 0)) || ((maineq.currid == 7)))){ new hit_1().play(); }; if ((((maineq.currid == 1)) || ((maineq.currid == 6)))){ new hit_2().play(); }; if ((((maineq.currid == 2)) || ((maineq.currid == 5)))){ new hit_3().play(); }; if ((((maineq.currid == 3)) || ((maineq.currid == 4)))){ new hit_4().play(); }; if (maineq.nonstopbeats > maxcombo){ maxcombo = maineq.nonstopbeats; }; if ((((((maineq.nonstopbeats < 33)) && ((maineq.nonstopbeats > 1)))) && ((gamemode == 0)))){ createmsg(msgs[msgslist[maineq.nonstopbeats][int((Math.random() * msgslist[maineq.nonstopbeats].length))]]); }; setcombomsg(); ebar.y = 143; ebar.visible = true; if (maineq.nonstopbeats == 3){ schs[1].soundTransform = sndt_; }; if (maineq.nonstopbeats == 5){ schs[2].soundTransform = sndt_; }; if (maineq.nonstopbeats == 7){ schs[3].soundTransform = sndt_; }; if (maineq.nonstopbeats == 10){ schs[4].soundTransform = sndt_; schs[1].soundTransform = sndt; }; if (maineq.nonstopbeats == 15){ schs[5].soundTransform = sndt_; }; if (maineq.nonstopbeats_cut < 5){ if (int((Math.random() * 2)) == 1){ if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_02_E().play(); mouthframeid = 0; mouthid = 2; mouthplay = true; } else { if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_06_D().play(); mouthframeid = 0; mouthid = 6; mouthplay = true; }; girl1.visible = true; if (fr < 8){ girl1.gotoAndPlay(2); } else { if (fr < 23){ girl1.gotoAndPlay(3); } else { if (fr < 30){ girl1.gotoAndPlay(4); } else { girl1.gotoAndPlay(5); }; }; }; } else { if (maineq.nonstopbeats_cut < 10){ if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_01_A().play(); mouthframeid = 0; mouthid = 1; mouthplay = true; gotogirl2 = true; } else { if (maineq.nonstopbeats_cut < 15){ if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_07_B().play(); mouthframeid = 0; mouthid = 7; mouthplay = true; m3chain = 1; m3chaincounter = 0; gotogirl21 = true; } else { if (maineq.nonstopbeats_cut < 20){ if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_02_E().play(); mouthframeid = 0; mouthid = 2; mouthplay = true; m3chaincounter = 0; m3chain = (maineq.nonstopbeats_cut - 13); gotogirl21 = true; } else { if (maineq.nonstopbeats_cut < 26){ if (int((Math.random() * 2)) == 1){ if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_09_C().play(); mouthframeid = 0; mouthid = 9; mouthplay = true; } else { if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_08_C().play(); mouthframeid = 0; mouthid = 8; mouthplay = true; }; } else { if (mouthsch != null){ mouthsch.stop(); }; mouthsch = new v_03_D().play(); mouthframeid = 0; mouthid = 3; mouthplay = true; }; gotogirl3 = true; girl2_2.visible = true; girl2_2.gotoAndPlay(1); girl3.visible = false; }; }; }; }; }; } public function opp1(_arg1:Event):void{ zeroflash.visible = true; zeroflash.x = 277; zeroflash.scaleX = -1; zeroflash.gotoAndPlay(1); setopmsg(); setcountmsg(maineq.count); } public function opp2(_arg1:Event):void{ zeroflash.visible = true; zeroflash.x = 422; zeroflash.scaleX = 1; zeroflash.gotoAndPlay(1); setopmsg(); setcountmsg(maineq.count); } public function msg(_arg1:String):void{ var _local2:Number; var _local3:uint; var _local4:letter; _local2 = 0; _local3 = 0; while (_local3 < _arg1.length) { if (_arg1.charCodeAt(_local3) != 32){ _local4 = new letter(_arg1.charCodeAt(_local3), _local2, 0); _local4.cacheAsBitmap = true; _local2 = (_local2 + _local4.width); loading.addChild(_local4); _local4.setpos(1, int.MAX_VALUE, loading); } else { _local2 = (_local2 + 17); }; _local3++; }; loading.x = ((700 - loading.width) / 2); } public function showword(_arg1:Event):void{ var _local2:MovieClip; var _local3:letter; if (wordinfo[currid] != undefined){ _local2 = wordinfo[currid][0]; var _local4 = wordinfo[currid]; var _local5 = 1; var _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; if (wordinfo[currid][1] < (_local2.numChildren - 1)){ _local3 = (_local2.getChildByName(("l_" + wordinfo[currid][1])) as letter); if (_local3 == null){ _local4 = wordinfo[currid]; _local5 = 1; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local3 = (_local2.getChildByName(("l_" + wordinfo[currid][1])) as letter); }; _local3.visible = true; _local3.setpos(2, 2, _local2); } else { if ((btns.length - 1) > currid){ btns[(currid + 1)][1].addEventListener("DONE", showword, false, 0, true); crmsg(btns[(currid + 1)][0], btns[(currid + 1)][1]); }; }; }; } public function makeloader():void{ rv.gameid = gameid; rv.version = version; rv.key = mySo.data.key; rv.mode = gamemode; rv.time = gametime; rv.score = gamescore; rv.combo = gamecombo; rv.speed = gamespeed; rv.ah1 = int(mySo.data.achives[1]); rv.ah2 = int(mySo.data.achives[2]); rv.ah3 = int(mySo.data.achives[3]); rv.ah4 = int(mySo.data.achives[4]); rq.data = rv; rq.method = URLRequestMethod.POST; } public function onok2(_arg1:Event):void{ mySo.data.key = (String((Math.random() * 10)) + String((Math.random() * 10))); msgbox.btncancel.removeEventListener(MouseEvent.CLICK, oncancel); msgbox.btnok.removeEventListener(MouseEvent.CLICK, onok); msgbox.visible = false; loading = new MovieClip(); loading.name = "loading"; loading.y = 233; addChild(loading); msg("REGISTRATION... PLEASE WAIT"); rv.name = msgbox.editname.text; makeloader(); trace(rq.data); loader.load(rq); } public function waitforname(_arg1:Boolean=false):void{ msgbox.visible = true; msgbox.msg.text = "CONGRATULATIONS!\nYou`ve got into the TOP20 with your result! Please enter your NICKNAME for the TABLE of RECORDS"; if (_arg1){ msgbox.btnok.addEventListener(MouseEvent.CLICK, reg); } else { msgbox.btnok.addEventListener(MouseEvent.CLICK, onok); }; msgbox.btncancel.addEventListener(MouseEvent.CLICK, oncancel); } public function createmsg1(_arg1:String, _arg2:Number=0, _arg3:Number=400, _arg4:uint=20):void{ var doneEvt:Function; var emc:MovieClip; var i:uint; var l:letter; var mess = _arg1; var xx = _arg2; var yy = _arg3; var time = _arg4; if (messagearea1.numChildren == 0){ doneEvt = function (_arg1:Event):void{ var _local2:uint; _local2 = 0; while (_local2 < emc.numChildren) { emc.removeChildAt(_local2); _local2++; }; if (messagearea1.contains(emc)){ messagearea1.removeChild(emc); }; }; xx = 0; yy = 875; messagearea1.addEventListener("DONE", doneEvt); emc = new MovieClip(); messagearea1.addChild(emc); i = 0; while (i < mess.length) { if (mess.charCodeAt(i) != 32){ l = new letter(mess.charCodeAt(i), xx, yy); l.cacheAsBitmap = true; xx = (xx + l.width); emc.addChild(l); l.setpos(1, time, messagearea1); } else { xx = (xx + 17); }; i = (i + 1); }; emc.scaleX = 0.5; emc.scaleY = 0.5; emc.x = ((700 - emc.width) / 2); }; } public function MunyMOVE(_arg1:MouseEvent):void{ muny_x = Muny.x; if (!munnydrag){ if (sm_btn.hitTestPoint(_arg1.stageX, _arg1.stageY)){ sm_btn.y = 199; } else { sm_btn.y = 200; }; if (rl_btn.hitTestPoint(_arg1.stageX, _arg1.stageY)){ rl_btn.y = 234; } else { rl_btn.y = 235; }; if (ts_btn.hitTestPoint(_arg1.stageX, _arg1.stageY)){ ts_btn.y = 269; } else { ts_btn.y = 270; }; if (mg_btn.hitTestPoint(_arg1.stageX, _arg1.stageY)){ mg_btn.y = 304; } else { mg_btn.y = 305; }; if (ht_btn.hitTestPoint(_arg1.stageX, _arg1.stageY)){ ht_btn.y = 339; } else { ht_btn.y = 340; }; if (ex_btn.hitTestPoint(_arg1.stageX, _arg1.stageY)){ ex_btn.y = 374; } else { ex_btn.y = 375; }; }; } public function settab(_arg1:uint):void{ var _local2:uint; if (_arg1 == 0){ _arg1 = 1; }; showtop(_arg1); _local2 = 1; while (_local2 < 5) { if (_local2 != _arg1){ (top.getChildByName(("bar" + _local2)) as MovieClip).buttonMode = true; (top.getChildByName(("bar" + _local2)) as MovieClip).useHandCursor = true; (top.getChildByName(("tab" + _local2)) as MovieClip).visible = false; } else { (top.getChildByName(("bar" + _local2)) as MovieClip).buttonMode = false; (top.getChildByName(("bar" + _local2)) as MovieClip).useHandCursor = false; (top.getChildByName(("tab" + _local2)) as MovieClip).visible = true; }; _local2++; }; } public function onok(_arg1:Event):void{ var e = _arg1; mySo.data.key = (String((Math.random() * 10)) + String((Math.random() * 10))); msgbox.btnok.removeEventListener(MouseEvent.CLICK, onok); msgbox.btncancel.removeEventListener(MouseEvent.CLICK, oncancel); try { flushStatus = mySo.flush(); } catch(error:Error) { trace("Error...Could not write SharedObject to disk\n"); }; if (flushStatus != null){ switch (flushStatus){ case SharedObjectFlushStatus.PENDING: trace("Requesting permission to save object...\n"); mySo.addEventListener(NetStatusEvent.NET_STATUS, onFlushStatus); break; case SharedObjectFlushStatus.FLUSHED: trace("Value flushed to disk.\n"); reg(); break; }; }; } } }//package index_fla
Section 107
//menu_14 (index_fla.menu_14) package index_fla { import flash.display.*; public dynamic class menu_14 extends MovieClip { public function menu_14(){ addFrameScript(33, frame34); } function frame34(){ stop(); } } }//package index_fla
Section 108
//menu_records_178 (index_fla.menu_records_178) package index_fla { import flash.events.*; import flash.display.*; public dynamic class menu_records_178 extends MovieClip { public var tab1:MovieClip; public var tab3:MovieClip; public var tab4:MovieClip; public var tab2:MovieClip; public var linesplace:MovieClip; public var bar2:MovieClip; public var bar3:MovieClip; public var bar4:MovieClip; public var bar1:MovieClip; public var mmtext:MovieClip; public function menu_records_178(){ addFrameScript(0, frame1, 35, frame36); } function frame1(){ stop(); } function frame36(){ stop(); dispatchEvent(new Event("DONE")); } } }//package index_fla
Section 109
//msgbtncancel_186 (index_fla.msgbtncancel_186) package index_fla { import flash.display.*; public dynamic class msgbtncancel_186 extends MovieClip { public function msgbtncancel_186(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 110
//msgbtnok_185 (index_fla.msgbtnok_185) package index_fla { import flash.display.*; public dynamic class msgbtnok_185 extends MovieClip { public function msgbtnok_185(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 111
//Muny_2 (index_fla.Muny_2) package index_fla { import flash.display.*; public dynamic class Muny_2 extends MovieClip { public var ah3:MovieClip; public var ah2:MovieClip; public var ah4:MovieClip; public var ah1:MovieClip; } }//package index_fla
Section 112
//Muny_new_21 (index_fla.Muny_new_21) package index_fla { import flash.display.*; public dynamic class Muny_new_21 extends MovieClip { public var old:MovieClip; } }//package index_fla
Section 113
//okbtn_53 (index_fla.okbtn_53) package index_fla { import flash.display.*; public dynamic class okbtn_53 extends MovieClip { public function okbtn_53(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 114
//oppening_64 (index_fla.oppening_64) package index_fla { import flash.display.*; import flash.media.*; public dynamic class oppening_64 extends MovieClip { public function oppening_64(){ addFrameScript(1, frame2, 4, frame5, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 14, frame15, 15, frame16, 18, frame19, 21, frame22, 22, frame23, 25, frame26, 28, frame29, 29, frame30, 32, frame33, 35, frame36, 36, frame37, 39, frame40, 42, frame43, 45, frame46, 46, frame47, 47, frame48, 50, frame51, 51, frame52, 54, frame55, 55, frame56, 58, frame59, 59, frame60, 61, frame62); } function frame10(){ stop(); } function frame12(){ stop(); } function frame15(){ stop(); } function frame16(){ stop(); } function frame8(){ stop(); } function frame19(){ stop(); } function frame26(){ stop(); } function frame23(){ stop(); } function frame5(){ stop(); } function frame9(){ stop(); } function frame22(){ stop(); } function frame29(){ stop(); } function frame2(){ stop(); } function frame30(){ stop(); } function frame36(){ stop(); } function frame37(){ stop(); } function frame11(){ stop(); } function frame40(){ stop(); } function frame43(){ stop(); } function frame33(){ stop(); } function frame47(){ stop(); } function frame48(){ stop(); } function frame46(){ stop(); } function frame51(){ stop(); } function frame52(){ stop(); } function frame55(){ stop(); } function frame56(){ stop(); } function frame59(){ stop(); } function frame62(){ SoundMixer.stopAll(); (parent as MovieClip).play(); } function frame60(){ stop(); } } }//package index_fla
Section 115
//rb_130 (index_fla.rb_130) package index_fla { import flash.display.*; public dynamic class rb_130 extends MovieClip { public var other:MovieClip; } }//package index_fla
Section 116
//sm_btn_18 (index_fla.sm_btn_18) package index_fla { import flash.display.*; public dynamic class sm_btn_18 extends MovieClip { public var bg:MovieClip; } }//package index_fla
Section 117
//soundbtn_163 (index_fla.soundbtn_163) package index_fla { import flash.display.*; public dynamic class soundbtn_163 extends MovieClip { public function soundbtn_163(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 118
//Symbol10_171 (index_fla.Symbol10_171) package index_fla { import flash.display.*; public dynamic class Symbol10_171 extends MovieClip { public function Symbol10_171(){ addFrameScript(24, frame25); } function frame25(){ stop(); } } }//package index_fla
Section 119
//Symbol3_85 (index_fla.Symbol3_85) package index_fla { import flash.display.*; public dynamic class Symbol3_85 extends MovieClip { public function Symbol3_85(){ addFrameScript(49, frame50); } function frame50(){ stop(); } } }//package index_fla
Section 120
//Symbol5_90 (index_fla.Symbol5_90) package index_fla { import flash.display.*; public dynamic class Symbol5_90 extends MovieClip { public function Symbol5_90(){ addFrameScript(49, frame50); } function frame50(){ stop(); } } }//package index_fla
Section 121
//Symbol6_69 (index_fla.Symbol6_69) package index_fla { import flash.display.*; public dynamic class Symbol6_69 extends MovieClip { public function Symbol6_69(){ addFrameScript(23, frame24); } function frame24(){ stop(); } } }//package index_fla
Section 122
//Symbol7_93 (index_fla.Symbol7_93) package index_fla { import flash.display.*; public dynamic class Symbol7_93 extends MovieClip { public function Symbol7_93(){ addFrameScript(149, frame150); } function frame150(){ stop(); } } }//package index_fla
Section 123
//Symbol8_99 (index_fla.Symbol8_99) package index_fla { import flash.display.*; public dynamic class Symbol8_99 extends MovieClip { public function Symbol8_99(){ addFrameScript(49, frame50); } function frame50(){ stop(); } } }//package index_fla
Section 124
//Symbol9_103 (index_fla.Symbol9_103) package index_fla { import flash.display.*; public dynamic class Symbol9_103 extends MovieClip { public function Symbol9_103(){ addFrameScript(9, frame10); } function frame10(){ stop(); } } }//package index_fla
Section 125
//t1_66 (index_fla.t1_66) package index_fla { import flash.display.*; public dynamic class t1_66 extends MovieClip { public function t1_66(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 126
//t10_80 (index_fla.t10_80) package index_fla { import flash.display.*; public dynamic class t10_80 extends MovieClip { public function t10_80(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 127
//t11_81 (index_fla.t11_81) package index_fla { import flash.display.*; public dynamic class t11_81 extends MovieClip { public function t11_81(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 128
//t12_82 (index_fla.t12_82) package index_fla { import flash.display.*; public dynamic class t12_82 extends MovieClip { public function t12_82(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 129
//t13_83 (index_fla.t13_83) package index_fla { import flash.display.*; public dynamic class t13_83 extends MovieClip { public function t13_83(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 130
//t14_84 (index_fla.t14_84) package index_fla { import flash.display.*; public dynamic class t14_84 extends MovieClip { public function t14_84(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 131
//t15_88 (index_fla.t15_88) package index_fla { import flash.display.*; public dynamic class t15_88 extends MovieClip { public function t15_88(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 132
//t16_89 (index_fla.t16_89) package index_fla { import flash.display.*; public dynamic class t16_89 extends MovieClip { public function t16_89(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 133
//t17_91 (index_fla.t17_91) package index_fla { import flash.display.*; public dynamic class t17_91 extends MovieClip { public function t17_91(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 134
//t18_92 (index_fla.t18_92) package index_fla { import flash.display.*; public dynamic class t18_92 extends MovieClip { public function t18_92(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 135
//t19_94 (index_fla.t19_94) package index_fla { import flash.display.*; public dynamic class t19_94 extends MovieClip { public function t19_94(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 136
//t2_67 (index_fla.t2_67) package index_fla { import flash.display.*; public dynamic class t2_67 extends MovieClip { public function t2_67(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 137
//t20_95 (index_fla.t20_95) package index_fla { import flash.display.*; public dynamic class t20_95 extends MovieClip { public function t20_95(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 138
//t21_96 (index_fla.t21_96) package index_fla { import flash.display.*; public dynamic class t21_96 extends MovieClip { public function t21_96(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 139
//t22_97 (index_fla.t22_97) package index_fla { import flash.display.*; public dynamic class t22_97 extends MovieClip { public function t22_97(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 140
//t23_98 (index_fla.t23_98) package index_fla { import flash.display.*; public dynamic class t23_98 extends MovieClip { public function t23_98(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 141
//t24_100 (index_fla.t24_100) package index_fla { import flash.display.*; public dynamic class t24_100 extends MovieClip { public function t24_100(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 142
//t25_101 (index_fla.t25_101) package index_fla { import flash.display.*; public dynamic class t25_101 extends MovieClip { public function t25_101(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 143
//t26_102 (index_fla.t26_102) package index_fla { import flash.display.*; public dynamic class t26_102 extends MovieClip { public function t26_102(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 144
//t27_168 (index_fla.t27_168) package index_fla { import flash.display.*; public dynamic class t27_168 extends MovieClip { public function t27_168(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 145
//t28_169 (index_fla.t28_169) package index_fla { import flash.display.*; public dynamic class t28_169 extends MovieClip { public function t28_169(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 146
//t29_170 (index_fla.t29_170) package index_fla { import flash.display.*; public dynamic class t29_170 extends MovieClip { public function t29_170(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 147
//t3_68 (index_fla.t3_68) package index_fla { import flash.display.*; public dynamic class t3_68 extends MovieClip { public function t3_68(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 148
//t30_172 (index_fla.t30_172) package index_fla { import flash.display.*; public dynamic class t30_172 extends MovieClip { public function t30_172(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 149
//t31_174 (index_fla.t31_174) package index_fla { import flash.display.*; public dynamic class t31_174 extends MovieClip { public function t31_174(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 150
//t32_176 (index_fla.t32_176) package index_fla { import flash.display.*; public dynamic class t32_176 extends MovieClip { public function t32_176(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 151
//t33_177 (index_fla.t33_177) package index_fla { import flash.display.*; public dynamic class t33_177 extends MovieClip { public function t33_177(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 152
//t4_71 (index_fla.t4_71) package index_fla { import flash.display.*; public dynamic class t4_71 extends MovieClip { public function t4_71(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 153
//t5_72 (index_fla.t5_72) package index_fla { import flash.display.*; public dynamic class t5_72 extends MovieClip { public function t5_72(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 154
//t6_73 (index_fla.t6_73) package index_fla { import flash.display.*; public dynamic class t6_73 extends MovieClip { public function t6_73(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 155
//t7_76 (index_fla.t7_76) package index_fla { import flash.display.*; public dynamic class t7_76 extends MovieClip { public function t7_76(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 156
//t8_77 (index_fla.t8_77) package index_fla { import flash.display.*; public dynamic class t8_77 extends MovieClip { public function t8_77(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 157
//t9_79 (index_fla.t9_79) package index_fla { import flash.display.*; public dynamic class t9_79 extends MovieClip { public function t9_79(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 158
//update_55 (index_fla.update_55) package index_fla { import flash.display.*; public dynamic class update_55 extends MovieClip { public var helpbtn:MovieClip; public var updbtn:MovieClip; } }//package index_fla
Section 159
//updbutton_56 (index_fla.updbutton_56) package index_fla { import flash.display.*; public dynamic class updbutton_56 extends MovieClip { public function updbutton_56(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_fla
Section 160
//white_152 (index_fla.white_152) package index_fla { import flash.display.*; public dynamic class white_152 extends MovieClip { public function white_152(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_fla
Section 161
//whoom_165 (index_fla.whoom_165) package index_fla { import flash.display.*; public dynamic class whoom_165 extends MovieClip { public function whoom_165(){ addFrameScript(12, frame13); } function frame13(){ stop(); visible = false; } } }//package index_fla
Section 162
//window_184 (index_fla.window_184) package index_fla { import flash.display.*; import flash.text.*; public dynamic class window_184 extends MovieClip { public var btnok:MovieClip; public var msg:TextField; public var editname:TextField; public var btncancel:MovieClip; } }//package index_fla
Section 163
//windowinfo_51 (index_fla.windowinfo_51) package index_fla { import flash.display.*; public dynamic class windowinfo_51 extends MovieClip { public var okbtn:MovieClip; } }//package index_fla
Section 164
//bang (bang) package { import flash.display.*; public dynamic class bang extends MovieClip { public function bang(){ addFrameScript(9, frame10); } function frame10(){ visible = false; } } }//package
Section 165
//bar_1 (bar_1) package { import flash.media.*; public dynamic class bar_1 extends Sound { } }//package
Section 166
//bar_2 (bar_2) package { import flash.media.*; public dynamic class bar_2 extends Sound { } }//package
Section 167
//bar_3 (bar_3) package { import flash.media.*; public dynamic class bar_3 extends Sound { } }//package
Section 168
//bar_4 (bar_4) package { import flash.media.*; public dynamic class bar_4 extends Sound { } }//package
Section 169
//beat1 (beat1) package { import flash.media.*; public dynamic class beat1 extends Sound { } }//package
Section 170
//beat2 (beat2) package { import flash.media.*; public dynamic class beat2 extends Sound { } }//package
Section 171
//beat3 (beat3) package { import flash.media.*; public dynamic class beat3 extends Sound { } }//package
Section 172
//beat4 (beat4) package { import flash.media.*; public dynamic class beat4 extends Sound { } }//package
Section 173
//beat5 (beat5) package { import flash.media.*; public dynamic class beat5 extends Sound { } }//package
Section 174
//beat6 (beat6) package { import flash.media.*; public dynamic class beat6 extends Sound { } }//package
Section 175
//configManager (configManager) package { import flash.events.*; import flash.display.*; import flash.net.*; import flash.utils.*; public class configManager extends MovieClip { var popupurl:String;// = "" var areacontent:Dictionary; public var chk9:Boolean;// = false var configXML:XML; var showonload:String;// = null var areas:Dictionary; var ver:uint; var gid:String; public function configManager(_arg1:String, _arg2:uint, _arg3:Stage):void{ var loader:URLLoader; var ioErrorHandler:Function; var loadXML:Function; var gameid = _arg1; var version = _arg2; var st = _arg3; configXML = <config></config> ; areas = new Dictionary(true); areacontent = new Dictionary(true); showonload = null; popupurl = ""; chk9 = false; super(); ioErrorHandler = function (_arg1:Event):void{ trace("config fail"); }; loadXML = function (_arg1:Event):void{ var i:uint; var k:uint; var tmpfn:Function; var e = _arg1; trace(e.target.data); configXML = new XML(e.target.data); trace("config loaded\n\n"); if (String(configXML.settings.player.@chk9) == "yes"){ chk9 = true; }; i = 0; while (i < configXML.stages.stage.length()) { k = 0; while (k < configXML.stages.stage[i].banners.banner.length()) { if (configXML.stages.stage[i].banners.banner[k].@autoload == "true"){ trace(((("get content " + configXML.stages.stage[i].@name) + " loc:") + configXML.stages.stage[i].banners.banner[k].@location)); getContent(configXML.stages.stage[i].@name, k, configXML.stages.stage[i].banners.banner[k].@location, configXML.stages.stage[i].banners.banner[k].@x, configXML.stages.stage[i].banners.banner[k].@y, configXML.stages.stage[i].banners.banner[k].@href); }; if (configXML.stages.stage[i].@name == "popup"){ tmpfn = function (_arg1:Event):void{ if (popupurl != ""){ navigateToURL(new URLRequest(popupurl), "_blank"); }; st.removeEventListener(MouseEvent.CLICK, tmpfn); }; st.addEventListener(MouseEvent.CLICK, tmpfn); popupurl = configXML.stages.stage[i].banners.banner[k].@href; }; k = (k + 1); }; i = (i + 1); }; }; gid = gameid; ver = version; loader = new URLLoader(); loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, ioErrorHandler); loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); loader.addEventListener(Event.COMPLETE, loadXML); loader.load(new URLRequest(((("http://config.mutanky.com/?gameid=" + gameid) + "&version=") + version))); } function getContent(_arg1:String, _arg2:uint, _arg3:String, _arg4:Number, _arg5:Number, _arg6:String):void{ var loader:Loader; var loadcontent:Function; var id = _arg1; var arrid = _arg2; var loc = _arg3; var x = _arg4; var y = _arg5; var href = _arg6; loadcontent = function (_arg1:Event):void{ var bannerid:uint; var e = _arg1; if (areacontent[id] == undefined){ areacontent[id] = []; }; e.target.content.x = x; e.target.content.y = y; e.target.content.href = href; e.target.content.gameid = gid; e.target.content.version = ver; areacontent[id][arrid] = e.target.content; if (showonload == id){ bannerid = int((Math.random() * areacontent[id].length)); areas[id].addChild(areacontent[id][bannerid]); if (areacontent[id][bannerid].href != ""){ areacontent[id][bannerid].addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ navigateToURL(new URLRequest(areacontent[id][bannerid].href), "_blank"); }); }; }; trace("content loaded"); trace(("LOADED_" + id)); dispatchEvent(new Event(("LOADED_" + id))); }; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadcontent); loader.load(new URLRequest(loc)); } public function addArea(_arg1:String, _arg2:MovieClip):void{ var bannerid:uint; var i:uint; var k:uint; var id = _arg1; var area = _arg2; if (areas[id] == undefined){ areas[id] = area; if (areacontent[id] == undefined){ areacontent[id] = []; i = 0; while (i < configXML.stages.stage.length()) { if (String(configXML.stages.stage[i].@name) == id){ k = 0; while (k < configXML.stages.stage[i].banners.banner.length()) { getContent(configXML.stages.stage[i].@name, k, configXML.stages.stage[i].banners.banner[k].@location, configXML.stages.stage[i].banners.banner[k].@x, configXML.stages.stage[i].banners.banner[k].@y, configXML.stages.stage[i].banners.banner[k].@href); k = (k + 1); }; }; i = (i + 1); }; }; }; bannerid = int((Math.random() * areacontent[id].length)); if (((((!((areacontent[id][bannerid] == null))) && (!((areacontent[id][bannerid] == undefined))))) && (!(area.contains(areacontent[id][bannerid]))))){ area.addChild(areacontent[id][bannerid]); dispatchEvent(new Event(("LOADED_" + id))); if (areacontent[id][bannerid].href != ""){ areacontent[id][bannerid].addEventListener(MouseEvent.CLICK, function (_arg1:Event):void{ navigateToURL(new URLRequest(areacontent[id][bannerid].href), "_blank"); }); }; } else { showonload = id; }; trace((("start " + id) + " area")); } } }//package
Section 176
//fire (fire) package { import flash.display.*; public class fire extends MovieClip { } }//package
Section 177
//fires (fires) package { public dynamic class fires extends fire { public function fires(){ addFrameScript(14, frame15); } function frame15(){ stop(); } } }//package
Section 178
//hit_1 (hit_1) package { import flash.media.*; public dynamic class hit_1 extends Sound { } }//package
Section 179
//hit_2 (hit_2) package { import flash.media.*; public dynamic class hit_2 extends Sound { } }//package
Section 180
//hit_3 (hit_3) package { import flash.media.*; public dynamic class hit_3 extends Sound { } }//package
Section 181
//hit_4 (hit_4) package { import flash.media.*; public dynamic class hit_4 extends Sound { } }//package
Section 182
//letter (letter) package { import flash.events.*; import flash.display.*; public class letter extends MovieClip { var y1:Number; var sw; var sh:uint; var fmc:uint;// = 0 var area:MovieClip; var x1; var lifetime:uint; var intype:uint; public function letter(_arg1:uint, _arg2:Number, _arg3:Number):void{ fmc = 0; super(); addFrameScript(0, frame1); gotoAndStop((_arg1 - 33)); cacheAsBitmap = true; x1 = _arg2; y1 = _arg3; } function frame1(){ stop(); } function EF(_arg1:Event):void{ fmc++; if (fmc == 1){ width = 1; height = 1; } else { if (fmc < 5){ width = int(((0.3 * (fmc - 1)) * sw)); height = int(((0.3 * (fmc - 1)) * sh)); x = (x1 - ((width - sw) / 2)); y = (y1 - ((height - sh) / 2)); }; }; if (fmc == 5){ width = int((1.2 * sw)); height = int((1.2 * sh)); x = (x1 - ((width - sw) / 2)); y = (y1 - ((height - sh) / 2)); }; if (fmc == 6){ width = int((1.1 * sw)); height = int((1.1 * sh)); x = (x1 - ((width - sw) / 2)); y = (y1 - ((height - sh) / 2)); }; if (fmc == 7){ x = (x + ((width - sw) / 2)); y = (y + ((height - sh) / 2)); width = sw; height = sh; }; if ((((((fmc == (lifetime + 5))) && (!((intype == 2))))) || ((((fmc == lifetime)) && ((intype == 2)))))){ if (area != null){ area.dispatchEvent(new Event("DONE")); }; }; } public function setpos(_arg1:uint, _arg2:uint, _arg3:MovieClip):void{ area = _arg3; intype = _arg1; lifetime = _arg2; x = x1; y = y1; sw = width; sh = height; if (intype != 3){ addEventListener(Event.ENTER_FRAME, EF, false, 0, true); }; } } }//package
Section 183
//main (main) package { public dynamic class main extends newgirl { } }//package
Section 184
//menu_music (menu_music) package { import flash.media.*; public dynamic class menu_music extends Sound { } }//package
Section 185
//miss (miss) package { import flash.media.*; public dynamic class miss extends Sound { } }//package
Section 186
//newgirl (newgirl) package { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.Contacts.*; import Box2D.Collision.Shapes.*; import flash.events.*; import flash.display.*; import Box2D.Common.*; import flash.utils.*; import flash.geom.*; public class newgirl extends MovieClip { public var rb1:MovieClip; public var eyes_id:uint;// = 3 var b_ring1_way:Number;// = 0 public var wtf1:MovieClip; public var wtf2:MovieClip; public var rb:MovieClip; public var starttime:uint; var fire:Boolean;// = false var m_iterations:int;// = 25 var bricks:Array; public var bar1:MovieClip; public var bar2:MovieClip; public var bar3:MovieClip; public var bar6:MovieClip; public var bar7:MovieClip; public var bar8:MovieClip; public var bar4:MovieClip; public var bar5:MovieClip; public var nonstopbeats:uint;// = 0 var get1000bonus:Boolean;// = false var ball_y_prev; var skiipzero:Boolean;// = false public var gamemode:uint;// = 0 var speed1000bonus:uint;// = 0 var m_timeStep:Number;// = 0.04 public var currid:uint; var zeroy:uint;// = 0 var m_sprite:Sprite; var get1500bonus:Boolean;// = false var worldAABB:b2AABB; var direction_prev:Number;// = 0 var direction_curr:Number;// = 0 public var count:uint;// = 0 public var nonstopbeats_cut:uint;// = 0 public var direction_zero_amount:Number;// = 0 var cont:Boolean;// = false public var circbody:b2Body; var m_world:b2World; public var speedrecord:uint;// = 0 public var smoke:MovieClip; var direction_zero:Number;// = 0 var get2000bonus:Boolean;// = false var get50fine:Boolean;// = false public var firearea:MovieClip; var nonstopmiss:uint;// = 0 var speedcounter:uint;// = 0 var ball_rot_prev:Number; var speed50fine:uint;// = 0 var get2500bonus:Boolean;// = false public var ball:MovieClip; public function newgirl():void{ var MMHandler:Function; var ground:b2Body; var bd:b2BodyDef; var circ:b2CircleDef; var jd:b2RevoluteJointDef; var i:int; var angle:Number; var tX:Number; var tY:Number; var rjd:b2RevoluteJointDef; var sd:b2BoxDef; var prevBody:b2Body; var m_joint3:b2PrismaticJoint; var yy:Number; var L:Number; var xx:Number; eyes_id = 3; starttime = getTimer(); count = 0; bricks = []; direction_curr = 0; direction_prev = 0; direction_zero = 0; direction_zero_amount = 0; skiipzero = false; worldAABB = new b2AABB(); m_iterations = 25; m_timeStep = (1 / 25); fire = false; cont = false; nonstopbeats = 0; nonstopbeats_cut = 0; nonstopmiss = 0; speedrecord = 0; speedcounter = 0; speed1000bonus = 0; get1000bonus = false; get1500bonus = false; get2000bonus = false; get2500bonus = false; speed50fine = 0; get50fine = false; zeroy = 0; gamemode = 0; b_ring1_way = 0; super(); MMHandler = function (_arg1:MouseEvent):void{ var _local2:Number; _local2 = int((Math.abs((_arg1.stageX - 119)) / 58)); if (_local2 > 7){ _local2 = 7; }; if (_local2 < 0){ _local2 = 0; }; rb1.x = (_local2 * 58); }; stage.scaleMode = StageScaleMode.NO_SCALE; worldAABB.minVertex.Set(-1000, -1000); worldAABB.maxVertex.Set(1000, 1000); m_world = new b2World(worldAABB, new b2Vec2(0, 500), true); m_sprite = new Sprite(); addChild(m_sprite); addEventListener(MouseEvent.CLICK, CLICKHandler, false, 0, true); wtf1.addEventListener(MouseEvent.CLICK, CLICKHandler, false, 0, true); wtf2.addEventListener(MouseEvent.CLICK, CLICKHandler, false, 0, true); ball.addEventListener(MouseEvent.CLICK, CLICKHandler, false, 0, true); smoke.addEventListener(MouseEvent.CLICK, CLICKHandler, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_MOVE, MMHandler); ground = m_world.m_groundBody; circ = new b2CircleDef(); rjd = new b2RevoluteJointDef(); sd = new b2BoxDef(); prevBody = ground; i = 1; while (i < 9) { (getChildByName(("bar" + i)) as MovieClip).barmask.y = 454; i = (i + 1); }; circ.radius = 15; circ.density = 1; circ.friction = 0; circ.restitution = 1; bd = new b2BodyDef(); bd.AddShape(circ); jd = new b2RevoluteJointDef(); yy = 460; L = 214; zeroy = (yy - L); xx = (350 - 119); bd.position.Set(xx, yy); bd.position.Set(xx, (yy - (2 * L))); circbody = m_world.CreateBody(bd); jd.anchorPoint.Set(xx, (yy - L)); jd.body1 = ground; jd.body2 = circbody; m_world.CreateJoint(jd); } public function finalize():void{ removeEventListener(Event.ENTER_FRAME, Update); } function cr(_arg1:Number):void{ var _local2:Number; var _local3:b2BoxDef; var _local4:b2BodyDef; var _local5:b2Body; var _local6:uint; var _local7:uint; var _local8:MovieClip; _local2 = int((Math.abs((_arg1 - 119)) / 58)); if (_local2 > 7){ _local2 = 7; }; if (_local2 < 0){ _local2 = 0; }; fire = true; _local3 = new b2BoxDef(); _local3.extents.Set(32, 5); _local3.density = 15; _local3.friction = 0; _local4 = new b2BodyDef(); _local4.AddShape(_local3); _local4.position.Set(((_local2 * 58) + 28), 500); _local5 = m_world.CreateBody(_local4); _local5.SetLinearVelocity(new b2Vec2(0, -500)); if ((((_local2 == 0)) || ((_local2 == 7)))){ _local6 = 0xFF; }; if ((((_local2 == 1)) || ((_local2 == 6)))){ _local6 = 375; }; if ((((_local2 == 2)) || ((_local2 == 5)))){ _local6 = 420; }; if ((((_local2 == 3)) || ((_local2 == 4)))){ _local6 = 443; }; currid = _local2; bricks = [_local5, _local6]; _local7 = 1; while (_local7 < 3) { _local8 = (getChildByName(("bar" + ((currid + 1) + _local7))) as MovieClip); if (_local8 != null){ _local8.bitagreen.alpha = (1 - (0.25 * _local7)); }; _local8 = (getChildByName(("bar" + ((currid + 1) - _local7))) as MovieClip); if (_local8 != null){ _local8.bitagreen.alpha = (1 - (0.25 * _local7)); }; _local7++; }; rb.other.visible = false; dispatchEvent(new Event("EQCLICK")); } public function CLICKHandler(_arg1:MouseEvent):void{ if (!fire){ cr(_arg1.stageX); }; } public function Update(_arg1:Event):void{ var _local2:uint; var _local3:uint; var _local4:Number; var _local5:b2ContactNode; var _local6:Boolean; var _local7:uint; var _local8:uint; var _local9:MovieClip; var _local10:MovieClip; var _local11:uint; _local2 = 0; while (_local2 < firearea.numChildren) { if (((!((firearea.getChildAt(_local2) == null))) && (((firearea.getChildAt(_local2) as MovieClip).currentFrame == 15)))){ firearea.removeChildAt(_local2); }; _local2++; }; ball_y_prev = circbody.m_linearVelocity.y; ball_rot_prev = smoke.rotation; _local3 = int(Math.sqrt((Math.pow(circbody.m_linearVelocity.x, 2) + Math.pow(circbody.m_linearVelocity.y, 2)))); if (_local3 < 350){ eyes_id = 3; } else { if (_local3 < 700){ eyes_id = 2; } else { eyes_id = 1; }; }; if (gamemode == 1){ if (_local3 > 500){ if (ball.white.currentFrame == 1){ ball.white.visible = true; ball.white.gotoAndPlay(2); }; } else { ball.white.visible = false; ball.white.gotoAndStop(1); }; }; if (circbody.m_position.y > zeroy){ if (_local3 <= 50){ if (!get50fine){ dispatchEvent(new Event("FINE")); if (count > 49){ count = (count + -50); } else { count = 0; }; dispatchEvent(new Event("COUNT1")); speed50fine++; get50fine = true; }; } else { get50fine = false; }; }; if ((((_local3 >= 1000)) && ((_local3 < 1500)))){ if (((((((!(get1000bonus)) && (!(get1500bonus)))) && (!(get2000bonus)))) && (!(get2500bonus)))){ dispatchEvent(new Event("BONUS1000")); count = (count + 100); dispatchEvent(new Event("COUNT")); get1000bonus = true; speed1000bonus++; }; } else { get1000bonus = false; }; if ((((_local3 >= 1500)) && ((_local3 < 2000)))){ if (((((((!(get1000bonus)) && (!(get1500bonus)))) && (!(get2000bonus)))) && (!(get2500bonus)))){ dispatchEvent(new Event("BONUS1500")); count = (count + 150); dispatchEvent(new Event("COUNT")); get1500bonus = true; }; } else { get1500bonus = false; }; if ((((_local3 >= 2000)) && ((_local3 < 2500)))){ if (((((((!(get1000bonus)) && (!(get1500bonus)))) && (!(get2000bonus)))) && (!(get2500bonus)))){ dispatchEvent(new Event("BONUS2000")); count = (count + 300); dispatchEvent(new Event("COUNT")); get2000bonus = true; }; } else { get2000bonus = false; }; if (_local3 >= 2500){ if (((((((!(get1000bonus)) && (!(get1500bonus)))) && (!(get2000bonus)))) && (!(get2500bonus)))){ dispatchEvent(new Event("BONUS2500")); count = (count + 500); dispatchEvent(new Event("COUNT")); get2500bonus = true; }; } else { get2500bonus = false; }; if (_local3 > speedrecord){ speedrecord = _local3; dispatchEvent(new Event("MAXSPEED")); }; speedcounter = (speedcounter + (_local3 / 100)); _local4 = circbody.m_linearVelocity.y; m_world.Step(m_timeStep, m_iterations); _local5 = circbody.GetContactList(); _local6 = false; if (_local5 != null){ if (_local5.other != null){ if (sign(ball_y_prev) == sign(circbody.m_linearVelocity.y)){ circbody.SetLinearVelocity(new b2Vec2(-(circbody.m_linearVelocity.x), -(circbody.m_linearVelocity.y))); }; ball.flashes.visible = true; ball.flashes.light.gotoAndPlay(2); cont = true; firearea.x = ball.x; firearea.y = (ball.y + 18); _local8 = 0; while (_local8 < 10) { _local9 = new fires(); _local9.x = (Math.random() * 8); _local9.y = (Math.random() * 8); _local9.scaleX = (0.7 + (Math.random() * 0.5)); _local9.scaleY = _local9.scaleX; _local9.rotation = ((-45 + (Math.random() * 90)) + 180); firearea.addChild(_local9); _local8++; }; _local6 = true; }; }; ball.x = circbody.m_position.x; ball.y = circbody.m_position.y; ball.ballbody.rotation = (((circbody.m_rotation * 180) / Math.PI) + 45); direction_prev = direction_curr; smoke.rotation = (((circbody.m_rotation * 180) / Math.PI) + 90); direction_curr = (smoke.rotation - ball_rot_prev); if ((((direction_curr > 300)) && ((direction_prev < 0)))){ direction_curr = -1; }; if ((((direction_curr < -300)) && ((direction_prev > 0)))){ direction_curr = 1; }; if ((((smoke.rotation < ball_rot_prev)) && ((sign(smoke.rotation) == sign(ball_rot_prev))))){ smoke.scaleY = 1; }; if ((((smoke.rotation > ball_rot_prev)) && ((sign(smoke.rotation) == sign(ball_rot_prev))))){ smoke.scaleY = -1; }; _local7 = int(Math.sqrt((Math.pow(circbody.m_linearVelocity.y, 2) + Math.pow(circbody.m_linearVelocity.x, 2)))); if (_local7 > 400){ _local7 = (_local7 + -400); } else { _local7 = 50; }; _local7 = int((_local7 / 50)); if (_local7 > 11){ _local7 = 11; }; smoke.gotoAndStop(_local7); if (bricks[0] != null){ if (((((((((_local6) || (!((bricks[0].m_linearVelocity.x == 0))))) || ((bricks[0].m_linearVelocity.y > 0)))) || (!((bricks[0].m_rotation == 0))))) || ((bricks[0].m_position.y < bricks[1])))){ m_world.DestroyBody(bricks[0]); if (cont){ nonstopmiss = 0; nonstopbeats++; nonstopbeats_cut++; if (nonstopbeats_cut > 32){ nonstopbeats_cut = 1; }; if ((((currid == 0)) || ((currid == 7)))){ count = (count + (5 * nonstopbeats_cut)); }; if ((((currid == 1)) || ((currid == 6)))){ count = (count + (10 * nonstopbeats_cut)); }; if ((((currid == 2)) || ((currid == 5)))){ count = (count + (20 * nonstopbeats_cut)); }; if ((((currid == 3)) || ((currid == 4)))){ count = (count + (30 * nonstopbeats_cut)); }; dispatchEvent(new Event("BANG")); dispatchEvent(new Event("COUNT")); if (nonstopbeats == 2){ ball.ring1.visible = true; ball.blik2.visible = true; }; if (nonstopbeats == 3){ ball.l3.visible = true; }; if (nonstopbeats == 6){ ball.l6.visible = true; }; if (nonstopbeats == 8){ ball.l8.visible = true; }; if (nonstopbeats == 9){ ball.ring2.visible = true; }; _local11 = nonstopbeats; if (_local11 > 8){ _local11 = 8; }; ball.flashes.gotoAndStop(_local11); } else { ball.flashes.visible = false; nonstopmiss++; nonstopbeats = 0; nonstopbeats_cut = 0; dispatchEvent(new Event("MISS")); ball.flashes.gotoAndStop(1); ball.blik2.visible = false; ball.ring1.visible = false; ball.ring2.visible = false; ball.l3.visible = false; ball.l6.visible = false; ball.l8.visible = false; }; bricks[0] = null; rb.x = 1000; (getChildByName(("bar" + (currid + 1))) as MovieClip).barmask.y = 454; _local8 = 1; while (_local8 < 3) { _local10 = (getChildByName(("bar" + ((currid + 1) + _local8))) as MovieClip); if (_local10 != null){ _local10.barmask.y = (getChildByName(("bar" + (currid + 1))) as MovieClip).barmask.y; }; _local10 = (getChildByName(("bar" + ((currid + 1) - _local8))) as MovieClip); if (_local10 != null){ _local10.barmask.y = (getChildByName(("bar" + (currid + 1))) as MovieClip).barmask.y; }; _local8++; }; fire = false; cont = false; } else { if (bricks[0].m_linearVelocity.y < 0){ rb.x = (bricks[0].m_position.x - 28); rb.y = (bricks[0].m_position.y - 5); (getChildByName(("bar" + (currid + 1))) as MovieClip).barmask.y = ((int(((rb.y - 14) / 12)) * 12) - 2); _local8 = 1; while (_local8 < 3) { _local10 = (getChildByName(("bar" + ((currid + 1) + _local8))) as MovieClip); if (_local10 != null){ _local10.barmask.y = (getChildByName(("bar" + (currid + 1))) as MovieClip).barmask.y; }; _local10 = (getChildByName(("bar" + ((currid + 1) - _local8))) as MovieClip); if (_local10 != null){ _local10.barmask.y = (getChildByName(("bar" + (currid + 1))) as MovieClip).barmask.y; }; _local8++; }; }; }; }; if ((((int(ball.y) == 459)) && (!(skiipzero)))){ if ((((direction_zero > 0)) && ((direction_curr > 0)))){ if (direction_zero_amount < 0){ direction_zero_amount = 0; } else { direction_zero_amount++; count = (count + 100); dispatchEvent(new Event("OPP")); }; }; if ((((direction_zero < 0)) && ((direction_curr < 0)))){ if (direction_zero_amount > 0){ direction_zero_amount = 0; } else { direction_zero_amount--; count = (count + 100); dispatchEvent(new Event("OPP")); }; }; if (sign(direction_zero) != sign(direction_curr)){ direction_zero_amount = 0; if (ball.white.visible){ if (direction_zero > 0){ dispatchEvent(new Event("OPP1")); } else { dispatchEvent(new Event("OPP2")); }; } else { dispatchEvent(new Event("OPP")); }; }; skiipzero = true; direction_zero = direction_curr; }; if (int(ball.y) != 459){ skiipzero = false; }; } public function init():void{ ball.white.visible = false; ball.blik2.visible = false; ball.ring1.visible = false; ball.ring2.visible = false; ball.l3.visible = false; ball.l6.visible = false; ball.l8.visible = false; ball.flashes.visible = false; nonstopbeats = 0; nonstopbeats_cut = 0; nonstopmiss = 0; speedrecord = 0; speedcounter = 0; speed1000bonus = 0; speed50fine = 0; circbody.SetLinearVelocity(new b2Vec2(500, 0)); addEventListener(Event.ENTER_FRAME, Update, false, 0, true); } function sign(_arg1:Number):int{ if (_arg1 < 0){ return (-1); }; return (1); } } }//package
Section 187
//topline (topline) package { import flash.display.*; import flash.text.*; public dynamic class topline extends MovieClip { public var aw_dildo:MovieClip; public var scorearea:TextField; public var aw_stars:MovieClip; public var linebg:MovieClip; public var flag:MovieClip; public var namearea:TextField; public var aw_heart:MovieClip; } }//package
Section 188
//v_01_A (v_01_A) package { import flash.media.*; public dynamic class v_01_A extends Sound { } }//package
Section 189
//v_02_E (v_02_E) package { import flash.media.*; public dynamic class v_02_E extends Sound { } }//package
Section 190
//v_03_D (v_03_D) package { import flash.media.*; public dynamic class v_03_D extends Sound { } }//package
Section 191
//v_04_A (v_04_A) package { import flash.media.*; public dynamic class v_04_A extends Sound { } }//package
Section 192
//v_05_B (v_05_B) package { import flash.media.*; public dynamic class v_05_B extends Sound { } }//package
Section 193
//v_06_D (v_06_D) package { import flash.media.*; public dynamic class v_06_D extends Sound { } }//package
Section 194
//v_07_B (v_07_B) package { import flash.media.*; public dynamic class v_07_B extends Sound { } }//package
Section 195
//v_08_C (v_08_C) package { import flash.media.*; public dynamic class v_08_C extends Sound { } }//package
Section 196
//v_09_C (v_09_C) package { import flash.media.*; public dynamic class v_09_C extends Sound { } }//package

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:22
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:22
Symbol 5 BitmapUsed by:6
Symbol 6 GraphicUses:5Used by:22
Symbol 7 GraphicUsed by:22
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:22
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:22
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:22
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:22
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:22
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:22
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:22
Symbol 22 MovieClip {bang}Uses:2 4 6 7 9 11 13 15 17 19 21
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:25
Symbol 25 MovieClip {fires}Uses:24
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:106
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:106
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:106
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:106
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:34Used by:106
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:106
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:106
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:106
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:106
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:106
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:106
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:106
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:106
Symbol 52 BitmapUsed by:53 1591
Symbol 53 GraphicUses:52Used by:106
Symbol 54 BitmapUsed by:55 1591
Symbol 55 GraphicUses:54Used by:106
Symbol 56 BitmapUsed by:57 1591
Symbol 57 GraphicUses:56Used by:106
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:106
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:106
Symbol 62 BitmapUsed by:63 1431
Symbol 63 GraphicUses:62Used by:106
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:106
Symbol 66 BitmapUsed by:67 1431
Symbol 67 GraphicUses:66Used by:106
Symbol 68 BitmapUsed by:69 1431
Symbol 69 GraphicUses:68Used by:106
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:106
Symbol 72 BitmapUsed by:73 1591
Symbol 73 GraphicUses:72Used by:106
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:106
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:106
Symbol 78 BitmapUsed by:79 1431
Symbol 79 GraphicUses:78Used by:106
Symbol 80 BitmapUsed by:81
Symbol 81 GraphicUses:80Used by:106
Symbol 82 BitmapUsed by:83
Symbol 83 GraphicUses:82Used by:106
Symbol 84 BitmapUsed by:85
Symbol 85 GraphicUses:84Used by:106
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:106
Symbol 88 BitmapUsed by:89 1431
Symbol 89 GraphicUses:88Used by:106
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:106
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:106
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:106
Symbol 96 BitmapUsed by:97
Symbol 97 GraphicUses:96Used by:106
Symbol 98 BitmapUsed by:99
Symbol 99 GraphicUses:98Used by:106
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:106
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:106
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:106
Symbol 106 MovieClip {letter}Uses:27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99 101 103 105
Symbol 107 GraphicUsed by:212
Symbol 108 BitmapUsed by:109
Symbol 109 GraphicUses:108Used by:212
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClipUses:110Used by:115
Symbol 112 BitmapUsed by:113 118
Symbol 113 GraphicUses:112Used by:114
Symbol 114 MovieClipUses:113Used by:115
Symbol 115 MovieClip {index_fla.bita_127}Uses:111 114Used by:212
Symbol 116 GraphicUsed by:212 234
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:112 117Used by:123
Symbol 119 BitmapUsed by:121
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:119 120Used by:122
Symbol 122 MovieClipUses:121Used by:123
Symbol 123 MovieClip {index_fla.rb_130}Uses:118 122Used by:212
Symbol 124 BitmapUsed by:125
Symbol 125 GraphicUses:124Used by:126
Symbol 126 MovieClipUses:125Used by:212
Symbol 127 BitmapUsed by:128
Symbol 128 GraphicUses:127Used by:147
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:147
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:147
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:147
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:147
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:147
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:147
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:147
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:147
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:147
Symbol 147 MovieClip {index_fla.circle_133}Uses:128 130 132 134 136 138 140 142 144 146Used by:212
Symbol 148 MovieClipUsed by:212
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:151
Symbol 151 MovieClipUses:150Used by:208
Symbol 152 BitmapUsed by:153
Symbol 153 GraphicUses:152Used by:154
Symbol 154 MovieClipUses:153Used by:208
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:157
Symbol 157 MovieClipUses:156Used by:208
Symbol 158 BitmapUsed by:159
Symbol 159 GraphicUses:158Used by:160
Symbol 160 MovieClipUses:159Used by:208
Symbol 161 BitmapUsed by:162
Symbol 162 GraphicUses:161Used by:163
Symbol 163 MovieClipUses:162Used by:208
Symbol 164 BitmapUsed by:165
Symbol 165 GraphicUses:164Used by:166
Symbol 166 MovieClipUses:165Used by:208
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:208
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:169Used by:171
Symbol 171 MovieClipUses:170Used by:208
Symbol 172 BitmapUsed by:173
Symbol 173 GraphicUses:172Used by:175
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClip {index_fla.flash1_144}Uses:173 174Used by:204
Symbol 176 BitmapUsed by:177
Symbol 177 GraphicUses:176Used by:179
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClip {index_fla.flash2_145}Uses:177 178Used by:204
Symbol 180 BitmapUsed by:181
Symbol 181 GraphicUses:180Used by:183
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClip {index_fla.flash3_146}Uses:181 182Used by:204
Symbol 184 BitmapUsed by:185
Symbol 185 GraphicUses:184Used by:187
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClip {index_fla.flash4_147}Uses:185 186Used by:204
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:191
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClip {index_fla.flash5_148}Uses:189 190Used by:204
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:195
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClip {index_fla.flash6_149}Uses:193 194Used by:204
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:199
Symbol 198 GraphicUsed by:199
Symbol 199 MovieClip {index_fla.flash7_150}Uses:197 198Used by:204
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:203
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClip {index_fla.flash8_151}Uses:201 202Used by:204
Symbol 204 MovieClip {index_fla.flashes_143}Uses:175 179 183 187 191 195 199 203Used by:208
Symbol 205 BitmapUsed by:206
Symbol 206 GraphicUses:205Used by:207
Symbol 207 MovieClip {index_fla.white_152}Uses:206Used by:208
Symbol 208 MovieClip {index_fla.ballmc_135}Uses:151 154 157 160 163 166 168 171 204 207Used by:212
Symbol 209 BitmapUsed by:210
Symbol 210 GraphicUses:209Used by:211
Symbol 211 MovieClipUses:210Used by:212
Symbol 212 MovieClip {main}Uses:107 109 115 116 123 126 147 148 208 211Used by:Timeline
Symbol 213 BitmapUsed by:214 215
Symbol 214 GraphicUses:213Used by:Timeline
Symbol 215 GraphicUses:213Used by:247 305
Symbol 216 BitmapUsed by:218
Symbol 217 BitmapUsed by:218
Symbol 218 GraphicUses:216 217Used by:233
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:221
Symbol 221 MovieClipUses:220Used by:233
Symbol 222 BitmapUsed by:223
Symbol 223 GraphicUses:222Used by:233
Symbol 224 BitmapUsed by:225
Symbol 225 GraphicUses:224Used by:226
Symbol 226 MovieClipUses:225Used by:233
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:229
Symbol 229 MovieClipUses:228Used by:233
Symbol 230 BitmapUsed by:231
Symbol 231 GraphicUses:230Used by:232
Symbol 232 MovieClipUses:231Used by:233
Symbol 233 MovieClip {index_fla.Muny_2}Uses:218 221 223 226 229 232Used by:305 311 320
Symbol 234 MovieClipUses:116Used by:305
Symbol 235 GraphicUsed by:244
Symbol 236 BitmapUsed by:237
Symbol 237 GraphicUses:236Used by:244
Symbol 238 BitmapUsed by:239
Symbol 239 GraphicUses:238Used by:244
Symbol 240 BitmapUsed by:241
Symbol 241 GraphicUses:240Used by:244
Symbol 242 BitmapUsed by:243
Symbol 243 GraphicUses:242Used by:244
Symbol 244 MovieClipUses:235 237 239 241 243Used by:305 311
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:245Used by:305 311
Symbol 247 MovieClipUses:215Used by:305 311
Symbol 248 BitmapUsed by:249
Symbol 249 GraphicUses:248Used by:305 311
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:252
Symbol 252 MovieClipUses:251Used by:305 311
Symbol 253 BitmapUsed by:254
Symbol 254 GraphicUses:253Used by:305 311
Symbol 255 BitmapUsed by:256
Symbol 256 GraphicUses:255Used by:257
Symbol 257 MovieClipUses:256Used by:305 311
Symbol 258 BitmapUsed by:259
Symbol 259 GraphicUses:258Used by:260
Symbol 260 MovieClipUses:259Used by:305 311
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:305 311
Symbol 263 BitmapUsed by:264
Symbol 264 GraphicUses:263Used by:305 311
Symbol 265 BitmapUsed by:266 310
Symbol 266 GraphicUses:265Used by:267
Symbol 267 MovieClipUses:266Used by:305
Symbol 268 BitmapUsed by:269 1594
Symbol 269 GraphicUses:268Used by:305
Symbol 270 BitmapUsed by:271
Symbol 271 GraphicUses:270Used by:305
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:304 1574
Symbol 274 GraphicUsed by:304 1574
Symbol 275 BitmapUsed by:276
Symbol 276 GraphicUses:275Used by:304 1590
Symbol 277 GraphicUsed by:304 1574
Symbol 278 GraphicUsed by:304 1574
Symbol 279 GraphicUsed by:304 1574
Symbol 280 GraphicUsed by:304 1574
Symbol 281 GraphicUsed by:304
Symbol 282 GraphicUsed by:304
Symbol 283 GraphicUsed by:304
Symbol 284 GraphicUsed by:304
Symbol 285 GraphicUsed by:304
Symbol 286 GraphicUsed by:304
Symbol 287 GraphicUsed by:304
Symbol 288 GraphicUsed by:304
Symbol 289 GraphicUsed by:304
Symbol 290 GraphicUsed by:304
Symbol 291 GraphicUsed by:304
Symbol 292 GraphicUsed by:304
Symbol 293 GraphicUsed by:304
Symbol 294 GraphicUsed by:304
Symbol 295 GraphicUsed by:304
Symbol 296 GraphicUsed by:304
Symbol 297 GraphicUsed by:304
Symbol 298 GraphicUsed by:304
Symbol 299 GraphicUsed by:304
Symbol 300 GraphicUsed by:304
Symbol 301 GraphicUsed by:304
Symbol 302 GraphicUsed by:304
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClip {index_fla.menu_14}Uses:273 274 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303Used by:305 311  Timeline
Symbol 305 MovieClip {index_fla.LOADING_SCREEN_1}Uses:215 233 234 244 246 247 249 252 254 257 260 262 264 267 269 271 304Used by:Timeline
Symbol 306 GraphicUsed by:307 1216 1385 1392  Timeline
Symbol 307 MovieClipUses:306Used by:Timeline
Symbol 308 FontUsed by:309
Symbol 309 EditableTextUses:308Used by:Timeline
Symbol 310 GraphicUses:265Used by:311
Symbol 311 MovieClip {index_fla.LOADING_SCREEN_START_16}Uses:246 247 233 252 260 264 310 257 262 249 254 244 304Used by:Timeline
Symbol 312 BitmapUsed by:313
Symbol 313 GraphicUses:312Used by:314
Symbol 314 MovieClipUses:313Used by:Timeline
Symbol 315 GraphicUsed by:316 415 418  Timeline
Symbol 316 MovieClipUses:315Used by:317
Symbol 317 MovieClip {index_fla.sm_btn_18}Uses:316Used by:1574  Timeline
Symbol 318 MovieClipUsed by:395 1574  Timeline
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClip {index_fla.Muny_new_21}Uses:319 233Used by:Timeline
Symbol 321 BitmapUsed by:322 364 380
Symbol 322 GraphicUses:321Used by:341 361
Symbol 323 BitmapUsed by:324
Symbol 324 GraphicUses:323Used by:325
Symbol 325 MovieClipUses:324Used by:341
Symbol 326 BitmapUsed by:327
Symbol 327 GraphicUses:326Used by:328
Symbol 328 MovieClipUses:327Used by:341
Symbol 329 BitmapUsed by:330
Symbol 330 GraphicUses:329Used by:331
Symbol 331 MovieClipUses:330Used by:341
Symbol 332 BitmapUsed by:333
Symbol 333 GraphicUses:332Used by:334
Symbol 334 MovieClipUses:333Used by:341
Symbol 335 BitmapUsed by:336
Symbol 336 GraphicUses:335Used by:337
Symbol 337 MovieClipUses:336Used by:341
Symbol 338 BitmapUsed by:339
Symbol 339 GraphicUses:338Used by:340
Symbol 340 MovieClipUses:339Used by:341
Symbol 341 MovieClip {index_fla.a_4_24}Uses:322 325 328 331 334 337 340Used by:342
Symbol 342 MovieClip {index_fla.archi_line4_23}Uses:341Used by:395
Symbol 343 BitmapUsed by:344
Symbol 344 GraphicUses:343Used by:345
Symbol 345 MovieClipUses:344Used by:361
Symbol 346 BitmapUsed by:347
Symbol 347 GraphicUses:346Used by:348
Symbol 348 MovieClipUses:347Used by:361
Symbol 349 BitmapUsed by:350
Symbol 350 GraphicUses:349Used by:351
Symbol 351 MovieClipUses:350Used by:361
Symbol 352 BitmapUsed by:353
Symbol 353 GraphicUses:352Used by:354
Symbol 354 MovieClipUses:353Used by:361
Symbol 355 BitmapUsed by:356
Symbol 356 GraphicUses:355Used by:357
Symbol 357 MovieClipUses:356Used by:361
Symbol 358 BitmapUsed by:359
Symbol 359 GraphicUses:358Used by:360
Symbol 360 MovieClipUses:359Used by:361
Symbol 361 MovieClip {index_fla.a_3_32}Uses:322 345 348 351 354 357 360Used by:362
Symbol 362 MovieClip {index_fla.archi_line3_31}Uses:361Used by:395
Symbol 363 BitmapUsed by:364
Symbol 364 GraphicUses:363 321Used by:377
Symbol 365 BitmapUsed by:366
Symbol 366 GraphicUses:365Used by:367
Symbol 367 MovieClipUses:366Used by:377
Symbol 368 BitmapUsed by:369
Symbol 369 GraphicUses:368Used by:370
Symbol 370 MovieClipUses:369Used by:377
Symbol 371 BitmapUsed by:372
Symbol 372 GraphicUses:371Used by:373
Symbol 373 MovieClipUses:372Used by:377
Symbol 374 BitmapUsed by:375
Symbol 375 GraphicUses:374Used by:376
Symbol 376 MovieClipUses:375Used by:377
Symbol 377 MovieClip {index_fla.a_2_40}Uses:364 367 370 373 376Used by:378
Symbol 378 MovieClip {index_fla.archi_line2_39}Uses:377Used by:395
Symbol 379 BitmapUsed by:380
Symbol 380 GraphicUses:379 321Used by:393
Symbol 381 BitmapUsed by:382
Symbol 382 GraphicUses:381Used by:383
Symbol 383 MovieClipUses:382Used by:393
Symbol 384 BitmapUsed by:385
Symbol 385 GraphicUses:384Used by:386
Symbol 386 MovieClipUses:385Used by:393
Symbol 387 BitmapUsed by:388
Symbol 388 GraphicUses:387Used by:389
Symbol 389 MovieClipUses:388Used by:393
Symbol 390 BitmapUsed by:391
Symbol 391 GraphicUses:390Used by:392
Symbol 392 MovieClipUses:391Used by:393
Symbol 393 MovieClip {index_fla.a_1_46}Uses:380 383 386 389 392Used by:394
Symbol 394 MovieClip {index_fla.archi_line1_45}Uses:393Used by:395
Symbol 395 MovieClip {index_fla.achievements_new_22}Uses:342 318 362 378 394Used by:Timeline
Symbol 396 GraphicUsed by:410
Symbol 397 BitmapUsed by:398
Symbol 398 GraphicUses:397Used by:399 1587
Symbol 399 MovieClipUses:398Used by:410
Symbol 400 FontUsed by:402 403 1575 1586
Symbol 401 FontUsed by:402 403 427 428
Symbol 402 TextUses:400 401Used by:410
Symbol 403 EditableTextUses:400 401Used by:410
Symbol 404 BitmapUsed by:405
Symbol 405 GraphicUses:404Used by:406
Symbol 406 MovieClipUses:405Used by:409
Symbol 407 BitmapUsed by:408
Symbol 408 GraphicUses:407Used by:409
Symbol 409 MovieClip {index_fla.okbtn_53}Uses:406 408Used by:410
Symbol 410 MovieClip {index_fla.windowinfo_51}Uses:396 399 402 403 409Used by:Timeline
Symbol 411 BitmapUsed by:412
Symbol 412 GraphicUses:411Used by:419
Symbol 413 BitmapUsed by:414
Symbol 414 GraphicUses:413Used by:415
Symbol 415 MovieClip {index_fla.updbutton_56}Uses:315 414Used by:419
Symbol 416 BitmapUsed by:417
Symbol 417 GraphicUses:416Used by:418
Symbol 418 MovieClip {index_fla.helpbtn_57}Uses:315 417Used by:419
Symbol 419 MovieClip {index_fla.update_55}Uses:412 415 418Used by:Timeline
Symbol 420 Sound {menu_music}Used by:Timeline
Symbol 421 Sound {bar_4}Used by:Timeline
Symbol 422 Sound {bar_3}Used by:Timeline
Symbol 423 Sound {bar_2}Used by:Timeline
Symbol 424 Sound {bar_1}Used by:Timeline
Symbol 425 GraphicUsed by:426
Symbol 426 MovieClipUses:425Used by:937
Symbol 427 EditableTextUses:401Used by:937
Symbol 428 EditableTextUses:401Used by:937
Symbol 429 BitmapUsed by:430
Symbol 430 GraphicUses:429Used by:911
Symbol 431 BitmapUsed by:432
Symbol 432 GraphicUses:431Used by:911
Symbol 433 BitmapUsed by:434
Symbol 434 GraphicUses:433Used by:911
Symbol 435 BitmapUsed by:436
Symbol 436 GraphicUses:435Used by:911
Symbol 437 BitmapUsed by:438
Symbol 438 GraphicUses:437Used by:911
Symbol 439 BitmapUsed by:440
Symbol 440 GraphicUses:439Used by:911
Symbol 441 BitmapUsed by:442
Symbol 442 GraphicUses:441Used by:911
Symbol 443 BitmapUsed by:444
Symbol 444 GraphicUses:443Used by:911
Symbol 445 BitmapUsed by:446
Symbol 446 GraphicUses:445Used by:911
Symbol 447 BitmapUsed by:448
Symbol 448 GraphicUses:447Used by:911
Symbol 449 BitmapUsed by:450
Symbol 450 GraphicUses:449Used by:911
Symbol 451 BitmapUsed by:452
Symbol 452 GraphicUses:451Used by:911
Symbol 453 BitmapUsed by:454
Symbol 454 GraphicUses:453Used by:911
Symbol 455 BitmapUsed by:456
Symbol 456 GraphicUses:455Used by:911
Symbol 457 BitmapUsed by:458
Symbol 458 GraphicUses:457Used by:911
Symbol 459 BitmapUsed by:460
Symbol 460 GraphicUses:459Used by:911
Symbol 461 BitmapUsed by:462
Symbol 462 GraphicUses:461Used by:911
Symbol 463 BitmapUsed by:464
Symbol 464 GraphicUses:463Used by:911
Symbol 465 BitmapUsed by:466
Symbol 466 GraphicUses:465Used by:911
Symbol 467 BitmapUsed by:468
Symbol 468 GraphicUses:467Used by:911
Symbol 469 BitmapUsed by:470
Symbol 470 GraphicUses:469Used by:911
Symbol 471 BitmapUsed by:472
Symbol 472 GraphicUses:471Used by:911
Symbol 473 BitmapUsed by:474
Symbol 474 GraphicUses:473Used by:911
Symbol 475 BitmapUsed by:476
Symbol 476 GraphicUses:475Used by:911
Symbol 477 BitmapUsed by:478
Symbol 478 GraphicUses:477Used by:911
Symbol 479 BitmapUsed by:480
Symbol 480 GraphicUses:479Used by:911
Symbol 481 BitmapUsed by:482
Symbol 482 GraphicUses:481Used by:911
Symbol 483 BitmapUsed by:484
Symbol 484 GraphicUses:483Used by:911
Symbol 485 BitmapUsed by:486
Symbol 486 GraphicUses:485Used by:911
Symbol 487 BitmapUsed by:488
Symbol 488 GraphicUses:487Used by:911
Symbol 489 BitmapUsed by:490
Symbol 490 GraphicUses:489Used by:911
Symbol 491 BitmapUsed by:492
Symbol 492 GraphicUses:491Used by:911
Symbol 493 BitmapUsed by:494
Symbol 494 GraphicUses:493Used by:911
Symbol 495 BitmapUsed by:496
Symbol 496 GraphicUses:495Used by:911
Symbol 497 BitmapUsed by:498
Symbol 498 GraphicUses:497Used by:911
Symbol 499 BitmapUsed by:500
Symbol 500 GraphicUses:499Used by:911
Symbol 501 BitmapUsed by:502
Symbol 502 GraphicUses:501Used by:911
Symbol 503 BitmapUsed by:504
Symbol 504 GraphicUses:503Used by:911
Symbol 505 BitmapUsed by:506
Symbol 506 GraphicUses:505Used by:911
Symbol 507 BitmapUsed by:508
Symbol 508 GraphicUses:507Used by:911
Symbol 509 BitmapUsed by:510
Symbol 510 GraphicUses:509Used by:911
Symbol 511 BitmapUsed by:512
Symbol 512 GraphicUses:511Used by:911
Symbol 513 BitmapUsed by:514
Symbol 514 GraphicUses:513Used by:911
Symbol 515 BitmapUsed by:516
Symbol 516 GraphicUses:515Used by:911
Symbol 517 BitmapUsed by:518
Symbol 518 GraphicUses:517Used by:911
Symbol 519 BitmapUsed by:520
Symbol 520 GraphicUses:519Used by:911
Symbol 521 BitmapUsed by:522
Symbol 522 GraphicUses:521Used by:911
Symbol 523 BitmapUsed by:524
Symbol 524 GraphicUses:523Used by:911
Symbol 525 BitmapUsed by:526
Symbol 526 GraphicUses:525Used by:911
Symbol 527 BitmapUsed by:528
Symbol 528 GraphicUses:527Used by:911
Symbol 529 BitmapUsed by:530
Symbol 530 GraphicUses:529Used by:911
Symbol 531 BitmapUsed by:532
Symbol 532 GraphicUses:531Used by:911
Symbol 533 BitmapUsed by:534
Symbol 534 GraphicUses:533Used by:911
Symbol 535 BitmapUsed by:536
Symbol 536 GraphicUses:535Used by:911
Symbol 537 BitmapUsed by:538
Symbol 538 GraphicUses:537Used by:911
Symbol 539 BitmapUsed by:540
Symbol 540 GraphicUses:539Used by:911
Symbol 541 BitmapUsed by:542
Symbol 542 GraphicUses:541Used by:911
Symbol 543 BitmapUsed by:544
Symbol 544 GraphicUses:543Used by:911
Symbol 545 BitmapUsed by:546
Symbol 546 GraphicUses:545Used by:911
Symbol 547 BitmapUsed by:548
Symbol 548 GraphicUses:547Used by:911
Symbol 549 BitmapUsed by:550
Symbol 550 GraphicUses:549Used by:911
Symbol 551 BitmapUsed by:552
Symbol 552 GraphicUses:551Used by:911
Symbol 553 BitmapUsed by:554
Symbol 554 GraphicUses:553Used by:911
Symbol 555 BitmapUsed by:556
Symbol 556 GraphicUses:555Used by:911
Symbol 557 BitmapUsed by:558
Symbol 558 GraphicUses:557Used by:911
Symbol 559 BitmapUsed by:560
Symbol 560 GraphicUses:559Used by:911
Symbol 561 BitmapUsed by:562
Symbol 562 GraphicUses:561Used by:911
Symbol 563 BitmapUsed by:564
Symbol 564 GraphicUses:563Used by:911
Symbol 565 BitmapUsed by:566
Symbol 566 GraphicUses:565Used by:911
Symbol 567 BitmapUsed by:568
Symbol 568 GraphicUses:567Used by:911
Symbol 569 BitmapUsed by:570
Symbol 570 GraphicUses:569Used by:911
Symbol 571 BitmapUsed by:572
Symbol 572 GraphicUses:571Used by:911
Symbol 573 BitmapUsed by:574
Symbol 574 GraphicUses:573Used by:911
Symbol 575 BitmapUsed by:576
Symbol 576 GraphicUses:575Used by:911
Symbol 577 BitmapUsed by:578
Symbol 578 GraphicUses:577Used by:911
Symbol 579 BitmapUsed by:580
Symbol 580 GraphicUses:579Used by:911
Symbol 581 BitmapUsed by:582
Symbol 582 GraphicUses:581Used by:911
Symbol 583 BitmapUsed by:584
Symbol 584 GraphicUses:583Used by:911
Symbol 585 BitmapUsed by:586
Symbol 586 GraphicUses:585Used by:911
Symbol 587 BitmapUsed by:588
Symbol 588 GraphicUses:587Used by:911
Symbol 589 BitmapUsed by:590
Symbol 590 GraphicUses:589Used by:911
Symbol 591 BitmapUsed by:592
Symbol 592 GraphicUses:591Used by:911
Symbol 593 BitmapUsed by:594
Symbol 594 GraphicUses:593Used by:911
Symbol 595 BitmapUsed by:596
Symbol 596 GraphicUses:595Used by:911
Symbol 597 BitmapUsed by:598
Symbol 598 GraphicUses:597Used by:911
Symbol 599 BitmapUsed by:600
Symbol 600 GraphicUses:599Used by:911
Symbol 601 BitmapUsed by:602
Symbol 602 GraphicUses:601Used by:911
Symbol 603 BitmapUsed by:604
Symbol 604 GraphicUses:603Used by:911
Symbol 605 BitmapUsed by:606
Symbol 606 GraphicUses:605Used by:911
Symbol 607 BitmapUsed by:608
Symbol 608 GraphicUses:607Used by:911
Symbol 609 BitmapUsed by:610
Symbol 610 GraphicUses:609Used by:911
Symbol 611 BitmapUsed by:612
Symbol 612 GraphicUses:611Used by:911
Symbol 613 BitmapUsed by:614
Symbol 614 GraphicUses:613Used by:911
Symbol 615 BitmapUsed by:616
Symbol 616 GraphicUses:615Used by:911
Symbol 617 BitmapUsed by:618
Symbol 618 GraphicUses:617Used by:911
Symbol 619 BitmapUsed by:620
Symbol 620 GraphicUses:619Used by:911
Symbol 621 BitmapUsed by:622
Symbol 622 GraphicUses:621Used by:911
Symbol 623 BitmapUsed by:624
Symbol 624 GraphicUses:623Used by:911
Symbol 625 BitmapUsed by:626
Symbol 626 GraphicUses:625Used by:911
Symbol 627 BitmapUsed by:628
Symbol 628 GraphicUses:627Used by:911
Symbol 629 BitmapUsed by:630
Symbol 630 GraphicUses:629Used by:911
Symbol 631 BitmapUsed by:632
Symbol 632 GraphicUses:631Used by:911
Symbol 633 BitmapUsed by:634
Symbol 634 GraphicUses:633Used by:911
Symbol 635 BitmapUsed by:636
Symbol 636 GraphicUses:635Used by:911
Symbol 637 BitmapUsed by:638
Symbol 638 GraphicUses:637Used by:911
Symbol 639 BitmapUsed by:640
Symbol 640 GraphicUses:639Used by:911
Symbol 641 BitmapUsed by:642
Symbol 642 GraphicUses:641Used by:911
Symbol 643 BitmapUsed by:644
Symbol 644 GraphicUses:643Used by:911
Symbol 645 BitmapUsed by:646
Symbol 646 GraphicUses:645Used by:911
Symbol 647 BitmapUsed by:648
Symbol 648 GraphicUses:647Used by:911
Symbol 649 BitmapUsed by:650
Symbol 650 GraphicUses:649Used by:911
Symbol 651 BitmapUsed by:652
Symbol 652 GraphicUses:651Used by:911
Symbol 653 BitmapUsed by:654
Symbol 654 GraphicUses:653Used by:911
Symbol 655 BitmapUsed by:656
Symbol 656 GraphicUses:655Used by:911
Symbol 657 BitmapUsed by:658
Symbol 658 GraphicUses:657Used by:911
Symbol 659 BitmapUsed by:660
Symbol 660 GraphicUses:659Used by:911
Symbol 661 BitmapUsed by:662
Symbol 662 GraphicUses:661Used by:911
Symbol 663 BitmapUsed by:664
Symbol 664 GraphicUses:663Used by:911
Symbol 665 BitmapUsed by:666
Symbol 666 GraphicUses:665Used by:911
Symbol 667 BitmapUsed by:668
Symbol 668 GraphicUses:667Used by:911
Symbol 669 BitmapUsed by:670
Symbol 670 GraphicUses:669Used by:911
Symbol 671 BitmapUsed by:672
Symbol 672 GraphicUses:671Used by:911
Symbol 673 BitmapUsed by:674
Symbol 674 GraphicUses:673Used by:911
Symbol 675 BitmapUsed by:676
Symbol 676 GraphicUses:675Used by:911
Symbol 677 BitmapUsed by:678
Symbol 678 GraphicUses:677Used by:911
Symbol 679 BitmapUsed by:680
Symbol 680 GraphicUses:679Used by:911
Symbol 681 BitmapUsed by:682
Symbol 682 GraphicUses:681Used by:911
Symbol 683 BitmapUsed by:684
Symbol 684 GraphicUses:683Used by:911
Symbol 685 BitmapUsed by:686
Symbol 686 GraphicUses:685Used by:911
Symbol 687 BitmapUsed by:688
Symbol 688 GraphicUses:687Used by:911
Symbol 689 BitmapUsed by:690
Symbol 690 GraphicUses:689Used by:911
Symbol 691 BitmapUsed by:692
Symbol 692 GraphicUses:691Used by:911
Symbol 693 BitmapUsed by:694
Symbol 694 GraphicUses:693Used by:911
Symbol 695 BitmapUsed by:696
Symbol 696 GraphicUses:695Used by:911
Symbol 697 BitmapUsed by:698
Symbol 698 GraphicUses:697Used by:911
Symbol 699 BitmapUsed by:700
Symbol 700 GraphicUses:699Used by:911
Symbol 701 BitmapUsed by:702
Symbol 702 GraphicUses:701Used by:911
Symbol 703 BitmapUsed by:704
Symbol 704 GraphicUses:703Used by:911
Symbol 705 BitmapUsed by:706
Symbol 706 GraphicUses:705Used by:911
Symbol 707 BitmapUsed by:708
Symbol 708 GraphicUses:707Used by:911
Symbol 709 BitmapUsed by:710
Symbol 710 GraphicUses:709Used by:911
Symbol 711 BitmapUsed by:712
Symbol 712 GraphicUses:711Used by:911
Symbol 713 BitmapUsed by:714
Symbol 714 GraphicUses:713Used by:911
Symbol 715 BitmapUsed by:716
Symbol 716 GraphicUses:715Used by:911
Symbol 717 BitmapUsed by:718
Symbol 718 GraphicUses:717Used by:911
Symbol 719 BitmapUsed by:720
Symbol 720 GraphicUses:719Used by:911
Symbol 721 BitmapUsed by:722
Symbol 722 GraphicUses:721Used by:911
Symbol 723 BitmapUsed by:724
Symbol 724 GraphicUses:723Used by:911
Symbol 725 BitmapUsed by:726
Symbol 726 GraphicUses:725Used by:911
Symbol 727 BitmapUsed by:728
Symbol 728 GraphicUses:727Used by:911
Symbol 729 BitmapUsed by:730
Symbol 730 GraphicUses:729Used by:911
Symbol 731 BitmapUsed by:732
Symbol 732 GraphicUses:731Used by:911
Symbol 733 BitmapUsed by:734
Symbol 734 GraphicUses:733Used by:911
Symbol 735 BitmapUsed by:736
Symbol 736 GraphicUses:735Used by:911
Symbol 737 BitmapUsed by:738
Symbol 738 GraphicUses:737Used by:911
Symbol 739 BitmapUsed by:740
Symbol 740 GraphicUses:739Used by:911
Symbol 741 BitmapUsed by:742
Symbol 742 GraphicUses:741Used by:911
Symbol 743 BitmapUsed by:744
Symbol 744 GraphicUses:743Used by:911
Symbol 745 BitmapUsed by:746
Symbol 746 GraphicUses:745Used by:911
Symbol 747 BitmapUsed by:748
Symbol 748 GraphicUses:747Used by:911
Symbol 749 BitmapUsed by:750
Symbol 750 GraphicUses:749Used by:911
Symbol 751 BitmapUsed by:752
Symbol 752 GraphicUses:751Used by:911
Symbol 753 BitmapUsed by:754
Symbol 754 GraphicUses:753Used by:911
Symbol 755 BitmapUsed by:756
Symbol 756 GraphicUses:755Used by:911
Symbol 757 BitmapUsed by:758
Symbol 758 GraphicUses:757Used by:911
Symbol 759 BitmapUsed by:760
Symbol 760 GraphicUses:759Used by:911
Symbol 761 BitmapUsed by:762
Symbol 762 GraphicUses:761Used by:911
Symbol 763 BitmapUsed by:764
Symbol 764 GraphicUses:763Used by:911
Symbol 765 BitmapUsed by:766
Symbol 766 GraphicUses:765Used by:911
Symbol 767 BitmapUsed by:768
Symbol 768 GraphicUses:767Used by:911
Symbol 769 BitmapUsed by:770
Symbol 770 GraphicUses:769Used by:911
Symbol 771 BitmapUsed by:772
Symbol 772 GraphicUses:771Used by:911
Symbol 773 BitmapUsed by:774
Symbol 774 GraphicUses:773Used by:911
Symbol 775 BitmapUsed by:776
Symbol 776 GraphicUses:775Used by:911
Symbol 777 BitmapUsed by:778
Symbol 778 GraphicUses:777Used by:911
Symbol 779 BitmapUsed by:780
Symbol 780 GraphicUses:779Used by:911
Symbol 781 BitmapUsed by:782
Symbol 782 GraphicUses:781Used by:911
Symbol 783 BitmapUsed by:784
Symbol 784 GraphicUses:783Used by:911
Symbol 785 BitmapUsed by:786
Symbol 786 GraphicUses:785Used by:911
Symbol 787 BitmapUsed by:788
Symbol 788 GraphicUses:787Used by:911
Symbol 789 BitmapUsed by:790
Symbol 790 GraphicUses:789Used by:911
Symbol 791 BitmapUsed by:792
Symbol 792 GraphicUses:791Used by:911
Symbol 793 BitmapUsed by:794
Symbol 794 GraphicUses:793Used by:911
Symbol 795 BitmapUsed by:796
Symbol 796 GraphicUses:795Used by:911
Symbol 797 BitmapUsed by:798
Symbol 798 GraphicUses:797Used by:911
Symbol 799 BitmapUsed by:800
Symbol 800 GraphicUses:799Used by:911
Symbol 801 BitmapUsed by:802
Symbol 802 GraphicUses:801Used by:911
Symbol 803 BitmapUsed by:804
Symbol 804 GraphicUses:803Used by:911
Symbol 805 BitmapUsed by:806
Symbol 806 GraphicUses:805Used by:911
Symbol 807 BitmapUsed by:808
Symbol 808 GraphicUses:807Used by:911
Symbol 809 BitmapUsed by:810
Symbol 810 GraphicUses:809Used by:911
Symbol 811 BitmapUsed by:812
Symbol 812 GraphicUses:811Used by:911
Symbol 813 BitmapUsed by:814
Symbol 814 GraphicUses:813Used by:911
Symbol 815 BitmapUsed by:816
Symbol 816 GraphicUses:815Used by:911
Symbol 817 BitmapUsed by:818
Symbol 818 GraphicUses:817Used by:911
Symbol 819 BitmapUsed by:820
Symbol 820 GraphicUses:819Used by:911
Symbol 821 BitmapUsed by:822
Symbol 822 GraphicUses:821Used by:911
Symbol 823 BitmapUsed by:824
Symbol 824 GraphicUses:823Used by:911
Symbol 825 BitmapUsed by:826
Symbol 826 GraphicUses:825Used by:911
Symbol 827 BitmapUsed by:828
Symbol 828 GraphicUses:827Used by:911
Symbol 829 BitmapUsed by:830
Symbol 830 GraphicUses:829Used by:911
Symbol 831 BitmapUsed by:832
Symbol 832 GraphicUses:831Used by:911
Symbol 833 BitmapUsed by:834
Symbol 834 GraphicUses:833Used by:911
Symbol 835 BitmapUsed by:836
Symbol 836 GraphicUses:835Used by:911
Symbol 837 BitmapUsed by:838
Symbol 838 GraphicUses:837Used by:911
Symbol 839 BitmapUsed by:840
Symbol 840 GraphicUses:839Used by:911
Symbol 841 BitmapUsed by:842
Symbol 842 GraphicUses:841Used by:911
Symbol 843 BitmapUsed by:844
Symbol 844 GraphicUses:843Used by:911
Symbol 845 BitmapUsed by:846
Symbol 846 GraphicUses:845Used by:911
Symbol 847 BitmapUsed by:848
Symbol 848 GraphicUses:847Used by:911
Symbol 849 BitmapUsed by:850
Symbol 850 GraphicUses:849Used by:911
Symbol 851 BitmapUsed by:852
Symbol 852 GraphicUses:851Used by:911
Symbol 853 BitmapUsed by:854
Symbol 854 GraphicUses:853Used by:911
Symbol 855 BitmapUsed by:856
Symbol 856 GraphicUses:855Used by:911
Symbol 857 BitmapUsed by:858
Symbol 858 GraphicUses:857Used by:911
Symbol 859 BitmapUsed by:860
Symbol 860 GraphicUses:859Used by:911
Symbol 861 BitmapUsed by:862
Symbol 862 GraphicUses:861Used by:911
Symbol 863 BitmapUsed by:864
Symbol 864 GraphicUses:863Used by:911
Symbol 865 BitmapUsed by:866
Symbol 866 GraphicUses:865Used by:911
Symbol 867 BitmapUsed by:868
Symbol 868 GraphicUses:867Used by:911
Symbol 869 BitmapUsed by:870
Symbol 870 GraphicUses:869Used by:911
Symbol 871 BitmapUsed by:872
Symbol 872 GraphicUses:871Used by:911
Symbol 873 BitmapUsed by:874
Symbol 874 GraphicUses:873Used by:911
Symbol 875 BitmapUsed by:876
Symbol 876 GraphicUses:875Used by:911
Symbol 877 BitmapUsed by:878
Symbol 878 GraphicUses:877Used by:911
Symbol 879 BitmapUsed by:880
Symbol 880 GraphicUses:879Used by:911
Symbol 881 BitmapUsed by:882
Symbol 882 GraphicUses:881Used by:911
Symbol 883 BitmapUsed by:884
Symbol 884 GraphicUses:883Used by:911
Symbol 885 BitmapUsed by:886
Symbol 886 GraphicUses:885Used by:911
Symbol 887 BitmapUsed by:888
Symbol 888 GraphicUses:887Used by:911
Symbol 889 BitmapUsed by:890
Symbol 890 GraphicUses:889Used by:911
Symbol 891 BitmapUsed by:892
Symbol 892 GraphicUses:891Used by:911
Symbol 893 BitmapUsed by:894
Symbol 894 GraphicUses:893Used by:911
Symbol 895 BitmapUsed by:896
Symbol 896 GraphicUses:895Used by:911
Symbol 897 BitmapUsed by:898
Symbol 898 GraphicUses:897Used by:911
Symbol 899 BitmapUsed by:900
Symbol 900 GraphicUses:899Used by:911
Symbol 901 BitmapUsed by:902
Symbol 902 GraphicUses:901Used by:911
Symbol 903 BitmapUsed by:904
Symbol 904 GraphicUses:903Used by:911
Symbol 905 BitmapUsed by:906
Symbol 906 GraphicUses:905Used by:911
Symbol 907 BitmapUsed by:908
Symbol 908 GraphicUses:907Used by:911
Symbol 909 BitmapUsed by:910
Symbol 910 GraphicUses:909Used by:911
Symbol 911 MovieClip {index_fla.flags_60}Uses:430 432 434 436 438 440 442 444 446 448 450 452 454 456 458 460 462 464 466 468 470 472 474 476 478 480 482 484 486 488 490 492 494 496 498 500 502 504 506 508 510 512 514 516 518 520 522 524 526 528 530 532 534 536 538 540 542 544 546 548 550 552 554 556 558 560 562 564 566 568 570 572 574 576 578 580 582 584 586 588 590 592 594 596 598 600 602 604 606 608 610 612 614 616 618 620 622 624 626 628 630 632 634 636 638 640 642 644 646 648 650 652 654 656 658 660 662 664 666 668 670 672 674 676 678 680 682 684 686 688 690 692 694 696 698 700 702 704 706 708 710 712 714 716 718 720 722 724 726 728 730 732 734 736 738 740 742 744 746 748 750 752 754 756 758 760 762 764 766 768 770 772 774 776 778 780 782 784 786 788 790 792 794 796 798 800 802 804 806 808 810 812 814 816 818 820 822 824 826 828 830 832 834 836 838 840 842 844 846 848 850 852 854 856 858 860 862 864 866 868 870 872 874 876 878 880 882 884 886 888 890 892 894 896 898 900 902 904 906 908 910Used by:937
Symbol 912 BitmapUsed by:913
Symbol 913 GraphicUses:912Used by:922
Symbol 914 BitmapUsed by:915
Symbol 915 GraphicUses:914Used by:922
Symbol 916 BitmapUsed by:917
Symbol 917 GraphicUses:916Used by:922
Symbol 918 BitmapUsed by:919
Symbol 919 GraphicUses:918Used by:922
Symbol 920 BitmapUsed by:921
Symbol 921 GraphicUses:920Used by:922
Symbol 922 MovieClip {index_fla.aw_dildo_61}Uses:913 915 917 919 921Used by:937
Symbol 923 BitmapUsed by:924
Symbol 924 GraphicUses:923Used by:929
Symbol 925 BitmapUsed by:926
Symbol 926 GraphicUses:925Used by:929
Symbol 927 BitmapUsed by:928
Symbol 928 GraphicUses:927Used by:929
Symbol 929 MovieClip {index_fla.aw_heart_62}Uses:924 926 928Used by:937
Symbol 930 BitmapUsed by:931
Symbol 931 GraphicUses:930Used by:936
Symbol 932 BitmapUsed by:933
Symbol 933 GraphicUses:932Used by:936
Symbol 934 BitmapUsed by:935
Symbol 935 GraphicUses:934Used by:936
Symbol 936 MovieClip {index_fla.aw_stars_63}Uses:931 933 935Used by:937
Symbol 937 MovieClip {topline}Uses:426 427 428 911 922 929 936Used by:Timeline
Symbol 938 Sound {v_09_C}Used by:Timeline
Symbol 939 Sound {v_08_C}Used by:Timeline
Symbol 940 Sound {v_07_B}Used by:Timeline
Symbol 941 Sound {v_06_D}Used by:Timeline
Symbol 942 Sound {v_05_B}Used by:Timeline
Symbol 943 Sound {v_04_A}Used by:Timeline
Symbol 944 Sound {v_03_D}Used by:Timeline
Symbol 945 Sound {v_02_E}Used by:Timeline
Symbol 946 Sound {v_01_A}Used by:Timeline
Symbol 947 Sound {miss}Used by:Timeline
Symbol 948 Sound {hit_4}Used by:Timeline
Symbol 949 Sound {hit_3}Used by:Timeline
Symbol 950 Sound {hit_2}Used by:Timeline
Symbol 951 Sound {hit_1}Used by:Timeline
Symbol 952 Sound {beat6}Used by:Timeline
Symbol 953 Sound {beat5}Used by:Timeline
Symbol 954 Sound {beat4}Used by:Timeline
Symbol 955 Sound {beat3}Used by:Timeline
Symbol 956 Sound {beat2}Used by:Timeline
Symbol 957 Sound {beat1}Used by:Timeline
Symbol 958 BitmapUsed by:959
Symbol 959 GraphicUses:958Used by:1216 1493 1529
Symbol 960 BitmapUsed by:961
Symbol 961 GraphicUses:960Used by:1216
Symbol 962 BitmapUsed by:963
Symbol 963 GraphicUses:962Used by:964
Symbol 964 MovieClipUses:963Used by:1216 1493 1529
Symbol 965 BitmapUsed by:966
Symbol 966 GraphicUses:965Used by:969
Symbol 967 BitmapUsed by:968
Symbol 968 GraphicUses:967Used by:969
Symbol 969 MovieClip {index_fla.t1_66}Uses:966 968Used by:1216
Symbol 970 BitmapUsed by:971
Symbol 971 GraphicUses:970Used by:1216 1217
Symbol 972 SoundUsed by:1216
Symbol 973 BitmapUsed by:974
Symbol 974 GraphicUses:973Used by:1216
Symbol 975 BitmapUsed by:976
Symbol 976 GraphicUses:975Used by:979
Symbol 977 BitmapUsed by:978
Symbol 978 GraphicUses:977Used by:979
Symbol 979 MovieClip {index_fla.t2_67}Uses:976 978Used by:1216
Symbol 980 SoundUsed by:1216
Symbol 981 BitmapUsed by:982 1045
Symbol 982 GraphicUses:981Used by:1216
Symbol 983 BitmapUsed by:984
Symbol 984 GraphicUses:983Used by:987
Symbol 985 BitmapUsed by:986
Symbol 986 GraphicUses:985Used by:987
Symbol 987 MovieClip {index_fla.t3_68}Uses:984 986Used by:1216
Symbol 988 SoundUsed by:1216
Symbol 989 BitmapUsed by:990
Symbol 990 GraphicUses:989Used by:995 1018
Symbol 991 BitmapUsed by:992
Symbol 992 GraphicUses:991Used by:995 1018
Symbol 993 BitmapUsed by:994
Symbol 994 GraphicUses:993Used by:995 1018
Symbol 995 MovieClip {index_fla.3_70}Uses:990 992 994Used by:996
Symbol 996 MovieClip {index_fla.Symbol6_69}Uses:995Used by:1216
Symbol 997 BitmapUsed by:998
Symbol 998 GraphicUses:997Used by:1001
Symbol 999 BitmapUsed by:1000
Symbol 1000 GraphicUses:999Used by:1001
Symbol 1001 MovieClip {index_fla.t4_71}Uses:998 1000Used by:1216
Symbol 1002 SoundUsed by:1216
Symbol 1003 BitmapUsed by:1004 1045
Symbol 1004 GraphicUses:1003Used by:1216
Symbol 1005 BitmapUsed by:1006
Symbol 1006 GraphicUses:1005Used by:1009
Symbol 1007 BitmapUsed by:1008
Symbol 1008 GraphicUses:1007Used by:1009
Symbol 1009 MovieClip {index_fla.t5_72}Uses:1006 1008Used by:1216
Symbol 1010 SoundUsed by:1216
Symbol 1011 BitmapUsed by:1012
Symbol 1012 GraphicUses:1011Used by:1015
Symbol 1013 BitmapUsed by:1014
Symbol 1014 GraphicUses:1013Used by:1015
Symbol 1015 MovieClip {index_fla.t6_73}Uses:1012 1014Used by:1216
Symbol 1016 BitmapUsed by:1017
Symbol 1017 GraphicUses:1016Used by:1018
Symbol 1018 MovieClip {index_fla.3_1_74}Uses:990 992 994 1017Used by:1216
Symbol 1019 BitmapUsed by:1020
Symbol 1020 GraphicUses:1019Used by:1043
Symbol 1021 SoundUsed by:1043
Symbol 1022 BitmapUsed by:1023
Symbol 1023 GraphicUses:1022Used by:1043
Symbol 1024 BitmapUsed by:1025
Symbol 1025 GraphicUses:1024Used by:1043
Symbol 1026 SoundUsed by:1043
Symbol 1027 BitmapUsed by:1028
Symbol 1028 GraphicUses:1027Used by:1043
Symbol 1029 BitmapUsed by:1030
Symbol 1030 GraphicUses:1029Used by:1043
Symbol 1031 BitmapUsed by:1032
Symbol 1032 GraphicUses:1031Used by:1043
Symbol 1033 BitmapUsed by:1034
Symbol 1034 GraphicUses:1033Used by:1043
Symbol 1035 BitmapUsed by:1036
Symbol 1036 GraphicUses:1035Used by:1043
Symbol 1037 BitmapUsed by:1038
Symbol 1038 GraphicUses:1037Used by:1043
Symbol 1039 BitmapUsed by:1040
Symbol 1040 GraphicUses:1039Used by:1043
Symbol 1041 BitmapUsed by:1042
Symbol 1042 GraphicUses:1041Used by:1043
Symbol 1043 MovieClip {index_fla.3_2_75}Uses:1020 1021 1023 1025 1026 1028 1030 1032 1034 1036 1038 1040 1042Used by:1216
Symbol 1044 SoundUsed by:1216
Symbol 1045 GraphicUses:1003 981Used by:1216
Symbol 1046 BitmapUsed by:1047 1063
Symbol 1047 GraphicUses:1046Used by:1114 1216
Symbol 1048 BitmapUsed by:1050 1063
Symbol 1049 BitmapUsed by:1050 1063
Symbol 1050 GraphicUses:1048 1049Used by:1216
Symbol 1051 GraphicUsed by:1216
Symbol 1052 BitmapUsed by:1053
Symbol 1053 GraphicUses:1052Used by:1056
Symbol 1054 BitmapUsed by:1055
Symbol 1055 GraphicUses:1054Used by:1056
Symbol 1056 MovieClip {index_fla.t7_76}Uses:1053 1055Used by:1216
Symbol 1057 SoundUsed by:1216
Symbol 1058 BitmapUsed by:1059
Symbol 1059 GraphicUses:1058Used by:1062
Symbol 1060 BitmapUsed by:1061
Symbol 1061 GraphicUses:1060Used by:1062
Symbol 1062 MovieClip {index_fla.t8_77}Uses:1059 1061Used by:1216
Symbol 1063 GraphicUses:1048 1049 1046Used by:1216
Symbol 1064 BitmapUsed by:1065
Symbol 1065 GraphicUses:1064Used by:1216
Symbol 1066 GraphicUsed by:1216
Symbol 1067 BitmapUsed by:1068
Symbol 1068 GraphicUses:1067Used by:1069
Symbol 1069 MovieClipUses:1068Used by:1216
Symbol 1070 BitmapUsed by:1071
Symbol 1071 GraphicUses:1070Used by:1074
Symbol 1072 BitmapUsed by:1073
Symbol 1073 GraphicUses:1072Used by:1074
Symbol 1074 MovieClip {index_fla.t9_79}Uses:1071 1073Used by:1216
Symbol 1075 SoundUsed by:1216
Symbol 1076 GraphicUsed by:1216
Symbol 1077 BitmapUsed by:1078
Symbol 1078 GraphicUses:1077Used by:1216
Symbol 1079 BitmapUsed by:1080
Symbol 1080 GraphicUses:1079Used by:1083
Symbol 1081 BitmapUsed by:1082
Symbol 1082 GraphicUses:1081Used by:1083
Symbol 1083 MovieClip {index_fla.t10_80}Uses:1080 1082Used by:1216
Symbol 1084 SoundUsed by:1216
Symbol 1085 BitmapUsed by:1086
Symbol 1086 GraphicUses:1085Used by:1089
Symbol 1087 BitmapUsed by:1088
Symbol 1088 GraphicUses:1087Used by:1089
Symbol 1089 MovieClip {index_fla.t11_81}Uses:1086 1088Used by:1216
Symbol 1090 BitmapUsed by:1091
Symbol 1091 GraphicUses:1090Used by:1094
Symbol 1092 BitmapUsed by:1093
Symbol 1093 GraphicUses:1092Used by:1094
Symbol 1094 MovieClip {index_fla.t12_82}Uses:1091 1093Used by:1216
Symbol 1095 BitmapUsed by:1096
Symbol 1096 GraphicUses:1095Used by:1099
Symbol 1097 BitmapUsed by:1098
Symbol 1098 GraphicUses:1097Used by:1099
Symbol 1099 MovieClip {index_fla.t13_83}Uses:1096 1098Used by:1216
Symbol 1100 GraphicUsed by:1216
Symbol 1101 BitmapUsed by:1102
Symbol 1102 GraphicUses:1101Used by:1105
Symbol 1103 BitmapUsed by:1104
Symbol 1104 GraphicUses:1103Used by:1105
Symbol 1105 MovieClip {index_fla.t14_84}Uses:1102 1104Used by:1216
Symbol 1106 BitmapUsed by:1107
Symbol 1107 GraphicUses:1106Used by:1108
Symbol 1108 MovieClipUses:1107Used by:1114
Symbol 1109 BitmapUsed by:1111 1112
Symbol 1110 BitmapUsed by:1111 1112
Symbol 1111 GraphicUses:1109 1110Used by:1113
Symbol 1112 GraphicUses:1109 1110Used by:1113
Symbol 1113 MovieClipUses:1111 1112Used by:1114
Symbol 1114 MovieClip {index_fla.Symbol3_85}Uses:1047 1108 1113Used by:1216
Symbol 1115 BitmapUsed by:1116
Symbol 1116 GraphicUses:1115Used by:1119
Symbol 1117 BitmapUsed by:1118
Symbol 1118 GraphicUses:1117Used by:1119
Symbol 1119 MovieClip {index_fla.t15_88}Uses:1116 1118Used by:1216
Symbol 1120 SoundUsed by:1216
Symbol 1121 BitmapUsed by:1122 1130
Symbol 1122 GraphicUses:1121Used by:1216
Symbol 1123 BitmapUsed by:1124
Symbol 1124 GraphicUses:1123Used by:1127
Symbol 1125 BitmapUsed by:1126
Symbol 1126 GraphicUses:1125Used by:1127
Symbol 1127 MovieClip {index_fla.t16_89}Uses:1124 1126Used by:1216
Symbol 1128 SoundUsed by:1216
Symbol 1129 BitmapUsed by:1130
Symbol 1130 GraphicUses:1129 1121Used by:1216
Symbol 1131 SoundUsed by:1216
Symbol 1132 BitmapUsed by:1133
Symbol 1133 GraphicUses:1132Used by:1216
Symbol 1134 BitmapUsed by:1135
Symbol 1135 GraphicUses:1134Used by:1136
Symbol 1136 MovieClip {index_fla.Symbol5_90}Uses:1135Used by:1216
Symbol 1137 BitmapUsed by:1138
Symbol 1138 GraphicUses:1137Used by:1141
Symbol 1139 BitmapUsed by:1140
Symbol 1140 GraphicUses:1139Used by:1141
Symbol 1141 MovieClip {index_fla.t17_91}Uses:1138 1140Used by:1216
Symbol 1142 BitmapUsed by:1143
Symbol 1143 GraphicUses:1142Used by:1216
Symbol 1144 SoundUsed by:1216
Symbol 1145 BitmapUsed by:1146
Symbol 1146 GraphicUses:1145Used by:1149
Symbol 1147 BitmapUsed by:1148
Symbol 1148 GraphicUses:1147Used by:1149
Symbol 1149 MovieClip {index_fla.t18_92}Uses:1146 1148Used by:1216
Symbol 1150 BitmapUsed by:1151
Symbol 1151 GraphicUses:1150Used by:1152 1216
Symbol 1152 MovieClip {index_fla.Symbol7_93}Uses:1151Used by:1216
Symbol 1153 BitmapUsed by:1155
Symbol 1154 BitmapUsed by:1155
Symbol 1155 GraphicUses:1153 1154Used by:1216
Symbol 1156 BitmapUsed by:1157
Symbol 1157 GraphicUses:1156Used by:1160
Symbol 1158 BitmapUsed by:1159
Symbol 1159 GraphicUses:1158Used by:1160
Symbol 1160 MovieClip {index_fla.t19_94}Uses:1157 1159Used by:1216
Symbol 1161 SoundUsed by:1216
Symbol 1162 BitmapUsed by:1163
Symbol 1163 GraphicUses:1162Used by:1166
Symbol 1164 BitmapUsed by:1165
Symbol 1165 GraphicUses:1164Used by:1166
Symbol 1166 MovieClip {index_fla.t20_95}Uses:1163 1165Used by:1216
Symbol 1167 BitmapUsed by:1168
Symbol 1168 GraphicUses:1167Used by:1171
Symbol 1169 BitmapUsed by:1170
Symbol 1170 GraphicUses:1169Used by:1171
Symbol 1171 MovieClip {index_fla.t21_96}Uses:1168 1170Used by:1216
Symbol 1172 BitmapUsed by:1175 1176
Symbol 1173 BitmapUsed by:1175 1176
Symbol 1174 BitmapUsed by:1175 1176
Symbol 1175 GraphicUses:1172 1173 1174Used by:1216
Symbol 1176 GraphicUses:1172 1173 1174Used by:1216
Symbol 1177 BitmapUsed by:1178
Symbol 1178 GraphicUses:1177Used by:1181
Symbol 1179 BitmapUsed by:1180
Symbol 1180 GraphicUses:1179Used by:1181
Symbol 1181 MovieClip {index_fla.t22_97}Uses:1178 1180Used by:1216
Symbol 1182 BitmapUsed by:1183
Symbol 1183 GraphicUses:1182Used by:1186
Symbol 1184 BitmapUsed by:1185
Symbol 1185 GraphicUses:1184Used by:1186
Symbol 1186 MovieClip {index_fla.t23_98}Uses:1183 1185Used by:1216
Symbol 1187 SoundUsed by:1216
Symbol 1188 BitmapUsed by:1189
Symbol 1189 GraphicUses:1188Used by:1216
Symbol 1190 BitmapUsed by:1191
Symbol 1191 GraphicUses:1190Used by:1192
Symbol 1192 MovieClip {index_fla.Symbol8_99}Uses:1191Used by:1216
Symbol 1193 BitmapUsed by:1194
Symbol 1194 GraphicUses:1193Used by:1197
Symbol 1195 BitmapUsed by:1196
Symbol 1196 GraphicUses:1195Used by:1197
Symbol 1197 MovieClip {index_fla.t24_100}Uses:1194 1196Used by:1216
Symbol 1198 SoundUsed by:1216
Symbol 1199 BitmapUsed by:1200
Symbol 1200 GraphicUses:1199Used by:1203
Symbol 1201 BitmapUsed by:1202
Symbol 1202 GraphicUses:1201Used by:1203
Symbol 1203 MovieClip {index_fla.t25_101}Uses:1200 1202Used by:1216
Symbol 1204 BitmapUsed by:1205
Symbol 1205 GraphicUses:1204Used by:1216
Symbol 1206 BitmapUsed by:1207
Symbol 1207 GraphicUses:1206Used by:1210
Symbol 1208 BitmapUsed by:1209
Symbol 1209 GraphicUses:1208Used by:1210
Symbol 1210 MovieClip {index_fla.t26_102}Uses:1207 1209Used by:1216
Symbol 1211 SoundUsed by:1216
Symbol 1212 BitmapUsed by:1213
Symbol 1213 GraphicUses:1212Used by:1214
Symbol 1214 MovieClip {index_fla.Symbol9_103}Uses:1213Used by:1216
Symbol 1215 SoundUsed by:1216
Symbol 1216 MovieClip {index_fla.oppening_64}Uses:959 961 964 969 971 972 974 979 980 982 987 988 306 996 1001 1002 1004 1009 1010 1015 1018 1043 1044 1045 1047 1050 1051 1056 1057 1062 1063 1065 1066 1069 1074 1075 1076 1078 1083 1084 1089 1094 1099 1100 1105 1114 1119 1120 1122 1127 1128 1130 1131 1133 1136 1141 1143 1144 1149 1152 1155 1160 1161 1166 1171 1175 1176 1181 1151 1186 1187 1189 1192 1197 1198 1203 1205 1210 1211 1214 1215Used by:Timeline
Symbol 1217 MovieClipUses:971Used by:Timeline
Symbol 1218 BitmapUsed by:1219
Symbol 1219 GraphicUses:1218Used by:1220
Symbol 1220 MovieClipUses:1219Used by:Timeline
Symbol 1221 BitmapUsed by:1222
Symbol 1222 GraphicUses:1221Used by:1324
Symbol 1223 BitmapUsed by:1224
Symbol 1224 GraphicUses:1223Used by:1225 1327
Symbol 1225 MovieClipUses:1224Used by:1324
Symbol 1226 BitmapUsed by:1227
Symbol 1227 GraphicUses:1226Used by:1228 1328
Symbol 1228 MovieClipUses:1227Used by:1324
Symbol 1229 BitmapUsed by:1230
Symbol 1230 GraphicUses:1229Used by:1231 1329
Symbol 1231 MovieClipUses:1230Used by:1324
Symbol 1232 BitmapUsed by:1233
Symbol 1233 GraphicUses:1232Used by:1234
Symbol 1234 MovieClipUses:1233Used by:1324
Symbol 1235 BitmapUsed by:1236
Symbol 1236 GraphicUses:1235Used by:1237
Symbol 1237 MovieClipUses:1236Used by:1324
Symbol 1238 GraphicUsed by:1324 1348 1364 1365 1376 1377
Symbol 1239 BitmapUsed by:1240
Symbol 1240 GraphicUses:1239Used by:1241
Symbol 1241 MovieClipUses:1240Used by:1324 1348 1364 1365 1376 1377
Symbol 1242 BitmapUsed by:1243
Symbol 1243 GraphicUses:1242Used by:1244
Symbol 1244 MovieClipUses:1243Used by:1324 1348 1364 1365 1376 1377
Symbol 1245 BitmapUsed by:1246
Symbol 1246 GraphicUses:1245Used by:1247
Symbol 1247 MovieClipUses:1246Used by:1324 1348 1364 1365 1376 1377
Symbol 1248 BitmapUsed by:1255 1353
Symbol 1249 BitmapUsed by:1255
Symbol 1250 BitmapUsed by:1255 1353
Symbol 1251 BitmapUsed by:1255 1353
Symbol 1252 BitmapUsed by:1255 1353
Symbol 1253 BitmapUsed by:1255
Symbol 1254 BitmapUsed by:1255 1353
Symbol 1255 GraphicUses:1248 1249 1250 1251 1252 1253 1254Used by:1324 1348 1364 1365 1377
Symbol 1256 BitmapUsed by:1257
Symbol 1257 GraphicUses:1256Used by:1324
Symbol 1258 BitmapUsed by:1259
Symbol 1259 GraphicUses:1258Used by:1324
Symbol 1260 BitmapUsed by:1261
Symbol 1261 GraphicUses:1260Used by:1324
Symbol 1262 BitmapUsed by:1263
Symbol 1263 GraphicUses:1262Used by:1324
Symbol 1264 BitmapUsed by:1265
Symbol 1265 GraphicUses:1264Used by:1324
Symbol 1266 BitmapUsed by:1267
Symbol 1267 GraphicUses:1266Used by:1324
Symbol 1268 BitmapUsed by:1269
Symbol 1269 GraphicUses:1268Used by:1324
Symbol 1270 BitmapUsed by:1271
Symbol 1271 GraphicUses:1270Used by:1324
Symbol 1272 BitmapUsed by:1273
Symbol 1273 GraphicUses:1272Used by:1324
Symbol 1274 BitmapUsed by:1275
Symbol 1275 GraphicUses:1274Used by:1324
Symbol 1276 BitmapUsed by:1277
Symbol 1277 GraphicUses:1276Used by:1324
Symbol 1278 BitmapUsed by:1279
Symbol 1279 GraphicUses:1278Used by:1324
Symbol 1280 BitmapUsed by:1281
Symbol 1281 GraphicUses:1280Used by:1324
Symbol 1282 BitmapUsed by:1283
Symbol 1283 GraphicUses:1282Used by:1324
Symbol 1284 BitmapUsed by:1285
Symbol 1285 GraphicUses:1284Used by:1324
Symbol 1286 BitmapUsed by:1287
Symbol 1287 GraphicUses:1286Used by:1324
Symbol 1288 BitmapUsed by:1289
Symbol 1289 GraphicUses:1288Used by:1324
Symbol 1290 BitmapUsed by:1291
Symbol 1291 GraphicUses:1290Used by:1324
Symbol 1292 BitmapUsed by:1293
Symbol 1293 GraphicUses:1292Used by:1324
Symbol 1294 BitmapUsed by:1295
Symbol 1295 GraphicUses:1294Used by:1324
Symbol 1296 BitmapUsed by:1297
Symbol 1297 GraphicUses:1296Used by:1324
Symbol 1298 BitmapUsed by:1299
Symbol 1299 GraphicUses:1298Used by:1324
Symbol 1300 BitmapUsed by:1301
Symbol 1301 GraphicUses:1300Used by:1324
Symbol 1302 BitmapUsed by:1303
Symbol 1303 GraphicUses:1302Used by:1324
Symbol 1304 BitmapUsed by:1305
Symbol 1305 GraphicUses:1304Used by:1324
Symbol 1306 BitmapUsed by:1307
Symbol 1307 GraphicUses:1306Used by:1324
Symbol 1308 BitmapUsed by:1309
Symbol 1309 GraphicUses:1308Used by:1324
Symbol 1310 BitmapUsed by:1311
Symbol 1311 GraphicUses:1310Used by:1324
Symbol 1312 BitmapUsed by:1313
Symbol 1313 GraphicUses:1312Used by:1324
Symbol 1314 BitmapUsed by:1315
Symbol 1315 GraphicUses:1314Used by:1324
Symbol 1316 BitmapUsed by:1317
Symbol 1317 GraphicUses:1316Used by:1324
Symbol 1318 BitmapUsed by:1319
Symbol 1319 GraphicUses:1318Used by:1324
Symbol 1320 BitmapUsed by:1321
Symbol 1321 GraphicUses:1320Used by:1324
Symbol 1322 BitmapUsed by:1323
Symbol 1323 GraphicUses:1322Used by:1324
Symbol 1324 MovieClip {index_fla.M2_106}Uses:1222 1225 1228 1231 1234 1237 1238 1241 1244 1247 1255 1257 1259 1261 1263 1265 1267 1269 1271 1273 1275 1277 1279 1281 1283 1285 1287 1289 1291 1293 1295 1297 1299 1301 1303 1305 1307 1309 1311 1313 1315 1317 1319 1321 1323Used by:Timeline
Symbol 1325 BitmapUsed by:1326
Symbol 1326 GraphicUses:1325Used by:1348 1364 1365 1377
Symbol 1327 MovieClipUses:1224Used by:1348 1364 1365 1376 1377
Symbol 1328 MovieClipUses:1227Used by:1348 1364 1365 1376 1377
Symbol 1329 MovieClipUses:1230Used by:1348 1364 1365 1376 1377
Symbol 1330 BitmapUsed by:1331
Symbol 1331 GraphicUses:1330Used by:1332
Symbol 1332 MovieClipUses:1331Used by:1348 1364 1365 1376 1377
Symbol 1333 BitmapUsed by:1334
Symbol 1334 GraphicUses:1333Used by:1335
Symbol 1335 MovieClipUses:1334Used by:1348 1364 1365 1376 1377
Symbol 1336 BitmapUsed by:1337
Symbol 1337 GraphicUses:1336Used by:1348
Symbol 1338 BitmapUsed by:1339
Symbol 1339 GraphicUses:1338Used by:1348
Symbol 1340 BitmapUsed by:1341
Symbol 1341 GraphicUses:1340Used by:1348
Symbol 1342 BitmapUsed by:1343
Symbol 1343 GraphicUses:1342Used by:1348
Symbol 1344 BitmapUsed by:1345
Symbol 1345 GraphicUses:1344Used by:1348
Symbol 1346 BitmapUsed by:1347
Symbol 1347 GraphicUses:1346Used by:1348
Symbol 1348 MovieClip {index_fla.M3_115}Uses:1326 1327 1328 1329 1332 1335 1238 1241 1244 1247 1255 1337 1339 1341 1343 1345 1347Used by:Timeline
Symbol 1349 BitmapUsed by:1350
Symbol 1350 GraphicUses:1349Used by:1364 1365 1377
Symbol 1351 BitmapUsed by:1353
Symbol 1352 BitmapUsed by:1353
Symbol 1353 GraphicUses:1351 1352 1248 1250 1251 1252 1254Used by:1364 1365 1376 1377
Symbol 1354 BitmapUsed by:1355
Symbol 1355 GraphicUses:1354Used by:1364 1365 1377
Symbol 1356 BitmapUsed by:1357
Symbol 1357 GraphicUses:1356Used by:1364 1365 1377
Symbol 1358 BitmapUsed by:1359
Symbol 1359 GraphicUses:1358Used by:1364 1365 1377
Symbol 1360 BitmapUsed by:1361
Symbol 1361 GraphicUses:1360Used by:1364 1365 1377
Symbol 1362 BitmapUsed by:1363
Symbol 1363 GraphicUses:1362Used by:1364 1376
Symbol 1364 MovieClip {index_fla.M4_121}Uses:1326 1327 1328 1329 1332 1335 1238 1241 1244 1247 1255 1350 1353 1355 1357 1359 1361 1363Used by:Timeline
Symbol 1365 MovieClip {index_fla.M4_1_122}Uses:1326 1327 1328 1329 1332 1335 1238 1241 1244 1247 1255 1350 1353 1355 1357 1359 1361Used by:Timeline
Symbol 1366 BitmapUsed by:1367
Symbol 1367 GraphicUses:1366Used by:1376
Symbol 1368 BitmapUsed by:1369
Symbol 1369 GraphicUses:1368Used by:1376
Symbol 1370 BitmapUsed by:1371
Symbol 1371 GraphicUses:1370Used by:1376
Symbol 1372 BitmapUsed by:1373
Symbol 1373 GraphicUses:1372Used by:1376
Symbol 1374 BitmapUsed by:1375
Symbol 1375 GraphicUses:1374Used by:1376
Symbol 1376 MovieClip {index_fla.M5_123}Uses:1363 1327 1328 1329 1332 1335 1238 1241 1244 1247 1353 1367 1369 1371 1373 1375Used by:Timeline
Symbol 1377 MovieClip {index_fla.M4_2_124}Uses:1361 1327 1328 1329 1332 1335 1238 1241 1244 1247 1353 1359 1357 1355 1350 1326 1255Used by:Timeline
Symbol 1378 BitmapUsed by:1379
Symbol 1379 GraphicUses:1378Used by:1380
Symbol 1380 MovieClipUses:1379Used by:Timeline
Symbol 1381 BitmapUsed by:1382
Symbol 1382 GraphicUses:1381Used by:1383
Symbol 1383 MovieClipUses:1382Used by:Timeline
Symbol 1384 MovieClipUsed by:Timeline
Symbol 1385 MovieClipUses:306Used by:Timeline
Symbol 1386 BitmapUsed by:1387
Symbol 1387 GraphicUses:1386Used by:1388
Symbol 1388 MovieClipUses:1387Used by:Timeline
Symbol 1389 MovieClipUsed by:Timeline
Symbol 1390 BitmapUsed by:1391
Symbol 1391 GraphicUses:1390Used by:1420
Symbol 1392 MovieClipUses:306Used by:1420
Symbol 1393 BitmapUsed by:1394
Symbol 1394 GraphicUses:1393Used by:1420
Symbol 1395 BitmapUsed by:1396
Symbol 1396 GraphicUses:1395Used by:1419
Symbol 1397 BitmapUsed by:1398
Symbol 1398 GraphicUses:1397Used by:1419
Symbol 1399 BitmapUsed by:1400
Symbol 1400 GraphicUses:1399Used by:1419
Symbol 1401 BitmapUsed by:1402
Symbol 1402 GraphicUses:1401Used by:1419
Symbol 1403 BitmapUsed by:1404
Symbol 1404 GraphicUses:1403Used by:1419
Symbol 1405 BitmapUsed by:1406
Symbol 1406 GraphicUses:1405Used by:1419
Symbol 1407 BitmapUsed by:1408
Symbol 1408 GraphicUses:1407Used by:1419
Symbol 1409 BitmapUsed by:1410
Symbol 1410 GraphicUses:1409Used by:1419
Symbol 1411 BitmapUsed by:1412
Symbol 1412 GraphicUses:1411Used by:1419
Symbol 1413 BitmapUsed by:1414
Symbol 1414 GraphicUses:1413Used by:1419
Symbol 1415 BitmapUsed by:1416
Symbol 1416 GraphicUses:1415Used by:1419
Symbol 1417 BitmapUsed by:1418
Symbol 1418 GraphicUses:1417Used by:1419
Symbol 1419 MovieClip {index_fla.life_gone_161}Uses:1396 1398 1400 1402 1404 1406 1408 1410 1412 1414 1416 1418Used by:1420
Symbol 1420 MovieClip {index_fla.lifeindicator_159}Uses:1391 1392 1394 1419Used by:Timeline
Symbol 1421 BitmapUsed by:1422
Symbol 1422 GraphicUses:1421Used by:1425
Symbol 1423 BitmapUsed by:1424
Symbol 1424 GraphicUses:1423Used by:1425
Symbol 1425 MovieClipUses:1422 1424Used by:Timeline
Symbol 1426 BitmapUsed by:1427
Symbol 1427 GraphicUses:1426Used by:1430
Symbol 1428 BitmapUsed by:1429
Symbol 1429 GraphicUses:1428Used by:1430
Symbol 1430 MovieClip {index_fla.soundbtn_163}Uses:1427 1429Used by:Timeline
Symbol 1431 GraphicUses:68 66 88 78 62Used by:1432
Symbol 1432 MovieClipUses:1431Used by:Timeline
Symbol 1433 BitmapUsed by:1434
Symbol 1434 GraphicUses:1433Used by:1457
Symbol 1435 BitmapUsed by:1436
Symbol 1436 GraphicUses:1435Used by:1457
Symbol 1437 BitmapUsed by:1438
Symbol 1438 GraphicUses:1437Used by:1457
Symbol 1439 BitmapUsed by:1440
Symbol 1440 GraphicUses:1439Used by:1457
Symbol 1441 BitmapUsed by:1442
Symbol 1442 GraphicUses:1441Used by:1457
Symbol 1443 BitmapUsed by:1444
Symbol 1444 GraphicUses:1443Used by:1457
Symbol 1445 BitmapUsed by:1446
Symbol 1446 GraphicUses:1445Used by:1457
Symbol 1447 BitmapUsed by:1448
Symbol 1448 GraphicUses:1447Used by:1457
Symbol 1449 BitmapUsed by:1450
Symbol 1450 GraphicUses:1449Used by:1457
Symbol 1451 BitmapUsed by:1452
Symbol 1452 GraphicUses:1451Used by:1457
Symbol 1453 BitmapUsed by:1454
Symbol 1454 GraphicUses:1453Used by:1457
Symbol 1455 BitmapUsed by:1456
Symbol 1456 GraphicUses:1455Used by:1457
Symbol 1457 MovieClip {index_fla.whoom_165}Uses:1434 1436 1438 1440 1442 1444 1446 1448 1450 1452 1454 1456Used by:Timeline
Symbol 1458 GraphicUsed by:1459 1590
Symbol 1459 MovieClip {index_fla.dark_166}Uses:1458Used by:Timeline
Symbol 1460 BitmapUsed by:1461 1492
Symbol 1461 GraphicUses:1460Used by:1493
Symbol 1462 SoundUsed by:1493
Symbol 1463 BitmapUsed by:1464
Symbol 1464 GraphicUses:1463Used by:1467
Symbol 1465 BitmapUsed by:1466
Symbol 1466 GraphicUses:1465Used by:1467
Symbol 1467 MovieClip {index_fla.t27_168}Uses:1464 1466Used by:1493
Symbol 1468 SoundUsed by:1493
Symbol 1469 BitmapUsed by:1470
Symbol 1470 GraphicUses:1469Used by:1473
Symbol 1471 BitmapUsed by:1472
Symbol 1472 GraphicUses:1471Used by:1473
Symbol 1473 MovieClip {index_fla.t28_169}Uses:1470 1472Used by:1493
Symbol 1474 SoundUsed by:1493
Symbol 1475 BitmapUsed by:1476 1492
Symbol 1476 GraphicUses:1475Used by:1493
Symbol 1477 BitmapUsed by:1478
Symbol 1478 GraphicUses:1477Used by:1481
Symbol 1479 BitmapUsed by:1480
Symbol 1480 GraphicUses:1479Used by:1481
Symbol 1481 MovieClip {index_fla.t29_170}Uses:1478 1480Used by:1493
Symbol 1482 SoundUsed by:1493
Symbol 1483 BitmapUsed by:1484
Symbol 1484 GraphicUses:1483Used by:1485
Symbol 1485 MovieClip {index_fla.Symbol10_171}Uses:1484Used by:1493
Symbol 1486 BitmapUsed by:1487
Symbol 1487 GraphicUses:1486Used by:1490
Symbol 1488 BitmapUsed by:1489
Symbol 1489 GraphicUses:1488Used by:1490
Symbol 1490 MovieClip {index_fla.t30_172}Uses:1487 1489Used by:1493
Symbol 1491 SoundUsed by:1493
Symbol 1492 GraphicUses:1475 1460Used by:1493
Symbol 1493 MovieClip {index_fla.game_over_167}Uses:959 1461 964 1462 1467 1468 1473 1474 1476 1481 1482 1485 1490 1491 1492Used by:Timeline
Symbol 1494 BitmapUsed by:1495
Symbol 1495 GraphicUses:1494Used by:1529
Symbol 1496 SoundUsed by:1529
Symbol 1497 BitmapUsed by:1498
Symbol 1498 GraphicUses:1497Used by:1501
Symbol 1499 BitmapUsed by:1500
Symbol 1500 GraphicUses:1499Used by:1501
Symbol 1501 MovieClip {index_fla.t31_174}Uses:1498 1500Used by:1529
Symbol 1502 SoundUsed by:1529
Symbol 1503 BitmapUsed by:1504
Symbol 1504 GraphicUses:1503Used by:1529
Symbol 1505 BitmapUsed by:1506 1515
Symbol 1506 GraphicUses:1505Used by:1518
Symbol 1507 BitmapUsed by:1508 1516
Symbol 1508 GraphicUses:1507Used by:1518
Symbol 1509 BitmapUsed by:1510 1514 1517
Symbol 1510 GraphicUses:1509Used by:1518
Symbol 1511 BitmapUsed by:1512 1515 1517
Symbol 1512 GraphicUses:1511Used by:1518
Symbol 1513 BitmapUsed by:1514 1516
Symbol 1514 GraphicUses:1513 1509Used by:1518
Symbol 1515 GraphicUses:1511 1505Used by:1518
Symbol 1516 GraphicUses:1513 1507Used by:1518
Symbol 1517 GraphicUses:1511 1509Used by:1518
Symbol 1518 MovieClipUses:1506 1508 1510 1512 1514 1515 1516 1517Used by:1529
Symbol 1519 BitmapUsed by:1520
Symbol 1520 GraphicUses:1519Used by:1523
Symbol 1521 BitmapUsed by:1522
Symbol 1522 GraphicUses:1521Used by:1523
Symbol 1523 MovieClip {index_fla.t32_176}Uses:1520 1522Used by:1529
Symbol 1524 BitmapUsed by:1525
Symbol 1525 GraphicUses:1524Used by:1528
Symbol 1526 BitmapUsed by:1527
Symbol 1527 GraphicUses:1526Used by:1528
Symbol 1528 MovieClip {index_fla.t33_177}Uses:1525 1527Used by:1529
Symbol 1529 MovieClip {index_fla.ending_173}Uses:959 1495 964 1496 1501 1502 1504 1518 1523 1528Used by:Timeline
Symbol 1530 BitmapUsed by:1531
Symbol 1531 GraphicUses:1530Used by:1532
Symbol 1532 MovieClipUses:1531Used by:1574
Symbol 1533 BitmapUsed by:1534
Symbol 1534 GraphicUses:1533Used by:1574
Symbol 1535 GraphicUsed by:1574
Symbol 1536 GraphicUsed by:1574
Symbol 1537 GraphicUsed by:1574
Symbol 1538 GraphicUsed by:1574
Symbol 1539 GraphicUsed by:1574
Symbol 1540 GraphicUsed by:1574
Symbol 1541 GraphicUsed by:1574
Symbol 1542 GraphicUsed by:1574
Symbol 1543 GraphicUsed by:1574
Symbol 1544 GraphicUsed by:1574
Symbol 1545 GraphicUsed by:1574
Symbol 1546 GraphicUsed by:1574
Symbol 1547 GraphicUsed by:1574
Symbol 1548 GraphicUsed by:1574
Symbol 1549 GraphicUsed by:1574
Symbol 1550 GraphicUsed by:1574
Symbol 1551 GraphicUsed by:1574
Symbol 1552 GraphicUsed by:1574
Symbol 1553 GraphicUsed by:1574
Symbol 1554 GraphicUsed by:1574
Symbol 1555 GraphicUsed by:1574
Symbol 1556 GraphicUsed by:1574
Symbol 1557 GraphicUsed by:1574
Symbol 1558 GraphicUsed by:1574
Symbol 1559 GraphicUsed by:1574
Symbol 1560 GraphicUsed by:1574
Symbol 1561 GraphicUsed by:1574
Symbol 1562 BitmapUsed by:1563
Symbol 1563 GraphicUses:1562Used by:1564
Symbol 1564 MovieClipUses:1563Used by:1574
Symbol 1565 BitmapUsed by:1566
Symbol 1566 GraphicUses:1565Used by:1567
Symbol 1567 MovieClipUses:1566Used by:1574
Symbol 1568 BitmapUsed by:1569
Symbol 1569 GraphicUses:1568Used by:1570
Symbol 1570 MovieClipUses:1569Used by:1574
Symbol 1571 BitmapUsed by:1572
Symbol 1572 GraphicUses:1571Used by:1573
Symbol 1573 MovieClipUses:1572Used by:1574
Symbol 1574 MovieClip {index_fla.menu_records_178}Uses:273 1532 318 274 1534 277 278 279 280 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1564 1567 1570 1573 317Used by:Timeline
Symbol 1575 EditableTextUses:400Used by:1587
Symbol 1576 BitmapUsed by:1577
Symbol 1577 GraphicUses:1576Used by:1580
Symbol 1578 BitmapUsed by:1579
Symbol 1579 GraphicUses:1578Used by:1580
Symbol 1580 MovieClip {index_fla.msgbtnok_185}Uses:1577 1579Used by:1587
Symbol 1581 BitmapUsed by:1582
Symbol 1582 GraphicUses:1581Used by:1585
Symbol 1583 BitmapUsed by:1584
Symbol 1584 GraphicUses:1583Used by:1585
Symbol 1585 MovieClip {index_fla.msgbtncancel_186}Uses:1582 1584Used by:1587
Symbol 1586 EditableTextUses:400Used by:1587
Symbol 1587 MovieClip {index_fla.window_184}Uses:398 1575 1580 1585 1586Used by:Timeline
Symbol 1588 GraphicUsed by:1589
Symbol 1589 MovieClipUses:1588Used by:Timeline
Symbol 1590 MovieClip {index_fla.extrasbg_188}Uses:1458 276Used by:Timeline
Symbol 1591 GraphicUses:72 56 52 54Used by:1592
Symbol 1592 MovieClipUses:1591Used by:Timeline
Symbol 1593 BitmapUsed by:1594
Symbol 1594 GraphicUses:1593 268Used by:Timeline

Instance Names

"loadingScreen"Frame 2Symbol 305 MovieClip {index_fla.LOADING_SCREEN_1}
"lbar"Frame 2Symbol 307 MovieClip
"test"Frame 2Symbol 309 EditableText
"loadingScreen"Frame 3Symbol 311 MovieClip {index_fla.LOADING_SCREEN_START_16}
"menu"Frame 4Symbol 304 MovieClip {index_fla.menu_14}
"infobtn"Frame 4Symbol 314 MovieClip
"sm_btn"Frame 4Symbol 317 MovieClip {index_fla.sm_btn_18}
"rl_btn"Frame 4Symbol 317 MovieClip {index_fla.sm_btn_18}
"ts_btn"Frame 4Symbol 317 MovieClip {index_fla.sm_btn_18}
"mg_btn"Frame 4Symbol 317 MovieClip {index_fla.sm_btn_18}
"ht_btn"Frame 4Symbol 317 MovieClip {index_fla.sm_btn_18}
"emc"Frame 4Symbol 318 MovieClip
"ex_btn"Frame 4Symbol 317 MovieClip {index_fla.sm_btn_18}
"Muny"Frame 4Symbol 320 MovieClip {index_fla.Muny_new_21}
"achi"Frame 4Symbol 395 MovieClip {index_fla.achievements_new_22}
"infowindow"Frame 4Symbol 410 MovieClip {index_fla.windowinfo_51}
"updwindow"Frame 4Symbol 419 MovieClip {index_fla.update_55}
"comix"Frame 6Symbol 1216 MovieClip {index_fla.oppening_64}
"cont"Frame 6Symbol 1217 MovieClip
"skip_on"Frame 6Symbol 1220 MovieClip
"girl"Frame 7Symbol 1324 MovieClip {index_fla.M2_106}
"girl1"Frame 7Symbol 1348 MovieClip {index_fla.M3_115}
"girl2"Frame 7Symbol 1364 MovieClip {index_fla.M4_121}
"girl2_1"Frame 7Symbol 1365 MovieClip {index_fla.M4_1_122}
"girl3"Frame 7Symbol 1376 MovieClip {index_fla.M5_123}
"girl2_2"Frame 7Symbol 1377 MovieClip {index_fla.M4_2_124}
"eqbg"Frame 7Symbol 1380 MovieClip
"maineq"Frame 7Symbol 212 MovieClip {main}
"mln"Frame 7Symbol 1383 MovieClip
"messagearea"Frame 7Symbol 1384 MovieClip
"messagearea1"Frame 7Symbol 1384 MovieClip
"ebar"Frame 7Symbol 1385 MovieClip
"ebarbg"Frame 7Symbol 1388 MovieClip
"countmsg"Frame 7Symbol 1389 MovieClip
"combomsg"Frame 7Symbol 1389 MovieClip
"lifeindicator"Frame 7Symbol 1420 MovieClip {index_fla.lifeindicator_159}
"maxspeedindicator"Frame 7Symbol 1425 MovieClip
"soundbtn"Frame 7Symbol 1430 MovieClip {index_fla.soundbtn_163}
"maxspeedmsg"Frame 7Symbol 1389 MovieClip
"timearea"Frame 7Symbol 1389 MovieClip
"finish"Frame 7Symbol 1432 MovieClip
"zeroflash"Frame 7Symbol 1457 MovieClip {index_fla.whoom_165}
"opmsg"Frame 7Symbol 1389 MovieClip
"dark"Frame 7Symbol 1459 MovieClip {index_fla.dark_166}
"gameovermsg"Frame 7Symbol 318 MovieClip
"updwindow"Frame 7Symbol 419 MovieClip {index_fla.update_55}
"comix"Frame 8Symbol 1493 MovieClip {index_fla.game_over_167}
"comix"Frame 9Symbol 1529 MovieClip {index_fla.ending_173}
"top"Frame 10Symbol 1574 MovieClip {index_fla.menu_records_178}
"emc1"Frame 10Symbol 318 MovieClip
"msgbox"Frame 10Symbol 1587 MovieClip {index_fla.window_184}
"mmbtn"Frame 10Symbol 1589 MovieClip
"Muny"Frame 10Symbol 320 MovieClip {index_fla.Muny_new_21}
"loading"Frame 10Symbol 318 MovieClip
"achi"Frame 10Symbol 395 MovieClip {index_fla.achievements_new_22}
"updwindow"Frame 10Symbol 419 MovieClip {index_fla.update_55}
"loading"Frame 11Symbol 317 MovieClip {index_fla.sm_btn_18}
"emc1"Frame 11Symbol 318 MovieClip
"loading"Frame 11Symbol 318 MovieClip
"updwindow"Frame 11Symbol 419 MovieClip {index_fla.update_55}
"back"Frame 11Symbol 1592 MovieClip
"back"Frame 12Symbol 1592 MovieClip
"updwindow"Frame 12Symbol 419 MovieClip {index_fla.update_55}
"barmask"Symbol 115 MovieClip {index_fla.bita_127} Frame 1Symbol 111 MovieClip
"bitagreen"Symbol 115 MovieClip {index_fla.bita_127} Frame 1Symbol 114 MovieClip
"other"Symbol 123 MovieClip {index_fla.rb_130} Frame 1Symbol 122 MovieClip
"light"Symbol 204 MovieClip {index_fla.flashes_143} Frame 1Symbol 175 MovieClip {index_fla.flash1_144}
"light"Symbol 204 MovieClip {index_fla.flashes_143} Frame 2Symbol 179 MovieClip {index_fla.flash2_145}
"light"Symbol 204 MovieClip {index_fla.flashes_143} Frame 3Symbol 183 MovieClip {index_fla.flash3_146}
"light"Symbol 204 MovieClip {index_fla.flashes_143} Frame 4Symbol 187 MovieClip {index_fla.flash4_147}
"light"Symbol 204 MovieClip {index_fla.flashes_143} Frame 5Symbol 191 MovieClip {index_fla.flash5_148}
"light"Symbol 204 MovieClip {index_fla.flashes_143} Frame 6Symbol 195 MovieClip {index_fla.flash6_149}
"light"Symbol 204 MovieClip {index_fla.flashes_143} Frame 7Symbol 199 MovieClip {index_fla.flash7_150}
"light"Symbol 204 MovieClip {index_fla.flashes_143} Frame 8Symbol 203 MovieClip {index_fla.flash8_151}
"ring2"Symbol 208 MovieClip {index_fla.ballmc_135} Frame 1Symbol 151 MovieClip
"l8"Symbol 208 MovieClip {index_fla.ballmc_135} Frame 1Symbol 154 MovieClip
"l6"Symbol 208 MovieClip {index_fla.ballmc_135} Frame 1Symbol 157 MovieClip
"l3"Symbol 208 MovieClip {index_fla.ballmc_135} Frame 1Symbol 160 MovieClip
"ring1"Symbol 208 MovieClip {index_fla.ballmc_135} Frame 1Symbol 163 MovieClip
"ballbody"Symbol 208 MovieClip {index_fla.ballmc_135} Frame 1Symbol 166 MovieClip
"blik2"Symbol 208 MovieClip {index_fla.ballmc_135} Frame 1Symbol 171 MovieClip
"flashes"Symbol 208 MovieClip {index_fla.ballmc_135} Frame 1Symbol 204 MovieClip {index_fla.flashes_143}
"white"Symbol 208 MovieClip {index_fla.ballmc_135} Frame 1Symbol 207 MovieClip {index_fla.white_152}
"bar8"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_fla.bita_127}
"bar7"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_fla.bita_127}
"bar6"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_fla.bita_127}
"bar5"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_fla.bita_127}
"bar1"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_fla.bita_127}
"bar2"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_fla.bita_127}
"bar3"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_fla.bita_127}
"bar4"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_fla.bita_127}
"rb"Symbol 212 MovieClip {main} Frame 1Symbol 123 MovieClip {index_fla.rb_130}
"rb1"Symbol 212 MovieClip {main} Frame 1Symbol 123 MovieClip {index_fla.rb_130}
"wtf2"Symbol 212 MovieClip {main} Frame 1Symbol 126 MovieClip
"smoke"Symbol 212 MovieClip {main} Frame 1Symbol 147 MovieClip {index_fla.circle_133}
"firearea"Symbol 212 MovieClip {main} Frame 1Symbol 148 MovieClip
"ball"Symbol 212 MovieClip {main} Frame 1Symbol 208 MovieClip {index_fla.ballmc_135}
"wtf1"Symbol 212 MovieClip {main} Frame 1Symbol 211 MovieClip
"ah4"Symbol 233 MovieClip {index_fla.Muny_2} Frame 1Symbol 221 MovieClip
"ah3"Symbol 233 MovieClip {index_fla.Muny_2} Frame 1Symbol 226 MovieClip
"ah2"Symbol 233 MovieClip {index_fla.Muny_2} Frame 1Symbol 229 MovieClip
"ah1"Symbol 233 MovieClip {index_fla.Muny_2} Frame 1Symbol 232 MovieClip
"Muny"Symbol 305 MovieClip {index_fla.LOADING_SCREEN_1} Frame 1Symbol 233 MovieClip {index_fla.Muny_2}
"preloadermask"Symbol 305 MovieClip {index_fla.LOADING_SCREEN_1} Frame 1Symbol 234 MovieClip
"startbtn"Symbol 305 MovieClip {index_fla.LOADING_SCREEN_1} Frame 1Symbol 244 MovieClip
"shin"Symbol 305 MovieClip {index_fla.LOADING_SCREEN_1} Frame 118Symbol 267 MovieClip
"Muny"Symbol 311 MovieClip {index_fla.LOADING_SCREEN_START_16} Frame 1Symbol 233 MovieClip {index_fla.Muny_2}
"bg"Symbol 317 MovieClip {index_fla.sm_btn_18} Frame 1Symbol 316 MovieClip
"old"Symbol 320 MovieClip {index_fla.Muny_new_21} Frame 1Symbol 233 MovieClip {index_fla.Muny_2}
"a4_text1"Symbol 341 MovieClip {index_fla.a_4_24} Frame 1Symbol 325 MovieClip
"a4_text"Symbol 341 MovieClip {index_fla.a_4_24} Frame 1Symbol 328 MovieClip
"no_off"Symbol 341 MovieClip {index_fla.a_4_24} Frame 1Symbol 331 MovieClip
"no_on"Symbol 341 MovieClip {index_fla.a_4_24} Frame 1Symbol 334 MovieClip
"yes_off"Symbol 341 MovieClip {index_fla.a_4_24} Frame 1Symbol 337 MovieClip
"yes_on"Symbol 341 MovieClip {index_fla.a_4_24} Frame 1Symbol 340 MovieClip
"a"Symbol 342 MovieClip {index_fla.archi_line4_23} Frame 1Symbol 341 MovieClip {index_fla.a_4_24}
"a3_text1"Symbol 361 MovieClip {index_fla.a_3_32} Frame 1Symbol 345 MovieClip
"a3_text"Symbol 361 MovieClip {index_fla.a_3_32} Frame 1Symbol 348 MovieClip
"no_off"Symbol 361 MovieClip {index_fla.a_3_32} Frame 1Symbol 351 MovieClip
"no_on"Symbol 361 MovieClip {index_fla.a_3_32} Frame 1Symbol 354 MovieClip
"yes_off"Symbol 361 MovieClip {index_fla.a_3_32} Frame 1Symbol 357 MovieClip
"yes_on"Symbol 361 MovieClip {index_fla.a_3_32} Frame 1Symbol 360 MovieClip
"a"Symbol 362 MovieClip {index_fla.archi_line3_31} Frame 1Symbol 361 MovieClip {index_fla.a_3_32}
"no_off"Symbol 377 MovieClip {index_fla.a_2_40} Frame 1Symbol 367 MovieClip
"no_on"Symbol 377 MovieClip {index_fla.a_2_40} Frame 1Symbol 370 MovieClip
"yes_off"Symbol 377 MovieClip {index_fla.a_2_40} Frame 1Symbol 373 MovieClip
"yes_on"Symbol 377 MovieClip {index_fla.a_2_40} Frame 1Symbol 376 MovieClip
"a"Symbol 378 MovieClip {index_fla.archi_line2_39} Frame 1Symbol 377 MovieClip {index_fla.a_2_40}
"no_off"Symbol 393 MovieClip {index_fla.a_1_46} Frame 1Symbol 383 MovieClip
"no_on"Symbol 393 MovieClip {index_fla.a_1_46} Frame 1Symbol 386 MovieClip
"yes_off"Symbol 393 MovieClip {index_fla.a_1_46} Frame 1Symbol 389 MovieClip
"yes_on"Symbol 393 MovieClip {index_fla.a_1_46} Frame 1Symbol 392 MovieClip
"a"Symbol 394 MovieClip {index_fla.archi_line1_45} Frame 1Symbol 393 MovieClip {index_fla.a_1_46}
"line4"Symbol 395 MovieClip {index_fla.achievements_new_22} Frame 1Symbol 342 MovieClip {index_fla.archi_line4_23}
"line0"Symbol 395 MovieClip {index_fla.achievements_new_22} Frame 1Symbol 318 MovieClip
"line3"Symbol 395 MovieClip {index_fla.achievements_new_22} Frame 1Symbol 362 MovieClip {index_fla.archi_line3_31}
"line2"Symbol 395 MovieClip {index_fla.achievements_new_22} Frame 1Symbol 378 MovieClip {index_fla.archi_line2_39}
"line1"Symbol 395 MovieClip {index_fla.achievements_new_22} Frame 1Symbol 394 MovieClip {index_fla.archi_line1_45}
"okbtn"Symbol 410 MovieClip {index_fla.windowinfo_51} Frame 1Symbol 409 MovieClip {index_fla.okbtn_53}
"updbtn"Symbol 419 MovieClip {index_fla.update_55} Frame 1Symbol 415 MovieClip {index_fla.updbutton_56}
"helpbtn"Symbol 419 MovieClip {index_fla.update_55} Frame 1Symbol 418 MovieClip {index_fla.helpbtn_57}
"linebg"Symbol 937 MovieClip {topline} Frame 1Symbol 426 MovieClip
"namearea"Symbol 937 MovieClip {topline} Frame 1Symbol 427 EditableText
"scorearea"Symbol 937 MovieClip {topline} Frame 1Symbol 428 EditableText
"flag"Symbol 937 MovieClip {topline} Frame 1Symbol 911 MovieClip {index_fla.flags_60}
"aw_dildo"Symbol 937 MovieClip {topline} Frame 1Symbol 922 MovieClip {index_fla.aw_dildo_61}
"aw_heart"Symbol 937 MovieClip {topline} Frame 1Symbol 929 MovieClip {index_fla.aw_heart_62}
"aw_stars"Symbol 937 MovieClip {topline} Frame 1Symbol 936 MovieClip {index_fla.aw_stars_63}
"eye1"Symbol 1324 MovieClip {index_fla.M2_106} Frame 1Symbol 1225 MovieClip
"eye2"Symbol 1324 MovieClip {index_fla.M2_106} Frame 1Symbol 1228 MovieClip
"eye3"Symbol 1324 MovieClip {index_fla.M2_106} Frame 1Symbol 1231 MovieClip
"mouth2"Symbol 1324 MovieClip {index_fla.M2_106} Frame 1Symbol 1234 MovieClip
"mouth3"Symbol 1324 MovieClip {index_fla.M2_106} Frame 1Symbol 1237 MovieClip
"wet"Symbol 1324 MovieClip {index_fla.M2_106} Frame 1Symbol 1241 MovieClip
"wet3"Symbol 1324 MovieClip {index_fla.M2_106} Frame 1Symbol 1244 MovieClip
"wet2"Symbol 1324 MovieClip {index_fla.M2_106} Frame 1Symbol 1247 MovieClip
"eye1"Symbol 1348 MovieClip {index_fla.M3_115} Frame 1Symbol 1327 MovieClip
"eye2"Symbol 1348 MovieClip {index_fla.M3_115} Frame 1Symbol 1328 MovieClip
"eye3"Symbol 1348 MovieClip {index_fla.M3_115} Frame 1Symbol 1329 MovieClip
"mouth2"Symbol 1348 MovieClip {index_fla.M3_115} Frame 1Symbol 1332 MovieClip
"mouth3"Symbol 1348 MovieClip {index_fla.M3_115} Frame 1Symbol 1335 MovieClip
"wet"Symbol 1348 MovieClip {index_fla.M3_115} Frame 1Symbol 1241 MovieClip
"wet3"Symbol 1348 MovieClip {index_fla.M3_115} Frame 1Symbol 1244 MovieClip
"wet2"Symbol 1348 MovieClip {index_fla.M3_115} Frame 1Symbol 1247 MovieClip
"eye1"Symbol 1364 MovieClip {index_fla.M4_121} Frame 1Symbol 1327 MovieClip
"eye2"Symbol 1364 MovieClip {index_fla.M4_121} Frame 1Symbol 1328 MovieClip
"eye3"Symbol 1364 MovieClip {index_fla.M4_121} Frame 1Symbol 1329 MovieClip
"mouth2"Symbol 1364 MovieClip {index_fla.M4_121} Frame 1Symbol 1332 MovieClip
"mouth3"Symbol 1364 MovieClip {index_fla.M4_121} Frame 1Symbol 1335 MovieClip
"wet"Symbol 1364 MovieClip {index_fla.M4_121} Frame 1Symbol 1241 MovieClip
"wet3"Symbol 1364 MovieClip {index_fla.M4_121} Frame 1Symbol 1244 MovieClip
"wet2"Symbol 1364 MovieClip {index_fla.M4_121} Frame 1Symbol 1247 MovieClip
"eye1"Symbol 1365 MovieClip {index_fla.M4_1_122} Frame 1Symbol 1327 MovieClip
"eye2"Symbol 1365 MovieClip {index_fla.M4_1_122} Frame 1Symbol 1328 MovieClip
"eye3"Symbol 1365 MovieClip {index_fla.M4_1_122} Frame 1Symbol 1329 MovieClip
"mouth2"Symbol 1365 MovieClip {index_fla.M4_1_122} Frame 1Symbol 1332 MovieClip
"mouth3"Symbol 1365 MovieClip {index_fla.M4_1_122} Frame 1Symbol 1335 MovieClip
"wet"Symbol 1365 MovieClip {index_fla.M4_1_122} Frame 1Symbol 1241 MovieClip
"wet3"Symbol 1365 MovieClip {index_fla.M4_1_122} Frame 1Symbol 1244 MovieClip
"wet2"Symbol 1365 MovieClip {index_fla.M4_1_122} Frame 1Symbol 1247 MovieClip
"eye1"Symbol 1376 MovieClip {index_fla.M5_123} Frame 1Symbol 1327 MovieClip
"eye2"Symbol 1376 MovieClip {index_fla.M5_123} Frame 1Symbol 1328 MovieClip
"eye3"Symbol 1376 MovieClip {index_fla.M5_123} Frame 1Symbol 1329 MovieClip
"mouth2"Symbol 1376 MovieClip {index_fla.M5_123} Frame 1Symbol 1332 MovieClip
"mouth3"Symbol 1376 MovieClip {index_fla.M5_123} Frame 1Symbol 1335 MovieClip
"wet"Symbol 1376 MovieClip {index_fla.M5_123} Frame 1Symbol 1241 MovieClip
"wet3"Symbol 1376 MovieClip {index_fla.M5_123} Frame 1Symbol 1244 MovieClip
"wet2"Symbol 1376 MovieClip {index_fla.M5_123} Frame 1Symbol 1247 MovieClip
"eye1"Symbol 1377 MovieClip {index_fla.M4_2_124} Frame 1Symbol 1327 MovieClip
"eye2"Symbol 1377 MovieClip {index_fla.M4_2_124} Frame 1Symbol 1328 MovieClip
"eye3"Symbol 1377 MovieClip {index_fla.M4_2_124} Frame 1Symbol 1329 MovieClip
"mouth2"Symbol 1377 MovieClip {index_fla.M4_2_124} Frame 1Symbol 1332 MovieClip
"mouth3"Symbol 1377 MovieClip {index_fla.M4_2_124} Frame 1Symbol 1335 MovieClip
"wet"Symbol 1377 MovieClip {index_fla.M4_2_124} Frame 1Symbol 1241 MovieClip
"wet3"Symbol 1377 MovieClip {index_fla.M4_2_124} Frame 1Symbol 1244 MovieClip
"wet2"Symbol 1377 MovieClip {index_fla.M4_2_124} Frame 1Symbol 1247 MovieClip
"lm"Symbol 1420 MovieClip {index_fla.lifeindicator_159} Frame 1Symbol 1392 MovieClip
"lg"Symbol 1420 MovieClip {index_fla.lifeindicator_159} Frame 1Symbol 1419 MovieClip {index_fla.life_gone_161}
"mmtext"Symbol 1574 MovieClip {index_fla.menu_records_178} Frame 1Symbol 1532 MovieClip
"linesplace"Symbol 1574 MovieClip {index_fla.menu_records_178} Frame 1Symbol 318 MovieClip
"tab1"Symbol 1574 MovieClip {index_fla.menu_records_178} Frame 36Symbol 1564 MovieClip
"tab2"Symbol 1574 MovieClip {index_fla.menu_records_178} Frame 36Symbol 1567 MovieClip
"tab3"Symbol 1574 MovieClip {index_fla.menu_records_178} Frame 36Symbol 1570 MovieClip
"tab4"Symbol 1574 MovieClip {index_fla.menu_records_178} Frame 36Symbol 1573 MovieClip
"bar1"Symbol 1574 MovieClip {index_fla.menu_records_178} Frame 36Symbol 317 MovieClip {index_fla.sm_btn_18}
"bar2"Symbol 1574 MovieClip {index_fla.menu_records_178} Frame 36Symbol 317 MovieClip {index_fla.sm_btn_18}
"bar3"Symbol 1574 MovieClip {index_fla.menu_records_178} Frame 36Symbol 317 MovieClip {index_fla.sm_btn_18}
"bar4"Symbol 1574 MovieClip {index_fla.menu_records_178} Frame 36Symbol 317 MovieClip {index_fla.sm_btn_18}
"msg"Symbol 1587 MovieClip {index_fla.window_184} Frame 1Symbol 1575 EditableText
"btnok"Symbol 1587 MovieClip {index_fla.window_184} Frame 1Symbol 1580 MovieClip {index_fla.msgbtnok_185}
"btncancel"Symbol 1587 MovieClip {index_fla.window_184} Frame 1Symbol 1585 MovieClip {index_fla.msgbtncancel_186}
"editname"Symbol 1587 MovieClip {index_fla.window_184} Frame 1Symbol 1586 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.




http://swfchan.com/45/224277/info.shtml
Created: 15/9 -2019 13:17:50 Last modified: 15/9 -2019 13:17:50 Server time: 22/12 -2024 23:23:32