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/52048352?noj=FRM52048352-22DC" width="1" height="1"></div>

index_air.swf

This is the info page for
Flash #50939

(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.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; 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.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; 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.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; 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.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Dynamics.*; import Box2D.Collision.*; 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.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Dynamics.*; import Box2D.Collision.*; 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.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; 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.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; 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.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Dynamics.*; import Box2D.Collision.*; 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.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Dynamics.*; import Box2D.Collision.*; 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.Collision.Shapes.*; import Box2D.Dynamics.Contacts.*; import Box2D.Dynamics.Joints.*; 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.Shapes.*; import Box2D.Dynamics.Contacts.*; import Box2D.Collision.*; 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.Contacts.*; import Box2D.Dynamics.Joints.*; 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.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Dynamics.Contacts.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.*; 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_75 (index_air_fla.3_1_75) package index_air_fla { import flash.display.*; public dynamic class 3_1_75 extends MovieClip { public function 3_1_75(){ addFrameScript(19, frame20); } function frame20(){ stop(); } } }//package index_air_fla
Section 64
//3_2_76 (index_air_fla.3_2_76) package index_air_fla { import flash.display.*; public dynamic class 3_2_76 extends MovieClip { public function 3_2_76(){ addFrameScript(20, frame21); } function frame21(){ stop(); } } }//package index_air_fla
Section 65
//3_71 (index_air_fla.3_71) package index_air_fla { import flash.display.*; public dynamic class 3_71 extends MovieClip { public function 3_71(){ addFrameScript(22, frame23); } function frame23(){ stop(); } } }//package index_air_fla
Section 66
//a_1_46 (index_air_fla.a_1_46) package index_air_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_air_fla
Section 67
//a_2_40 (index_air_fla.a_2_40) package index_air_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_air_fla
Section 68
//a_3_32 (index_air_fla.a_3_32) package index_air_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_air_fla
Section 69
//a_4_24 (index_air_fla.a_4_24) package index_air_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_air_fla
Section 70
//achievements_new_22 (index_air_fla.achievements_new_22) package index_air_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_air_fla
Section 71
//archi_line1_45 (index_air_fla.archi_line1_45) package index_air_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_air_fla
Section 72
//archi_line2_39 (index_air_fla.archi_line2_39) package index_air_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_air_fla
Section 73
//archi_line3_31 (index_air_fla.archi_line3_31) package index_air_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_air_fla
Section 74
//archi_line4_23 (index_air_fla.archi_line4_23) package index_air_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_air_fla
Section 75
//aw_dildo_62 (index_air_fla.aw_dildo_62) package index_air_fla { import flash.display.*; public dynamic class aw_dildo_62 extends MovieClip { public function aw_dildo_62(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 76
//aw_heart_63 (index_air_fla.aw_heart_63) package index_air_fla { import flash.display.*; public dynamic class aw_heart_63 extends MovieClip { public function aw_heart_63(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 77
//aw_stars_64 (index_air_fla.aw_stars_64) package index_air_fla { import flash.display.*; public dynamic class aw_stars_64 extends MovieClip { public function aw_stars_64(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 78
//ballmc_136 (index_air_fla.ballmc_136) package index_air_fla { import flash.display.*; public dynamic class ballmc_136 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_air_fla
Section 79
//bita_128 (index_air_fla.bita_128) package index_air_fla { import flash.display.*; public dynamic class bita_128 extends MovieClip { public var barmask:MovieClip; public var bitagreen:MovieClip; } }//package index_air_fla
Section 80
//circle_134 (index_air_fla.circle_134) package index_air_fla { import flash.display.*; public dynamic class circle_134 extends MovieClip { public function circle_134(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 81
//dark_167 (index_air_fla.dark_167) package index_air_fla { import flash.events.*; import flash.display.*; public dynamic class dark_167 extends MovieClip { public function dark_167(){ addFrameScript(19, frame20); } function frame20(){ stop(); dispatchEvent(new Event("DONE")); } } }//package index_air_fla
Section 82
//ending_174 (index_air_fla.ending_174) package index_air_fla { import flash.display.*; import flash.media.*; public dynamic class ending_174 extends MovieClip { public function ending_174(){ 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_air_fla
Section 83
//extrasbg_189 (index_air_fla.extrasbg_189) package index_air_fla { import flash.display.*; public dynamic class extrasbg_189 extends MovieClip { public function extrasbg_189(){ addFrameScript(19, frame20); } function frame20(){ stop(); } } }//package index_air_fla
Section 84
//flags_61 (index_air_fla.flags_61) package index_air_fla { import flash.display.*; public dynamic class flags_61 extends MovieClip { public function flags_61(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 85
//flash1_145 (index_air_fla.flash1_145) package index_air_fla { import flash.display.*; public dynamic class flash1_145 extends MovieClip { public function flash1_145(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 86
//flash2_146 (index_air_fla.flash2_146) package index_air_fla { import flash.display.*; public dynamic class flash2_146 extends MovieClip { public function flash2_146(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 87
//flash3_147 (index_air_fla.flash3_147) package index_air_fla { import flash.display.*; public dynamic class flash3_147 extends MovieClip { public function flash3_147(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 88
//flash4_148 (index_air_fla.flash4_148) package index_air_fla { import flash.display.*; public dynamic class flash4_148 extends MovieClip { public function flash4_148(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 89
//flash5_149 (index_air_fla.flash5_149) package index_air_fla { import flash.display.*; public dynamic class flash5_149 extends MovieClip { public function flash5_149(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 90
//flash6_150 (index_air_fla.flash6_150) package index_air_fla { import flash.display.*; public dynamic class flash6_150 extends MovieClip { public function flash6_150(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 91
//flash7_151 (index_air_fla.flash7_151) package index_air_fla { import flash.display.*; public dynamic class flash7_151 extends MovieClip { public function flash7_151(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 92
//flash8_152 (index_air_fla.flash8_152) package index_air_fla { import flash.display.*; public dynamic class flash8_152 extends MovieClip { public function flash8_152(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 93
//flashes_144 (index_air_fla.flashes_144) package index_air_fla { import flash.display.*; public dynamic class flashes_144 extends MovieClip { public var light:MovieClip; public function flashes_144(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 94
//game_over_168 (index_air_fla.game_over_168) package index_air_fla { import flash.display.*; import flash.media.*; public dynamic class game_over_168 extends MovieClip { public function game_over_168(){ 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_air_fla
Section 95
//helpbtn_58 (index_air_fla.helpbtn_58) package index_air_fla { import flash.display.*; public dynamic class helpbtn_58 extends MovieClip { public function helpbtn_58(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 96
//life_gone_162 (index_air_fla.life_gone_162) package index_air_fla { import flash.display.*; public dynamic class life_gone_162 extends MovieClip { public function life_gone_162(){ addFrameScript(12, frame13); } function frame13(){ visible = false; } } }//package index_air_fla
Section 97
//lifeindicator_160 (index_air_fla.lifeindicator_160) package index_air_fla { import flash.display.*; public dynamic class lifeindicator_160 extends MovieClip { public var lg:MovieClip; public var lm:MovieClip; } }//package index_air_fla
Section 98
//LOADING_SCREEN_1 (index_air_fla.LOADING_SCREEN_1) package index_air_fla { import flash.events.*; import flash.display.*; public dynamic class LOADING_SCREEN_1 extends MovieClip { public var preloadermask:MovieClip; public var shin:MovieClip; public var Muny: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_air_fla
Section 99
//LOADING_SCREEN_START_16 (index_air_fla.LOADING_SCREEN_START_16) package index_air_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_air_fla
Section 100
//M2_107 (index_air_fla.M2_107) package index_air_fla { import flash.display.*; public dynamic class M2_107 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 wet2:MovieClip; public var wet3:MovieClip; } }//package index_air_fla
Section 101
//M3_116 (index_air_fla.M3_116) package index_air_fla { import flash.display.*; public dynamic class M3_116 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 wet2:MovieClip; public var wet3:MovieClip; } }//package index_air_fla
Section 102
//M4_1_123 (index_air_fla.M4_1_123) package index_air_fla { import flash.display.*; public dynamic class M4_1_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 wet2:MovieClip; public var wet3:MovieClip; } }//package index_air_fla
Section 103
//M4_122 (index_air_fla.M4_122) package index_air_fla { import flash.display.*; public dynamic class M4_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 wet2:MovieClip; public var wet3:MovieClip; } }//package index_air_fla
Section 104
//M4_2_125 (index_air_fla.M4_2_125) package index_air_fla { import flash.display.*; public dynamic class M4_2_125 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 wet2:MovieClip; public var wet3:MovieClip; } }//package index_air_fla
Section 105
//M5_124 (index_air_fla.M5_124) package index_air_fla { import flash.display.*; public dynamic class M5_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 wet2:MovieClip; public var wet3:MovieClip; } }//package index_air_fla
Section 106
//MainTimeline (index_air_fla.MainTimeline) package index_air_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 timearea:MovieClip; public var gamecombo:uint; public var version: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 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; }; }; } 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.btn1_1.visible = true; infowindow.okbtn.y = 95; }); infowindow.okbtn.addEventListener(MouseEvent.ROLL_OUT, function (_arg1:Event):void{ infowindow.okbtn.btn1_1.visible = false; 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&note=air"))); }); 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 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 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 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 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++; }; } } }//package index_air_fla
Section 107
//menu_14 (index_air_fla.menu_14) package index_air_fla { import flash.display.*; public dynamic class menu_14 extends MovieClip { public function menu_14(){ addFrameScript(33, frame34); } function frame34(){ stop(); } } }//package index_air_fla
Section 108
//menu_records_179 (index_air_fla.menu_records_179) package index_air_fla { import flash.events.*; import flash.display.*; public dynamic class menu_records_179 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_179(){ addFrameScript(0, frame1, 35, frame36); } function frame1(){ stop(); } function frame36(){ stop(); dispatchEvent(new Event("DONE")); } } }//package index_air_fla
Section 109
//msgbtncancel_187 (index_air_fla.msgbtncancel_187) package index_air_fla { import flash.display.*; public dynamic class msgbtncancel_187 extends MovieClip { public function msgbtncancel_187(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 110
//msgbtnok_186 (index_air_fla.msgbtnok_186) package index_air_fla { import flash.display.*; public dynamic class msgbtnok_186 extends MovieClip { public function msgbtnok_186(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 111
//Muny_2 (index_air_fla.Muny_2) package index_air_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_air_fla
Section 112
//Muny_new_21 (index_air_fla.Muny_new_21) package index_air_fla { import flash.display.*; public dynamic class Muny_new_21 extends MovieClip { public var old:MovieClip; } }//package index_air_fla
Section 113
//okbtn_53 (index_air_fla.okbtn_53) package index_air_fla { import flash.display.*; public dynamic class okbtn_53 extends MovieClip { public var btn1_1:MovieClip; public function okbtn_53(){ addFrameScript(0, frame1); } function frame1(){ btn1_1.visible = false; } } }//package index_air_fla
Section 114
//oppening_65 (index_air_fla.oppening_65) package index_air_fla { import flash.display.*; import flash.media.*; public dynamic class oppening_65 extends MovieClip { public function oppening_65(){ 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_air_fla
Section 115
//rb_131 (index_air_fla.rb_131) package index_air_fla { import flash.display.*; public dynamic class rb_131 extends MovieClip { public var other:MovieClip; } }//package index_air_fla
Section 116
//sm_btn_18 (index_air_fla.sm_btn_18) package index_air_fla { import flash.display.*; public dynamic class sm_btn_18 extends MovieClip { public var bg:MovieClip; } }//package index_air_fla
Section 117
//soundbtn_164 (index_air_fla.soundbtn_164) package index_air_fla { import flash.display.*; public dynamic class soundbtn_164 extends MovieClip { public function soundbtn_164(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 118
//Symbol10_172 (index_air_fla.Symbol10_172) package index_air_fla { import flash.display.*; public dynamic class Symbol10_172 extends MovieClip { public function Symbol10_172(){ addFrameScript(24, frame25); } function frame25(){ stop(); } } }//package index_air_fla
Section 119
//Symbol3_86 (index_air_fla.Symbol3_86) package index_air_fla { import flash.display.*; public dynamic class Symbol3_86 extends MovieClip { public function Symbol3_86(){ addFrameScript(49, frame50); } function frame50(){ stop(); } } }//package index_air_fla
Section 120
//Symbol5_91 (index_air_fla.Symbol5_91) package index_air_fla { import flash.display.*; public dynamic class Symbol5_91 extends MovieClip { public function Symbol5_91(){ addFrameScript(49, frame50); } function frame50(){ stop(); } } }//package index_air_fla
Section 121
//Symbol6_70 (index_air_fla.Symbol6_70) package index_air_fla { import flash.display.*; public dynamic class Symbol6_70 extends MovieClip { public function Symbol6_70(){ addFrameScript(23, frame24); } function frame24(){ stop(); } } }//package index_air_fla
Section 122
//Symbol7_94 (index_air_fla.Symbol7_94) package index_air_fla { import flash.display.*; public dynamic class Symbol7_94 extends MovieClip { public function Symbol7_94(){ addFrameScript(149, frame150); } function frame150(){ stop(); } } }//package index_air_fla
Section 123
//Symbol8_100 (index_air_fla.Symbol8_100) package index_air_fla { import flash.display.*; public dynamic class Symbol8_100 extends MovieClip { public function Symbol8_100(){ addFrameScript(49, frame50); } function frame50(){ stop(); } } }//package index_air_fla
Section 124
//Symbol9_104 (index_air_fla.Symbol9_104) package index_air_fla { import flash.display.*; public dynamic class Symbol9_104 extends MovieClip { public function Symbol9_104(){ addFrameScript(9, frame10); } function frame10(){ stop(); } } }//package index_air_fla
Section 125
//t1_67 (index_air_fla.t1_67) package index_air_fla { import flash.display.*; public dynamic class t1_67 extends MovieClip { public function t1_67(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 126
//t10_81 (index_air_fla.t10_81) package index_air_fla { import flash.display.*; public dynamic class t10_81 extends MovieClip { public function t10_81(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 127
//t11_82 (index_air_fla.t11_82) package index_air_fla { import flash.display.*; public dynamic class t11_82 extends MovieClip { public function t11_82(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 128
//t12_83 (index_air_fla.t12_83) package index_air_fla { import flash.display.*; public dynamic class t12_83 extends MovieClip { public function t12_83(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 129
//t13_84 (index_air_fla.t13_84) package index_air_fla { import flash.display.*; public dynamic class t13_84 extends MovieClip { public function t13_84(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 130
//t14_85 (index_air_fla.t14_85) package index_air_fla { import flash.display.*; public dynamic class t14_85 extends MovieClip { public function t14_85(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 131
//t15_89 (index_air_fla.t15_89) package index_air_fla { import flash.display.*; public dynamic class t15_89 extends MovieClip { public function t15_89(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 132
//t16_90 (index_air_fla.t16_90) package index_air_fla { import flash.display.*; public dynamic class t16_90 extends MovieClip { public function t16_90(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 133
//t17_92 (index_air_fla.t17_92) package index_air_fla { import flash.display.*; public dynamic class t17_92 extends MovieClip { public function t17_92(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 134
//t18_93 (index_air_fla.t18_93) package index_air_fla { import flash.display.*; public dynamic class t18_93 extends MovieClip { public function t18_93(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 135
//t19_95 (index_air_fla.t19_95) package index_air_fla { import flash.display.*; public dynamic class t19_95 extends MovieClip { public function t19_95(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 136
//t2_68 (index_air_fla.t2_68) package index_air_fla { import flash.display.*; public dynamic class t2_68 extends MovieClip { public function t2_68(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 137
//t20_96 (index_air_fla.t20_96) package index_air_fla { import flash.display.*; public dynamic class t20_96 extends MovieClip { public function t20_96(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 138
//t21_97 (index_air_fla.t21_97) package index_air_fla { import flash.display.*; public dynamic class t21_97 extends MovieClip { public function t21_97(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 139
//t22_98 (index_air_fla.t22_98) package index_air_fla { import flash.display.*; public dynamic class t22_98 extends MovieClip { public function t22_98(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 140
//t23_99 (index_air_fla.t23_99) package index_air_fla { import flash.display.*; public dynamic class t23_99 extends MovieClip { public function t23_99(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 141
//t24_101 (index_air_fla.t24_101) package index_air_fla { import flash.display.*; public dynamic class t24_101 extends MovieClip { public function t24_101(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 142
//t25_102 (index_air_fla.t25_102) package index_air_fla { import flash.display.*; public dynamic class t25_102 extends MovieClip { public function t25_102(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 143
//t26_103 (index_air_fla.t26_103) package index_air_fla { import flash.display.*; public dynamic class t26_103 extends MovieClip { public function t26_103(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 144
//t27_169 (index_air_fla.t27_169) package index_air_fla { import flash.display.*; public dynamic class t27_169 extends MovieClip { public function t27_169(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 145
//t28_170 (index_air_fla.t28_170) package index_air_fla { import flash.display.*; public dynamic class t28_170 extends MovieClip { public function t28_170(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 146
//t29_171 (index_air_fla.t29_171) package index_air_fla { import flash.display.*; public dynamic class t29_171 extends MovieClip { public function t29_171(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 147
//t3_69 (index_air_fla.t3_69) package index_air_fla { import flash.display.*; public dynamic class t3_69 extends MovieClip { public function t3_69(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 148
//t30_173 (index_air_fla.t30_173) package index_air_fla { import flash.display.*; public dynamic class t30_173 extends MovieClip { public function t30_173(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 149
//t31_175 (index_air_fla.t31_175) package index_air_fla { import flash.display.*; public dynamic class t31_175 extends MovieClip { public function t31_175(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 150
//t32_177 (index_air_fla.t32_177) package index_air_fla { import flash.display.*; public dynamic class t32_177 extends MovieClip { public function t32_177(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 151
//t33_178 (index_air_fla.t33_178) package index_air_fla { import flash.display.*; public dynamic class t33_178 extends MovieClip { public function t33_178(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 152
//t4_72 (index_air_fla.t4_72) package index_air_fla { import flash.display.*; public dynamic class t4_72 extends MovieClip { public function t4_72(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 153
//t5_73 (index_air_fla.t5_73) package index_air_fla { import flash.display.*; public dynamic class t5_73 extends MovieClip { public function t5_73(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 154
//t6_74 (index_air_fla.t6_74) package index_air_fla { import flash.display.*; public dynamic class t6_74 extends MovieClip { public function t6_74(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 155
//t7_77 (index_air_fla.t7_77) package index_air_fla { import flash.display.*; public dynamic class t7_77 extends MovieClip { public function t7_77(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 156
//t8_78 (index_air_fla.t8_78) package index_air_fla { import flash.display.*; public dynamic class t8_78 extends MovieClip { public function t8_78(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 157
//t9_80 (index_air_fla.t9_80) package index_air_fla { import flash.display.*; public dynamic class t9_80 extends MovieClip { public function t9_80(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 158
//update_56 (index_air_fla.update_56) package index_air_fla { import flash.display.*; public dynamic class update_56 extends MovieClip { public var helpbtn:MovieClip; public var updbtn:MovieClip; } }//package index_air_fla
Section 159
//updbutton_57 (index_air_fla.updbutton_57) package index_air_fla { import flash.display.*; public dynamic class updbutton_57 extends MovieClip { public function updbutton_57(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package index_air_fla
Section 160
//white_153 (index_air_fla.white_153) package index_air_fla { import flash.display.*; public dynamic class white_153 extends MovieClip { public function white_153(){ addFrameScript(4, frame5); } function frame5(){ stop(); } } }//package index_air_fla
Section 161
//whoom_166 (index_air_fla.whoom_166) package index_air_fla { import flash.display.*; public dynamic class whoom_166 extends MovieClip { public function whoom_166(){ addFrameScript(12, frame13); } function frame13(){ stop(); visible = false; } } }//package index_air_fla
Section 162
//window_185 (index_air_fla.window_185) package index_air_fla { import flash.display.*; import flash.text.*; public dynamic class window_185 extends MovieClip { public var btnok:MovieClip; public var msg:TextField; public var editname:TextField; public var btncancel:MovieClip; } }//package index_air_fla
Section 163
//windowinfo_51 (index_air_fla.windowinfo_51) package index_air_fla { import flash.display.*; public dynamic class windowinfo_51 extends MovieClip { public var okbtn:MovieClip; } }//package index_air_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.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Dynamics.Contacts.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.*; import Box2D.Collision.*; 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 1592
Symbol 53 GraphicUses:52Used by:106
Symbol 54 BitmapUsed by:55 1592
Symbol 55 GraphicUses:54Used by:106
Symbol 56 BitmapUsed by:57 1592
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 1432
Symbol 63 GraphicUses:62Used by:106
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:106
Symbol 66 BitmapUsed by:67 1432
Symbol 67 GraphicUses:66Used by:106
Symbol 68 BitmapUsed by:69 1432
Symbol 69 GraphicUses:68Used by:106
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:106
Symbol 72 BitmapUsed by:73 1592
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 1432
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 1432
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_air_fla.bita_128}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_air_fla.rb_131}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_air_fla.circle_134}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_air_fla.flash1_145}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_air_fla.flash2_146}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_air_fla.flash3_147}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_air_fla.flash4_148}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_air_fla.flash5_149}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_air_fla.flash6_150}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_air_fla.flash7_151}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_air_fla.flash8_152}Uses:201 202Used by:204
Symbol 204 MovieClip {index_air_fla.flashes_144}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_air_fla.white_153}Uses:206Used by:208
Symbol 208 MovieClip {index_air_fla.ballmc_136}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_air_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 1595
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 1575
Symbol 274 GraphicUsed by:304 1575
Symbol 275 BitmapUsed by:276
Symbol 276 GraphicUses:275Used by:304 1591
Symbol 277 GraphicUsed by:304 1575
Symbol 278 GraphicUsed by:304 1575
Symbol 279 GraphicUsed by:304 1575
Symbol 280 GraphicUsed by:304 1575
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_air_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_air_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 1217 1386 1393  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_air_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 416 419  Timeline
Symbol 316 MovieClipUses:315Used by:317
Symbol 317 MovieClip {index_air_fla.sm_btn_18}Uses:316Used by:1575  Timeline
Symbol 318 MovieClipUsed by:395 1575  Timeline
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClip {index_air_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_air_fla.a_4_24}Uses:322 325 328 331 334 337 340Used by:342
Symbol 342 MovieClip {index_air_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_air_fla.a_3_32}Uses:322 345 348 351 354 357 360Used by:362
Symbol 362 MovieClip {index_air_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_air_fla.a_2_40}Uses:364 367 370 373 376Used by:378
Symbol 378 MovieClip {index_air_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_air_fla.a_1_46}Uses:380 383 386 389 392Used by:394
Symbol 394 MovieClip {index_air_fla.archi_line1_45}Uses:393Used by:395
Symbol 395 MovieClip {index_air_fla.achievements_new_22}Uses:342 318 362 378 394Used by:Timeline
Symbol 396 GraphicUsed by:411
Symbol 397 BitmapUsed by:398
Symbol 398 GraphicUses:397Used by:399 1588
Symbol 399 MovieClipUses:398Used by:411
Symbol 400 FontUsed by:402 403 1576 1587
Symbol 401 FontUsed by:402 403 428 429
Symbol 402 TextUses:400 401Used by:411
Symbol 403 EditableTextUses:400 401Used by:411
Symbol 404 BitmapUsed by:405
Symbol 405 GraphicUses:404Used by:406
Symbol 406 MovieClipUses:405Used by:410
Symbol 407 BitmapUsed by:408
Symbol 408 GraphicUses:407Used by:409
Symbol 409 MovieClipUses:408Used by:410
Symbol 410 MovieClip {index_air_fla.okbtn_53}Uses:406 409Used by:411
Symbol 411 MovieClip {index_air_fla.windowinfo_51}Uses:396 399 402 403 410Used by:Timeline
Symbol 412 BitmapUsed by:413
Symbol 413 GraphicUses:412Used by:420
Symbol 414 BitmapUsed by:415
Symbol 415 GraphicUses:414Used by:416
Symbol 416 MovieClip {index_air_fla.updbutton_57}Uses:315 415Used by:420
Symbol 417 BitmapUsed by:418
Symbol 418 GraphicUses:417Used by:419
Symbol 419 MovieClip {index_air_fla.helpbtn_58}Uses:315 418Used by:420
Symbol 420 MovieClip {index_air_fla.update_56}Uses:413 416 419Used by:Timeline
Symbol 421 Sound {menu_music}Used by:Timeline
Symbol 422 Sound {bar_4}Used by:Timeline
Symbol 423 Sound {bar_3}Used by:Timeline
Symbol 424 Sound {bar_2}Used by:Timeline
Symbol 425 Sound {bar_1}Used by:Timeline
Symbol 426 GraphicUsed by:427
Symbol 427 MovieClipUses:426Used by:938
Symbol 428 EditableTextUses:401Used by:938
Symbol 429 EditableTextUses:401Used by:938
Symbol 430 BitmapUsed by:431
Symbol 431 GraphicUses:430Used by:912
Symbol 432 BitmapUsed by:433
Symbol 433 GraphicUses:432Used by:912
Symbol 434 BitmapUsed by:435
Symbol 435 GraphicUses:434Used by:912
Symbol 436 BitmapUsed by:437
Symbol 437 GraphicUses:436Used by:912
Symbol 438 BitmapUsed by:439
Symbol 439 GraphicUses:438Used by:912
Symbol 440 BitmapUsed by:441
Symbol 441 GraphicUses:440Used by:912
Symbol 442 BitmapUsed by:443
Symbol 443 GraphicUses:442Used by:912
Symbol 444 BitmapUsed by:445
Symbol 445 GraphicUses:444Used by:912
Symbol 446 BitmapUsed by:447
Symbol 447 GraphicUses:446Used by:912
Symbol 448 BitmapUsed by:449
Symbol 449 GraphicUses:448Used by:912
Symbol 450 BitmapUsed by:451
Symbol 451 GraphicUses:450Used by:912
Symbol 452 BitmapUsed by:453
Symbol 453 GraphicUses:452Used by:912
Symbol 454 BitmapUsed by:455
Symbol 455 GraphicUses:454Used by:912
Symbol 456 BitmapUsed by:457
Symbol 457 GraphicUses:456Used by:912
Symbol 458 BitmapUsed by:459
Symbol 459 GraphicUses:458Used by:912
Symbol 460 BitmapUsed by:461
Symbol 461 GraphicUses:460Used by:912
Symbol 462 BitmapUsed by:463
Symbol 463 GraphicUses:462Used by:912
Symbol 464 BitmapUsed by:465
Symbol 465 GraphicUses:464Used by:912
Symbol 466 BitmapUsed by:467
Symbol 467 GraphicUses:466Used by:912
Symbol 468 BitmapUsed by:469
Symbol 469 GraphicUses:468Used by:912
Symbol 470 BitmapUsed by:471
Symbol 471 GraphicUses:470Used by:912
Symbol 472 BitmapUsed by:473
Symbol 473 GraphicUses:472Used by:912
Symbol 474 BitmapUsed by:475
Symbol 475 GraphicUses:474Used by:912
Symbol 476 BitmapUsed by:477
Symbol 477 GraphicUses:476Used by:912
Symbol 478 BitmapUsed by:479
Symbol 479 GraphicUses:478Used by:912
Symbol 480 BitmapUsed by:481
Symbol 481 GraphicUses:480Used by:912
Symbol 482 BitmapUsed by:483
Symbol 483 GraphicUses:482Used by:912
Symbol 484 BitmapUsed by:485
Symbol 485 GraphicUses:484Used by:912
Symbol 486 BitmapUsed by:487
Symbol 487 GraphicUses:486Used by:912
Symbol 488 BitmapUsed by:489
Symbol 489 GraphicUses:488Used by:912
Symbol 490 BitmapUsed by:491
Symbol 491 GraphicUses:490Used by:912
Symbol 492 BitmapUsed by:493
Symbol 493 GraphicUses:492Used by:912
Symbol 494 BitmapUsed by:495
Symbol 495 GraphicUses:494Used by:912
Symbol 496 BitmapUsed by:497
Symbol 497 GraphicUses:496Used by:912
Symbol 498 BitmapUsed by:499
Symbol 499 GraphicUses:498Used by:912
Symbol 500 BitmapUsed by:501
Symbol 501 GraphicUses:500Used by:912
Symbol 502 BitmapUsed by:503
Symbol 503 GraphicUses:502Used by:912
Symbol 504 BitmapUsed by:505
Symbol 505 GraphicUses:504Used by:912
Symbol 506 BitmapUsed by:507
Symbol 507 GraphicUses:506Used by:912
Symbol 508 BitmapUsed by:509
Symbol 509 GraphicUses:508Used by:912
Symbol 510 BitmapUsed by:511
Symbol 511 GraphicUses:510Used by:912
Symbol 512 BitmapUsed by:513
Symbol 513 GraphicUses:512Used by:912
Symbol 514 BitmapUsed by:515
Symbol 515 GraphicUses:514Used by:912
Symbol 516 BitmapUsed by:517
Symbol 517 GraphicUses:516Used by:912
Symbol 518 BitmapUsed by:519
Symbol 519 GraphicUses:518Used by:912
Symbol 520 BitmapUsed by:521
Symbol 521 GraphicUses:520Used by:912
Symbol 522 BitmapUsed by:523
Symbol 523 GraphicUses:522Used by:912
Symbol 524 BitmapUsed by:525
Symbol 525 GraphicUses:524Used by:912
Symbol 526 BitmapUsed by:527
Symbol 527 GraphicUses:526Used by:912
Symbol 528 BitmapUsed by:529
Symbol 529 GraphicUses:528Used by:912
Symbol 530 BitmapUsed by:531
Symbol 531 GraphicUses:530Used by:912
Symbol 532 BitmapUsed by:533
Symbol 533 GraphicUses:532Used by:912
Symbol 534 BitmapUsed by:535
Symbol 535 GraphicUses:534Used by:912
Symbol 536 BitmapUsed by:537
Symbol 537 GraphicUses:536Used by:912
Symbol 538 BitmapUsed by:539
Symbol 539 GraphicUses:538Used by:912
Symbol 540 BitmapUsed by:541
Symbol 541 GraphicUses:540Used by:912
Symbol 542 BitmapUsed by:543
Symbol 543 GraphicUses:542Used by:912
Symbol 544 BitmapUsed by:545
Symbol 545 GraphicUses:544Used by:912
Symbol 546 BitmapUsed by:547
Symbol 547 GraphicUses:546Used by:912
Symbol 548 BitmapUsed by:549
Symbol 549 GraphicUses:548Used by:912
Symbol 550 BitmapUsed by:551
Symbol 551 GraphicUses:550Used by:912
Symbol 552 BitmapUsed by:553
Symbol 553 GraphicUses:552Used by:912
Symbol 554 BitmapUsed by:555
Symbol 555 GraphicUses:554Used by:912
Symbol 556 BitmapUsed by:557
Symbol 557 GraphicUses:556Used by:912
Symbol 558 BitmapUsed by:559
Symbol 559 GraphicUses:558Used by:912
Symbol 560 BitmapUsed by:561
Symbol 561 GraphicUses:560Used by:912
Symbol 562 BitmapUsed by:563
Symbol 563 GraphicUses:562Used by:912
Symbol 564 BitmapUsed by:565
Symbol 565 GraphicUses:564Used by:912
Symbol 566 BitmapUsed by:567
Symbol 567 GraphicUses:566Used by:912
Symbol 568 BitmapUsed by:569
Symbol 569 GraphicUses:568Used by:912
Symbol 570 BitmapUsed by:571
Symbol 571 GraphicUses:570Used by:912
Symbol 572 BitmapUsed by:573
Symbol 573 GraphicUses:572Used by:912
Symbol 574 BitmapUsed by:575
Symbol 575 GraphicUses:574Used by:912
Symbol 576 BitmapUsed by:577
Symbol 577 GraphicUses:576Used by:912
Symbol 578 BitmapUsed by:579
Symbol 579 GraphicUses:578Used by:912
Symbol 580 BitmapUsed by:581
Symbol 581 GraphicUses:580Used by:912
Symbol 582 BitmapUsed by:583
Symbol 583 GraphicUses:582Used by:912
Symbol 584 BitmapUsed by:585
Symbol 585 GraphicUses:584Used by:912
Symbol 586 BitmapUsed by:587
Symbol 587 GraphicUses:586Used by:912
Symbol 588 BitmapUsed by:589
Symbol 589 GraphicUses:588Used by:912
Symbol 590 BitmapUsed by:591
Symbol 591 GraphicUses:590Used by:912
Symbol 592 BitmapUsed by:593
Symbol 593 GraphicUses:592Used by:912
Symbol 594 BitmapUsed by:595
Symbol 595 GraphicUses:594Used by:912
Symbol 596 BitmapUsed by:597
Symbol 597 GraphicUses:596Used by:912
Symbol 598 BitmapUsed by:599
Symbol 599 GraphicUses:598Used by:912
Symbol 600 BitmapUsed by:601
Symbol 601 GraphicUses:600Used by:912
Symbol 602 BitmapUsed by:603
Symbol 603 GraphicUses:602Used by:912
Symbol 604 BitmapUsed by:605
Symbol 605 GraphicUses:604Used by:912
Symbol 606 BitmapUsed by:607
Symbol 607 GraphicUses:606Used by:912
Symbol 608 BitmapUsed by:609
Symbol 609 GraphicUses:608Used by:912
Symbol 610 BitmapUsed by:611
Symbol 611 GraphicUses:610Used by:912
Symbol 612 BitmapUsed by:613
Symbol 613 GraphicUses:612Used by:912
Symbol 614 BitmapUsed by:615
Symbol 615 GraphicUses:614Used by:912
Symbol 616 BitmapUsed by:617
Symbol 617 GraphicUses:616Used by:912
Symbol 618 BitmapUsed by:619
Symbol 619 GraphicUses:618Used by:912
Symbol 620 BitmapUsed by:621
Symbol 621 GraphicUses:620Used by:912
Symbol 622 BitmapUsed by:623
Symbol 623 GraphicUses:622Used by:912
Symbol 624 BitmapUsed by:625
Symbol 625 GraphicUses:624Used by:912
Symbol 626 BitmapUsed by:627
Symbol 627 GraphicUses:626Used by:912
Symbol 628 BitmapUsed by:629
Symbol 629 GraphicUses:628Used by:912
Symbol 630 BitmapUsed by:631
Symbol 631 GraphicUses:630Used by:912
Symbol 632 BitmapUsed by:633
Symbol 633 GraphicUses:632Used by:912
Symbol 634 BitmapUsed by:635
Symbol 635 GraphicUses:634Used by:912
Symbol 636 BitmapUsed by:637
Symbol 637 GraphicUses:636Used by:912
Symbol 638 BitmapUsed by:639
Symbol 639 GraphicUses:638Used by:912
Symbol 640 BitmapUsed by:641
Symbol 641 GraphicUses:640Used by:912
Symbol 642 BitmapUsed by:643
Symbol 643 GraphicUses:642Used by:912
Symbol 644 BitmapUsed by:645
Symbol 645 GraphicUses:644Used by:912
Symbol 646 BitmapUsed by:647
Symbol 647 GraphicUses:646Used by:912
Symbol 648 BitmapUsed by:649
Symbol 649 GraphicUses:648Used by:912
Symbol 650 BitmapUsed by:651
Symbol 651 GraphicUses:650Used by:912
Symbol 652 BitmapUsed by:653
Symbol 653 GraphicUses:652Used by:912
Symbol 654 BitmapUsed by:655
Symbol 655 GraphicUses:654Used by:912
Symbol 656 BitmapUsed by:657
Symbol 657 GraphicUses:656Used by:912
Symbol 658 BitmapUsed by:659
Symbol 659 GraphicUses:658Used by:912
Symbol 660 BitmapUsed by:661
Symbol 661 GraphicUses:660Used by:912
Symbol 662 BitmapUsed by:663
Symbol 663 GraphicUses:662Used by:912
Symbol 664 BitmapUsed by:665
Symbol 665 GraphicUses:664Used by:912
Symbol 666 BitmapUsed by:667
Symbol 667 GraphicUses:666Used by:912
Symbol 668 BitmapUsed by:669
Symbol 669 GraphicUses:668Used by:912
Symbol 670 BitmapUsed by:671
Symbol 671 GraphicUses:670Used by:912
Symbol 672 BitmapUsed by:673
Symbol 673 GraphicUses:672Used by:912
Symbol 674 BitmapUsed by:675
Symbol 675 GraphicUses:674Used by:912
Symbol 676 BitmapUsed by:677
Symbol 677 GraphicUses:676Used by:912
Symbol 678 BitmapUsed by:679
Symbol 679 GraphicUses:678Used by:912
Symbol 680 BitmapUsed by:681
Symbol 681 GraphicUses:680Used by:912
Symbol 682 BitmapUsed by:683
Symbol 683 GraphicUses:682Used by:912
Symbol 684 BitmapUsed by:685
Symbol 685 GraphicUses:684Used by:912
Symbol 686 BitmapUsed by:687
Symbol 687 GraphicUses:686Used by:912
Symbol 688 BitmapUsed by:689
Symbol 689 GraphicUses:688Used by:912
Symbol 690 BitmapUsed by:691
Symbol 691 GraphicUses:690Used by:912
Symbol 692 BitmapUsed by:693
Symbol 693 GraphicUses:692Used by:912
Symbol 694 BitmapUsed by:695
Symbol 695 GraphicUses:694Used by:912
Symbol 696 BitmapUsed by:697
Symbol 697 GraphicUses:696Used by:912
Symbol 698 BitmapUsed by:699
Symbol 699 GraphicUses:698Used by:912
Symbol 700 BitmapUsed by:701
Symbol 701 GraphicUses:700Used by:912
Symbol 702 BitmapUsed by:703
Symbol 703 GraphicUses:702Used by:912
Symbol 704 BitmapUsed by:705
Symbol 705 GraphicUses:704Used by:912
Symbol 706 BitmapUsed by:707
Symbol 707 GraphicUses:706Used by:912
Symbol 708 BitmapUsed by:709
Symbol 709 GraphicUses:708Used by:912
Symbol 710 BitmapUsed by:711
Symbol 711 GraphicUses:710Used by:912
Symbol 712 BitmapUsed by:713
Symbol 713 GraphicUses:712Used by:912
Symbol 714 BitmapUsed by:715
Symbol 715 GraphicUses:714Used by:912
Symbol 716 BitmapUsed by:717
Symbol 717 GraphicUses:716Used by:912
Symbol 718 BitmapUsed by:719
Symbol 719 GraphicUses:718Used by:912
Symbol 720 BitmapUsed by:721
Symbol 721 GraphicUses:720Used by:912
Symbol 722 BitmapUsed by:723
Symbol 723 GraphicUses:722Used by:912
Symbol 724 BitmapUsed by:725
Symbol 725 GraphicUses:724Used by:912
Symbol 726 BitmapUsed by:727
Symbol 727 GraphicUses:726Used by:912
Symbol 728 BitmapUsed by:729
Symbol 729 GraphicUses:728Used by:912
Symbol 730 BitmapUsed by:731
Symbol 731 GraphicUses:730Used by:912
Symbol 732 BitmapUsed by:733
Symbol 733 GraphicUses:732Used by:912
Symbol 734 BitmapUsed by:735
Symbol 735 GraphicUses:734Used by:912
Symbol 736 BitmapUsed by:737
Symbol 737 GraphicUses:736Used by:912
Symbol 738 BitmapUsed by:739
Symbol 739 GraphicUses:738Used by:912
Symbol 740 BitmapUsed by:741
Symbol 741 GraphicUses:740Used by:912
Symbol 742 BitmapUsed by:743
Symbol 743 GraphicUses:742Used by:912
Symbol 744 BitmapUsed by:745
Symbol 745 GraphicUses:744Used by:912
Symbol 746 BitmapUsed by:747
Symbol 747 GraphicUses:746Used by:912
Symbol 748 BitmapUsed by:749
Symbol 749 GraphicUses:748Used by:912
Symbol 750 BitmapUsed by:751
Symbol 751 GraphicUses:750Used by:912
Symbol 752 BitmapUsed by:753
Symbol 753 GraphicUses:752Used by:912
Symbol 754 BitmapUsed by:755
Symbol 755 GraphicUses:754Used by:912
Symbol 756 BitmapUsed by:757
Symbol 757 GraphicUses:756Used by:912
Symbol 758 BitmapUsed by:759
Symbol 759 GraphicUses:758Used by:912
Symbol 760 BitmapUsed by:761
Symbol 761 GraphicUses:760Used by:912
Symbol 762 BitmapUsed by:763
Symbol 763 GraphicUses:762Used by:912
Symbol 764 BitmapUsed by:765
Symbol 765 GraphicUses:764Used by:912
Symbol 766 BitmapUsed by:767
Symbol 767 GraphicUses:766Used by:912
Symbol 768 BitmapUsed by:769
Symbol 769 GraphicUses:768Used by:912
Symbol 770 BitmapUsed by:771
Symbol 771 GraphicUses:770Used by:912
Symbol 772 BitmapUsed by:773
Symbol 773 GraphicUses:772Used by:912
Symbol 774 BitmapUsed by:775
Symbol 775 GraphicUses:774Used by:912
Symbol 776 BitmapUsed by:777
Symbol 777 GraphicUses:776Used by:912
Symbol 778 BitmapUsed by:779
Symbol 779 GraphicUses:778Used by:912
Symbol 780 BitmapUsed by:781
Symbol 781 GraphicUses:780Used by:912
Symbol 782 BitmapUsed by:783
Symbol 783 GraphicUses:782Used by:912
Symbol 784 BitmapUsed by:785
Symbol 785 GraphicUses:784Used by:912
Symbol 786 BitmapUsed by:787
Symbol 787 GraphicUses:786Used by:912
Symbol 788 BitmapUsed by:789
Symbol 789 GraphicUses:788Used by:912
Symbol 790 BitmapUsed by:791
Symbol 791 GraphicUses:790Used by:912
Symbol 792 BitmapUsed by:793
Symbol 793 GraphicUses:792Used by:912
Symbol 794 BitmapUsed by:795
Symbol 795 GraphicUses:794Used by:912
Symbol 796 BitmapUsed by:797
Symbol 797 GraphicUses:796Used by:912
Symbol 798 BitmapUsed by:799
Symbol 799 GraphicUses:798Used by:912
Symbol 800 BitmapUsed by:801
Symbol 801 GraphicUses:800Used by:912
Symbol 802 BitmapUsed by:803
Symbol 803 GraphicUses:802Used by:912
Symbol 804 BitmapUsed by:805
Symbol 805 GraphicUses:804Used by:912
Symbol 806 BitmapUsed by:807
Symbol 807 GraphicUses:806Used by:912
Symbol 808 BitmapUsed by:809
Symbol 809 GraphicUses:808Used by:912
Symbol 810 BitmapUsed by:811
Symbol 811 GraphicUses:810Used by:912
Symbol 812 BitmapUsed by:813
Symbol 813 GraphicUses:812Used by:912
Symbol 814 BitmapUsed by:815
Symbol 815 GraphicUses:814Used by:912
Symbol 816 BitmapUsed by:817
Symbol 817 GraphicUses:816Used by:912
Symbol 818 BitmapUsed by:819
Symbol 819 GraphicUses:818Used by:912
Symbol 820 BitmapUsed by:821
Symbol 821 GraphicUses:820Used by:912
Symbol 822 BitmapUsed by:823
Symbol 823 GraphicUses:822Used by:912
Symbol 824 BitmapUsed by:825
Symbol 825 GraphicUses:824Used by:912
Symbol 826 BitmapUsed by:827
Symbol 827 GraphicUses:826Used by:912
Symbol 828 BitmapUsed by:829
Symbol 829 GraphicUses:828Used by:912
Symbol 830 BitmapUsed by:831
Symbol 831 GraphicUses:830Used by:912
Symbol 832 BitmapUsed by:833
Symbol 833 GraphicUses:832Used by:912
Symbol 834 BitmapUsed by:835
Symbol 835 GraphicUses:834Used by:912
Symbol 836 BitmapUsed by:837
Symbol 837 GraphicUses:836Used by:912
Symbol 838 BitmapUsed by:839
Symbol 839 GraphicUses:838Used by:912
Symbol 840 BitmapUsed by:841
Symbol 841 GraphicUses:840Used by:912
Symbol 842 BitmapUsed by:843
Symbol 843 GraphicUses:842Used by:912
Symbol 844 BitmapUsed by:845
Symbol 845 GraphicUses:844Used by:912
Symbol 846 BitmapUsed by:847
Symbol 847 GraphicUses:846Used by:912
Symbol 848 BitmapUsed by:849
Symbol 849 GraphicUses:848Used by:912
Symbol 850 BitmapUsed by:851
Symbol 851 GraphicUses:850Used by:912
Symbol 852 BitmapUsed by:853
Symbol 853 GraphicUses:852Used by:912
Symbol 854 BitmapUsed by:855
Symbol 855 GraphicUses:854Used by:912
Symbol 856 BitmapUsed by:857
Symbol 857 GraphicUses:856Used by:912
Symbol 858 BitmapUsed by:859
Symbol 859 GraphicUses:858Used by:912
Symbol 860 BitmapUsed by:861
Symbol 861 GraphicUses:860Used by:912
Symbol 862 BitmapUsed by:863
Symbol 863 GraphicUses:862Used by:912
Symbol 864 BitmapUsed by:865
Symbol 865 GraphicUses:864Used by:912
Symbol 866 BitmapUsed by:867
Symbol 867 GraphicUses:866Used by:912
Symbol 868 BitmapUsed by:869
Symbol 869 GraphicUses:868Used by:912
Symbol 870 BitmapUsed by:871
Symbol 871 GraphicUses:870Used by:912
Symbol 872 BitmapUsed by:873
Symbol 873 GraphicUses:872Used by:912
Symbol 874 BitmapUsed by:875
Symbol 875 GraphicUses:874Used by:912
Symbol 876 BitmapUsed by:877
Symbol 877 GraphicUses:876Used by:912
Symbol 878 BitmapUsed by:879
Symbol 879 GraphicUses:878Used by:912
Symbol 880 BitmapUsed by:881
Symbol 881 GraphicUses:880Used by:912
Symbol 882 BitmapUsed by:883
Symbol 883 GraphicUses:882Used by:912
Symbol 884 BitmapUsed by:885
Symbol 885 GraphicUses:884Used by:912
Symbol 886 BitmapUsed by:887
Symbol 887 GraphicUses:886Used by:912
Symbol 888 BitmapUsed by:889
Symbol 889 GraphicUses:888Used by:912
Symbol 890 BitmapUsed by:891
Symbol 891 GraphicUses:890Used by:912
Symbol 892 BitmapUsed by:893
Symbol 893 GraphicUses:892Used by:912
Symbol 894 BitmapUsed by:895
Symbol 895 GraphicUses:894Used by:912
Symbol 896 BitmapUsed by:897
Symbol 897 GraphicUses:896Used by:912
Symbol 898 BitmapUsed by:899
Symbol 899 GraphicUses:898Used by:912
Symbol 900 BitmapUsed by:901
Symbol 901 GraphicUses:900Used by:912
Symbol 902 BitmapUsed by:903
Symbol 903 GraphicUses:902Used by:912
Symbol 904 BitmapUsed by:905
Symbol 905 GraphicUses:904Used by:912
Symbol 906 BitmapUsed by:907
Symbol 907 GraphicUses:906Used by:912
Symbol 908 BitmapUsed by:909
Symbol 909 GraphicUses:908Used by:912
Symbol 910 BitmapUsed by:911
Symbol 911 GraphicUses:910Used by:912
Symbol 912 MovieClip {index_air_fla.flags_61}Uses:431 433 435 437 439 441 443 445 447 449 451 453 455 457 459 461 463 465 467 469 471 473 475 477 479 481 483 485 487 489 491 493 495 497 499 501 503 505 507 509 511 513 515 517 519 521 523 525 527 529 531 533 535 537 539 541 543 545 547 549 551 553 555 557 559 561 563 565 567 569 571 573 575 577 579 581 583 585 587 589 591 593 595 597 599 601 603 605 607 609 611 613 615 617 619 621 623 625 627 629 631 633 635 637 639 641 643 645 647 649 651 653 655 657 659 661 663 665 667 669 671 673 675 677 679 681 683 685 687 689 691 693 695 697 699 701 703 705 707 709 711 713 715 717 719 721 723 725 727 729 731 733 735 737 739 741 743 745 747 749 751 753 755 757 759 761 763 765 767 769 771 773 775 777 779 781 783 785 787 789 791 793 795 797 799 801 803 805 807 809 811 813 815 817 819 821 823 825 827 829 831 833 835 837 839 841 843 845 847 849 851 853 855 857 859 861 863 865 867 869 871 873 875 877 879 881 883 885 887 889 891 893 895 897 899 901 903 905 907 909 911Used by:938
Symbol 913 BitmapUsed by:914
Symbol 914 GraphicUses:913Used by:923
Symbol 915 BitmapUsed by:916
Symbol 916 GraphicUses:915Used by:923
Symbol 917 BitmapUsed by:918
Symbol 918 GraphicUses:917Used by:923
Symbol 919 BitmapUsed by:920
Symbol 920 GraphicUses:919Used by:923
Symbol 921 BitmapUsed by:922
Symbol 922 GraphicUses:921Used by:923
Symbol 923 MovieClip {index_air_fla.aw_dildo_62}Uses:914 916 918 920 922Used by:938
Symbol 924 BitmapUsed by:925
Symbol 925 GraphicUses:924Used by:930
Symbol 926 BitmapUsed by:927
Symbol 927 GraphicUses:926Used by:930
Symbol 928 BitmapUsed by:929
Symbol 929 GraphicUses:928Used by:930
Symbol 930 MovieClip {index_air_fla.aw_heart_63}Uses:925 927 929Used by:938
Symbol 931 BitmapUsed by:932
Symbol 932 GraphicUses:931Used by:937
Symbol 933 BitmapUsed by:934
Symbol 934 GraphicUses:933Used by:937
Symbol 935 BitmapUsed by:936
Symbol 936 GraphicUses:935Used by:937
Symbol 937 MovieClip {index_air_fla.aw_stars_64}Uses:932 934 936Used by:938
Symbol 938 MovieClip {topline}Uses:427 428 429 912 923 930 937Used by:Timeline
Symbol 939 Sound {v_09_C}Used by:Timeline
Symbol 940 Sound {v_08_C}Used by:Timeline
Symbol 941 Sound {v_07_B}Used by:Timeline
Symbol 942 Sound {v_06_D}Used by:Timeline
Symbol 943 Sound {v_05_B}Used by:Timeline
Symbol 944 Sound {v_04_A}Used by:Timeline
Symbol 945 Sound {v_03_D}Used by:Timeline
Symbol 946 Sound {v_02_E}Used by:Timeline
Symbol 947 Sound {v_01_A}Used by:Timeline
Symbol 948 Sound {miss}Used by:Timeline
Symbol 949 Sound {hit_4}Used by:Timeline
Symbol 950 Sound {hit_3}Used by:Timeline
Symbol 951 Sound {hit_2}Used by:Timeline
Symbol 952 Sound {hit_1}Used by:Timeline
Symbol 953 Sound {beat6}Used by:Timeline
Symbol 954 Sound {beat5}Used by:Timeline
Symbol 955 Sound {beat4}Used by:Timeline
Symbol 956 Sound {beat3}Used by:Timeline
Symbol 957 Sound {beat2}Used by:Timeline
Symbol 958 Sound {beat1}Used by:Timeline
Symbol 959 BitmapUsed by:960
Symbol 960 GraphicUses:959Used by:1217 1494 1530
Symbol 961 BitmapUsed by:962
Symbol 962 GraphicUses:961Used by:1217
Symbol 963 BitmapUsed by:964
Symbol 964 GraphicUses:963Used by:965
Symbol 965 MovieClipUses:964Used by:1217 1494 1530
Symbol 966 BitmapUsed by:967
Symbol 967 GraphicUses:966Used by:970
Symbol 968 BitmapUsed by:969
Symbol 969 GraphicUses:968Used by:970
Symbol 970 MovieClip {index_air_fla.t1_67}Uses:967 969Used by:1217
Symbol 971 BitmapUsed by:972
Symbol 972 GraphicUses:971Used by:1217 1218
Symbol 973 SoundUsed by:1217
Symbol 974 BitmapUsed by:975
Symbol 975 GraphicUses:974Used by:1217
Symbol 976 BitmapUsed by:977
Symbol 977 GraphicUses:976Used by:980
Symbol 978 BitmapUsed by:979
Symbol 979 GraphicUses:978Used by:980
Symbol 980 MovieClip {index_air_fla.t2_68}Uses:977 979Used by:1217
Symbol 981 SoundUsed by:1217
Symbol 982 BitmapUsed by:983 1046
Symbol 983 GraphicUses:982Used by:1217
Symbol 984 BitmapUsed by:985
Symbol 985 GraphicUses:984Used by:988
Symbol 986 BitmapUsed by:987
Symbol 987 GraphicUses:986Used by:988
Symbol 988 MovieClip {index_air_fla.t3_69}Uses:985 987Used by:1217
Symbol 989 SoundUsed by:1217
Symbol 990 BitmapUsed by:991
Symbol 991 GraphicUses:990Used by:996 1019
Symbol 992 BitmapUsed by:993
Symbol 993 GraphicUses:992Used by:996 1019
Symbol 994 BitmapUsed by:995
Symbol 995 GraphicUses:994Used by:996 1019
Symbol 996 MovieClip {index_air_fla.3_71}Uses:991 993 995Used by:997
Symbol 997 MovieClip {index_air_fla.Symbol6_70}Uses:996Used by:1217
Symbol 998 BitmapUsed by:999
Symbol 999 GraphicUses:998Used by:1002
Symbol 1000 BitmapUsed by:1001
Symbol 1001 GraphicUses:1000Used by:1002
Symbol 1002 MovieClip {index_air_fla.t4_72}Uses:999 1001Used by:1217
Symbol 1003 SoundUsed by:1217
Symbol 1004 BitmapUsed by:1005 1046
Symbol 1005 GraphicUses:1004Used by:1217
Symbol 1006 BitmapUsed by:1007
Symbol 1007 GraphicUses:1006Used by:1010
Symbol 1008 BitmapUsed by:1009
Symbol 1009 GraphicUses:1008Used by:1010
Symbol 1010 MovieClip {index_air_fla.t5_73}Uses:1007 1009Used by:1217
Symbol 1011 SoundUsed by:1217
Symbol 1012 BitmapUsed by:1013
Symbol 1013 GraphicUses:1012Used by:1016
Symbol 1014 BitmapUsed by:1015
Symbol 1015 GraphicUses:1014Used by:1016
Symbol 1016 MovieClip {index_air_fla.t6_74}Uses:1013 1015Used by:1217
Symbol 1017 BitmapUsed by:1018
Symbol 1018 GraphicUses:1017Used by:1019
Symbol 1019 MovieClip {index_air_fla.3_1_75}Uses:991 993 995 1018Used by:1217
Symbol 1020 BitmapUsed by:1021
Symbol 1021 GraphicUses:1020Used by:1044
Symbol 1022 SoundUsed by:1044
Symbol 1023 BitmapUsed by:1024
Symbol 1024 GraphicUses:1023Used by:1044
Symbol 1025 BitmapUsed by:1026
Symbol 1026 GraphicUses:1025Used by:1044
Symbol 1027 SoundUsed by:1044
Symbol 1028 BitmapUsed by:1029
Symbol 1029 GraphicUses:1028Used by:1044
Symbol 1030 BitmapUsed by:1031
Symbol 1031 GraphicUses:1030Used by:1044
Symbol 1032 BitmapUsed by:1033
Symbol 1033 GraphicUses:1032Used by:1044
Symbol 1034 BitmapUsed by:1035
Symbol 1035 GraphicUses:1034Used by:1044
Symbol 1036 BitmapUsed by:1037
Symbol 1037 GraphicUses:1036Used by:1044
Symbol 1038 BitmapUsed by:1039
Symbol 1039 GraphicUses:1038Used by:1044
Symbol 1040 BitmapUsed by:1041
Symbol 1041 GraphicUses:1040Used by:1044
Symbol 1042 BitmapUsed by:1043
Symbol 1043 GraphicUses:1042Used by:1044
Symbol 1044 MovieClip {index_air_fla.3_2_76}Uses:1021 1022 1024 1026 1027 1029 1031 1033 1035 1037 1039 1041 1043Used by:1217
Symbol 1045 SoundUsed by:1217
Symbol 1046 GraphicUses:1004 982Used by:1217
Symbol 1047 BitmapUsed by:1048 1064
Symbol 1048 GraphicUses:1047Used by:1115 1217
Symbol 1049 BitmapUsed by:1051 1064
Symbol 1050 BitmapUsed by:1051 1064
Symbol 1051 GraphicUses:1049 1050Used by:1217
Symbol 1052 GraphicUsed by:1217
Symbol 1053 BitmapUsed by:1054
Symbol 1054 GraphicUses:1053Used by:1057
Symbol 1055 BitmapUsed by:1056
Symbol 1056 GraphicUses:1055Used by:1057
Symbol 1057 MovieClip {index_air_fla.t7_77}Uses:1054 1056Used by:1217
Symbol 1058 SoundUsed by:1217
Symbol 1059 BitmapUsed by:1060
Symbol 1060 GraphicUses:1059Used by:1063
Symbol 1061 BitmapUsed by:1062
Symbol 1062 GraphicUses:1061Used by:1063
Symbol 1063 MovieClip {index_air_fla.t8_78}Uses:1060 1062Used by:1217
Symbol 1064 GraphicUses:1049 1050 1047Used by:1217
Symbol 1065 BitmapUsed by:1066
Symbol 1066 GraphicUses:1065Used by:1217
Symbol 1067 GraphicUsed by:1217
Symbol 1068 BitmapUsed by:1069
Symbol 1069 GraphicUses:1068Used by:1070
Symbol 1070 MovieClipUses:1069Used by:1217
Symbol 1071 BitmapUsed by:1072
Symbol 1072 GraphicUses:1071Used by:1075
Symbol 1073 BitmapUsed by:1074
Symbol 1074 GraphicUses:1073Used by:1075
Symbol 1075 MovieClip {index_air_fla.t9_80}Uses:1072 1074Used by:1217
Symbol 1076 SoundUsed by:1217
Symbol 1077 GraphicUsed by:1217
Symbol 1078 BitmapUsed by:1079
Symbol 1079 GraphicUses:1078Used by:1217
Symbol 1080 BitmapUsed by:1081
Symbol 1081 GraphicUses:1080Used by:1084
Symbol 1082 BitmapUsed by:1083
Symbol 1083 GraphicUses:1082Used by:1084
Symbol 1084 MovieClip {index_air_fla.t10_81}Uses:1081 1083Used by:1217
Symbol 1085 SoundUsed by:1217
Symbol 1086 BitmapUsed by:1087
Symbol 1087 GraphicUses:1086Used by:1090
Symbol 1088 BitmapUsed by:1089
Symbol 1089 GraphicUses:1088Used by:1090
Symbol 1090 MovieClip {index_air_fla.t11_82}Uses:1087 1089Used by:1217
Symbol 1091 BitmapUsed by:1092
Symbol 1092 GraphicUses:1091Used by:1095
Symbol 1093 BitmapUsed by:1094
Symbol 1094 GraphicUses:1093Used by:1095
Symbol 1095 MovieClip {index_air_fla.t12_83}Uses:1092 1094Used by:1217
Symbol 1096 BitmapUsed by:1097
Symbol 1097 GraphicUses:1096Used by:1100
Symbol 1098 BitmapUsed by:1099
Symbol 1099 GraphicUses:1098Used by:1100
Symbol 1100 MovieClip {index_air_fla.t13_84}Uses:1097 1099Used by:1217
Symbol 1101 GraphicUsed by:1217
Symbol 1102 BitmapUsed by:1103
Symbol 1103 GraphicUses:1102Used by:1106
Symbol 1104 BitmapUsed by:1105
Symbol 1105 GraphicUses:1104Used by:1106
Symbol 1106 MovieClip {index_air_fla.t14_85}Uses:1103 1105Used by:1217
Symbol 1107 BitmapUsed by:1108
Symbol 1108 GraphicUses:1107Used by:1109
Symbol 1109 MovieClipUses:1108Used by:1115
Symbol 1110 BitmapUsed by:1112 1113
Symbol 1111 BitmapUsed by:1112 1113
Symbol 1112 GraphicUses:1110 1111Used by:1114
Symbol 1113 GraphicUses:1110 1111Used by:1114
Symbol 1114 MovieClipUses:1112 1113Used by:1115
Symbol 1115 MovieClip {index_air_fla.Symbol3_86}Uses:1048 1109 1114Used by:1217
Symbol 1116 BitmapUsed by:1117
Symbol 1117 GraphicUses:1116Used by:1120
Symbol 1118 BitmapUsed by:1119
Symbol 1119 GraphicUses:1118Used by:1120
Symbol 1120 MovieClip {index_air_fla.t15_89}Uses:1117 1119Used by:1217
Symbol 1121 SoundUsed by:1217
Symbol 1122 BitmapUsed by:1123 1131
Symbol 1123 GraphicUses:1122Used by:1217
Symbol 1124 BitmapUsed by:1125
Symbol 1125 GraphicUses:1124Used by:1128
Symbol 1126 BitmapUsed by:1127
Symbol 1127 GraphicUses:1126Used by:1128
Symbol 1128 MovieClip {index_air_fla.t16_90}Uses:1125 1127Used by:1217
Symbol 1129 SoundUsed by:1217
Symbol 1130 BitmapUsed by:1131
Symbol 1131 GraphicUses:1130 1122Used by:1217
Symbol 1132 SoundUsed by:1217
Symbol 1133 BitmapUsed by:1134
Symbol 1134 GraphicUses:1133Used by:1217
Symbol 1135 BitmapUsed by:1136
Symbol 1136 GraphicUses:1135Used by:1137
Symbol 1137 MovieClip {index_air_fla.Symbol5_91}Uses:1136Used by:1217
Symbol 1138 BitmapUsed by:1139
Symbol 1139 GraphicUses:1138Used by:1142
Symbol 1140 BitmapUsed by:1141
Symbol 1141 GraphicUses:1140Used by:1142
Symbol 1142 MovieClip {index_air_fla.t17_92}Uses:1139 1141Used by:1217
Symbol 1143 BitmapUsed by:1144
Symbol 1144 GraphicUses:1143Used by:1217
Symbol 1145 SoundUsed by:1217
Symbol 1146 BitmapUsed by:1147
Symbol 1147 GraphicUses:1146Used by:1150
Symbol 1148 BitmapUsed by:1149
Symbol 1149 GraphicUses:1148Used by:1150
Symbol 1150 MovieClip {index_air_fla.t18_93}Uses:1147 1149Used by:1217
Symbol 1151 BitmapUsed by:1152
Symbol 1152 GraphicUses:1151Used by:1153 1217
Symbol 1153 MovieClip {index_air_fla.Symbol7_94}Uses:1152Used by:1217
Symbol 1154 BitmapUsed by:1156
Symbol 1155 BitmapUsed by:1156
Symbol 1156 GraphicUses:1154 1155Used by:1217
Symbol 1157 BitmapUsed by:1158
Symbol 1158 GraphicUses:1157Used by:1161
Symbol 1159 BitmapUsed by:1160
Symbol 1160 GraphicUses:1159Used by:1161
Symbol 1161 MovieClip {index_air_fla.t19_95}Uses:1158 1160Used by:1217
Symbol 1162 SoundUsed by:1217
Symbol 1163 BitmapUsed by:1164
Symbol 1164 GraphicUses:1163Used by:1167
Symbol 1165 BitmapUsed by:1166
Symbol 1166 GraphicUses:1165Used by:1167
Symbol 1167 MovieClip {index_air_fla.t20_96}Uses:1164 1166Used by:1217
Symbol 1168 BitmapUsed by:1169
Symbol 1169 GraphicUses:1168Used by:1172
Symbol 1170 BitmapUsed by:1171
Symbol 1171 GraphicUses:1170Used by:1172
Symbol 1172 MovieClip {index_air_fla.t21_97}Uses:1169 1171Used by:1217
Symbol 1173 BitmapUsed by:1176 1177
Symbol 1174 BitmapUsed by:1176 1177
Symbol 1175 BitmapUsed by:1176 1177
Symbol 1176 GraphicUses:1173 1174 1175Used by:1217
Symbol 1177 GraphicUses:1173 1174 1175Used by:1217
Symbol 1178 BitmapUsed by:1179
Symbol 1179 GraphicUses:1178Used by:1182
Symbol 1180 BitmapUsed by:1181
Symbol 1181 GraphicUses:1180Used by:1182
Symbol 1182 MovieClip {index_air_fla.t22_98}Uses:1179 1181Used by:1217
Symbol 1183 BitmapUsed by:1184
Symbol 1184 GraphicUses:1183Used by:1187
Symbol 1185 BitmapUsed by:1186
Symbol 1186 GraphicUses:1185Used by:1187
Symbol 1187 MovieClip {index_air_fla.t23_99}Uses:1184 1186Used by:1217
Symbol 1188 SoundUsed by:1217
Symbol 1189 BitmapUsed by:1190
Symbol 1190 GraphicUses:1189Used by:1217
Symbol 1191 BitmapUsed by:1192
Symbol 1192 GraphicUses:1191Used by:1193
Symbol 1193 MovieClip {index_air_fla.Symbol8_100}Uses:1192Used by:1217
Symbol 1194 BitmapUsed by:1195
Symbol 1195 GraphicUses:1194Used by:1198
Symbol 1196 BitmapUsed by:1197
Symbol 1197 GraphicUses:1196Used by:1198
Symbol 1198 MovieClip {index_air_fla.t24_101}Uses:1195 1197Used by:1217
Symbol 1199 SoundUsed by:1217
Symbol 1200 BitmapUsed by:1201
Symbol 1201 GraphicUses:1200Used by:1204
Symbol 1202 BitmapUsed by:1203
Symbol 1203 GraphicUses:1202Used by:1204
Symbol 1204 MovieClip {index_air_fla.t25_102}Uses:1201 1203Used by:1217
Symbol 1205 BitmapUsed by:1206
Symbol 1206 GraphicUses:1205Used by:1217
Symbol 1207 BitmapUsed by:1208
Symbol 1208 GraphicUses:1207Used by:1211
Symbol 1209 BitmapUsed by:1210
Symbol 1210 GraphicUses:1209Used by:1211
Symbol 1211 MovieClip {index_air_fla.t26_103}Uses:1208 1210Used by:1217
Symbol 1212 SoundUsed by:1217
Symbol 1213 BitmapUsed by:1214
Symbol 1214 GraphicUses:1213Used by:1215
Symbol 1215 MovieClip {index_air_fla.Symbol9_104}Uses:1214Used by:1217
Symbol 1216 SoundUsed by:1217
Symbol 1217 MovieClip {index_air_fla.oppening_65}Uses:960 962 965 970 972 973 975 980 981 983 988 989 306 997 1002 1003 1005 1010 1011 1016 1019 1044 1045 1046 1048 1051 1052 1057 1058 1063 1064 1066 1067 1070 1075 1076 1077 1079 1084 1085 1090 1095 1100 1101 1106 1115 1120 1121 1123 1128 1129 1131 1132 1134 1137 1142 1144 1145 1150 1153 1156 1161 1162 1167 1172 1176 1177 1182 1152 1187 1188 1190 1193 1198 1199 1204 1206 1211 1212 1215 1216Used by:Timeline
Symbol 1218 MovieClipUses:972Used by:Timeline
Symbol 1219 BitmapUsed by:1220
Symbol 1220 GraphicUses:1219Used by:1221
Symbol 1221 MovieClipUses:1220Used by:Timeline
Symbol 1222 BitmapUsed by:1223
Symbol 1223 GraphicUses:1222Used by:1325
Symbol 1224 BitmapUsed by:1225
Symbol 1225 GraphicUses:1224Used by:1226 1328
Symbol 1226 MovieClipUses:1225Used by:1325
Symbol 1227 BitmapUsed by:1228
Symbol 1228 GraphicUses:1227Used by:1229 1329
Symbol 1229 MovieClipUses:1228Used by:1325
Symbol 1230 BitmapUsed by:1231
Symbol 1231 GraphicUses:1230Used by:1232 1330
Symbol 1232 MovieClipUses:1231Used by:1325
Symbol 1233 BitmapUsed by:1234
Symbol 1234 GraphicUses:1233Used by:1235
Symbol 1235 MovieClipUses:1234Used by:1325
Symbol 1236 BitmapUsed by:1237
Symbol 1237 GraphicUses:1236Used by:1238
Symbol 1238 MovieClipUses:1237Used by:1325
Symbol 1239 GraphicUsed by:1325 1349 1365 1366 1377 1378
Symbol 1240 BitmapUsed by:1241
Symbol 1241 GraphicUses:1240Used by:1242
Symbol 1242 MovieClipUses:1241Used by:1325 1349 1365 1366 1377 1378
Symbol 1243 BitmapUsed by:1244
Symbol 1244 GraphicUses:1243Used by:1245
Symbol 1245 MovieClipUses:1244Used by:1325 1349 1365 1366 1377 1378
Symbol 1246 BitmapUsed by:1247
Symbol 1247 GraphicUses:1246Used by:1248
Symbol 1248 MovieClipUses:1247Used by:1325 1349 1365 1366 1377 1378
Symbol 1249 BitmapUsed by:1256 1354
Symbol 1250 BitmapUsed by:1256
Symbol 1251 BitmapUsed by:1256 1354
Symbol 1252 BitmapUsed by:1256 1354
Symbol 1253 BitmapUsed by:1256 1354
Symbol 1254 BitmapUsed by:1256
Symbol 1255 BitmapUsed by:1256 1354
Symbol 1256 GraphicUses:1249 1250 1251 1252 1253 1254 1255Used by:1325 1349 1365 1366 1378
Symbol 1257 BitmapUsed by:1258
Symbol 1258 GraphicUses:1257Used by:1325
Symbol 1259 BitmapUsed by:1260
Symbol 1260 GraphicUses:1259Used by:1325
Symbol 1261 BitmapUsed by:1262
Symbol 1262 GraphicUses:1261Used by:1325
Symbol 1263 BitmapUsed by:1264
Symbol 1264 GraphicUses:1263Used by:1325
Symbol 1265 BitmapUsed by:1266
Symbol 1266 GraphicUses:1265Used by:1325
Symbol 1267 BitmapUsed by:1268
Symbol 1268 GraphicUses:1267Used by:1325
Symbol 1269 BitmapUsed by:1270
Symbol 1270 GraphicUses:1269Used by:1325
Symbol 1271 BitmapUsed by:1272
Symbol 1272 GraphicUses:1271Used by:1325
Symbol 1273 BitmapUsed by:1274
Symbol 1274 GraphicUses:1273Used by:1325
Symbol 1275 BitmapUsed by:1276
Symbol 1276 GraphicUses:1275Used by:1325
Symbol 1277 BitmapUsed by:1278
Symbol 1278 GraphicUses:1277Used by:1325
Symbol 1279 BitmapUsed by:1280
Symbol 1280 GraphicUses:1279Used by:1325
Symbol 1281 BitmapUsed by:1282
Symbol 1282 GraphicUses:1281Used by:1325
Symbol 1283 BitmapUsed by:1284
Symbol 1284 GraphicUses:1283Used by:1325
Symbol 1285 BitmapUsed by:1286
Symbol 1286 GraphicUses:1285Used by:1325
Symbol 1287 BitmapUsed by:1288
Symbol 1288 GraphicUses:1287Used by:1325
Symbol 1289 BitmapUsed by:1290
Symbol 1290 GraphicUses:1289Used by:1325
Symbol 1291 BitmapUsed by:1292
Symbol 1292 GraphicUses:1291Used by:1325
Symbol 1293 BitmapUsed by:1294
Symbol 1294 GraphicUses:1293Used by:1325
Symbol 1295 BitmapUsed by:1296
Symbol 1296 GraphicUses:1295Used by:1325
Symbol 1297 BitmapUsed by:1298
Symbol 1298 GraphicUses:1297Used by:1325
Symbol 1299 BitmapUsed by:1300
Symbol 1300 GraphicUses:1299Used by:1325
Symbol 1301 BitmapUsed by:1302
Symbol 1302 GraphicUses:1301Used by:1325
Symbol 1303 BitmapUsed by:1304
Symbol 1304 GraphicUses:1303Used by:1325
Symbol 1305 BitmapUsed by:1306
Symbol 1306 GraphicUses:1305Used by:1325
Symbol 1307 BitmapUsed by:1308
Symbol 1308 GraphicUses:1307Used by:1325
Symbol 1309 BitmapUsed by:1310
Symbol 1310 GraphicUses:1309Used by:1325
Symbol 1311 BitmapUsed by:1312
Symbol 1312 GraphicUses:1311Used by:1325
Symbol 1313 BitmapUsed by:1314
Symbol 1314 GraphicUses:1313Used by:1325
Symbol 1315 BitmapUsed by:1316
Symbol 1316 GraphicUses:1315Used by:1325
Symbol 1317 BitmapUsed by:1318
Symbol 1318 GraphicUses:1317Used by:1325
Symbol 1319 BitmapUsed by:1320
Symbol 1320 GraphicUses:1319Used by:1325
Symbol 1321 BitmapUsed by:1322
Symbol 1322 GraphicUses:1321Used by:1325
Symbol 1323 BitmapUsed by:1324
Symbol 1324 GraphicUses:1323Used by:1325
Symbol 1325 MovieClip {index_air_fla.M2_107}Uses:1223 1226 1229 1232 1235 1238 1239 1242 1245 1248 1256 1258 1260 1262 1264 1266 1268 1270 1272 1274 1276 1278 1280 1282 1284 1286 1288 1290 1292 1294 1296 1298 1300 1302 1304 1306 1308 1310 1312 1314 1316 1318 1320 1322 1324Used by:Timeline
Symbol 1326 BitmapUsed by:1327
Symbol 1327 GraphicUses:1326Used by:1349 1365 1366 1378
Symbol 1328 MovieClipUses:1225Used by:1349 1365 1366 1377 1378
Symbol 1329 MovieClipUses:1228Used by:1349 1365 1366 1377 1378
Symbol 1330 MovieClipUses:1231Used by:1349 1365 1366 1377 1378
Symbol 1331 BitmapUsed by:1332
Symbol 1332 GraphicUses:1331Used by:1333
Symbol 1333 MovieClipUses:1332Used by:1349 1365 1366 1377 1378
Symbol 1334 BitmapUsed by:1335
Symbol 1335 GraphicUses:1334Used by:1336
Symbol 1336 MovieClipUses:1335Used by:1349 1365 1366 1377 1378
Symbol 1337 BitmapUsed by:1338
Symbol 1338 GraphicUses:1337Used by:1349
Symbol 1339 BitmapUsed by:1340
Symbol 1340 GraphicUses:1339Used by:1349
Symbol 1341 BitmapUsed by:1342
Symbol 1342 GraphicUses:1341Used by:1349
Symbol 1343 BitmapUsed by:1344
Symbol 1344 GraphicUses:1343Used by:1349
Symbol 1345 BitmapUsed by:1346
Symbol 1346 GraphicUses:1345Used by:1349
Symbol 1347 BitmapUsed by:1348
Symbol 1348 GraphicUses:1347Used by:1349
Symbol 1349 MovieClip {index_air_fla.M3_116}Uses:1327 1328 1329 1330 1333 1336 1239 1242 1245 1248 1256 1338 1340 1342 1344 1346 1348Used by:Timeline
Symbol 1350 BitmapUsed by:1351
Symbol 1351 GraphicUses:1350Used by:1365 1366 1378
Symbol 1352 BitmapUsed by:1354
Symbol 1353 BitmapUsed by:1354
Symbol 1354 GraphicUses:1352 1353 1249 1251 1252 1253 1255Used by:1365 1366 1377 1378
Symbol 1355 BitmapUsed by:1356
Symbol 1356 GraphicUses:1355Used by:1365 1366 1378
Symbol 1357 BitmapUsed by:1358
Symbol 1358 GraphicUses:1357Used by:1365 1366 1378
Symbol 1359 BitmapUsed by:1360
Symbol 1360 GraphicUses:1359Used by:1365 1366 1378
Symbol 1361 BitmapUsed by:1362
Symbol 1362 GraphicUses:1361Used by:1365 1366 1378
Symbol 1363 BitmapUsed by:1364
Symbol 1364 GraphicUses:1363Used by:1365 1377
Symbol 1365 MovieClip {index_air_fla.M4_122}Uses:1327 1328 1329 1330 1333 1336 1239 1242 1245 1248 1256 1351 1354 1356 1358 1360 1362 1364Used by:Timeline
Symbol 1366 MovieClip {index_air_fla.M4_1_123}Uses:1327 1328 1329 1330 1333 1336 1239 1242 1245 1248 1256 1351 1354 1356 1358 1360 1362Used by:Timeline
Symbol 1367 BitmapUsed by:1368
Symbol 1368 GraphicUses:1367Used by:1377
Symbol 1369 BitmapUsed by:1370
Symbol 1370 GraphicUses:1369Used by:1377
Symbol 1371 BitmapUsed by:1372
Symbol 1372 GraphicUses:1371Used by:1377
Symbol 1373 BitmapUsed by:1374
Symbol 1374 GraphicUses:1373Used by:1377
Symbol 1375 BitmapUsed by:1376
Symbol 1376 GraphicUses:1375Used by:1377
Symbol 1377 MovieClip {index_air_fla.M5_124}Uses:1364 1328 1329 1330 1333 1336 1239 1242 1245 1248 1354 1368 1370 1372 1374 1376Used by:Timeline
Symbol 1378 MovieClip {index_air_fla.M4_2_125}Uses:1362 1328 1329 1330 1333 1336 1239 1242 1245 1248 1354 1360 1358 1356 1351 1327 1256Used by:Timeline
Symbol 1379 BitmapUsed by:1380
Symbol 1380 GraphicUses:1379Used by:1381
Symbol 1381 MovieClipUses:1380Used by:Timeline
Symbol 1382 BitmapUsed by:1383
Symbol 1383 GraphicUses:1382Used by:1384
Symbol 1384 MovieClipUses:1383Used by:Timeline
Symbol 1385 MovieClipUsed by:Timeline
Symbol 1386 MovieClipUses:306Used by:Timeline
Symbol 1387 BitmapUsed by:1388
Symbol 1388 GraphicUses:1387Used by:1389
Symbol 1389 MovieClipUses:1388Used by:Timeline
Symbol 1390 MovieClipUsed by:Timeline
Symbol 1391 BitmapUsed by:1392
Symbol 1392 GraphicUses:1391Used by:1421
Symbol 1393 MovieClipUses:306Used by:1421
Symbol 1394 BitmapUsed by:1395
Symbol 1395 GraphicUses:1394Used by:1421
Symbol 1396 BitmapUsed by:1397
Symbol 1397 GraphicUses:1396Used by:1420
Symbol 1398 BitmapUsed by:1399
Symbol 1399 GraphicUses:1398Used by:1420
Symbol 1400 BitmapUsed by:1401
Symbol 1401 GraphicUses:1400Used by:1420
Symbol 1402 BitmapUsed by:1403
Symbol 1403 GraphicUses:1402Used by:1420
Symbol 1404 BitmapUsed by:1405
Symbol 1405 GraphicUses:1404Used by:1420
Symbol 1406 BitmapUsed by:1407
Symbol 1407 GraphicUses:1406Used by:1420
Symbol 1408 BitmapUsed by:1409
Symbol 1409 GraphicUses:1408Used by:1420
Symbol 1410 BitmapUsed by:1411
Symbol 1411 GraphicUses:1410Used by:1420
Symbol 1412 BitmapUsed by:1413
Symbol 1413 GraphicUses:1412Used by:1420
Symbol 1414 BitmapUsed by:1415
Symbol 1415 GraphicUses:1414Used by:1420
Symbol 1416 BitmapUsed by:1417
Symbol 1417 GraphicUses:1416Used by:1420
Symbol 1418 BitmapUsed by:1419
Symbol 1419 GraphicUses:1418Used by:1420
Symbol 1420 MovieClip {index_air_fla.life_gone_162}Uses:1397 1399 1401 1403 1405 1407 1409 1411 1413 1415 1417 1419Used by:1421
Symbol 1421 MovieClip {index_air_fla.lifeindicator_160}Uses:1392 1393 1395 1420Used by:Timeline
Symbol 1422 BitmapUsed by:1423
Symbol 1423 GraphicUses:1422Used by:1426
Symbol 1424 BitmapUsed by:1425
Symbol 1425 GraphicUses:1424Used by:1426
Symbol 1426 MovieClipUses:1423 1425Used by:Timeline
Symbol 1427 BitmapUsed by:1428
Symbol 1428 GraphicUses:1427Used by:1431
Symbol 1429 BitmapUsed by:1430
Symbol 1430 GraphicUses:1429Used by:1431
Symbol 1431 MovieClip {index_air_fla.soundbtn_164}Uses:1428 1430Used by:Timeline
Symbol 1432 GraphicUses:68 66 88 78 62Used by:1433
Symbol 1433 MovieClipUses:1432Used by:Timeline
Symbol 1434 BitmapUsed by:1435
Symbol 1435 GraphicUses:1434Used by:1458
Symbol 1436 BitmapUsed by:1437
Symbol 1437 GraphicUses:1436Used by:1458
Symbol 1438 BitmapUsed by:1439
Symbol 1439 GraphicUses:1438Used by:1458
Symbol 1440 BitmapUsed by:1441
Symbol 1441 GraphicUses:1440Used by:1458
Symbol 1442 BitmapUsed by:1443
Symbol 1443 GraphicUses:1442Used by:1458
Symbol 1444 BitmapUsed by:1445
Symbol 1445 GraphicUses:1444Used by:1458
Symbol 1446 BitmapUsed by:1447
Symbol 1447 GraphicUses:1446Used by:1458
Symbol 1448 BitmapUsed by:1449
Symbol 1449 GraphicUses:1448Used by:1458
Symbol 1450 BitmapUsed by:1451
Symbol 1451 GraphicUses:1450Used by:1458
Symbol 1452 BitmapUsed by:1453
Symbol 1453 GraphicUses:1452Used by:1458
Symbol 1454 BitmapUsed by:1455
Symbol 1455 GraphicUses:1454Used by:1458
Symbol 1456 BitmapUsed by:1457
Symbol 1457 GraphicUses:1456Used by:1458
Symbol 1458 MovieClip {index_air_fla.whoom_166}Uses:1435 1437 1439 1441 1443 1445 1447 1449 1451 1453 1455 1457Used by:Timeline
Symbol 1459 GraphicUsed by:1460 1591
Symbol 1460 MovieClip {index_air_fla.dark_167}Uses:1459Used by:Timeline
Symbol 1461 BitmapUsed by:1462 1493
Symbol 1462 GraphicUses:1461Used by:1494
Symbol 1463 SoundUsed by:1494
Symbol 1464 BitmapUsed by:1465
Symbol 1465 GraphicUses:1464Used by:1468
Symbol 1466 BitmapUsed by:1467
Symbol 1467 GraphicUses:1466Used by:1468
Symbol 1468 MovieClip {index_air_fla.t27_169}Uses:1465 1467Used by:1494
Symbol 1469 SoundUsed by:1494
Symbol 1470 BitmapUsed by:1471
Symbol 1471 GraphicUses:1470Used by:1474
Symbol 1472 BitmapUsed by:1473
Symbol 1473 GraphicUses:1472Used by:1474
Symbol 1474 MovieClip {index_air_fla.t28_170}Uses:1471 1473Used by:1494
Symbol 1475 SoundUsed by:1494
Symbol 1476 BitmapUsed by:1477 1493
Symbol 1477 GraphicUses:1476Used by:1494
Symbol 1478 BitmapUsed by:1479
Symbol 1479 GraphicUses:1478Used by:1482
Symbol 1480 BitmapUsed by:1481
Symbol 1481 GraphicUses:1480Used by:1482
Symbol 1482 MovieClip {index_air_fla.t29_171}Uses:1479 1481Used by:1494
Symbol 1483 SoundUsed by:1494
Symbol 1484 BitmapUsed by:1485
Symbol 1485 GraphicUses:1484Used by:1486
Symbol 1486 MovieClip {index_air_fla.Symbol10_172}Uses:1485Used by:1494
Symbol 1487 BitmapUsed by:1488
Symbol 1488 GraphicUses:1487Used by:1491
Symbol 1489 BitmapUsed by:1490
Symbol 1490 GraphicUses:1489Used by:1491
Symbol 1491 MovieClip {index_air_fla.t30_173}Uses:1488 1490Used by:1494
Symbol 1492 SoundUsed by:1494
Symbol 1493 GraphicUses:1476 1461Used by:1494
Symbol 1494 MovieClip {index_air_fla.game_over_168}Uses:960 1462 965 1463 1468 1469 1474 1475 1477 1482 1483 1486 1491 1492 1493Used by:Timeline
Symbol 1495 BitmapUsed by:1496
Symbol 1496 GraphicUses:1495Used by:1530
Symbol 1497 SoundUsed by:1530
Symbol 1498 BitmapUsed by:1499
Symbol 1499 GraphicUses:1498Used by:1502
Symbol 1500 BitmapUsed by:1501
Symbol 1501 GraphicUses:1500Used by:1502
Symbol 1502 MovieClip {index_air_fla.t31_175}Uses:1499 1501Used by:1530
Symbol 1503 SoundUsed by:1530
Symbol 1504 BitmapUsed by:1505
Symbol 1505 GraphicUses:1504Used by:1530
Symbol 1506 BitmapUsed by:1507 1516
Symbol 1507 GraphicUses:1506Used by:1519
Symbol 1508 BitmapUsed by:1509 1517
Symbol 1509 GraphicUses:1508Used by:1519
Symbol 1510 BitmapUsed by:1511 1515 1518
Symbol 1511 GraphicUses:1510Used by:1519
Symbol 1512 BitmapUsed by:1513 1516 1518
Symbol 1513 GraphicUses:1512Used by:1519
Symbol 1514 BitmapUsed by:1515 1517
Symbol 1515 GraphicUses:1514 1510Used by:1519
Symbol 1516 GraphicUses:1512 1506Used by:1519
Symbol 1517 GraphicUses:1514 1508Used by:1519
Symbol 1518 GraphicUses:1512 1510Used by:1519
Symbol 1519 MovieClipUses:1507 1509 1511 1513 1515 1516 1517 1518Used by:1530
Symbol 1520 BitmapUsed by:1521
Symbol 1521 GraphicUses:1520Used by:1524
Symbol 1522 BitmapUsed by:1523
Symbol 1523 GraphicUses:1522Used by:1524
Symbol 1524 MovieClip {index_air_fla.t32_177}Uses:1521 1523Used by:1530
Symbol 1525 BitmapUsed by:1526
Symbol 1526 GraphicUses:1525Used by:1529
Symbol 1527 BitmapUsed by:1528
Symbol 1528 GraphicUses:1527Used by:1529
Symbol 1529 MovieClip {index_air_fla.t33_178}Uses:1526 1528Used by:1530
Symbol 1530 MovieClip {index_air_fla.ending_174}Uses:960 1496 965 1497 1502 1503 1505 1519 1524 1529Used by:Timeline
Symbol 1531 BitmapUsed by:1532
Symbol 1532 GraphicUses:1531Used by:1533
Symbol 1533 MovieClipUses:1532Used by:1575
Symbol 1534 BitmapUsed by:1535
Symbol 1535 GraphicUses:1534Used by:1575
Symbol 1536 GraphicUsed by:1575
Symbol 1537 GraphicUsed by:1575
Symbol 1538 GraphicUsed by:1575
Symbol 1539 GraphicUsed by:1575
Symbol 1540 GraphicUsed by:1575
Symbol 1541 GraphicUsed by:1575
Symbol 1542 GraphicUsed by:1575
Symbol 1543 GraphicUsed by:1575
Symbol 1544 GraphicUsed by:1575
Symbol 1545 GraphicUsed by:1575
Symbol 1546 GraphicUsed by:1575
Symbol 1547 GraphicUsed by:1575
Symbol 1548 GraphicUsed by:1575
Symbol 1549 GraphicUsed by:1575
Symbol 1550 GraphicUsed by:1575
Symbol 1551 GraphicUsed by:1575
Symbol 1552 GraphicUsed by:1575
Symbol 1553 GraphicUsed by:1575
Symbol 1554 GraphicUsed by:1575
Symbol 1555 GraphicUsed by:1575
Symbol 1556 GraphicUsed by:1575
Symbol 1557 GraphicUsed by:1575
Symbol 1558 GraphicUsed by:1575
Symbol 1559 GraphicUsed by:1575
Symbol 1560 GraphicUsed by:1575
Symbol 1561 GraphicUsed by:1575
Symbol 1562 GraphicUsed by:1575
Symbol 1563 BitmapUsed by:1564
Symbol 1564 GraphicUses:1563Used by:1565
Symbol 1565 MovieClipUses:1564Used by:1575
Symbol 1566 BitmapUsed by:1567
Symbol 1567 GraphicUses:1566Used by:1568
Symbol 1568 MovieClipUses:1567Used by:1575
Symbol 1569 BitmapUsed by:1570
Symbol 1570 GraphicUses:1569Used by:1571
Symbol 1571 MovieClipUses:1570Used by:1575
Symbol 1572 BitmapUsed by:1573
Symbol 1573 GraphicUses:1572Used by:1574
Symbol 1574 MovieClipUses:1573Used by:1575
Symbol 1575 MovieClip {index_air_fla.menu_records_179}Uses:273 1533 318 274 1535 277 278 279 280 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 1562 1565 1568 1571 1574 317Used by:Timeline
Symbol 1576 EditableTextUses:400Used by:1588
Symbol 1577 BitmapUsed by:1578
Symbol 1578 GraphicUses:1577Used by:1581
Symbol 1579 BitmapUsed by:1580
Symbol 1580 GraphicUses:1579Used by:1581
Symbol 1581 MovieClip {index_air_fla.msgbtnok_186}Uses:1578 1580Used by:1588
Symbol 1582 BitmapUsed by:1583
Symbol 1583 GraphicUses:1582Used by:1586
Symbol 1584 BitmapUsed by:1585
Symbol 1585 GraphicUses:1584Used by:1586
Symbol 1586 MovieClip {index_air_fla.msgbtncancel_187}Uses:1583 1585Used by:1588
Symbol 1587 EditableTextUses:400Used by:1588
Symbol 1588 MovieClip {index_air_fla.window_185}Uses:398 1576 1581 1586 1587Used by:Timeline
Symbol 1589 GraphicUsed by:1590
Symbol 1590 MovieClipUses:1589Used by:Timeline
Symbol 1591 MovieClip {index_air_fla.extrasbg_189}Uses:1459 276Used by:Timeline
Symbol 1592 GraphicUses:72 56 52 54Used by:1593
Symbol 1593 MovieClipUses:1592Used by:Timeline
Symbol 1594 BitmapUsed by:1595
Symbol 1595 GraphicUses:1594 268Used by:Timeline

Instance Names

"loadingScreen"Frame 2Symbol 305 MovieClip {index_air_fla.LOADING_SCREEN_1}
"lbar"Frame 2Symbol 307 MovieClip
"test"Frame 2Symbol 309 EditableText
"loadingScreen"Frame 3Symbol 311 MovieClip {index_air_fla.LOADING_SCREEN_START_16}
"menu"Frame 4Symbol 304 MovieClip {index_air_fla.menu_14}
"infobtn"Frame 4Symbol 314 MovieClip
"sm_btn"Frame 4Symbol 317 MovieClip {index_air_fla.sm_btn_18}
"rl_btn"Frame 4Symbol 317 MovieClip {index_air_fla.sm_btn_18}
"ts_btn"Frame 4Symbol 317 MovieClip {index_air_fla.sm_btn_18}
"mg_btn"Frame 4Symbol 317 MovieClip {index_air_fla.sm_btn_18}
"ht_btn"Frame 4Symbol 317 MovieClip {index_air_fla.sm_btn_18}
"emc"Frame 4Symbol 318 MovieClip
"ex_btn"Frame 4Symbol 317 MovieClip {index_air_fla.sm_btn_18}
"Muny"Frame 4Symbol 320 MovieClip {index_air_fla.Muny_new_21}
"achi"Frame 4Symbol 395 MovieClip {index_air_fla.achievements_new_22}
"infowindow"Frame 4Symbol 411 MovieClip {index_air_fla.windowinfo_51}
"updwindow"Frame 4Symbol 420 MovieClip {index_air_fla.update_56}
"comix"Frame 6Symbol 1217 MovieClip {index_air_fla.oppening_65}
"cont"Frame 6Symbol 1218 MovieClip
"skip_on"Frame 6Symbol 1221 MovieClip
"girl"Frame 7Symbol 1325 MovieClip {index_air_fla.M2_107}
"girl1"Frame 7Symbol 1349 MovieClip {index_air_fla.M3_116}
"girl2"Frame 7Symbol 1365 MovieClip {index_air_fla.M4_122}
"girl2_1"Frame 7Symbol 1366 MovieClip {index_air_fla.M4_1_123}
"girl3"Frame 7Symbol 1377 MovieClip {index_air_fla.M5_124}
"girl2_2"Frame 7Symbol 1378 MovieClip {index_air_fla.M4_2_125}
"eqbg"Frame 7Symbol 1381 MovieClip
"maineq"Frame 7Symbol 212 MovieClip {main}
"mln"Frame 7Symbol 1384 MovieClip
"messagearea"Frame 7Symbol 1385 MovieClip
"messagearea1"Frame 7Symbol 1385 MovieClip
"ebar"Frame 7Symbol 1386 MovieClip
"ebarbg"Frame 7Symbol 1389 MovieClip
"countmsg"Frame 7Symbol 1390 MovieClip
"combomsg"Frame 7Symbol 1390 MovieClip
"lifeindicator"Frame 7Symbol 1421 MovieClip {index_air_fla.lifeindicator_160}
"maxspeedindicator"Frame 7Symbol 1426 MovieClip
"soundbtn"Frame 7Symbol 1431 MovieClip {index_air_fla.soundbtn_164}
"maxspeedmsg"Frame 7Symbol 1390 MovieClip
"timearea"Frame 7Symbol 1390 MovieClip
"finish"Frame 7Symbol 1433 MovieClip
"zeroflash"Frame 7Symbol 1458 MovieClip {index_air_fla.whoom_166}
"opmsg"Frame 7Symbol 1390 MovieClip
"dark"Frame 7Symbol 1460 MovieClip {index_air_fla.dark_167}
"gameovermsg"Frame 7Symbol 318 MovieClip
"updwindow"Frame 7Symbol 420 MovieClip {index_air_fla.update_56}
"comix"Frame 8Symbol 1494 MovieClip {index_air_fla.game_over_168}
"comix"Frame 9Symbol 1530 MovieClip {index_air_fla.ending_174}
"top"Frame 10Symbol 1575 MovieClip {index_air_fla.menu_records_179}
"emc1"Frame 10Symbol 318 MovieClip
"msgbox"Frame 10Symbol 1588 MovieClip {index_air_fla.window_185}
"mmbtn"Frame 10Symbol 1590 MovieClip
"Muny"Frame 10Symbol 320 MovieClip {index_air_fla.Muny_new_21}
"loading"Frame 10Symbol 318 MovieClip
"achi"Frame 10Symbol 395 MovieClip {index_air_fla.achievements_new_22}
"updwindow"Frame 10Symbol 420 MovieClip {index_air_fla.update_56}
"loading"Frame 11Symbol 317 MovieClip {index_air_fla.sm_btn_18}
"emc1"Frame 11Symbol 318 MovieClip
"loading"Frame 11Symbol 318 MovieClip
"updwindow"Frame 11Symbol 420 MovieClip {index_air_fla.update_56}
"back"Frame 11Symbol 1593 MovieClip
"back"Frame 12Symbol 1593 MovieClip
"updwindow"Frame 12Symbol 420 MovieClip {index_air_fla.update_56}
"barmask"Symbol 115 MovieClip {index_air_fla.bita_128} Frame 1Symbol 111 MovieClip
"bitagreen"Symbol 115 MovieClip {index_air_fla.bita_128} Frame 1Symbol 114 MovieClip
"other"Symbol 123 MovieClip {index_air_fla.rb_131} Frame 1Symbol 122 MovieClip
"light"Symbol 204 MovieClip {index_air_fla.flashes_144} Frame 1Symbol 175 MovieClip {index_air_fla.flash1_145}
"light"Symbol 204 MovieClip {index_air_fla.flashes_144} Frame 2Symbol 179 MovieClip {index_air_fla.flash2_146}
"light"Symbol 204 MovieClip {index_air_fla.flashes_144} Frame 3Symbol 183 MovieClip {index_air_fla.flash3_147}
"light"Symbol 204 MovieClip {index_air_fla.flashes_144} Frame 4Symbol 187 MovieClip {index_air_fla.flash4_148}
"light"Symbol 204 MovieClip {index_air_fla.flashes_144} Frame 5Symbol 191 MovieClip {index_air_fla.flash5_149}
"light"Symbol 204 MovieClip {index_air_fla.flashes_144} Frame 6Symbol 195 MovieClip {index_air_fla.flash6_150}
"light"Symbol 204 MovieClip {index_air_fla.flashes_144} Frame 7Symbol 199 MovieClip {index_air_fla.flash7_151}
"light"Symbol 204 MovieClip {index_air_fla.flashes_144} Frame 8Symbol 203 MovieClip {index_air_fla.flash8_152}
"ring2"Symbol 208 MovieClip {index_air_fla.ballmc_136} Frame 1Symbol 151 MovieClip
"l8"Symbol 208 MovieClip {index_air_fla.ballmc_136} Frame 1Symbol 154 MovieClip
"l6"Symbol 208 MovieClip {index_air_fla.ballmc_136} Frame 1Symbol 157 MovieClip
"l3"Symbol 208 MovieClip {index_air_fla.ballmc_136} Frame 1Symbol 160 MovieClip
"ring1"Symbol 208 MovieClip {index_air_fla.ballmc_136} Frame 1Symbol 163 MovieClip
"ballbody"Symbol 208 MovieClip {index_air_fla.ballmc_136} Frame 1Symbol 166 MovieClip
"blik2"Symbol 208 MovieClip {index_air_fla.ballmc_136} Frame 1Symbol 171 MovieClip
"flashes"Symbol 208 MovieClip {index_air_fla.ballmc_136} Frame 1Symbol 204 MovieClip {index_air_fla.flashes_144}
"white"Symbol 208 MovieClip {index_air_fla.ballmc_136} Frame 1Symbol 207 MovieClip {index_air_fla.white_153}
"bar8"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_air_fla.bita_128}
"bar7"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_air_fla.bita_128}
"bar6"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_air_fla.bita_128}
"bar5"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_air_fla.bita_128}
"bar1"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_air_fla.bita_128}
"bar2"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_air_fla.bita_128}
"bar3"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_air_fla.bita_128}
"bar4"Symbol 212 MovieClip {main} Frame 1Symbol 115 MovieClip {index_air_fla.bita_128}
"rb"Symbol 212 MovieClip {main} Frame 1Symbol 123 MovieClip {index_air_fla.rb_131}
"rb1"Symbol 212 MovieClip {main} Frame 1Symbol 123 MovieClip {index_air_fla.rb_131}
"wtf2"Symbol 212 MovieClip {main} Frame 1Symbol 126 MovieClip
"smoke"Symbol 212 MovieClip {main} Frame 1Symbol 147 MovieClip {index_air_fla.circle_134}
"firearea"Symbol 212 MovieClip {main} Frame 1Symbol 148 MovieClip
"ball"Symbol 212 MovieClip {main} Frame 1Symbol 208 MovieClip {index_air_fla.ballmc_136}
"wtf1"Symbol 212 MovieClip {main} Frame 1Symbol 211 MovieClip
"ah4"Symbol 233 MovieClip {index_air_fla.Muny_2} Frame 1Symbol 221 MovieClip
"ah3"Symbol 233 MovieClip {index_air_fla.Muny_2} Frame 1Symbol 226 MovieClip
"ah2"Symbol 233 MovieClip {index_air_fla.Muny_2} Frame 1Symbol 229 MovieClip
"ah1"Symbol 233 MovieClip {index_air_fla.Muny_2} Frame 1Symbol 232 MovieClip
"Muny"Symbol 305 MovieClip {index_air_fla.LOADING_SCREEN_1} Frame 1Symbol 233 MovieClip {index_air_fla.Muny_2}
"preloadermask"Symbol 305 MovieClip {index_air_fla.LOADING_SCREEN_1} Frame 1Symbol 234 MovieClip
"startbtn"Symbol 305 MovieClip {index_air_fla.LOADING_SCREEN_1} Frame 1Symbol 244 MovieClip
"shin"Symbol 305 MovieClip {index_air_fla.LOADING_SCREEN_1} Frame 118Symbol 267 MovieClip
"Muny"Symbol 311 MovieClip {index_air_fla.LOADING_SCREEN_START_16} Frame 1Symbol 233 MovieClip {index_air_fla.Muny_2}
"bg"Symbol 317 MovieClip {index_air_fla.sm_btn_18} Frame 1Symbol 316 MovieClip
"old"Symbol 320 MovieClip {index_air_fla.Muny_new_21} Frame 1Symbol 233 MovieClip {index_air_fla.Muny_2}
"a4_text1"Symbol 341 MovieClip {index_air_fla.a_4_24} Frame 1Symbol 325 MovieClip
"a4_text"Symbol 341 MovieClip {index_air_fla.a_4_24} Frame 1Symbol 328 MovieClip
"no_off"Symbol 341 MovieClip {index_air_fla.a_4_24} Frame 1Symbol 331 MovieClip
"no_on"Symbol 341 MovieClip {index_air_fla.a_4_24} Frame 1Symbol 334 MovieClip
"yes_off"Symbol 341 MovieClip {index_air_fla.a_4_24} Frame 1Symbol 337 MovieClip
"yes_on"Symbol 341 MovieClip {index_air_fla.a_4_24} Frame 1Symbol 340 MovieClip
"a"Symbol 342 MovieClip {index_air_fla.archi_line4_23} Frame 1Symbol 341 MovieClip {index_air_fla.a_4_24}
"a3_text1"Symbol 361 MovieClip {index_air_fla.a_3_32} Frame 1Symbol 345 MovieClip
"a3_text"Symbol 361 MovieClip {index_air_fla.a_3_32} Frame 1Symbol 348 MovieClip
"no_off"Symbol 361 MovieClip {index_air_fla.a_3_32} Frame 1Symbol 351 MovieClip
"no_on"Symbol 361 MovieClip {index_air_fla.a_3_32} Frame 1Symbol 354 MovieClip
"yes_off"Symbol 361 MovieClip {index_air_fla.a_3_32} Frame 1Symbol 357 MovieClip
"yes_on"Symbol 361 MovieClip {index_air_fla.a_3_32} Frame 1Symbol 360 MovieClip
"a"Symbol 362 MovieClip {index_air_fla.archi_line3_31} Frame 1Symbol 361 MovieClip {index_air_fla.a_3_32}
"no_off"Symbol 377 MovieClip {index_air_fla.a_2_40} Frame 1Symbol 367 MovieClip
"no_on"Symbol 377 MovieClip {index_air_fla.a_2_40} Frame 1Symbol 370 MovieClip
"yes_off"Symbol 377 MovieClip {index_air_fla.a_2_40} Frame 1Symbol 373 MovieClip
"yes_on"Symbol 377 MovieClip {index_air_fla.a_2_40} Frame 1Symbol 376 MovieClip
"a"Symbol 378 MovieClip {index_air_fla.archi_line2_39} Frame 1Symbol 377 MovieClip {index_air_fla.a_2_40}
"no_off"Symbol 393 MovieClip {index_air_fla.a_1_46} Frame 1Symbol 383 MovieClip
"no_on"Symbol 393 MovieClip {index_air_fla.a_1_46} Frame 1Symbol 386 MovieClip
"yes_off"Symbol 393 MovieClip {index_air_fla.a_1_46} Frame 1Symbol 389 MovieClip
"yes_on"Symbol 393 MovieClip {index_air_fla.a_1_46} Frame 1Symbol 392 MovieClip
"a"Symbol 394 MovieClip {index_air_fla.archi_line1_45} Frame 1Symbol 393 MovieClip {index_air_fla.a_1_46}
"line4"Symbol 395 MovieClip {index_air_fla.achievements_new_22} Frame 1Symbol 342 MovieClip {index_air_fla.archi_line4_23}
"line0"Symbol 395 MovieClip {index_air_fla.achievements_new_22} Frame 1Symbol 318 MovieClip
"line3"Symbol 395 MovieClip {index_air_fla.achievements_new_22} Frame 1Symbol 362 MovieClip {index_air_fla.archi_line3_31}
"line2"Symbol 395 MovieClip {index_air_fla.achievements_new_22} Frame 1Symbol 378 MovieClip {index_air_fla.archi_line2_39}
"line1"Symbol 395 MovieClip {index_air_fla.achievements_new_22} Frame 1Symbol 394 MovieClip {index_air_fla.archi_line1_45}
"btn1_1"Symbol 410 MovieClip {index_air_fla.okbtn_53} Frame 1Symbol 409 MovieClip
"okbtn"Symbol 411 MovieClip {index_air_fla.windowinfo_51} Frame 1Symbol 410 MovieClip {index_air_fla.okbtn_53}
"updbtn"Symbol 420 MovieClip {index_air_fla.update_56} Frame 1Symbol 416 MovieClip {index_air_fla.updbutton_57}
"helpbtn"Symbol 420 MovieClip {index_air_fla.update_56} Frame 1Symbol 419 MovieClip {index_air_fla.helpbtn_58}
"linebg"Symbol 938 MovieClip {topline} Frame 1Symbol 427 MovieClip
"namearea"Symbol 938 MovieClip {topline} Frame 1Symbol 428 EditableText
"scorearea"Symbol 938 MovieClip {topline} Frame 1Symbol 429 EditableText
"flag"Symbol 938 MovieClip {topline} Frame 1Symbol 912 MovieClip {index_air_fla.flags_61}
"aw_dildo"Symbol 938 MovieClip {topline} Frame 1Symbol 923 MovieClip {index_air_fla.aw_dildo_62}
"aw_heart"Symbol 938 MovieClip {topline} Frame 1Symbol 930 MovieClip {index_air_fla.aw_heart_63}
"aw_stars"Symbol 938 MovieClip {topline} Frame 1Symbol 937 MovieClip {index_air_fla.aw_stars_64}
"eye1"Symbol 1325 MovieClip {index_air_fla.M2_107} Frame 1Symbol 1226 MovieClip
"eye2"Symbol 1325 MovieClip {index_air_fla.M2_107} Frame 1Symbol 1229 MovieClip
"eye3"Symbol 1325 MovieClip {index_air_fla.M2_107} Frame 1Symbol 1232 MovieClip
"mouth2"Symbol 1325 MovieClip {index_air_fla.M2_107} Frame 1Symbol 1235 MovieClip
"mouth3"Symbol 1325 MovieClip {index_air_fla.M2_107} Frame 1Symbol 1238 MovieClip
"wet"Symbol 1325 MovieClip {index_air_fla.M2_107} Frame 1Symbol 1242 MovieClip
"wet3"Symbol 1325 MovieClip {index_air_fla.M2_107} Frame 1Symbol 1245 MovieClip
"wet2"Symbol 1325 MovieClip {index_air_fla.M2_107} Frame 1Symbol 1248 MovieClip
"eye1"Symbol 1349 MovieClip {index_air_fla.M3_116} Frame 1Symbol 1328 MovieClip
"eye2"Symbol 1349 MovieClip {index_air_fla.M3_116} Frame 1Symbol 1329 MovieClip
"eye3"Symbol 1349 MovieClip {index_air_fla.M3_116} Frame 1Symbol 1330 MovieClip
"mouth2"Symbol 1349 MovieClip {index_air_fla.M3_116} Frame 1Symbol 1333 MovieClip
"mouth3"Symbol 1349 MovieClip {index_air_fla.M3_116} Frame 1Symbol 1336 MovieClip
"wet"Symbol 1349 MovieClip {index_air_fla.M3_116} Frame 1Symbol 1242 MovieClip
"wet3"Symbol 1349 MovieClip {index_air_fla.M3_116} Frame 1Symbol 1245 MovieClip
"wet2"Symbol 1349 MovieClip {index_air_fla.M3_116} Frame 1Symbol 1248 MovieClip
"eye1"Symbol 1365 MovieClip {index_air_fla.M4_122} Frame 1Symbol 1328 MovieClip
"eye2"Symbol 1365 MovieClip {index_air_fla.M4_122} Frame 1Symbol 1329 MovieClip
"eye3"Symbol 1365 MovieClip {index_air_fla.M4_122} Frame 1Symbol 1330 MovieClip
"mouth2"Symbol 1365 MovieClip {index_air_fla.M4_122} Frame 1Symbol 1333 MovieClip
"mouth3"Symbol 1365 MovieClip {index_air_fla.M4_122} Frame 1Symbol 1336 MovieClip
"wet"Symbol 1365 MovieClip {index_air_fla.M4_122} Frame 1Symbol 1242 MovieClip
"wet3"Symbol 1365 MovieClip {index_air_fla.M4_122} Frame 1Symbol 1245 MovieClip
"wet2"Symbol 1365 MovieClip {index_air_fla.M4_122} Frame 1Symbol 1248 MovieClip
"eye1"Symbol 1366 MovieClip {index_air_fla.M4_1_123} Frame 1Symbol 1328 MovieClip
"eye2"Symbol 1366 MovieClip {index_air_fla.M4_1_123} Frame 1Symbol 1329 MovieClip
"eye3"Symbol 1366 MovieClip {index_air_fla.M4_1_123} Frame 1Symbol 1330 MovieClip
"mouth2"Symbol 1366 MovieClip {index_air_fla.M4_1_123} Frame 1Symbol 1333 MovieClip
"mouth3"Symbol 1366 MovieClip {index_air_fla.M4_1_123} Frame 1Symbol 1336 MovieClip
"wet"Symbol 1366 MovieClip {index_air_fla.M4_1_123} Frame 1Symbol 1242 MovieClip
"wet3"Symbol 1366 MovieClip {index_air_fla.M4_1_123} Frame 1Symbol 1245 MovieClip
"wet2"Symbol 1366 MovieClip {index_air_fla.M4_1_123} Frame 1Symbol 1248 MovieClip
"eye1"Symbol 1377 MovieClip {index_air_fla.M5_124} Frame 1Symbol 1328 MovieClip
"eye2"Symbol 1377 MovieClip {index_air_fla.M5_124} Frame 1Symbol 1329 MovieClip
"eye3"Symbol 1377 MovieClip {index_air_fla.M5_124} Frame 1Symbol 1330 MovieClip
"mouth2"Symbol 1377 MovieClip {index_air_fla.M5_124} Frame 1Symbol 1333 MovieClip
"mouth3"Symbol 1377 MovieClip {index_air_fla.M5_124} Frame 1Symbol 1336 MovieClip
"wet"Symbol 1377 MovieClip {index_air_fla.M5_124} Frame 1Symbol 1242 MovieClip
"wet3"Symbol 1377 MovieClip {index_air_fla.M5_124} Frame 1Symbol 1245 MovieClip
"wet2"Symbol 1377 MovieClip {index_air_fla.M5_124} Frame 1Symbol 1248 MovieClip
"eye1"Symbol 1378 MovieClip {index_air_fla.M4_2_125} Frame 1Symbol 1328 MovieClip
"eye2"Symbol 1378 MovieClip {index_air_fla.M4_2_125} Frame 1Symbol 1329 MovieClip
"eye3"Symbol 1378 MovieClip {index_air_fla.M4_2_125} Frame 1Symbol 1330 MovieClip
"mouth2"Symbol 1378 MovieClip {index_air_fla.M4_2_125} Frame 1Symbol 1333 MovieClip
"mouth3"Symbol 1378 MovieClip {index_air_fla.M4_2_125} Frame 1Symbol 1336 MovieClip
"wet"Symbol 1378 MovieClip {index_air_fla.M4_2_125} Frame 1Symbol 1242 MovieClip
"wet3"Symbol 1378 MovieClip {index_air_fla.M4_2_125} Frame 1Symbol 1245 MovieClip
"wet2"Symbol 1378 MovieClip {index_air_fla.M4_2_125} Frame 1Symbol 1248 MovieClip
"lm"Symbol 1421 MovieClip {index_air_fla.lifeindicator_160} Frame 1Symbol 1393 MovieClip
"lg"Symbol 1421 MovieClip {index_air_fla.lifeindicator_160} Frame 1Symbol 1420 MovieClip {index_air_fla.life_gone_162}
"mmtext"Symbol 1575 MovieClip {index_air_fla.menu_records_179} Frame 1Symbol 1533 MovieClip
"linesplace"Symbol 1575 MovieClip {index_air_fla.menu_records_179} Frame 1Symbol 318 MovieClip
"tab1"Symbol 1575 MovieClip {index_air_fla.menu_records_179} Frame 36Symbol 1565 MovieClip
"tab2"Symbol 1575 MovieClip {index_air_fla.menu_records_179} Frame 36Symbol 1568 MovieClip
"tab3"Symbol 1575 MovieClip {index_air_fla.menu_records_179} Frame 36Symbol 1571 MovieClip
"tab4"Symbol 1575 MovieClip {index_air_fla.menu_records_179} Frame 36Symbol 1574 MovieClip
"bar1"Symbol 1575 MovieClip {index_air_fla.menu_records_179} Frame 36Symbol 317 MovieClip {index_air_fla.sm_btn_18}
"bar2"Symbol 1575 MovieClip {index_air_fla.menu_records_179} Frame 36Symbol 317 MovieClip {index_air_fla.sm_btn_18}
"bar3"Symbol 1575 MovieClip {index_air_fla.menu_records_179} Frame 36Symbol 317 MovieClip {index_air_fla.sm_btn_18}
"bar4"Symbol 1575 MovieClip {index_air_fla.menu_records_179} Frame 36Symbol 317 MovieClip {index_air_fla.sm_btn_18}
"msg"Symbol 1588 MovieClip {index_air_fla.window_185} Frame 1Symbol 1576 EditableText
"btnok"Symbol 1588 MovieClip {index_air_fla.window_185} Frame 1Symbol 1581 MovieClip {index_air_fla.msgbtnok_186}
"btncancel"Symbol 1588 MovieClip {index_air_fla.window_185} Frame 1Symbol 1586 MovieClip {index_air_fla.msgbtncancel_187}
"editname"Symbol 1588 MovieClip {index_air_fla.window_185} Frame 1Symbol 1587 EditableText

Special Tags

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




http://swfchan.com/11/50939/info.shtml
Created: 25/4 -2019 17:43:53 Last modified: 25/4 -2019 17:43:53 Server time: 22/12 -2024 09:35:27