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

Figure-Fix.swf

This is the info page for
Flash #116591

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


Text
try again

menu

Sorry! You’ve
disturbed the balance.

LEVEL

<p align="left"><font face="Arial" size="45" color="#006699" letterSpacing="0.000000" kerning="1">22</font></p>

choose level

bonus levels

add this game to your site

menu

<p align="center"><font face="Arial Black" size="14" color="#254948" letterSpacing="0.000000" kerning="1">12</font></p>

facebook

credits

continue game

new game

more games

Credits

Programmer - Andriy Shpak
Artist - Volodya Bed'
Game designer - Oksana Nychyporuk
Composer - Vitaliy Gava
Producer  - Nazar Rubashnyy

Sorry! You’ve
disturbed the balance.

walkthrough

menu

try again

<p align="center"><font face="Verdana_8pt_st" size="8" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

Wow! You are
balance guru!

score

total score

<p align="left"><font face="Arial Black" size="54" color="#174646" letterSpacing="0.000000" kerning="1">00</font></p>

<p align="left"><font face="Arial Black" size="54" color="#174646" letterSpacing="0.000000" kerning="1">00</font></p>

submit score

<p align="left"><font face="Arial Black" size="13" color="#336666" letterSpacing="0.000000" kerning="1"><b>000</b></font></p>

reset

other games

Well done! You’ve got
the balance.

time

next level

<p align="left"><font face="Arial Black" size="23" color="#ffcc00" letterSpacing="0.000000" kerning="1">000</font></p>

<p align="left"><font face="Arial Black" size="23" color="#ffcc00" letterSpacing="0.000000" kerning="1">000</font></p>

<p align="left"><font face="Arial Black" size="23" color="#ffcc00" letterSpacing="0.000000" kerning="1">000</font></p>

Well done!

more games

<p align="center"><font face="Verdana" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Trebuchet MS" size="13" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana" size="13" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana" size="8" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana" size="11" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana_8pt_st" size="8" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="left"><font face="Trebuchet MS" size="12" color="#000000" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="left"><font face="Trebuchet MS" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana" size="17" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana" size="17" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana_8pt_st" size="8" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Trebuchet MS" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="left"><font face="Trebuchet MS" size="12" color="#000000" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="left"><font face="Trebuchet MS" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana" size="12" color="#999999" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="left"><font face="Trebuchet MS" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana" size="9" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="left"><font face="Trebuchet MS" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="left"><font face="Trebuchet MS" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="left"><font face="Trebuchet MS" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="left"><font face="Trebuchet MS" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="left"><font face="Trebuchet MS" size="12" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana" size="17" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Verdana" size="13" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="left"><font face="Trebuchet MS" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

<p align="center"><font face="Trebuchet MS_20pt_st" size="20" color="#cccccc" letterSpacing="0.000000" kerning="1">density=1;</font></p>

skip

tutorial

play

Help

Put together all parts of the figures.
Don’t  drop them down.
Rotate the figures to place them correctly.
A tester man will jump on your construction.
If it breaks down you lose.

ActionScript [AS3]

Section 1
//b2CircleDef (Box2D.Collision.Shapes.b2CircleDef) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; public class b2CircleDef extends b2ShapeDef { public var radius:Number; public var localPosition:b2Vec2; public function b2CircleDef(){ localPosition = new b2Vec2(0, 0); super(); type = b2Shape.e_circleShape; radius = 1; } } }//package Box2D.Collision.Shapes
Section 2
//b2CircleShape (Box2D.Collision.Shapes.b2CircleShape) package Box2D.Collision.Shapes { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2CircleShape extends b2Shape { public var m_localPosition:b2Vec2; public var m_radius:Number; public function b2CircleShape(_arg1:b2ShapeDef){ m_localPosition = new b2Vec2(); super(_arg1); var _local2:b2CircleDef = (_arg1 as b2CircleDef); m_type = e_circleShape; m_localPosition.SetV(_local2.localPosition); m_radius = _local2.radius; } override public function TestSegment(_arg1:b2XForm, _arg2:Array, _arg3:b2Vec2, _arg4:b2Segment, _arg5:Number):Boolean{ var _local10:Number; var _local6:b2Mat22 = _arg1.R; var _local7:Number = (_arg1.position.x + ((_local6.col1.x * m_localPosition.x) + (_local6.col2.x * m_localPosition.y))); var _local8:Number = (_arg1.position.x + ((_local6.col1.y * m_localPosition.x) + (_local6.col2.y * m_localPosition.y))); var _local9:Number = (_arg4.p1.x - _local7); _local10 = (_arg4.p1.y - _local8); var _local11:Number = (((_local9 * _local9) + (_local10 * _local10)) - (m_radius * m_radius)); if (_local11 < 0){ return (false); }; var _local12:Number = (_arg4.p2.x - _arg4.p1.x); var _local13:Number = (_arg4.p2.y - _arg4.p1.y); var _local14:Number = ((_local9 * _local12) + (_local10 * _local13)); var _local15:Number = ((_local12 * _local12) + (_local13 * _local13)); var _local16:Number = ((_local14 * _local14) - (_local15 * _local11)); if ((((_local16 < 0)) || ((_local15 < Number.MIN_VALUE)))){ return (false); }; var _local17:Number = -((_local14 + Math.sqrt(_local16))); if ((((0 <= _local17)) && ((_local17 <= (_arg5 * _local15))))){ _local17 = (_local17 / _local15); _arg2[0] = _local17; _arg3.x = (_local9 + (_local17 * _local12)); _arg3.y = (_local10 + (_local17 * _local13)); _arg3.Normalize(); return (true); }; return (false); } public function GetLocalPosition():b2Vec2{ return (m_localPosition); } public function GetRadius():Number{ return (m_radius); } override public function ComputeSweptAABB(_arg1:b2AABB, _arg2:b2XForm, _arg3:b2XForm):void{ var _local4:b2Mat22; _local4 = _arg2.R; var _local5:Number = (_arg2.position.x + ((_local4.col1.x * m_localPosition.x) + (_local4.col2.x * m_localPosition.y))); var _local6:Number = (_arg2.position.y + ((_local4.col1.y * m_localPosition.x) + (_local4.col2.y * m_localPosition.y))); _local4 = _arg3.R; var _local7:Number = (_arg3.position.x + ((_local4.col1.x * m_localPosition.x) + (_local4.col2.x * m_localPosition.y))); var _local8:Number = (_arg3.position.y + ((_local4.col1.y * m_localPosition.x) + (_local4.col2.y * m_localPosition.y))); _arg1.lowerBound.Set((((_local5 < _local7)) ? _local5 : _local7 - m_radius), (((_local6 < _local8)) ? _local6 : _local8 - m_radius)); _arg1.upperBound.Set((((_local5 > _local7)) ? _local5 : _local7 + m_radius), (((_local6 > _local8)) ? _local6 : _local8 + m_radius)); } override public function ComputeMass(_arg1:b2MassData):void{ _arg1.mass = (((m_density * b2Settings.b2_pi) * m_radius) * m_radius); _arg1.center.SetV(m_localPosition); _arg1.I = (_arg1.mass * (((0.5 * m_radius) * m_radius) + ((m_localPosition.x * m_localPosition.x) + (m_localPosition.y * m_localPosition.y)))); } override public function UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:Number = (m_localPosition.x - _arg1.x); var _local3:Number = (m_localPosition.y - _arg1.y); _local2 = Math.sqrt(((_local2 * _local2) + (_local3 * _local3))); m_sweepRadius = ((_local2 + m_radius) - b2Settings.b2_toiSlop); } override public function ComputeAABB(_arg1:b2AABB, _arg2:b2XForm):void{ var _local3:b2Mat22 = _arg2.R; var _local4:Number = (_arg2.position.x + ((_local3.col1.x * m_localPosition.x) + (_local3.col2.x * m_localPosition.y))); var _local5:Number = (_arg2.position.y + ((_local3.col1.y * m_localPosition.x) + (_local3.col2.y * m_localPosition.y))); _arg1.lowerBound.Set((_local4 - m_radius), (_local5 - m_radius)); _arg1.upperBound.Set((_local4 + m_radius), (_local5 + m_radius)); } override public function TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ var _local3:b2Mat22 = _arg1.R; var _local4:Number = (_arg1.position.x + ((_local3.col1.x * m_localPosition.x) + (_local3.col2.x * m_localPosition.y))); var _local5:Number = (_arg1.position.y + ((_local3.col1.y * m_localPosition.x) + (_local3.col2.y * m_localPosition.y))); _local4 = (_arg2.x - _local4); _local5 = (_arg2.y - _local5); return ((((_local4 * _local4) + (_local5 * _local5)) <= (m_radius * m_radius))); } } }//package Box2D.Collision.Shapes
Section 3
//b2FilterData (Box2D.Collision.Shapes.b2FilterData) package Box2D.Collision.Shapes { public class b2FilterData { public var maskBits:uint;// = 0xFFFF public var groupIndex:int;// = 0 public var categoryBits:uint;// = 1 public function Copy():b2FilterData{ var _local1:b2FilterData = new b2FilterData(); _local1.categoryBits = categoryBits; _local1.maskBits = maskBits; _local1.groupIndex = groupIndex; return (_local1); } } }//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(){ center = new b2Vec2(0, 0); super(); } } }//package Box2D.Collision.Shapes
Section 5
//b2PolygonDef (Box2D.Collision.Shapes.b2PolygonDef) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2PolygonDef extends b2ShapeDef { public var vertices:Array; public var vertexCount:int; private static var s_mat:b2Mat22 = new b2Mat22(); public function b2PolygonDef(){ vertices = new Array(b2Settings.b2_maxPolygonVertices); super(); type = b2Shape.e_polygonShape; vertexCount = 0; var _local1:int; while (_local1 < b2Settings.b2_maxPolygonVertices) { vertices[_local1] = new b2Vec2(); _local1++; }; } public function SetAsOrientedBox(_arg1:Number, _arg2:Number, _arg3:b2Vec2=null, _arg4:Number=0):void{ var _local5:b2Vec2; var _local6:b2Mat22; var _local7:int; vertexCount = 4; vertices[0].Set(-(_arg1), -(_arg2)); vertices[1].Set(_arg1, -(_arg2)); vertices[2].Set(_arg1, _arg2); vertices[3].Set(-(_arg1), _arg2); if (_arg3){ _local5 = _arg3; _local6 = s_mat; _local6.Set(_arg4); _local7 = 0; while (_local7 < vertexCount) { _arg3 = vertices[_local7]; _arg1 = (_local5.x + ((_local6.col1.x * _arg3.x) + (_local6.col2.x * _arg3.y))); _arg3.y = (_local5.y + ((_local6.col1.y * _arg3.x) + (_local6.col2.y * _arg3.y))); _arg3.x = _arg1; _local7++; }; }; } public function SetAsBox(_arg1:Number, _arg2:Number):void{ vertexCount = 4; vertices[0].Set(-(_arg1), -(_arg2)); vertices[1].Set(_arg1, -(_arg2)); vertices[2].Set(_arg1, _arg2); vertices[3].Set(-(_arg1), _arg2); } } }//package Box2D.Collision.Shapes
Section 6
//b2PolygonShape (Box2D.Collision.Shapes.b2PolygonShape) package Box2D.Collision.Shapes { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2PolygonShape extends b2Shape { public var m_coreVertices:Array; public var m_vertices:Array; private var s_supportVec:b2Vec2; public var m_centroid:b2Vec2; public var m_normals:Array; public var m_obb:b2OBB; public var m_vertexCount:int; private static var s_computeMat:b2Mat22 = new b2Mat22(); private static var s_sweptAABB1:b2AABB = new b2AABB(); private static var s_sweptAABB2:b2AABB = new b2AABB(); public function b2PolygonShape(_arg1:b2ShapeDef){ var _local3:int; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; s_supportVec = new b2Vec2(); m_obb = new b2OBB(); m_vertices = new Array(b2Settings.b2_maxPolygonVertices); m_normals = new Array(b2Settings.b2_maxPolygonVertices); m_coreVertices = new Array(b2Settings.b2_maxPolygonVertices); super(_arg1); m_type = e_polygonShape; var _local2:b2PolygonDef = (_arg1 as b2PolygonDef); m_vertexCount = _local2.vertexCount; var _local4:int = _local3; var _local5:int = _local3; _local3 = 0; while (_local3 < m_vertexCount) { m_vertices[_local3] = _local2.vertices[_local3].Copy(); _local3++; }; _local3 = 0; while (_local3 < m_vertexCount) { _local4 = _local3; _local5 = (((_local3 + 1) < m_vertexCount)) ? (_local3 + 1) : 0; _local6 = (m_vertices[_local5].x - m_vertices[_local4].x); _local7 = (m_vertices[_local5].y - m_vertices[_local4].y); _local8 = Math.sqrt(((_local6 * _local6) + (_local7 * _local7))); m_normals[_local3] = new b2Vec2((_local7 / _local8), (-(_local6) / _local8)); _local3++; }; m_centroid = ComputeCentroid(_local2.vertices, _local2.vertexCount); ComputeOBB(m_obb, m_vertices, m_vertexCount); _local3 = 0; while (_local3 < m_vertexCount) { _local4 = (((_local3 - 1) >= 0)) ? (_local3 - 1) : (m_vertexCount - 1); _local5 = _local3; _local9 = m_normals[_local4].x; _local10 = m_normals[_local4].y; _local11 = m_normals[_local5].x; _local12 = m_normals[_local5].y; _local13 = (m_vertices[_local3].x - m_centroid.x); _local14 = (m_vertices[_local3].y - m_centroid.y); _local15 = (((_local9 * _local13) + (_local10 * _local14)) - b2Settings.b2_toiSlop); _local16 = (((_local11 * _local13) + (_local12 * _local14)) - b2Settings.b2_toiSlop); _local17 = (1 / ((_local9 * _local12) - (_local10 * _local11))); m_coreVertices[_local3] = new b2Vec2(((_local17 * ((_local12 * _local15) - (_local10 * _local16))) + m_centroid.x), ((_local17 * ((_local9 * _local16) - (_local11 * _local15))) + m_centroid.y)); _local3++; }; } override public function ComputeSweptAABB(_arg1:b2AABB, _arg2:b2XForm, _arg3:b2XForm):void{ var _local4:b2AABB = s_sweptAABB1; var _local5:b2AABB = s_sweptAABB2; ComputeAABB(_local4, _arg2); ComputeAABB(_local5, _arg3); _arg1.lowerBound.Set(((_local4.lowerBound.x < _local5.lowerBound.x)) ? _local4.lowerBound.x : _local5.lowerBound.x, ((_local4.lowerBound.y < _local5.lowerBound.y)) ? _local4.lowerBound.y : _local5.lowerBound.y); _arg1.upperBound.Set(((_local4.upperBound.x > _local5.upperBound.x)) ? _local4.upperBound.x : _local5.upperBound.x, ((_local4.upperBound.y > _local5.upperBound.y)) ? _local4.upperBound.y : _local5.upperBound.y); } public function GetVertices():Array{ return (m_vertices); } public function GetCoreVertices():Array{ return (m_coreVertices); } public function GetCentroid():b2Vec2{ return (m_centroid); } public function GetOBB():b2OBB{ return (m_obb); } public function GetFirstVertex(_arg1:b2XForm):b2Vec2{ return (b2Math.b2MulX(_arg1, m_coreVertices[0])); } public function Centroid(_arg1:b2XForm):b2Vec2{ return (b2Math.b2MulX(_arg1, m_centroid)); } override public function TestSegment(_arg1:b2XForm, _arg2:Array, _arg3:b2Vec2, _arg4:b2Segment, _arg5:Number):Boolean{ var _local8:Number; var _local9:Number; var _local10:b2Mat22; var _local11:b2Vec2; var _local20:Number; var _local21:Number; var _local6:Number = 0; var _local7:Number = _arg5; _local8 = (_arg4.p1.x - _arg1.position.x); _local9 = (_arg4.p1.y - _arg1.position.y); _local10 = _arg1.R; var _local12:Number = ((_local8 * _local10.col1.x) + (_local9 * _local10.col1.y)); var _local13:Number = ((_local8 * _local10.col2.x) + (_local9 * _local10.col2.y)); _local8 = (_arg4.p2.x - _arg1.position.x); _local9 = (_arg4.p2.y - _arg1.position.y); _local10 = _arg1.R; var _local14:Number = ((_local8 * _local10.col1.x) + (_local9 * _local10.col1.y)); var _local15:Number = ((_local8 * _local10.col2.x) + (_local9 * _local10.col2.y)); var _local16:Number = (_local14 - _local12); var _local17:Number = (_local15 - _local13); var _local18 = -1; var _local19:int; while (_local19 < m_vertexCount) { _local11 = m_vertices[_local19]; _local8 = (_local11.x - _local12); _local9 = (_local11.y - _local13); _local11 = m_normals[_local19]; _local20 = ((_local11.x * _local8) + (_local11.y * _local9)); _local21 = ((_local11.x * _local16) + (_local11.y * _local17)); if ((((_local21 < 0)) && ((_local20 < (_local6 * _local21))))){ _local6 = (_local20 / _local21); _local18 = _local19; } else { if ((((_local21 > 0)) && ((_local20 < (_local7 * _local21))))){ _local7 = (_local20 / _local21); }; }; if (_local7 < _local6){ return (false); }; _local19++; }; if (_local18 >= 0){ _arg2[0] = _local6; _local10 = _arg1.R; _local11 = m_normals[_local18]; _arg3.x = ((_local10.col1.x * _local11.x) + (_local10.col2.x * _local11.y)); _arg3.y = ((_local10.col1.y * _local11.x) + (_local10.col2.y * _local11.y)); return (true); }; return (false); } override public function ComputeMass(_arg1:b2MassData):void{ var _local10:b2Vec2; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local2:Number = 0; var _local3:Number = 0; var _local4:Number = 0; var _local5:Number = 0; var _local6:Number = 0; var _local7:Number = 0; var _local8:Number = (1 / 3); var _local9:int; while (_local9 < m_vertexCount) { _local10 = m_vertices[_local9]; _local11 = (((_local9 + 1) < m_vertexCount)) ? m_vertices[int((_local9 + 1))] : m_vertices[0]; _local12 = (_local10.x - _local6); _local13 = (_local10.y - _local7); _local14 = (_local11.x - _local6); _local15 = (_local11.y - _local7); _local16 = ((_local12 * _local15) - (_local13 * _local14)); _local17 = (0.5 * _local16); _local4 = (_local4 + _local17); _local2 = (_local2 + ((_local17 * _local8) * ((_local6 + _local10.x) + _local11.x))); _local3 = (_local3 + ((_local17 * _local8) * ((_local7 + _local10.y) + _local11.y))); _local18 = _local6; _local19 = _local7; _local20 = _local12; _local21 = _local13; _local22 = _local14; _local23 = _local15; _local24 = ((_local8 * ((0.25 * (((_local20 * _local20) + (_local22 * _local20)) + (_local22 * _local22))) + ((_local18 * _local20) + (_local18 * _local22)))) + ((0.5 * _local18) * _local18)); _local25 = ((_local8 * ((0.25 * (((_local21 * _local21) + (_local23 * _local21)) + (_local23 * _local23))) + ((_local19 * _local21) + (_local19 * _local23)))) + ((0.5 * _local19) * _local19)); _local5 = (_local5 + (_local16 * (_local24 + _local25))); _local9++; }; _arg1.mass = (m_density * _local4); _local2 = (_local2 * (1 / _local4)); _local3 = (_local3 * (1 / _local4)); _arg1.center.Set(_local2, _local3); _arg1.I = (m_density * _local5); } public function GetNormals():Array{ return (m_normals); } public function Support(_arg1:b2XForm, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:b2Vec2; var _local5:b2Mat22; var _local11:Number; _local5 = _arg1.R; var _local6:Number = ((_arg2 * _local5.col1.x) + (_arg3 * _local5.col1.y)); var _local7:Number = ((_arg2 * _local5.col2.x) + (_arg3 * _local5.col2.y)); var _local8:int; _local4 = m_coreVertices[0]; var _local9:Number = ((_local4.x * _local6) + (_local4.y * _local7)); var _local10 = 1; while (_local10 < m_vertexCount) { _local4 = m_coreVertices[_local10]; _local11 = ((_local4.x * _local6) + (_local4.y * _local7)); if (_local11 > _local9){ _local8 = _local10; _local9 = _local11; }; _local10++; }; _local5 = _arg1.R; _local4 = m_coreVertices[_local8]; s_supportVec.x = (_arg1.position.x + ((_local5.col1.x * _local4.x) + (_local5.col2.x * _local4.y))); s_supportVec.y = (_arg1.position.y + ((_local5.col1.y * _local4.x) + (_local5.col2.y * _local4.y))); return (s_supportVec); } public function GetVertexCount():int{ return (m_vertexCount); } override public function ComputeAABB(_arg1:b2AABB, _arg2:b2XForm):void{ var _local3:b2Mat22; var _local4:b2Vec2; var _local5:b2Mat22 = s_computeMat; _local3 = _arg2.R; _local4 = m_obb.R.col1; _local5.col1.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); _local5.col1.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); _local4 = m_obb.R.col2; _local5.col2.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); _local5.col2.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); _local5.Abs(); var _local6:b2Mat22 = _local5; _local4 = m_obb.extents; var _local7:Number = ((_local6.col1.x * _local4.x) + (_local6.col2.x * _local4.y)); var _local8:Number = ((_local6.col1.y * _local4.x) + (_local6.col2.y * _local4.y)); _local3 = _arg2.R; _local4 = m_obb.center; var _local9:Number = (_arg2.position.x + ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y))); var _local10:Number = (_arg2.position.y + ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y))); _arg1.lowerBound.Set((_local9 - _local7), (_local10 - _local8)); _arg1.upperBound.Set((_local9 + _local7), (_local10 + _local8)); } override public function UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:b2Vec2; var _local4:Number; var _local5:Number; m_sweepRadius = 0; var _local3:int; while (_local3 < m_vertexCount) { _local2 = m_coreVertices[_local3]; _local4 = (_local2.x - _arg1.x); _local5 = (_local2.y - _arg1.y); _local4 = Math.sqrt(((_local4 * _local4) + (_local5 * _local5))); if (_local4 > m_sweepRadius){ m_sweepRadius = _local4; }; _local3++; }; } override public function TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ var _local3:b2Vec2; var _local10:Number; var _local4:b2Mat22 = _arg1.R; var _local5:Number = (_arg2.x - _arg1.position.x); var _local6:Number = (_arg2.y - _arg1.position.y); var _local7:Number = ((_local5 * _local4.col1.x) + (_local6 * _local4.col1.y)); var _local8:Number = ((_local5 * _local4.col2.x) + (_local6 * _local4.col2.y)); var _local9:int; while (_local9 < m_vertexCount) { _local3 = m_vertices[_local9]; _local5 = (_local7 - _local3.x); _local6 = (_local8 - _local3.y); _local3 = m_normals[_local9]; _local10 = ((_local3.x * _local5) + (_local3.y * _local6)); if (_local10 > 0){ return (false); }; _local9++; }; return (true); } public static function ComputeCentroid(_arg1:Array, _arg2:int):b2Vec2{ var _local3:b2Vec2; var _local7:Number; var _local9:b2Vec2; var _local10:b2Vec2; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; _local3 = new b2Vec2(); var _local4:Number = 0; var _local5:Number = 0; var _local6:Number = 0; _local7 = (1 / 3); var _local8:int; while (_local8 < _arg2) { _local9 = _arg1[_local8]; _local10 = (((_local8 + 1) < _arg2)) ? _arg1[int((_local8 + 1))] : _arg1[0]; _local11 = (_local9.x - _local5); _local12 = (_local9.y - _local6); _local13 = (_local10.x - _local5); _local14 = (_local10.y - _local6); _local15 = ((_local11 * _local14) - (_local12 * _local13)); _local16 = (0.5 * _local15); _local4 = (_local4 + _local16); _local3.x = (_local3.x + ((_local16 * _local7) * ((_local5 + _local9.x) + _local10.x))); _local3.y = (_local3.y + ((_local16 * _local7) * ((_local6 + _local9.y) + _local10.y))); _local8++; }; _local3.x = (_local3.x * (1 / _local4)); _local3.y = (_local3.y * (1 / _local4)); return (_local3); } public static function ComputeOBB(_arg1:b2OBB, _arg2:Array, _arg3:int):void{ var _local4:int; var _local7:b2Vec2; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:int; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:b2Mat22; var _local5:Array = new Array((b2Settings.b2_maxPolygonVertices + 1)); _local4 = 0; while (_local4 < _arg3) { _local5[_local4] = _arg2[_local4]; _local4++; }; _local5[_arg3] = _local5[0]; var _local6:Number = Number.MAX_VALUE; _local4 = 1; while (_local4 <= _arg3) { _local7 = _local5[int((_local4 - 1))]; _local8 = (_local5[_local4].x - _local7.x); _local9 = (_local5[_local4].y - _local7.y); _local10 = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); _local8 = (_local8 / _local10); _local9 = (_local9 / _local10); _local11 = -(_local9); _local12 = _local8; _local13 = Number.MAX_VALUE; _local14 = Number.MAX_VALUE; _local15 = -(Number.MAX_VALUE); _local16 = -(Number.MAX_VALUE); _local17 = 0; while (_local17 < _arg3) { _local19 = (_local5[_local17].x - _local7.x); _local20 = (_local5[_local17].y - _local7.y); _local21 = ((_local8 * _local19) + (_local9 * _local20)); _local22 = ((_local11 * _local19) + (_local12 * _local20)); if (_local21 < _local13){ _local13 = _local21; }; if (_local22 < _local14){ _local14 = _local22; }; if (_local21 > _local15){ _local15 = _local21; }; if (_local22 > _local16){ _local16 = _local22; }; _local17++; }; _local18 = ((_local15 - _local13) * (_local16 - _local14)); if (_local18 < (0.95 * _local6)){ _local6 = _local18; _arg1.R.col1.x = _local8; _arg1.R.col1.y = _local9; _arg1.R.col2.x = _local11; _arg1.R.col2.y = _local12; _local23 = (0.5 * (_local13 + _local15)); _local24 = (0.5 * (_local14 + _local16)); _local25 = _arg1.R; _arg1.center.x = (_local7.x + ((_local25.col1.x * _local23) + (_local25.col2.x * _local24))); _arg1.center.y = (_local7.y + ((_local25.col1.y * _local23) + (_local25.col2.y * _local24))); _arg1.extents.x = (0.5 * (_local15 - _local13)); _arg1.extents.y = (0.5 * (_local16 - _local14)); }; _local4++; }; } } }//package Box2D.Collision.Shapes
Section 7
//b2Shape (Box2D.Collision.Shapes.b2Shape) package Box2D.Collision.Shapes { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2Shape { public var m_next:b2Shape; public var m_type:int; public var m_sweepRadius:Number; public var m_density:Number; public var m_filter:b2FilterData; public var m_friction:Number; public var m_isSensor:Boolean; public var m_restitution:Number; public var m_userData; public var m_proxyId:uint; public var m_body:b2Body; public static const e_polygonShape:int = 1; public static const e_unknownShape:int = -1; public static const e_circleShape:int = 0; public static const e_shapeTypeCount:int = 2; private static var s_resetAABB:b2AABB = new b2AABB(); private static var s_syncAABB:b2AABB = new b2AABB(); private static var s_proxyAABB:b2AABB = new b2AABB(); public function b2Shape(_arg1:b2ShapeDef){ m_userData = _arg1.userData; m_friction = _arg1.friction; m_restitution = _arg1.restitution; m_density = _arg1.density; m_body = null; m_sweepRadius = 0; m_next = null; m_proxyId = b2Pair.b2_nullProxy; m_filter = _arg1.filter.Copy(); m_isSensor = _arg1.isSensor; } public function SetUserData(_arg1):void{ m_userData = _arg1; } public function GetSweepRadius():Number{ return (m_sweepRadius); } public function GetNext():b2Shape{ return (m_next); } public function ComputeSweptAABB(_arg1:b2AABB, _arg2:b2XForm, _arg3:b2XForm):void{ } public function GetType():int{ return (m_type); } public function GetRestitution():Number{ return (m_restitution); } public function GetFriction():Number{ return (m_friction); } public function GetFilterData():b2FilterData{ return (m_filter.Copy()); } public function TestSegment(_arg1:b2XForm, _arg2:Array, _arg3:b2Vec2, _arg4:b2Segment, _arg5:Number):Boolean{ return (false); } public function RefilterProxy(_arg1:b2BroadPhase, _arg2:b2XForm):void{ if (m_proxyId == b2Pair.b2_nullProxy){ return; }; _arg1.DestroyProxy(m_proxyId); var _local3:b2AABB = s_resetAABB; ComputeAABB(_local3, _arg2); var _local4:Boolean = _arg1.InRange(_local3); if (_local4){ m_proxyId = _arg1.CreateProxy(_local3, this); } else { m_proxyId = b2Pair.b2_nullProxy; }; } public function SetFilterData(_arg1:b2FilterData):void{ m_filter = _arg1.Copy(); } public function GetUserData(){ return (m_userData); } public function Synchronize(_arg1:b2BroadPhase, _arg2:b2XForm, _arg3:b2XForm):Boolean{ if (m_proxyId == b2Pair.b2_nullProxy){ return (false); }; var _local4:b2AABB = s_syncAABB; ComputeSweptAABB(_local4, _arg2, _arg3); if (_arg1.InRange(_local4)){ _arg1.MoveProxy(m_proxyId, _local4); return (true); }; return (false); } public function ComputeMass(_arg1:b2MassData):void{ } public function IsSensor():Boolean{ return (m_isSensor); } public function DestroyProxy(_arg1:b2BroadPhase):void{ if (m_proxyId != b2Pair.b2_nullProxy){ _arg1.DestroyProxy(m_proxyId); m_proxyId = b2Pair.b2_nullProxy; }; } public function UpdateSweepRadius(_arg1:b2Vec2):void{ } public function ComputeAABB(_arg1:b2AABB, _arg2:b2XForm):void{ } public function GetBody():b2Body{ return (m_body); } public function CreateProxy(_arg1:b2BroadPhase, _arg2:b2XForm):void{ var _local3:b2AABB = s_proxyAABB; ComputeAABB(_local3, _arg2); var _local4:Boolean = _arg1.InRange(_local3); if (_local4){ m_proxyId = _arg1.CreateProxy(_local3, this); } else { m_proxyId = b2Pair.b2_nullProxy; }; } public function TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ return (false); } public static function Destroy(_arg1:b2Shape, _arg2):void{ } public static function Create(_arg1:b2ShapeDef, _arg2):b2Shape{ switch (_arg1.type){ case e_circleShape: return (new b2CircleShape(_arg1)); case e_polygonShape: return (new b2PolygonShape(_arg1)); default: return (null); }; } } }//package Box2D.Collision.Shapes
Section 8
//b2ShapeDef (Box2D.Collision.Shapes.b2ShapeDef) package Box2D.Collision.Shapes { public class b2ShapeDef { public var friction:Number;// = 0.2 public var isSensor:Boolean;// = false public var density:Number;// = 0 public var restitution:Number;// = 0 public var userData;// = null public var filter:b2FilterData; public var type:int; public function b2ShapeDef(){ type = b2Shape.e_unknownShape; filter = new b2FilterData(); super(); } } }//package Box2D.Collision.Shapes
Section 9
//b2AABB (Box2D.Collision.b2AABB) package Box2D.Collision { import Box2D.Common.Math.*; public class b2AABB { public var upperBound:b2Vec2; public var lowerBound:b2Vec2; public function b2AABB(){ lowerBound = new b2Vec2(); upperBound = new b2Vec2(); super(); } public function IsValid():Boolean{ var _local1:Number = (upperBound.x - lowerBound.x); var _local2:Number = (upperBound.y - lowerBound.y); var _local3:Boolean = (((_local1 >= 0)) && ((_local2 >= 0))); _local3 = ((((_local3) && (lowerBound.IsValid()))) && (upperBound.IsValid())); return (_local3); } } }//package Box2D.Collision
Section 10
//b2Bound (Box2D.Collision.b2Bound) package Box2D.Collision { public class b2Bound { public var value:uint; public var proxyId:uint; public var stabbingCount:uint; public function Swap(_arg1:b2Bound):void{ var _local2:uint = value; var _local3:uint = proxyId; var _local4:uint = 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_bounds:Array; public var m_quantizationFactor:b2Vec2; public var m_worldAABB:b2AABB; 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 = 0xFFFF; public static const b2_invalid:uint = 0xFFFF; public static var s_validate:Boolean = false; public function b2BroadPhase(_arg1:b2AABB, _arg2:b2PairCallback){ var _local3:int; 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++; }; var _local4:Number = (_arg1.upperBound.x - _arg1.lowerBound.x); _local5 = (_arg1.upperBound.y - _arg1.lowerBound.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[int((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 _local6:uint; var _local7:uint; var _local12:b2Proxy; var _local4:Array = new Array(); var _local5:Array = new Array(); ComputeBounds(_local4, _local5, _arg1); var _local8:Array = [_local6]; var _local9:Array = [_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); var _local10:int; var _local11:int; 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{ var _local2:b2Proxy = m_proxyPool[_arg1]; if ((((_arg1 == b2Pair.b2_nullProxy)) || ((_local2.IsValid() == false)))){ return (null); }; return (_local2); } private function IncrementTimeStamp():void{ var _local1:uint; if (m_timeStamp == b2Settings.USHRT_MAX){ _local1 = 0; while (_local1 < b2Settings.b2_maxProxies) { (m_proxyPool[_local1] as b2Proxy).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 _local10:b2Bound; var _local12:int; var _local13:int; var _local14:b2Proxy; var _local8:uint = BinarySearch(_arg5, _arg6, _arg3); var _local9:uint = BinarySearch(_arg5, _arg6, _arg4); var _local11:uint = _local8; while (_local11 < _local9) { _local10 = _arg5[_local11]; if (_local10.IsLower()){ IncrementOverlapCount(_local10.proxyId); }; _local11++; }; if (_local8 > 0){ _local12 = (_local8 - 1); _local10 = _arg5[_local12]; _local13 = _local10.stabbingCount; while (_local13) { _local10 = _arg5[_local12]; if (_local10.IsLower()){ _local14 = m_proxyPool[_local10.proxyId]; if (_local8 <= _local14.upperBounds[_arg7]){ IncrementOverlapCount(_local10.proxyId); _local13--; }; }; _local12--; }; }; _arg1[0] = _local8; _arg2[0] = _local9; } private function TestOverlapValidate(_arg1:b2Proxy, _arg2:b2Proxy):Boolean{ var _local4:Array; var _local5:b2Bound; var _local6:b2Bound; var _local3:int; while (_local3 < 2) { _local4 = m_bounds[_local3]; _local5 = _local4[_arg1.lowerBounds[_local3]]; _local6 = _local4[_arg2.upperBounds[_local3]]; if (_local5.value > _local6.value){ return (false); }; _local5 = _local4[_arg1.upperBounds[_local3]]; _local6 = _local4[_arg2.lowerBounds[_local3]]; if (_local5.value < _local6.value){ return (false); }; _local3++; }; return (true); } private function ComputeBounds(_arg1:Array, _arg2:Array, _arg3:b2AABB):void{ var _local4:Number = _arg3.lowerBound.x; var _local5:Number = _arg3.lowerBound.y; _local4 = b2Math.b2Min(_local4, m_worldAABB.upperBound.x); _local5 = b2Math.b2Min(_local5, m_worldAABB.upperBound.y); _local4 = b2Math.b2Max(_local4, m_worldAABB.lowerBound.x); _local5 = b2Math.b2Max(_local5, m_worldAABB.lowerBound.y); var _local6:Number = _arg3.upperBound.x; var _local7:Number = _arg3.upperBound.y; _local6 = b2Math.b2Min(_local6, m_worldAABB.upperBound.x); _local7 = b2Math.b2Min(_local7, m_worldAABB.upperBound.y); _local6 = b2Math.b2Max(_local6, m_worldAABB.lowerBound.x); _local7 = b2Math.b2Max(_local7, m_worldAABB.lowerBound.y); _arg1[0] = (uint((m_quantizationFactor.x * (_local4 - m_worldAABB.lowerBound.x))) & (b2Settings.USHRT_MAX - 1)); _arg2[0] = ((uint((m_quantizationFactor.x * (_local6 - m_worldAABB.lowerBound.x))) & 0xFFFF) | 1); _arg1[1] = (uint((m_quantizationFactor.y * (_local5 - m_worldAABB.lowerBound.y))) & (b2Settings.USHRT_MAX - 1)); _arg2[1] = ((uint((m_quantizationFactor.y * (_local7 - m_worldAABB.lowerBound.y))) & 0xFFFF) | 1); } public function CreateProxy(_arg1:b2AABB, _arg2):uint{ var _local3:uint; var _local4:b2Proxy; 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:b2Bound; var _local22:int; var _local23:b2Proxy; var _local5:uint = m_freeProxy; _local4 = m_proxyPool[_local5]; m_freeProxy = _local4.GetNext(); _local4.overlapCount = 0; _local4.userData = _arg2; var _local6:uint = (2 * m_proxyCount); var _local7:Array = new Array(); var _local8:Array = new Array(); ComputeBounds(_local7, _local8, _arg1); var _local9:int; 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[int((_local13 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local18 = _local16.length; _local22 = (_local13 + 2); _local17 = 0; while (_local17 < _local18) { _local20 = _local16[_local17]; _local19 = _local11[int((_local22 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local16 = new Array(); _local18 = (_local13 - _local12); _local17 = 0; while (_local17 < _local18) { _local16[_local17] = new b2Bound(); _local19 = _local16[_local17]; _local20 = _local11[int((_local12 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local18 = _local16.length; _local22 = (_local12 + 1); _local17 = 0; while (_local17 < _local18) { _local20 = _local16[_local17]; _local19 = _local11[int((_local22 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local13++; _local19 = _local11[_local12]; _local20 = _local11[_local13]; _local19.value = _local7[_local9]; _local19.proxyId = _local5; _local20.value = _local8[_local9]; _local20.proxyId = _local5; _local21 = _local11[int((_local12 - 1))]; _local19.stabbingCount = ((_local12 == 0)) ? 0 : _local21.stabbingCount; _local21 = _local11[int((_local13 - 1))]; _local20.stabbingCount = _local21.stabbingCount; _local3 = _local12; while (_local3 < _local13) { _local21 = _local11[_local3]; _local21.stabbingCount++; _local3++; }; _local3 = _local12; while (_local3 < (_local6 + 2)) { _local19 = _local11[_local3]; _local23 = m_proxyPool[_local19.proxyId]; if (_local19.IsLower()){ _local23.lowerBounds[_local9] = _local3; } else { _local23.upperBounds[_local9] = _local3; }; _local3++; }; _local9++; }; m_proxyCount++; var _local10:int; 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:b2Bound; var _local3:b2Bound; var _local8:Array; var _local9:uint; var _local10:uint; var _local11:uint; var _local12:uint; var _local13:Array; var _local14:int; var _local15:int; var _local16:int; var _local17:uint; var _local18:int; var _local19:b2Proxy; var _local4:b2Proxy = m_proxyPool[_arg1]; var _local5:int = (2 * m_proxyCount); var _local6:int; while (_local6 < 2) { _local8 = m_bounds[_local6]; _local9 = _local4.lowerBounds[_local6]; _local10 = _local4.upperBounds[_local6]; _local2 = _local8[_local9]; _local11 = _local2.value; _local3 = _local8[_local10]; _local12 = _local3.value; _local13 = new Array(); _local15 = ((_local10 - _local9) - 1); _local14 = 0; while (_local14 < _local15) { _local13[_local14] = new b2Bound(); _local2 = _local13[_local14]; _local3 = _local8[int(((_local9 + 1) + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local15 = _local13.length; _local16 = _local9; _local14 = 0; while (_local14 < _local15) { _local3 = _local13[_local14]; _local2 = _local8[int((_local16 + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local13 = new Array(); _local15 = ((_local5 - _local10) - 1); _local14 = 0; while (_local14 < _local15) { _local13[_local14] = new b2Bound(); _local2 = _local13[_local14]; _local3 = _local8[int(((_local10 + 1) + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local15 = _local13.length; _local16 = (_local10 - 1); _local14 = 0; while (_local14 < _local15) { _local3 = _local13[_local14]; _local2 = _local8[int((_local16 + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local15 = (_local5 - 2); _local17 = _local9; while (_local17 < _local15) { _local2 = _local8[_local17]; _local19 = m_proxyPool[_local2.proxyId]; if (_local2.IsLower()){ _local19.lowerBounds[_local6] = _local17; } else { _local19.upperBounds[_local6] = _local17; }; _local17++; }; _local15 = (_local10 - 1); _local18 = _local9; while (_local18 < _local15) { _local2 = _local8[_local18]; _local2.stabbingCount--; _local18++; }; Query([0], [0], _local11, _local12, _local8, (_local5 - 2), _local6); _local6++; }; var _local7:int; while (_local7 < m_queryResultCount) { m_pairManager.RemoveBufferedPair(_arg1, m_queryResults[_local7]); _local7++; }; m_pairManager.Commit(); m_queryResultCount = 0; IncrementTimeStamp(); _local4.userData = null; _local4.overlapCount = b2_invalid; _local4.lowerBounds[0] = b2_invalid; _local4.lowerBounds[1] = b2_invalid; _local4.upperBounds[0] = b2_invalid; _local4.upperBounds[1] = b2_invalid; _local4.SetNext(m_freeProxy); m_freeProxy = _arg1; m_proxyCount--; } public function TestOverlap(_arg1:b2BoundValues, _arg2:b2Proxy):Boolean{ var _local4:Array; var _local5:b2Bound; var _local3:int; while (_local3 < 2) { _local4 = m_bounds[_local3]; _local5 = _local4[_arg2.upperBounds[_local3]]; if (_arg1.lowerValues[_local3] > _local5.value){ return (false); }; _local5 = _local4[_arg2.lowerBounds[_local3]]; if (_arg1.upperValues[_local3] < _local5.value){ return (false); }; _local3++; }; return (true); } public function Validate():void{ var _local1:b2Pair; var _local2:b2Proxy; var _local3:b2Proxy; var _local4:Boolean; var _local6:b2Bound; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:b2Bound; var _local5:int; 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 = 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.lowerBound.x; _local3 = _arg1.lowerBound.y; _local2 = (_local2 - m_worldAABB.upperBound.x); _local3 = (_local3 - m_worldAABB.upperBound.y); _local4 = m_worldAABB.lowerBound.x; _local5 = m_worldAABB.lowerBound.y; _local4 = (_local4 - _arg1.upperBound.x); _local5 = (_local5 - _arg1.upperBound.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:Array; var _local4:int; var _local5:uint; var _local6:uint; var _local7:b2Bound; var _local8:b2Bound; var _local9:b2Bound; var _local10:uint; var _local11:b2Proxy; var _local16:Array; var _local17:uint; var _local18:uint; var _local19:uint; var _local20:uint; var _local21:int; var _local22:int; var _local23:uint; var _local24:b2Proxy; if ((((_arg1 == b2Pair.b2_nullProxy)) || ((b2Settings.b2_maxProxies <= _arg1)))){ return; }; if (_arg2.IsValid() == false){ return; }; var _local12:uint = (2 * m_proxyCount); var _local13:b2Proxy = m_proxyPool[_arg1]; var _local14:b2BoundValues = new b2BoundValues(); ComputeBounds(_local14.lowerValues, _local14.upperValues, _arg2); var _local15:b2BoundValues = new b2BoundValues(); _local5 = 0; while (_local5 < 2) { _local7 = m_bounds[_local5][_local13.lowerBounds[_local5]]; _local15.lowerValues[_local5] = _local7.value; _local7 = m_bounds[_local5][_local13.upperBounds[_local5]]; _local15.upperValues[_local5] = _local7.value; _local5++; }; _local5 = 0; while (_local5 < 2) { _local16 = m_bounds[_local5]; _local17 = _local13.lowerBounds[_local5]; _local18 = _local13.upperBounds[_local5]; _local19 = _local14.lowerValues[_local5]; _local20 = _local14.upperValues[_local5]; _local7 = _local16[_local17]; _local21 = (_local19 - _local7.value); _local7.value = _local19; _local7 = _local16[_local18]; _local22 = (_local20 - _local7.value); _local7.value = _local20; if (_local21 < 0){ _local6 = _local17; while ((((_local6 > 0)) && ((_local19 < (_local16[int((_local6 - 1))] as b2Bound).value)))) { _local7 = _local16[_local6]; _local8 = _local16[int((_local6 - 1))]; _local23 = _local8.proxyId; _local24 = m_proxyPool[_local8.proxyId]; _local8.stabbingCount++; if (_local8.IsUpper() == true){ if (TestOverlap(_local14, _local24)){ m_pairManager.AddBufferedPair(_arg1, _local23); }; _local3 = _local24.upperBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount++; } else { _local3 = _local24.lowerBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount--; }; _local3 = _local13.lowerBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.Swap(_local8); _local6--; }; }; if (_local22 > 0){ _local6 = _local18; while ((((_local6 < (_local12 - 1))) && (((_local16[int((_local6 + 1))] as b2Bound).value <= _local20)))) { _local7 = _local16[_local6]; _local9 = _local16[int((_local6 + 1))]; _local10 = _local9.proxyId; _local11 = m_proxyPool[_local10]; _local9.stabbingCount++; if (_local9.IsLower() == true){ if (TestOverlap(_local14, _local11)){ m_pairManager.AddBufferedPair(_arg1, _local10); }; _local3 = _local11.lowerBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount++; } else { _local3 = _local11.upperBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount--; }; _local3 = _local13.upperBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.Swap(_local9); _local6++; }; }; if (_local21 > 0){ _local6 = _local17; while ((((_local6 < (_local12 - 1))) && (((_local16[int((_local6 + 1))] as b2Bound).value <= _local19)))) { _local7 = _local16[_local6]; _local9 = _local16[int((_local6 + 1))]; _local10 = _local9.proxyId; _local11 = m_proxyPool[_local10]; _local9.stabbingCount--; if (_local9.IsUpper()){ if (TestOverlap(_local15, _local11)){ m_pairManager.RemoveBufferedPair(_arg1, _local10); }; _local3 = _local11.upperBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount--; } else { _local3 = _local11.lowerBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount++; }; _local3 = _local13.lowerBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.Swap(_local9); _local6++; }; }; if (_local22 < 0){ _local6 = _local18; while ((((_local6 > 0)) && ((_local20 < (_local16[int((_local6 - 1))] as b2Bound).value)))) { _local7 = _local16[_local6]; _local8 = _local16[int((_local6 - 1))]; _local23 = _local8.proxyId; _local24 = m_proxyPool[_local23]; _local8.stabbingCount--; if (_local8.IsLower() == true){ if (TestOverlap(_local15, _local24)){ m_pairManager.RemoveBufferedPair(_arg1, _local23); }; _local3 = _local24.lowerBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount--; } else { _local3 = _local24.upperBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount++; }; _local3 = _local13.upperBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.Swap(_local8); _local6--; }; }; _local5++; }; } public static function BinarySearch(_arg1:Array, _arg2:int, _arg3:uint):uint{ var _local6:int; var _local7:b2Bound; var _local4:int; var _local5:int = (_arg2 - 1); while (_local4 <= _local5) { _local6 = ((_local4 + _local5) / 2); _local7 = _arg1[_local6]; if (_local7.value > _arg3){ _local5 = (_local6 - 1); } else { if (_local7.value < _arg3){ _local4 = (_local6 + 1); } else { return (uint(_local6)); }; }; }; return (uint(_local4)); } } }//package Box2D.Collision
Section 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:b2PolygonShape, _arg2:b2XForm, _arg3:int, _arg4:b2PolygonShape, _arg5:b2XForm):Number{ var _local11:b2Mat22; var _local12:b2Vec2; var _local25:Number; var _local6:int = _arg1.m_vertexCount; var _local7:Array = _arg1.m_vertices; var _local8:Array = _arg1.m_normals; var _local9:int = _arg4.m_vertexCount; var _local10:Array = _arg4.m_vertices; _local11 = _arg2.R; _local12 = _local8[_arg3]; var _local13:Number = ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y)); var _local14:Number = ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y)); _local11 = _arg5.R; var _local15:Number = ((_local11.col1.x * _local13) + (_local11.col1.y * _local14)); var _local16:Number = ((_local11.col2.x * _local13) + (_local11.col2.y * _local14)); var _local17:int; var _local18:Number = Number.MAX_VALUE; var _local19:int; while (_local19 < _local9) { _local12 = _local10[_local19]; _local25 = ((_local12.x * _local15) + (_local12.y * _local16)); if (_local25 < _local18){ _local18 = _local25; _local17 = _local19; }; _local19++; }; _local12 = _local7[_arg3]; _local11 = _arg2.R; var _local20:Number = (_arg2.position.x + ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y))); var _local21:Number = (_arg2.position.y + ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y))); _local12 = _local10[_local17]; _local11 = _arg5.R; var _local22:Number = (_arg5.position.x + ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y))); var _local23:Number = (_arg5.position.y + ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y))); _local22 = (_local22 - _local20); _local23 = (_local23 - _local21); var _local24:Number = ((_local22 * _local13) + (_local23 * _local14)); return (_local24); } public static function b2TestOverlap(_arg1:b2AABB, _arg2:b2AABB):Boolean{ var _local3:b2Vec2 = _arg2.lowerBound; var _local4:b2Vec2 = _arg1.upperBound; var _local5:Number = (_local3.x - _local4.x); var _local6:Number = (_local3.y - _local4.y); _local3 = _arg1.lowerBound; _local4 = _arg2.upperBound; var _local7:Number = (_local3.x - _local4.x); var _local8:Number = (_local3.y - _local4.y); if ((((_local5 > 0)) || ((_local6 > 0)))){ return (false); }; if ((((_local7 > 0)) || ((_local8 > 0)))){ return (false); }; return (true); } public static function FindIncidentEdge(_arg1:Array, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:int, _arg5:b2PolygonShape, _arg6:b2XForm):void{ var _local12:b2Mat22; var _local13:b2Vec2; var _local20:ClipVertex; var _local23:Number; var _local7:int = _arg2.m_vertexCount; var _local8:Array = _arg2.m_normals; var _local9:int = _arg5.m_vertexCount; var _local10:Array = _arg5.m_vertices; var _local11:Array = _arg5.m_normals; _local12 = _arg3.R; _local13 = _local8[_arg4]; var _local14:Number = ((_local12.col1.x * _local13.x) + (_local12.col2.x * _local13.y)); var _local15:Number = ((_local12.col1.y * _local13.x) + (_local12.col2.y * _local13.y)); _local12 = _arg6.R; var _local16:Number = ((_local12.col1.x * _local14) + (_local12.col1.y * _local15)); _local15 = ((_local12.col2.x * _local14) + (_local12.col2.y * _local15)); _local14 = _local16; var _local17:int; var _local18:Number = Number.MAX_VALUE; var _local19:int; while (_local19 < _local9) { _local13 = _local11[_local19]; _local23 = ((_local14 * _local13.x) + (_local15 * _local13.y)); if (_local23 < _local18){ _local18 = _local23; _local17 = _local19; }; _local19++; }; var _local21:int = _local17; var _local22:int = (((_local21 + 1) < _local9)) ? (_local21 + 1) : 0; _local20 = _arg1[0]; _local13 = _local10[_local21]; _local12 = _arg6.R; _local20.v.x = (_arg6.position.x + ((_local12.col1.x * _local13.x) + (_local12.col2.x * _local13.y))); _local20.v.y = (_arg6.position.y + ((_local12.col1.y * _local13.x) + (_local12.col2.y * _local13.y))); _local20.id.features.referenceEdge = _arg4; _local20.id.features.incidentEdge = _local21; _local20.id.features.incidentVertex = 0; _local20 = _arg1[1]; _local13 = _local10[_local22]; _local12 = _arg6.R; _local20.v.x = (_arg6.position.x + ((_local12.col1.x * _local13.x) + (_local12.col2.x * _local13.y))); _local20.v.y = (_arg6.position.y + ((_local12.col1.y * _local13.x) + (_local12.col2.y * _local13.y))); _local20.id.features.referenceEdge = _arg4; _local20.id.features.incidentEdge = _local22; _local20.id.features.incidentVertex = 1; } public static function b2CollidePolygons(_arg1:b2Manifold, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:b2PolygonShape, _arg5:b2XForm):void{ var _local6:ClipVertex; var _local13:b2PolygonShape; var _local14:b2PolygonShape; var _local17:int; var _local18:uint; var _local34:int; var _local37:b2Vec2; var _local38:Number; var _local39:b2ManifoldPoint; _arg1.pointCount = 0; var _local7:int; var _local8:Array = [_local7]; var _local9:Number = FindMaxSeparation(_local8, _arg2, _arg3, _arg4, _arg5); _local7 = _local8[0]; if (_local9 > 0){ return; }; var _local10:int; var _local11:Array = [_local10]; var _local12:Number = FindMaxSeparation(_local11, _arg4, _arg5, _arg2, _arg3); _local10 = _local11[0]; if (_local12 > 0){ return; }; var _local15:b2XForm = new b2XForm(); var _local16:b2XForm = new b2XForm(); var _local19:Number = 0.98; var _local20:Number = 0.001; if (_local12 > ((_local19 * _local9) + _local20)){ _local13 = _arg4; _local14 = _arg2; _local15.Set(_arg5); _local16.Set(_arg3); _local17 = _local10; _local18 = 1; } else { _local13 = _arg2; _local14 = _arg4; _local15.Set(_arg3); _local16.Set(_arg5); _local17 = _local7; _local18 = 0; }; var _local21:Array = [new ClipVertex(), new ClipVertex()]; FindIncidentEdge(_local21, _local13, _local15, _local17, _local14, _local16); var _local22:int = _local13.m_vertexCount; var _local23:Array = _local13.m_vertices; var _local24:b2Vec2 = _local23[_local17]; var _local25:b2Vec2 = _local24.Copy(); if ((_local17 + 1) < _local22){ _local24 = _local23[int((_local17 + 1))]; _local37 = _local24.Copy(); } else { _local24 = _local23[0]; _local37 = _local24.Copy(); }; var _local26:b2Vec2 = b2Math.SubtractVV(_local37, _local25); var _local27:b2Vec2 = b2Math.b2MulMV(_local15.R, b2Math.SubtractVV(_local37, _local25)); _local27.Normalize(); var _local28:b2Vec2 = b2Math.b2CrossVF(_local27, 1); _local25 = b2Math.b2MulX(_local15, _local25); _local37 = b2Math.b2MulX(_local15, _local37); var _local29:Number = b2Math.b2Dot(_local28, _local25); var _local30:Number = -(b2Math.b2Dot(_local27, _local25)); var _local31:Number = b2Math.b2Dot(_local27, _local37); var _local32:Array = [new ClipVertex(), new ClipVertex()]; var _local33:Array = [new ClipVertex(), new ClipVertex()]; _local34 = ClipSegmentToLine(_local32, _local21, _local27.Negative(), _local30); if (_local34 < 2){ return; }; _local34 = ClipSegmentToLine(_local33, _local32, _local27, _local31); if (_local34 < 2){ return; }; _arg1.normal = (_local18) ? _local28.Negative() : _local28.Copy(); var _local35:int; var _local36:int; while (_local36 < b2Settings.b2_maxManifoldPoints) { _local6 = _local33[_local36]; _local38 = (b2Math.b2Dot(_local28, _local6.v) - _local29); if (_local38 <= 0){ _local39 = _arg1.points[_local35]; _local39.separation = _local38; _local39.localPoint1 = b2Math.b2MulXT(_arg3, _local6.v); _local39.localPoint2 = b2Math.b2MulXT(_arg5, _local6.v); _local39.id.key = _local6.id._key; _local39.id.features.flip = _local18; _local35++; }; _local36++; }; _arg1.pointCount = _local35; } public static function FindMaxSeparation(_arg1:Array, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:b2PolygonShape, _arg5:b2XForm):Number{ var _local8:b2Vec2; var _local9:b2Mat22; var _local22:int; var _local23:Number; var _local24:int; var _local25:Number; var _local6:int = _arg2.m_vertexCount; var _local7:Array = _arg2.m_normals; _local9 = _arg5.R; _local8 = _arg4.m_centroid; var _local10:Number = (_arg5.position.x + ((_local9.col1.x * _local8.x) + (_local9.col2.x * _local8.y))); var _local11:Number = (_arg5.position.y + ((_local9.col1.y * _local8.x) + (_local9.col2.y * _local8.y))); _local9 = _arg3.R; _local8 = _arg2.m_centroid; _local10 = (_local10 - (_arg3.position.x + ((_local9.col1.x * _local8.x) + (_local9.col2.x * _local8.y)))); _local11 = (_local11 - (_arg3.position.y + ((_local9.col1.y * _local8.x) + (_local9.col2.y * _local8.y)))); var _local12:Number = ((_local10 * _arg3.R.col1.x) + (_local11 * _arg3.R.col1.y)); var _local13:Number = ((_local10 * _arg3.R.col2.x) + (_local11 * _arg3.R.col2.y)); var _local14:int; var _local15:Number = -(Number.MAX_VALUE); var _local16:int; while (_local16 < _local6) { _local8 = _local7[_local16]; _local25 = ((_local8.x * _local12) + (_local8.y * _local13)); if (_local25 > _local15){ _local15 = _local25; _local14 = _local16; }; _local16++; }; var _local17:Number = EdgeSeparation(_arg2, _arg3, _local14, _arg4, _arg5); if (_local17 > 0){ return (_local17); }; var _local18:int = (((_local14 - 1) >= 0)) ? (_local14 - 1) : (_local6 - 1); var _local19:Number = EdgeSeparation(_arg2, _arg3, _local18, _arg4, _arg5); if (_local19 > 0){ return (_local19); }; var _local20:int = (((_local14 + 1) < _local6)) ? (_local14 + 1) : 0; var _local21:Number = EdgeSeparation(_arg2, _arg3, _local20, _arg4, _arg5); if (_local21 > 0){ return (_local21); }; if ((((_local19 > _local17)) && ((_local19 > _local21)))){ _local24 = -1; _local22 = _local18; _local23 = _local19; } else { if (_local21 > _local17){ _local24 = 1; _local22 = _local20; _local23 = _local21; } else { _arg1[0] = _local14; return (_local17); }; }; while (true) { if (_local24 == -1){ _local14 = (((_local22 - 1) >= 0)) ? (_local22 - 1) : (_local6 - 1); } else { _local14 = (((_local22 + 1) < _local6)) ? (_local22 + 1) : 0; }; _local17 = EdgeSeparation(_arg2, _arg3, _local14, _arg4, _arg5); if (_local17 > 0){ return (_local17); }; if (_local17 > _local23){ _local22 = _local14; _local23 = _local17; } else { break; }; }; _arg1[0] = _local22; return (_local23); } public static function ClipSegmentToLine(_arg1:Array, _arg2:Array, _arg3:b2Vec2, _arg4:Number):int{ var _local5:ClipVertex; var _local6:int; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:Number; var _local11:Number; var _local12:b2Vec2; var _local13:ClipVertex; _local6 = 0; _local5 = _arg2[0]; _local7 = _local5.v; _local5 = _arg2[1]; _local8 = _local5.v; _local9 = (b2Math.b2Dot(_arg3, _local7) - _arg4); var _local10:Number = (b2Math.b2Dot(_arg3, _local8) - _arg4); if (_local9 <= 0){ var _temp1 = _local6; _local6 = (_local6 + 1); var _local14 = _temp1; _arg1[_local14] = _arg2[0]; }; if (_local10 <= 0){ var _temp2 = _local6; _local6 = (_local6 + 1); _local14 = _temp2; _arg1[_local14] = _arg2[1]; }; if ((_local9 * _local10) < 0){ _local11 = (_local9 / (_local9 - _local10)); _local5 = _arg1[_local6]; _local12 = _local5.v; _local12.x = (_local7.x + (_local11 * (_local8.x - _local7.x))); _local12.y = (_local7.y + (_local11 * (_local8.y - _local7.y))); _local5 = _arg1[_local6]; if (_local9 > 0){ _local13 = _arg2[0]; _local5.id = _local13.id; } else { _local13 = _arg2[1]; _local5.id = _local13.id; }; _local6++; }; return (_local6); } public static function b2CollideCircles(_arg1:b2Manifold, _arg2:b2CircleShape, _arg3:b2XForm, _arg4:b2CircleShape, _arg5:b2XForm):void{ var _local6:b2Mat22; var _local7:b2Vec2; var _local18:Number; var _local24:Number; var _local25:Number; _arg1.pointCount = 0; _local6 = _arg3.R; _local7 = _arg2.m_localPosition; var _local8:Number = (_arg3.position.x + ((_local6.col1.x * _local7.x) + (_local6.col2.x * _local7.y))); var _local9:Number = (_arg3.position.y + ((_local6.col1.y * _local7.x) + (_local6.col2.y * _local7.y))); _local6 = _arg5.R; _local7 = _arg4.m_localPosition; var _local10:Number = (_arg5.position.x + ((_local6.col1.x * _local7.x) + (_local6.col2.x * _local7.y))); var _local11:Number = (_arg5.position.y + ((_local6.col1.y * _local7.x) + (_local6.col2.y * _local7.y))); var _local12:Number = (_local10 - _local8); var _local13:Number = (_local11 - _local9); var _local14:Number = ((_local12 * _local12) + (_local13 * _local13)); var _local15:Number = _arg2.m_radius; var _local16:Number = _arg4.m_radius; var _local17:Number = (_local15 + _local16); if (_local14 > (_local17 * _local17)){ return; }; if (_local14 < Number.MIN_VALUE){ _local18 = -(_local17); _arg1.normal.Set(0, 1); } else { _local24 = Math.sqrt(_local14); _local18 = (_local24 - _local17); _local25 = (1 / _local24); _arg1.normal.x = (_local25 * _local12); _arg1.normal.y = (_local25 * _local13); }; _arg1.pointCount = 1; var _local19:b2ManifoldPoint = _arg1.points[0]; _local19.id.key = 0; _local19.separation = _local18; _local8 = (_local8 + (_local15 * _arg1.normal.x)); _local9 = (_local9 + (_local15 * _arg1.normal.y)); _local10 = (_local10 - (_local16 * _arg1.normal.x)); _local11 = (_local11 - (_local16 * _arg1.normal.y)); var _local20:Number = (0.5 * (_local8 + _local10)); var _local21:Number = (0.5 * (_local9 + _local11)); var _local22:Number = (_local20 - _arg3.position.x); var _local23:Number = (_local21 - _arg3.position.y); _local19.localPoint1.x = ((_local22 * _arg3.R.col1.x) + (_local23 * _arg3.R.col1.y)); _local19.localPoint1.y = ((_local22 * _arg3.R.col2.x) + (_local23 * _arg3.R.col2.y)); _local22 = (_local20 - _arg5.position.x); _local23 = (_local21 - _arg5.position.y); _local19.localPoint2.x = ((_local22 * _arg5.R.col1.x) + (_local23 * _arg5.R.col1.y)); _local19.localPoint2.y = ((_local22 * _arg5.R.col2.x) + (_local23 * _arg5.R.col2.y)); } public static function b2CollidePolygonAndCircle(_arg1:b2Manifold, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:b2CircleShape, _arg5:b2XForm):void{ var _local6:b2ManifoldPoint; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:b2Vec2; var _local12:b2Mat22; var _local17:Number; var _local32:Number; var _local33:Number; var _local34:Number; _arg1.pointCount = 0; _local12 = _arg5.R; _local11 = _arg4.m_localPosition; var _local13:Number = (_arg5.position.x + ((_local12.col1.x * _local11.x) + (_local12.col2.x * _local11.y))); var _local14:Number = (_arg5.position.y + ((_local12.col1.y * _local11.x) + (_local12.col2.y * _local11.y))); _local7 = (_local13 - _arg3.position.x); _local8 = (_local14 - _arg3.position.y); _local12 = _arg3.R; var _local15:Number = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); var _local16:Number = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); var _local18:int; var _local19:Number = -(Number.MAX_VALUE); var _local20:Number = _arg4.m_radius; var _local21:int = _arg2.m_vertexCount; var _local22:Array = _arg2.m_vertices; var _local23:Array = _arg2.m_normals; var _local24:int; while (_local24 < _local21) { _local11 = _local22[_local24]; _local7 = (_local15 - _local11.x); _local8 = (_local16 - _local11.y); _local11 = _local23[_local24]; _local34 = ((_local11.x * _local7) + (_local11.y * _local8)); if (_local34 > _local20){ return; }; if (_local34 > _local19){ _local19 = _local34; _local18 = _local24; }; _local24++; }; if (_local19 < Number.MIN_VALUE){ _arg1.pointCount = 1; _local11 = _local23[_local18]; _local12 = _arg3.R; _arg1.normal.x = ((_local12.col1.x * _local11.x) + (_local12.col2.x * _local11.y)); _arg1.normal.y = ((_local12.col1.y * _local11.x) + (_local12.col2.y * _local11.y)); _local6 = _arg1.points[0]; _local6.id.features.incidentEdge = _local18; _local6.id.features.incidentVertex = b2_nullFeature; _local6.id.features.referenceEdge = 0; _local6.id.features.flip = 0; _local9 = (_local13 - (_local20 * _arg1.normal.x)); _local10 = (_local14 - (_local20 * _arg1.normal.y)); _local7 = (_local9 - _arg3.position.x); _local8 = (_local10 - _arg3.position.y); _local12 = _arg3.R; _local6.localPoint1.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint1.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local7 = (_local9 - _arg5.position.x); _local8 = (_local10 - _arg5.position.y); _local12 = _arg5.R; _local6.localPoint2.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint2.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local6.separation = (_local19 - _local20); return; }; var _local25:int = _local18; var _local26:int = (((_local25 + 1) < _local21)) ? (_local25 + 1) : 0; _local11 = _local22[_local25]; var _local27:b2Vec2 = _local22[_local26]; var _local28:Number = (_local27.x - _local11.x); var _local29:Number = (_local27.y - _local11.y); var _local30:Number = Math.sqrt(((_local28 * _local28) + (_local29 * _local29))); _local28 = (_local28 / _local30); _local29 = (_local29 / _local30); _local7 = (_local15 - _local11.x); _local8 = (_local16 - _local11.y); var _local31:Number = ((_local7 * _local28) + (_local8 * _local29)); _local6 = _arg1.points[0]; if (_local31 <= 0){ _local32 = _local11.x; _local33 = _local11.y; _local6.id.features.incidentEdge = b2_nullFeature; _local6.id.features.incidentVertex = _local25; } else { if (_local31 >= _local30){ _local32 = _local27.x; _local33 = _local27.y; _local6.id.features.incidentEdge = b2_nullFeature; _local6.id.features.incidentVertex = _local26; } else { _local32 = ((_local28 * _local31) + _local11.x); _local33 = ((_local29 * _local31) + _local11.y); _local6.id.features.incidentEdge = _local18; _local6.id.features.incidentVertex = 0; }; }; _local7 = (_local15 - _local32); _local8 = (_local16 - _local33); _local17 = Math.sqrt(((_local7 * _local7) + (_local8 * _local8))); _local7 = (_local7 / _local17); _local8 = (_local8 / _local17); if (_local17 > _local20){ return; }; _arg1.pointCount = 1; _local12 = _arg3.R; _arg1.normal.x = ((_local12.col1.x * _local7) + (_local12.col2.x * _local8)); _arg1.normal.y = ((_local12.col1.y * _local7) + (_local12.col2.y * _local8)); _local9 = (_local13 - (_local20 * _arg1.normal.x)); _local10 = (_local14 - (_local20 * _arg1.normal.y)); _local7 = (_local9 - _arg3.position.x); _local8 = (_local10 - _arg3.position.y); _local12 = _arg3.R; _local6.localPoint1.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint1.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local7 = (_local9 - _arg5.position.x); _local8 = (_local10 - _arg5.position.y); _local12 = _arg5.R; _local6.localPoint2.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint2.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local6.separation = (_local17 - _local20); _local6.id.features.referenceEdge = 0; _local6.id.features.flip = 0; } } }//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 = new b2ContactID(); _local1.key = key; return (_local1); } public function set key(_arg1:uint):void{ _key = _arg1; features._referenceEdge = (_key & 0xFF); features._incidentEdge = (((_key & 0xFF00) >> 8) & 0xFF); features._incidentVertex = (((_key & 0xFF0000) >> 16) & 0xFF); features._flip = (((_key & 4278190080) >> 24) & 0xFF); } public function get key():uint{ return (_key); } } }//package Box2D.Collision
Section 16
//b2ContactPoint (Box2D.Collision.b2ContactPoint) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; public class b2ContactPoint { public var friction:Number; public var separation:Number; public var normal:b2Vec2; public var position:b2Vec2; public var restitution:Number; public var shape1:b2Shape; public var shape2:b2Shape; public var id:b2ContactID; public var velocity:b2Vec2; public function b2ContactPoint(){ position = new b2Vec2(); velocity = new b2Vec2(); normal = new b2Vec2(); id = new b2ContactID(); super(); } } }//package Box2D.Collision
Section 17
//b2Distance (Box2D.Collision.b2Distance) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2Distance { private static var s_p2s:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var s_p1s:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var s_points:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var gPoint:b2Point = new b2Point(); public static var g_GJK_Iterations:int = 0; public static function InPoints(_arg1:b2Vec2, _arg2:Array, _arg3:int):Boolean{ var _local6:b2Vec2; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local4:Number = (100 * Number.MIN_VALUE); var _local5:int; while (_local5 < _arg3) { _local6 = _arg2[_local5]; _local7 = Math.abs((_arg1.x - _local6.x)); _local8 = Math.abs((_arg1.y - _local6.y)); _local9 = Math.max(Math.abs(_arg1.x), Math.abs(_local6.x)); _local10 = Math.max(Math.abs(_arg1.y), Math.abs(_local6.y)); if ((((_local7 < (_local4 * (_local9 + 1)))) && ((_local8 < (_local4 * (_local10 + 1)))))){ return (true); }; _local5++; }; return (false); } public static function DistanceGeneric(_arg1:b2Vec2, _arg2:b2Vec2, _arg3, _arg4:b2XForm, _arg5, _arg6:b2XForm):Number{ var _local7:b2Vec2; var _local15:Number; var _local16:Number; var _local17:b2Vec2; var _local18:b2Vec2; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:int; var _local8:Array = s_p1s; var _local9:Array = s_p2s; var _local10:Array = s_points; var _local11:int; _arg1.SetV(_arg3.GetFirstVertex(_arg4)); _arg2.SetV(_arg5.GetFirstVertex(_arg6)); var _local12:Number = 0; var _local13 = 20; var _local14:int; while (_local14 < _local13) { _local15 = (_arg2.x - _arg1.x); _local16 = (_arg2.y - _arg1.y); _local17 = _arg3.Support(_arg4, _local15, _local16); _local18 = _arg5.Support(_arg6, -(_local15), -(_local16)); _local12 = ((_local15 * _local15) + (_local16 * _local16)); _local19 = (_local18.x - _local17.x); _local20 = (_local18.y - _local17.y); _local21 = ((_local15 * _local19) + (_local16 * _local20)); if ((_local12 - ((_local15 * _local19) + (_local16 * _local20))) <= (0.01 * _local12)){ if (_local11 == 0){ _arg1.SetV(_local17); _arg2.SetV(_local18); }; g_GJK_Iterations = _local14; return (Math.sqrt(_local12)); }; switch (_local11){ case 0: _local7 = _local8[0]; _local7.SetV(_local17); _local7 = _local9[0]; _local7.SetV(_local18); _local7 = _local10[0]; _local7.x = _local19; _local7.y = _local20; _arg1.SetV(_local8[0]); _arg2.SetV(_local9[0]); _local11++; break; case 1: _local7 = _local8[1]; _local7.SetV(_local17); _local7 = _local9[1]; _local7.SetV(_local18); _local7 = _local10[1]; _local7.x = _local19; _local7.y = _local20; _local11 = ProcessTwo(_arg1, _arg2, _local8, _local9, _local10); break; case 2: _local7 = _local8[2]; _local7.SetV(_local17); _local7 = _local9[2]; _local7.SetV(_local18); _local7 = _local10[2]; _local7.x = _local19; _local7.y = _local20; _local11 = ProcessThree(_arg1, _arg2, _local8, _local9, _local10); break; }; if (_local11 == 3){ g_GJK_Iterations = _local14; return (0); }; _local22 = -(Number.MAX_VALUE); _local23 = 0; while (_local23 < _local11) { _local7 = _local10[_local23]; _local22 = b2Math.b2Max(_local22, ((_local7.x * _local7.x) + (_local7.y * _local7.y))); _local23++; }; if ((((_local11 == 3)) || ((_local12 <= ((100 * Number.MIN_VALUE) * _local22))))){ g_GJK_Iterations = _local14; _local15 = (_arg2.x - _arg1.x); _local16 = (_arg2.y - _arg1.y); _local12 = ((_local15 * _local15) + (_local16 * _local16)); return (Math.sqrt(_local12)); }; _local14++; }; g_GJK_Iterations = _local13; return (Math.sqrt(_local12)); } public static function DistanceCC(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2CircleShape, _arg4:b2XForm, _arg5:b2CircleShape, _arg6:b2XForm):Number{ var _local7:b2Mat22; var _local8:b2Vec2; var _local19:Number; var _local20:Number; _local7 = _arg4.R; _local8 = _arg3.m_localPosition; var _local9:Number = (_arg4.position.x + ((_local7.col1.x * _local8.x) + (_local7.col2.x * _local8.y))); var _local10:Number = (_arg4.position.y + ((_local7.col1.y * _local8.x) + (_local7.col2.y * _local8.y))); _local7 = _arg6.R; _local8 = _arg5.m_localPosition; var _local11:Number = (_arg6.position.x + ((_local7.col1.x * _local8.x) + (_local7.col2.x * _local8.y))); var _local12:Number = (_arg6.position.y + ((_local7.col1.y * _local8.x) + (_local7.col2.y * _local8.y))); var _local13:Number = (_local11 - _local9); var _local14:Number = (_local12 - _local10); var _local15:Number = ((_local13 * _local13) + (_local14 * _local14)); var _local16:Number = (_arg3.m_radius - b2Settings.b2_toiSlop); var _local17:Number = (_arg5.m_radius - b2Settings.b2_toiSlop); var _local18:Number = (_local16 + _local17); if (_local15 > (_local18 * _local18)){ _local19 = Math.sqrt(((_local13 * _local13) + (_local14 * _local14))); _local13 = (_local13 / _local19); _local14 = (_local14 / _local19); _local20 = (_local19 - _local18); _arg1.x = (_local9 + (_local16 * _local13)); _arg1.y = (_local10 + (_local16 * _local14)); _arg2.x = (_local11 - (_local17 * _local13)); _arg2.y = (_local12 - (_local17 * _local14)); return (_local20); }; if (_local15 > (Number.MIN_VALUE * Number.MIN_VALUE)){ _local19 = Math.sqrt(((_local13 * _local13) + (_local14 * _local14))); _local13 = (_local13 / _local19); _local14 = (_local14 / _local19); _arg1.x = (_local9 + (_local16 * _local13)); _arg1.y = (_local10 + (_local16 * _local14)); _arg2.x = _arg1.x; _arg2.y = _arg1.y; return (0); }; _arg1.x = _local9; _arg1.y = _local10; _arg2.x = _arg1.x; _arg2.y = _arg1.y; return (0); } public static function ProcessThree(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:Array, _arg4:Array, _arg5:Array):int{ var _local6:b2Vec2; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:b2Vec2; var _local10:b2Vec2; var _local11:b2Vec2; var _local12:b2Vec2; var _local13:b2Vec2; var _local35:Number; _local6 = _arg5[0]; _local7 = _arg5[1]; _local8 = _arg5[2]; _local9 = _arg3[0]; _local10 = _arg3[1]; _local11 = _arg3[2]; _local12 = _arg4[0]; _local13 = _arg4[1]; var _local14:b2Vec2 = _arg4[2]; var _local15:Number = _local6.x; var _local16:Number = _local6.y; var _local17:Number = _local7.x; var _local18:Number = _local7.y; var _local19:Number = _local8.x; var _local20:Number = _local8.y; var _local21:Number = (_local17 - _local15); var _local22:Number = (_local18 - _local16); var _local23:Number = (_local19 - _local15); var _local24:Number = (_local20 - _local16); var _local25:Number = (_local19 - _local17); var _local26:Number = (_local20 - _local18); var _local27:Number = -(((_local15 * _local21) + (_local16 * _local22))); var _local28:Number = ((_local17 * _local21) + (_local18 * _local22)); var _local29:Number = -(((_local15 * _local23) + (_local16 * _local24))); var _local30:Number = ((_local19 * _local23) + (_local20 * _local24)); var _local31:Number = -(((_local17 * _local25) + (_local18 * _local26))); var _local32:Number = ((_local19 * _local25) + (_local20 * _local26)); if ((((_local30 <= 0)) && ((_local32 <= 0)))){ _arg1.SetV(_local11); _arg2.SetV(_local14); _local9.SetV(_local11); _local12.SetV(_local14); _local6.SetV(_local8); return (1); }; var _local33:Number = ((_local21 * _local24) - (_local22 * _local23)); var _local34:Number = (_local33 * ((_local15 * _local18) - (_local16 * _local17))); var _local36:Number = (_local33 * ((_local17 * _local20) - (_local18 * _local19))); if ((((((((_local36 <= 0)) && ((_local31 >= 0)))) && ((_local32 >= 0)))) && (((_local31 + _local32) > 0)))){ _local35 = (_local31 / (_local31 + _local32)); _arg1.x = (_local10.x + (_local35 * (_local11.x - _local10.x))); _arg1.y = (_local10.y + (_local35 * (_local11.y - _local10.y))); _arg2.x = (_local13.x + (_local35 * (_local14.x - _local13.x))); _arg2.y = (_local13.y + (_local35 * (_local14.y - _local13.y))); _local9.SetV(_local11); _local12.SetV(_local14); _local6.SetV(_local8); return (2); }; var _local37:Number = (_local33 * ((_local19 * _local16) - (_local20 * _local15))); if ((((((((_local37 <= 0)) && ((_local29 >= 0)))) && ((_local30 >= 0)))) && (((_local29 + _local30) > 0)))){ _local35 = (_local29 / (_local29 + _local30)); _arg1.x = (_local9.x + (_local35 * (_local11.x - _local9.x))); _arg1.y = (_local9.y + (_local35 * (_local11.y - _local9.y))); _arg2.x = (_local12.x + (_local35 * (_local14.x - _local12.x))); _arg2.y = (_local12.y + (_local35 * (_local14.y - _local12.y))); _local10.SetV(_local11); _local13.SetV(_local14); _local7.SetV(_local8); return (2); }; var _local38:Number = ((_local36 + _local37) + _local34); _local38 = (1 / _local38); var _local39:Number = (_local36 * _local38); var _local40:Number = (_local37 * _local38); var _local41:Number = ((1 - _local39) - _local40); _arg1.x = (((_local39 * _local9.x) + (_local40 * _local10.x)) + (_local41 * _local11.x)); _arg1.y = (((_local39 * _local9.y) + (_local40 * _local10.y)) + (_local41 * _local11.y)); _arg2.x = (((_local39 * _local12.x) + (_local40 * _local13.x)) + (_local41 * _local14.x)); _arg2.y = (((_local39 * _local12.y) + (_local40 * _local13.y)) + (_local41 * _local14.y)); return (3); } public static function DistancePC(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2PolygonShape, _arg4:b2XForm, _arg5:b2CircleShape, _arg6:b2XForm):Number{ var _local7:b2Mat22; var _local8:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local9:b2Point = gPoint; _local8 = _arg5.m_localPosition; _local7 = _arg6.R; _local9.p.x = (_arg6.position.x + ((_local7.col1.x * _local8.x) + (_local7.col2.x * _local8.y))); _local9.p.y = (_arg6.position.y + ((_local7.col1.y * _local8.x) + (_local7.col2.y * _local8.y))); var _local10:Number = DistanceGeneric(_arg1, _arg2, _arg3, _arg4, _local9, b2Math.b2XForm_identity); var _local11:Number = (_arg5.m_radius - b2Settings.b2_toiSlop); if (_local10 > _local11){ _local10 = (_local10 - _local11); _local12 = (_arg2.x - _arg1.x); _local13 = (_arg2.y - _arg1.y); _local14 = Math.sqrt(((_local12 * _local12) + (_local13 * _local13))); _local12 = (_local12 / _local14); _local13 = (_local13 / _local14); _arg2.x = (_arg2.x - (_local11 * _local12)); _arg2.y = (_arg2.y - (_local11 * _local13)); } else { _local10 = 0; _arg2.x = _arg1.x; _arg2.y = _arg1.y; }; return (_local10); } public static function Distance(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Shape, _arg4:b2XForm, _arg5:b2Shape, _arg6:b2XForm):Number{ var _local7:int = _arg3.m_type; var _local8:int = _arg5.m_type; if ((((_local7 == b2Shape.e_circleShape)) && ((_local8 == b2Shape.e_circleShape)))){ return (DistanceCC(_arg1, _arg2, (_arg3 as b2CircleShape), _arg4, (_arg5 as b2CircleShape), _arg6)); }; if ((((_local7 == b2Shape.e_polygonShape)) && ((_local8 == b2Shape.e_circleShape)))){ return (DistancePC(_arg1, _arg2, (_arg3 as b2PolygonShape), _arg4, (_arg5 as b2CircleShape), _arg6)); }; if ((((_local7 == b2Shape.e_circleShape)) && ((_local8 == b2Shape.e_polygonShape)))){ return (DistancePC(_arg2, _arg1, (_arg5 as b2PolygonShape), _arg6, (_arg3 as b2CircleShape), _arg4)); }; if ((((_local7 == b2Shape.e_polygonShape)) && ((_local8 == b2Shape.e_polygonShape)))){ return (DistanceGeneric(_arg1, _arg2, (_arg3 as b2PolygonShape), _arg4, (_arg5 as b2PolygonShape), _arg6)); }; return (0); } public static function ProcessTwo(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:Array, _arg4:Array, _arg5:Array):int{ var _local9:b2Vec2; var _local10:b2Vec2; var _local11:b2Vec2; var _local17:Number; var _local6:b2Vec2 = _arg5[0]; var _local7:b2Vec2 = _arg5[1]; var _local8:b2Vec2 = _arg3[0]; _local9 = _arg3[1]; _local10 = _arg4[0]; _local11 = _arg4[1]; var _local12:Number = -(_local7.x); var _local13:Number = -(_local7.y); var _local14:Number = (_local6.x - _local7.x); var _local15:Number = (_local6.y - _local7.y); var _local16:Number = Math.sqrt(((_local14 * _local14) + (_local15 * _local15))); _local14 = (_local14 / _local16); _local15 = (_local15 / _local16); _local17 = ((_local12 * _local14) + (_local13 * _local15)); if ((((_local17 <= 0)) || ((_local16 < Number.MIN_VALUE)))){ _arg1.SetV(_local9); _arg2.SetV(_local11); _local8.SetV(_local9); _local10.SetV(_local11); _local6.SetV(_local7); return (1); }; _local17 = (_local17 / _local16); _arg1.x = (_local9.x + (_local17 * (_local8.x - _local9.x))); _arg1.y = (_local9.y + (_local17 * (_local8.y - _local9.y))); _arg2.x = (_local11.x + (_local17 * (_local10.x - _local11.x))); _arg2.y = (_local11.y + (_local17 * (_local10.y - _local11.y))); return (2); } } }//package Box2D.Collision
Section 18
//b2Manifold (Box2D.Collision.b2Manifold) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2Manifold { public var pointCount:int;// = 0 public var normal:b2Vec2; public var points:Array; public function b2Manifold(){ points = new Array(b2Settings.b2_maxManifoldPoints); var _local1:int; while (_local1 < b2Settings.b2_maxManifoldPoints) { points[_local1] = new b2ManifoldPoint(); _local1++; }; normal = new b2Vec2(); } public function Set(_arg1:b2Manifold):void{ pointCount = _arg1.pointCount; var _local2:int; while (_local2 < b2Settings.b2_maxManifoldPoints) { (points[_local2] as b2ManifoldPoint).Set(_arg1.points[_local2]); _local2++; }; normal.SetV(_arg1.normal); } public function Reset():void{ var _local1:int; while (_local1 < b2Settings.b2_maxManifoldPoints) { (points[_local1] as b2ManifoldPoint).Reset(); _local1++; }; normal.SetZero(); pointCount = 0; } } }//package Box2D.Collision
Section 19
//b2ManifoldPoint (Box2D.Collision.b2ManifoldPoint) package Box2D.Collision { import Box2D.Common.Math.*; public class b2ManifoldPoint { public var separation:Number; public var localPoint2:b2Vec2; public var normalImpulse:Number; public var tangentImpulse:Number; public var localPoint1:b2Vec2; public var id:b2ContactID; public function b2ManifoldPoint(){ localPoint1 = new b2Vec2(); localPoint2 = new b2Vec2(); id = new b2ContactID(); super(); } public function Set(_arg1:b2ManifoldPoint):void{ localPoint1.SetV(_arg1.localPoint1); localPoint2.SetV(_arg1.localPoint2); separation = _arg1.separation; normalImpulse = _arg1.normalImpulse; tangentImpulse = _arg1.tangentImpulse; id.key = _arg1.id.key; } public function Reset():void{ localPoint1.SetZero(); localPoint2.SetZero(); separation = 0; normalImpulse = 0; tangentImpulse = 0; id.key = 0; } } }//package Box2D.Collision
Section 20
//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 21
//b2Pair (Box2D.Collision.b2Pair) package Box2D.Collision { import Box2D.Common.*; public class b2Pair { public var proxyId1:uint; public var userData;// = null 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 = b2Settings.USHRT_MAX; public static var e_pairBuffered:uint = 1; public static var b2_nullProxy:uint = b2Settings.USHRT_MAX; public static var b2_tableCapacity:int = b2Settings.b2_maxPairs; 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 22
//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 23
//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_hashTable:Array; public var m_callback:b2PairCallback; public var m_pairs:Array; public var m_pairBufferCount:int; 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[int((b2Settings.b2_maxPairs - 1))].next = b2Pair.b2_nullPair; m_pairCount = 0; m_pairBufferCount = 0; } private function FindHash(_arg1:uint, _arg2:uint, _arg3:uint):b2Pair{ var _local4:b2Pair; var _local5:uint = m_hashTable[_arg3]; _local4 = m_pairs[_local5]; while (((!((_local5 == b2Pair.b2_nullPair))) && ((Equals(_local4, _arg1, _arg2) == false)))) { _local5 = _local4.next; _local4 = m_pairs[_local5]; }; if (_local5 == b2Pair.b2_nullPair){ return (null); }; return (_local4); } private function Find(_arg1:uint, _arg2:uint):b2Pair{ var _local4:uint; if (_arg1 > _arg2){ _local4 = _arg1; _arg1 = _arg2; _arg2 = _local4; }; var _local3:uint = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); return (FindHash(_arg1, _arg2, _local3)); } private function ValidateBuffer():void{ } public function Commit():void{ var _local1:b2BufferedPair; var _local2:int; var _local5:b2Pair; var _local6:b2Proxy; var _local7:b2Proxy; var _local3:int; var _local4:Array = m_broadPhase.m_proxyPool; _local2 = 0; while (_local2 < m_pairBufferCount) { _local1 = m_pairBuffer[_local2]; _local5 = Find(_local1.proxyId1, _local1.proxyId2); _local5.ClearBuffered(); _local6 = _local4[_local5.proxyId1]; _local7 = _local4[_local5.proxyId2]; if (_local5.IsRemoved()){ if (_local5.IsFinal() == true){ m_callback.PairRemoved(_local6.userData, _local7.userData, _local5.userData); }; _local1 = m_pairBuffer[_local3]; _local1.proxyId1 = _local5.proxyId1; _local1.proxyId2 = _local5.proxyId2; _local3++; } else { if (_local5.IsFinal() == false){ _local5.userData = m_callback.PairAdded(_local6.userData, _local7.userData); _local5.SetFinal(); }; }; _local2++; }; _local2 = 0; while (_local2 < _local3) { _local1 = m_pairBuffer[_local2]; RemovePair(_local1.proxyId1, _local1.proxyId2); _local2++; }; m_pairBufferCount = 0; if (b2BroadPhase.s_validate){ ValidateTable(); }; } public function RemoveBufferedPair(_arg1:int, _arg2:int):void{ var _local3:b2BufferedPair; var _local4:b2Pair = Find(_arg1, _arg2); if (_local4 == null){ return; }; if (_local4.IsBuffered() == false){ _local4.SetBuffered(); _local3 = m_pairBuffer[m_pairBufferCount]; _local3.proxyId1 = _local4.proxyId1; _local3.proxyId2 = _local4.proxyId2; m_pairBufferCount++; }; _local4.SetRemoved(); if (b2BroadPhase.s_validate){ ValidateBuffer(); }; } private function RemovePair(_arg1:uint, _arg2:uint){ var _local3:b2Pair; var _local7:uint; var _local8:uint; var _local9:*; if (_arg1 > _arg2){ _local7 = _arg1; _arg1 = _arg2; _arg2 = _local7; }; var _local4:uint = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); var _local5:uint = m_hashTable[_local4]; var _local6:b2Pair; while (_local5 != b2Pair.b2_nullPair) { if (Equals(m_pairs[_local5], _arg1, _arg2)){ _local8 = _local5; _local3 = m_pairs[_local5]; if (_local6){ _local6.next = _local3.next; } else { m_hashTable[_local4] = _local3.next; }; _local3 = m_pairs[_local8]; _local9 = _local3.userData; _local3.next = m_freePair; _local3.proxyId1 = b2Pair.b2_nullProxy; _local3.proxyId2 = b2Pair.b2_nullProxy; _local3.userData = null; _local3.status = 0; m_freePair = _local8; m_pairCount--; return (_local9); } else { _local6 = m_pairs[_local5]; _local5 = _local6.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:b2BufferedPair; var _local4:b2Pair = AddPair(_arg1, _arg2); if (_local4.IsBuffered() == false){ _local4.SetBuffered(); _local3 = m_pairBuffer[m_pairBufferCount]; _local3.proxyId1 = _local4.proxyId1; _local3.proxyId2 = _local4.proxyId2; m_pairBufferCount++; }; _local4.ClearRemoved(); if (b2BroadPhase.s_validate){ ValidateBuffer(); }; } private function AddPair(_arg1:uint, _arg2:uint):b2Pair{ var _local6:uint; if (_arg1 > _arg2){ _local6 = _arg1; _arg1 = _arg2; _arg2 = _local6; }; var _local3:uint = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); var _local4 = FindHash(_arg1, _arg2, _local3); if (_local4 != null){ return (_local4); }; var _local5:uint = 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 = (((_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 24
//b2Point (Box2D.Collision.b2Point) package Box2D.Collision { import Box2D.Common.Math.*; public class b2Point { public var p:b2Vec2; public function b2Point(){ p = new b2Vec2(); super(); } public function GetFirstVertex(_arg1:b2XForm):b2Vec2{ return (p); } public function Support(_arg1:b2XForm, _arg2:Number, _arg3:Number):b2Vec2{ return (p); } } }//package Box2D.Collision
Section 25
//b2Proxy (Box2D.Collision.b2Proxy) package Box2D.Collision { public class b2Proxy { public var overlapCount:uint; public var userData;// = null public var lowerBounds:Array; public var upperBounds:Array; public var timeStamp:uint; public function b2Proxy(){ lowerBounds = [uint(0), uint(0)]; upperBounds = [uint(0), uint(0)]; 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 26
//b2Segment (Box2D.Collision.b2Segment) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2Segment { public var p1:b2Vec2; public var p2:b2Vec2; public function b2Segment(){ p1 = new b2Vec2(); p2 = new b2Vec2(); super(); } public function TestSegment(_arg1:Array, _arg2:b2Vec2, _arg3:b2Segment, _arg4:Number):Boolean{ var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local5:b2Vec2 = _arg3.p1; var _local6:Number = (_arg3.p2.x - _local5.x); var _local7:Number = (_arg3.p2.y - _local5.y); var _local8:Number = (p2.x - p1.x); var _local9:Number = (p2.y - p1.y); var _local10:Number = _local9; var _local11:Number = -(_local8); var _local12:Number = (100 * Number.MIN_VALUE); var _local13:Number = -(((_local6 * _local10) + (_local7 * _local11))); if (_local13 > _local12){ _local14 = (_local5.x - p1.x); _local15 = (_local5.y - p1.y); _local16 = ((_local14 * _local10) + (_local15 * _local11)); if ((((0 <= _local16)) && ((_local16 <= (_arg4 * _local13))))){ _local17 = ((-(_local7) * _local15) + (_local7 * _local14)); if (((((-(_local12) * _local13) <= _local17)) && ((_local17 <= (_local13 * (1 + _local12)))))){ _local16 = (_local16 / _local13); _local18 = Math.sqrt(((_local10 * _local10) + (_local11 * _local11))); _local10 = (_local10 / _local18); _local11 = (_local11 / _local18); _arg1[0] = _local16; _arg2.Set(_local10, _local11); return (true); }; }; }; return (false); } } }//package Box2D.Collision
Section 27
//b2TimeOfImpact (Box2D.Collision.b2TimeOfImpact) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2TimeOfImpact { public static var s_xf1:b2XForm = new b2XForm(); public static var s_xf2:b2XForm = new b2XForm(); public static var s_p1:b2Vec2 = new b2Vec2(); public static var s_p2:b2Vec2 = new b2Vec2(); public static function TimeOfImpact(_arg1:b2Shape, _arg2:b2Sweep, _arg3:b2Shape, _arg4:b2Sweep):Number{ var _local5:Number; var _local6:Number; var _local25:Number; var _local26:b2XForm; var _local27:b2XForm; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local7:Number = _arg1.m_sweepRadius; var _local8:Number = _arg3.m_sweepRadius; var _local9:Number = _arg2.t0; var _local10:Number = (_arg2.c.x - _arg2.c0.x); var _local11:Number = (_arg2.c.y - _arg2.c0.y); var _local12:Number = (_arg4.c.x - _arg4.c0.x); var _local13:Number = (_arg4.c.y - _arg4.c0.y); var _local14:Number = (_arg2.a - _arg2.a0); var _local15:Number = (_arg4.a - _arg4.a0); var _local16:Number = 0; var _local17:b2Vec2 = s_p1; var _local18:b2Vec2 = s_p2; var _local19 = 20; var _local20:int; var _local21:Number = 0; var _local22:Number = 0; var _local23:Number = 0; var _local24:Number = 0; while (true) { _local25 = (((1 - _local16) * _local9) + _local16); _local26 = s_xf1; _local27 = s_xf2; _arg2.GetXForm(_local26, _local25); _arg4.GetXForm(_local27, _local25); _local23 = b2Distance.Distance(_local17, _local18, _arg1, _local26, _arg3, _local27); if (_local20 == 0){ if (_local23 > (2 * b2Settings.b2_toiSlop)){ _local24 = (1.5 * b2Settings.b2_toiSlop); } else { _local5 = (0.05 * b2Settings.b2_toiSlop); _local6 = (_local23 - (0.5 * b2Settings.b2_toiSlop)); _local24 = ((_local5 > _local6)) ? _local5 : _local6; }; }; if (((((_local23 - _local24) < (0.05 * b2Settings.b2_toiSlop))) || ((_local20 == _local19)))){ break; }; _local21 = (_local18.x - _local17.x); _local22 = (_local18.y - _local17.y); _local28 = Math.sqrt(((_local21 * _local21) + (_local22 * _local22))); _local21 = (_local21 / _local28); _local22 = (_local22 / _local28); _local29 = ((((_local21 * (_local10 - _local12)) + (_local22 * (_local11 - _local13))) + (((_local14 < 0)) ? -(_local14) : _local14 * _local7)) + (((_local15 < 0)) ? -(_local15) : _local15 * _local8)); if (_local29 == 0){ _local16 = 1; break; }; _local30 = ((_local23 - _local24) / _local29); _local31 = (_local16 + _local30); if ((((_local31 < 0)) || ((1 < _local31)))){ _local16 = 1; break; }; if (_local31 < ((1 + (100 * Number.MIN_VALUE)) * _local16)){ break; }; _local16 = _local31; _local20++; }; return (_local16); } } }//package Box2D.Collision
Section 28
//ClipVertex (Box2D.Collision.ClipVertex) package Box2D.Collision { import Box2D.Common.Math.*; public class ClipVertex { public var id:b2ContactID; public var v:b2Vec2; public function ClipVertex(){ v = new b2Vec2(); id = new b2ContactID(); super(); } } }//package Box2D.Collision
Section 29
//Features (Box2D.Collision.Features) package Box2D.Collision { public class Features { public var _referenceEdge:int; public var _incidentEdge:int; public var _flip:int; public var _incidentVertex:int; public var _m_id:b2ContactID; public function get referenceEdge():int{ return (_referenceEdge); } 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 referenceEdge(_arg1:int):void{ _referenceEdge = _arg1; _m_id._key = ((_m_id._key & 4294967040) | (_referenceEdge & 0xFF)); } public function get incidentVertex():int{ return (_incidentVertex); } public function set flip(_arg1:int):void{ _flip = _arg1; _m_id._key = ((_m_id._key & 0xFFFFFF) | ((_flip << 24) & 4278190080)); } public function set incidentEdge(_arg1:int):void{ _incidentEdge = _arg1; _m_id._key = ((_m_id._key & 4294902015) | ((_incidentEdge << 8) & 0xFF00)); } } }//package Box2D.Collision
Section 30
//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 SetVV(_arg1:b2Vec2, _arg2:b2Vec2):void{ col1.SetV(_arg1); col2.SetV(_arg2); } public function Set(_arg1:Number):void{ var _local2:Number; _local2 = Math.cos(_arg1); var _local3:Number = Math.sin(_arg1); col1.x = _local2; col2.x = -(_local3); col1.y = _local3; col2.y = _local2; } 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 _local4:Number; var _local6:Number; _local2 = col1.x; var _local3:Number = col2.x; _local4 = col1.y; var _local5:Number = 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 GetAngle():Number{ return (Math.atan2(col1.y, col1.x)); } public function Solve(_arg1:b2Vec2, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:Number = col1.x; var _local5:Number = col2.x; var _local6:Number = col1.y; var _local7:Number = col2.y; var _local8:Number = ((_local4 * _local7) - (_local5 * _local6)); _local8 = (1 / _local8); _arg1.x = (_local8 * ((_local7 * _arg2) - (_local5 * _arg3))); _arg1.y = (_local8 * ((_local4 * _arg3) - (_local6 * _arg2))); return (_arg1); } } }//package Box2D.Common.Math
Section 31
//b2Math (Box2D.Common.Math.b2Math) package Box2D.Common.Math { public class b2Math { public static const b2Mat22_identity:b2Mat22 = new b2Mat22(0, new b2Vec2(1, 0), new b2Vec2(0, 1)); public static const b2XForm_identity:b2XForm = new b2XForm(b2Vec2_zero, b2Mat22_identity); public static const b2Vec2_zero:b2Vec2 = new b2Vec2(0, 0); public static function b2CrossVF(_arg1:b2Vec2, _arg2:Number):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg2 * _arg1.y), (-(_arg2) * _arg1.x)); return (_local3); } public static function AddVV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = 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 b2MinV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(b2Min(_arg1.x, _arg2.x), b2Min(_arg1.y, _arg2.y)); return (_local3); } public static function b2MulX(_arg1:b2XForm, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = b2MulMV(_arg1.R, _arg2); _local3.x = (_local3.x + _arg1.position.x); _local3.y = (_local3.y + _arg1.position.y); return (_local3); } public static function b2DistanceSquared(_arg1:b2Vec2, _arg2:b2Vec2):Number{ var _local3:Number = (_arg1.x - _arg2.x); var _local4:Number = (_arg1.y - _arg2.y); return (((_local3 * _local3) + (_local4 * _local4))); } public static function b2Swap(_arg1:Array, _arg2:Array):void{ var _local3:* = _arg1[0]; _arg1[0] = _arg2[0]; _arg2[0] = _local3; } public static function b2AbsM(_arg1:b2Mat22):b2Mat22{ var _local2:b2Mat22 = new b2Mat22(0, b2AbsV(_arg1.col1), b2AbsV(_arg1.col2)); return (_local2); } public static function SubtractVV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg1.x - _arg2.x), (_arg1.y - _arg2.y)); return (_local3); } public static function b2MulXT(_arg1:b2XForm, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; var _local4:Number; _local3 = SubtractVV(_arg2, _arg1.position); _local4 = ((_local3.x * _arg1.R.col1.x) + (_local3.y * _arg1.R.col1.y)); _local3.y = ((_local3.x * _arg1.R.col2.x) + (_local3.y * _arg1.R.col2.y)); _local3.x = _local4; return (_local3); } public static function b2Abs(_arg1:Number):Number{ return (((_arg1 > 0)) ? _arg1 : -(_arg1)); } 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 = new b2Vec2(b2Abs(_arg1.x), b2Abs(_arg1.y)); return (_local2); } public static function MulFV(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg1 * _arg2.x), (_arg1 * _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 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 = new b2Vec2((-(_arg1) * _arg2.y), (_arg1 * _arg2.x)); return (_local3); } public static function AddMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Mat22 = new b2Mat22(0, AddVV(_arg1.col1, _arg2.col1), AddVV(_arg1.col2, _arg2.col2)); return (_local3); } public static function b2Distance(_arg1:b2Vec2, _arg2:b2Vec2):Number{ var _local3:Number = (_arg1.x - _arg2.x); var _local4:Number = (_arg1.y - _arg2.y); return (Math.sqrt(((_local3 * _local3) + (_local4 * _local4)))); } public static function b2MulTMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Vec2 = new b2Vec2(b2Dot(_arg1.col1, _arg2.col1), b2Dot(_arg1.col2, _arg2.col1)); var _local4:b2Vec2 = new b2Vec2(b2Dot(_arg1.col1, _arg2.col2), b2Dot(_arg1.col2, _arg2.col2)); var _local5:b2Mat22 = new b2Mat22(0, _local3, _local4); return (_local5); } public static function b2MaxV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(b2Max(_arg1.x, _arg2.x), b2Max(_arg1.y, _arg2.y)); return (_local3); } public static function b2IsPowerOfTwo(_arg1:uint):Boolean{ var _local2:Boolean = (((_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 b2RandomRange(_arg1:Number, _arg2:Number):Number{ var _local3:Number = Math.random(); _local3 = (((_arg2 - _arg1) * _local3) + _arg1); return (_local3); } public static function b2MulTMV(_arg1:b2Mat22, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = 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 = 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 = 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 32
//b2Sweep (Box2D.Common.Math.b2Sweep) package Box2D.Common.Math { public class b2Sweep { public var localCenter:b2Vec2; public var a:Number; public var c:b2Vec2; public var a0:Number; public var c0:b2Vec2; public var t0:Number; public function b2Sweep(){ localCenter = new b2Vec2(); c0 = new b2Vec2(); c = new b2Vec2(); super(); } public function Advance(_arg1:Number):void{ var _local2:Number; if ((((t0 < _arg1)) && (((1 - t0) > Number.MIN_VALUE)))){ _local2 = ((_arg1 - t0) / (1 - t0)); c0.x = (((1 - _local2) * c0.x) + (_local2 * c.x)); c0.y = (((1 - _local2) * c0.y) + (_local2 * c.y)); a0 = (((1 - _local2) * a0) + (_local2 * a)); t0 = _arg1; }; } public function GetXForm(_arg1:b2XForm, _arg2:Number):void{ var _local4:Number; var _local5:Number; if ((1 - t0) > Number.MIN_VALUE){ _local4 = ((_arg2 - t0) / (1 - t0)); _arg1.position.x = (((1 - _local4) * c0.x) + (_local4 * c.x)); _arg1.position.y = (((1 - _local4) * c0.y) + (_local4 * c.y)); _local5 = (((1 - _local4) * a0) + (_local4 * a)); _arg1.R.Set(_local5); } else { _arg1.position.SetV(c); _arg1.R.Set(a); }; var _local3:b2Mat22 = _arg1.R; _arg1.position.x = (_arg1.position.x - ((_local3.col1.x * localCenter.x) + (_local3.col2.x * localCenter.y))); _arg1.position.y = (_arg1.position.y - ((_local3.col1.y * localCenter.x) + (_local3.col2.y * localCenter.y))); } } }//package Box2D.Common.Math
Section 33
//b2Vec2 (Box2D.Common.Math.b2Vec2) package Box2D.Common.Math { public class b2Vec2 { public var y:Number; public var x:Number; public function b2Vec2(_arg1:Number=0, _arg2:Number=0):void{ x = _arg1; y = _arg2; } public function Add(_arg1:b2Vec2):void{ x = (x + _arg1.x); y = (y + _arg1.y); } public function Set(_arg1:Number=0, _arg2:Number=0):void{ x = _arg1; y = _arg2; } public function Multiply(_arg1:Number):void{ x = (x * _arg1); y = (y * _arg1); } public function Length():Number{ return (Math.sqrt(((x * x) + (y * y)))); } public function LengthSquared():Number{ return (((x * x) + (y * y))); } public function MulM(_arg1:b2Mat22):void{ var _local2:Number = x; x = ((_arg1.col1.x * _local2) + (_arg1.col2.x * y)); y = ((_arg1.col1.y * _local2) + (_arg1.col2.y * y)); } public function SetZero():void{ x = 0; y = 0; } public function MinV(_arg1:b2Vec2):void{ x = ((x < _arg1.x)) ? x : _arg1.x; y = ((y < _arg1.y)) ? y : _arg1.y; } public function Normalize():Number{ var _local1:Number = Math.sqrt(((x * x) + (y * y))); if (_local1 < Number.MIN_VALUE){ return (0); }; var _local2:Number = (1 / _local1); x = (x * _local2); y = (y * _local2); return (_local1); } public function CrossVF(_arg1:Number):void{ var _local2:Number = 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 CrossFV(_arg1:Number):void{ var _local2:Number = x; x = (-(_arg1) * y); y = (_arg1 * _local2); } public function Abs():void{ if (x < 0){ x = -(x); }; if (y < 0){ y = -(y); }; } public function Subtract(_arg1:b2Vec2):void{ x = (x - _arg1.x); y = (y - _arg1.y); } public function Copy():b2Vec2{ return (new b2Vec2(x, y)); } public function MulTM(_arg1:b2Mat22):void{ var _local2:Number = 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 static function Make(_arg1:Number, _arg2:Number):b2Vec2{ return (new b2Vec2(_arg1, _arg2)); } } }//package Box2D.Common.Math
Section 34
//b2XForm (Box2D.Common.Math.b2XForm) package Box2D.Common.Math { public class b2XForm { public var position:b2Vec2; public var R:b2Mat22; public function b2XForm(_arg1:b2Vec2=null, _arg2:b2Mat22=null):void{ position = new b2Vec2(); R = new b2Mat22(); super(); if (_arg1){ position.SetV(_arg1); R.SetM(_arg2); }; } public function Initialize(_arg1:b2Vec2, _arg2:b2Mat22):void{ position.SetV(_arg1); R.SetM(_arg2); } public function Set(_arg1:b2XForm):void{ position.SetV(_arg1.position); R.SetM(_arg1.R); } public function SetIdentity():void{ position.SetZero(); R.SetIdentity(); } } }//package Box2D.Common.Math
Section 35
//b2Color (Box2D.Common.b2Color) package Box2D.Common { import Box2D.Common.Math.*; public class b2Color { private var _r:uint;// = 0 private var _g:uint;// = 0 private var _b:uint;// = 0 public function b2Color(_arg1:Number, _arg2:Number, _arg3:Number){ _r = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); _g = uint((0xFF * b2Math.b2Clamp(_arg2, 0, 1))); _b = uint((0xFF * b2Math.b2Clamp(_arg3, 0, 1))); } public function Set(_arg1:Number, _arg2:Number, _arg3:Number):void{ _r = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); _g = uint((0xFF * b2Math.b2Clamp(_arg2, 0, 1))); _b = uint((0xFF * b2Math.b2Clamp(_arg3, 0, 1))); } public function set b(_arg1:Number):void{ _b = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); } public function get color():uint{ return (((_r | (_g << 8)) | (_b << 16))); } public function set r(_arg1:Number):void{ _r = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); } public function set g(_arg1:Number):void{ _g = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); } } }//package Box2D.Common
Section 36
//b2Settings (Box2D.Common.b2Settings) package Box2D.Common { import Box2D.Common.Math.*; public class b2Settings { public static const b2_angularSleepTolerance:Number = 0.0111111111111111; public static const b2_linearSleepTolerance:Number = 0.01; public static const b2_angularSlop:Number = 0.0349065850398866; public static const b2_linearSlop:Number = 0.005; public static const b2_pi:Number = 3.14159265358979; public static const b2_maxProxies:int = 0x0200; public static const b2_maxAngularVelocitySquared:Number = 62500; public static const b2_maxPolygonVertices:int = 20; public static const b2_velocityThreshold:Number = 1; public static const b2_contactBaumgarte:Number = 0.2; public static const b2_maxPairs:int = 4096; public static const b2_maxTOIContactsPerIsland:int = 32; public static const b2_timeToSleep:Number = 0.5; public static const b2_maxManifoldPoints:int = 2; public static const b2_maxAngularVelocity:Number = 250; public static const b2_maxAngularCorrection:Number = 0.139626340159546; public static const USHRT_MAX:int = 0xFFFF; public static const b2_maxLinearVelocity:Number = 200; public static const b2_maxLinearCorrection:Number = 0.2; public static const b2_toiSlop:Number = 0.04; public static const b2_maxLinearVelocitySquared:Number = 40000; public static function b2Assert(_arg1:Boolean):void{ var _local2:b2Vec2; if (!_arg1){ _local2.x++; }; } } }//package Box2D.Common
Section 37
//b2CircleContact (Box2D.Dynamics.Contacts.b2CircleContact) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2CircleContact extends b2Contact { private var m_manifolds:Array; public var m_manifold:b2Manifold; private var m0:b2Manifold; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2CircleContact(_arg1:b2Shape, _arg2:b2Shape){ m_manifolds = [new b2Manifold()]; m0 = new b2Manifold(); super(_arg1, _arg2); m_manifold = m_manifolds[0]; m_manifold.pointCount = 0; var _local3:b2ManifoldPoint = m_manifold.points[0]; _local3.normalImpulse = 0; _local3.tangentImpulse = 0; } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2ManifoldPoint; var _local8:b2ManifoldPoint; var _local5:b2Body = m_shape1.m_body; var _local6:b2Body = m_shape2.m_body; m0.Set(m_manifold); b2Collision.b2CollideCircles(m_manifold, (m_shape1 as b2CircleShape), _local5.m_xf, (m_shape2 as b2CircleShape), _local6.m_xf); var _local7:b2ContactPoint = s_evalCP; _local7.shape1 = m_shape1; _local7.shape2 = m_shape2; _local7.friction = m_friction; _local7.restitution = m_restitution; if (m_manifold.pointCount > 0){ m_manifoldCount = 1; _local8 = m_manifold.points[0]; if (m0.pointCount == 0){ _local8.normalImpulse = 0; _local8.tangentImpulse = 0; if (_arg1){ _local7.position = _local5.GetWorldPoint(_local8.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local8.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local8.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local8.separation; _local7.id.key = _local8.id._key; _arg1.Add(_local7); }; } else { _local4 = m0.points[0]; _local8.normalImpulse = _local4.normalImpulse; _local8.tangentImpulse = _local4.tangentImpulse; if (_arg1){ _local7.position = _local5.GetWorldPoint(_local8.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local8.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local8.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local8.separation; _local7.id.key = _local8.id._key; _arg1.Persist(_local7); }; }; } else { m_manifoldCount = 0; if ((((m0.pointCount > 0)) && (_arg1))){ _local4 = m0.points[0]; _local7.position = _local5.GetWorldPoint(_local4.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local4.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local4.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m0.normal); _local7.separation = _local4.separation; _local7.id.key = _local4.id._key; _arg1.Remove(_local7); }; }; } override public function GetManifolds():Array{ return (m_manifolds); } 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 38
//b2Contact (Box2D.Dynamics.Contacts.b2Contact) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2Contact { public var m_shape1:b2Shape; public var m_shape2:b2Shape; public var m_prev:b2Contact; public var m_toi:Number; public var m_next:b2Contact; public var m_friction:Number; public var m_manifoldCount:int; public var m_node1:b2ContactEdge; public var m_node2:b2ContactEdge; public var m_restitution:Number; public var m_flags:uint; public static var e_toiFlag:uint = 8; public static var e_nonSolidFlag:uint = 1; public static var e_slowFlag:uint = 2; public static var e_islandFlag:uint = 4; public static var s_registers:Array; public static var s_initialized:Boolean = false; public function b2Contact(_arg1:b2Shape=null, _arg2:b2Shape=null){ m_node1 = new b2ContactEdge(); m_node2 = new b2ContactEdge(); super(); m_flags = 0; if (((!(_arg1)) || (!(_arg2)))){ m_shape1 = null; m_shape2 = null; return; }; if (((_arg1.IsSensor()) || (_arg2.IsSensor()))){ m_flags = (m_flags | e_nonSolidFlag); }; 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 IsSolid():Boolean{ return (((m_flags & e_nonSolidFlag) == 0)); } public function GetShape1():b2Shape{ return (m_shape1); } public function GetShape2():b2Shape{ return (m_shape2); } public function GetNext():b2Contact{ return (m_next); } public function GetManifoldCount():int{ return (m_manifoldCount); } public function GetManifolds():Array{ return (null); } public function Update(_arg1:b2ContactListener):void{ var _local2:int = m_manifoldCount; Evaluate(_arg1); var _local3:int = m_manifoldCount; var _local4:b2Body = m_shape1.m_body; var _local5:b2Body = m_shape2.m_body; if ((((_local3 == 0)) && ((_local2 > 0)))){ _local4.WakeUp(); _local5.WakeUp(); }; if (((((((_local4.IsStatic()) || (_local4.IsBullet()))) || (_local5.IsStatic()))) || (_local5.IsBullet()))){ m_flags = (m_flags & ~(e_slowFlag)); } else { m_flags = (m_flags | e_slowFlag); }; } public function Evaluate(_arg1:b2ContactListener):void{ } public static function InitializeRegisters():void{ var _local2:int; s_registers = new Array(b2Shape.e_shapeTypeCount); var _local1:int; 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_polygonShape, b2Shape.e_circleShape); AddType(b2PolygonContact.Create, b2PolygonContact.Destroy, b2Shape.e_polygonShape, b2Shape.e_polygonShape); } public static function Destroy(_arg1:b2Contact, _arg2):void{ if (_arg1.m_manifoldCount > 0){ _arg1.m_shape1.m_body.WakeUp(); _arg1.m_shape2.m_body.WakeUp(); }; var _local3:int = _arg1.m_shape1.m_type; var _local4:int = _arg1.m_shape2.m_type; var _local5:b2ContactRegister = s_registers[_local3][_local4]; var _local6:Function = _local5.destroyFcn; _local6(_arg1, _arg2); } public static function AddType(_arg1:Function, _arg2:Function, _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 _local8:b2Contact; var _local9:int; var _local10:b2Manifold; if (s_initialized == false){ InitializeRegisters(); s_initialized = true; }; var _local4:int = _arg1.m_type; var _local5:int = _arg2.m_type; var _local6:b2ContactRegister = s_registers[_local4][_local5]; var _local7:Function = _local6.createFcn; if (_local7 != null){ if (_local6.primary){ return (_local7(_arg1, _arg2, _arg3)); }; _local8 = _local7(_arg2, _arg1, _arg3); _local9 = 0; while (_local9 < _local8.m_manifoldCount) { _local10 = _local8.GetManifolds()[_local9]; _local8.GetManifolds()[_local9].normal = _local10.normal.Negative(); _local9++; }; return (_local8); //unresolved jump }; return (null); } } }//package Box2D.Dynamics.Contacts
Section 39
//b2ContactConstraint (Box2D.Dynamics.Contacts.b2ContactConstraint) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2ContactConstraint { public var points:Array; public var normal:b2Vec2; public var restitution:Number; public var body1:b2Body; public var manifold:b2Manifold; public var body2:b2Body; public var friction:Number; public var pointCount:int; public function b2ContactConstraint(){ normal = new b2Vec2(); super(); points = new Array(b2Settings.b2_maxManifoldPoints); var _local1:int; while (_local1 < b2Settings.b2_maxManifoldPoints) { points[_local1] = new b2ContactConstraintPoint(); _local1++; }; } } }//package Box2D.Dynamics.Contacts
Section 40
//b2ContactConstraintPoint (Box2D.Dynamics.Contacts.b2ContactConstraintPoint) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; public class b2ContactConstraintPoint { public var r2:b2Vec2; public var separation:Number; public var positionImpulse:Number; public var normalImpulse:Number; public var tangentMass:Number; public var equalizedMass:Number; public var tangentImpulse:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var normalMass:Number; public var velocityBias:Number; public var r1:b2Vec2; public function b2ContactConstraintPoint(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); r1 = new b2Vec2(); r2 = new b2Vec2(); super(); } } }//package Box2D.Dynamics.Contacts
Section 41
//b2ContactEdge (Box2D.Dynamics.Contacts.b2ContactEdge) package Box2D.Dynamics.Contacts { import Box2D.Dynamics.*; public class b2ContactEdge { public var other:b2Body; public var prev:b2ContactEdge; public var contact:b2Contact; public var next:b2ContactEdge; } }//package Box2D.Dynamics.Contacts
Section 42
//b2ContactRegister (Box2D.Dynamics.Contacts.b2ContactRegister) package Box2D.Dynamics.Contacts { public class b2ContactRegister { public var primary:Boolean; public var createFcn:Function; public var destroyFcn:Function; } }//package Box2D.Dynamics.Contacts
Section 43
//b2ContactResult (Box2D.Dynamics.Contacts.b2ContactResult) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; public class b2ContactResult { public var position:b2Vec2; public var shape1:b2Shape; public var shape2:b2Shape; public var normalImpulse:Number; public var normal:b2Vec2; public var tangentImpulse:Number; public var id:b2ContactID; public function b2ContactResult(){ position = new b2Vec2(); normal = new b2Vec2(); id = new b2ContactID(); super(); } } }//package Box2D.Dynamics.Contacts
Section 44
//b2ContactSolver (Box2D.Dynamics.Contacts.b2ContactSolver) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2ContactSolver { public var m_constraintCount:int; public var m_constraints:Array; public var m_allocator; public var m_step:b2TimeStep; public function b2ContactSolver(_arg1:b2TimeStep, _arg2:Array, _arg3:int, _arg4){ var _local5:b2Contact; var _local6:int; var _local7:b2Vec2; var _local8:b2Mat22; var _local10:b2Body; var _local11:b2Body; var _local12:int; var _local13:Array; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:int; var _local23:b2Manifold; var _local24:Number; var _local25:Number; var _local26:b2ContactConstraint; var _local27:uint; var _local28:b2ManifoldPoint; var _local29:b2ContactConstraintPoint; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:Number; var _local38:Number; var _local39:Number; var _local40:Number; var _local41:Number; var _local42:Number; var _local43:Number; var _local44:Number; var _local45:Number; var _local46:Number; var _local47:Number; m_step = new b2TimeStep(); m_constraints = new Array(); super(); m_step.dt = _arg1.dt; m_step.inv_dt = _arg1.inv_dt; m_step.maxIterations = _arg1.maxIterations; m_allocator = _arg4; m_constraintCount = 0; _local6 = 0; while (_local6 < _arg3) { _local5 = _arg2[_local6]; m_constraintCount = (m_constraintCount + _local5.m_manifoldCount); _local6++; }; _local6 = 0; while (_local6 < m_constraintCount) { m_constraints[_local6] = new b2ContactConstraint(); _local6++; }; var _local9:int; _local6 = 0; while (_local6 < _arg3) { _local5 = _arg2[_local6]; _local10 = _local5.m_shape1.m_body; _local11 = _local5.m_shape2.m_body; _local12 = _local5.m_manifoldCount; _local13 = _local5.GetManifolds(); _local14 = _local5.m_friction; _local15 = _local5.m_restitution; _local16 = _local10.m_linearVelocity.x; _local17 = _local10.m_linearVelocity.y; _local18 = _local11.m_linearVelocity.x; _local19 = _local11.m_linearVelocity.y; _local20 = _local10.m_angularVelocity; _local21 = _local11.m_angularVelocity; _local22 = 0; while (_local22 < _local12) { _local23 = _local13[_local22]; _local24 = _local23.normal.x; _local25 = _local23.normal.y; _local26 = m_constraints[_local9]; _local26.body1 = _local10; _local26.body2 = _local11; _local26.manifold = _local23; _local26.normal.x = _local24; _local26.normal.y = _local25; _local26.pointCount = _local23.pointCount; _local26.friction = _local14; _local26.restitution = _local15; _local27 = 0; while (_local27 < _local26.pointCount) { _local28 = _local23.points[_local27]; _local29 = _local26.points[_local27]; _local29.normalImpulse = _local28.normalImpulse; _local29.tangentImpulse = _local28.tangentImpulse; _local29.separation = _local28.separation; _local29.positionImpulse = 0; _local29.localAnchor1.SetV(_local28.localPoint1); _local29.localAnchor2.SetV(_local28.localPoint2); _local8 = _local10.m_xf.R; _local32 = (_local28.localPoint1.x - _local10.m_sweep.localCenter.x); _local33 = (_local28.localPoint1.y - _local10.m_sweep.localCenter.y); _local30 = ((_local8.col1.x * _local32) + (_local8.col2.x * _local33)); _local33 = ((_local8.col1.y * _local32) + (_local8.col2.y * _local33)); _local32 = _local30; _local29.r1.Set(_local32, _local33); _local8 = _local11.m_xf.R; _local34 = (_local28.localPoint2.x - _local11.m_sweep.localCenter.x); _local35 = (_local28.localPoint2.y - _local11.m_sweep.localCenter.y); _local30 = ((_local8.col1.x * _local34) + (_local8.col2.x * _local35)); _local35 = ((_local8.col1.y * _local34) + (_local8.col2.y * _local35)); _local34 = _local30; _local29.r2.Set(_local34, _local35); _local36 = ((_local32 * _local32) + (_local33 * _local33)); _local37 = ((_local34 * _local34) + (_local35 * _local35)); _local38 = ((_local32 * _local24) + (_local33 * _local25)); _local39 = ((_local34 * _local24) + (_local35 * _local25)); _local40 = (_local10.m_invMass + _local11.m_invMass); _local40 = (_local40 + ((_local10.m_invI * (_local36 - (_local38 * _local38))) + (_local11.m_invI * (_local37 - (_local39 * _local39))))); _local29.normalMass = (1 / _local40); _local41 = ((_local10.m_mass * _local10.m_invMass) + (_local11.m_mass * _local11.m_invMass)); _local41 = (_local41 + (((_local10.m_mass * _local10.m_invI) * (_local36 - (_local38 * _local38))) + ((_local11.m_mass * _local11.m_invI) * (_local37 - (_local39 * _local39))))); _local29.equalizedMass = (1 / _local41); _local42 = _local25; _local43 = -(_local24); _local44 = ((_local32 * _local42) + (_local33 * _local43)); _local45 = ((_local34 * _local42) + (_local35 * _local43)); _local46 = (_local10.m_invMass + _local11.m_invMass); _local46 = (_local46 + ((_local10.m_invI * (_local36 - (_local44 * _local44))) + (_local11.m_invI * (_local37 - (_local45 * _local45))))); _local29.tangentMass = (1 / _local46); _local29.velocityBias = 0; if (_local29.separation > 0){ _local29.velocityBias = (-60 * _local29.separation); }; _local30 = (((_local18 + (-(_local21) * _local35)) - _local16) - (-(_local20) * _local33)); _local31 = (((_local19 + (_local21 * _local34)) - _local17) - (_local20 * _local32)); _local47 = ((_local26.normal.x * _local30) + (_local26.normal.y * _local31)); if (_local47 < -(b2Settings.b2_velocityThreshold)){ _local29.velocityBias = (_local29.velocityBias + (-(_local26.restitution) * _local47)); }; _local27++; }; _local9++; _local22++; }; _local6++; }; } public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2Mat22; var _local6:b2ContactConstraint; var _local7:b2Body; var _local8:b2Body; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:int; var _local19:int; var _local20:b2ContactConstraintPoint; var _local21:Number; var _local22:Number; var _local23:b2ContactConstraintPoint; var _local5:int; while (_local5 < m_constraintCount) { _local6 = m_constraints[_local5]; _local7 = _local6.body1; _local8 = _local6.body2; _local9 = _local7.m_invMass; _local10 = _local7.m_invI; _local11 = _local8.m_invMass; _local12 = _local8.m_invI; _local13 = _local6.normal.x; _local14 = _local6.normal.y; _local15 = _local14; _local16 = -(_local13); if (_arg1.warmStarting){ _local19 = _local6.pointCount; _local18 = 0; while (_local18 < _local19) { _local20 = _local6.points[_local18]; _local6.points[_local18].normalImpulse = (_local20.normalImpulse * _arg1.dtRatio); _local20.tangentImpulse = (_local20.tangentImpulse * _arg1.dtRatio); _local21 = ((_local20.normalImpulse * _local13) + (_local20.tangentImpulse * _local15)); _local22 = ((_local20.normalImpulse * _local14) + (_local20.tangentImpulse * _local16)); _local7.m_angularVelocity = (_local7.m_angularVelocity - (_local10 * ((_local20.r1.x * _local22) - (_local20.r1.y * _local21)))); _local7.m_linearVelocity.x = (_local7.m_linearVelocity.x - (_local9 * _local21)); _local7.m_linearVelocity.y = (_local7.m_linearVelocity.y - (_local9 * _local22)); _local8.m_angularVelocity = (_local8.m_angularVelocity + (_local12 * ((_local20.r2.x * _local22) - (_local20.r2.y * _local21)))); _local8.m_linearVelocity.x = (_local8.m_linearVelocity.x + (_local11 * _local21)); _local8.m_linearVelocity.y = (_local8.m_linearVelocity.y + (_local11 * _local22)); _local18++; }; } else { _local19 = _local6.pointCount; _local18 = 0; while (_local18 < _local19) { _local23 = _local6.points[_local18]; _local23.normalImpulse = 0; _local23.tangentImpulse = 0; _local18++; }; }; _local5++; }; } public function SolvePositionConstraints(_arg1:Number):Boolean{ var _local3:b2Mat22; var _local4:b2Vec2; 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:int; var _local20:int; var _local21:b2ContactConstraintPoint; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:Number; var _local38:Number; var _local2:Number = 0; var _local5:int; while (_local5 < m_constraintCount) { _local6 = m_constraints[_local5]; _local7 = _local6.body1; _local8 = _local6.body2; _local9 = _local7.m_sweep.c; _local10 = _local7.m_sweep.a; _local11 = _local8.m_sweep.c; _local12 = _local8.m_sweep.a; _local13 = (_local7.m_mass * _local7.m_invMass); _local14 = (_local7.m_mass * _local7.m_invI); _local15 = (_local8.m_mass * _local8.m_invMass); _local16 = (_local8.m_mass * _local8.m_invI); _local17 = _local6.normal.x; _local18 = _local6.normal.y; _local19 = _local6.pointCount; _local20 = 0; while (_local20 < _local19) { _local21 = _local6.points[_local20]; _local3 = _local7.m_xf.R; _local4 = _local7.m_sweep.localCenter; _local22 = (_local21.localAnchor1.x - _local4.x); _local23 = (_local21.localAnchor1.y - _local4.y); _local26 = ((_local3.col1.x * _local22) + (_local3.col2.x * _local23)); _local23 = ((_local3.col1.y * _local22) + (_local3.col2.y * _local23)); _local22 = _local26; _local3 = _local8.m_xf.R; _local4 = _local8.m_sweep.localCenter; _local24 = (_local21.localAnchor2.x - _local4.x); _local25 = (_local21.localAnchor2.y - _local4.y); _local26 = ((_local3.col1.x * _local24) + (_local3.col2.x * _local25)); _local25 = ((_local3.col1.y * _local24) + (_local3.col2.y * _local25)); _local24 = _local26; _local27 = (_local9.x + _local22); _local28 = (_local9.y + _local23); _local29 = (_local11.x + _local24); _local30 = (_local11.y + _local25); _local31 = (_local29 - _local27); _local32 = (_local30 - _local28); _local33 = (((_local31 * _local17) + (_local32 * _local18)) + _local21.separation); _local2 = b2Math.b2Min(_local2, _local33); _local34 = (_arg1 * b2Math.b2Clamp((_local33 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0)); _local35 = (-(_local21.equalizedMass) * _local34); _local36 = _local21.positionImpulse; _local21.positionImpulse = b2Math.b2Max((_local36 + _local35), 0); _local35 = (_local21.positionImpulse - _local36); _local37 = (_local35 * _local17); _local38 = (_local35 * _local18); _local9.x = (_local9.x - (_local13 * _local37)); _local9.y = (_local9.y - (_local13 * _local38)); _local10 = (_local10 - (_local14 * ((_local22 * _local38) - (_local23 * _local37)))); _local7.m_sweep.a = _local10; _local7.SynchronizeTransform(); _local11.x = (_local11.x + (_local15 * _local37)); _local11.y = (_local11.y + (_local15 * _local38)); _local12 = (_local12 + (_local16 * ((_local24 * _local38) - (_local25 * _local37)))); _local8.m_sweep.a = _local12; _local8.SynchronizeTransform(); _local20++; }; _local5++; }; return ((_local2 >= (-1.5 * 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:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:b2Mat22; var _local18:b2Vec2; var _local20:b2ContactConstraint; var _local21:b2Body; var _local22:b2Body; var _local23:Number; var _local24:Number; var _local25:b2Vec2; var _local26:b2Vec2; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:int; var _local38:Number; var _local19:int; while (_local19 < m_constraintCount) { _local20 = m_constraints[_local19]; _local21 = _local20.body1; _local22 = _local20.body2; _local23 = _local21.m_angularVelocity; _local24 = _local22.m_angularVelocity; _local25 = _local21.m_linearVelocity; _local26 = _local22.m_linearVelocity; _local27 = _local21.m_invMass; _local28 = _local21.m_invI; _local29 = _local22.m_invMass; _local30 = _local22.m_invI; _local31 = _local20.normal.x; _local32 = _local20.normal.y; _local33 = _local32; _local34 = -(_local31); _local35 = _local20.friction; _local37 = _local20.pointCount; _local1 = 0; while (_local1 < _local37) { _local2 = _local20.points[_local1]; _local7 = (((_local26.x + (-(_local24) * _local2.r2.y)) - _local25.x) - (-(_local23) * _local2.r1.y)); _local8 = (((_local26.y + (_local24 * _local2.r2.x)) - _local25.y) - (_local23 * _local2.r1.x)); _local9 = ((_local7 * _local31) + (_local8 * _local32)); _local11 = (-(_local2.normalMass) * (_local9 - _local2.velocityBias)); _local10 = ((_local7 * _local33) + (_local8 * _local34)); _local12 = (_local2.tangentMass * -(_local10)); _local13 = b2Math.b2Max((_local2.normalImpulse + _local11), 0); _local11 = (_local13 - _local2.normalImpulse); _local38 = (_local35 * _local2.normalImpulse); _local14 = b2Math.b2Clamp((_local2.tangentImpulse + _local12), -(_local38), _local38); _local12 = (_local14 - _local2.tangentImpulse); _local15 = ((_local11 * _local31) + (_local12 * _local33)); _local16 = ((_local11 * _local32) + (_local12 * _local34)); _local25.x = (_local25.x - (_local27 * _local15)); _local25.y = (_local25.y - (_local27 * _local16)); _local23 = (_local23 - (_local28 * ((_local2.r1.x * _local16) - (_local2.r1.y * _local15)))); _local26.x = (_local26.x + (_local29 * _local15)); _local26.y = (_local26.y + (_local29 * _local16)); _local24 = (_local24 + (_local30 * ((_local2.r2.x * _local16) - (_local2.r2.y * _local15)))); _local2.normalImpulse = _local13; _local2.tangentImpulse = _local14; _local1++; }; _local21.m_angularVelocity = _local23; _local22.m_angularVelocity = _local24; _local19++; }; } public function FinalizeVelocityConstraints():void{ var _local2:b2ContactConstraint; var _local3:b2Manifold; var _local4:int; var _local5:b2ManifoldPoint; var _local6:b2ContactConstraintPoint; var _local1:int; 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 45
//b2NullContact (Box2D.Dynamics.Contacts.b2NullContact) package Box2D.Dynamics.Contacts { import Box2D.Dynamics.*; public class b2NullContact extends b2Contact { override public function Evaluate(_arg1:b2ContactListener):void{ } override public function GetManifolds():Array{ return (null); } } }//package Box2D.Dynamics.Contacts
Section 46
//b2PolyAndCircleContact (Box2D.Dynamics.Contacts.b2PolyAndCircleContact) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2PolyAndCircleContact extends b2Contact { private var m_manifolds:Array; public var m_manifold:b2Manifold; private var m0:b2Manifold; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2PolyAndCircleContact(_arg1:b2Shape, _arg2:b2Shape){ m_manifolds = [new b2Manifold()]; m0 = new b2Manifold(); super(_arg1, _arg2); m_manifold = m_manifolds[0]; b2Settings.b2Assert((m_shape1.m_type == b2Shape.e_polygonShape)); b2Settings.b2Assert((m_shape2.m_type == b2Shape.e_circleShape)); m_manifold.pointCount = 0; var _local3:b2ManifoldPoint = m_manifold.points[0]; _local3.normalImpulse = 0; _local3.tangentImpulse = 0; } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:int; var _local3:b2Vec2; var _local4:b2Vec2; var _local5:b2ManifoldPoint; var _local10:b2ManifoldPoint; var _local11:Boolean; var _local12:uint; var _local13:int; var _local6:b2Body = m_shape1.m_body; var _local7:b2Body = m_shape2.m_body; m0.Set(m_manifold); b2Collision.b2CollidePolygonAndCircle(m_manifold, (m_shape1 as b2PolygonShape), _local6.m_xf, (m_shape2 as b2CircleShape), _local7.m_xf); var _local8:Array = [false, false]; var _local9:b2ContactPoint = s_evalCP; _local9.shape1 = m_shape1; _local9.shape2 = m_shape2; _local9.friction = m_friction; _local9.restitution = m_restitution; if (m_manifold.pointCount > 0){ _local2 = 0; while (_local2 < m_manifold.pointCount) { _local10 = m_manifold.points[_local2]; _local10.normalImpulse = 0; _local10.tangentImpulse = 0; _local11 = false; _local12 = _local10.id._key; _local13 = 0; while (_local13 < m0.pointCount) { if (_local8[_local13] == true){ } else { _local5 = m0.points[_local13]; if (_local5.id._key == _local12){ _local8[_local13] = true; _local10.normalImpulse = _local5.normalImpulse; _local10.tangentImpulse = _local5.tangentImpulse; _local11 = true; if (_arg1 != null){ _local9.position = _local6.GetWorldPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local4 = _local7.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local9.velocity.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal.SetV(m_manifold.normal); _local9.separation = _local10.separation; _local9.id.key = _local12; _arg1.Persist(_local9); }; break; }; }; _local13++; }; if ((((_local11 == false)) && (!((_arg1 == null))))){ _local9.position = _local6.GetWorldPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local4 = _local7.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local9.velocity.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal.SetV(m_manifold.normal); _local9.separation = _local10.separation; _local9.id.key = _local12; _arg1.Add(_local9); }; _local2++; }; m_manifoldCount = 1; } else { m_manifoldCount = 0; }; if (_arg1 == null){ return; }; _local2 = 0; while (_local2 < m0.pointCount) { if (_local8[_local2]){ } else { _local5 = m0.points[_local2]; _local9.position = _local6.GetWorldPoint(_local5.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local5.localPoint1); _local4 = _local7.GetLinearVelocityFromLocalPoint(_local5.localPoint2); _local9.velocity.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal.SetV(m0.normal); _local9.separation = _local5.separation; _local9.id.key = _local5.id._key; _arg1.Remove(_local9); }; _local2++; }; } override public function GetManifolds():Array{ return (m_manifolds); } 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 47
//b2PolygonContact (Box2D.Dynamics.Contacts.b2PolygonContact) package Box2D.Dynamics.Contacts { import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2PolygonContact extends b2Contact { private var m_manifolds:Array; private var m0:b2Manifold; public var m_manifold:b2Manifold; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2PolygonContact(_arg1:b2Shape, _arg2:b2Shape):void{ m0 = new b2Manifold(); m_manifolds = [new b2Manifold()]; super(_arg1, _arg2); m_manifold = m_manifolds[0]; m_manifold.pointCount = 0; } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2ManifoldPoint; var _local7:b2ContactPoint; var _local8:int; var _local10:b2ManifoldPoint; var _local11:Boolean; var _local12:uint; var _local13:int; var _local5:b2Body = m_shape1.m_body; var _local6:b2Body = m_shape2.m_body; m0.Set(m_manifold); b2Collision.b2CollidePolygons(m_manifold, (m_shape1 as b2PolygonShape), _local5.m_xf, (m_shape2 as b2PolygonShape), _local6.m_xf); var _local9:Array = [false, false]; _local7 = s_evalCP; _local7.shape1 = m_shape1; _local7.shape2 = m_shape2; _local7.friction = m_friction; _local7.restitution = m_restitution; if (m_manifold.pointCount > 0){ _local8 = 0; while (_local8 < m_manifold.pointCount) { _local10 = m_manifold.points[_local8]; _local10.normalImpulse = 0; _local10.tangentImpulse = 0; _local11 = false; _local12 = _local10.id._key; _local13 = 0; while (_local13 < m0.pointCount) { if (_local9[_local13] == true){ } else { _local4 = m0.points[_local13]; if (_local4.id._key == _local12){ _local9[_local13] = true; _local10.normalImpulse = _local4.normalImpulse; _local10.tangentImpulse = _local4.tangentImpulse; _local11 = true; if (_arg1 != null){ _local7.position = _local5.GetWorldPoint(_local10.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local10.separation; _local7.id.key = _local12; _arg1.Persist(_local7); }; break; }; }; _local13++; }; if ((((_local11 == false)) && (!((_arg1 == null))))){ _local7.position = _local5.GetWorldPoint(_local10.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local10.separation; _local7.id.key = _local12; _arg1.Add(_local7); }; _local8++; }; m_manifoldCount = 1; } else { m_manifoldCount = 0; }; if (_arg1 == null){ return; }; _local8 = 0; while (_local8 < m0.pointCount) { if (_local9[_local8]){ } else { _local4 = m0.points[_local8]; _local7.position = _local5.GetWorldPoint(_local4.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local4.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local4.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m0.normal); _local7.separation = _local4.separation; _local7.id.key = _local4.id._key; _arg1.Remove(_local7); }; _local8++; }; } override public function GetManifolds():Array{ return (m_manifolds); } public static function Destroy(_arg1:b2Contact, _arg2):void{ } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ return (new b2PolygonContact(_arg1, _arg2)); } } }//package Box2D.Dynamics.Contacts
Section 48
//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_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_bias:Number; public var m_gamma:Number; public var m_u:b2Vec2; public var m_mass:Number; public var m_impulse:Number; public var m_dampingRatio:Number; public var m_frequencyHz: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); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_length = _arg1.length; m_frequencyHz = _arg1.frequencyHz; m_dampingRatio = _arg1.dampingRatio; m_impulse = 0; m_gamma = 0; m_bias = 0; m_inv_dt = 0; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Mat22; var _local3:Number; var _local4:b2Body; var _local5:b2Body; var _local6:Number; var _local8:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; m_inv_dt = _arg1.inv_dt; _local4 = m_body1; _local5 = m_body2; _local2 = _local4.m_xf.R; _local6 = (m_localAnchor1.x - _local4.m_sweep.localCenter.x); var _local7:Number = (m_localAnchor1.y - _local4.m_sweep.localCenter.y); _local3 = ((_local2.col1.x * _local6) + (_local2.col2.x * _local7)); _local7 = ((_local2.col1.y * _local6) + (_local2.col2.y * _local7)); _local6 = _local3; _local2 = _local5.m_xf.R; _local8 = (m_localAnchor2.x - _local5.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local5.m_sweep.localCenter.y); _local3 = ((_local2.col1.x * _local8) + (_local2.col2.x * _local9)); _local9 = ((_local2.col1.y * _local8) + (_local2.col2.y * _local9)); _local8 = _local3; m_u.x = (((_local5.m_sweep.c.x + _local8) - _local4.m_sweep.c.x) - _local6); m_u.y = (((_local5.m_sweep.c.y + _local9) - _local4.m_sweep.c.y) - _local7); var _local10:Number = Math.sqrt(((m_u.x * m_u.x) + (m_u.y * m_u.y))); if (_local10 > b2Settings.b2_linearSlop){ m_u.Multiply((1 / _local10)); } else { m_u.SetZero(); }; var _local11:Number = ((_local6 * m_u.y) - (_local7 * m_u.x)); var _local12:Number = ((_local8 * m_u.y) - (_local9 * m_u.x)); var _local13:Number = (((_local4.m_invMass + ((_local4.m_invI * _local11) * _local11)) + _local5.m_invMass) + ((_local5.m_invI * _local12) * _local12)); m_mass = (1 / _local13); if (m_frequencyHz > 0){ _local14 = (_local10 - m_length); _local15 = ((2 * Math.PI) * m_frequencyHz); _local16 = (((2 * m_mass) * m_dampingRatio) * _local15); _local17 = ((m_mass * _local15) * _local15); m_gamma = (1 / (_arg1.dt * (_local16 + (_arg1.dt * _local17)))); m_bias = (((_local14 * _arg1.dt) * _local17) * m_gamma); m_mass = (1 / (_local13 + m_gamma)); }; if (_arg1.warmStarting){ m_impulse = (m_impulse * _arg1.dtRatio); _local18 = (m_impulse * m_u.x); _local19 = (m_impulse * m_u.y); _local4.m_linearVelocity.x = (_local4.m_linearVelocity.x - (_local4.m_invMass * _local18)); _local4.m_linearVelocity.y = (_local4.m_linearVelocity.y - (_local4.m_invMass * _local19)); _local4.m_angularVelocity = (_local4.m_angularVelocity - (_local4.m_invI * ((_local6 * _local19) - (_local7 * _local18)))); _local5.m_linearVelocity.x = (_local5.m_linearVelocity.x + (_local5.m_invMass * _local18)); _local5.m_linearVelocity.y = (_local5.m_linearVelocity.y + (_local5.m_invMass * _local19)); _local5.m_angularVelocity = (_local5.m_angularVelocity + (_local5.m_invI * ((_local8 * _local19) - (_local9 * _local18)))); } else { m_impulse = 0; }; } override public function GetReactionTorque():Number{ return (0); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = new b2Vec2(); _local1.SetV(m_u); _local1.Multiply((m_inv_dt * m_impulse)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local1:b2Mat22; if (m_frequencyHz > 0){ return (true); }; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; _local1 = _local2.m_xf.R; var _local4:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); var _local5:Number = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); var _local6:Number = ((_local1.col1.x * _local4) + (_local1.col2.x * _local5)); _local5 = ((_local1.col1.y * _local4) + (_local1.col2.y * _local5)); _local4 = _local6; _local1 = _local3.m_xf.R; var _local7:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local8:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local6 = ((_local1.col1.x * _local7) + (_local1.col2.x * _local8)); _local8 = ((_local1.col1.y * _local7) + (_local1.col2.y * _local8)); _local7 = _local6; var _local9:Number = (((_local3.m_sweep.c.x + _local7) - _local2.m_sweep.c.x) - _local4); var _local10:Number = (((_local3.m_sweep.c.y + _local8) - _local2.m_sweep.c.y) - _local5); var _local11:Number = Math.sqrt(((_local9 * _local9) + (_local10 * _local10))); _local9 = (_local9 / _local11); _local10 = (_local10 / _local11); var _local12:Number = (_local11 - m_length); _local12 = b2Math.b2Clamp(_local12, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); var _local13:Number = (-(m_mass) * _local12); m_u.Set(_local9, _local10); var _local14:Number = (_local13 * m_u.x); var _local15:Number = (_local13 * m_u.y); _local2.m_sweep.c.x = (_local2.m_sweep.c.x - (_local2.m_invMass * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y - (_local2.m_invMass * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a - (_local2.m_invI * ((_local4 * _local15) - (_local5 * _local14)))); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + (_local3.m_invMass * _local14)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + (_local3.m_invMass * _local15)); _local3.m_sweep.a = (_local3.m_sweep.a + (_local3.m_invI * ((_local7 * _local15) - (_local8 * _local14)))); _local2.SynchronizeTransform(); _local3.SynchronizeTransform(); return ((b2Math.b2Abs(_local12) < b2Settings.b2_linearSlop)); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Mat22; var _local3:b2Body = m_body1; var _local4:b2Body = m_body2; _local2 = _local3.m_xf.R; var _local5:Number = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); var _local6:Number = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); var _local7:Number = ((_local2.col1.x * _local5) + (_local2.col2.x * _local6)); _local6 = ((_local2.col1.y * _local5) + (_local2.col2.y * _local6)); _local5 = _local7; _local2 = _local4.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local7 = ((_local2.col1.x * _local8) + (_local2.col2.x * _local9)); _local9 = ((_local2.col1.y * _local8) + (_local2.col2.y * _local9)); _local8 = _local7; var _local10:Number = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local6)); var _local11:Number = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local5)); var _local12:Number = (_local4.m_linearVelocity.x + (-(_local4.m_angularVelocity) * _local9)); var _local13:Number = (_local4.m_linearVelocity.y + (_local4.m_angularVelocity * _local8)); var _local14:Number = ((m_u.x * (_local12 - _local10)) + (m_u.y * (_local13 - _local11))); var _local15:Number = (-(m_mass) * ((_local14 + m_bias) + (m_gamma * m_impulse))); m_impulse = (m_impulse + _local15); var _local16:Number = (_local15 * m_u.x); var _local17:Number = (_local15 * m_u.y); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x - (_local3.m_invMass * _local16)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y - (_local3.m_invMass * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity - (_local3.m_invI * ((_local5 * _local17) - (_local6 * _local16)))); _local4.m_linearVelocity.x = (_local4.m_linearVelocity.x + (_local4.m_invMass * _local16)); _local4.m_linearVelocity.y = (_local4.m_linearVelocity.y + (_local4.m_invMass * _local17)); _local4.m_angularVelocity = (_local4.m_angularVelocity + (_local4.m_invI * ((_local8 * _local17) - (_local9 * _local16)))); } } }//package Box2D.Dynamics.Joints
Section 49
//b2DistanceJointDef (Box2D.Dynamics.Joints.b2DistanceJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2DistanceJointDef extends b2JointDef { public var localAnchor1:b2Vec2; public var length:Number; public var dampingRatio:Number; public var localAnchor2:b2Vec2; public var frequencyHz:Number; public function b2DistanceJointDef(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); super(); type = b2Joint.e_distanceJoint; length = 1; frequencyHz = 0; dampingRatio = 0; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2, _arg4:b2Vec2):void{ body1 = _arg1; body2 = _arg2; localAnchor1.SetV(body1.GetLocalPoint(_arg3)); localAnchor2.SetV(body2.GetLocalPoint(_arg4)); var _local5:Number = (_arg4.x - _arg3.x); var _local6:Number = (_arg4.y - _arg3.y); length = Math.sqrt(((_local5 * _local5) + (_local6 * _local6))); frequencyHz = 0; dampingRatio = 0; } } }//package Box2D.Dynamics.Joints
Section 50
//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_ground2:b2Body; 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_revolute2:b2RevoluteJoint; public var m_force:Number; public var m_mass:Number; public var m_prismatic2:b2PrismaticJoint; public var m_ground1:b2Body; public var m_revolute1:b2RevoluteJoint; public var m_prismatic1:b2PrismaticJoint; public var m_constant:Number; public var m_J:b2Jacobian; public function b2GearJoint(_arg1:b2GearJointDef){ var _local4:Number; var _local5:Number; m_groundAnchor1 = new b2Vec2(); m_groundAnchor2 = new b2Vec2(); m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_J = new b2Jacobian(); super(_arg1); var _local2:int = _arg1.joint1.m_type; var _local3:int = _arg1.joint2.m_type; 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 (_local2 == b2Joint.e_revoluteJoint){ m_revolute1 = (_arg1.joint1 as b2RevoluteJoint); m_groundAnchor1.SetV(m_revolute1.m_localAnchor1); m_localAnchor1.SetV(m_revolute1.m_localAnchor2); _local4 = m_revolute1.GetJointAngle(); } else { m_prismatic1 = (_arg1.joint1 as b2PrismaticJoint); m_groundAnchor1.SetV(m_prismatic1.m_localAnchor1); m_localAnchor1.SetV(m_prismatic1.m_localAnchor2); _local4 = m_prismatic1.GetJointTranslation(); }; m_ground2 = _arg1.joint2.m_body1; m_body2 = _arg1.joint2.m_body2; if (_local3 == b2Joint.e_revoluteJoint){ m_revolute2 = (_arg1.joint2 as b2RevoluteJoint); m_groundAnchor2.SetV(m_revolute2.m_localAnchor1); m_localAnchor2.SetV(m_revolute2.m_localAnchor2); _local5 = m_revolute2.GetJointAngle(); } else { m_prismatic2 = (_arg1.joint2 as b2PrismaticJoint); m_groundAnchor2.SetV(m_prismatic2.m_localAnchor1); m_localAnchor2.SetV(m_prismatic2.m_localAnchor2); _local5 = m_prismatic2.GetJointTranslation(); }; m_ratio = _arg1.ratio; m_constant = (_local4 + (m_ratio * _local5)); m_force = 0; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:b2Mat22; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local15:Number; var _local2:b2Body = m_ground1; var _local3:b2Body = m_ground2; var _local4:b2Body = m_body1; var _local5:b2Body = m_body2; var _local14:Number = 0; m_J.SetZero(); if (m_revolute1){ m_J.angular1 = -1; _local14 = (_local14 + _local4.m_invI); } else { _local10 = _local2.m_xf.R; _local11 = m_prismatic1.m_localXAxis1; _local6 = ((_local10.col1.x * _local11.x) + (_local10.col2.x * _local11.y)); _local7 = ((_local10.col1.y * _local11.x) + (_local10.col2.y * _local11.y)); _local10 = _local4.m_xf.R; _local8 = (m_localAnchor1.x - _local4.m_sweep.localCenter.x); _local9 = (m_localAnchor1.y - _local4.m_sweep.localCenter.y); _local13 = ((_local10.col1.x * _local8) + (_local10.col2.x * _local9)); _local9 = ((_local10.col1.y * _local8) + (_local10.col2.y * _local9)); _local8 = _local13; _local12 = ((_local8 * _local7) - (_local9 * _local6)); m_J.linear1.Set(-(_local6), -(_local7)); m_J.angular1 = -(_local12); _local14 = (_local14 + (_local4.m_invMass + ((_local4.m_invI * _local12) * _local12))); }; if (m_revolute2){ m_J.angular2 = -(m_ratio); _local14 = (_local14 + ((m_ratio * m_ratio) * _local5.m_invI)); } else { _local10 = _local3.m_xf.R; _local11 = m_prismatic2.m_localXAxis1; _local6 = ((_local10.col1.x * _local11.x) + (_local10.col2.x * _local11.y)); _local7 = ((_local10.col1.y * _local11.x) + (_local10.col2.y * _local11.y)); _local10 = _local5.m_xf.R; _local8 = (m_localAnchor2.x - _local5.m_sweep.localCenter.x); _local9 = (m_localAnchor2.y - _local5.m_sweep.localCenter.y); _local13 = ((_local10.col1.x * _local8) + (_local10.col2.x * _local9)); _local9 = ((_local10.col1.y * _local8) + (_local10.col2.y * _local9)); _local8 = _local13; _local12 = ((_local8 * _local7) - (_local9 * _local6)); m_J.linear2.Set((-(m_ratio) * _local6), (-(m_ratio) * _local7)); m_J.angular2 = (-(m_ratio) * _local12); _local14 = (_local14 + ((m_ratio * m_ratio) * (_local5.m_invMass + ((_local5.m_invI * _local12) * _local12)))); }; m_mass = (1 / _local14); if (_arg1.warmStarting){ _local15 = (_arg1.dt * m_force); _local4.m_linearVelocity.x = (_local4.m_linearVelocity.x + ((_local4.m_invMass * _local15) * m_J.linear1.x)); _local4.m_linearVelocity.y = (_local4.m_linearVelocity.y + ((_local4.m_invMass * _local15) * m_J.linear1.y)); _local4.m_angularVelocity = (_local4.m_angularVelocity + ((_local4.m_invI * _local15) * m_J.angular1)); _local5.m_linearVelocity.x = (_local5.m_linearVelocity.x + ((_local5.m_invMass * _local15) * m_J.linear2.x)); _local5.m_linearVelocity.y = (_local5.m_linearVelocity.y + ((_local5.m_invMass * _local15) * m_J.linear2.y)); _local5.m_angularVelocity = (_local5.m_angularVelocity + ((_local5.m_invI * _local15) * m_J.angular2)); } else { m_force = 0; }; } override public function GetReactionTorque():Number{ var _local1:b2Mat22 = m_body2.m_xf.R; var _local2:Number = (m_localAnchor1.x - m_body2.m_sweep.localCenter.x); var _local3:Number = (m_localAnchor1.y - m_body2.m_sweep.localCenter.y); var _local4:Number = ((_local1.col1.x * _local2) + (_local1.col2.x * _local3)); _local3 = ((_local1.col1.y * _local2) + (_local1.col2.y * _local3)); _local2 = _local4; _local4 = ((m_force * m_J.angular2) - ((_local2 * (m_force * m_J.linear2.y)) - (_local3 * (m_force * m_J.linear2.x)))); return (_local4); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = new b2Vec2((m_force * m_J.linear2.x), (m_force * m_J.linear2.y)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local4:Number; var _local5:Number; var _local1:Number = 0; var _local2:b2Body = m_body1; var _local3:b2Body = 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(); }; var _local6:Number = (m_constant - (_local4 + (m_ratio * _local5))); var _local7:Number = (-(m_mass) * _local6); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + ((_local2.m_invMass * _local7) * m_J.linear1.x)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + ((_local2.m_invMass * _local7) * m_J.linear1.y)); _local2.m_sweep.a = (_local2.m_sweep.a + ((_local2.m_invI * _local7) * m_J.angular1)); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local3.m_invMass * _local7) * m_J.linear2.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local3.m_invMass * _local7) * m_J.linear2.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local3.m_invI * _local7) * m_J.angular2)); _local2.SynchronizeTransform(); _local3.SynchronizeTransform(); return ((_local1 < b2Settings.b2_linearSlop)); } public function GetRatio():Number{ return (m_ratio); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; var _local4:Number = m_J.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); var _local5:Number = ((-(_arg1.inv_dt) * m_mass) * _local4); m_force = (m_force + _local5); var _local6:Number = (_arg1.dt * _local5); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local2.m_invMass * _local6) * m_J.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local2.m_invMass * _local6) * m_J.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local2.m_invI * _local6) * m_J.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local3.m_invMass * _local6) * m_J.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local3.m_invMass * _local6) * m_J.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3.m_invI * _local6) * m_J.angular2)); } } }//package Box2D.Dynamics.Joints
Section 51
//b2GearJointDef (Box2D.Dynamics.Joints.b2GearJointDef) package Box2D.Dynamics.Joints { public class b2GearJointDef extends b2JointDef { public var joint1:b2Joint; public var joint2:b2Joint; public var ratio:Number; public function b2GearJointDef(){ type = b2Joint.e_gearJoint; joint1 = null; joint2 = null; ratio = 1; } } }//package Box2D.Dynamics.Joints
Section 52
//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 angular1:Number; public var angular2: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 53
//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_body1:b2Body; public var m_prev:b2Joint; public var m_next:b2Joint; public var m_type:int; public var m_collideConnected:Boolean; public var m_node1:b2JointEdge; public var m_node2:b2JointEdge; public var m_inv_dt:Number; public var m_userData; 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 b2JointEdge(); m_node2 = new b2JointEdge(); 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 GetBody2():b2Body{ return (m_body2); } 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 InitVelocityConstraints(_arg1:b2TimeStep):void{ } public function GetReactionTorque():Number{ return (0); } public function GetUserData(){ return (m_userData); } public function GetReactionForce():b2Vec2{ return (null); } public function SolvePositionConstraints():Boolean{ return (false); } public function SetUserData(_arg1):void{ m_userData = _arg1; } public function GetBody1():b2Body{ return (m_body1); } public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ } public function InitPositionConstraints():void{ } public static function Destroy(_arg1:b2Joint, _arg2):void{ } public static function Create(_arg1:b2JointDef, _arg2):b2Joint{ var _local3:b2Joint; 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 54
//b2JointDef (Box2D.Dynamics.Joints.b2JointDef) package Box2D.Dynamics.Joints { import Box2D.Dynamics.*; public class b2JointDef { public var body2:b2Body; public var type:int; public var userData; public var collideConnected:Boolean; public var body1:b2Body; public function b2JointDef(){ type = b2Joint.e_unknownJoint; userData = null; body1 = null; body2 = null; collideConnected = false; } } }//package Box2D.Dynamics.Joints
Section 55
//b2JointEdge (Box2D.Dynamics.Joints.b2JointEdge) package Box2D.Dynamics.Joints { import Box2D.Dynamics.*; public class b2JointEdge { public var other:b2Body; public var next:b2JointEdge; public var prev:b2JointEdge; public var joint:b2Joint; } }//package Box2D.Dynamics.Joints
Section 56
//b2MouseJoint (Box2D.Dynamics.Joints.b2MouseJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Common.*; public class b2MouseJoint extends b2Joint { private var K1:b2Mat22; private var K:b2Mat22; public var m_beta:Number; public var m_mass:b2Mat22; private var K2:b2Mat22; public var m_target:b2Vec2; public var m_gamma:Number; public var m_impulse:b2Vec2; public var m_C:b2Vec2; public var m_localAnchor:b2Vec2; public var m_maxForce:Number; public function b2MouseJoint(_arg1:b2MouseJointDef){ var _local3:Number; K = new b2Mat22(); K1 = new b2Mat22(); K2 = new b2Mat22(); m_localAnchor = new b2Vec2(); m_target = new b2Vec2(); m_impulse = new b2Vec2(); m_mass = new b2Mat22(); m_C = new b2Vec2(); super(_arg1); m_target.SetV(_arg1.target); var _local2:Number = (m_target.x - m_body2.m_xf.position.x); _local3 = (m_target.y - m_body2.m_xf.position.y); var _local4:b2Mat22 = m_body2.m_xf.R; m_localAnchor.x = ((_local2 * _local4.col1.x) + (_local3 * _local4.col1.y)); m_localAnchor.y = ((_local2 * _local4.col2.x) + (_local3 * _local4.col2.y)); m_maxForce = _arg1.maxForce; m_impulse.SetZero(); var _local5:Number = m_body2.m_mass; var _local6:Number = ((2 * b2Settings.b2_pi) * _arg1.frequencyHz); var _local7:Number = (((2 * _local5) * _arg1.dampingRatio) * _local6); var _local8:Number = ((_arg1.timeStep * _local5) * (_local6 * _local6)); m_gamma = (1 / (_local7 + _local8)); m_beta = (_local8 / (_local7 + _local8)); } public function SetTarget(_arg1:b2Vec2):void{ if (m_body2.IsSleeping()){ m_body2.WakeUp(); }; m_target = _arg1; } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local7:Number; var _local8:Number; _local2 = m_body2; _local3 = _local2.m_xf.R; _local4 = (m_localAnchor.x - _local2.m_sweep.localCenter.x); _local5 = (m_localAnchor.y - _local2.m_sweep.localCenter.y); var _local6:Number = ((_local3.col1.x * _local4) + (_local3.col2.x * _local5)); _local5 = ((_local3.col1.y * _local4) + (_local3.col2.y * _local5)); _local4 = _local6; _local7 = _local2.m_invMass; _local8 = _local2.m_invI; K1.col1.x = _local7; K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = _local7; K2.col1.x = ((_local8 * _local5) * _local5); K2.col2.x = ((-(_local8) * _local4) * _local5); K2.col1.y = ((-(_local8) * _local4) * _local5); K2.col2.y = ((_local8 * _local4) * _local4); 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_mass); m_C.x = ((_local2.m_sweep.c.x + _local4) - m_target.x); m_C.y = ((_local2.m_sweep.c.y + _local5) - m_target.y); _local2.m_angularVelocity = (_local2.m_angularVelocity * 0.98); var _local9:Number = (_arg1.dt * m_impulse.x); var _local10:Number = (_arg1.dt * m_impulse.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local7 * _local9)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local7 * _local10)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local8 * ((_local4 * _local10) - (_local5 * _local9)))); } override public function GetAnchor1():b2Vec2{ return (m_target); } override public function GetReactionTorque():Number{ return (0); } override public function GetReactionForce():b2Vec2{ return (m_impulse); } override public function SolvePositionConstraints():Boolean{ return (true); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local2:b2Body = m_body2; _local3 = _local2.m_xf.R; var _local6:Number = (m_localAnchor.x - _local2.m_sweep.localCenter.x); var _local7:Number = (m_localAnchor.y - _local2.m_sweep.localCenter.y); _local4 = ((_local3.col1.x * _local6) + (_local3.col2.x * _local7)); _local7 = ((_local3.col1.y * _local6) + (_local3.col2.y * _local7)); _local6 = _local4; var _local8:Number = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local7)); var _local9:Number = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local6)); _local3 = m_mass; _local4 = ((_local8 + ((m_beta * _arg1.inv_dt) * m_C.x)) + ((m_gamma * _arg1.dt) * m_impulse.x)); _local5 = ((_local9 + ((m_beta * _arg1.inv_dt) * m_C.y)) + ((m_gamma * _arg1.dt) * m_impulse.y)); var _local10:Number = (-(_arg1.inv_dt) * ((_local3.col1.x * _local4) + (_local3.col2.x * _local5))); var _local11:Number = (-(_arg1.inv_dt) * ((_local3.col1.y * _local4) + (_local3.col2.y * _local5))); var _local12:Number = m_impulse.x; var _local13:Number = m_impulse.y; m_impulse.x = (m_impulse.x + _local10); m_impulse.y = (m_impulse.y + _local11); var _local14:Number = m_impulse.Length(); if (_local14 > m_maxForce){ m_impulse.Multiply((m_maxForce / _local14)); }; _local10 = (m_impulse.x - _local12); _local11 = (m_impulse.y - _local13); var _local15:Number = (_arg1.dt * _local10); var _local16:Number = (_arg1.dt * _local11); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local15)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local16)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local6 * _local16) - (_local7 * _local15)))); } } }//package Box2D.Dynamics.Joints
Section 57
//b2MouseJointDef (Box2D.Dynamics.Joints.b2MouseJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; public class b2MouseJointDef extends b2JointDef { public var timeStep:Number; public var target:b2Vec2; public var maxForce:Number; public var dampingRatio:Number; public var frequencyHz: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 58
//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_limitForce:Number; public var m_lowerTranslation:Number; public var m_localXAxis1:b2Vec2; public var m_refAngle:Number; public var m_torque:Number; public var m_motorForce:Number; public var m_enableLimit:Boolean; public var m_angularMass:Number; public var m_maxMotorForce:Number; public var m_localYAxis1:b2Vec2; public var m_force:Number; public var m_motorMass:Number; public var m_upperTranslation:Number; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_limitState:int; public var m_linearMass:Number; public var m_motorJacobian:b2Jacobian; public var m_limitPositionImpulse:Number; public var m_motorSpeed:Number; public var m_enableMotor:Boolean; 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); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_localXAxis1.SetV(_arg1.localAxis1); m_localYAxis1.x = -(m_localXAxis1.y); m_localYAxis1.y = m_localXAxis1.x; m_refAngle = _arg1.referenceAngle; m_linearJacobian.SetZero(); m_linearMass = 0; m_force = 0; m_angularMass = 0; m_torque = 0; m_motorJacobian.SetZero(); m_motorMass = 0; m_motorForce = 0; m_limitForce = 0; m_limitPositionImpulse = 0; m_lowerTranslation = _arg1.lowerTranslation; m_upperTranslation = _arg1.upperTranslation; m_maxMotorForce = _arg1.maxMotorForce; m_motorSpeed = _arg1.motorSpeed; m_enableLimit = _arg1.enableLimit; m_enableMotor = _arg1.enableMotor; } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local8:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; var _local4:Number = _local2.m_invMass; var _local5:Number = _local3.m_invMass; var _local6:Number = _local2.m_invI; var _local7:Number = _local3.m_invI; var _local9:Number = m_linearJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); var _local10:Number = ((-(_arg1.inv_dt) * m_linearMass) * _local9); m_force = (m_force + _local10); var _local11:Number = (_arg1.dt * _local10); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local11) * m_linearJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local11) * m_linearJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * m_linearJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local11) * m_linearJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local11) * m_linearJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * m_linearJacobian.angular2)); var _local12:Number = (_local3.m_angularVelocity - _local2.m_angularVelocity); var _local13:Number = ((-(_arg1.inv_dt) * m_angularMass) * _local12); m_torque = (m_torque + _local13); var _local14:Number = (_arg1.dt * _local13); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local6 * _local14)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local7 * _local14)); if (((m_enableMotor) && (!((m_limitState == e_equalLimits))))){ _local15 = (m_motorJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity) - m_motorSpeed); _local16 = ((-(_arg1.inv_dt) * m_motorMass) * _local15); _local17 = m_motorForce; m_motorForce = b2Math.b2Clamp((m_motorForce + _local16), -(m_maxMotorForce), m_maxMotorForce); _local16 = (m_motorForce - _local17); _local11 = (_arg1.dt * _local16); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local11) * m_motorJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local11) * m_motorJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * m_motorJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local11) * m_motorJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local11) * m_motorJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * m_motorJacobian.angular2)); }; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local18 = m_motorJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); _local19 = ((-(_arg1.inv_dt) * m_motorMass) * _local18); if (m_limitState == e_equalLimits){ m_limitForce = (m_limitForce + _local19); } else { if (m_limitState == e_atLowerLimit){ _local8 = m_limitForce; m_limitForce = b2Math.b2Max((m_limitForce + _local19), 0); _local19 = (m_limitForce - _local8); } else { if (m_limitState == e_atUpperLimit){ _local8 = m_limitForce; m_limitForce = b2Math.b2Min((m_limitForce + _local19), 0); _local19 = (m_limitForce - _local8); }; }; }; _local11 = (_arg1.dt * _local19); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local11) * m_motorJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local11) * m_motorJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * m_motorJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local11) * m_motorJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local11) * m_motorJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * m_motorJacobian.angular2)); }; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } public function GetUpperLimit():Number{ return (m_upperTranslation); } public function GetLowerLimit():Number{ return (m_lowerTranslation); } public function EnableMotor(_arg1:Boolean):void{ m_enableMotor = _arg1; } public function GetJointTranslation():Number{ var _local3:b2Mat22; var _local1:b2Body = m_body1; var _local2:b2Body = m_body2; var _local4:b2Vec2 = _local1.GetWorldPoint(m_localAnchor1); var _local5:b2Vec2 = _local2.GetWorldPoint(m_localAnchor2); var _local6:Number = (_local5.x - _local4.x); var _local7:Number = (_local5.y - _local4.y); var _local8:b2Vec2 = _local1.GetWorldVector(m_localXAxis1); var _local9:Number = ((_local8.x * _local6) + (_local8.y * _local7)); return (_local9); } public function GetMotorSpeed():Number{ return (m_motorSpeed); } override public function GetReactionForce():b2Vec2{ var _local1:b2Mat22 = m_body1.m_xf.R; var _local2:Number = (m_limitForce * ((_local1.col1.x * m_localXAxis1.x) + (_local1.col2.x * m_localXAxis1.y))); var _local3:Number = (m_limitForce * ((_local1.col1.y * m_localXAxis1.x) + (_local1.col2.y * m_localXAxis1.y))); var _local4:Number = (m_force * ((_local1.col1.x * m_localYAxis1.x) + (_local1.col2.x * m_localYAxis1.y))); var _local5:Number = (m_force * ((_local1.col1.y * m_localYAxis1.x) + (_local1.col2.y * m_localYAxis1.y))); return (new b2Vec2(((m_limitForce * _local2) + (m_force * _local4)), ((m_limitForce * _local3) + (m_force * _local5)))); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local9:b2Mat22; var _local10:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local3:b2Body = m_body1; var _local4:b2Body = m_body2; var _local5:Number = _local3.m_invMass; var _local6:Number = _local4.m_invMass; var _local7:Number = _local3.m_invI; var _local8:Number = _local4.m_invI; _local9 = _local3.m_xf.R; var _local11:Number = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); var _local12:Number = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local11) + (_local9.col2.x * _local12)); _local12 = ((_local9.col1.y * _local11) + (_local9.col2.y * _local12)); _local11 = _local10; _local9 = _local4.m_xf.R; var _local13:Number = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); var _local14:Number = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local13) + (_local9.col2.x * _local14)); _local14 = ((_local9.col1.y * _local13) + (_local9.col2.y * _local14)); _local13 = _local10; var _local15:Number = (_local3.m_sweep.c.x + _local11); var _local16:Number = (_local3.m_sweep.c.y + _local12); var _local17:Number = (_local4.m_sweep.c.x + _local13); var _local18:Number = (_local4.m_sweep.c.y + _local14); var _local19:Number = (_local17 - _local15); var _local20:Number = (_local18 - _local16); _local9 = _local3.m_xf.R; var _local21:Number = ((_local9.col1.x * m_localYAxis1.x) + (_local9.col2.x * m_localYAxis1.y)); var _local22:Number = ((_local9.col1.y * m_localYAxis1.x) + (_local9.col2.y * m_localYAxis1.y)); var _local23:Number = ((_local21 * _local19) + (_local22 * _local20)); _local23 = b2Math.b2Clamp(_local23, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); var _local24:Number = (-(m_linearMass) * _local23); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local5 * _local24) * m_linearJacobian.linear1.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local5 * _local24) * m_linearJacobian.linear1.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local7 * _local24) * m_linearJacobian.angular1)); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + ((_local6 * _local24) * m_linearJacobian.linear2.x)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + ((_local6 * _local24) * m_linearJacobian.linear2.y)); _local4.m_sweep.a = (_local4.m_sweep.a + ((_local8 * _local24) * m_linearJacobian.angular2)); var _local25:Number = b2Math.b2Abs(_local23); var _local26:Number = ((_local4.m_sweep.a - _local3.m_sweep.a) - m_refAngle); _local26 = b2Math.b2Clamp(_local26, -(b2Settings.b2_maxAngularCorrection), b2Settings.b2_maxAngularCorrection); var _local27:Number = (-(m_angularMass) * _local26); _local3.m_sweep.a = (_local3.m_sweep.a - (_local3.m_invI * _local27)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4.m_invI * _local27)); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); var _local28:Number = b2Math.b2Abs(_local26); if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local9 = _local3.m_xf.R; _local11 = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); _local12 = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local11) + (_local9.col2.x * _local12)); _local12 = ((_local9.col1.y * _local11) + (_local9.col2.y * _local12)); _local11 = _local10; _local9 = _local4.m_xf.R; _local13 = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); _local14 = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local13) + (_local9.col2.x * _local14)); _local14 = ((_local9.col1.y * _local13) + (_local9.col2.y * _local14)); _local13 = _local10; _local15 = (_local3.m_sweep.c.x + _local11); _local16 = (_local3.m_sweep.c.y + _local12); _local17 = (_local4.m_sweep.c.x + _local13); _local18 = (_local4.m_sweep.c.y + _local14); _local19 = (_local17 - _local15); _local20 = (_local18 - _local16); _local9 = _local3.m_xf.R; _local29 = ((_local9.col1.x * m_localXAxis1.x) + (_local9.col2.x * m_localXAxis1.y)); _local30 = ((_local9.col1.y * m_localXAxis1.x) + (_local9.col2.y * m_localXAxis1.y)); _local31 = ((_local29 * _local19) + (_local30 * _local20)); _local32 = 0; if (m_limitState == e_equalLimits){ _local1 = b2Math.b2Clamp(_local31, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); _local32 = (-(m_motorMass) * _local1); _local25 = b2Math.b2Max(_local25, b2Math.b2Abs(_local26)); } else { if (m_limitState == e_atLowerLimit){ _local1 = (_local31 - m_lowerTranslation); _local25 = b2Math.b2Max(_local25, -(_local1)); _local1 = b2Math.b2Clamp((_local1 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local32 = (-(m_motorMass) * _local1); _local2 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Max((m_limitPositionImpulse + _local32), 0); _local32 = (m_limitPositionImpulse - _local2); } else { if (m_limitState == e_atUpperLimit){ _local1 = (_local31 - m_upperTranslation); _local25 = b2Math.b2Max(_local25, _local1); _local1 = b2Math.b2Clamp((_local1 - b2Settings.b2_linearSlop), 0, b2Settings.b2_maxLinearCorrection); _local32 = (-(m_motorMass) * _local1); _local2 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Min((m_limitPositionImpulse + _local32), 0); _local32 = (m_limitPositionImpulse - _local2); }; }; }; _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local5 * _local32) * m_motorJacobian.linear1.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local5 * _local32) * m_motorJacobian.linear1.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local7 * _local32) * m_motorJacobian.angular1)); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + ((_local6 * _local32) * m_motorJacobian.linear2.x)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + ((_local6 * _local32) * m_motorJacobian.linear2.y)); _local4.m_sweep.a = (_local4.m_sweep.a + ((_local8 * _local32) * m_motorJacobian.angular2)); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); }; return ((((_local25 <= b2Settings.b2_linearSlop)) && ((_local28 <= b2Settings.b2_angularSlop)))); } public function SetMotorSpeed(_arg1:Number):void{ m_motorSpeed = _arg1; } public function GetJointSpeed():Number{ var _local3:b2Mat22; var _local1:b2Body = m_body1; var _local2:b2Body = m_body2; _local3 = _local1.m_xf.R; var _local4:Number = (m_localAnchor1.x - _local1.m_sweep.localCenter.x); var _local5:Number = (m_localAnchor1.y - _local1.m_sweep.localCenter.y); var _local6:Number = ((_local3.col1.x * _local4) + (_local3.col2.x * _local5)); _local5 = ((_local3.col1.y * _local4) + (_local3.col2.y * _local5)); _local4 = _local6; _local3 = _local2.m_xf.R; var _local7:Number = (m_localAnchor2.x - _local2.m_sweep.localCenter.x); var _local8:Number = (m_localAnchor2.y - _local2.m_sweep.localCenter.y); _local6 = ((_local3.col1.x * _local7) + (_local3.col2.x * _local8)); _local8 = ((_local3.col1.y * _local7) + (_local3.col2.y * _local8)); _local7 = _local6; var _local9:Number = (_local1.m_sweep.c.x + _local4); var _local10:Number = (_local1.m_sweep.c.y + _local5); var _local11:Number = (_local2.m_sweep.c.x + _local7); var _local12:Number = (_local2.m_sweep.c.y + _local8); var _local13:Number = (_local11 - _local9); var _local14:Number = (_local12 - _local10); var _local15:b2Vec2 = _local1.GetWorldVector(m_localXAxis1); var _local16:b2Vec2 = _local1.m_linearVelocity; var _local17:b2Vec2 = _local2.m_linearVelocity; var _local18:Number = _local1.m_angularVelocity; var _local19:Number = _local2.m_angularVelocity; var _local20:Number = (((_local13 * (-(_local18) * _local15.y)) + (_local14 * (_local18 * _local15.x))) + ((_local15.x * (((_local17.x + (-(_local19) * _local8)) - _local16.x) - (-(_local18) * _local5))) + (_local15.y * (((_local17.y + (_local19 * _local7)) - _local16.y) - (_local18 * _local4))))); return (_local20); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local4:b2Mat22; var _local5:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; _local4 = _local2.m_xf.R; var _local6:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); var _local7:Number = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local6) + (_local4.col2.x * _local7)); _local7 = ((_local4.col1.y * _local6) + (_local4.col2.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local5; var _local10:Number = _local2.m_invMass; var _local11:Number = _local3.m_invMass; var _local12:Number = _local2.m_invI; var _local13:Number = _local3.m_invI; _local4 = _local2.m_xf.R; var _local14:Number = ((_local4.col1.x * m_localYAxis1.x) + (_local4.col2.x * m_localYAxis1.y)); var _local15:Number = ((_local4.col1.y * m_localYAxis1.x) + (_local4.col2.y * m_localYAxis1.y)); var _local16:Number = ((_local3.m_sweep.c.x + _local8) - _local2.m_sweep.c.x); var _local17:Number = ((_local3.m_sweep.c.y + _local9) - _local2.m_sweep.c.y); m_linearJacobian.linear1.x = -(_local14); m_linearJacobian.linear1.y = -(_local15); m_linearJacobian.linear2.x = _local14; m_linearJacobian.linear2.y = _local15; m_linearJacobian.angular1 = -(((_local16 * _local15) - (_local17 * _local14))); m_linearJacobian.angular2 = ((_local8 * _local15) - (_local9 * _local14)); m_linearMass = (((_local10 + ((_local12 * m_linearJacobian.angular1) * m_linearJacobian.angular1)) + _local11) + ((_local13 * m_linearJacobian.angular2) * m_linearJacobian.angular2)); m_linearMass = (1 / m_linearMass); m_angularMass = (_local12 + _local13); if (m_angularMass > Number.MIN_VALUE){ m_angularMass = (1 / m_angularMass); }; if (((m_enableLimit) || (m_enableMotor))){ _local4 = _local2.m_xf.R; _local18 = ((_local4.col1.x * m_localXAxis1.x) + (_local4.col2.x * m_localXAxis1.y)); _local19 = ((_local4.col1.y * m_localXAxis1.x) + (_local4.col2.y * m_localXAxis1.y)); m_motorJacobian.linear1.x = -(_local18); m_motorJacobian.linear1.y = -(_local19); m_motorJacobian.linear2.x = _local18; m_motorJacobian.linear2.y = _local19; m_motorJacobian.angular1 = -(((_local16 * _local19) - (_local17 * _local18))); m_motorJacobian.angular2 = ((_local8 * _local19) - (_local9 * _local18)); m_motorMass = (((_local10 + ((_local12 * m_motorJacobian.angular1) * m_motorJacobian.angular1)) + _local11) + ((_local13 * m_motorJacobian.angular2) * m_motorJacobian.angular2)); m_motorMass = (1 / m_motorMass); if (m_enableLimit){ _local20 = (_local16 - _local6); _local21 = (_local17 - _local7); _local22 = ((_local18 * _local20) + (_local19 * _local21)); if (b2Math.b2Abs((m_upperTranslation - m_lowerTranslation)) < (2 * b2Settings.b2_linearSlop)){ m_limitState = e_equalLimits; } else { if (_local22 <= m_lowerTranslation){ if (m_limitState != e_atLowerLimit){ m_limitForce = 0; }; m_limitState = e_atLowerLimit; } else { if (_local22 >= m_upperTranslation){ if (m_limitState != e_atUpperLimit){ m_limitForce = 0; }; m_limitState = e_atUpperLimit; } else { m_limitState = e_inactiveLimit; m_limitForce = 0; }; }; }; }; }; if (m_enableMotor == false){ m_motorForce = 0; }; if (m_enableLimit == false){ m_limitForce = 0; }; if (_arg1.warmStarting){ _local23 = (_arg1.dt * ((m_force * m_linearJacobian.linear1.x) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear1.x))); _local24 = (_arg1.dt * ((m_force * m_linearJacobian.linear1.y) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear1.y))); _local25 = (_arg1.dt * ((m_force * m_linearJacobian.linear2.x) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear2.x))); _local26 = (_arg1.dt * ((m_force * m_linearJacobian.linear2.y) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear2.y))); _local27 = (_arg1.dt * (((m_force * m_linearJacobian.angular1) - m_torque) + ((m_motorForce + m_limitForce) * m_motorJacobian.angular1))); _local28 = (_arg1.dt * (((m_force * m_linearJacobian.angular2) + m_torque) + ((m_motorForce + m_limitForce) * m_motorJacobian.angular2))); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local10 * _local23)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local10 * _local24)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local12 * _local27)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local11 * _local25)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local11 * _local26)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local13 * _local28)); } else { m_force = 0; m_torque = 0; m_limitForce = 0; m_motorForce = 0; }; m_limitPositionImpulse = 0; } public function GetMotorForce():Number{ return (m_motorForce); } public function EnableLimit(_arg1:Boolean):void{ m_enableLimit = _arg1; } public function SetMaxMotorForce(_arg1:Number):void{ m_maxMotorForce = _arg1; } override public function GetReactionTorque():Number{ return (m_torque); } public function IsLimitEnabled():Boolean{ return (m_enableLimit); } public function IsMotorEnabled():Boolean{ return (m_enableMotor); } public function SetLimits(_arg1:Number, _arg2:Number):void{ m_lowerTranslation = _arg1; m_upperTranslation = _arg2; } } }//package Box2D.Dynamics.Joints
Section 59
//b2PrismaticJointDef (Box2D.Dynamics.Joints.b2PrismaticJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2PrismaticJointDef extends b2JointDef { public var motorSpeed:Number; public var localAxis1:b2Vec2; public var referenceAngle:Number; public var upperTranslation:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var enableLimit:Boolean; public var enableMotor:Boolean; public var maxMotorForce:Number; public var lowerTranslation:Number; public function b2PrismaticJointDef(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); localAxis1 = new b2Vec2(); super(); type = b2Joint.e_prismaticJoint; localAxis1.Set(1, 0); referenceAngle = 0; enableLimit = false; lowerTranslation = 0; upperTranslation = 0; enableMotor = false; maxMotorForce = 0; motorSpeed = 0; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2, _arg4:b2Vec2):void{ body1 = _arg1; body2 = _arg2; localAnchor1 = body1.GetLocalPoint(_arg3); localAnchor2 = body2.GetLocalPoint(_arg3); localAxis1 = body1.GetLocalVector(_arg4); referenceAngle = (body2.GetAngle() - body1.GetAngle()); } } }//package Box2D.Dynamics.Joints
Section 60
//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_limitState1:int; public var m_limitState2:int; public var m_ground:b2Body; public var m_maxLength2:Number; public var m_maxLength1:Number; public var m_limitPositionImpulse1:Number; public var m_limitPositionImpulse2:Number; public var m_force:Number; public var m_constant:Number; public var m_positionImpulse:Number; public var m_state:int; public var m_ratio:Number; public var m_groundAnchor1:b2Vec2; public var m_groundAnchor2:b2Vec2; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_limitMass1:Number; public var m_limitMass2:Number; public var m_pulleyMass:Number; public var m_u1:b2Vec2; public var m_limitForce1:Number; public var m_limitForce2:Number; public var m_u2:b2Vec2; public static const b2_minPulleyLength:Number = 2; public function b2PulleyJoint(_arg1:b2PulleyJointDef){ var _local2:b2Mat22; var _local3:Number; var _local4: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.groundAnchor1.x - m_ground.m_xf.position.x); m_groundAnchor1.y = (_arg1.groundAnchor1.y - m_ground.m_xf.position.y); m_groundAnchor2.x = (_arg1.groundAnchor2.x - m_ground.m_xf.position.x); m_groundAnchor2.y = (_arg1.groundAnchor2.y - m_ground.m_xf.position.y); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_ratio = _arg1.ratio; m_constant = (_arg1.length1 + (m_ratio * _arg1.length2)); m_maxLength1 = b2Math.b2Min(_arg1.maxLength1, (m_constant - (m_ratio * b2_minPulleyLength))); m_maxLength2 = b2Math.b2Min(_arg1.maxLength2, ((m_constant - b2_minPulleyLength) / m_ratio)); m_force = 0; m_limitForce1 = 0; m_limitForce2 = 0; } public function GetGroundAnchor2():b2Vec2{ var _local1:b2Vec2 = m_ground.m_xf.position.Copy(); _local1.Add(m_groundAnchor2); return (_local1); } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = m_u2.Copy(); _local1.Multiply(m_force); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local3:b2Mat22; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local1:b2Body = m_body1; var _local2:b2Body = m_body2; var _local4:Number = (m_ground.m_xf.position.x + m_groundAnchor1.x); var _local5:Number = (m_ground.m_xf.position.y + m_groundAnchor1.y); var _local6:Number = (m_ground.m_xf.position.x + m_groundAnchor2.x); var _local7:Number = (m_ground.m_xf.position.y + m_groundAnchor2.y); var _local23:Number = 0; if (m_state == e_atUpperLimit){ _local3 = _local1.m_xf.R; _local8 = (m_localAnchor1.x - _local1.m_sweep.localCenter.x); _local9 = (m_localAnchor1.y - _local1.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local8) + (_local3.col2.x * _local9)); _local9 = ((_local3.col1.y * _local8) + (_local3.col2.y * _local9)); _local8 = _local22; _local3 = _local2.m_xf.R; _local10 = (m_localAnchor2.x - _local2.m_sweep.localCenter.x); _local11 = (m_localAnchor2.y - _local2.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local10) + (_local3.col2.x * _local11)); _local11 = ((_local3.col1.y * _local10) + (_local3.col2.y * _local11)); _local10 = _local22; _local12 = (_local1.m_sweep.c.x + _local8); _local13 = (_local1.m_sweep.c.y + _local9); _local14 = (_local2.m_sweep.c.x + _local10); _local15 = (_local2.m_sweep.c.y + _local11); 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)); _local23 = b2Math.b2Max(_local23, -(_local18)); _local18 = b2Math.b2Clamp((_local18 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local19 = (-(m_pulleyMass) * _local18); _local20 = m_positionImpulse; m_positionImpulse = b2Math.b2Max(0, (m_positionImpulse + _local19)); _local19 = (m_positionImpulse - _local20); _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_sweep.c.x = (_local1.m_sweep.c.x + (_local1.m_invMass * _local12)); _local1.m_sweep.c.y = (_local1.m_sweep.c.y + (_local1.m_invMass * _local13)); _local1.m_sweep.a = (_local1.m_sweep.a + (_local1.m_invI * ((_local8 * _local13) - (_local9 * _local12)))); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + (_local2.m_invMass * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + (_local2.m_invMass * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a + (_local2.m_invI * ((_local10 * _local15) - (_local11 * _local14)))); _local1.SynchronizeTransform(); _local2.SynchronizeTransform(); }; if (m_limitState1 == e_atUpperLimit){ _local3 = _local1.m_xf.R; _local8 = (m_localAnchor1.x - _local1.m_sweep.localCenter.x); _local9 = (m_localAnchor1.y - _local1.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local8) + (_local3.col2.x * _local9)); _local9 = ((_local3.col1.y * _local8) + (_local3.col2.y * _local9)); _local8 = _local22; _local12 = (_local1.m_sweep.c.x + _local8); _local13 = (_local1.m_sweep.c.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); _local23 = b2Math.b2Max(_local23, -(_local18)); _local18 = b2Math.b2Clamp((_local18 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local19 = (-(m_limitMass1) * _local18); _local21 = m_limitPositionImpulse1; m_limitPositionImpulse1 = b2Math.b2Max(0, (m_limitPositionImpulse1 + _local19)); _local19 = (m_limitPositionImpulse1 - _local21); _local12 = (-(_local19) * m_u1.x); _local13 = (-(_local19) * m_u1.y); _local1.m_sweep.c.x = (_local1.m_sweep.c.x + (_local1.m_invMass * _local12)); _local1.m_sweep.c.y = (_local1.m_sweep.c.y + (_local1.m_invMass * _local13)); _local1.m_sweep.a = (_local1.m_sweep.a + (_local1.m_invI * ((_local8 * _local13) - (_local9 * _local12)))); _local1.SynchronizeTransform(); }; if (m_limitState2 == e_atUpperLimit){ _local3 = _local2.m_xf.R; _local10 = (m_localAnchor2.x - _local2.m_sweep.localCenter.x); _local11 = (m_localAnchor2.y - _local2.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local10) + (_local3.col2.x * _local11)); _local11 = ((_local3.col1.y * _local10) + (_local3.col2.y * _local11)); _local10 = _local22; _local14 = (_local2.m_sweep.c.x + _local10); _local15 = (_local2.m_sweep.c.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); _local23 = b2Math.b2Max(_local23, -(_local18)); _local18 = b2Math.b2Clamp((_local18 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local19 = (-(m_limitMass2) * _local18); _local21 = m_limitPositionImpulse2; m_limitPositionImpulse2 = b2Math.b2Max(0, (m_limitPositionImpulse2 + _local19)); _local19 = (m_limitPositionImpulse2 - _local21); _local14 = (-(_local19) * m_u2.x); _local15 = (-(_local19) * m_u2.y); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + (_local2.m_invMass * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + (_local2.m_invMass * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a + (_local2.m_invI * ((_local10 * _local15) - (_local11 * _local14)))); _local2.SynchronizeTransform(); }; return ((_local23 < b2Settings.b2_linearSlop)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local4:b2Mat22; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; _local4 = _local2.m_xf.R; var _local5:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); var _local6:Number = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); var _local7:Number = ((_local4.col1.x * _local5) + (_local4.col2.x * _local6)); _local6 = ((_local4.col1.y * _local5) + (_local4.col2.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local7 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local7; var _local10:Number = (_local2.m_sweep.c.x + _local5); var _local11:Number = (_local2.m_sweep.c.y + _local6); var _local12:Number = (_local3.m_sweep.c.x + _local8); var _local13:Number = (_local3.m_sweep.c.y + _local9); var _local14:Number = (m_ground.m_xf.position.x + m_groundAnchor1.x); var _local15:Number = (m_ground.m_xf.position.y + m_groundAnchor1.y); var _local16:Number = (m_ground.m_xf.position.x + m_groundAnchor2.x); var _local17:Number = (m_ground.m_xf.position.y + m_groundAnchor2.y); m_u1.Set((_local10 - _local14), (_local11 - _local15)); m_u2.Set((_local12 - _local16), (_local13 - _local17)); var _local18:Number = m_u1.Length(); var _local19:Number = m_u2.Length(); if (_local18 > b2Settings.b2_linearSlop){ m_u1.Multiply((1 / _local18)); } else { m_u1.SetZero(); }; if (_local19 > b2Settings.b2_linearSlop){ m_u2.Multiply((1 / _local19)); } else { m_u2.SetZero(); }; var _local20:Number = ((m_constant - _local18) - (m_ratio * _local19)); if (_local20 > 0){ m_state = e_inactiveLimit; m_force = 0; } else { m_state = e_atUpperLimit; m_positionImpulse = 0; }; if (_local18 < m_maxLength1){ m_limitState1 = e_inactiveLimit; m_limitForce1 = 0; } else { m_limitState1 = e_atUpperLimit; m_limitPositionImpulse1 = 0; }; if (_local19 < m_maxLength2){ m_limitState2 = e_inactiveLimit; m_limitForce2 = 0; } else { m_limitState2 = e_atUpperLimit; m_limitPositionImpulse2 = 0; }; var _local21:Number = ((_local5 * m_u1.y) - (_local6 * m_u1.x)); var _local22:Number = ((_local8 * m_u2.y) - (_local9 * m_u2.x)); m_limitMass1 = (_local2.m_invMass + ((_local2.m_invI * _local21) * _local21)); m_limitMass2 = (_local3.m_invMass + ((_local3.m_invI * _local22) * _local22)); 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); if (_arg1.warmStarting){ _local23 = ((_arg1.dt * (-(m_force) - m_limitForce1)) * m_u1.x); _local24 = ((_arg1.dt * (-(m_force) - m_limitForce1)) * m_u1.y); _local25 = ((_arg1.dt * ((-(m_ratio) * m_force) - m_limitForce2)) * m_u2.x); _local26 = ((_arg1.dt * ((-(m_ratio) * m_force) - m_limitForce2)) * m_u2.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local23)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local24)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local5 * _local24) - (_local6 * _local23)))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local25)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local26)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local8 * _local26) - (_local9 * _local25)))); } else { m_force = 0; m_limitForce1 = 0; m_limitForce2 = 0; }; } override public function GetReactionTorque():Number{ return (0); } public function GetRatio():Number{ return (m_ratio); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local4: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 _local2:b2Body = m_body1; var _local3:b2Body = m_body2; _local4 = _local2.m_xf.R; var _local5:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); var _local6:Number = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); var _local7:Number = ((_local4.col1.x * _local5) + (_local4.col2.x * _local6)); _local6 = ((_local4.col1.y * _local5) + (_local4.col2.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local7 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local7; if (m_state == e_atUpperLimit){ _local10 = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local6)); _local11 = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local5)); _local12 = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local9)); _local13 = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local8)); _local18 = (-(((m_u1.x * _local10) + (m_u1.y * _local11))) - (m_ratio * ((m_u2.x * _local12) + (m_u2.y * _local13)))); _local19 = ((-(_arg1.inv_dt) * m_pulleyMass) * _local18); _local20 = m_force; m_force = b2Math.b2Max(0, (m_force + _local19)); _local19 = (m_force - _local20); _local14 = ((-(_arg1.dt) * _local19) * m_u1.x); _local15 = ((-(_arg1.dt) * _local19) * m_u1.y); _local16 = (((-(_arg1.dt) * m_ratio) * _local19) * m_u2.x); _local17 = (((-(_arg1.dt) * m_ratio) * _local19) * m_u2.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local14)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local15)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local5 * _local15) - (_local6 * _local14)))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local16)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local8 * _local17) - (_local9 * _local16)))); }; if (m_limitState1 == e_atUpperLimit){ _local10 = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local6)); _local11 = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local5)); _local18 = -(((m_u1.x * _local10) + (m_u1.y * _local11))); _local19 = ((-(_arg1.inv_dt) * m_limitMass1) * _local18); _local20 = m_limitForce1; m_limitForce1 = b2Math.b2Max(0, (m_limitForce1 + _local19)); _local19 = (m_limitForce1 - _local20); _local14 = ((-(_arg1.dt) * _local19) * m_u1.x); _local15 = ((-(_arg1.dt) * _local19) * m_u1.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local14)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local15)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local5 * _local15) - (_local6 * _local14)))); }; if (m_limitState2 == e_atUpperLimit){ _local12 = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local9)); _local13 = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local8)); _local18 = -(((m_u2.x * _local12) + (m_u2.y * _local13))); _local19 = ((-(_arg1.inv_dt) * m_limitMass2) * _local18); _local20 = m_limitForce2; m_limitForce2 = b2Math.b2Max(0, (m_limitForce2 + _local19)); _local19 = (m_limitForce2 - _local20); _local16 = ((-(_arg1.dt) * _local19) * m_u2.x); _local17 = ((-(_arg1.dt) * _local19) * m_u2.y); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local16)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local8 * _local17) - (_local9 * _local16)))); }; } public function GetLength1():Number{ var _local1:b2Vec2 = m_body1.GetWorldPoint(m_localAnchor1); var _local2:Number = (m_ground.m_xf.position.x + m_groundAnchor1.x); var _local3:Number = (m_ground.m_xf.position.y + m_groundAnchor1.y); var _local4:Number = (_local1.x - _local2); var _local5:Number = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } public function GetLength2():Number{ var _local1:b2Vec2 = m_body2.GetWorldPoint(m_localAnchor2); var _local2:Number = (m_ground.m_xf.position.x + m_groundAnchor2.x); var _local3:Number = (m_ground.m_xf.position.y + m_groundAnchor2.y); var _local4:Number = (_local1.x - _local2); var _local5:Number = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } public function GetGroundAnchor1():b2Vec2{ var _local1:b2Vec2 = m_ground.m_xf.position.Copy(); _local1.Add(m_groundAnchor1); return (_local1); } } }//package Box2D.Dynamics.Joints
Section 61
//b2PulleyJointDef (Box2D.Dynamics.Joints.b2PulleyJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2PulleyJointDef extends b2JointDef { public var maxLength1:Number; public var maxLength2:Number; public var length1:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var groundAnchor1:b2Vec2; public var groundAnchor2:b2Vec2; public var ratio:Number; public var length2:Number; public function b2PulleyJointDef(){ groundAnchor1 = new b2Vec2(); groundAnchor2 = new b2Vec2(); localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); super(); type = b2Joint.e_pulleyJoint; groundAnchor1.Set(-1, 1); groundAnchor2.Set(1, 1); localAnchor1.Set(-1, 0); localAnchor2.Set(1, 0); length1 = 0; maxLength1 = 0; length2 = 0; maxLength2 = 0; ratio = 1; collideConnected = true; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2, _arg4:b2Vec2, _arg5:b2Vec2, _arg6:b2Vec2, _arg7:Number):void{ body1 = _arg1; body2 = _arg2; groundAnchor1.SetV(_arg3); groundAnchor2.SetV(_arg4); localAnchor1 = body1.GetLocalPoint(_arg5); localAnchor2 = body2.GetLocalPoint(_arg6); var _local8:Number = (_arg5.x - _arg3.x); var _local9:Number = (_arg5.y - _arg3.y); length1 = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); var _local10:Number = (_arg6.x - _arg4.x); var _local11:Number = (_arg6.y - _arg4.y); length2 = Math.sqrt(((_local10 * _local10) + (_local11 * _local11))); ratio = _arg7; var _local12:Number = (length1 + (ratio * length2)); maxLength1 = (_local12 - (ratio * b2PulleyJoint.b2_minPulleyLength)); maxLength2 = ((_local12 - b2PulleyJoint.b2_minPulleyLength) / ratio); } } }//package Box2D.Dynamics.Joints
Section 62
//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_limitForce:Number; public var m_pivotMass:b2Mat22; public var m_motorForce:Number; public var m_enableLimit:Boolean; public var m_limitState:int; 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_pivotForce:b2Vec2; public var m_enableMotor:Boolean; public var m_referenceAngle:Number; public var m_limitPositionImpulse:Number; public var m_motorSpeed:Number; public var m_upperAngle:Number; public var m_lowerAngle:Number; public var m_maxMotorTorque:Number; public static var tImpulse:b2Vec2 = new b2Vec2(); public function b2RevoluteJoint(_arg1:b2RevoluteJointDef){ K = new b2Mat22(); K1 = new b2Mat22(); K2 = new b2Mat22(); K3 = new b2Mat22(); m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_pivotForce = new b2Vec2(); m_pivotMass = new b2Mat22(); super(_arg1); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_referenceAngle = _arg1.referenceAngle; m_pivotForce.Set(0, 0); m_motorForce = 0; m_limitForce = 0; m_limitPositionImpulse = 0; m_lowerAngle = _arg1.lowerAngle; m_upperAngle = _arg1.upperAngle; m_maxMotorTorque = _arg1.maxMotorTorque; m_motorSpeed = _arg1.motorSpeed; m_enableLimit = _arg1.enableLimit; m_enableMotor = _arg1.enableMotor; } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local4:b2Mat22; var _local5:Number; var _local10:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; _local4 = _local2.m_xf.R; var _local6:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); var _local7:Number = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local6) + (_local4.col2.x * _local7)); _local7 = ((_local4.col1.y * _local6) + (_local4.col2.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local5; var _local11:Number = (((_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local9)) - _local2.m_linearVelocity.x) - (-(_local2.m_angularVelocity) * _local7)); var _local12:Number = (((_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local8)) - _local2.m_linearVelocity.y) - (_local2.m_angularVelocity * _local6)); var _local13:Number = (-(_arg1.inv_dt) * ((m_pivotMass.col1.x * _local11) + (m_pivotMass.col2.x * _local12))); var _local14:Number = (-(_arg1.inv_dt) * ((m_pivotMass.col1.y * _local11) + (m_pivotMass.col2.y * _local12))); m_pivotForce.x = (m_pivotForce.x + _local13); m_pivotForce.y = (m_pivotForce.y + _local14); var _local15:Number = (_arg1.dt * _local13); _local16 = (_arg1.dt * _local14); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x - (_local2.m_invMass * _local15)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y - (_local2.m_invMass * _local16)); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local2.m_invI * ((_local6 * _local16) - (_local7 * _local15)))); _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 * ((_local8 * _local16) - (_local9 * _local15)))); if (((m_enableMotor) && (!((m_limitState == e_equalLimits))))){ _local17 = ((_local3.m_angularVelocity - _local2.m_angularVelocity) - m_motorSpeed); _local18 = ((-(_arg1.inv_dt) * m_motorMass) * _local17); _local19 = m_motorForce; m_motorForce = b2Math.b2Clamp((m_motorForce + _local18), -(m_maxMotorTorque), m_maxMotorTorque); _local18 = (m_motorForce - _local19); _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_local2.m_invI * _arg1.dt) * _local18)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3.m_invI * _arg1.dt) * _local18)); }; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local20 = (_local3.m_angularVelocity - _local2.m_angularVelocity); _local21 = ((-(_arg1.inv_dt) * m_motorMass) * _local20); if (m_limitState == e_equalLimits){ m_limitForce = (m_limitForce + _local21); } else { if (m_limitState == e_atLowerLimit){ _local10 = m_limitForce; m_limitForce = b2Math.b2Max((m_limitForce + _local21), 0); _local21 = (m_limitForce - _local10); } else { if (m_limitState == e_atUpperLimit){ _local10 = m_limitForce; m_limitForce = b2Math.b2Min((m_limitForce + _local21), 0); _local21 = (m_limitForce - _local10); }; }; }; _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_local2.m_invI * _arg1.dt) * _local21)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3.m_invI * _arg1.dt) * _local21)); }; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } public function GetUpperLimit():Number{ return (m_upperAngle); } public function GetLowerLimit():Number{ return (m_lowerAngle); } public function EnableMotor(_arg1:Boolean):void{ m_enableMotor = _arg1; } public function GetMotorSpeed():Number{ return (m_motorSpeed); } override public function GetReactionForce():b2Vec2{ return (m_pivotForce); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local6:b2Mat22; var _local25:Number; var _local26:Number; var _local3:b2Body = m_body1; var _local4:b2Body = m_body2; var _local5:Number = 0; _local6 = _local3.m_xf.R; var _local7:Number = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); var _local8:Number = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); var _local9:Number = ((_local6.col1.x * _local7) + (_local6.col2.x * _local8)); _local8 = ((_local6.col1.y * _local7) + (_local6.col2.y * _local8)); _local7 = _local9; _local6 = _local4.m_xf.R; var _local10:Number = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); var _local11:Number = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local9 = ((_local6.col1.x * _local10) + (_local6.col2.x * _local11)); _local11 = ((_local6.col1.y * _local10) + (_local6.col2.y * _local11)); _local10 = _local9; var _local12:Number = (_local3.m_sweep.c.x + _local7); var _local13:Number = (_local3.m_sweep.c.y + _local8); var _local14:Number = (_local4.m_sweep.c.x + _local10); var _local15:Number = (_local4.m_sweep.c.y + _local11); var _local16:Number = (_local14 - _local12); var _local17:Number = (_local15 - _local13); _local5 = Math.sqrt(((_local16 * _local16) + (_local17 * _local17))); var _local18:Number = _local3.m_invMass; var _local19:Number = _local4.m_invMass; var _local20:Number = _local3.m_invI; var _local21:Number = _local4.m_invI; K1.col1.x = (_local18 + _local19); K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = (_local18 + _local19); K2.col1.x = ((_local20 * _local8) * _local8); K2.col2.x = ((-(_local20) * _local7) * _local8); K2.col1.y = ((-(_local20) * _local7) * _local8); K2.col2.y = ((_local20 * _local7) * _local7); K3.col1.x = ((_local21 * _local11) * _local11); K3.col2.x = ((-(_local21) * _local10) * _local11); K3.col1.y = ((-(_local21) * _local10) * _local11); K3.col2.y = ((_local21 * _local10) * _local10); K.SetM(K1); K.AddM(K2); K.AddM(K3); K.Solve(tImpulse, -(_local16), -(_local17)); var _local22:Number = tImpulse.x; var _local23:Number = tImpulse.y; _local3.m_sweep.c.x = (_local3.m_sweep.c.x - (_local3.m_invMass * _local22)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y - (_local3.m_invMass * _local23)); _local3.m_sweep.a = (_local3.m_sweep.a - (_local3.m_invI * ((_local7 * _local23) - (_local8 * _local22)))); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + (_local4.m_invMass * _local22)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + (_local4.m_invMass * _local23)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4.m_invI * ((_local10 * _local23) - (_local11 * _local22)))); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); var _local24:Number = 0; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local25 = ((_local4.m_sweep.a - _local3.m_sweep.a) - m_referenceAngle); _local26 = 0; if (m_limitState == e_equalLimits){ _local2 = b2Math.b2Clamp(_local25, -(b2Settings.b2_maxAngularCorrection), b2Settings.b2_maxAngularCorrection); _local26 = (-(m_motorMass) * _local2); _local24 = b2Math.b2Abs(_local2); } else { if (m_limitState == e_atLowerLimit){ _local2 = (_local25 - m_lowerAngle); _local24 = b2Math.b2Max(0, -(_local2)); _local2 = b2Math.b2Clamp((_local2 + b2Settings.b2_angularSlop), -(b2Settings.b2_maxAngularCorrection), 0); _local26 = (-(m_motorMass) * _local2); _local1 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Max((m_limitPositionImpulse + _local26), 0); _local26 = (m_limitPositionImpulse - _local1); } else { if (m_limitState == e_atUpperLimit){ _local2 = (_local25 - m_upperAngle); _local24 = b2Math.b2Max(0, _local2); _local2 = b2Math.b2Clamp((_local2 - b2Settings.b2_angularSlop), 0, b2Settings.b2_maxAngularCorrection); _local26 = (-(m_motorMass) * _local2); _local1 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Min((m_limitPositionImpulse + _local26), 0); _local26 = (m_limitPositionImpulse - _local1); }; }; }; _local3.m_sweep.a = (_local3.m_sweep.a - (_local3.m_invI * _local26)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4.m_invI * _local26)); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); }; return ((((_local5 <= b2Settings.b2_linearSlop)) && ((_local24 <= b2Settings.b2_angularSlop)))); } public function SetMotorSpeed(_arg1:Number):void{ m_motorSpeed = _arg1; } public function GetJointSpeed():Number{ return ((m_body2.m_angularVelocity - m_body1.m_angularVelocity)); } public function SetMaxMotorTorque(_arg1:Number):void{ m_maxMotorTorque = _arg1; } public function GetJointAngle():Number{ return (((m_body2.m_sweep.a - m_body1.m_sweep.a) - m_referenceAngle)); } public function GetMotorTorque():Number{ return (m_motorForce); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local7:Number; var _local14:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; var _local6:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); _local7 = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local6) + (_local4.col2.x * _local7)); _local7 = ((_local4.col1.y * _local6) + (_local4.col2.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local5; var _local10:Number = _local2.m_invMass; var _local11:Number = _local3.m_invMass; var _local12:Number = _local2.m_invI; var _local13:Number = _local3.m_invI; K1.col1.x = (_local10 + _local11); K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = (_local10 + _local11); K2.col1.x = ((_local12 * _local7) * _local7); K2.col2.x = ((-(_local12) * _local6) * _local7); K2.col1.y = ((-(_local12) * _local6) * _local7); K2.col2.y = ((_local12 * _local6) * _local6); K3.col1.x = ((_local13 * _local9) * _local9); K3.col2.x = ((-(_local13) * _local8) * _local9); K3.col1.y = ((-(_local13) * _local8) * _local9); K3.col2.y = ((_local13 * _local8) * _local8); K.SetM(K1); K.AddM(K2); K.AddM(K3); K.Invert(m_pivotMass); m_motorMass = (1 / (_local12 + _local13)); if (m_enableMotor == false){ m_motorForce = 0; }; if (m_enableLimit){ _local14 = ((_local3.m_sweep.a - _local2.m_sweep.a) - m_referenceAngle); if (b2Math.b2Abs((m_upperAngle - m_lowerAngle)) < (2 * b2Settings.b2_angularSlop)){ m_limitState = e_equalLimits; } else { if (_local14 <= m_lowerAngle){ if (m_limitState != e_atLowerLimit){ m_limitForce = 0; }; m_limitState = e_atLowerLimit; } else { if (_local14 >= m_upperAngle){ if (m_limitState != e_atUpperLimit){ m_limitForce = 0; }; m_limitState = e_atUpperLimit; } else { m_limitState = e_inactiveLimit; m_limitForce = 0; }; }; }; } else { m_limitForce = 0; }; if (_arg1.warmStarting){ _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x - ((_arg1.dt * _local10) * m_pivotForce.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y - ((_arg1.dt * _local10) * m_pivotForce.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_arg1.dt * _local12) * ((((_local6 * m_pivotForce.y) - (_local7 * m_pivotForce.x)) + m_motorForce) + m_limitForce))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_arg1.dt * _local11) * m_pivotForce.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_arg1.dt * _local11) * m_pivotForce.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_arg1.dt * _local13) * ((((_local8 * m_pivotForce.y) - (_local9 * m_pivotForce.x)) + m_motorForce) + m_limitForce))); } else { m_pivotForce.SetZero(); m_motorForce = 0; m_limitForce = 0; }; m_limitPositionImpulse = 0; } public function EnableLimit(_arg1:Boolean):void{ m_enableLimit = _arg1; } override public function GetReactionTorque():Number{ return (m_limitForce); } public function IsLimitEnabled():Boolean{ return (m_enableLimit); } public function IsMotorEnabled():Boolean{ return (m_enableMotor); } public function SetLimits(_arg1:Number, _arg2:Number):void{ m_lowerAngle = _arg1; m_upperAngle = _arg2; } } }//package Box2D.Dynamics.Joints
Section 63
//b2RevoluteJointDef (Box2D.Dynamics.Joints.b2RevoluteJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2RevoluteJointDef extends b2JointDef { public var upperAngle:Number; public var enableMotor:Boolean; public var referenceAngle:Number; public var motorSpeed:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var enableLimit:Boolean; public var lowerAngle:Number; public var maxMotorTorque:Number; public function b2RevoluteJointDef(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); super(); type = b2Joint.e_revoluteJoint; localAnchor1.Set(0, 0); localAnchor2.Set(0, 0); referenceAngle = 0; lowerAngle = 0; upperAngle = 0; maxMotorTorque = 0; motorSpeed = 0; enableLimit = false; enableMotor = false; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2):void{ body1 = _arg1; body2 = _arg2; localAnchor1 = body1.GetLocalPoint(_arg3); localAnchor2 = body2.GetLocalPoint(_arg3); referenceAngle = (body2.GetAngle() - body1.GetAngle()); } } }//package Box2D.Dynamics.Joints
Section 64
//b2Body (Box2D.Dynamics.b2Body) package Box2D.Dynamics { import Box2D.Dynamics.Contacts.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; public class b2Body { public var m_next:b2Body; public var m_contactList:b2ContactEdge; public var m_angularVelocity:Number; public var m_xf:b2XForm; public var m_shapeList:b2Shape; public var m_force:b2Vec2; public var m_sweep:b2Sweep; public var m_mass:Number; public var m_torque:Number; public var m_userData; public var m_flags:uint; public var m_world:b2World; public var m_prev:b2Body; public var m_invMass:Number; public var m_type:int; public var m_linearDamping:Number; public var m_angularDamping:Number; public var m_invI:Number; public var m_shapeCount:int; public var m_linearVelocity:b2Vec2; public var m_sleepTime:Number; public var m_jointList:b2JointEdge; public var m_body_def:b2BodyDef; public var m_I:Number; public static var e_fixedRotationFlag:uint = 64; public static var e_frozenFlag:uint = 2; public static var e_maxTypes:uint = 3; public static var e_sleepFlag:uint = 8; private static var s_massData:b2MassData = new b2MassData(); public static var e_bulletFlag:uint = 32; public static var e_staticType:uint = 1; public static var e_islandFlag:uint = 4; public static var e_allowSleepFlag:uint = 16; private static var s_xf1:b2XForm = new b2XForm(); public static var e_dynamicType:uint = 2; public function b2Body(_arg1:b2BodyDef, _arg2:b2World){ m_xf = new b2XForm(); m_sweep = new b2Sweep(); m_linearVelocity = new b2Vec2(); m_force = new b2Vec2(); super(); m_body_def = _arg1; m_flags = 0; if (_arg1.isBullet){ m_flags = (m_flags | e_bulletFlag); }; if (_arg1.fixedRotation){ m_flags = (m_flags | e_fixedRotationFlag); }; if (_arg1.allowSleep){ m_flags = (m_flags | e_allowSleepFlag); }; if (_arg1.isSleeping){ m_flags = (m_flags | e_sleepFlag); }; m_world = _arg2; m_xf.position.SetV(_arg1.position); m_xf.R.Set(_arg1.angle); m_sweep.localCenter.SetV(_arg1.massData.center); m_sweep.t0 = 1; m_sweep.a0 = (m_sweep.a = _arg1.angle); var _local3:b2Mat22 = m_xf.R; var _local4:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); m_sweep.c.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); m_jointList = null; m_contactList = null; m_prev = null; m_next = null; m_linearDamping = _arg1.linearDamping; m_angularDamping = _arg1.angularDamping; m_force.Set(0, 0); m_torque = 0; m_linearVelocity.SetZero(); m_angularVelocity = 0; m_sleepTime = 0; m_invMass = 0; m_I = 0; m_invI = 0; m_mass = _arg1.massData.mass; if (m_mass > 0){ m_invMass = (1 / m_mass); }; if ((m_flags & b2Body.e_fixedRotationFlag) == 0){ m_I = _arg1.massData.I; }; if (m_I > 0){ m_invI = (1 / m_I); }; if ((((m_invMass == 0)) && ((m_invI == 0)))){ m_type = e_staticType; } else { m_type = e_dynamicType; }; m_userData = _arg1.userData; m_shapeList = null; m_shapeCount = 0; } public function GetLinearVelocityFromWorldPoint(_arg1:b2Vec2):b2Vec2{ return (new b2Vec2((m_linearVelocity.x + (m_angularVelocity * (_arg1.y - m_sweep.c.y))), (m_linearVelocity.x - (m_angularVelocity * (_arg1.x - m_sweep.c.x))))); } public function GetWorldPoint(_arg1:b2Vec2):b2Vec2{ var _local2:b2Mat22 = m_xf.R; var _local3:b2Vec2 = new b2Vec2(((_local2.col1.x * _arg1.x) + (_local2.col2.x * _arg1.y)), ((_local2.col1.y * _arg1.x) + (_local2.col2.y * _arg1.y))); _local3.x = (_local3.x + m_xf.position.x); _local3.y = (_local3.y + m_xf.position.y); return (_local3); } public function SetLinearVelocity(_arg1:b2Vec2):void{ m_linearVelocity.SetV(_arg1); } public function WakeUp():void{ m_flags = (m_flags & ~(e_sleepFlag)); m_sleepTime = 0; } public function ApplyTorque(_arg1:Number):void{ if (IsSleeping()){ WakeUp(); }; m_torque = (m_torque + _arg1); } public function GetLocalCenter():b2Vec2{ return (m_sweep.localCenter); } public function GetLinearVelocity():b2Vec2{ return (m_linearVelocity); } public function IsFrozen():Boolean{ return (((m_flags & e_frozenFlag) == e_frozenFlag)); } public function IsDynamic():Boolean{ return ((m_type == e_dynamicType)); } public function SynchronizeTransform():void{ m_xf.R.Set(m_sweep.a); var _local1:b2Mat22 = m_xf.R; var _local2:b2Vec2 = m_sweep.localCenter; m_xf.position.x = (m_sweep.c.x - ((_local1.col1.x * _local2.x) + (_local1.col2.x * _local2.y))); m_xf.position.y = (m_sweep.c.y - ((_local1.col1.y * _local2.x) + (_local1.col2.y * _local2.y))); } public function GetInertia():Number{ return (m_I); } public function IsSleeping():Boolean{ return (((m_flags & e_sleepFlag) == e_sleepFlag)); } public function SetMassFromShapes():void{ var _local1:b2Shape; if (m_world.m_lock == true){ return; }; m_mass = 0; m_invMass = 0; m_I = 0; m_invI = 0; var _local2:Number = 0; var _local3:Number = 0; var _local4:b2MassData = s_massData; _local1 = m_shapeList; while (_local1) { _local1.ComputeMass(_local4); m_mass = (m_mass + _local4.mass); _local2 = (_local2 + (_local4.mass * _local4.center.x)); _local3 = (_local3 + (_local4.mass * _local4.center.y)); m_I = (m_I + _local4.I); _local1 = _local1.m_next; }; if (m_mass > 0){ m_invMass = (1 / m_mass); _local2 = (_local2 * m_invMass); _local3 = (_local3 * m_invMass); }; if ((((m_I > 0)) && (((m_flags & e_fixedRotationFlag) == 0)))){ m_I = (m_I - (m_mass * ((_local2 * _local2) + (_local3 * _local3)))); m_invI = (1 / m_I); } else { m_I = 0; m_invI = 0; }; m_sweep.localCenter.Set(_local2, _local3); var _local5:b2Mat22 = m_xf.R; var _local6:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local5.col1.x * _local6.x) + (_local5.col2.x * _local6.y)); m_sweep.c.y = ((_local5.col1.y * _local6.x) + (_local5.col2.y * _local6.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); _local1 = m_shapeList; while (_local1) { _local1.UpdateSweepRadius(m_sweep.localCenter); _local1 = _local1.m_next; }; var _local7:int = m_type; if ((((m_invMass == 0)) && ((m_invI == 0)))){ m_type = e_staticType; } else { m_type = e_dynamicType; }; if (_local7 != m_type){ _local1 = m_shapeList; while (_local1) { _local1.RefilterProxy(m_world.m_broadPhase, m_xf); _local1 = _local1.m_next; }; }; } public function PutToSleep():void{ m_flags = (m_flags | e_sleepFlag); m_sleepTime = 0; m_linearVelocity.SetZero(); m_angularVelocity = 0; m_force.SetZero(); m_torque = 0; } public function GetJointList():b2JointEdge{ return (m_jointList); } public function SetXForm(_arg1:b2Vec2, _arg2:Number):Boolean{ var _local3:b2Shape; var _local7:Boolean; if (m_world.m_lock == true){ return (true); }; if (IsFrozen()){ return (false); }; m_xf.R.Set(_arg2); m_xf.position.SetV(_arg1); var _local4:b2Mat22 = m_xf.R; var _local5:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local4.col1.x * _local5.x) + (_local4.col2.x * _local5.y)); m_sweep.c.y = ((_local4.col1.y * _local5.x) + (_local4.col2.y * _local5.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); m_sweep.a0 = (m_sweep.a = _arg2); var _local6:Boolean; _local3 = m_shapeList; while (_local3) { _local7 = _local3.Synchronize(m_world.m_broadPhase, m_xf, m_xf); if (_local7 == false){ _local6 = true; break; }; _local3 = _local3.m_next; }; if (_local6 == true){ m_flags = (m_flags | e_frozenFlag); m_linearVelocity.SetZero(); m_angularVelocity = 0; _local3 = m_shapeList; while (_local3) { _local3.DestroyProxy(m_world.m_broadPhase); _local3 = _local3.m_next; }; return (false); }; m_world.m_broadPhase.Commit(); return (true); } public function GetLocalPoint(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulXT(m_xf, _arg1)); } public function ApplyForce(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping()){ WakeUp(); }; m_force.x = (m_force.x + _arg1.x); m_force.y = (m_force.y + _arg1.y); m_torque = (m_torque + (((_arg2.x - m_sweep.c.x) * _arg1.y) - ((_arg2.y - m_sweep.c.y) * _arg1.x))); } public function SynchronizeShapes():Boolean{ var _local4:b2Shape; var _local1:b2XForm = s_xf1; _local1.R.Set(m_sweep.a0); var _local2:b2Mat22 = _local1.R; var _local3:b2Vec2 = m_sweep.localCenter; _local1.position.x = (m_sweep.c0.x - ((_local2.col1.x * _local3.x) + (_local2.col2.x * _local3.y))); _local1.position.y = (m_sweep.c0.y - ((_local2.col1.y * _local3.x) + (_local2.col2.y * _local3.y))); var _local5:Boolean; _local4 = m_shapeList; while (_local4) { _local5 = _local4.Synchronize(m_world.m_broadPhase, _local1, m_xf); if (_local5 == false){ break; }; _local4 = _local4.m_next; }; if (_local5 == false){ m_flags = (m_flags | e_frozenFlag); m_linearVelocity.SetZero(); m_angularVelocity = 0; _local4 = m_shapeList; while (_local4) { _local4.DestroyProxy(m_world.m_broadPhase); _local4 = _local4.m_next; }; return (false); }; return (true); } public function GetAngle():Number{ return (m_sweep.a); } public function GetXForm():b2XForm{ return (m_xf); } public function GetLinearVelocityFromLocalPoint(_arg1:b2Vec2):b2Vec2{ var _local2:b2Mat22 = m_xf.R; var _local3:b2Vec2 = new b2Vec2(((_local2.col1.x * _arg1.x) + (_local2.col2.x * _arg1.y)), ((_local2.col1.y * _arg1.x) + (_local2.col2.y * _arg1.y))); _local3.x = (_local3.x + m_xf.position.x); _local3.y = (_local3.y + m_xf.position.y); return (new b2Vec2((m_linearVelocity.x + (m_angularVelocity * (_local3.y - m_sweep.c.y))), (m_linearVelocity.x - (m_angularVelocity * (_local3.x - m_sweep.c.x))))); } public function GetNext():b2Body{ return (m_next); } public function GetMass():Number{ return (m_mass); } public function ApplyImpulse(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping()){ WakeUp(); }; m_linearVelocity.x = (m_linearVelocity.x + (m_invMass * _arg1.x)); m_linearVelocity.y = (m_linearVelocity.y + (m_invMass * _arg1.y)); m_angularVelocity = (m_angularVelocity + (m_invI * (((_arg2.x - m_sweep.c.x) * _arg1.y) - ((_arg2.y - m_sweep.c.y) * _arg1.x)))); } public function GetAngularVelocity():Number{ return (m_angularVelocity); } public function SetAngularVelocity(_arg1:Number):void{ m_angularVelocity = _arg1; } public function SetMass(_arg1:b2MassData):void{ var _local2:b2Shape; if (m_world.m_lock == true){ return; }; m_invMass = 0; m_I = 0; m_invI = 0; m_mass = _arg1.mass; if (m_mass > 0){ m_invMass = (1 / m_mass); }; if ((m_flags & b2Body.e_fixedRotationFlag) == 0){ m_I = _arg1.I; }; if (m_I > 0){ m_invI = (1 / m_I); }; m_sweep.localCenter.SetV(_arg1.center); var _local3:b2Mat22 = m_xf.R; var _local4:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); m_sweep.c.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); _local2 = m_shapeList; while (_local2) { _local2.UpdateSweepRadius(m_sweep.localCenter); _local2 = _local2.m_next; }; var _local5:int = m_type; if ((((m_invMass == 0)) && ((m_invI == 0)))){ m_type = e_staticType; } else { m_type = e_dynamicType; }; if (_local5 != m_type){ _local2 = m_shapeList; while (_local2) { _local2.RefilterProxy(m_world.m_broadPhase, m_xf); _local2 = _local2.m_next; }; }; } public function IsStatic():Boolean{ return ((m_type == e_staticType)); } public function GetWorldVector(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulMV(m_xf.R, _arg1)); } public function GetShapeList():b2Shape{ return (m_shapeList); } public function Advance(_arg1:Number):void{ m_sweep.Advance(_arg1); m_sweep.c.SetV(m_sweep.c0); m_sweep.a = m_sweep.a0; SynchronizeTransform(); } public function SetBullet(_arg1:Boolean):void{ if (_arg1){ m_flags = (m_flags | e_bulletFlag); } else { m_flags = (m_flags & ~(e_bulletFlag)); }; } public function CreateShape(_arg1:b2ShapeDef):b2Shape{ var _local2:b2Shape; if (m_world.m_lock == true){ return (null); }; _local2 = b2Shape.Create(_arg1, m_world.m_blockAllocator); _local2.m_next = m_shapeList; m_shapeList = _local2; m_shapeCount++; _local2.m_body = this; _local2.CreateProxy(m_world.m_broadPhase, m_xf); _local2.UpdateSweepRadius(m_sweep.localCenter); return (_local2); } public function IsConnected(_arg1:b2Body):Boolean{ var _local2:b2JointEdge = m_jointList; while (_local2) { if (_local2.other == _arg1){ return ((_local2.joint.m_collideConnected == false)); }; _local2 = _local2.next; }; return (false); } public function DestroyShape(_arg1:b2Shape):void{ if (m_world.m_lock == true){ return; }; _arg1.DestroyProxy(m_world.m_broadPhase); var _local2:b2Shape = m_shapeList; var _local3:b2Shape; var _local4:Boolean; while (_local2 != null) { if (_local2 == _arg1){ if (_local3){ _local3.m_next = _arg1.m_next; } else { m_shapeList = _arg1.m_next; }; _local4 = true; break; }; _local3 = _local2; _local2 = _local2.m_next; }; _arg1.m_body = null; _arg1.m_next = null; m_shapeCount--; b2Shape.Destroy(_arg1, m_world.m_blockAllocator); } public function GetUserData(){ return (m_userData); } public function IsBullet():Boolean{ return (((m_flags & e_bulletFlag) == e_bulletFlag)); } public function GetWorldCenter():b2Vec2{ return (m_sweep.c); } public function AllowSleeping(_arg1:Boolean):void{ if (_arg1){ m_flags = (m_flags | e_allowSleepFlag); } else { m_flags = (m_flags & ~(e_allowSleepFlag)); WakeUp(); }; } public function SetUserData(_arg1):void{ m_userData = _arg1; } public function GetLocalVector(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulTMV(m_xf.R, _arg1)); } public function GetWorld():b2World{ return (m_world); } public function GetPosition():b2Vec2{ return (m_xf.position); } } }//package Box2D.Dynamics
Section 65
//b2BodyDef (Box2D.Dynamics.b2BodyDef) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; public class b2BodyDef { public var angularDamping:Number; public var angle:Number; public var isSleeping:Boolean; public var position:b2Vec2; public var isBullet:Boolean; public var allowSleep:Boolean; public var userData; public var fixedRotation:Boolean; public var linearDamping:Number; public var massData:b2MassData; public function b2BodyDef(){ massData = new b2MassData(); position = new b2Vec2(); super(); massData.center.SetZero(); massData.mass = 0; massData.I = 0; userData = null; position.Set(0, 0); angle = 0; linearDamping = 0; angularDamping = 0; allowSleep = true; isSleeping = false; fixedRotation = false; isBullet = false; } } }//package Box2D.Dynamics
Section 66
//b2BoundaryListener (Box2D.Dynamics.b2BoundaryListener) package Box2D.Dynamics { public class b2BoundaryListener { public function Violation(_arg1:b2Body):void{ } } }//package Box2D.Dynamics
Section 67
//b2ContactFilter (Box2D.Dynamics.b2ContactFilter) package Box2D.Dynamics { import Box2D.Collision.Shapes.*; public class b2ContactFilter { public static var b2_defaultFilter:b2ContactFilter = new (b2ContactFilter); ; public function ShouldCollide(_arg1:b2Shape, _arg2:b2Shape):Boolean{ var _local3:b2FilterData = _arg1.GetFilterData(); var _local4:b2FilterData = _arg2.GetFilterData(); if ((((_local3.groupIndex == _local4.groupIndex)) && (!((_local3.groupIndex == 0))))){ return ((_local3.groupIndex > 0)); }; var _local5:Boolean = ((!(((_local3.maskBits & _local4.categoryBits) == 0))) && (!(((_local3.categoryBits & _local4.maskBits) == 0)))); return (_local5); } } }//package Box2D.Dynamics
Section 68
//b2ContactListener (Box2D.Dynamics.b2ContactListener) package Box2D.Dynamics { import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; import flash.geom.*; import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2ContactListener { private var man_point:Point; private var kj:Number;// = 0 public static var remove:Boolean = true; public static var ye_contact:Boolean = false; public static var sound:Boolean = false; public function b2ContactListener(){ man_point = new Point(); super(); } public function Add(_arg1:b2ContactPoint):void{ var _local2:star; if (sound){ Main.sound.contactObject(); kj = 0; sound = false; }; if ((((_arg1.shape1.GetBody().GetUserData().name == "m")) || ((_arg1.shape2.GetBody().GetUserData().name == "m")))){ Main.man_stop = _arg1.position.y; GamePlay.sleepAll2(); ye_contact = true; } else { kj++; if (kj == 1){ _local2 = new star(); _local2.x = (_arg1.position.x * 30); _local2.y = (_arg1.position.y * 30); Main.stage.addChildAt(_local2, (Main.stage.numChildren - 2)); }; if (kj > 4){ kj = 0; }; }; if (_arg1.shape2.GetBody().GetUserData().name == "m"){ ye_contact = true; }; } public function Remove(_arg1:b2ContactPoint):void{ } public function Persist(_arg1:b2ContactPoint):void{ } public function Result(_arg1:b2ContactResult):void{ } } }//package Box2D.Dynamics
Section 69
//b2ContactManager (Box2D.Dynamics.b2ContactManager) package Box2D.Dynamics { import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2ContactManager extends b2PairCallback { public var m_world:b2World; public var m_destroyImmediate:Boolean; public var m_nullContact:b2NullContact; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2ContactManager(){ m_nullContact = new b2NullContact(); super(); m_world = null; m_destroyImmediate = false; } override public function PairRemoved(_arg1, _arg2, _arg3):void{ if (_arg3 == null){ return; }; var _local4:b2Contact = (_arg3 as b2Contact); if (_local4 == m_nullContact){ return; }; Destroy(_local4); } public function Destroy(_arg1:b2Contact):void{ var _local7:b2Body; var _local8:b2Body; var _local9:Array; var _local10:b2ContactPoint; var _local11:int; var _local12:b2Manifold; var _local13:int; var _local14:b2ManifoldPoint; var _local15:b2Vec2; var _local16:b2Vec2; var _local2:b2Shape = _arg1.m_shape1; var _local3:b2Shape = _arg1.m_shape2; var _local4:int = _arg1.m_manifoldCount; if ((((_local4 > 0)) && (m_world.m_contactListener))){ _local7 = _local2.m_body; _local8 = _local3.m_body; _local9 = _arg1.GetManifolds(); _local10 = s_evalCP; _local10.shape1 = _arg1.m_shape1; _local10.shape2 = _arg1.m_shape1; _local10.friction = _arg1.m_friction; _local10.restitution = _arg1.m_restitution; _local11 = 0; while (_local11 < _local4) { _local12 = _local9[_local11]; _local10.normal.SetV(_local12.normal); _local13 = 0; while (_local13 < _local12.pointCount) { _local14 = _local12.points[_local13]; _local10.position = _local7.GetWorldPoint(_local14.localPoint1); _local15 = _local7.GetLinearVelocityFromLocalPoint(_local14.localPoint1); _local16 = _local8.GetLinearVelocityFromLocalPoint(_local14.localPoint2); _local10.velocity.Set((_local16.x - _local15.x), (_local16.y - _local15.y)); _local10.separation = _local14.separation; _local10.id.key = _local14.id._key; m_world.m_contactListener.Remove(_local10); _local13++; }; _local11++; }; }; 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; }; var _local5:b2Body = _local2.m_body; var _local6:b2Body = _local3.m_body; 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 == _local5.m_contactList){ _local5.m_contactList = _arg1.m_node1.next; }; 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 == _local6.m_contactList){ _local6.m_contactList = _arg1.m_node2.next; }; b2Contact.Destroy(_arg1, m_world.m_blockAllocator); m_world.m_contactCount--; } override public function PairAdded(_arg1, _arg2){ var _local3:b2Shape = (_arg1 as b2Shape); var _local4:b2Shape = (_arg2 as b2Shape); var _local5:b2Body = _local3.m_body; var _local6:b2Body = _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_contactFilter == null))) && ((m_world.m_contactFilter.ShouldCollide(_local3, _local4) == false)))){ return (m_nullContact); }; var _local7:b2Contact = b2Contact.Create(_local3, _local4, m_world.m_blockAllocator); if (_local7 == null){ return (m_nullContact); }; _local3 = _local7.m_shape1; _local4 = _local7.m_shape2; _local5 = _local3.m_body; _local6 = _local4.m_body; _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; _local7.m_node1.contact = _local7; _local7.m_node1.other = _local6; _local7.m_node1.prev = null; _local7.m_node1.next = _local5.m_contactList; if (_local5.m_contactList != null){ _local5.m_contactList.prev = _local7.m_node1; }; _local5.m_contactList = _local7.m_node1; _local7.m_node2.contact = _local7; _local7.m_node2.other = _local5; _local7.m_node2.prev = null; _local7.m_node2.next = _local6.m_contactList; if (_local6.m_contactList != null){ _local6.m_contactList.prev = _local7.m_node2; }; _local6.m_contactList = _local7.m_node2; m_world.m_contactCount++; return (_local7); } public function Collide():void{ var _local2:b2Body; var _local3:b2Body; var _local1:b2Contact = m_world.m_contactList; while (_local1) { _local2 = _local1.m_shape1.m_body; _local3 = _local1.m_shape2.m_body; if (((_local2.IsSleeping()) && (_local3.IsSleeping()))){ } else { _local1.Update(m_world.m_contactListener); }; _local1 = _local1.m_next; }; } } }//package Box2D.Dynamics
Section 70
//b2DebugDraw (Box2D.Dynamics.b2DebugDraw) package Box2D.Dynamics { import flash.display.*; import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2DebugDraw { public var m_xformScale:Number;// = 1 public var m_fillAlpha:Number;// = 1 public var m_alpha:Number;// = 1 public var m_drawFlags:uint; public var m_lineThickness:Number;// = 1 public var m_drawScale:Number;// = 1 public var m_sprite:Sprite; public static var e_coreShapeBit:uint = 4; public static var e_shapeBit:uint = 1; public static var e_centerOfMassBit:uint = 64; public static var e_aabbBit:uint = 8; public static var e_obbBit:uint = 16; public static var e_pairBit:uint = 32; public static var e_jointBit:uint = 2; public function b2DebugDraw(){ m_drawFlags = 0; } public function ClearFlags(_arg1:uint):void{ m_drawFlags = (m_drawFlags & ~(_arg1)); } public function SetFlags(_arg1:uint):void{ m_drawFlags = _arg1; } public function AppendFlags(_arg1:uint):void{ m_drawFlags = (m_drawFlags | _arg1); } public function DrawSegment(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.moveTo((_arg1.x * m_drawScale), (_arg1.y * m_drawScale)); m_sprite.graphics.lineTo((_arg2.x * m_drawScale), (_arg2.y * m_drawScale)); } public function DrawSolidPolygon(_arg1:Array, _arg2:int, _arg3:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.moveTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); m_sprite.graphics.beginFill(_arg3.color, m_fillAlpha); var _local4 = 1; while (_local4 < _arg2) { m_sprite.graphics.lineTo((_arg1[_local4].x * m_drawScale), (_arg1[_local4].y * m_drawScale)); _local4++; }; m_sprite.graphics.lineTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); m_sprite.graphics.endFill(); } public function DrawCircle(_arg1:b2Vec2, _arg2:Number, _arg3:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.drawCircle((_arg1.x * m_drawScale), (_arg1.y * m_drawScale), (_arg2 * m_drawScale)); } public function DrawPolygon(_arg1:Array, _arg2:int, _arg3:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.moveTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); var _local4 = 1; while (_local4 < _arg2) { m_sprite.graphics.lineTo((_arg1[_local4].x * m_drawScale), (_arg1[_local4].y * m_drawScale)); _local4++; }; m_sprite.graphics.lineTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); } public function DrawSolidCircle(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg4.color, m_alpha); m_sprite.graphics.moveTo(0, 0); m_sprite.graphics.beginFill(_arg4.color, m_fillAlpha); m_sprite.graphics.drawCircle((_arg1.x * m_drawScale), (_arg1.y * m_drawScale), (_arg2 * m_drawScale)); m_sprite.graphics.endFill(); m_sprite.graphics.moveTo((_arg1.x * m_drawScale), (_arg1.y * m_drawScale)); m_sprite.graphics.lineTo(((_arg1.x + (_arg3.x * _arg2)) * m_drawScale), ((_arg1.y + (_arg3.y * _arg2)) * m_drawScale)); } public function GetFlags():uint{ return (m_drawFlags); } public function DrawXForm(_arg1:b2XForm):void{ m_sprite.graphics.lineStyle(m_lineThickness, 0xFF0000, m_alpha); m_sprite.graphics.moveTo((_arg1.position.x * m_drawScale), (_arg1.position.y * m_drawScale)); m_sprite.graphics.lineTo(((_arg1.position.x + (m_xformScale * _arg1.R.col1.x)) * m_drawScale), ((_arg1.position.y + (m_xformScale * _arg1.R.col1.y)) * m_drawScale)); m_sprite.graphics.lineStyle(m_lineThickness, 0xFF00, m_alpha); m_sprite.graphics.moveTo((_arg1.position.x * m_drawScale), (_arg1.position.y * m_drawScale)); m_sprite.graphics.lineTo(((_arg1.position.x + (m_xformScale * _arg1.R.col2.x)) * m_drawScale), ((_arg1.position.y + (m_xformScale * _arg1.R.col2.y)) * m_drawScale)); } } }//package Box2D.Dynamics
Section 71
//b2DestructionListener (Box2D.Dynamics.b2DestructionListener) package Box2D.Dynamics { import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; public class b2DestructionListener { public function SayGoodbyeShape(_arg1:b2Shape):void{ } public function SayGoodbyeJoint(_arg1:b2Joint):void{ } } }//package Box2D.Dynamics
Section 72
//b2Island (Box2D.Dynamics.b2Island) package Box2D.Dynamics { import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Common.*; public class b2Island { public var m_listener:b2ContactListener; public var m_positionIterationCount:int; 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; private static var s_reportCR:b2ContactResult = new b2ContactResult(); public function b2Island(_arg1:int, _arg2:int, _arg3:int, _arg4, _arg5:b2ContactListener){ var _local6:int; super(); m_bodyCapacity = _arg1; m_contactCapacity = _arg2; m_jointCapacity = _arg3; m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; m_allocator = _arg4; m_listener = _arg5; m_bodies = new Array(_arg1); _local6 = 0; while (_local6 < _arg1) { m_bodies[_local6] = null; _local6++; }; m_contacts = new Array(_arg2); _local6 = 0; while (_local6 < _arg2) { m_contacts[_local6] = null; _local6++; }; m_joints = new Array(_arg3); _local6 = 0; while (_local6 < _arg3) { m_joints[_local6] = null; _local6++; }; m_positionIterationCount = 0; } 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 Report(_arg1:Array):void{ var _local2:b2Mat22; var _local3:b2Vec2; var _local5:b2Contact; var _local6:b2ContactConstraint; var _local7:b2ContactResult; var _local8:b2Body; var _local9:int; var _local10:Array; var _local11:int; var _local12:b2Manifold; var _local13:int; var _local14:b2ManifoldPoint; var _local15:b2ContactConstraintPoint; if (m_listener == null){ return; }; var _local4:int; while (_local4 < m_contactCount) { _local5 = m_contacts[_local4]; _local6 = _arg1[_local4]; _local7 = s_reportCR; _local7.shape1 = _local5.m_shape1; _local7.shape2 = _local5.m_shape2; _local8 = _local7.shape1.m_body; _local9 = _local5.m_manifoldCount; _local10 = _local5.GetManifolds(); _local11 = 0; while (_local11 < _local9) { _local12 = _local10[_local11]; _local7.normal.SetV(_local12.normal); _local13 = 0; while (_local13 < _local12.pointCount) { _local14 = _local12.points[_local13]; _local15 = _local6.points[_local13]; _local7.position = _local8.GetWorldPoint(_local14.localPoint1); _local7.normalImpulse = _local15.normalImpulse; _local7.tangentImpulse = _local15.tangentImpulse; _local7.id.key = _local14.id.key; m_listener.Result(_local7); _local13++; }; _local11++; }; _local4++; }; } public function AddContact(_arg1:b2Contact):void{ var _local2 = m_contactCount++; m_contacts[_local2] = _arg1; } public function Solve(_arg1:b2TimeStep, _arg2:b2Vec2, _arg3:Boolean, _arg4:Boolean):void{ var _local5:int; var _local6:b2Body; var _local7:b2Joint; var _local9:int; var _local10:Boolean; var _local11:Boolean; var _local12:Boolean; var _local13:Number; var _local14:Number; var _local15:Number; _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; if (_local6.IsStatic()){ } else { _local6.m_linearVelocity.x = (_local6.m_linearVelocity.x + (_arg1.dt * (_arg2.x + (_local6.m_invMass * _local6.m_force.x)))); _local6.m_linearVelocity.y = (_local6.m_linearVelocity.y + (_arg1.dt * (_arg2.y + (_local6.m_invMass * _local6.m_force.y)))); _local6.m_angularVelocity = (_local6.m_angularVelocity + ((_arg1.dt * _local6.m_invI) * _local6.m_torque)); _local6.m_force.SetZero(); _local6.m_torque = 0; _local6.m_linearVelocity.Multiply(b2Math.b2Clamp((1 - (_arg1.dt * _local6.m_linearDamping)), 0, 1)); _local6.m_angularVelocity = (_local6.m_angularVelocity * b2Math.b2Clamp((1 - (_arg1.dt * _local6.m_angularDamping)), 0, 1)); if (_local6.m_linearVelocity.LengthSquared() > b2Settings.b2_maxLinearVelocitySquared){ _local6.m_linearVelocity.Normalize(); _local6.m_linearVelocity.x = (_local6.m_linearVelocity.x * b2Settings.b2_maxLinearVelocity); _local6.m_linearVelocity.y = (_local6.m_linearVelocity.y * b2Settings.b2_maxLinearVelocity); }; if ((_local6.m_angularVelocity * _local6.m_angularVelocity) > b2Settings.b2_maxAngularVelocitySquared){ if (_local6.m_angularVelocity < 0){ _local6.m_angularVelocity = -(b2Settings.b2_maxAngularVelocity); } else { _local6.m_angularVelocity = b2Settings.b2_maxAngularVelocity; }; }; }; _local5++; }; var _local8:b2ContactSolver = new b2ContactSolver(_arg1, m_contacts, m_contactCount, m_allocator); _local8.InitVelocityConstraints(_arg1); _local5 = 0; while (_local5 < m_jointCount) { _local7 = m_joints[_local5]; _local7.InitVelocityConstraints(_arg1); _local5++; }; _local5 = 0; while (_local5 < _arg1.maxIterations) { _local8.SolveVelocityConstraints(); _local9 = 0; while (_local9 < m_jointCount) { _local7 = m_joints[_local9]; _local7.SolveVelocityConstraints(_arg1); _local9++; }; _local5++; }; _local8.FinalizeVelocityConstraints(); _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; if (_local6.IsStatic()){ } else { _local6.m_sweep.c0.SetV(_local6.m_sweep.c); _local6.m_sweep.a0 = _local6.m_sweep.a; _local6.m_sweep.c.x = (_local6.m_sweep.c.x + (_arg1.dt * _local6.m_linearVelocity.x)); _local6.m_sweep.c.y = (_local6.m_sweep.c.y + (_arg1.dt * _local6.m_linearVelocity.y)); _local6.m_sweep.a = (_local6.m_sweep.a + (_arg1.dt * _local6.m_angularVelocity)); _local6.SynchronizeTransform(); }; _local5++; }; if (_arg3){ _local5 = 0; while (_local5 < m_jointCount) { _local7 = m_joints[_local5]; _local7.InitPositionConstraints(); _local5++; }; m_positionIterationCount = 0; while (m_positionIterationCount < _arg1.maxIterations) { _local10 = _local8.SolvePositionConstraints(b2Settings.b2_contactBaumgarte); _local11 = true; _local5 = 0; while (_local5 < m_jointCount) { _local7 = m_joints[_local5]; _local12 = _local7.SolvePositionConstraints(); _local11 = ((_local11) && (_local12)); _local5++; }; if (((_local10) && (_local11))){ break; }; m_positionIterationCount++; }; }; Report(_local8.m_constraints); if (_arg4){ _local13 = Number.MAX_VALUE; _local14 = (b2Settings.b2_linearSleepTolerance * b2Settings.b2_linearSleepTolerance); _local15 = (b2Settings.b2_angularSleepTolerance * b2Settings.b2_angularSleepTolerance); _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; if (_local6.m_invMass == 0){ } else { if ((_local6.m_flags & b2Body.e_allowSleepFlag) == 0){ _local6.m_sleepTime = 0; _local13 = 0; }; if (((((((_local6.m_flags & b2Body.e_allowSleepFlag) == 0)) || (((_local6.m_angularVelocity * _local6.m_angularVelocity) > _local15)))) || ((b2Math.b2Dot(_local6.m_linearVelocity, _local6.m_linearVelocity) > _local14)))){ _local6.m_sleepTime = 0; _local13 = 0; } else { _local6.m_sleepTime = (_local6.m_sleepTime + _arg1.dt); _local13 = b2Math.b2Min(_local13, _local6.m_sleepTime); }; }; _local5++; }; if (_local13 >= b2Settings.b2_timeToSleep){ _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; m_bodies[_local5].m_flags = (_local6.m_flags | b2Body.e_sleepFlag); _local6.m_linearVelocity.SetZero(); _local6.m_angularVelocity = 0; _local5++; }; }; }; } public function Clear():void{ m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; } public function SolveTOI(_arg1:b2TimeStep):void{ var _local2:int; var _local5:b2Body; var _local6:Boolean; var _local3:b2ContactSolver = new b2ContactSolver(_arg1, m_contacts, m_contactCount, m_allocator); _local2 = 0; while (_local2 < _arg1.maxIterations) { _local3.SolveVelocityConstraints(); _local2++; }; _local2 = 0; while (_local2 < m_bodyCount) { _local5 = m_bodies[_local2]; if (_local5.IsStatic()){ } else { _local5.m_sweep.c0.SetV(_local5.m_sweep.c); _local5.m_sweep.a0 = _local5.m_sweep.a; _local5.m_sweep.c.x = (_local5.m_sweep.c.x + (_arg1.dt * _local5.m_linearVelocity.x)); _local5.m_sweep.c.y = (_local5.m_sweep.c.y + (_arg1.dt * _local5.m_linearVelocity.y)); _local5.m_sweep.a = (_local5.m_sweep.a + (_arg1.dt * _local5.m_angularVelocity)); _local5.SynchronizeTransform(); }; _local2++; }; var _local4:Number = 0.75; _local2 = 0; while (_local2 < _arg1.maxIterations) { _local6 = _local3.SolvePositionConstraints(_local4); if (_local6){ break; }; _local2++; }; Report(_local3.m_constraints); } } }//package Box2D.Dynamics
Section 73
//b2TimeStep (Box2D.Dynamics.b2TimeStep) package Box2D.Dynamics { public class b2TimeStep { public var warmStarting:Boolean; public var positionCorrection:Boolean; public var dt:Number; public var maxIterations:int; public var dtRatio:Number; public var inv_dt:Number; } }//package Box2D.Dynamics
Section 74
//b2World (Box2D.Dynamics.b2World) package Box2D.Dynamics { import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; import Box2D.Common.*; public class b2World { public var m_inv_dt0:Number; public var m_boundaryListener:b2BoundaryListener; public var m_contactList:b2Contact; public var m_blockAllocator; public var m_contactListener:b2ContactListener; public var m_allowSleep:Boolean; public var m_broadPhase:b2BroadPhase; public var m_destructionListener:b2DestructionListener; public var m_jointCount:int; public var m_bodyCount:int; public var m_lock:Boolean; public var m_positionIterationCount:int; public var m_groundBody:b2Body; public var m_contactCount:int; public var m_debugDraw:b2DebugDraw; public var m_contactFilter:b2ContactFilter; public var m_bodyList:b2Body; public var m_stackAllocator; public var m_jointList:b2Joint; public var m_gravity:b2Vec2; public var m_contactManager:b2ContactManager; private static var s_jointColor:b2Color = new b2Color(0.5, 0.8, 0.8); public static var m_continuousPhysics:Boolean; public static var m_warmStarting:Boolean; private static var s_coreColor:b2Color = new b2Color(0.9, 0.6, 0.6); public static var m_positionCorrection:Boolean; private static var s_xf:b2XForm = new b2XForm(); public function b2World(_arg1:b2AABB, _arg2:b2Vec2, _arg3:Boolean){ m_contactManager = new b2ContactManager(); super(); m_destructionListener = null; m_boundaryListener = null; m_contactFilter = b2ContactFilter.b2_defaultFilter; m_contactListener = null; m_debugDraw = null; m_bodyList = null; m_contactList = null; m_jointList = null; m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; m_positionCorrection = true; m_warmStarting = true; m_continuousPhysics = true; m_allowSleep = _arg3; m_gravity = _arg2; m_lock = false; m_inv_dt0 = 0; m_contactManager.m_world = this; m_broadPhase = new b2BroadPhase(_arg1, m_contactManager); var _local4:b2BodyDef = new b2BodyDef(); m_groundBody = CreateBody(_local4); } public function DrawJoint(_arg1:b2Joint):void{ var _local11:b2PulleyJoint; var _local12:b2Vec2; var _local13:b2Vec2; var _local2:b2Body = _arg1.m_body1; var _local3:b2Body = _arg1.m_body2; var _local4:b2XForm = _local2.m_xf; var _local5:b2XForm = _local3.m_xf; var _local6:b2Vec2 = _local4.position; var _local7:b2Vec2 = _local5.position; var _local8:b2Vec2 = _arg1.GetAnchor1(); var _local9:b2Vec2 = _arg1.GetAnchor2(); var _local10:b2Color = s_jointColor; switch (_arg1.m_type){ case b2Joint.e_distanceJoint: m_debugDraw.DrawSegment(_local8, _local9, _local10); break; case b2Joint.e_pulleyJoint: _local11 = (_arg1 as b2PulleyJoint); _local12 = _local11.GetGroundAnchor1(); _local13 = _local11.GetGroundAnchor2(); m_debugDraw.DrawSegment(_local12, _local8, _local10); m_debugDraw.DrawSegment(_local13, _local9, _local10); m_debugDraw.DrawSegment(_local12, _local13, _local10); break; case b2Joint.e_mouseJoint: m_debugDraw.DrawSegment(_local8, _local9, _local10); break; default: if (_local2 != m_groundBody){ m_debugDraw.DrawSegment(_local6, _local8, _local10); }; m_debugDraw.DrawSegment(_local8, _local9, _local10); if (_local3 != m_groundBody){ m_debugDraw.DrawSegment(_local7, _local9, _local10); }; }; } public function Refilter(_arg1:b2Shape):void{ _arg1.RefilterProxy(m_broadPhase, _arg1.m_body.m_xf); } public function SetDebugDraw(_arg1:b2DebugDraw):void{ m_debugDraw = _arg1; } public function SetContinuousPhysics(_arg1:Boolean):void{ m_continuousPhysics = _arg1; } public function GetProxyCount():int{ return (m_broadPhase.m_proxyCount); } public function DrawDebugData():void{ var _local2:int; var _local3:b2Body; var _local4:b2Shape; var _local5:b2Joint; var _local6:b2BroadPhase; var _local11:b2XForm; var _local15:Boolean; var _local16:uint; var _local17:b2Pair; var _local18:b2Proxy; var _local19:b2Proxy; var _local20:b2Vec2; var _local21:b2Vec2; var _local22:b2Proxy; var _local23:b2PolygonShape; var _local24:b2OBB; var _local25:b2Vec2; var _local26:b2Mat22; var _local27:b2Vec2; var _local28:Number; if (m_debugDraw == null){ return; }; m_debugDraw.m_sprite.graphics.clear(); var _local1:uint = m_debugDraw.GetFlags(); var _local7:b2Vec2 = new b2Vec2(); var _local8:b2Vec2 = new b2Vec2(); var _local9:b2Vec2 = new b2Vec2(); var _local10:b2Color = new b2Color(0, 0, 0); var _local12:b2AABB = new b2AABB(); var _local13:b2AABB = new b2AABB(); var _local14:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2(), new b2Vec2()]; if ((_local1 & b2DebugDraw.e_shapeBit)){ _local15 = ((_local1 & b2DebugDraw.e_coreShapeBit) == b2DebugDraw.e_coreShapeBit); _local3 = m_bodyList; while (_local3) { _local11 = _local3.m_xf; _local4 = _local3.GetShapeList(); while (_local4) { if (_local3.IsStatic()){ DrawShape(_local4, _local11, new b2Color(0.5, 0.9, 0.5), _local15); } else { if (_local3.IsSleeping()){ DrawShape(_local4, _local11, new b2Color(0.5, 0.5, 0.9), _local15); } else { DrawShape(_local4, _local11, new b2Color(0.9, 0.9, 0.9), _local15); }; }; _local4 = _local4.m_next; }; _local3 = _local3.m_next; }; }; if ((_local1 & b2DebugDraw.e_jointBit)){ _local5 = m_jointList; while (_local5) { DrawJoint(_local5); _local5 = _local5.m_next; }; }; if ((_local1 & b2DebugDraw.e_pairBit)){ _local6 = m_broadPhase; _local7.Set((1 / _local6.m_quantizationFactor.x), (1 / _local6.m_quantizationFactor.y)); _local10.Set(0.9, 0.9, 0.3); _local2 = 0; while (_local2 < b2Pair.b2_tableCapacity) { _local16 = _local6.m_pairManager.m_hashTable[_local2]; while (_local16 != b2Pair.b2_nullPair) { _local17 = _local6.m_pairManager.m_pairs[_local16]; _local18 = _local6.m_proxyPool[_local17.proxyId1]; _local19 = _local6.m_proxyPool[_local17.proxyId2]; _local12.lowerBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local18.lowerBounds[0]].value)); _local12.lowerBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local18.lowerBounds[1]].value)); _local12.upperBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local18.upperBounds[0]].value)); _local12.upperBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local18.upperBounds[1]].value)); _local13.lowerBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local19.lowerBounds[0]].value)); _local13.lowerBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local19.lowerBounds[1]].value)); _local13.upperBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local19.upperBounds[0]].value)); _local13.upperBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local19.upperBounds[1]].value)); _local8.x = (0.5 * (_local12.lowerBound.x + _local12.upperBound.x)); _local8.y = (0.5 * (_local12.lowerBound.y + _local12.upperBound.y)); _local9.x = (0.5 * (_local13.lowerBound.x + _local13.upperBound.x)); _local9.y = (0.5 * (_local13.lowerBound.y + _local13.upperBound.y)); m_debugDraw.DrawSegment(_local8, _local9, _local10); _local16 = _local17.next; }; _local2++; }; }; if ((_local1 & b2DebugDraw.e_aabbBit)){ _local6 = m_broadPhase; _local20 = _local6.m_worldAABB.lowerBound; _local21 = _local6.m_worldAABB.upperBound; _local7.Set((1 / _local6.m_quantizationFactor.x), (1 / _local6.m_quantizationFactor.y)); _local10.Set(0.9, 0.3, 0.9); _local2 = 0; while (_local2 < b2Settings.b2_maxProxies) { _local22 = _local6.m_proxyPool[_local2]; if (_local22.IsValid() == false){ } else { _local12.lowerBound.x = (_local20.x + (_local7.x * _local6.m_bounds[0][_local22.lowerBounds[0]].value)); _local12.lowerBound.y = (_local20.y + (_local7.y * _local6.m_bounds[1][_local22.lowerBounds[1]].value)); _local12.upperBound.x = (_local20.x + (_local7.x * _local6.m_bounds[0][_local22.upperBounds[0]].value)); _local12.upperBound.y = (_local20.y + (_local7.y * _local6.m_bounds[1][_local22.upperBounds[1]].value)); _local14[0].Set(_local12.lowerBound.x, _local12.lowerBound.y); _local14[1].Set(_local12.upperBound.x, _local12.lowerBound.y); _local14[2].Set(_local12.upperBound.x, _local12.upperBound.y); _local14[3].Set(_local12.lowerBound.x, _local12.upperBound.y); m_debugDraw.DrawPolygon(_local14, 4, _local10); }; _local2++; }; _local14[0].Set(_local20.x, _local20.y); _local14[1].Set(_local21.x, _local20.y); _local14[2].Set(_local21.x, _local21.y); _local14[3].Set(_local20.x, _local21.y); m_debugDraw.DrawPolygon(_local14, 4, new b2Color(0.3, 0.9, 0.9)); }; if ((_local1 & b2DebugDraw.e_obbBit)){ _local10.Set(0.5, 0.3, 0.5); _local3 = m_bodyList; while (_local3) { _local11 = _local3.m_xf; _local4 = _local3.GetShapeList(); while (_local4) { if (_local4.m_type != b2Shape.e_polygonShape){ } else { _local23 = (_local4 as b2PolygonShape); _local24 = _local23.GetOBB(); _local25 = _local24.extents; _local14[0].Set(-(_local25.x), -(_local25.y)); _local14[1].Set(_local25.x, -(_local25.y)); _local14[2].Set(_local25.x, _local25.y); _local14[3].Set(-(_local25.x), _local25.y); _local2 = 0; while (_local2 < 4) { _local26 = _local24.R; _local27 = _local14[_local2]; _local28 = (_local24.center.x + ((_local26.col1.x * _local27.x) + (_local26.col2.x * _local27.y))); _local14[_local2].y = (_local24.center.y + ((_local26.col1.y * _local27.x) + (_local26.col2.y * _local27.y))); _local14[_local2].x = _local28; _local26 = _local11.R; _local28 = (_local11.position.x + ((_local26.col1.x * _local27.x) + (_local26.col2.x * _local27.y))); _local14[_local2].y = (_local11.position.y + ((_local26.col1.y * _local27.x) + (_local26.col2.y * _local27.y))); _local14[_local2].x = _local28; _local2++; }; m_debugDraw.DrawPolygon(_local14, 4, _local10); }; _local4 = _local4.m_next; }; _local3 = _local3.m_next; }; }; if ((_local1 & b2DebugDraw.e_centerOfMassBit)){ _local3 = m_bodyList; while (_local3) { _local11 = s_xf; _local11.R = _local3.m_xf.R; _local11.position = _local3.GetWorldCenter(); m_debugDraw.DrawXForm(_local11); _local3 = _local3.m_next; }; }; } public function DestroyBody(_arg1:b2Body):void{ var _local4:b2JointEdge; var _local5:b2Shape; if (m_lock == true){ return; }; var _local2:b2JointEdge = _arg1.m_jointList; while (_local2) { _local4 = _local2; _local2 = _local2.next; if (m_destructionListener){ m_destructionListener.SayGoodbyeJoint(_local4.joint); }; DestroyJoint(_local4.joint); }; var _local3:b2Shape = _arg1.m_shapeList; while (_local3) { _local5 = _local3; _local3 = _local3.m_next; if (m_destructionListener){ m_destructionListener.SayGoodbyeShape(_local5); }; _local5.DestroyProxy(m_broadPhase); b2Shape.Destroy(_local5, m_blockAllocator); }; 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; }; m_bodyCount--; } public function SetContactFilter(_arg1:b2ContactFilter):void{ m_contactFilter = _arg1; } public function GetGroundBody():b2Body{ return (m_groundBody); } public function DrawShape(_arg1:b2Shape, _arg2:b2XForm, _arg3:b2Color, _arg4:Boolean):void{ var _local6:b2CircleShape; var _local7:b2Vec2; var _local8:Number; var _local9:b2Vec2; var _local10:int; var _local11:b2PolygonShape; var _local12:int; var _local13:Array; var _local14:Array; var _local15:Array; var _local5:b2Color = s_coreColor; switch (_arg1.m_type){ case b2Shape.e_circleShape: _local6 = (_arg1 as b2CircleShape); _local7 = b2Math.b2MulX(_arg2, _local6.m_localPosition); _local8 = _local6.m_radius; _local9 = _arg2.R.col1; m_debugDraw.DrawSolidCircle(_local7, _local8, _local9, _arg3); if (_arg4){ m_debugDraw.DrawCircle(_local7, (_local8 - b2Settings.b2_toiSlop), _local5); }; break; case b2Shape.e_polygonShape: _local11 = (_arg1 as b2PolygonShape); _local12 = _local11.GetVertexCount(); _local13 = _local11.GetVertices(); _local14 = new Array(b2Settings.b2_maxPolygonVertices); _local10 = 0; while (_local10 < _local12) { _local14[_local10] = b2Math.b2MulX(_arg2, _local13[_local10]); _local10++; }; m_debugDraw.DrawSolidPolygon(_local14, _local12, _arg3); if (_arg4){ _local15 = _local11.GetCoreVertices(); _local10 = 0; while (_local10 < _local12) { _local14[_local10] = b2Math.b2MulX(_arg2, _local15[_local10]); _local10++; }; m_debugDraw.DrawPolygon(_local14, _local12, _local5); }; break; }; } public function GetContactCount():int{ return (m_contactCount); } public function Solve(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local9:int; var _local10:int; var _local11:b2Body; var _local12:b2ContactEdge; var _local13:b2JointEdge; var _local14:Boolean; m_positionIterationCount = 0; var _local3:b2Island = new b2Island(m_bodyCount, m_contactCount, m_jointCount, m_stackAllocator, m_contactListener); _local2 = m_bodyList; while (_local2) { _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); _local2 = _local2.m_next; }; var _local4:b2Contact = m_contactList; while (_local4) { _local4.m_flags = (_local4.m_flags & ~(b2Contact.e_islandFlag)); _local4 = _local4.m_next; }; var _local5:b2Joint = m_jointList; while (_local5) { _local5.m_islandFlag = false; _local5 = _local5.m_next; }; var _local6:int = m_bodyCount; var _local7:Array = new Array(_local6); var _local8:b2Body = m_bodyList; while (_local8) { if ((_local8.m_flags & ((b2Body.e_islandFlag | b2Body.e_sleepFlag) | b2Body.e_frozenFlag))){ } else { if (_local8.IsStatic()){ } else { _local3.Clear(); _local9 = 0; var _temp1 = _local9; _local9 = (_local9 + 1); var _local15 = _temp1; _local7[_local15] = _local8; _local8.m_flags = (_local8.m_flags | b2Body.e_islandFlag); while (_local9 > 0) { --_local9; _local2 = _local7[_local9]; _local3.AddBody(_local2); _local2.m_flags = (_local2.m_flags & ~(b2Body.e_sleepFlag)); if (_local2.IsStatic()){ } else { _local12 = _local2.m_contactList; while (_local12) { if ((_local12.contact.m_flags & (b2Contact.e_islandFlag | b2Contact.e_nonSolidFlag))){ } else { if (_local12.contact.m_manifoldCount == 0){ } else { _local3.AddContact(_local12.contact); _local12.contact.m_flags = (_local12.contact.m_flags | b2Contact.e_islandFlag); _local11 = _local12.other; if ((_local11.m_flags & b2Body.e_islandFlag)){ } else { var _temp2 = _local9; _local9 = (_local9 + 1); var _local16 = _temp2; _local7[_local16] = _local11; _local11.m_flags = (_local11.m_flags | b2Body.e_islandFlag); }; }; }; _local12 = _local12.next; }; _local13 = _local2.m_jointList; while (_local13) { if (_local13.joint.m_islandFlag == true){ } else { _local3.AddJoint(_local13.joint); _local13.joint.m_islandFlag = true; _local11 = _local13.other; if ((_local11.m_flags & b2Body.e_islandFlag)){ } else { var _temp3 = _local9; _local9 = (_local9 + 1); _local16 = _temp3; _local7[_local16] = _local11; _local11.m_flags = (_local11.m_flags | b2Body.e_islandFlag); }; }; _local13 = _local13.next; }; }; }; _local3.Solve(_arg1, m_gravity, m_positionCorrection, m_allowSleep); if (_local3.m_positionIterationCount > m_positionIterationCount){ m_positionIterationCount = _local3.m_positionIterationCount; }; _local10 = 0; while (_local10 < _local3.m_bodyCount) { _local2 = _local3.m_bodies[_local10]; if (_local2.IsStatic()){ _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); }; _local10++; }; }; }; _local8 = _local8.m_next; }; _local2 = m_bodyList; while (_local2) { if ((_local2.m_flags & (b2Body.e_sleepFlag | b2Body.e_frozenFlag))){ } else { if (_local2.IsStatic()){ } else { _local14 = _local2.SynchronizeShapes(); if ((((_local14 == false)) && (!((m_boundaryListener == null))))){ m_boundaryListener.Violation(_local2); }; }; }; _local2 = _local2.m_next; }; m_broadPhase.Commit(); } public function Query(_arg1:b2AABB, _arg2:Array, _arg3:int):int{ var _local4:Array = new Array(_arg3); var _local5:int = m_broadPhase.QueryAABB(_arg1, _local4, _arg3); var _local6:int; while (_local6 < _local5) { _arg2[_local6] = _local4[_local6]; _local6++; }; return (_local5); } public function SetGravity(_arg1:b2Vec2):void{ m_gravity = _arg1; } public function SolveTOI(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Shape; var _local4:b2Shape; var _local5:b2Body; var _local6:b2Body; var _local7:b2ContactEdge; var _local11:b2Contact; var _local12:b2Contact; var _local13:Number; var _local14:b2Body; var _local15:int; var _local16:b2TimeStep; var _local17:int; var _local18:Number; var _local19:Number; var _local20:b2Body; var _local21:Boolean; var _local8:b2Island = new b2Island(m_bodyCount, b2Settings.b2_maxTOIContactsPerIsland, 0, m_stackAllocator, m_contactListener); var _local9:int = m_bodyCount; var _local10:Array = new Array(_local9); _local2 = m_bodyList; while (_local2) { _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); _local2.m_sweep.t0 = 0; _local2 = _local2.m_next; }; _local11 = m_contactList; while (_local11) { _local11.m_flags = (_local11.m_flags & ~((b2Contact.e_toiFlag | b2Contact.e_islandFlag))); _local11 = _local11.m_next; }; while (true) { _local12 = null; _local13 = 1; _local11 = m_contactList; for (;_local11;(_local11 = _local11.m_next)) { if ((_local11.m_flags & (b2Contact.e_slowFlag | b2Contact.e_nonSolidFlag))){ } else { _local18 = 1; if ((_local11.m_flags & b2Contact.e_toiFlag)){ _local18 = _local11.m_toi; } else { _local3 = _local11.m_shape1; _local4 = _local11.m_shape2; _local5 = _local3.m_body; _local6 = _local4.m_body; if (((((_local5.IsStatic()) || (_local5.IsSleeping()))) && (((_local6.IsStatic()) || (_local6.IsSleeping()))))){ continue; }; _local19 = _local5.m_sweep.t0; if (_local5.m_sweep.t0 < _local6.m_sweep.t0){ _local19 = _local6.m_sweep.t0; _local5.m_sweep.Advance(_local19); } else { if (_local6.m_sweep.t0 < _local5.m_sweep.t0){ _local19 = _local5.m_sweep.t0; _local6.m_sweep.Advance(_local19); }; }; _local18 = b2TimeOfImpact.TimeOfImpact(_local11.m_shape1, _local5.m_sweep, _local11.m_shape2, _local6.m_sweep); if ((((_local18 > 0)) && ((_local18 < 1)))){ _local18 = (((1 - _local18) * _local19) + _local18); if (_local18 > 1){ _local18 = 1; }; }; _local11.m_toi = _local18; _local11.m_flags = (_local11.m_flags | b2Contact.e_toiFlag); }; if ((((Number.MIN_VALUE < _local18)) && ((_local18 < _local13)))){ _local12 = _local11; _local13 = _local18; }; }; }; if ((((_local12 == null)) || (((1 - (100 * Number.MIN_VALUE)) < _local13)))){ break; }; _local3 = _local12.m_shape1; _local4 = _local12.m_shape2; _local5 = _local3.m_body; _local6 = _local4.m_body; _local5.Advance(_local13); _local6.Advance(_local13); _local12.Update(m_contactListener); _local12.m_flags = (_local12.m_flags & ~(b2Contact.e_toiFlag)); if (_local12.m_manifoldCount == 0){ } else { _local14 = _local5; if (_local14.IsStatic()){ _local14 = _local6; }; _local8.Clear(); _local15 = 0; var _temp1 = _local15; _local15 = (_local15 + 1); var _local22 = _temp1; _local10[_local22] = _local14; _local14.m_flags = (_local14.m_flags | b2Body.e_islandFlag); while (_local15 > 0) { --_local15; _local2 = _local10[_local15]; _local8.AddBody(_local2); _local2.m_flags = (_local2.m_flags & ~(b2Body.e_sleepFlag)); if (_local2.IsStatic()){ } else { _local7 = _local2.m_contactList; while (_local7) { if (_local8.m_contactCount == _local8.m_contactCapacity){ } else { if ((_local7.contact.m_flags & ((b2Contact.e_islandFlag | b2Contact.e_slowFlag) | b2Contact.e_nonSolidFlag))){ } else { if (_local7.contact.m_manifoldCount == 0){ } else { _local8.AddContact(_local7.contact); _local7.contact.m_flags = (_local7.contact.m_flags | b2Contact.e_islandFlag); _local20 = _local7.other; if ((_local20.m_flags & b2Body.e_islandFlag)){ } else { if (_local20.IsStatic() == false){ _local20.Advance(_local13); _local20.WakeUp(); }; var _temp2 = _local15; _local15 = (_local15 + 1); var _local23 = _temp2; _local10[_local23] = _local20; _local20.m_flags = (_local20.m_flags | b2Body.e_islandFlag); }; }; }; }; _local7 = _local7.next; }; }; }; _local16 = new b2TimeStep(); _local16.dt = ((1 - _local13) * _arg1.dt); _local16.inv_dt = (1 / _local16.dt); _local16.maxIterations = _arg1.maxIterations; _local8.SolveTOI(_local16); _local17 = 0; while (_local17 < _local8.m_bodyCount) { _local2 = _local8.m_bodies[_local17]; _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); if ((_local2.m_flags & (b2Body.e_sleepFlag | b2Body.e_frozenFlag))){ } else { if (_local2.IsStatic()){ } else { _local21 = _local2.SynchronizeShapes(); if ((((_local21 == false)) && (!((m_boundaryListener == null))))){ m_boundaryListener.Violation(_local2); }; _local7 = _local2.m_contactList; while (_local7) { _local7.contact.m_flags = (_local7.contact.m_flags & ~(b2Contact.e_toiFlag)); _local7 = _local7.next; }; }; }; _local17++; }; _local17 = 0; while (_local17 < _local8.m_contactCount) { _local11 = _local8.m_contacts[_local17]; _local8.m_contacts[_local17].m_flags = (_local11.m_flags & ~((b2Contact.e_toiFlag | b2Contact.e_islandFlag))); _local17++; }; m_broadPhase.Commit(); }; }; } public function GetJointList():b2Joint{ return (m_jointList); } public function GetBodyList():b2Body{ return (m_bodyList); } public function GetPairCount():int{ return (m_broadPhase.m_pairManager.m_pairCount); } public function Validate():void{ m_broadPhase.Validate(); } public function SetWarmStarting(_arg1:Boolean):void{ m_warmStarting = _arg1; } public function SetPositionCorrection(_arg1:Boolean):void{ m_positionCorrection = _arg1; } public function CreateJoint(_arg1:b2JointDef):b2Joint{ var _local3:b2Body; var _local4:b2Shape; var _local2:b2Joint = 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.RefilterProxy(m_broadPhase, _local3.m_xf); _local4 = _local4.m_next; }; }; return (_local2); } public function DestroyJoint(_arg1:b2Joint):void{ var _local5:b2Body; var _local6:b2Shape; var _local2:Boolean = _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; }; var _local3:b2Body = _arg1.m_body1; var _local4:b2Body = _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.RefilterProxy(m_broadPhase, _local5.m_xf); _local6 = _local6.m_next; }; }; } public function SetContactListener(_arg1:b2ContactListener):void{ m_contactListener = _arg1; } public function CreateBody(_arg1:b2BodyDef):b2Body{ if (m_lock == true){ return (null); }; var _local2:b2Body = 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 SetBoundaryListener(_arg1:b2BoundaryListener):void{ m_boundaryListener = _arg1; } public function SetDestructionListener(_arg1:b2DestructionListener):void{ m_destructionListener = _arg1; } public function Step(_arg1:Number, _arg2:int):void{ m_lock = true; var _local3:b2TimeStep = new b2TimeStep(); _local3.dt = _arg1; _local3.maxIterations = _arg2; if (_arg1 > 0){ _local3.inv_dt = (1 / _arg1); } else { _local3.inv_dt = 0; }; _local3.dtRatio = (m_inv_dt0 * _arg1); _local3.positionCorrection = m_positionCorrection; _local3.warmStarting = m_warmStarting; m_contactManager.Collide(); if (_local3.dt > 0){ Solve(_local3); }; if (((m_continuousPhysics) && ((_local3.dt > 0)))){ SolveTOI(_local3); }; DrawDebugData(); m_inv_dt0 = _local3.inv_dt; m_lock = false; } public function GetBodyCount():int{ return (m_bodyCount); } public function GetJointCount():int{ return (m_jointCount); } } }//package Box2D.Dynamics
Section 75
//AdLoader (CPMStar.AdLoader) package CPMStar { import flash.events.*; import flash.display.*; import flash.net.*; import flash.system.*; public class AdLoader extends Sprite { private var errorHandler:Function; private var cpmstarLoader:Loader; private var contentspotid:String; public function AdLoader(_arg1:String, _arg2:Function){ this.contentspotid = _arg1; errorHandler = _arg2; addEventListener(Event.ADDED, addedHandler); } private function dispatchHandler(_arg1:Event):void{ dispatchEvent(_arg1); } private function addedHandler(_arg1:Event):void{ removeEventListener(Event.ADDED, addedHandler); Security.allowDomain("server.cpmstar.com"); var _local2 = "http://server.cpmstar.com/adviewas3.swf"; var _local3:DisplayObjectContainer = parent; cpmstarLoader = new Loader(); cpmstarLoader.contentLoaderInfo.addEventListener(Event.INIT, dispatchHandler); cpmstarLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dispatchHandler); cpmstarLoader.load(new URLRequest(((_local2 + "?contentspotid=") + contentspotid))); cpmstarLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onLoadError); cpmstarLoader.addEventListener(IOErrorEvent.IO_ERROR, onLoadError); addChild(cpmstarLoader); } private function onLoadError(_arg1:IOErrorEvent):void{ errorHandler(); trace(_arg1); } } }//package CPMStar
Section 76
//mannncopy_53 (game_fla.mannncopy_53) package game_fla { import flash.display.*; public dynamic class mannncopy_53 extends MovieClip { public function mannncopy_53(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package game_fla
Section 77
//ADContainer (managers.ads.ADContainer) package managers.ads { import flash.display.*; public dynamic class ADContainer extends MovieClip { } }//package managers.ads
Section 78
//ADEvent (managers.ads.ADEvent) package managers.ads { import flash.events.*; public class ADEvent extends Event { public var state:String; public var adNetwork:String; public var adType:String; public static const AD_LOADED:String = "ad_loaded"; public static const AD_SKIPPED:String = "ad_skipped"; public static const AD_START:String = "ad_start"; public static const ADCOMPLETE:String = "ad_complete"; public static const AD_SHOW_START:String = "ad_show_start"; public function ADEvent(_arg1:String, _arg2:String="", _arg3:String=""){ adType = _arg2; adNetwork = _arg3; super(_arg1); } } }//package managers.ads
Section 79
//ADSManager (managers.ads.ADSManager) package managers.ads { import flash.events.*; import flash.display.*; import CPMStar.*; import mochi.as3.*; import flash.utils.*; public class ADSManager { public static const CPM_STAR_TYPE:String = "cpmstar"; public static const cpmStarPreID:String = "2178Q3639FD27"; public static const AD4_GAME_TYPE:String = "ad4game"; public static const settings:Array = new Array(); public static const _mochiads_game_id:String = "cce0304b33662d85"; public static const PRELOADER_TYPE:String = "preloader"; public static const IN_LEVEL_TYPE:String = "in_level_type"; public static const ad4GameLink:String = "http://ads.ad4game.com/servlet/ajrotator/593873/0/vh?z=ad4game&dim=389637"; public static const cpmStarInterId:String = "2179QCD083CEE"; public static const MOCHI_TYPE:String = "mochi"; private static var maPreSize:Object = {width:300, height:250}; private static var canMochiadShow:Boolean; private static var cpmStarSize:Object = {width:300, height:250}; public static var cpmShowTimerInter:Timer = new Timer((1000 * 5), 1); public static var ad4gameShowTimerInter:Timer = new Timer((1000 * 5), 1); private static var preloaderAd:Boolean; public static var adEvent:EventDispatcher = new EventDispatcher(); private static var canCpmStarShow:Boolean; private static var inClipAdContainer:ADContainer; private static var lastAd:String; private static var ad4gameSize:Object = {width:300, height:250}; public static var cpmShowTimer:Timer = new Timer((1000 * 10), 1); public static var isAdShow:Boolean = false; public static var adNetwork:String = ""; private static var canAd4gameShow:Boolean; private static var onAdsFinishedCallbak:Function; private static var mochiChance:Number; private static var mochiTimer:Timer = new Timer((((1000 * 60) * 5) + 1000), 1); public static var mochiShowTimer:Timer = new Timer((1000 * 10), 1); public static var ad4gameShowTimer:Timer = new Timer((1000 * 10), 1); private static var maSize:Object = {width:300, height:250}; public static var adFinished:Boolean = true; private static var currentSettings:Object; private static var domain:String; private static var currentAdSize:Object = {}; private static var canMochi:Boolean = true; public static var initialized:Boolean = false; public static var mochiShowTimerInter:Timer = new Timer((1000 * 5), 1); private static var cpmStarChance:Number; private static var currentAdClip:MovieClip; private static var canShowAd:Boolean; private static var ad4gameChance:Number; public static var adType:String = ""; public static function showAd(_arg1:MovieClip, _arg2:Function=null, _arg3:Boolean=false, _arg4:int=0):void{ var _local5:Boolean; var _local6:Boolean; var _local7:Boolean; var _local8:AdLoader; var _local9:Object; var _local10:Object; var _local11:Number; var _local12:Number; trace("ShowAdCall"); if (!canShowAd){ return; }; if (isAdShow){ destroyAD(); }; onAdsFinishedCallbak = _arg2; currentAdClip = _arg1; preloaderAd = _arg3; isAdShow = true; adFinished = false; if (_arg4 != 0){ _local5 = (_arg4 == 1); _local6 = (_arg4 == 2); _local7 = (_arg4 == 3); } else { _local11 = ((mochiChance + cpmStarChance) + ad4gameChance); _local12 = (Math.random() * _local11); if (canMochi){ _local5 = (((_local12 < mochiChance)) && (canMochiadShow)); _local6 = (((((_local12 > mochiChance)) && ((_local12 < (mochiChance + cpmStarChance))))) && (canCpmStarShow)); _local7 = (((((_local12 > (mochiChance + cpmStarChance))) && ((_local12 < _local11)))) && (canAd4gameShow)); } else { _local5 = false; _local11 = (cpmStarChance + ad4gameChance); _local12 = (Math.random() * _local11); trace(_local12, cpmStarChance, ad4gameChance); _local6 = (((_local12 < cpmStarChance)) && (canCpmStarShow)); _local7 = (((((_local12 > cpmStarChance)) && ((_local12 < _local11)))) && (canAd4gameShow)); }; }; trace(("canMochi=" + canMochi), _local5, _local6, _local7); inClipAdContainer = new ADContainer(); currentAdClip.addChild(inClipAdContainer); if (_local5){ if (_arg3){ currentAdSize = maPreSize; } else { currentAdSize = maSize; }; } else { if (_local6){ currentAdSize = cpmStarSize; } else { if (_local7){ currentAdSize = ad4gameSize; }; }; }; if (currentAdClip.width > currentAdSize.width){ inClipAdContainer.x = ((currentAdClip.width - currentAdSize.width) * 0.5); }; if (currentAdClip.height > currentAdSize.height){ inClipAdContainer.x = ((currentAdClip.height - currentAdSize.height) * 0.5); }; if (((((preloaderAd) && (_local5))) && (canMochi))){ trace("startShow Pre Mochi"); _local9 = {id:_mochiads_game_id, res:"300x250", clip:inClipAdContainer, no_bg:true, no_progress_bar:true, ad_finished:preMochiFinished, ad_failed:mochiPreFaild, ad_skipped:mochiPreSkipped}; MochiAd.showPreGameAd(_local9); canMochi = false; mochiTimer.start(); isAdShow = true; adNetwork = MOCHI_TYPE; adType = PRELOADER_TYPE; adEvent.dispatchEvent(new ADEvent(ADEvent.AD_START, adType, adNetwork)); return; }; if (((preloaderAd) && (_local6))){ trace("start CMPSTAR PRELOADER"); _local8 = new AdLoader(cpmStarPreID, cpmStarPreFaild); inClipAdContainer.addChild(_local8); cpmShowTimer.start(); isAdShow = true; adNetwork = CPM_STAR_TYPE; adType = PRELOADER_TYPE; adEvent.dispatchEvent(new ADEvent(ADEvent.AD_START, adType, adNetwork)); return; }; if (((preloaderAd) && (_local7))){ }; if (((canMochi) && (_local5))){ trace("show in game MochiAds"); _local9 = {id:_mochiads_game_id, res:"300x250", clip:inClipAdContainer, color:26265, background:0x333333, outline:0xFFFFFF, no_progress_bar:true, ad_finished:interMochiFinished, ad_failed:interMochiFaild, ad_skipped:interMochiSkipped}; MochiAd.showClickAwayAd(_local9); canMochi = false; mochiTimer.start(); mochiShowTimerInter.start(); isAdShow = true; adNetwork = MOCHI_TYPE; adType = IN_LEVEL_TYPE; adEvent.dispatchEvent(new ADEvent(ADEvent.AD_START, adType, adNetwork)); return; }; if (_local6){ trace("start in game CPM"); _local8 = new AdLoader(cpmStarInterId, cpmStarInterFaild); inClipAdContainer.addChild(_local8); cpmShowTimerInter.start(); isAdShow = true; adNetwork = CPM_STAR_TYPE; adType = IN_LEVEL_TYPE; adEvent.dispatchEvent(new ADEvent(ADEvent.AD_START, adType, adNetwork)); return; }; if (_local7){ return; }; throw (new Error("���� �� ���!!!")); } private static function inLevelMochiShowStart():void{ trace("in level MochiAds show start"); adEvent.dispatchEvent(new ADEvent(ADEvent.AD_SHOW_START, adType, adNetwork)); } private static function mochiPreFaild():void{ trace("mochi Preloader Faild"); finishAds(); } private static function interMochiSkipped():void{ trace("inter mochi skipped"); mochiShowTimer.stop(); finishAds(); } private static function onAd4GameInlevelFaild():void{ trace("ad4Game in game Faild"); finishAds(); ad4gameShowTimer.stop(); } public static function init(_arg1:Stage):void{ var _local3:String; setDomain(_arg1); var _local2:Boolean; for (_local3 in settings) { if (_local3 == domain){ _local2 = true; }; }; if (_local2){ currentSettings = settings[domain]; } else { currentSettings = settings["default"]; }; canShowAd = currentSettings.show; mochiChance = currentSettings.chance[0]; cpmStarChance = currentSettings.chance[1]; ad4gameChance = currentSettings.chance[2]; canMochiadShow = currentSettings.ads[0]; canCpmStarShow = currentSettings.ads[1]; canAd4gameShow = currentSettings.ads[2]; mochiTimer.addEventListener(TimerEvent.TIMER, onMochiTimer); cpmShowTimer.addEventListener(TimerEvent.TIMER, onCpmPreFinished); mochiShowTimer.addEventListener(TimerEvent.TIMER, preMochiFinished); ad4gameShowTimer.addEventListener(TimerEvent.TIMER, onAd4gamePreFinished); cpmShowTimerInter.addEventListener(TimerEvent.TIMER, onCpmInterFinished); mochiShowTimerInter.addEventListener(TimerEvent.TIMER, interMochiFinished); ad4gameShowTimerInter.addEventListener(TimerEvent.TIMER, onAd4gameInterFinished); initialized = true; } private static function finishAds():void{ if (onAdsFinishedCallbak != null){ onAdsFinishedCallbak(); }; adFinished = true; adEvent.dispatchEvent(new ADEvent(ADEvent.ADCOMPLETE, adType, adNetwork)); } private static function onCpmPreFinished(_arg1:TimerEvent):void{ trace("cpmStar Pre finished"); finishAds(); } private static function cpmStarInterFaild():void{ trace("cpm star inter faild"); finishAds(); cpmShowTimer.stop(); } private static function preMochiShowStart():void{ trace("preloader MochiAds show start"); adEvent.dispatchEvent(new ADEvent(ADEvent.AD_SHOW_START, adType, adNetwork)); } private static function cpmStarPreFaild():void{ trace("cpmStar Preloader Faild"); cpmShowTimer.stop(); finishAds(); } private static function interMochiFaild():void{ trace("inter Mochi Faild"); finishAds(); mochiShowTimer.stop(); } private static function onAd4GamePreFaild():void{ trace("ad4Game preloader Faild"); finishAds(); ad4gameShowTimer.stop(); } private static function mochiPreSkipped():void{ trace("mochi Preloader Skipped"); finishAds(); } private static function preMochiFinished():void{ trace("preloader MochiAds Finished"); finishAds(); } private static function onAd4gamePreFinished(_arg1:TimerEvent=null):void{ trace("ad4Game pre finished"); finishAds(); ad4gameShowTimer.stop(); } private static function inLevelMochiLoaded():void{ trace("in level MochiAds loaded"); adEvent.dispatchEvent(new ADEvent(ADEvent.AD_LOADED, adType, adNetwork)); } private static function onCpmInterFinished(_arg1:TimerEvent):void{ trace("cpmStar inter finished"); finishAds(); } public static function destroyAD():void{ if (currentAdClip){ while (currentAdClip.numChildren) { currentAdClip.removeChild(currentAdClip.getChildAt(0)); }; }; inClipAdContainer = null; currentAdClip = null; isAdShow = false; cpmShowTimer.stop(); mochiShowTimer.stop(); ad4gameShowTimer.stop(); } private static function setDomain(_arg1:Stage):void{ var _local2:String = _arg1.loaderInfo.loaderURL; var _local3:int = (_local2.indexOf("://") + 3); var _local4:int = _local2.indexOf("/", _local3); domain = _local2.substring(_local3, _local4); var _local5:Array = domain.split("."); if (_local5.length == 4){ domain = ((((_local5[1] + ".") + _local5[2]) + ".") + _local5[3]); } else { if (_local5.length == 3){ domain = ((_local5[1] + ".") + _local5[2]); } else { if (_local5.length == 2){ domain = ((_local5[0] + ".") + _local5[1]); }; }; }; } private static function preMochiLoaded():void{ trace("preloader MochiAds loaded"); adEvent.dispatchEvent(new ADEvent(ADEvent.AD_LOADED, adType, adNetwork)); } private static function onAd4gameInterFinished(_arg1:TimerEvent=null):void{ trace("ad4Game inter finished"); finishAds(); ad4gameShowTimer.stop(); } private static function interMochiFinished(_arg1:TimerEvent=null):void{ trace("inter Mochi Finished"); finishAds(); } private static function onMochiTimer(_arg1:TimerEvent):void{ canMochi = true; mochiTimer.stop(); trace("can show MochiAds"); } settings["default"] = {show:true, ads:[false, true, false], chance:[0, 100, 0]}; } }//package managers.ads
Section 80
//LinksManager (managers.LinksManager) package managers { import flash.display.*; import flash.external.*; import flash.net.*; public class LinksManager { public static var domain:String; public static var initialized:Boolean = false; private static var _isGarbuz:Boolean = false; private static var allowNetworking:Boolean = true; private static var _isLocal:Boolean = false; private static var _isGameLicense:Boolean = false; private static var _showAdFlag:Boolean = false; private static var _isCoolBuddy:Boolean = false; private static var stage:Stage; public static function get isGarbuz():Boolean{ return (_isGarbuz); } public static function goWalkThouthCoolBuddy():void{ navigateToURL(new URLRequest("http://www.coolbuddy.com/games/community/Game_walkthrough.asp?cat=1840"), "_blank"); } private static function setDomain(_arg1:String):void{ var _local2:int = (_arg1.indexOf("://") + 3); var _local3:int = _arg1.indexOf("/", _local2); domain = _arg1.substring(_local2, _local3); var _local4:Array = domain.split("."); if (_local4.length == 4){ domain = ((((_local4[1] + ".") + _local4[2]) + ".") + _local4[3]); } else { if (_local4.length == 3){ domain = ((_local4[1] + ".") + _local4[2]); } else { if (_local4.length == 2){ domain = ((_local4[0] + ".") + _local4[1]); }; }; }; domain = ((((domain.length > 0)) && ((domain.indexOf("file://") < 0)))) ? domain : "local"; } public static function goFaceBookCoolBuddy():void{ navigateToURL(new URLRequest("http://www.facebook.com/pages/Coolbuddy-Games/177306910591"), "_blank"); } public static function init(_arg1:Stage):void{ initialized = true; stage = _arg1; var _local2:String = getDomain(); setDomain(_local2); _isGameLicense = (domain == "flashgamelicense.com"); _isGarbuz = (((domain == "garbuz-studio.com")) || ((domain == "garbuzgames.com"))); _isLocal = (((domain == "local")) || ((domain == "localhost"))); _isCoolBuddy = (domain == "coolbuddy.com"); _isLocal = true; if (((((_isGarbuz) || (_isGameLicense))) || (_isCoolBuddy))){ _isLocal = false; }; _isLocal = false; } public static function goMoreGamesCoolBuddy():void{ navigateToURL(new URLRequest("http://www.coolbuddy.com"), "_blank"); } public static function goAddGameCoolBuddy():void{ navigateToURL(new URLRequest("http://www.coolbuddy.com/games/games/Game_cat.asp?cat=Coolbuddy"), "_blank"); } public static function get showAdFlag():Boolean{ return (_showAdFlag); } public static function navigateGarbuzGames():void{ navigateToURL(new URLRequest("http://garbuzgames.com"), "_blank"); } public static function get isGameLicense():Boolean{ return (_isGameLicense); } public static function goCoolBuddy():void{ navigateToURL(new URLRequest("http://www.coolbuddy.com"), "_blank"); } public static function navigateGarbuzStudio():void{ navigateToURL(new URLRequest("http://garbuz-studio.com"), "_blank"); } public static function get isLocal():Boolean{ return (_isLocal); } public static function getDomain():String{ var url:String; var str:String; var ind:int; try { url = String(ExternalInterface.call("function(){ var afk = document.location.href; return afk; }")); if (url.toString() == "null"){ return (stage.loaderInfo.loaderURL); }; return (url); } catch(e:Error) { str = e.toString(); ind = str.lastIndexOf("://"); if (ind >= 0){ return (str.substring(ind)); }; }; return (stage.loaderInfo.loaderURL); } public static function navigateMoreGames():void{ navigateToURL(new URLRequest("http://garbuzgames.com"), "_blank"); } } }//package managers
Section 81
//MyTimer (managers.MyTimer) package managers { import flash.events.*; import flash.display.*; import flash.filters.*; public class MyTimer extends MovieClip { public var end:Boolean;// = false public var mozna:Boolean;// = true private var its_me:taimer; public function MyTimer(){ its_me = new taimer(); super(); its_me.filters = [new BlurFilter(2, 2)]; its_me.addEventListener(Event.ENTER_FRAME, step); } public function setToZerro():void{ its_me.gotoAndStop(1); its_me.visible = false; end = false; } public function start():void{ if (!mozna){ return; }; its_me.visible = true; its_me.play(); end = false; } private function step(_arg1:Event):void{ if (_arg1.currentTarget.currentFrame == 90){ end = true; its_me.visible = false; mozna = false; trace("end timer"); }; } } }//package managers
Section 82
//StartLogo (managers.StartLogo) package managers { import flash.events.*; import flash.display.*; public class StartLogo extends MovieClip { private const FINISH_TIME:Number = 250; private var finish_int:Number;// = 0 public var finish:Boolean;// = false private var its_me:animation; public function StartLogo(){ its_me = new animation(); super(); this.addChild(its_me); its_me.anim.addEventListener(Event.ENTER_FRAME, update); its_me.anim.addEventListener(MouseEvent.CLICK, on_click); } private function update(_arg1:Event):void{ trace("start"); if (its_me.anim.currentFrame == its_me.anim.totalFrames){ its_me.anim.stop(); }; finish_int++; if (FINISH_TIME < finish_int){ finish = true; its_me.anim.removeEventListener(Event.ENTER_FRAME, update); its_me.anim.removeEventListener(MouseEvent.CLICK, on_click); this.removeChild(its_me); its_me = null; }; } private function on_click(_arg1:Event):void{ } } }//package managers
Section 83
//Tutorial (managers.Tutorial) package managers { import flash.events.*; import flash.display.*; import flash.filters.*; public class Tutorial extends MovieClip { private var its_me:instrukt; public function Tutorial(){ its_me = new instrukt(); super(); its_me.x = 290; its_me.y = 195; its_me.scaleX = 1.48; its_me.scaleY = 1.48; } public function showMe():void{ its_me.m_play.addEventListener(MouseEvent.CLICK, hideMe); its_me.skip.addEventListener(MouseEvent.CLICK, hideMe); its_me.movie.addEventListener(Event.ENTER_FRAME, step); its_me.m_play.visible = false; its_me.skip.visible = true; this.addChild(its_me); its_me.movie.gotoAndPlay(1); Main.bg.filters = [new BlurFilter(8, 8, 3)]; Display.display.alpha = 0; Main._stones.filters = [new BlurFilter(8, 8, 3)]; } public function hideMe(_arg1:MouseEvent=null):void{ its_me.skip.removeEventListener(MouseEvent.CLICK, hideMe); if (this.contains(its_me)){ this.removeChild(its_me); }; Main.bg.filters = []; Display.display.alpha = 1; Main._stones.filters = []; its_me.movie.gotoAndStop(1); Main._timer.reset(); Main._timer.start(); } private function step(_arg1:Event):void{ if (_arg1.currentTarget.currentFrame == 228){ its_me.movie.stop(); its_me.m_play.visible = true; }; } public function playMe(_arg1:MouseEvent=null):void{ } } }//package managers
Section 84
//1chose_65 (menu_fla.1chose_65) package menu_fla { import flash.display.*; import flash.text.*; public dynamic class 1chose_65 extends MovieClip { public var txt:TextField; public var but:SimpleButton; } }//package menu_fla
Section 85
//continue_155 (menu_fla.continue_155) package menu_fla { import flash.display.*; public dynamic class continue_155 extends MovieClip { public var continue_game:SimpleButton; } }//package menu_fla
Section 86
//credits_g_138 (menu_fla.credits_g_138) package menu_fla { import flash.display.*; public dynamic class credits_g_138 extends MovieClip { public var garbLogo:MovieClip; } }//package menu_fla
Section 87
//dbsound_115 (menu_fla.dbsound_115) package menu_fla { import flash.display.*; public dynamic class dbsound_115 extends MovieClip { public function dbsound_115(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package menu_fla
Section 88
//fon_99 (menu_fla.fon_99) package menu_fla { import flash.display.*; public dynamic class fon_99 extends MovieClip { public var level:MovieClip; } }//package menu_fla
Section 89
//glift_21 (menu_fla.glift_21) package menu_fla { import flash.display.*; public dynamic class glift_21 extends MovieClip { public var vert:MovieClip; } }//package menu_fla
Section 90
//gSymbol16_22 (menu_fla.gSymbol16_22) package menu_fla { import flash.display.*; public dynamic class gSymbol16_22 extends MovieClip { public var vert:MovieClip; } }//package menu_fla
Section 91
//level_100 (menu_fla.level_100) package menu_fla { import flash.display.*; import flash.text.*; public dynamic class level_100 extends MovieClip { public var txt:TextField; } }//package menu_fla
Section 92
//levels_bg_58 (menu_fla.levels_bg_58) package menu_fla { import flash.display.*; public dynamic class levels_bg_58 extends MovieClip { public var logo:MovieClip; public var add_game:MovieClip; } }//package menu_fla
Section 93
//lift_32 (menu_fla.lift_32) package menu_fla { import flash.display.*; public dynamic class lift_32 extends MovieClip { public var vert:MovieClip; public function lift_32(){ addFrameScript(0, frame1, 39, frame40); } function frame1(){ stop(); } function frame40(){ stop(); } } }//package menu_fla
Section 94
//MassagesBag_gnew_92 (menu_fla.MassagesBag_gnew_92) package menu_fla { import flash.display.*; public dynamic class MassagesBag_gnew_92 extends MovieClip { public var walk:MovieClip; } }//package menu_fla
Section 95
//menu_gr1_145 (menu_fla.menu_gr1_145) package menu_fla { import flash.display.*; public dynamic class menu_gr1_145 extends MovieClip { public var logo:MovieClip; public var faceBtn:MovieClip; } }//package menu_fla
Section 96
//ql2o3_9 (menu_fla.ql2o3_9) package menu_fla { import flash.display.*; public dynamic class ql2o3_9 extends MovieClip { public var t1:MovieClip; public var g:MovieClip; } }//package menu_fla
Section 97
//ql2o4_17 (menu_fla.ql2o4_17) package menu_fla { import flash.display.*; public dynamic class ql2o4_17 extends MovieClip { public var g:MovieClip; public function ql2o4_17(){ addFrameScript(0, frame1); } function frame1(){ play(); } } }//package menu_fla
Section 98
//qSymbol3_2 (menu_fla.qSymbol3_2) package menu_fla { import flash.display.*; public dynamic class qSymbol3_2 extends MovieClip { public var s1:MovieClip; public var vert:MovieClip; public var hor:MovieClip; public var g:MovieClip; public function qSymbol3_2(){ addFrameScript(0, frame1, 228, frame229); } function frame1(){ stop(); } function frame229(){ stop(); } } }//package menu_fla
Section 99
//result_g_70 (menu_fla.result_g_70) package menu_fla { import flash.display.*; public dynamic class result_g_70 extends MovieClip { public var logo:MovieClip; } }//package menu_fla
Section 100
//sabmitscore_75 (menu_fla.sabmitscore_75) package menu_fla { import flash.display.*; public dynamic class sabmitscore_75 extends MovieClip { public var sabmit:SimpleButton; } }//package menu_fla
Section 101
//Symbol16_33 (menu_fla.Symbol16_33) package menu_fla { import flash.display.*; public dynamic class Symbol16_33 extends MovieClip { public var vert:MovieClip; } }//package menu_fla
Section 102
//Symbol18_80 (menu_fla.Symbol18_80) package menu_fla { import flash.display.*; public dynamic class Symbol18_80 extends MovieClip { public var fon:MovieClip; } }//package menu_fla
Section 103
//Symbol9q_34 (menu_fla.Symbol9q_34) package menu_fla { import flash.display.*; public dynamic class Symbol9q_34 extends MovieClip { public var jump:Symbol14q; public var vert:Symbol14q; } }//package menu_fla
Section 104
//MochiAd (mochi.as3.MochiAd) package mochi.as3 { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("3.0 as3"); } public static function showClickAwayAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; var sendHostProgress:Boolean; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; var _local1:Object = this.parent._mochiad_ctr; var _local2:Number = (getTimer() - this.started); var _local3:Boolean; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(_arg1:String):String{ var _local2:String = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType == "application"){ return (_local2); }; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (_arg1.origFrameRate != undefined){ _arg1.stage.frameRate = _arg1.origFrameRate; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad._containerLCName != undefined){ _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"}); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; var ad_msec:Number = 11000; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; var fadeout_time:Number = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; var _local1:Object = this.parent._mochiad_ctr; var _local2:Number = (getTimer() - this.started); var _local3:Boolean; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; var _local3:Object = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); }; return (_local3); } public static function _cleanup(_arg1:Object):void{ var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; var idx:Number = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(_arg1:Object):MovieClip{ var clip:Object; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; var DEFAULTS:Object = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; var depth:Number = options.depth; delete options.depth; var mc:MovieClip = createEmptyMovieClip(clip, "_mochiad", depth); var wh:Array = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; } else { trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal"); }; var lv:URLVariables = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime())); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function (_arg1:IOErrorEvent):void{ trace("[MochiAds] Blocked URL"); }); loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array = _arg2.split("."); var _local5:Number = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local6:Array; var _local3:Object = _arg2.getBounds(_arg2.root); var _local4:Number = 0; var _local5:Number = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array = _arg2.split("."); var _local4:Number = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = MochiAd.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; default: trace(("[mochiads rpc] unknown rpc id: " + _arg3.id)); }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array = _arg2.split("."); var _local5:Number = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function showPreGameAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var complete:Boolean; var unloaded:Boolean; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }, ad_progress:function (_arg1:Number):void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); return; }; clip = options.clip; var ad_msec:Number = 11000; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; var fadeout_time:Number = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); var fn:Function = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; var wh:Array = MochiAd._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); var bar:MovieClip = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = 10; bar.y = (h - 20); }; var bar_color:Number = options.color; delete options.color; var bar_background:Number = options.background; delete options.background; var bar_outline:Number = options.outline; delete options.outline; var backing_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 1); var backing:Object = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); var inside_mc:MovieClip = createEmptyMovieClip(bar, "_inside", 2); var inside:Object = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; var outline_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 3); var outline:Object = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; var f:Function = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ trace(("[MOCHIAD rpcTestFn] " + _arg1)); return (_arg1); }; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local11:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; var _local1:Object = this.parent.parent.root; var _local2:Object = this.parent._mochiad_ctr; var _local3:Number = (getTimer() - this.started); var _local4:Boolean; var _local5:Number = _local1.loaderInfo.bytesTotal; var _local6:Number = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; var _local7:Number = ((100 * _local6) / _local5); var _local8:Number = ((100 * _local3) / chk.ad_msec); var _local9:Object = this._mochiad_bar._inside; var _local10:Number = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); options.ad_progress(_local10); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7}); if (_local7 == 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local11 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); MochiAd.showPreGameAd(_arg1); } public static function showTimedAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); MochiAd.showInterLevelAd(_arg1); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var mc = _arg1; var f:Function = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package mochi.as3
Section 105
//EdgeMetrics (mx.core.EdgeMetrics) package mx.core { public class EdgeMetrics { public var top:Number; public var left:Number; public var bottom:Number; public var right:Number; mx_internal static const VERSION:String = "3.5.0.12683"; public static const EMPTY:EdgeMetrics = new EdgeMetrics(0, 0, 0, 0); ; public function EdgeMetrics(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0){ this.left = _arg1; this.top = _arg2; this.right = _arg3; this.bottom = _arg4; } public function clone():EdgeMetrics{ return (new EdgeMetrics(left, top, right, bottom)); } } }//package mx.core
Section 106
//FlexLoader (mx.core.FlexLoader) package mx.core { import flash.display.*; import mx.utils.*; public class FlexLoader extends Loader { mx_internal static const VERSION:String = "3.5.0.12683"; public function FlexLoader(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 107
//FlexShape (mx.core.FlexShape) package mx.core { import flash.display.*; import mx.utils.*; public class FlexShape extends Shape { mx_internal static const VERSION:String = "3.5.0.12683"; public function FlexShape(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 108
//FlexVersion (mx.core.FlexVersion) package mx.core { import mx.resources.*; public class FlexVersion { public static const VERSION_2_0_1:uint = 33554433; public static const CURRENT_VERSION:uint = 50331648; public static const VERSION_3_0:uint = 50331648; public static const VERSION_2_0:uint = 33554432; public static const VERSION_ALREADY_READ:String = "versionAlreadyRead"; public static const VERSION_ALREADY_SET:String = "versionAlreadySet"; mx_internal static const VERSION:String = "3.5.0.12683"; private static var compatibilityVersionChanged:Boolean = false; private static var _compatibilityErrorFunction:Function; private static var _compatibilityVersion:uint = 50331648; private static var compatibilityVersionRead:Boolean = false; mx_internal static function changeCompatibilityVersionString(_arg1:String):void{ var _local2:Array = _arg1.split("."); var _local3:uint = parseInt(_local2[0]); var _local4:uint = parseInt(_local2[1]); var _local5:uint = parseInt(_local2[2]); _compatibilityVersion = (((_local3 << 24) + (_local4 << 16)) + _local5); } public static function set compatibilityVersion(_arg1:uint):void{ var _local2:String; if (_arg1 == _compatibilityVersion){ return; }; if (compatibilityVersionChanged){ if (compatibilityErrorFunction == null){ _local2 = ResourceManager.getInstance().getString("core", VERSION_ALREADY_SET); throw (new Error(_local2)); }; compatibilityErrorFunction(_arg1, VERSION_ALREADY_SET); }; if (compatibilityVersionRead){ if (compatibilityErrorFunction == null){ _local2 = ResourceManager.getInstance().getString("core", VERSION_ALREADY_READ); throw (new Error(_local2)); }; compatibilityErrorFunction(_arg1, VERSION_ALREADY_READ); }; _compatibilityVersion = _arg1; compatibilityVersionChanged = true; } public static function get compatibilityVersion():uint{ compatibilityVersionRead = true; return (_compatibilityVersion); } public static function set compatibilityErrorFunction(_arg1:Function):void{ _compatibilityErrorFunction = _arg1; } public static function set compatibilityVersionString(_arg1:String):void{ var _local2:Array = _arg1.split("."); var _local3:uint = parseInt(_local2[0]); var _local4:uint = parseInt(_local2[1]); var _local5:uint = parseInt(_local2[2]); compatibilityVersion = (((_local3 << 24) + (_local4 << 16)) + _local5); } public static function get compatibilityErrorFunction():Function{ return (_compatibilityErrorFunction); } public static function get compatibilityVersionString():String{ var _local1:uint = ((compatibilityVersion >> 24) & 0xFF); var _local2:uint = ((compatibilityVersion >> 16) & 0xFF); var _local3:uint = (compatibilityVersion & 0xFFFF); return (((((_local1.toString() + ".") + _local2.toString()) + ".") + _local3.toString())); } } }//package mx.core
Section 109
//IBorder (mx.core.IBorder) package mx.core { public interface IBorder { function get borderMetrics():EdgeMetrics; } }//package mx.core
Section 110
//IButton (mx.core.IButton) package mx.core { public interface IButton extends IUIComponent { function get emphasized():Boolean; function set emphasized(_arg1:Boolean):void; function callLater(_arg1:Function, _arg2:Array=null):void; } }//package mx.core
Section 111
//IChildList (mx.core.IChildList) package mx.core { import flash.display.*; import flash.geom.*; public interface IChildList { function get numChildren():int; function removeChild(_arg1:DisplayObject):DisplayObject; function getChildByName(_arg1:String):DisplayObject; function removeChildAt(_arg1:int):DisplayObject; function getChildIndex(_arg1:DisplayObject):int; function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject; function getObjectsUnderPoint(_arg1:Point):Array; function setChildIndex(_arg1:DisplayObject, _arg2:int):void; function getChildAt(_arg1:int):DisplayObject; function addChild(_arg1:DisplayObject):DisplayObject; function contains(_arg1:DisplayObject):Boolean; } }//package mx.core
Section 112
//IContainer (mx.core.IContainer) package mx.core { import flash.display.*; import flash.media.*; import flash.geom.*; import mx.managers.*; import flash.text.*; public interface IContainer extends IUIComponent { function set hitArea(_arg1:Sprite):void; function swapChildrenAt(_arg1:int, _arg2:int):void; function getChildByName(_arg1:String):DisplayObject; function get doubleClickEnabled():Boolean; function get graphics():Graphics; function get useHandCursor():Boolean; function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject; function set mouseChildren(_arg1:Boolean):void; function set creatingContentPane(_arg1:Boolean):void; function get textSnapshot():TextSnapshot; function getChildIndex(_arg1:DisplayObject):int; function set doubleClickEnabled(_arg1:Boolean):void; function getObjectsUnderPoint(_arg1:Point):Array; function get creatingContentPane():Boolean; function setChildIndex(_arg1:DisplayObject, _arg2:int):void; function get soundTransform():SoundTransform; function set useHandCursor(_arg1:Boolean):void; function get numChildren():int; function contains(_arg1:DisplayObject):Boolean; function get verticalScrollPosition():Number; function set defaultButton(_arg1:IFlexDisplayObject):void; function swapChildren(_arg1:DisplayObject, _arg2:DisplayObject):void; function set horizontalScrollPosition(_arg1:Number):void; function get focusManager():IFocusManager; function startDrag(_arg1:Boolean=false, _arg2:Rectangle=null):void; function set mouseEnabled(_arg1:Boolean):void; function getChildAt(_arg1:int):DisplayObject; function set soundTransform(_arg1:SoundTransform):void; function get tabChildren():Boolean; function get tabIndex():int; function set focusRect(_arg1:Object):void; function get hitArea():Sprite; function get mouseChildren():Boolean; function removeChildAt(_arg1:int):DisplayObject; function get defaultButton():IFlexDisplayObject; function stopDrag():void; function set tabEnabled(_arg1:Boolean):void; function get horizontalScrollPosition():Number; function get focusRect():Object; function get viewMetrics():EdgeMetrics; function set verticalScrollPosition(_arg1:Number):void; function get dropTarget():DisplayObject; function get mouseEnabled():Boolean; function set tabChildren(_arg1:Boolean):void; function set buttonMode(_arg1:Boolean):void; function get tabEnabled():Boolean; function get buttonMode():Boolean; function removeChild(_arg1:DisplayObject):DisplayObject; function set tabIndex(_arg1:int):void; function addChild(_arg1:DisplayObject):DisplayObject; function areInaccessibleObjectsUnderPoint(_arg1:Point):Boolean; } }//package mx.core
Section 113
//IFlexDisplayObject (mx.core.IFlexDisplayObject) package mx.core { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.accessibility.*; public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher { function get visible():Boolean; function get rotation():Number; function localToGlobal(_arg1:Point):Point; function get name():String; function set width(_arg1:Number):void; function get measuredHeight():Number; function get blendMode():String; function get scale9Grid():Rectangle; function set name(_arg1:String):void; function set scaleX(_arg1:Number):void; function set scaleY(_arg1:Number):void; function get measuredWidth():Number; function get accessibilityProperties():AccessibilityProperties; function set scrollRect(_arg1:Rectangle):void; function get cacheAsBitmap():Boolean; function globalToLocal(_arg1:Point):Point; function get height():Number; function set blendMode(_arg1:String):void; function get parent():DisplayObjectContainer; function getBounds(_arg1:DisplayObject):Rectangle; function get opaqueBackground():Object; function set scale9Grid(_arg1:Rectangle):void; function setActualSize(_arg1:Number, _arg2:Number):void; function set alpha(_arg1:Number):void; function set accessibilityProperties(_arg1:AccessibilityProperties):void; function get width():Number; function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean; function set cacheAsBitmap(_arg1:Boolean):void; function get scaleX():Number; function get scaleY():Number; function get scrollRect():Rectangle; function get mouseX():Number; function get mouseY():Number; function set height(_arg1:Number):void; function set mask(_arg1:DisplayObject):void; function getRect(_arg1:DisplayObject):Rectangle; function get alpha():Number; function set transform(_arg1:Transform):void; function move(_arg1:Number, _arg2:Number):void; function get loaderInfo():LoaderInfo; function get root():DisplayObject; function hitTestObject(_arg1:DisplayObject):Boolean; function set opaqueBackground(_arg1:Object):void; function set visible(_arg1:Boolean):void; function get mask():DisplayObject; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function get transform():Transform; function set filters(_arg1:Array):void; function get x():Number; function get y():Number; function get filters():Array; function set rotation(_arg1:Number):void; function get stage():Stage; } }//package mx.core
Section 114
//IFlexModuleFactory (mx.core.IFlexModuleFactory) package mx.core { import flash.utils.*; public interface IFlexModuleFactory { function get preloadedRSLs():Dictionary; function allowInsecureDomain(... _args):void; function create(... _args):Object; function allowDomain(... _args):void; function info():Object; } }//package mx.core
Section 115
//IInvalidating (mx.core.IInvalidating) package mx.core { public interface IInvalidating { function validateNow():void; function invalidateSize():void; function invalidateDisplayList():void; function invalidateProperties():void; } }//package mx.core
Section 116
//IProgrammaticSkin (mx.core.IProgrammaticSkin) package mx.core { public interface IProgrammaticSkin { function validateNow():void; function validateDisplayList():void; } }//package mx.core
Section 117
//IRawChildrenContainer (mx.core.IRawChildrenContainer) package mx.core { public interface IRawChildrenContainer { function get rawChildren():IChildList; } }//package mx.core
Section 118
//IRectangularBorder (mx.core.IRectangularBorder) package mx.core { import flash.geom.*; public interface IRectangularBorder extends IBorder { function get backgroundImageBounds():Rectangle; function get hasBackgroundImage():Boolean; function set backgroundImageBounds(_arg1:Rectangle):void; function layoutBackgroundImage():void; } }//package mx.core
Section 119
//IRepeaterClient (mx.core.IRepeaterClient) package mx.core { public interface IRepeaterClient { function get instanceIndices():Array; function set instanceIndices(_arg1:Array):void; function get isDocument():Boolean; function set repeaters(_arg1:Array):void; function initializeRepeaterArrays(_arg1:IRepeaterClient):void; function get repeaters():Array; function set repeaterIndices(_arg1:Array):void; function get repeaterIndices():Array; } }//package mx.core
Section 120
//ISWFBridgeGroup (mx.core.ISWFBridgeGroup) package mx.core { import flash.events.*; public interface ISWFBridgeGroup { function getChildBridgeProvider(_arg1:IEventDispatcher):ISWFBridgeProvider; function removeChildBridge(_arg1:IEventDispatcher):void; function get parentBridge():IEventDispatcher; function addChildBridge(_arg1:IEventDispatcher, _arg2:ISWFBridgeProvider):void; function set parentBridge(_arg1:IEventDispatcher):void; function containsBridge(_arg1:IEventDispatcher):Boolean; function getChildBridges():Array; } }//package mx.core
Section 121
//ISWFBridgeProvider (mx.core.ISWFBridgeProvider) package mx.core { import flash.events.*; public interface ISWFBridgeProvider { function get childAllowsParent():Boolean; function get swfBridge():IEventDispatcher; function get parentAllowsChild():Boolean; } }//package mx.core
Section 122
//IUIComponent (mx.core.IUIComponent) package mx.core { import flash.display.*; import mx.managers.*; public interface IUIComponent extends IFlexDisplayObject { function set focusPane(_arg1:Sprite):void; function get enabled():Boolean; function set enabled(_arg1:Boolean):void; function set isPopUp(_arg1:Boolean):void; function get explicitMinHeight():Number; function get percentWidth():Number; function get isPopUp():Boolean; function get owner():DisplayObjectContainer; function get percentHeight():Number; function get baselinePosition():Number; function owns(_arg1:DisplayObject):Boolean; function initialize():void; function get maxWidth():Number; function get minWidth():Number; function getExplicitOrMeasuredWidth():Number; function get explicitMaxWidth():Number; function get explicitMaxHeight():Number; function set percentHeight(_arg1:Number):void; function get minHeight():Number; function set percentWidth(_arg1:Number):void; function get document():Object; function get focusPane():Sprite; function getExplicitOrMeasuredHeight():Number; function set tweeningProperties(_arg1:Array):void; function set explicitWidth(_arg1:Number):void; function set measuredMinHeight(_arg1:Number):void; function get explicitMinWidth():Number; function get tweeningProperties():Array; function get maxHeight():Number; function set owner(_arg1:DisplayObjectContainer):void; function set includeInLayout(_arg1:Boolean):void; function setVisible(_arg1:Boolean, _arg2:Boolean=false):void; function parentChanged(_arg1:DisplayObjectContainer):void; function get explicitWidth():Number; function get measuredMinHeight():Number; function set measuredMinWidth(_arg1:Number):void; function set explicitHeight(_arg1:Number):void; function get includeInLayout():Boolean; function get measuredMinWidth():Number; function get explicitHeight():Number; function set systemManager(_arg1:ISystemManager):void; function set document(_arg1:Object):void; function get systemManager():ISystemManager; } }//package mx.core
Section 123
//mx_internal (mx.core.mx_internal) package mx.core { public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal"; }//package mx.core
Section 124
//Singleton (mx.core.Singleton) package mx.core { public class Singleton { mx_internal static const VERSION:String = "3.5.0.12683"; private static var classMap:Object = {}; public static function registerClass(_arg1:String, _arg2:Class):void{ var _local3:Class = classMap[_arg1]; if (!_local3){ classMap[_arg1] = _arg2; }; } public static function getClass(_arg1:String):Class{ return (classMap[_arg1]); } public static function getInstance(_arg1:String):Object{ var _local2:Class = classMap[_arg1]; if (!_local2){ throw (new Error((("No class registered for interface '" + _arg1) + "'."))); }; return (_local2["getInstance"]()); } } }//package mx.core
Section 125
//UIComponentGlobals (mx.core.UIComponentGlobals) package mx.core { import flash.display.*; import flash.geom.*; import mx.managers.*; public class UIComponentGlobals { mx_internal static var callLaterSuspendCount:int = 0; mx_internal static var layoutManager:ILayoutManager; mx_internal static var nextFocusObject:InteractiveObject; mx_internal static var designTime:Boolean = false; mx_internal static var tempMatrix:Matrix = new Matrix(); mx_internal static var callLaterDispatcherCount:int = 0; private static var _catchCallLaterExceptions:Boolean = false; public static function set catchCallLaterExceptions(_arg1:Boolean):void{ _catchCallLaterExceptions = _arg1; } public static function get designMode():Boolean{ return (designTime); } public static function set designMode(_arg1:Boolean):void{ designTime = _arg1; } public static function get catchCallLaterExceptions():Boolean{ return (_catchCallLaterExceptions); } } }//package mx.core
Section 126
//ModuleEvent (mx.events.ModuleEvent) package mx.events { import flash.events.*; import mx.core.*; import mx.modules.*; public class ModuleEvent extends ProgressEvent { public var errorText:String; private var _module:IModuleInfo; public static const READY:String = "ready"; public static const ERROR:String = "error"; public static const PROGRESS:String = "progress"; mx_internal static const VERSION:String = "3.5.0.12683"; public static const SETUP:String = "setup"; public static const UNLOAD:String = "unload"; public function ModuleEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null, _arg7:IModuleInfo=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; this._module = _arg7; } public function get module():IModuleInfo{ if (_module){ return (_module); }; return ((target as IModuleInfo)); } override public function clone():Event{ return (new ModuleEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText, module)); } } }//package mx.events
Section 127
//ResourceEvent (mx.events.ResourceEvent) package mx.events { import flash.events.*; import mx.core.*; public class ResourceEvent extends ProgressEvent { public var errorText:String; mx_internal static const VERSION:String = "3.5.0.12683"; public static const COMPLETE:String = "complete"; public static const PROGRESS:String = "progress"; public static const ERROR:String = "error"; public function ResourceEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; } override public function clone():Event{ return (new ResourceEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText)); } } }//package mx.events
Section 128
//StyleEvent (mx.events.StyleEvent) package mx.events { import flash.events.*; import mx.core.*; public class StyleEvent extends ProgressEvent { public var errorText:String; mx_internal static const VERSION:String = "3.5.0.12683"; public static const COMPLETE:String = "complete"; public static const PROGRESS:String = "progress"; public static const ERROR:String = "error"; public function StyleEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:uint=0, _arg5:uint=0, _arg6:String=null){ super(_arg1, _arg2, _arg3, _arg4, _arg5); this.errorText = _arg6; } override public function clone():Event{ return (new StyleEvent(type, bubbles, cancelable, bytesLoaded, bytesTotal, errorText)); } } }//package mx.events
Section 129
//RectangularDropShadow (mx.graphics.RectangularDropShadow) package mx.graphics { import flash.display.*; import mx.core.*; import flash.geom.*; import mx.utils.*; import flash.filters.*; public class RectangularDropShadow { private var leftShadow:BitmapData; private var _tlRadius:Number;// = 0 private var _trRadius:Number;// = 0 private var _angle:Number;// = 45 private var topShadow:BitmapData; private var _distance:Number;// = 4 private var rightShadow:BitmapData; private var _alpha:Number;// = 0.4 private var shadow:BitmapData; private var _brRadius:Number;// = 0 private var _blRadius:Number;// = 0 private var _color:int;// = 0 private var bottomShadow:BitmapData; private var changed:Boolean;// = true mx_internal static const VERSION:String = "3.5.0.12683"; public function get blRadius():Number{ return (_blRadius); } public function set brRadius(_arg1:Number):void{ if (_brRadius != _arg1){ _brRadius = _arg1; changed = true; }; } public function set color(_arg1:int):void{ if (_color != _arg1){ _color = _arg1; changed = true; }; } public function drawShadow(_arg1:Graphics, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; if (changed){ createShadowBitmaps(); changed = false; }; _arg4 = Math.ceil(_arg4); _arg5 = Math.ceil(_arg5); var _local6:int = (leftShadow) ? leftShadow.width : 0; var _local7:int = (rightShadow) ? rightShadow.width : 0; var _local8:int = (topShadow) ? topShadow.height : 0; var _local9:int = (bottomShadow) ? bottomShadow.height : 0; var _local10:int = (_local6 + _local7); var _local11:int = (_local8 + _local9); var _local12:Number = ((_arg5 + _local11) / 2); var _local13:Number = ((_arg4 + _local10) / 2); var _local14:Matrix = new Matrix(); if (((leftShadow) || (topShadow))){ _local15 = Math.min((tlRadius + _local10), _local13); _local16 = Math.min((tlRadius + _local11), _local12); _local14.tx = (_arg2 - _local6); _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((_arg2 - _local6), (_arg3 - _local8), _local15, _local16); _arg1.endFill(); }; if (((rightShadow) || (topShadow))){ _local17 = Math.min((trRadius + _local10), _local13); _local18 = Math.min((trRadius + _local11), _local12); _local14.tx = (((_arg2 + _arg4) + _local7) - shadow.width); _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((((_arg2 + _arg4) + _local7) - _local17), (_arg3 - _local8), _local17, _local18); _arg1.endFill(); }; if (((leftShadow) || (bottomShadow))){ _local19 = Math.min((blRadius + _local10), _local13); _local20 = Math.min((blRadius + _local11), _local12); _local14.tx = (_arg2 - _local6); _local14.ty = (((_arg3 + _arg5) + _local9) - shadow.height); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((_arg2 - _local6), (((_arg3 + _arg5) + _local9) - _local20), _local19, _local20); _arg1.endFill(); }; if (((rightShadow) || (bottomShadow))){ _local21 = Math.min((brRadius + _local10), _local13); _local22 = Math.min((brRadius + _local11), _local12); _local14.tx = (((_arg2 + _arg4) + _local7) - shadow.width); _local14.ty = (((_arg3 + _arg5) + _local9) - shadow.height); _arg1.beginBitmapFill(shadow, _local14); _arg1.drawRect((((_arg2 + _arg4) + _local7) - _local21), (((_arg3 + _arg5) + _local9) - _local22), _local21, _local22); _arg1.endFill(); }; if (leftShadow){ _local14.tx = (_arg2 - _local6); _local14.ty = 0; _arg1.beginBitmapFill(leftShadow, _local14); _arg1.drawRect((_arg2 - _local6), ((_arg3 - _local8) + _local16), _local6, ((((_arg5 + _local8) + _local9) - _local16) - _local20)); _arg1.endFill(); }; if (rightShadow){ _local14.tx = (_arg2 + _arg4); _local14.ty = 0; _arg1.beginBitmapFill(rightShadow, _local14); _arg1.drawRect((_arg2 + _arg4), ((_arg3 - _local8) + _local18), _local7, ((((_arg5 + _local8) + _local9) - _local18) - _local22)); _arg1.endFill(); }; if (topShadow){ _local14.tx = 0; _local14.ty = (_arg3 - _local8); _arg1.beginBitmapFill(topShadow, _local14); _arg1.drawRect(((_arg2 - _local6) + _local15), (_arg3 - _local8), ((((_arg4 + _local6) + _local7) - _local15) - _local17), _local8); _arg1.endFill(); }; if (bottomShadow){ _local14.tx = 0; _local14.ty = (_arg3 + _arg5); _arg1.beginBitmapFill(bottomShadow, _local14); _arg1.drawRect(((_arg2 - _local6) + _local19), (_arg3 + _arg5), ((((_arg4 + _local6) + _local7) - _local19) - _local21), _local9); _arg1.endFill(); }; } public function get brRadius():Number{ return (_brRadius); } public function get angle():Number{ return (_angle); } private function createShadowBitmaps():void{ var _local1:Number = ((Math.max(tlRadius, blRadius) + (2 * distance)) + Math.max(trRadius, brRadius)); var _local2:Number = ((Math.max(tlRadius, trRadius) + (2 * distance)) + Math.max(blRadius, brRadius)); if ((((_local1 < 0)) || ((_local2 < 0)))){ return; }; var _local3:Shape = new FlexShape(); var _local4:Graphics = _local3.graphics; _local4.beginFill(0xFFFFFF); GraphicsUtil.drawRoundRectComplex(_local4, 0, 0, _local1, _local2, tlRadius, trRadius, blRadius, brRadius); _local4.endFill(); var _local5:BitmapData = new BitmapData(_local1, _local2, true, 0); _local5.draw(_local3, new Matrix()); var _local6:DropShadowFilter = new DropShadowFilter(distance, angle, color, alpha); _local6.knockout = true; var _local7:Rectangle = new Rectangle(0, 0, _local1, _local2); var _local8:Rectangle = _local5.generateFilterRect(_local7, _local6); var _local9:Number = (_local7.left - _local8.left); var _local10:Number = (_local8.right - _local7.right); var _local11:Number = (_local7.top - _local8.top); var _local12:Number = (_local8.bottom - _local7.bottom); shadow = new BitmapData(_local8.width, _local8.height); shadow.applyFilter(_local5, _local7, new Point(_local9, _local11), _local6); var _local13:Point = new Point(0, 0); var _local14:Rectangle = new Rectangle(); if (_local9 > 0){ _local14.x = 0; _local14.y = ((tlRadius + _local11) + _local12); _local14.width = _local9; _local14.height = 1; leftShadow = new BitmapData(_local9, 1); leftShadow.copyPixels(shadow, _local14, _local13); } else { leftShadow = null; }; if (_local10 > 0){ _local14.x = (shadow.width - _local10); _local14.y = ((trRadius + _local11) + _local12); _local14.width = _local10; _local14.height = 1; rightShadow = new BitmapData(_local10, 1); rightShadow.copyPixels(shadow, _local14, _local13); } else { rightShadow = null; }; if (_local11 > 0){ _local14.x = ((tlRadius + _local9) + _local10); _local14.y = 0; _local14.width = 1; _local14.height = _local11; topShadow = new BitmapData(1, _local11); topShadow.copyPixels(shadow, _local14, _local13); } else { topShadow = null; }; if (_local12 > 0){ _local14.x = ((blRadius + _local9) + _local10); _local14.y = (shadow.height - _local12); _local14.width = 1; _local14.height = _local12; bottomShadow = new BitmapData(1, _local12); bottomShadow.copyPixels(shadow, _local14, _local13); } else { bottomShadow = null; }; } public function get alpha():Number{ return (_alpha); } public function get color():int{ return (_color); } public function set angle(_arg1:Number):void{ if (_angle != _arg1){ _angle = _arg1; changed = true; }; } public function set trRadius(_arg1:Number):void{ if (_trRadius != _arg1){ _trRadius = _arg1; changed = true; }; } public function set tlRadius(_arg1:Number):void{ if (_tlRadius != _arg1){ _tlRadius = _arg1; changed = true; }; } public function get trRadius():Number{ return (_trRadius); } public function set distance(_arg1:Number):void{ if (_distance != _arg1){ _distance = _arg1; changed = true; }; } public function get distance():Number{ return (_distance); } public function get tlRadius():Number{ return (_tlRadius); } public function set alpha(_arg1:Number):void{ if (_alpha != _arg1){ _alpha = _arg1; changed = true; }; } public function set blRadius(_arg1:Number):void{ if (_blRadius != _arg1){ _blRadius = _arg1; changed = true; }; } } }//package mx.graphics
Section 130
//IFocusManager (mx.managers.IFocusManager) package mx.managers { import flash.events.*; import flash.display.*; import mx.core.*; public interface IFocusManager { function get focusPane():Sprite; function getFocus():IFocusManagerComponent; function deactivate():void; function set defaultButton(_arg1:IButton):void; function set focusPane(_arg1:Sprite):void; function set showFocusIndicator(_arg1:Boolean):void; function moveFocus(_arg1:String, _arg2:DisplayObject=null):void; function addSWFBridge(_arg1:IEventDispatcher, _arg2:DisplayObject):void; function removeSWFBridge(_arg1:IEventDispatcher):void; function get defaultButtonEnabled():Boolean; function findFocusManagerComponent(_arg1:InteractiveObject):IFocusManagerComponent; function get nextTabIndex():int; function get defaultButton():IButton; function get showFocusIndicator():Boolean; function setFocus(_arg1:IFocusManagerComponent):void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function hideFocus():void; function getNextFocusManagerComponent(_arg1:Boolean=false):IFocusManagerComponent; } }//package mx.managers
Section 131
//IFocusManagerComponent (mx.managers.IFocusManagerComponent) package mx.managers { public interface IFocusManagerComponent { function set focusEnabled(_arg1:Boolean):void; function drawFocus(_arg1:Boolean):void; function setFocus():void; function get focusEnabled():Boolean; function get tabEnabled():Boolean; function get tabIndex():int; function get mouseFocusEnabled():Boolean; } }//package mx.managers
Section 132
//IFocusManagerContainer (mx.managers.IFocusManagerContainer) package mx.managers { import flash.events.*; import flash.display.*; public interface IFocusManagerContainer extends IEventDispatcher { function set focusManager(_arg1:IFocusManager):void; function get focusManager():IFocusManager; function get systemManager():ISystemManager; function contains(_arg1:DisplayObject):Boolean; } }//package mx.managers
Section 133
//ILayoutManager (mx.managers.ILayoutManager) package mx.managers { import flash.events.*; public interface ILayoutManager extends IEventDispatcher { function validateNow():void; function validateClient(_arg1:ILayoutManagerClient, _arg2:Boolean=false):void; function isInvalid():Boolean; function invalidateDisplayList(_arg1:ILayoutManagerClient):void; function set usePhasedInstantiation(_arg1:Boolean):void; function invalidateSize(_arg1:ILayoutManagerClient):void; function get usePhasedInstantiation():Boolean; function invalidateProperties(_arg1:ILayoutManagerClient):void; } }//package mx.managers
Section 134
//ILayoutManagerClient (mx.managers.ILayoutManagerClient) package mx.managers { import flash.events.*; public interface ILayoutManagerClient extends IEventDispatcher { function get updateCompletePendingFlag():Boolean; function set updateCompletePendingFlag(_arg1:Boolean):void; function set initialized(_arg1:Boolean):void; function validateProperties():void; function validateDisplayList():void; function get nestLevel():int; function get initialized():Boolean; function get processedDescriptors():Boolean; function validateSize(_arg1:Boolean=false):void; function set nestLevel(_arg1:int):void; function set processedDescriptors(_arg1:Boolean):void; } }//package mx.managers
Section 135
//ISystemManager (mx.managers.ISystemManager) package mx.managers { import flash.events.*; import flash.display.*; import mx.core.*; import flash.geom.*; import flash.text.*; public interface ISystemManager extends IEventDispatcher, IChildList, IFlexModuleFactory { function set focusPane(_arg1:Sprite):void; function get toolTipChildren():IChildList; function useSWFBridge():Boolean; function isFontFaceEmbedded(_arg1:TextFormat):Boolean; function deployMouseShields(_arg1:Boolean):void; function get rawChildren():IChildList; function get topLevelSystemManager():ISystemManager; function dispatchEventFromSWFBridges(_arg1:Event, _arg2:IEventDispatcher=null, _arg3:Boolean=false, _arg4:Boolean=false):void; function getSandboxRoot():DisplayObject; function get swfBridgeGroup():ISWFBridgeGroup; function removeFocusManager(_arg1:IFocusManagerContainer):void; function addChildToSandboxRoot(_arg1:String, _arg2:DisplayObject):void; function get document():Object; function get focusPane():Sprite; function get loaderInfo():LoaderInfo; function addChildBridge(_arg1:IEventDispatcher, _arg2:DisplayObject):void; function getTopLevelRoot():DisplayObject; function removeChildBridge(_arg1:IEventDispatcher):void; function isDisplayObjectInABridgedApplication(_arg1:DisplayObject):Boolean; function get popUpChildren():IChildList; function get screen():Rectangle; function removeChildFromSandboxRoot(_arg1:String, _arg2:DisplayObject):void; function getDefinitionByName(_arg1:String):Object; function activate(_arg1:IFocusManagerContainer):void; function deactivate(_arg1:IFocusManagerContainer):void; function get cursorChildren():IChildList; function set document(_arg1:Object):void; function get embeddedFontList():Object; function set numModalWindows(_arg1:int):void; function isTopLevel():Boolean; function isTopLevelRoot():Boolean; function get numModalWindows():int; function addFocusManager(_arg1:IFocusManagerContainer):void; function get stage():Stage; function getVisibleApplicationRect(_arg1:Rectangle=null):Rectangle; } }//package mx.managers
Section 136
//SystemManagerGlobals (mx.managers.SystemManagerGlobals) package mx.managers { public class SystemManagerGlobals { public static var topLevelSystemManagers:Array = []; public static var changingListenersInOtherSystemManagers:Boolean; public static var bootstrapLoaderInfoURL:String; public static var showMouseCursor:Boolean; public static var dispatchingEventToOtherSystemManagers:Boolean; } }//package mx.managers
Section 137
//IModuleInfo (mx.modules.IModuleInfo) package mx.modules { import flash.events.*; import mx.core.*; import flash.utils.*; import flash.system.*; public interface IModuleInfo extends IEventDispatcher { function get ready():Boolean; function get loaded():Boolean; function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null, _arg3:ByteArray=null):void; function release():void; function get error():Boolean; function get data():Object; function publish(_arg1:IFlexModuleFactory):void; function get factory():IFlexModuleFactory; function set data(_arg1:Object):void; function get url():String; function get setup():Boolean; function unload():void; } }//package mx.modules
Section 138
//ModuleManager (mx.modules.ModuleManager) package mx.modules { import mx.core.*; public class ModuleManager { mx_internal static const VERSION:String = "3.5.0.12683"; public static function getModule(_arg1:String):IModuleInfo{ return (getSingleton().getModule(_arg1)); } private static function getSingleton():Object{ if (!ModuleManagerGlobals.managerSingleton){ ModuleManagerGlobals.managerSingleton = new ModuleManagerImpl(); }; return (ModuleManagerGlobals.managerSingleton); } public static function getAssociatedFactory(_arg1:Object):IFlexModuleFactory{ return (getSingleton().getAssociatedFactory(_arg1)); } } }//package mx.modules import flash.events.*; import flash.display.*; import mx.core.*; import flash.utils.*; import flash.system.*; import mx.events.*; import flash.net.*; class ModuleInfoProxy extends EventDispatcher implements IModuleInfo { private var _data:Object; private var info:ModuleInfo; private var referenced:Boolean;// = false private function ModuleInfoProxy(_arg1:ModuleInfo){ this.info = _arg1; _arg1.addEventListener(ModuleEvent.SETUP, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.READY, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.ERROR, moduleEventHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.UNLOAD, moduleEventHandler, false, 0, true); } public function get loaded():Boolean{ return (info.loaded); } public function release():void{ if (referenced){ info.removeReference(); referenced = false; }; } public function get error():Boolean{ return (info.error); } public function get factory():IFlexModuleFactory{ return (info.factory); } public function publish(_arg1:IFlexModuleFactory):void{ info.publish(_arg1); } public function set data(_arg1:Object):void{ _data = _arg1; } public function get ready():Boolean{ return (info.ready); } public function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null, _arg3:ByteArray=null):void{ var _local4:ModuleEvent; info.resurrect(); if (!referenced){ info.addReference(); referenced = true; }; if (info.error){ dispatchEvent(new ModuleEvent(ModuleEvent.ERROR)); } else { if (info.loaded){ if (info.setup){ dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); if (info.ready){ _local4 = new ModuleEvent(ModuleEvent.PROGRESS); _local4.bytesLoaded = info.size; _local4.bytesTotal = info.size; dispatchEvent(_local4); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); }; }; } else { info.load(_arg1, _arg2, _arg3); }; }; } private function moduleEventHandler(_arg1:ModuleEvent):void{ dispatchEvent(_arg1); } public function get url():String{ return (info.url); } public function get data():Object{ return (_data); } public function get setup():Boolean{ return (info.setup); } public function unload():void{ info.unload(); info.removeEventListener(ModuleEvent.SETUP, moduleEventHandler); info.removeEventListener(ModuleEvent.PROGRESS, moduleEventHandler); info.removeEventListener(ModuleEvent.READY, moduleEventHandler); info.removeEventListener(ModuleEvent.ERROR, moduleEventHandler); info.removeEventListener(ModuleEvent.UNLOAD, moduleEventHandler); } } class ModuleManagerImpl extends EventDispatcher { private var moduleList:Object; private function ModuleManagerImpl(){ moduleList = {}; super(); } public function getModule(_arg1:String):IModuleInfo{ var _local2:ModuleInfo = (moduleList[_arg1] as ModuleInfo); if (!_local2){ _local2 = new ModuleInfo(_arg1); moduleList[_arg1] = _local2; }; return (new ModuleInfoProxy(_local2)); } public function getAssociatedFactory(_arg1:Object):IFlexModuleFactory{ var m:Object; var info:ModuleInfo; var domain:ApplicationDomain; var cls:Class; var object = _arg1; var className:String = getQualifiedClassName(object); for each (m in moduleList) { info = (m as ModuleInfo); if (!info.ready){ } else { domain = info.applicationDomain; try { cls = Class(domain.getDefinition(className)); if ((object is cls)){ return (info.factory); }; } catch(error:Error) { }; }; }; return (null); } } class ModuleInfo extends EventDispatcher { private var _error:Boolean;// = false private var loader:Loader; private var factoryInfo:FactoryInfo; private var limbo:Dictionary; private var _loaded:Boolean;// = false private var _ready:Boolean;// = false private var numReferences:int;// = 0 private var _url:String; private var _setup:Boolean;// = false private function ModuleInfo(_arg1:String){ _url = _arg1; } private function clearLoader():void{ if (loader){ if (loader.contentLoaderInfo){ loader.contentLoaderInfo.removeEventListener(Event.INIT, initHandler); loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, completeHandler); loader.contentLoaderInfo.removeEventListener(ProgressEvent.PROGRESS, progressHandler); loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler); loader.contentLoaderInfo.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler); }; try { if (loader.content){ loader.content.removeEventListener("ready", readyHandler); loader.content.removeEventListener("error", moduleErrorHandler); }; } catch(error:Error) { }; if (_loaded){ try { loader.close(); } catch(error:Error) { }; }; try { loader.unload(); } catch(error:Error) { }; loader = null; }; } public function get size():int{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.bytesTotal : 0); } public function get loaded():Boolean{ return ((limbo) ? false : _loaded); } public function release():void{ if (((_ready) && (!(limbo)))){ limbo = new Dictionary(true); limbo[factoryInfo] = 1; factoryInfo = null; } else { unload(); }; } public function get error():Boolean{ return ((limbo) ? false : _error); } public function get factory():IFlexModuleFactory{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.factory : null); } public function completeHandler(_arg1:Event):void{ var _local2:ModuleEvent = new ModuleEvent(ModuleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = loader.contentLoaderInfo.bytesLoaded; _local2.bytesTotal = loader.contentLoaderInfo.bytesTotal; dispatchEvent(_local2); } public function publish(_arg1:IFlexModuleFactory):void{ if (factoryInfo){ return; }; if (_url.indexOf("published://") != 0){ return; }; factoryInfo = new FactoryInfo(); factoryInfo.factory = _arg1; _loaded = true; _setup = true; _ready = true; _error = false; dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); dispatchEvent(new ModuleEvent(ModuleEvent.PROGRESS)); dispatchEvent(new ModuleEvent(ModuleEvent.READY)); } public function initHandler(_arg1:Event):void{ var moduleEvent:ModuleEvent; var event = _arg1; factoryInfo = new FactoryInfo(); try { factoryInfo.factory = (loader.content as IFlexModuleFactory); } catch(error:Error) { }; if (!factoryInfo.factory){ moduleEvent = new ModuleEvent(ModuleEvent.ERROR, event.bubbles, event.cancelable); moduleEvent.bytesLoaded = 0; moduleEvent.bytesTotal = 0; moduleEvent.errorText = "SWF is not a loadable module"; dispatchEvent(moduleEvent); return; }; loader.content.addEventListener("ready", readyHandler); loader.content.addEventListener("error", moduleErrorHandler); try { factoryInfo.applicationDomain = loader.contentLoaderInfo.applicationDomain; } catch(error:Error) { }; _setup = true; dispatchEvent(new ModuleEvent(ModuleEvent.SETUP)); } public function resurrect():void{ var _local1:Object; if (((!(factoryInfo)) && (limbo))){ for (_local1 in limbo) { factoryInfo = (_local1 as FactoryInfo); break; }; limbo = null; }; if (!factoryInfo){ if (_loaded){ dispatchEvent(new ModuleEvent(ModuleEvent.UNLOAD)); }; loader = null; _loaded = false; _setup = false; _ready = false; _error = false; }; } public function errorHandler(_arg1:ErrorEvent):void{ _error = true; var _local2:ModuleEvent = new ModuleEvent(ModuleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = 0; _local2.bytesTotal = 0; _local2.errorText = _arg1.text; dispatchEvent(_local2); } public function get ready():Boolean{ return ((limbo) ? false : _ready); } private function loadBytes(_arg1:ApplicationDomain, _arg2:ByteArray):void{ var _local3:LoaderContext = new LoaderContext(); _local3.applicationDomain = (_arg1) ? _arg1 : new ApplicationDomain(ApplicationDomain.currentDomain); if (("allowLoadBytesCodeExecution" in _local3)){ _local3["allowLoadBytesCodeExecution"] = true; }; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler); loader.loadBytes(_arg2, _local3); } public function removeReference():void{ numReferences--; if (numReferences == 0){ release(); }; } public function addReference():void{ numReferences++; } public function progressHandler(_arg1:ProgressEvent):void{ var _local2:ModuleEvent = new ModuleEvent(ModuleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } public function load(_arg1:ApplicationDomain=null, _arg2:SecurityDomain=null, _arg3:ByteArray=null):void{ if (_loaded){ return; }; _loaded = true; limbo = null; if (_arg3){ loadBytes(_arg1, _arg3); return; }; if (_url.indexOf("published://") == 0){ return; }; var _local4:URLRequest = new URLRequest(_url); var _local5:LoaderContext = new LoaderContext(); _local5.applicationDomain = (_arg1) ? _arg1 : new ApplicationDomain(ApplicationDomain.currentDomain); _local5.securityDomain = _arg2; if ((((_arg2 == null)) && ((Security.sandboxType == Security.REMOTE)))){ _local5.securityDomain = SecurityDomain.currentDomain; }; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler); loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler); loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandler); loader.load(_local4, _local5); } public function get url():String{ return (_url); } public function get applicationDomain():ApplicationDomain{ return ((((!(limbo)) && (factoryInfo))) ? factoryInfo.applicationDomain : null); } public function moduleErrorHandler(_arg1:Event):void{ var _local2:ModuleEvent; _ready = true; factoryInfo.bytesTotal = loader.contentLoaderInfo.bytesTotal; clearLoader(); if ((_arg1 is ModuleEvent)){ _local2 = ModuleEvent(_arg1); } else { _local2 = new ModuleEvent(ModuleEvent.ERROR); }; dispatchEvent(_local2); } public function readyHandler(_arg1:Event):void{ _ready = true; factoryInfo.bytesTotal = loader.contentLoaderInfo.bytesTotal; var _local2:ModuleEvent = new ModuleEvent(ModuleEvent.READY); _local2.bytesLoaded = loader.contentLoaderInfo.bytesLoaded; _local2.bytesTotal = loader.contentLoaderInfo.bytesTotal; clearLoader(); dispatchEvent(_local2); } public function get setup():Boolean{ return ((limbo) ? false : _setup); } public function unload():void{ clearLoader(); if (_loaded){ dispatchEvent(new ModuleEvent(ModuleEvent.UNLOAD)); }; limbo = null; factoryInfo = null; _loaded = false; _setup = false; _ready = false; _error = false; } } class FactoryInfo { public var bytesTotal:int;// = 0 public var factory:IFlexModuleFactory; public var applicationDomain:ApplicationDomain; private function FactoryInfo(){ } }
Section 139
//ModuleManagerGlobals (mx.modules.ModuleManagerGlobals) package mx.modules { public class ModuleManagerGlobals { public static var managerSingleton:Object = null; } }//package mx.modules
Section 140
//IResourceBundle (mx.resources.IResourceBundle) package mx.resources { public interface IResourceBundle { function get content():Object; function get locale():String; function get bundleName():String; } }//package mx.resources
Section 141
//IResourceManager (mx.resources.IResourceManager) package mx.resources { import flash.events.*; import flash.system.*; public interface IResourceManager extends IEventDispatcher { function loadResourceModule(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher; function getBoolean(_arg1:String, _arg2:String, _arg3:String=null):Boolean; function getClass(_arg1:String, _arg2:String, _arg3:String=null):Class; function getLocales():Array; function removeResourceBundlesForLocale(_arg1:String):void; function getResourceBundle(_arg1:String, _arg2:String):IResourceBundle; function get localeChain():Array; function getInt(_arg1:String, _arg2:String, _arg3:String=null):int; function update():void; function set localeChain(_arg1:Array):void; function getUint(_arg1:String, _arg2:String, _arg3:String=null):uint; function addResourceBundle(_arg1:IResourceBundle):void; function getStringArray(_arg1:String, _arg2:String, _arg3:String=null):Array; function getBundleNamesForLocale(_arg1:String):Array; function removeResourceBundle(_arg1:String, _arg2:String):void; function getObject(_arg1:String, _arg2:String, _arg3:String=null); function getString(_arg1:String, _arg2:String, _arg3:Array=null, _arg4:String=null):String; function installCompiledResourceBundles(_arg1:ApplicationDomain, _arg2:Array, _arg3:Array):void; function unloadResourceModule(_arg1:String, _arg2:Boolean=true):void; function getPreferredLocaleChain():Array; function findResourceBundleWithResource(_arg1:String, _arg2:String):IResourceBundle; function initializeLocaleChain(_arg1:Array):void; function getNumber(_arg1:String, _arg2:String, _arg3:String=null):Number; } }//package mx.resources
Section 142
//IResourceModule (mx.resources.IResourceModule) package mx.resources { public interface IResourceModule { function get resourceBundles():Array; } }//package mx.resources
Section 143
//LocaleSorter (mx.resources.LocaleSorter) package mx.resources { import mx.core.*; public class LocaleSorter { mx_internal static const VERSION:String = "3.5.0.12683"; private static function normalizeLocale(_arg1:String):String{ return (_arg1.toLowerCase().replace(/-/g, "_")); } public static function sortLocalesByPreference(_arg1:Array, _arg2:Array, _arg3:String=null, _arg4:Boolean=false):Array{ var result:Array; var hasLocale:Object; var i:int; var j:int; var k:int; var l:int; var locale:String; var plocale:LocaleID; var appLocales = _arg1; var systemPreferences = _arg2; var ultimateFallbackLocale = _arg3; var addAll = _arg4; var promote:Function = function (_arg1:String):void{ if (typeof(hasLocale[_arg1]) != "undefined"){ result.push(appLocales[hasLocale[_arg1]]); delete hasLocale[_arg1]; }; }; result = []; hasLocale = {}; var locales:Array = trimAndNormalize(appLocales); var preferenceLocales:Array = trimAndNormalize(systemPreferences); addUltimateFallbackLocale(preferenceLocales, ultimateFallbackLocale); j = 0; while (j < locales.length) { hasLocale[locales[j]] = j; j = (j + 1); }; i = 0; l = preferenceLocales.length; while (i < l) { plocale = LocaleID.fromString(preferenceLocales[i]); promote(preferenceLocales[i]); promote(plocale.toString()); while (plocale.transformToParent()) { promote(plocale.toString()); }; plocale = LocaleID.fromString(preferenceLocales[i]); j = 0; while (j < l) { locale = preferenceLocales[j]; if (plocale.isSiblingOf(LocaleID.fromString(locale))){ promote(locale); }; j = (j + 1); }; j = 0; k = locales.length; while (j < k) { locale = locales[j]; if (plocale.isSiblingOf(LocaleID.fromString(locale))){ promote(locale); }; j = (j + 1); }; i = (i + 1); }; if (addAll){ j = 0; k = locales.length; while (j < k) { promote(locales[j]); j = (j + 1); }; }; return (result); } private static function addUltimateFallbackLocale(_arg1:Array, _arg2:String):void{ var _local3:String; if (((!((_arg2 == null))) && (!((_arg2 == ""))))){ _local3 = normalizeLocale(_arg2); if (_arg1.indexOf(_local3) == -1){ _arg1.push(_local3); }; }; } private static function trimAndNormalize(_arg1:Array):Array{ var _local2:Array = []; var _local3:int; while (_local3 < _arg1.length) { _local2.push(normalizeLocale(_arg1[_local3])); _local3++; }; return (_local2); } } }//package mx.resources class LocaleID { private var privateLangs:Boolean;// = false private var script:String;// = "" private var variants:Array; private var privates:Array; private var extensions:Object; private var lang:String;// = "" private var region:String;// = "" private var extended_langs:Array; public static const STATE_PRIMARY_LANGUAGE:int = 0; public static const STATE_REGION:int = 3; public static const STATE_EXTENDED_LANGUAGES:int = 1; public static const STATE_EXTENSIONS:int = 5; public static const STATE_SCRIPT:int = 2; public static const STATE_VARIANTS:int = 4; public static const STATE_PRIVATES:int = 6; private function LocaleID(){ extended_langs = []; variants = []; extensions = {}; privates = []; super(); } public function equals(_arg1:LocaleID):Boolean{ return ((toString() == _arg1.toString())); } public function canonicalize():void{ var _local1:String; for (_local1 in extensions) { if (extensions.hasOwnProperty(_local1)){ if (extensions[_local1].length == 0){ delete extensions[_local1]; } else { extensions[_local1] = extensions[_local1].sort(); }; }; }; extended_langs = extended_langs.sort(); variants = variants.sort(); privates = privates.sort(); if (script == ""){ script = LocaleRegistry.getScriptByLang(lang); }; if ((((script == "")) && (!((region == ""))))){ script = LocaleRegistry.getScriptByLangAndRegion(lang, region); }; if ((((region == "")) && (!((script == ""))))){ region = LocaleRegistry.getDefaultRegionForLangAndScript(lang, script); }; } public function toString():String{ var _local2:String; var _local1:Array = [lang]; appendElements(_local1, extended_langs); if (script != ""){ _local1.push(script); }; if (region != ""){ _local1.push(region); }; appendElements(_local1, variants); for (_local2 in extensions) { if (extensions.hasOwnProperty(_local2)){ _local1.push(_local2); appendElements(_local1, extensions[_local2]); }; }; if (privates.length > 0){ _local1.push("x"); appendElements(_local1, privates); }; return (_local1.join("_")); } public function isSiblingOf(_arg1:LocaleID):Boolean{ return ((((lang == _arg1.lang)) && ((script == _arg1.script)))); } public function transformToParent():Boolean{ var _local2:String; var _local3:Array; var _local4:String; if (privates.length > 0){ privates.splice((privates.length - 1), 1); return (true); }; var _local1:String; for (_local2 in extensions) { if (extensions.hasOwnProperty(_local2)){ _local1 = _local2; }; }; if (_local1){ _local3 = extensions[_local1]; if (_local3.length == 1){ delete extensions[_local1]; return (true); }; _local3.splice((_local3.length - 1), 1); return (true); }; if (variants.length > 0){ variants.splice((variants.length - 1), 1); return (true); }; if (script != ""){ if (LocaleRegistry.getScriptByLang(lang) != ""){ script = ""; return (true); }; if (region == ""){ _local4 = LocaleRegistry.getDefaultRegionForLangAndScript(lang, script); if (_local4 != ""){ region = _local4; script = ""; return (true); }; }; }; if (region != ""){ if (!(((script == "")) && ((LocaleRegistry.getScriptByLang(lang) == "")))){ region = ""; return (true); }; }; if (extended_langs.length > 0){ extended_langs.splice((extended_langs.length - 1), 1); return (true); }; return (false); } private static function appendElements(_arg1:Array, _arg2:Array):void{ var _local3:uint; var _local4:uint = _arg2.length; while (_local3 < _local4) { _arg1.push(_arg2[_local3]); _local3++; }; } public static function fromString(_arg1:String):LocaleID{ var _local5:Array; var _local8:String; var _local9:int; var _local10:String; var _local2:LocaleID = new (LocaleID); var _local3:int = STATE_PRIMARY_LANGUAGE; var _local4:Array = _arg1.replace(/-/g, "_").split("_"); var _local6:int; var _local7:int = _local4.length; while (_local6 < _local7) { _local8 = _local4[_local6].toLowerCase(); if (_local3 == STATE_PRIMARY_LANGUAGE){ if (_local8 == "x"){ _local2.privateLangs = true; } else { if (_local8 == "i"){ _local2.lang = (_local2.lang + "i-"); } else { _local2.lang = (_local2.lang + _local8); _local3 = STATE_EXTENDED_LANGUAGES; }; }; } else { _local9 = _local8.length; if (_local9 == 0){ } else { _local10 = _local8.charAt(0).toLowerCase(); if ((((_local3 <= STATE_EXTENDED_LANGUAGES)) && ((_local9 == 3)))){ _local2.extended_langs.push(_local8); if (_local2.extended_langs.length == 3){ _local3 = STATE_SCRIPT; }; } else { if ((((_local3 <= STATE_SCRIPT)) && ((_local9 == 4)))){ _local2.script = _local8; _local3 = STATE_REGION; } else { if ((((_local3 <= STATE_REGION)) && ((((_local9 == 2)) || ((_local9 == 3)))))){ _local2.region = _local8; _local3 = STATE_VARIANTS; } else { if ((((_local3 <= STATE_VARIANTS)) && ((((((((_local10 >= "a")) && ((_local10 <= "z")))) && ((_local9 >= 5)))) || ((((((_local10 >= "0")) && ((_local10 <= "9")))) && ((_local9 >= 4)))))))){ _local2.variants.push(_local8); _local3 = STATE_VARIANTS; } else { if ((((_local3 < STATE_PRIVATES)) && ((_local9 == 1)))){ if (_local8 == "x"){ _local3 = STATE_PRIVATES; _local5 = _local2.privates; } else { _local3 = STATE_EXTENSIONS; _local5 = ((_local2.extensions[_local8]) || ([])); _local2.extensions[_local8] = _local5; }; } else { if (_local3 >= STATE_EXTENSIONS){ _local5.push(_local8); }; }; }; }; }; }; }; }; _local6++; }; _local2.canonicalize(); return (_local2); } } class LocaleRegistry { private static const SCRIPT_ID_BY_LANG:Object = {ab:5, af:1, am:2, ar:3, as:4, ay:1, be:5, bg:5, bn:4, bs:1, ca:1, ch:1, cs:1, cy:1, da:1, de:1, dv:6, dz:7, el:8, en:1, eo:1, es:1, et:1, eu:1, fa:3, fi:1, fj:1, fo:1, fr:1, frr:1, fy:1, ga:1, gl:1, gn:1, gu:9, gv:1, he:10, hi:11, hr:1, ht:1, hu:1, hy:12, id:1, in:1, is:1, it:1, iw:10, ja:13, ka:14, kk:5, kl:1, km:15, kn:16, ko:17, la:1, lb:1, ln:1, lo:18, lt:1, lv:1, mg:1, mh:1, mk:5, ml:19, mo:1, mr:11, ms:1, mt:1, my:20, na:1, nb:1, nd:1, ne:11, nl:1, nn:1, no:1, nr:1, ny:1, om:1, or:21, pa:22, pl:1, ps:3, pt:1, qu:1, rn:1, ro:1, ru:5, rw:1, sg:1, si:23, sk:1, sl:1, sm:1, so:1, sq:1, ss:1, st:1, sv:1, sw:1, ta:24, te:25, th:26, ti:2, tl:1, tn:1, to:1, tr:1, ts:1, uk:5, ur:3, ve:1, vi:1, wo:1, xh:1, yi:10, zu:1, cpe:1, dsb:1, frs:1, gsw:1, hsb:1, kok:11, mai:11, men:1, nds:1, niu:1, nqo:27, nso:1, son:1, tem:1, tkl:1, tmh:1, tpi:1, tvl:1, zbl:28}; private static const SCRIPTS:Array = ["", "latn", "ethi", "arab", "beng", "cyrl", "thaa", "tibt", "grek", "gujr", "hebr", "deva", "armn", "jpan", "geor", "khmr", "knda", "kore", "laoo", "mlym", "mymr", "orya", "guru", "sinh", "taml", "telu", "thai", "nkoo", "blis", "hans", "hant", "mong", "syrc"]; private static const DEFAULT_REGION_BY_LANG_AND_SCRIPT:Object = {bg:{5:"bg"}, ca:{1:"es"}, zh:{30:"tw", 29:"cn"}, cs:{1:"cz"}, da:{1:"dk"}, de:{1:"de"}, el:{8:"gr"}, en:{1:"us"}, es:{1:"es"}, fi:{1:"fi"}, fr:{1:"fr"}, he:{10:"il"}, hu:{1:"hu"}, is:{1:"is"}, it:{1:"it"}, ja:{13:"jp"}, ko:{17:"kr"}, nl:{1:"nl"}, nb:{1:"no"}, pl:{1:"pl"}, pt:{1:"br"}, ro:{1:"ro"}, ru:{5:"ru"}, hr:{1:"hr"}, sk:{1:"sk"}, sq:{1:"al"}, sv:{1:"se"}, th:{26:"th"}, tr:{1:"tr"}, ur:{3:"pk"}, id:{1:"id"}, uk:{5:"ua"}, be:{5:"by"}, sl:{1:"si"}, et:{1:"ee"}, lv:{1:"lv"}, lt:{1:"lt"}, fa:{3:"ir"}, vi:{1:"vn"}, hy:{12:"am"}, az:{1:"az", 5:"az"}, eu:{1:"es"}, mk:{5:"mk"}, af:{1:"za"}, ka:{14:"ge"}, fo:{1:"fo"}, hi:{11:"in"}, ms:{1:"my"}, kk:{5:"kz"}, ky:{5:"kg"}, sw:{1:"ke"}, uz:{1:"uz", 5:"uz"}, tt:{5:"ru"}, pa:{22:"in"}, gu:{9:"in"}, ta:{24:"in"}, te:{25:"in"}, kn:{16:"in"}, mr:{11:"in"}, sa:{11:"in"}, mn:{5:"mn"}, gl:{1:"es"}, kok:{11:"in"}, syr:{32:"sy"}, dv:{6:"mv"}, nn:{1:"no"}, sr:{1:"cs", 5:"cs"}, cy:{1:"gb"}, mi:{1:"nz"}, mt:{1:"mt"}, quz:{1:"bo"}, tn:{1:"za"}, xh:{1:"za"}, zu:{1:"za"}, nso:{1:"za"}, se:{1:"no"}, smj:{1:"no"}, sma:{1:"no"}, sms:{1:"fi"}, smn:{1:"fi"}, bs:{1:"ba"}}; private static const SCRIPT_BY_ID:Object = {latn:1, ethi:2, arab:3, beng:4, cyrl:5, thaa:6, tibt:7, grek:8, gujr:9, hebr:10, deva:11, armn:12, jpan:13, geor:14, khmr:15, knda:16, kore:17, laoo:18, mlym:19, mymr:20, orya:21, guru:22, sinh:23, taml:24, telu:25, thai:26, nkoo:27, blis:28, hans:29, hant:30, mong:31, syrc:32}; private static const SCRIPT_ID_BY_LANG_AND_REGION:Object = {zh:{cn:29, sg:29, tw:30, hk:30, mo:30}, mn:{cn:31, sg:5}, pa:{pk:3, in:22}, ha:{gh:1, ne:1}}; private function LocaleRegistry(){ } public static function getScriptByLangAndRegion(_arg1:String, _arg2:String):String{ var _local3:Object = SCRIPT_ID_BY_LANG_AND_REGION[_arg1]; if (_local3 == null){ return (""); }; var _local4:Object = _local3[_arg2]; if (_local4 == null){ return (""); }; return (SCRIPTS[int(_local4)].toLowerCase()); } public static function getScriptByLang(_arg1:String):String{ var _local2:Object = SCRIPT_ID_BY_LANG[_arg1]; if (_local2 == null){ return (""); }; return (SCRIPTS[int(_local2)].toLowerCase()); } public static function getDefaultRegionForLangAndScript(_arg1:String, _arg2:String):String{ var _local3:Object = DEFAULT_REGION_BY_LANG_AND_SCRIPT[_arg1]; var _local4:Object = SCRIPT_BY_ID[_arg2]; if ((((_local3 == null)) || ((_local4 == null)))){ return (""); }; return (((_local3[int(_local4)]) || (""))); } }
Section 144
//ResourceBundle (mx.resources.ResourceBundle) package mx.resources { import mx.core.*; import flash.system.*; import mx.utils.*; public class ResourceBundle implements IResourceBundle { mx_internal var _locale:String; private var _content:Object; mx_internal var _bundleName:String; mx_internal static const VERSION:String = "3.5.0.12683"; mx_internal static var backupApplicationDomain:ApplicationDomain; mx_internal static var locale:String; public function ResourceBundle(_arg1:String=null, _arg2:String=null){ _content = {}; super(); mx_internal::_locale = _arg1; mx_internal::_bundleName = _arg2; _content = getContent(); } protected function getContent():Object{ return ({}); } public function getString(_arg1:String):String{ return (String(_getObject(_arg1))); } public function get content():Object{ return (_content); } public function getBoolean(_arg1:String, _arg2:Boolean=true):Boolean{ var _local3:String = _getObject(_arg1).toLowerCase(); if (_local3 == "false"){ return (false); }; if (_local3 == "true"){ return (true); }; return (_arg2); } public function getStringArray(_arg1:String):Array{ var _local2:Array = _getObject(_arg1).split(","); var _local3:int = _local2.length; var _local4:int; while (_local4 < _local3) { _local2[_local4] = StringUtil.trim(_local2[_local4]); _local4++; }; return (_local2); } public function getObject(_arg1:String):Object{ return (_getObject(_arg1)); } private function _getObject(_arg1:String):Object{ var _local2:Object = content[_arg1]; if (!_local2){ throw (new Error(((("Key " + _arg1) + " was not found in resource bundle ") + bundleName))); }; return (_local2); } public function get locale():String{ return (mx_internal::_locale); } public function get bundleName():String{ return (mx_internal::_bundleName); } public function getNumber(_arg1:String):Number{ return (Number(_getObject(_arg1))); } private static function getClassByName(_arg1:String, _arg2:ApplicationDomain):Class{ var _local3:Class; if (_arg2.hasDefinition(_arg1)){ _local3 = (_arg2.getDefinition(_arg1) as Class); }; return (_local3); } public static function getResourceBundle(_arg1:String, _arg2:ApplicationDomain=null):ResourceBundle{ var _local3:String; var _local4:Class; var _local5:Object; var _local6:ResourceBundle; if (!_arg2){ _arg2 = ApplicationDomain.currentDomain; }; _local3 = (((mx_internal::locale + "$") + _arg1) + "_properties"); _local4 = getClassByName(_local3, _arg2); if (!_local4){ _local3 = (_arg1 + "_properties"); _local4 = getClassByName(_local3, _arg2); }; if (!_local4){ _local3 = _arg1; _local4 = getClassByName(_local3, _arg2); }; if (((!(_local4)) && (mx_internal::backupApplicationDomain))){ _local3 = (_arg1 + "_properties"); _local4 = getClassByName(_local3, mx_internal::backupApplicationDomain); if (!_local4){ _local3 = _arg1; _local4 = getClassByName(_local3, mx_internal::backupApplicationDomain); }; }; if (_local4){ _local5 = new (_local4); if ((_local5 is ResourceBundle)){ _local6 = ResourceBundle(_local5); return (_local6); }; }; throw (new Error(("Could not find resource bundle " + _arg1))); } } }//package mx.resources
Section 145
//ResourceManager (mx.resources.ResourceManager) package mx.resources { import mx.core.*; public class ResourceManager { mx_internal static const VERSION:String = "3.5.0.12683"; private static var implClassDependency:ResourceManagerImpl; private static var instance:IResourceManager; public static function getInstance():IResourceManager{ if (!instance){ try { instance = IResourceManager(Singleton.getInstance("mx.resources::IResourceManager")); } catch(e:Error) { instance = new ResourceManagerImpl(); }; }; return (instance); } } }//package mx.resources
Section 146
//ResourceManagerImpl (mx.resources.ResourceManagerImpl) package mx.resources { import flash.events.*; import mx.core.*; import flash.utils.*; import flash.system.*; import mx.modules.*; import mx.events.*; import mx.utils.*; public class ResourceManagerImpl extends EventDispatcher implements IResourceManager { private var resourceModules:Object; private var initializedForNonFrameworkApp:Boolean;// = false private var localeMap:Object; private var _localeChain:Array; mx_internal static const VERSION:String = "3.5.0.12683"; private static var instance:IResourceManager; public function ResourceManagerImpl(){ localeMap = {}; resourceModules = {}; super(); } public function get localeChain():Array{ return (_localeChain); } public function set localeChain(_arg1:Array):void{ _localeChain = _arg1; update(); } public function getStringArray(_arg1:String, _arg2:String, _arg3:String=null):Array{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (null); }; var _local5:* = _local4.content[_arg2]; var _local6:Array = String(_local5).split(","); var _local7:int = _local6.length; var _local8:int; while (_local8 < _local7) { _local6[_local8] = StringUtil.trim(_local6[_local8]); _local8++; }; return (_local6); } mx_internal function installCompiledResourceBundle(_arg1:ApplicationDomain, _arg2:String, _arg3:String):void{ var _local4:String; var _local5:String = _arg3; var _local6:int = _arg3.indexOf(":"); if (_local6 != -1){ _local4 = _arg3.substring(0, _local6); _local5 = _arg3.substring((_local6 + 1)); }; if (getResourceBundle(_arg2, _arg3)){ return; }; var _local7 = (((_arg2 + "$") + _local5) + "_properties"); if (_local4 != null){ _local7 = ((_local4 + ".") + _local7); }; var _local8:Class; if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; if (!_local8){ _local7 = _arg3; if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; }; if (!_local8){ _local7 = (_arg3 + "_properties"); if (_arg1.hasDefinition(_local7)){ _local8 = Class(_arg1.getDefinition(_local7)); }; }; if (!_local8){ throw (new Error((((("Could not find compiled resource bundle '" + _arg3) + "' for locale '") + _arg2) + "'."))); }; var _local9:ResourceBundle = ResourceBundle(new (_local8)); _local9.mx_internal::_locale = _arg2; _local9.mx_internal::_bundleName = _arg3; addResourceBundle(_local9); } public function getString(_arg1:String, _arg2:String, _arg3:Array=null, _arg4:String=null):String{ var _local5:IResourceBundle = findBundle(_arg1, _arg2, _arg4); if (!_local5){ return (null); }; var _local6:String = String(_local5.content[_arg2]); if (_arg3){ _local6 = StringUtil.substitute(_local6, _arg3); }; return (_local6); } public function loadResourceModule(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher{ var moduleInfo:IModuleInfo; var resourceEventDispatcher:ResourceEventDispatcher; var timer:Timer; var timerHandler:Function; var url = _arg1; var updateFlag = _arg2; var applicationDomain = _arg3; var securityDomain = _arg4; moduleInfo = ModuleManager.getModule(url); resourceEventDispatcher = new ResourceEventDispatcher(moduleInfo); var readyHandler:Function = function (_arg1:ModuleEvent):void{ var _local2:* = _arg1.module.factory.create(); resourceModules[_arg1.module.url].resourceModule = _local2; if (updateFlag){ update(); }; }; moduleInfo.addEventListener(ModuleEvent.READY, readyHandler, false, 0, true); var errorHandler:Function = function (_arg1:ModuleEvent):void{ var _local3:ResourceEvent; var _local2:String = ("Unable to load resource module from " + url); if (resourceEventDispatcher.willTrigger(ResourceEvent.ERROR)){ _local3 = new ResourceEvent(ResourceEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local3.bytesLoaded = 0; _local3.bytesTotal = 0; _local3.errorText = _local2; resourceEventDispatcher.dispatchEvent(_local3); } else { throw (new Error(_local2)); }; }; moduleInfo.addEventListener(ModuleEvent.ERROR, errorHandler, false, 0, true); resourceModules[url] = new ResourceModuleInfo(moduleInfo, readyHandler, errorHandler); timer = new Timer(0); timerHandler = function (_arg1:TimerEvent):void{ timer.removeEventListener(TimerEvent.TIMER, timerHandler); timer.stop(); moduleInfo.load(applicationDomain, securityDomain); }; timer.addEventListener(TimerEvent.TIMER, timerHandler, false, 0, true); timer.start(); return (resourceEventDispatcher); } public function getLocales():Array{ var _local2:String; var _local1:Array = []; for (_local2 in localeMap) { _local1.push(_local2); }; return (_local1); } public function removeResourceBundlesForLocale(_arg1:String):void{ delete localeMap[_arg1]; } public function getResourceBundle(_arg1:String, _arg2:String):IResourceBundle{ var _local3:Object = localeMap[_arg1]; if (!_local3){ return (null); }; return (_local3[_arg2]); } private function dumpResourceModule(_arg1):void{ var _local2:ResourceBundle; var _local3:String; for each (_local2 in _arg1.resourceBundles) { trace(_local2.locale, _local2.bundleName); for (_local3 in _local2.content) { }; }; } public function addResourceBundle(_arg1:IResourceBundle):void{ var _local2:String = _arg1.locale; var _local3:String = _arg1.bundleName; if (!localeMap[_local2]){ localeMap[_local2] = {}; }; localeMap[_local2][_local3] = _arg1; } public function getObject(_arg1:String, _arg2:String, _arg3:String=null){ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (undefined); }; return (_local4.content[_arg2]); } public function getInt(_arg1:String, _arg2:String, _arg3:String=null):int{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (0); }; var _local5:* = _local4.content[_arg2]; return (int(_local5)); } private function findBundle(_arg1:String, _arg2:String, _arg3:String):IResourceBundle{ supportNonFrameworkApps(); return (((_arg3)!=null) ? getResourceBundle(_arg3, _arg1) : findResourceBundleWithResource(_arg1, _arg2)); } private function supportNonFrameworkApps():void{ if (initializedForNonFrameworkApp){ return; }; initializedForNonFrameworkApp = true; if (getLocales().length > 0){ return; }; var _local1:ApplicationDomain = ApplicationDomain.currentDomain; if (!_local1.hasDefinition("_CompiledResourceBundleInfo")){ return; }; var _local2:Class = Class(_local1.getDefinition("_CompiledResourceBundleInfo")); var _local3:Array = _local2.compiledLocales; var _local4:Array = _local2.compiledResourceBundleNames; installCompiledResourceBundles(_local1, _local3, _local4); localeChain = _local3; } public function getBundleNamesForLocale(_arg1:String):Array{ var _local3:String; var _local2:Array = []; for (_local3 in localeMap[_arg1]) { _local2.push(_local3); }; return (_local2); } public function getPreferredLocaleChain():Array{ return (LocaleSorter.sortLocalesByPreference(getLocales(), getSystemPreferredLocales(), null, true)); } public function getNumber(_arg1:String, _arg2:String, _arg3:String=null):Number{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (NaN); }; var _local5:* = _local4.content[_arg2]; return (Number(_local5)); } public function update():void{ dispatchEvent(new Event(Event.CHANGE)); } public function getClass(_arg1:String, _arg2:String, _arg3:String=null):Class{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (null); }; var _local5:* = _local4.content[_arg2]; return ((_local5 as Class)); } public function removeResourceBundle(_arg1:String, _arg2:String):void{ delete localeMap[_arg1][_arg2]; if (getBundleNamesForLocale(_arg1).length == 0){ delete localeMap[_arg1]; }; } public function initializeLocaleChain(_arg1:Array):void{ localeChain = LocaleSorter.sortLocalesByPreference(_arg1, getSystemPreferredLocales(), null, true); } public function findResourceBundleWithResource(_arg1:String, _arg2:String):IResourceBundle{ var _local5:String; var _local6:Object; var _local7:ResourceBundle; if (!_localeChain){ return (null); }; var _local3:int = _localeChain.length; var _local4:int; while (_local4 < _local3) { _local5 = localeChain[_local4]; _local6 = localeMap[_local5]; if (!_local6){ } else { _local7 = _local6[_arg1]; if (!_local7){ } else { if ((_arg2 in _local7.content)){ return (_local7); }; }; }; _local4++; }; return (null); } public function getUint(_arg1:String, _arg2:String, _arg3:String=null):uint{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (0); }; var _local5:* = _local4.content[_arg2]; return (uint(_local5)); } private function getSystemPreferredLocales():Array{ var _local1:Array; if (Capabilities["languages"]){ _local1 = Capabilities["languages"]; } else { _local1 = [Capabilities.language]; }; return (_local1); } public function installCompiledResourceBundles(_arg1:ApplicationDomain, _arg2:Array, _arg3:Array):void{ var _local7:String; var _local8:int; var _local9:String; var _local4:int = (_arg2) ? _arg2.length : 0; var _local5:int = (_arg3) ? _arg3.length : 0; var _local6:int; while (_local6 < _local4) { _local7 = _arg2[_local6]; _local8 = 0; while (_local8 < _local5) { _local9 = _arg3[_local8]; mx_internal::installCompiledResourceBundle(_arg1, _local7, _local9); _local8++; }; _local6++; }; } public function getBoolean(_arg1:String, _arg2:String, _arg3:String=null):Boolean{ var _local4:IResourceBundle = findBundle(_arg1, _arg2, _arg3); if (!_local4){ return (false); }; var _local5:* = _local4.content[_arg2]; return ((String(_local5).toLowerCase() == "true")); } public function unloadResourceModule(_arg1:String, _arg2:Boolean=true):void{ var _local4:Array; var _local5:int; var _local6:int; var _local7:String; var _local8:String; var _local3:ResourceModuleInfo = resourceModules[_arg1]; if (!_local3){ return; }; if (_local3.resourceModule){ _local4 = _local3.resourceModule.resourceBundles; if (_local4){ _local5 = _local4.length; _local6 = 0; while (_local6 < _local5) { _local7 = _local4[_local6].locale; _local8 = _local4[_local6].bundleName; removeResourceBundle(_local7, _local8); _local6++; }; }; }; resourceModules[_arg1] = null; delete resourceModules[_arg1]; _local3.moduleInfo.unload(); if (_arg2){ this.update(); }; } public static function getInstance():IResourceManager{ if (!instance){ instance = new (ResourceManagerImpl); }; return (instance); } } }//package mx.resources import flash.events.*; import mx.modules.*; import mx.events.*; class ResourceModuleInfo { public var resourceModule:IResourceModule; public var errorHandler:Function; public var readyHandler:Function; public var moduleInfo:IModuleInfo; private function ResourceModuleInfo(_arg1:IModuleInfo, _arg2:Function, _arg3:Function){ this.moduleInfo = _arg1; this.readyHandler = _arg2; this.errorHandler = _arg3; } } class ResourceEventDispatcher extends EventDispatcher { private function ResourceEventDispatcher(_arg1:IModuleInfo){ _arg1.addEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.READY, moduleInfo_readyHandler, false, 0, true); } private function moduleInfo_progressHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } private function moduleInfo_readyHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.COMPLETE); dispatchEvent(_local2); } private function moduleInfo_errorHandler(_arg1:ModuleEvent):void{ var _local2:ResourceEvent = new ResourceEvent(ResourceEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; _local2.errorText = _arg1.errorText; dispatchEvent(_local2); } }
Section 147
//HaloBorder (mx.skins.halo.HaloBorder) package mx.skins.halo { import flash.display.*; import mx.core.*; import mx.styles.*; import mx.skins.*; import mx.graphics.*; import mx.utils.*; public class HaloBorder extends RectangularBorder { mx_internal var radiusObj:Object; mx_internal var backgroundHole:Object; mx_internal var radius:Number; mx_internal var bRoundedCorners:Boolean; mx_internal var backgroundColor:Object; private var dropShadow:RectangularDropShadow; protected var _borderMetrics:EdgeMetrics; mx_internal var backgroundAlphaName:String; mx_internal static const VERSION:String = "3.5.0.12683"; private static var BORDER_WIDTHS:Object = {none:0, solid:1, inset:2, outset:2, alert:3, dropdown:2, menuBorder:1, comboNonEdit:2}; public function HaloBorder(){ BORDER_WIDTHS["default"] = 3; } override public function styleChanged(_arg1:String):void{ if ((((((((((_arg1 == null)) || ((_arg1 == "styleName")))) || ((_arg1 == "borderStyle")))) || ((_arg1 == "borderThickness")))) || ((_arg1 == "borderSides")))){ _borderMetrics = null; }; invalidateDisplayList(); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ if (((isNaN(_arg1)) || (isNaN(_arg2)))){ return; }; super.updateDisplayList(_arg1, _arg2); backgroundColor = getBackgroundColor(); bRoundedCorners = false; backgroundAlphaName = "backgroundAlpha"; backgroundHole = null; radius = 0; radiusObj = null; drawBorder(_arg1, _arg2); drawBackground(_arg1, _arg2); } mx_internal function drawBorder(_arg1:Number, _arg2:Number):void{ var _local5:Number; var _local6:uint; var _local7:uint; var _local8:String; var _local9:Number; var _local10:uint; var _local11:Boolean; var _local12:uint; var _local13:Array; var _local14:Array; var _local15:uint; var _local16:uint; var _local17:uint; var _local18:uint; var _local19:Boolean; var _local20:Object; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Object; var _local27:Number; var _local28:Number; var _local29:IContainer; var _local30:EdgeMetrics; var _local31:Boolean; var _local32:Number; var _local33:Array; var _local34:uint; var _local35:Boolean; var _local36:Number; var _local3:String = getStyle("borderStyle"); var _local4:Array = getStyle("highlightAlphas"); var _local21:Boolean; var _local26:Graphics = graphics; _local26.clear(); if (_local3){ switch (_local3){ case "none": break; case "inset": _local7 = getStyle("borderColor"); _local22 = ColorUtil.adjustBrightness2(_local7, -40); _local23 = ColorUtil.adjustBrightness2(_local7, 25); _local24 = ColorUtil.adjustBrightness2(_local7, 40); _local25 = backgroundColor; if ((((_local25 === null)) || ((_local25 === "")))){ _local25 = _local7; }; draw3dBorder(_local23, _local22, _local24, Number(_local25), Number(_local25), Number(_local25)); break; case "outset": _local7 = getStyle("borderColor"); _local22 = ColorUtil.adjustBrightness2(_local7, -40); _local23 = ColorUtil.adjustBrightness2(_local7, -25); _local24 = ColorUtil.adjustBrightness2(_local7, 40); _local25 = backgroundColor; if ((((_local25 === null)) || ((_local25 === "")))){ _local25 = _local7; }; draw3dBorder(_local23, _local24, _local22, Number(_local25), Number(_local25), Number(_local25)); break; case "alert": case "default": if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ _local27 = getStyle("backgroundAlpha"); _local5 = getStyle("borderAlpha"); backgroundAlphaName = "borderAlpha"; radius = getStyle("cornerRadius"); bRoundedCorners = (getStyle("roundedBottomCorners").toString().toLowerCase() == "true"); _local28 = (bRoundedCorners) ? radius : 0; drawDropShadow(0, 0, _arg1, _arg2, radius, radius, _local28, _local28); if (!bRoundedCorners){ radiusObj = {}; }; _local29 = (parent as IContainer); if (_local29){ _local30 = _local29.viewMetrics; backgroundHole = {x:_local30.left, y:_local30.top, w:Math.max(0, ((_arg1 - _local30.left) - _local30.right)), h:Math.max(0, ((_arg2 - _local30.top) - _local30.bottom)), r:0}; if ((((backgroundHole.w > 0)) && ((backgroundHole.h > 0)))){ if (_local27 != _local5){ drawDropShadow(backgroundHole.x, backgroundHole.y, backgroundHole.w, backgroundHole.h, 0, 0, 0, 0); }; _local26.beginFill(Number(backgroundColor), _local27); _local26.drawRect(backgroundHole.x, backgroundHole.y, backgroundHole.w, backgroundHole.h); _local26.endFill(); }; }; backgroundColor = getStyle("borderColor"); }; break; case "dropdown": _local12 = getStyle("dropdownBorderColor"); drawDropShadow(0, 0, _arg1, _arg2, 4, 0, 0, 4); drawRoundRect(0, 0, _arg1, _arg2, {tl:4, tr:0, br:0, bl:4}, 5068126, 1); drawRoundRect(0, 0, _arg1, _arg2, {tl:4, tr:0, br:0, bl:4}, [0xFFFFFF, 0xFFFFFF], [0.7, 0], verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(1, 1, (_arg1 - 1), (_arg2 - 2), {tl:3, tr:0, br:0, bl:3}, 0xFFFFFF, 1); drawRoundRect(1, 2, (_arg1 - 1), (_arg2 - 3), {tl:3, tr:0, br:0, bl:3}, [0xEEEEEE, 0xFFFFFF], 1, verticalGradientMatrix(0, 0, (_arg1 - 1), (_arg2 - 3))); if (!isNaN(_local12)){ drawRoundRect(0, 0, (_arg1 + 1), _arg2, {tl:4, tr:0, br:0, bl:4}, _local12, 0.5); drawRoundRect(1, 1, (_arg1 - 1), (_arg2 - 2), {tl:3, tr:0, br:0, bl:3}, 0xFFFFFF, 1); drawRoundRect(1, 2, (_arg1 - 1), (_arg2 - 3), {tl:3, tr:0, br:0, bl:3}, [0xEEEEEE, 0xFFFFFF], 1, verticalGradientMatrix(0, 0, (_arg1 - 1), (_arg2 - 3))); }; backgroundColor = null; break; case "menuBorder": _local7 = getStyle("borderColor"); drawRoundRect(0, 0, _arg1, _arg2, 0, _local7, 1); drawDropShadow(1, 1, (_arg1 - 2), (_arg2 - 2), 0, 0, 0, 0); break; case "comboNonEdit": break; case "controlBar": if ((((_arg1 == 0)) || ((_arg2 == 0)))){ backgroundColor = null; break; }; _local14 = getStyle("footerColors"); _local31 = !((_local14 == null)); _local32 = getStyle("borderAlpha"); if (_local31){ _local26.lineStyle(0, ((_local14.length > 0)) ? _local14[1] : _local14[0], _local32); _local26.moveTo(0, 0); _local26.lineTo(_arg1, 0); _local26.lineStyle(0, 0, 0); if (((((parent) && (parent.parent))) && ((parent.parent is IStyleClient)))){ radius = IStyleClient(parent.parent).getStyle("cornerRadius"); _local32 = IStyleClient(parent.parent).getStyle("borderAlpha"); }; if (isNaN(radius)){ radius = 0; }; if (IStyleClient(parent.parent).getStyle("roundedBottomCorners").toString().toLowerCase() != "true"){ radius = 0; }; drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:0, tr:0, bl:radius, br:radius}, _local14, _local32, verticalGradientMatrix(0, 0, _arg1, _arg2)); if ((((_local14.length > 1)) && (!((_local14[0] == _local14[1]))))){ drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:0, tr:0, bl:radius, br:radius}, [0xFFFFFF, 0xFFFFFF], _local4, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(1, 2, (_arg1 - 2), (_arg2 - 3), {tl:0, tr:0, bl:(radius - 1), br:(radius - 1)}, _local14, _local32, verticalGradientMatrix(0, 0, _arg1, _arg2)); }; }; backgroundColor = null; break; case "applicationControlBar": _local13 = getStyle("fillColors"); _local5 = getStyle("backgroundAlpha"); _local4 = getStyle("highlightAlphas"); _local33 = getStyle("fillAlphas"); _local11 = getStyle("docked"); _local34 = uint(backgroundColor); radius = getStyle("cornerRadius"); if (!radius){ radius = 0; }; drawDropShadow(0, 1, _arg1, (_arg2 - 1), radius, radius, radius, radius); if (((!((backgroundColor === null))) && (StyleManager.isValidStyleValue(backgroundColor)))){ drawRoundRect(0, 1, _arg1, (_arg2 - 1), radius, _local34, _local5, verticalGradientMatrix(0, 0, _arg1, _arg2)); }; drawRoundRect(0, 1, _arg1, (_arg2 - 1), radius, _local13, _local33, verticalGradientMatrix(0, 0, _arg1, _arg2)); drawRoundRect(0, 1, _arg1, ((_arg2 / 2) - 1), {tl:radius, tr:radius, bl:0, br:0}, [0xFFFFFF, 0xFFFFFF], _local4, verticalGradientMatrix(0, 0, _arg1, ((_arg2 / 2) - 1))); drawRoundRect(0, 1, _arg1, (_arg2 - 1), {tl:radius, tr:radius, bl:0, br:0}, 0xFFFFFF, 0.3, null, GradientType.LINEAR, null, {x:0, y:2, w:_arg1, h:(_arg2 - 2), r:{tl:radius, tr:radius, bl:0, br:0}}); backgroundColor = null; break; default: _local7 = getStyle("borderColor"); _local9 = getStyle("borderThickness"); _local8 = getStyle("borderSides"); _local35 = true; radius = getStyle("cornerRadius"); bRoundedCorners = (getStyle("roundedBottomCorners").toString().toLowerCase() == "true"); _local36 = Math.max((radius - _local9), 0); _local20 = {x:_local9, y:_local9, w:(_arg1 - (_local9 * 2)), h:(_arg2 - (_local9 * 2)), r:_local36}; if (!bRoundedCorners){ radiusObj = {tl:radius, tr:radius, bl:0, br:0}; _local20.r = {tl:_local36, tr:_local36, bl:0, br:0}; }; if (_local8 != "left top right bottom"){ _local20.r = {tl:_local36, tr:_local36, bl:(bRoundedCorners) ? _local36 : 0, br:(bRoundedCorners) ? _local36 : 0}; radiusObj = {tl:radius, tr:radius, bl:(bRoundedCorners) ? radius : 0, br:(bRoundedCorners) ? radius : 0}; _local8 = _local8.toLowerCase(); if (_local8.indexOf("left") == -1){ _local20.x = 0; _local20.w = (_local20.w + _local9); _local20.r.tl = 0; _local20.r.bl = 0; radiusObj.tl = 0; radiusObj.bl = 0; _local35 = false; }; if (_local8.indexOf("top") == -1){ _local20.y = 0; _local20.h = (_local20.h + _local9); _local20.r.tl = 0; _local20.r.tr = 0; radiusObj.tl = 0; radiusObj.tr = 0; _local35 = false; }; if (_local8.indexOf("right") == -1){ _local20.w = (_local20.w + _local9); _local20.r.tr = 0; _local20.r.br = 0; radiusObj.tr = 0; radiusObj.br = 0; _local35 = false; }; if (_local8.indexOf("bottom") == -1){ _local20.h = (_local20.h + _local9); _local20.r.bl = 0; _local20.r.br = 0; radiusObj.bl = 0; radiusObj.br = 0; _local35 = false; }; }; if ((((radius == 0)) && (_local35))){ drawDropShadow(0, 0, _arg1, _arg2, 0, 0, 0, 0); _local26.beginFill(_local7); _local26.drawRect(0, 0, _arg1, _arg2); _local26.drawRect(_local9, _local9, (_arg1 - (2 * _local9)), (_arg2 - (2 * _local9))); _local26.endFill(); } else { if (radiusObj){ drawDropShadow(0, 0, _arg1, _arg2, radiusObj.tl, radiusObj.tr, radiusObj.br, radiusObj.bl); drawRoundRect(0, 0, _arg1, _arg2, radiusObj, _local7, 1, null, null, null, _local20); radiusObj.tl = Math.max((radius - _local9), 0); radiusObj.tr = Math.max((radius - _local9), 0); radiusObj.bl = (bRoundedCorners) ? Math.max((radius - _local9), 0) : 0; radiusObj.br = (bRoundedCorners) ? Math.max((radius - _local9), 0) : 0; } else { drawDropShadow(0, 0, _arg1, _arg2, radius, radius, radius, radius); drawRoundRect(0, 0, _arg1, _arg2, radius, _local7, 1, null, null, null, _local20); radius = Math.max((getStyle("cornerRadius") - _local9), 0); }; }; }; }; } mx_internal function drawBackground(_arg1:Number, _arg2:Number):void{ var _local4:Number; var _local5:Number; var _local6:EdgeMetrics; var _local7:Graphics; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Array; var _local12:Number; if (((((((!((backgroundColor === null))) && (!((backgroundColor === ""))))) || (getStyle("mouseShield")))) || (getStyle("mouseShieldChildren")))){ _local4 = Number(backgroundColor); _local5 = 1; _local6 = getBackgroundColorMetrics(); _local7 = graphics; if (((((isNaN(_local4)) || ((backgroundColor === "")))) || ((backgroundColor === null)))){ _local5 = 0; _local4 = 0xFFFFFF; } else { _local5 = getStyle(backgroundAlphaName); }; if (((!((radius == 0))) || (backgroundHole))){ _local8 = _local6.bottom; if (radiusObj){ _local9 = Math.max((radius - Math.max(_local6.top, _local6.left, _local6.right)), 0); _local10 = (bRoundedCorners) ? Math.max((radius - Math.max(_local6.bottom, _local6.left, _local6.right)), 0) : 0; radiusObj = {tl:_local9, tr:_local9, bl:_local10, br:_local10}; drawRoundRect(_local6.left, _local6.top, (width - (_local6.left + _local6.right)), (height - (_local6.top + _local8)), radiusObj, _local4, _local5, null, GradientType.LINEAR, null, backgroundHole); } else { drawRoundRect(_local6.left, _local6.top, (width - (_local6.left + _local6.right)), (height - (_local6.top + _local8)), radius, _local4, _local5, null, GradientType.LINEAR, null, backgroundHole); }; } else { _local7.beginFill(_local4, _local5); _local7.drawRect(_local6.left, _local6.top, ((_arg1 - _local6.right) - _local6.left), ((_arg2 - _local6.bottom) - _local6.top)); _local7.endFill(); }; }; var _local3:String = getStyle("borderStyle"); if ((((((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)) && ((((_local3 == "alert")) || ((_local3 == "default")))))) && ((getStyle("headerColors") == null)))){ _local11 = getStyle("highlightAlphas"); _local12 = (_local11) ? _local11[0] : 0.3; drawRoundRect(0, 0, _arg1, _arg2, {tl:radius, tr:radius, bl:0, br:0}, 0xFFFFFF, _local12, null, GradientType.LINEAR, null, {x:0, y:1, w:_arg1, h:(_arg2 - 1), r:{tl:radius, tr:radius, bl:0, br:0}}); }; } mx_internal function drawDropShadow(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):void{ var _local11:Number; var _local12:Boolean; if ((((((((getStyle("dropShadowEnabled") == false)) || ((getStyle("dropShadowEnabled") == "false")))) || ((_arg3 == 0)))) || ((_arg4 == 0)))){ return; }; var _local9:Number = getStyle("shadowDistance"); var _local10:String = getStyle("shadowDirection"); if (getStyle("borderStyle") == "applicationControlBar"){ _local12 = getStyle("docked"); _local11 = (_local12) ? 90 : getDropShadowAngle(_local9, _local10); _local9 = Math.abs(_local9); } else { _local11 = getDropShadowAngle(_local9, _local10); _local9 = (Math.abs(_local9) + 2); }; if (!dropShadow){ dropShadow = new RectangularDropShadow(); }; dropShadow.distance = _local9; dropShadow.angle = _local11; dropShadow.color = getStyle("dropShadowColor"); dropShadow.alpha = 0.4; dropShadow.tlRadius = _arg5; dropShadow.trRadius = _arg6; dropShadow.blRadius = _arg8; dropShadow.brRadius = _arg7; dropShadow.drawShadow(graphics, _arg1, _arg2, _arg3, _arg4); } mx_internal function getBackgroundColor():Object{ var _local2:Object; var _local1:IUIComponent = (parent as IUIComponent); if (((_local1) && (!(_local1.enabled)))){ _local2 = getStyle("backgroundDisabledColor"); if (((!((_local2 === null))) && (StyleManager.isValidStyleValue(_local2)))){ return (_local2); }; }; return (getStyle("backgroundColor")); } mx_internal function draw3dBorder(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):void{ var _local7:Number = width; var _local8:Number = height; drawDropShadow(0, 0, width, height, 0, 0, 0, 0); var _local9:Graphics = graphics; _local9.beginFill(_arg1); _local9.drawRect(0, 0, _local7, _local8); _local9.drawRect(1, 0, (_local7 - 2), _local8); _local9.endFill(); _local9.beginFill(_arg2); _local9.drawRect(1, 0, (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg3); _local9.drawRect(1, (_local8 - 1), (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg4); _local9.drawRect(1, 1, (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg5); _local9.drawRect(1, (_local8 - 2), (_local7 - 2), 1); _local9.endFill(); _local9.beginFill(_arg6); _local9.drawRect(1, 2, (_local7 - 2), (_local8 - 4)); _local9.drawRect(2, 2, (_local7 - 4), (_local8 - 4)); _local9.endFill(); } mx_internal function getBackgroundColorMetrics():EdgeMetrics{ return (borderMetrics); } mx_internal function getDropShadowAngle(_arg1:Number, _arg2:String):Number{ if (_arg2 == "left"){ return (((_arg1 >= 0)) ? 135 : 225); //unresolved jump }; if (_arg2 == "right"){ return (((_arg1 >= 0)) ? 45 : 315); //unresolved jump }; return (((_arg1 >= 0)) ? 90 : 270); } override public function get borderMetrics():EdgeMetrics{ var _local1:Number; var _local3:String; if (_borderMetrics){ return (_borderMetrics); }; var _local2:String = getStyle("borderStyle"); if ((((_local2 == "default")) || ((_local2 == "alert")))){ if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ _borderMetrics = new EdgeMetrics(0, 0, 0, 0); } else { return (EdgeMetrics.EMPTY); }; } else { if ((((_local2 == "controlBar")) || ((_local2 == "applicationControlBar")))){ _borderMetrics = new EdgeMetrics(1, 1, 1, 1); } else { if (_local2 == "solid"){ _local1 = getStyle("borderThickness"); if (isNaN(_local1)){ _local1 = 0; }; _borderMetrics = new EdgeMetrics(_local1, _local1, _local1, _local1); _local3 = getStyle("borderSides"); if (_local3 != "left top right bottom"){ if (_local3.indexOf("left") == -1){ _borderMetrics.left = 0; }; if (_local3.indexOf("top") == -1){ _borderMetrics.top = 0; }; if (_local3.indexOf("right") == -1){ _borderMetrics.right = 0; }; if (_local3.indexOf("bottom") == -1){ _borderMetrics.bottom = 0; }; }; } else { _local1 = BORDER_WIDTHS[_local2]; if (isNaN(_local1)){ _local1 = 0; }; _borderMetrics = new EdgeMetrics(_local1, _local1, _local1, _local1); }; }; }; return (_borderMetrics); } } }//package mx.skins.halo
Section 148
//HaloFocusRect (mx.skins.halo.HaloFocusRect) package mx.skins.halo { import flash.display.*; import mx.core.*; import mx.styles.*; import mx.skins.*; import mx.utils.*; public class HaloFocusRect extends ProgrammaticSkin implements IStyleClient { private var _focusColor:Number; mx_internal static const VERSION:String = "3.5.0.12683"; public function get inheritingStyles():Object{ return (styleName.inheritingStyles); } public function set inheritingStyles(_arg1:Object):void{ } public function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void{ } public function registerEffects(_arg1:Array):void{ } public function regenerateStyleCache(_arg1:Boolean):void{ } public function get styleDeclaration():CSSStyleDeclaration{ return (CSSStyleDeclaration(styleName)); } public function getClassStyleDeclarations():Array{ return ([]); } public function get className():String{ return ("HaloFocusRect"); } public function clearStyle(_arg1:String):void{ if (_arg1 == "focusColor"){ _focusColor = NaN; }; } public function setStyle(_arg1:String, _arg2):void{ if (_arg1 == "focusColor"){ _focusColor = _arg2; }; } public function set nonInheritingStyles(_arg1:Object):void{ } public function get nonInheritingStyles():Object{ return (styleName.nonInheritingStyles); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; super.updateDisplayList(_arg1, _arg2); var _local3:String = getStyle("focusBlendMode"); var _local4:Number = getStyle("focusAlpha"); var _local5:Number = getStyle("focusColor"); var _local6:Number = getStyle("cornerRadius"); var _local7:Number = getStyle("focusThickness"); var _local8:String = getStyle("focusRoundedCorners"); var _local9:Number = getStyle("themeColor"); var _local10:Number = _local5; if (isNaN(_local10)){ _local10 = _local9; }; var _local11:Graphics = graphics; _local11.clear(); if (_local3){ blendMode = _local3; }; if (((!((_local8 == "tl tr bl br"))) && ((_local6 > 0)))){ _local12 = 0; _local13 = 0; _local14 = 0; _local15 = 0; _local16 = (_local6 + _local7); if (_local8.indexOf("tl") >= 0){ _local12 = _local16; }; if (_local8.indexOf("tr") >= 0){ _local14 = _local16; }; if (_local8.indexOf("bl") >= 0){ _local13 = _local16; }; if (_local8.indexOf("br") >= 0){ _local15 = _local16; }; _local11.beginFill(_local10, _local4); GraphicsUtil.drawRoundRectComplex(_local11, 0, 0, _arg1, _arg2, _local12, _local14, _local13, _local15); _local12 = (_local12) ? _local6 : 0; _local14 = (_local14) ? _local6 : 0; _local13 = (_local13) ? _local6 : 0; _local15 = (_local15) ? _local6 : 0; GraphicsUtil.drawRoundRectComplex(_local11, _local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local12, _local14, _local13, _local15); _local11.endFill(); _local16 = (_local6 + (_local7 / 2)); _local12 = (_local12) ? _local16 : 0; _local14 = (_local14) ? _local16 : 0; _local13 = (_local13) ? _local16 : 0; _local15 = (_local15) ? _local16 : 0; _local11.beginFill(_local10, _local4); GraphicsUtil.drawRoundRectComplex(_local11, (_local7 / 2), (_local7 / 2), (_arg1 - _local7), (_arg2 - _local7), _local12, _local14, _local13, _local15); _local12 = (_local12) ? _local6 : 0; _local14 = (_local14) ? _local6 : 0; _local13 = (_local13) ? _local6 : 0; _local15 = (_local15) ? _local6 : 0; GraphicsUtil.drawRoundRectComplex(_local11, _local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local12, _local14, _local13, _local15); _local11.endFill(); } else { _local11.beginFill(_local10, _local4); _local17 = (((_local6 > 0)) ? (_local6 + _local7) : 0 * 2); _local11.drawRoundRect(0, 0, _arg1, _arg2, _local17, _local17); _local17 = (_local6 * 2); _local11.drawRoundRect(_local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local17, _local17); _local11.endFill(); _local11.beginFill(_local10, _local4); _local17 = (((_local6 > 0)) ? (_local6 + (_local7 / 2)) : 0 * 2); _local11.drawRoundRect((_local7 / 2), (_local7 / 2), (_arg1 - _local7), (_arg2 - _local7), _local17, _local17); _local17 = (_local6 * 2); _local11.drawRoundRect(_local7, _local7, (_arg1 - (2 * _local7)), (_arg2 - (2 * _local7)), _local17, _local17); _local11.endFill(); }; } override public function getStyle(_arg1:String){ return (((_arg1 == "focusColor")) ? _focusColor : super.getStyle(_arg1)); } public function set styleDeclaration(_arg1:CSSStyleDeclaration):void{ } } }//package mx.skins.halo
Section 149
//Border (mx.skins.Border) package mx.skins { import mx.core.*; public class Border extends ProgrammaticSkin implements IBorder { mx_internal static const VERSION:String = "3.5.0.12683"; public function get borderMetrics():EdgeMetrics{ return (EdgeMetrics.EMPTY); } } }//package mx.skins
Section 150
//ProgrammaticSkin (mx.skins.ProgrammaticSkin) package mx.skins { import flash.display.*; import mx.core.*; import mx.styles.*; import flash.geom.*; import mx.managers.*; import mx.utils.*; public class ProgrammaticSkin extends FlexShape implements IFlexDisplayObject, IInvalidating, ILayoutManagerClient, ISimpleStyleClient, IProgrammaticSkin { private var _initialized:Boolean;// = false private var _height:Number; private var invalidateDisplayListFlag:Boolean;// = false private var _styleName:IStyleClient; private var _nestLevel:int;// = 0 private var _processedDescriptors:Boolean;// = false private var _updateCompletePendingFlag:Boolean;// = true private var _width:Number; mx_internal static const VERSION:String = "3.5.0.12683"; private static var tempMatrix:Matrix = new Matrix(); public function ProgrammaticSkin(){ _width = measuredWidth; _height = measuredHeight; } public function getStyle(_arg1:String){ return ((_styleName) ? _styleName.getStyle(_arg1) : null); } protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ } public function get nestLevel():int{ return (_nestLevel); } public function set nestLevel(_arg1:int):void{ _nestLevel = _arg1; invalidateDisplayList(); } override public function get height():Number{ return (_height); } public function get updateCompletePendingFlag():Boolean{ return (_updateCompletePendingFlag); } protected function verticalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ return (rotatedGradientMatrix(_arg1, _arg2, _arg3, _arg4, 90)); } public function validateSize(_arg1:Boolean=false):void{ } public function invalidateDisplayList():void{ if (((!(invalidateDisplayListFlag)) && ((nestLevel > 0)))){ invalidateDisplayListFlag = true; UIComponentGlobals.layoutManager.invalidateDisplayList(this); }; } public function set updateCompletePendingFlag(_arg1:Boolean):void{ _updateCompletePendingFlag = _arg1; } protected function horizontalGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Matrix{ return (rotatedGradientMatrix(_arg1, _arg2, _arg3, _arg4, 0)); } override public function set height(_arg1:Number):void{ _height = _arg1; invalidateDisplayList(); } public function set processedDescriptors(_arg1:Boolean):void{ _processedDescriptors = _arg1; } public function validateDisplayList():void{ invalidateDisplayListFlag = false; updateDisplayList(width, height); } public function get measuredWidth():Number{ return (0); } override public function set width(_arg1:Number):void{ _width = _arg1; invalidateDisplayList(); } public function get measuredHeight():Number{ return (0); } public function set initialized(_arg1:Boolean):void{ _initialized = _arg1; } protected function drawRoundRect(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:Matrix=null, _arg9:String="linear", _arg10:Array=null, _arg11:Object=null):void{ var _local13:Number; var _local14:Array; var _local15:Object; var _local12:Graphics = graphics; if ((((_arg3 == 0)) || ((_arg4 == 0)))){ return; }; if (_arg6 !== null){ if ((_arg6 is uint)){ _local12.beginFill(uint(_arg6), Number(_arg7)); } else { if ((_arg6 is Array)){ _local14 = ((_arg7 is Array)) ? (_arg7 as Array) : [_arg7, _arg7]; if (!_arg10){ _arg10 = [0, 0xFF]; }; _local12.beginGradientFill(_arg9, (_arg6 as Array), _local14, _arg10, _arg8); }; }; }; if (!_arg5){ _local12.drawRect(_arg1, _arg2, _arg3, _arg4); } else { if ((_arg5 is Number)){ _local13 = (Number(_arg5) * 2); _local12.drawRoundRect(_arg1, _arg2, _arg3, _arg4, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg1, _arg2, _arg3, _arg4, _arg5.tl, _arg5.tr, _arg5.bl, _arg5.br); }; }; if (_arg11){ _local15 = _arg11.r; if ((_local15 is Number)){ _local13 = (Number(_local15) * 2); _local12.drawRoundRect(_arg11.x, _arg11.y, _arg11.w, _arg11.h, _local13, _local13); } else { GraphicsUtil.drawRoundRectComplex(_local12, _arg11.x, _arg11.y, _arg11.w, _arg11.h, _local15.tl, _local15.tr, _local15.bl, _local15.br); }; }; if (_arg6 !== null){ _local12.endFill(); }; } public function get processedDescriptors():Boolean{ return (_processedDescriptors); } public function set styleName(_arg1:Object):void{ if (_styleName != _arg1){ _styleName = (_arg1 as IStyleClient); invalidateDisplayList(); }; } public function setActualSize(_arg1:Number, _arg2:Number):void{ var _local3:Boolean; if (_width != _arg1){ _width = _arg1; _local3 = true; }; if (_height != _arg2){ _height = _arg2; _local3 = true; }; if (_local3){ invalidateDisplayList(); }; } public function styleChanged(_arg1:String):void{ invalidateDisplayList(); } override public function get width():Number{ return (_width); } public function invalidateProperties():void{ } public function get initialized():Boolean{ return (_initialized); } protected function rotatedGradientMatrix(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Matrix{ tempMatrix.createGradientBox(_arg3, _arg4, ((_arg5 * Math.PI) / 180), _arg1, _arg2); return (tempMatrix); } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get styleName():Object{ return (_styleName); } public function validateNow():void{ if (invalidateDisplayListFlag){ validateDisplayList(); }; } public function invalidateSize():void{ } public function validateProperties():void{ } } }//package mx.skins
Section 151
//RectangularBorder (mx.skins.RectangularBorder) package mx.skins { import flash.events.*; import flash.display.*; import mx.core.*; import flash.utils.*; import mx.styles.*; import flash.system.*; import flash.geom.*; import mx.resources.*; import flash.net.*; public class RectangularBorder extends Border implements IRectangularBorder { private var backgroundImage:DisplayObject; private var backgroundImageHeight:Number; private var _backgroundImageBounds:Rectangle; private var backgroundImageStyle:Object; private var backgroundImageWidth:Number; private var resourceManager:IResourceManager; mx_internal static const VERSION:String = "3.5.0.12683"; public function RectangularBorder(){ resourceManager = ResourceManager.getInstance(); super(); addEventListener(Event.REMOVED, removedHandler); } public function layoutBackgroundImage():void{ var _local4:Number; var _local5:Number; var _local7:Number; var _local8:Number; var _local14:Number; var _local15:Graphics; var _local1:DisplayObject = parent; var _local2:EdgeMetrics = ((_local1 is IContainer)) ? IContainer(_local1).viewMetrics : borderMetrics; var _local3 = !((getStyle("backgroundAttachment") == "fixed")); if (_backgroundImageBounds){ _local4 = _backgroundImageBounds.width; _local5 = _backgroundImageBounds.height; } else { _local4 = ((width - _local2.left) - _local2.right); _local5 = ((height - _local2.top) - _local2.bottom); }; var _local6:Number = getBackgroundSize(); if (isNaN(_local6)){ _local7 = 1; _local8 = 1; } else { _local14 = (_local6 * 0.01); _local7 = ((_local14 * _local4) / backgroundImageWidth); _local8 = ((_local14 * _local5) / backgroundImageHeight); }; backgroundImage.scaleX = _local7; backgroundImage.scaleY = _local8; var _local9:Number = Math.round((0.5 * (_local4 - (backgroundImageWidth * _local7)))); var _local10:Number = Math.round((0.5 * (_local5 - (backgroundImageHeight * _local8)))); backgroundImage.x = _local2.left; backgroundImage.y = _local2.top; var _local11:Shape = Shape(backgroundImage.mask); _local11.x = _local2.left; _local11.y = _local2.top; if (((_local3) && ((_local1 is IContainer)))){ _local9 = (_local9 - IContainer(_local1).horizontalScrollPosition); _local10 = (_local10 - IContainer(_local1).verticalScrollPosition); }; backgroundImage.alpha = getStyle("backgroundAlpha"); backgroundImage.x = (backgroundImage.x + _local9); backgroundImage.y = (backgroundImage.y + _local10); var _local12:Number = ((width - _local2.left) - _local2.right); var _local13:Number = ((height - _local2.top) - _local2.bottom); if (((!((_local11.width == _local12))) || (!((_local11.height == _local13))))){ _local15 = _local11.graphics; _local15.clear(); _local15.beginFill(0xFFFFFF); _local15.drawRect(0, 0, _local12, _local13); _local15.endFill(); }; } public function set backgroundImageBounds(_arg1:Rectangle):void{ if (((((_backgroundImageBounds) && (_arg1))) && (_backgroundImageBounds.equals(_arg1)))){ return; }; _backgroundImageBounds = _arg1; invalidateDisplayList(); } private function getBackgroundSize():Number{ var _local3:int; var _local1:Number = NaN; var _local2:Object = getStyle("backgroundSize"); if (((_local2) && ((_local2 is String)))){ _local3 = _local2.indexOf("%"); if (_local3 != -1){ _local1 = Number(_local2.substr(0, _local3)); }; }; return (_local1); } private function removedHandler(_arg1:Event):void{ var _local2:IChildList; if (backgroundImage){ _local2 = ((parent is IRawChildrenContainer)) ? IRawChildrenContainer(parent).rawChildren : IChildList(parent); _local2.removeChild(backgroundImage.mask); _local2.removeChild(backgroundImage); backgroundImage = null; }; } private function initBackgroundImage(_arg1:DisplayObject):void{ backgroundImage = _arg1; if ((_arg1 is Loader)){ backgroundImageWidth = Loader(_arg1).contentLoaderInfo.width; backgroundImageHeight = Loader(_arg1).contentLoaderInfo.height; } else { backgroundImageWidth = backgroundImage.width; backgroundImageHeight = backgroundImage.height; if ((_arg1 is ISimpleStyleClient)){ ISimpleStyleClient(_arg1).styleName = styleName; }; }; var _local2:IChildList = ((parent is IRawChildrenContainer)) ? IRawChildrenContainer(parent).rawChildren : IChildList(parent); var _local3:Shape = new FlexShape(); _local3.name = "backgroundMask"; _local3.x = 0; _local3.y = 0; _local2.addChild(_local3); var _local4:int = _local2.getChildIndex(this); _local2.addChildAt(backgroundImage, (_local4 + 1)); backgroundImage.mask = _local3; } public function get backgroundImageBounds():Rectangle{ return (_backgroundImageBounds); } public function get hasBackgroundImage():Boolean{ return (!((backgroundImage == null))); } private function completeEventHandler(_arg1:Event):void{ if (!parent){ return; }; var _local2:DisplayObject = DisplayObject(LoaderInfo(_arg1.target).loader); initBackgroundImage(_local2); layoutBackgroundImage(); dispatchEvent(_arg1.clone()); } override protected function updateDisplayList(_arg1:Number, _arg2:Number):void{ var cls:Class; var newStyleObj:DisplayObject; var loader:Loader; var loaderContext:LoaderContext; var message:String; var unscaledWidth = _arg1; var unscaledHeight = _arg2; if (!parent){ return; }; var newStyle:Object = getStyle("backgroundImage"); if (newStyle != backgroundImageStyle){ removedHandler(null); backgroundImageStyle = newStyle; if (((newStyle) && ((newStyle as Class)))){ cls = Class(newStyle); initBackgroundImage(new (cls)); } else { if (((newStyle) && ((newStyle is String)))){ try { cls = Class(getDefinitionByName(String(newStyle))); } catch(e:Error) { }; if (cls){ newStyleObj = new (cls); initBackgroundImage(newStyleObj); } else { loader = new FlexLoader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeEventHandler); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorEventHandler); loader.contentLoaderInfo.addEventListener(ErrorEvent.ERROR, errorEventHandler); loaderContext = new LoaderContext(); loaderContext.applicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain); loader.load(new URLRequest(String(newStyle)), loaderContext); }; } else { if (newStyle){ message = resourceManager.getString("skins", "notLoaded", [newStyle]); throw (new Error(message)); }; }; }; }; if (backgroundImage){ layoutBackgroundImage(); }; } private function errorEventHandler(_arg1:Event):void{ } } }//package mx.skins
Section 152
//CSSStyleDeclaration (mx.styles.CSSStyleDeclaration) package mx.styles { import flash.events.*; import flash.display.*; import mx.core.*; import flash.utils.*; import mx.managers.*; public class CSSStyleDeclaration extends EventDispatcher { mx_internal var effects:Array; protected var overrides:Object; public var defaultFactory:Function; public var factory:Function; mx_internal var selectorRefCount:int;// = 0 private var styleManager:IStyleManager2; private var clones:Dictionary; mx_internal static const VERSION:String = "3.5.0.12683"; private static const NOT_A_COLOR:uint = 4294967295; private static const FILTERMAP_PROP:String = "__reserved__filterMap"; public function CSSStyleDeclaration(_arg1:String=null){ clones = new Dictionary(true); super(); if (_arg1){ styleManager = (Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2); styleManager.setStyleDeclaration(_arg1, this, false); }; } mx_internal function addStyleToProtoChain(_arg1:Object, _arg2:DisplayObject, _arg3:Object=null):Object{ var p:String; var emptyObjectFactory:Function; var filteredChain:Object; var filterObjectFactory:Function; var i:String; var chain = _arg1; var target = _arg2; var filterMap = _arg3; var nodeAddedToChain:Boolean; var originalChain:Object = chain; if (filterMap){ chain = {}; }; if (defaultFactory != null){ defaultFactory.prototype = chain; chain = new defaultFactory(); nodeAddedToChain = true; }; if (factory != null){ factory.prototype = chain; chain = new factory(); nodeAddedToChain = true; }; if (overrides){ if ((((defaultFactory == null)) && ((factory == null)))){ emptyObjectFactory = function ():void{ }; emptyObjectFactory.prototype = chain; chain = new (emptyObjectFactory); nodeAddedToChain = true; }; for (p in overrides) { if (overrides[p] === undefined){ delete chain[p]; } else { chain[p] = overrides[p]; }; }; }; if (filterMap){ if (nodeAddedToChain){ filteredChain = {}; filterObjectFactory = function ():void{ }; filterObjectFactory.prototype = originalChain; filteredChain = new (filterObjectFactory); for (i in chain) { if (filterMap[i] != null){ filteredChain[filterMap[i]] = chain[i]; }; }; chain = filteredChain; chain[FILTERMAP_PROP] = filterMap; } else { chain = originalChain; }; }; if (nodeAddedToChain){ clones[chain] = 1; }; return (chain); } public function getStyle(_arg1:String){ var _local2:*; var _local3:*; if (overrides){ if ((((_arg1 in overrides)) && ((overrides[_arg1] === undefined)))){ return (undefined); }; _local3 = overrides[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; if (factory != null){ factory.prototype = {}; _local2 = new factory(); _local3 = _local2[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; if (defaultFactory != null){ defaultFactory.prototype = {}; _local2 = new defaultFactory(); _local3 = _local2[_arg1]; if (_local3 !== undefined){ return (_local3); }; }; return (undefined); } public function clearStyle(_arg1:String):void{ setStyle(_arg1, undefined); } public function setStyle(_arg1:String, _arg2):void{ var _local7:int; var _local8:Object; var _local3:Object = getStyle(_arg1); var _local4:Boolean; if ((((((((((selectorRefCount > 0)) && ((factory == null)))) && ((defaultFactory == null)))) && (!(overrides)))) && (!((_local3 === _arg2))))){ _local4 = true; }; if (_arg2 !== undefined){ setStyle(_arg1, _arg2); } else { if (_arg2 == _local3){ return; }; setStyle(_arg1, _arg2); }; var _local5:Array = SystemManagerGlobals.topLevelSystemManagers; var _local6:int = _local5.length; if (_local4){ _local7 = 0; while (_local7 < _local6) { _local8 = _local5[_local7]; _local8.regenerateStyleCache(true); _local7++; }; }; _local7 = 0; while (_local7 < _local6) { _local8 = _local5[_local7]; _local8.notifyStyleChangeInChildren(_arg1, true); _local7++; }; } private function clearStyleAttr(_arg1:String):void{ var _local2:*; if (!overrides){ overrides = {}; }; overrides[_arg1] = undefined; for (_local2 in clones) { delete _local2[_arg1]; }; } mx_internal function createProtoChainRoot():Object{ var _local1:Object = {}; if (defaultFactory != null){ defaultFactory.prototype = _local1; _local1 = new defaultFactory(); }; if (factory != null){ factory.prototype = _local1; _local1 = new factory(); }; clones[_local1] = 1; return (_local1); } mx_internal function clearOverride(_arg1:String):void{ if (((overrides) && (overrides[_arg1]))){ delete overrides[_arg1]; }; } mx_internal function setStyle(_arg1:String, _arg2):void{ var _local3:Object; var _local4:*; var _local5:Number; var _local6:Object; if (_arg2 === undefined){ clearStyleAttr(_arg1); return; }; if ((_arg2 is String)){ if (!styleManager){ styleManager = (Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2); }; _local5 = styleManager.getColorName(_arg2); if (_local5 != NOT_A_COLOR){ _arg2 = _local5; }; }; if (defaultFactory != null){ _local3 = new defaultFactory(); if (_local3[_arg1] !== _arg2){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; } else { if (overrides){ delete overrides[_arg1]; }; }; }; if (factory != null){ _local3 = new factory(); if (_local3[_arg1] !== _arg2){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; } else { if (overrides){ delete overrides[_arg1]; }; }; }; if ((((defaultFactory == null)) && ((factory == null)))){ if (!overrides){ overrides = {}; }; overrides[_arg1] = _arg2; }; for (_local4 in clones) { _local6 = _local4[FILTERMAP_PROP]; if (_local6){ if (_local6[_arg1] != null){ _local4[_local6[_arg1]] = _arg2; }; } else { _local4[_arg1] = _arg2; }; }; } } }//package mx.styles
Section 153
//ISimpleStyleClient (mx.styles.ISimpleStyleClient) package mx.styles { public interface ISimpleStyleClient { function set styleName(_arg1:Object):void; function styleChanged(_arg1:String):void; function get styleName():Object; } }//package mx.styles
Section 154
//IStyleClient (mx.styles.IStyleClient) package mx.styles { public interface IStyleClient extends ISimpleStyleClient { function regenerateStyleCache(_arg1:Boolean):void; function get className():String; function clearStyle(_arg1:String):void; function getClassStyleDeclarations():Array; function get inheritingStyles():Object; function set nonInheritingStyles(_arg1:Object):void; function setStyle(_arg1:String, _arg2):void; function get styleDeclaration():CSSStyleDeclaration; function set styleDeclaration(_arg1:CSSStyleDeclaration):void; function get nonInheritingStyles():Object; function set inheritingStyles(_arg1:Object):void; function getStyle(_arg1:String); function notifyStyleChangeInChildren(_arg1:String, _arg2:Boolean):void; function registerEffects(_arg1:Array):void; } }//package mx.styles
Section 155
//IStyleManager (mx.styles.IStyleManager) package mx.styles { import flash.events.*; public interface IStyleManager { function isColorName(_arg1:String):Boolean; function registerParentDisplayListInvalidatingStyle(_arg1:String):void; function registerInheritingStyle(_arg1:String):void; function set stylesRoot(_arg1:Object):void; function get typeSelectorCache():Object; function styleDeclarationsChanged():void; function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void; function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean; function isSizeInvalidatingStyle(_arg1:String):Boolean; function get inheritingStyles():Object; function isValidStyleValue(_arg1):Boolean; function isParentSizeInvalidatingStyle(_arg1:String):Boolean; function getColorName(_arg1:Object):uint; function set typeSelectorCache(_arg1:Object):void; function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void; function getColorNames(_arg1:Array):void; function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):IEventDispatcher; function isInheritingStyle(_arg1:String):Boolean; function set inheritingStyles(_arg1:Object):void; function get stylesRoot():Object; function initProtoChainRoots():void; function registerColorName(_arg1:String, _arg2:uint):void; function registerParentSizeInvalidatingStyle(_arg1:String):void; function registerSizeInvalidatingStyle(_arg1:String):void; function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void; function isInheritingTextFormatStyle(_arg1:String):Boolean; function getStyleDeclaration(_arg1:String):CSSStyleDeclaration; } }//package mx.styles
Section 156
//IStyleManager2 (mx.styles.IStyleManager2) package mx.styles { import flash.events.*; import flash.system.*; public interface IStyleManager2 extends IStyleManager { function get selectors():Array; function loadStyleDeclarations2(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher; } }//package mx.styles
Section 157
//IStyleModule (mx.styles.IStyleModule) package mx.styles { public interface IStyleModule { function unload():void; } }//package mx.styles
Section 158
//StyleManager (mx.styles.StyleManager) package mx.styles { import flash.events.*; import mx.core.*; import flash.system.*; public class StyleManager { mx_internal static const VERSION:String = "3.5.0.12683"; public static const NOT_A_COLOR:uint = 4294967295; private static var _impl:IStyleManager2; private static var implClassDependency:StyleManagerImpl; public static function isParentSizeInvalidatingStyle(_arg1:String):Boolean{ return (impl.isParentSizeInvalidatingStyle(_arg1)); } public static function registerInheritingStyle(_arg1:String):void{ impl.registerInheritingStyle(_arg1); } mx_internal static function set stylesRoot(_arg1:Object):void{ impl.stylesRoot = _arg1; } mx_internal static function get inheritingStyles():Object{ return (impl.inheritingStyles); } mx_internal static function styleDeclarationsChanged():void{ impl.styleDeclarationsChanged(); } public static function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void{ impl.setStyleDeclaration(_arg1, _arg2, _arg3); } public static function registerParentDisplayListInvalidatingStyle(_arg1:String):void{ impl.registerParentDisplayListInvalidatingStyle(_arg1); } mx_internal static function get typeSelectorCache():Object{ return (impl.typeSelectorCache); } mx_internal static function set inheritingStyles(_arg1:Object):void{ impl.inheritingStyles = _arg1; } public static function isColorName(_arg1:String):Boolean{ return (impl.isColorName(_arg1)); } public static function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean{ return (impl.isParentDisplayListInvalidatingStyle(_arg1)); } public static function isSizeInvalidatingStyle(_arg1:String):Boolean{ return (impl.isSizeInvalidatingStyle(_arg1)); } public static function getColorName(_arg1:Object):uint{ return (impl.getColorName(_arg1)); } mx_internal static function set typeSelectorCache(_arg1:Object):void{ impl.typeSelectorCache = _arg1; } public static function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void{ impl.unloadStyleDeclarations(_arg1, _arg2); } public static function getColorNames(_arg1:Array):void{ impl.getColorNames(_arg1); } public static function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false, _arg4:ApplicationDomain=null, _arg5:SecurityDomain=null):IEventDispatcher{ return (impl.loadStyleDeclarations2(_arg1, _arg2, _arg4, _arg5)); } private static function get impl():IStyleManager2{ if (!_impl){ _impl = IStyleManager2(Singleton.getInstance("mx.styles::IStyleManager2")); }; return (_impl); } public static function isValidStyleValue(_arg1):Boolean{ return (impl.isValidStyleValue(_arg1)); } mx_internal static function get stylesRoot():Object{ return (impl.stylesRoot); } public static function isInheritingStyle(_arg1:String):Boolean{ return (impl.isInheritingStyle(_arg1)); } mx_internal static function initProtoChainRoots():void{ impl.initProtoChainRoots(); } public static function registerParentSizeInvalidatingStyle(_arg1:String):void{ impl.registerParentSizeInvalidatingStyle(_arg1); } public static function get selectors():Array{ return (impl.selectors); } public static function registerSizeInvalidatingStyle(_arg1:String):void{ impl.registerSizeInvalidatingStyle(_arg1); } public static function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void{ impl.clearStyleDeclaration(_arg1, _arg2); } public static function registerColorName(_arg1:String, _arg2:uint):void{ impl.registerColorName(_arg1, _arg2); } public static function isInheritingTextFormatStyle(_arg1:String):Boolean{ return (impl.isInheritingTextFormatStyle(_arg1)); } public static function getStyleDeclaration(_arg1:String):CSSStyleDeclaration{ return (impl.getStyleDeclaration(_arg1)); } } }//package mx.styles
Section 159
//StyleManagerImpl (mx.styles.StyleManagerImpl) package mx.styles { import flash.events.*; import mx.core.*; import flash.utils.*; import flash.system.*; import mx.modules.*; import mx.events.*; import mx.resources.*; import mx.managers.*; public class StyleManagerImpl implements IStyleManager2 { private var _stylesRoot:Object; private var _selectors:Object; private var styleModules:Object; private var _inheritingStyles:Object; private var resourceManager:IResourceManager; private var _typeSelectorCache:Object; mx_internal static const VERSION:String = "3.5.0.12683"; private static var parentSizeInvalidatingStyles:Object = {bottom:true, horizontalCenter:true, left:true, right:true, top:true, verticalCenter:true, baseline:true}; private static var colorNames:Object = {transparent:"transparent", black:0, blue:0xFF, green:0x8000, gray:0x808080, silver:0xC0C0C0, lime:0xFF00, olive:0x808000, white:0xFFFFFF, yellow:0xFFFF00, maroon:0x800000, navy:128, red:0xFF0000, purple:0x800080, teal:0x8080, fuchsia:0xFF00FF, aqua:0xFFFF, magenta:0xFF00FF, cyan:0xFFFF, halogreen:8453965, haloblue:40447, haloorange:0xFFB600, halosilver:11455193}; private static var inheritingTextFormatStyles:Object = {align:true, bold:true, color:true, font:true, indent:true, italic:true, size:true}; private static var instance:IStyleManager2; private static var parentDisplayListInvalidatingStyles:Object = {bottom:true, horizontalCenter:true, left:true, right:true, top:true, verticalCenter:true, baseline:true}; private static var sizeInvalidatingStyles:Object = {borderStyle:true, borderThickness:true, fontAntiAliasType:true, fontFamily:true, fontGridFitType:true, fontSharpness:true, fontSize:true, fontStyle:true, fontThickness:true, fontWeight:true, headerHeight:true, horizontalAlign:true, horizontalGap:true, kerning:true, leading:true, letterSpacing:true, paddingBottom:true, paddingLeft:true, paddingRight:true, paddingTop:true, strokeWidth:true, tabHeight:true, tabWidth:true, verticalAlign:true, verticalGap:true}; public function StyleManagerImpl(){ _selectors = {}; styleModules = {}; resourceManager = ResourceManager.getInstance(); _inheritingStyles = {}; _typeSelectorCache = {}; super(); } public function setStyleDeclaration(_arg1:String, _arg2:CSSStyleDeclaration, _arg3:Boolean):void{ _arg2.selectorRefCount++; _selectors[_arg1] = _arg2; typeSelectorCache = {}; if (_arg3){ styleDeclarationsChanged(); }; } public function registerParentDisplayListInvalidatingStyle(_arg1:String):void{ parentDisplayListInvalidatingStyles[_arg1] = true; } public function getStyleDeclaration(_arg1:String):CSSStyleDeclaration{ var _local2:int; if (_arg1.charAt(0) != "."){ _local2 = _arg1.lastIndexOf("."); if (_local2 != -1){ _arg1 = _arg1.substr((_local2 + 1)); }; }; return (_selectors[_arg1]); } public function set typeSelectorCache(_arg1:Object):void{ _typeSelectorCache = _arg1; } public function isColorName(_arg1:String):Boolean{ return (!((colorNames[_arg1.toLowerCase()] === undefined))); } public function set inheritingStyles(_arg1:Object):void{ _inheritingStyles = _arg1; } public function getColorNames(_arg1:Array):void{ var _local4:uint; if (!_arg1){ return; }; var _local2:int = _arg1.length; var _local3:int; while (_local3 < _local2) { if (((!((_arg1[_local3] == null))) && (isNaN(_arg1[_local3])))){ _local4 = getColorName(_arg1[_local3]); if (_local4 != StyleManager.NOT_A_COLOR){ _arg1[_local3] = _local4; }; }; _local3++; }; } public function isInheritingTextFormatStyle(_arg1:String):Boolean{ return ((inheritingTextFormatStyles[_arg1] == true)); } public function registerParentSizeInvalidatingStyle(_arg1:String):void{ parentSizeInvalidatingStyles[_arg1] = true; } public function registerColorName(_arg1:String, _arg2:uint):void{ colorNames[_arg1.toLowerCase()] = _arg2; } public function isParentSizeInvalidatingStyle(_arg1:String):Boolean{ return ((parentSizeInvalidatingStyles[_arg1] == true)); } public function registerInheritingStyle(_arg1:String):void{ inheritingStyles[_arg1] = true; } public function set stylesRoot(_arg1:Object):void{ _stylesRoot = _arg1; } public function get typeSelectorCache():Object{ return (_typeSelectorCache); } public function isParentDisplayListInvalidatingStyle(_arg1:String):Boolean{ return ((parentDisplayListInvalidatingStyles[_arg1] == true)); } public function isSizeInvalidatingStyle(_arg1:String):Boolean{ return ((sizeInvalidatingStyles[_arg1] == true)); } public function styleDeclarationsChanged():void{ var _local4:Object; var _local1:Array = SystemManagerGlobals.topLevelSystemManagers; var _local2:int = _local1.length; var _local3:int; while (_local3 < _local2) { _local4 = _local1[_local3]; _local4.regenerateStyleCache(true); _local4.notifyStyleChangeInChildren(null, true); _local3++; }; } public function isValidStyleValue(_arg1):Boolean{ return (!((_arg1 === undefined))); } public function loadStyleDeclarations(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):IEventDispatcher{ return (loadStyleDeclarations2(_arg1, _arg2)); } public function get inheritingStyles():Object{ return (_inheritingStyles); } public function unloadStyleDeclarations(_arg1:String, _arg2:Boolean=true):void{ var _local4:IModuleInfo; var _local3:StyleModuleInfo = styleModules[_arg1]; if (_local3){ _local3.styleModule.unload(); _local4 = _local3.module; _local4.unload(); _local4.removeEventListener(ModuleEvent.READY, _local3.readyHandler); _local4.removeEventListener(ModuleEvent.ERROR, _local3.errorHandler); styleModules[_arg1] = null; }; if (_arg2){ styleDeclarationsChanged(); }; } public function getColorName(_arg1:Object):uint{ var _local2:Number; var _local3:*; if ((_arg1 is String)){ if (_arg1.charAt(0) == "#"){ _local2 = Number(("0x" + _arg1.slice(1))); return ((isNaN(_local2)) ? StyleManager.NOT_A_COLOR : uint(_local2)); }; if ((((_arg1.charAt(1) == "x")) && ((_arg1.charAt(0) == "0")))){ _local2 = Number(_arg1); return ((isNaN(_local2)) ? StyleManager.NOT_A_COLOR : uint(_local2)); }; _local3 = colorNames[_arg1.toLowerCase()]; if (_local3 === undefined){ return (StyleManager.NOT_A_COLOR); }; return (uint(_local3)); }; return (uint(_arg1)); } public function isInheritingStyle(_arg1:String):Boolean{ return ((inheritingStyles[_arg1] == true)); } public function get stylesRoot():Object{ return (_stylesRoot); } public function initProtoChainRoots():void{ if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0){ delete _inheritingStyles["textDecoration"]; delete _inheritingStyles["leading"]; }; if (!stylesRoot){ stylesRoot = _selectors["global"].addStyleToProtoChain({}, null); }; } public function loadStyleDeclarations2(_arg1:String, _arg2:Boolean=true, _arg3:ApplicationDomain=null, _arg4:SecurityDomain=null):IEventDispatcher{ var module:IModuleInfo; var styleEventDispatcher:StyleEventDispatcher; var timer:Timer; var timerHandler:Function; var url = _arg1; var update = _arg2; var applicationDomain = _arg3; var securityDomain = _arg4; module = ModuleManager.getModule(url); var readyHandler:Function = function (_arg1:ModuleEvent):void{ var _local2:IStyleModule = IStyleModule(_arg1.module.factory.create()); styleModules[_arg1.module.url].styleModule = _local2; if (update){ styleDeclarationsChanged(); }; }; module.addEventListener(ModuleEvent.READY, readyHandler, false, 0, true); styleEventDispatcher = new StyleEventDispatcher(module); var errorHandler:Function = function (_arg1:ModuleEvent):void{ var _local3:StyleEvent; var _local2:String = resourceManager.getString("styles", "unableToLoad", [_arg1.errorText, url]); if (styleEventDispatcher.willTrigger(StyleEvent.ERROR)){ _local3 = new StyleEvent(StyleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local3.bytesLoaded = 0; _local3.bytesTotal = 0; _local3.errorText = _local2; styleEventDispatcher.dispatchEvent(_local3); } else { throw (new Error(_local2)); }; }; module.addEventListener(ModuleEvent.ERROR, errorHandler, false, 0, true); styleModules[url] = new StyleModuleInfo(module, readyHandler, errorHandler); timer = new Timer(0); timerHandler = function (_arg1:TimerEvent):void{ timer.removeEventListener(TimerEvent.TIMER, timerHandler); timer.stop(); module.load(applicationDomain, securityDomain); }; timer.addEventListener(TimerEvent.TIMER, timerHandler, false, 0, true); timer.start(); return (styleEventDispatcher); } public function registerSizeInvalidatingStyle(_arg1:String):void{ sizeInvalidatingStyles[_arg1] = true; } public function clearStyleDeclaration(_arg1:String, _arg2:Boolean):void{ var _local3:CSSStyleDeclaration = getStyleDeclaration(_arg1); if (((_local3) && ((_local3.selectorRefCount > 0)))){ _local3.selectorRefCount--; }; delete _selectors[_arg1]; if (_arg2){ styleDeclarationsChanged(); }; } public function get selectors():Array{ var _local2:String; var _local1:Array = []; for (_local2 in _selectors) { _local1.push(_local2); }; return (_local1); } public static function getInstance():IStyleManager2{ if (!instance){ instance = new (StyleManagerImpl); }; return (instance); } } }//package mx.styles import flash.events.*; import mx.modules.*; import mx.events.*; class StyleEventDispatcher extends EventDispatcher { private function StyleEventDispatcher(_arg1:IModuleInfo){ _arg1.addEventListener(ModuleEvent.ERROR, moduleInfo_errorHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.PROGRESS, moduleInfo_progressHandler, false, 0, true); _arg1.addEventListener(ModuleEvent.READY, moduleInfo_readyHandler, false, 0, true); } private function moduleInfo_progressHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.PROGRESS, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } private function moduleInfo_readyHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.COMPLETE); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; dispatchEvent(_local2); } private function moduleInfo_errorHandler(_arg1:ModuleEvent):void{ var _local2:StyleEvent = new StyleEvent(StyleEvent.ERROR, _arg1.bubbles, _arg1.cancelable); _local2.bytesLoaded = _arg1.bytesLoaded; _local2.bytesTotal = _arg1.bytesTotal; _local2.errorText = _arg1.errorText; dispatchEvent(_local2); } } class StyleModuleInfo { public var errorHandler:Function; public var readyHandler:Function; public var module:IModuleInfo; public var styleModule:IStyleModule; private function StyleModuleInfo(_arg1:IModuleInfo, _arg2:Function, _arg3:Function){ this.module = _arg1; this.readyHandler = _arg2; this.errorHandler = _arg3; } }
Section 160
//ColorUtil (mx.utils.ColorUtil) package mx.utils { import mx.core.*; public class ColorUtil { mx_internal static const VERSION:String = "3.5.0.12683"; public static function adjustBrightness2(_arg1:uint, _arg2:Number):uint{ var _local3:Number; var _local4:Number; var _local5:Number; if (_arg2 == 0){ return (_arg1); }; if (_arg2 < 0){ _arg2 = ((100 + _arg2) / 100); _local3 = (((_arg1 >> 16) & 0xFF) * _arg2); _local4 = (((_arg1 >> 8) & 0xFF) * _arg2); _local5 = ((_arg1 & 0xFF) * _arg2); } else { _arg2 = (_arg2 / 100); _local3 = ((_arg1 >> 16) & 0xFF); _local4 = ((_arg1 >> 8) & 0xFF); _local5 = (_arg1 & 0xFF); _local3 = (_local3 + ((0xFF - _local3) * _arg2)); _local4 = (_local4 + ((0xFF - _local4) * _arg2)); _local5 = (_local5 + ((0xFF - _local5) * _arg2)); _local3 = Math.min(_local3, 0xFF); _local4 = Math.min(_local4, 0xFF); _local5 = Math.min(_local5, 0xFF); }; return ((((_local3 << 16) | (_local4 << 8)) | _local5)); } public static function rgbMultiply(_arg1:uint, _arg2:uint):uint{ var _local3:Number = ((_arg1 >> 16) & 0xFF); var _local4:Number = ((_arg1 >> 8) & 0xFF); var _local5:Number = (_arg1 & 0xFF); var _local6:Number = ((_arg2 >> 16) & 0xFF); var _local7:Number = ((_arg2 >> 8) & 0xFF); var _local8:Number = (_arg2 & 0xFF); return ((((((_local3 * _local6) / 0xFF) << 16) | (((_local4 * _local7) / 0xFF) << 8)) | ((_local5 * _local8) / 0xFF))); } public static function adjustBrightness(_arg1:uint, _arg2:Number):uint{ var _local3:Number = Math.max(Math.min((((_arg1 >> 16) & 0xFF) + _arg2), 0xFF), 0); var _local4:Number = Math.max(Math.min((((_arg1 >> 8) & 0xFF) + _arg2), 0xFF), 0); var _local5:Number = Math.max(Math.min(((_arg1 & 0xFF) + _arg2), 0xFF), 0); return ((((_local3 << 16) | (_local4 << 8)) | _local5)); } } }//package mx.utils
Section 161
//GraphicsUtil (mx.utils.GraphicsUtil) package mx.utils { import flash.display.*; import mx.core.*; public class GraphicsUtil { mx_internal static const VERSION:String = "3.5.0.12683"; public static function drawRoundRectComplex(_arg1:Graphics, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number, _arg9:Number):void{ var _local10:Number = (_arg2 + _arg4); var _local11:Number = (_arg3 + _arg5); var _local12:Number = ((_arg4 < _arg5)) ? (_arg4 * 2) : (_arg5 * 2); _arg6 = ((_arg6 < _local12)) ? _arg6 : _local12; _arg7 = ((_arg7 < _local12)) ? _arg7 : _local12; _arg8 = ((_arg8 < _local12)) ? _arg8 : _local12; _arg9 = ((_arg9 < _local12)) ? _arg9 : _local12; var _local13:Number = (_arg9 * 0.292893218813453); var _local14:Number = (_arg9 * 0.585786437626905); _arg1.moveTo(_local10, (_local11 - _arg9)); _arg1.curveTo(_local10, (_local11 - _local14), (_local10 - _local13), (_local11 - _local13)); _arg1.curveTo((_local10 - _local14), _local11, (_local10 - _arg9), _local11); _local13 = (_arg8 * 0.292893218813453); _local14 = (_arg8 * 0.585786437626905); _arg1.lineTo((_arg2 + _arg8), _local11); _arg1.curveTo((_arg2 + _local14), _local11, (_arg2 + _local13), (_local11 - _local13)); _arg1.curveTo(_arg2, (_local11 - _local14), _arg2, (_local11 - _arg8)); _local13 = (_arg6 * 0.292893218813453); _local14 = (_arg6 * 0.585786437626905); _arg1.lineTo(_arg2, (_arg3 + _arg6)); _arg1.curveTo(_arg2, (_arg3 + _local14), (_arg2 + _local13), (_arg3 + _local13)); _arg1.curveTo((_arg2 + _local14), _arg3, (_arg2 + _arg6), _arg3); _local13 = (_arg7 * 0.292893218813453); _local14 = (_arg7 * 0.585786437626905); _arg1.lineTo((_local10 - _arg7), _arg3); _arg1.curveTo((_local10 - _local14), _arg3, (_local10 - _local13), (_arg3 + _local13)); _arg1.curveTo(_local10, (_arg3 + _local14), _local10, (_arg3 + _arg7)); _arg1.lineTo(_local10, (_local11 - _arg9)); } } }//package mx.utils
Section 162
//NameUtil (mx.utils.NameUtil) package mx.utils { import flash.display.*; import mx.core.*; import flash.utils.*; public class NameUtil { mx_internal static const VERSION:String = "3.5.0.12683"; private static var counter:int = 0; public static function displayObjectToString(_arg1:DisplayObject):String{ var result:String; var o:DisplayObject; var s:String; var indices:Array; var displayObject = _arg1; try { o = displayObject; while (o != null) { if (((((o.parent) && (o.stage))) && ((o.parent == o.stage)))){ break; }; s = o.name; if ((o is IRepeaterClient)){ indices = IRepeaterClient(o).instanceIndices; if (indices){ s = (s + (("[" + indices.join("][")) + "]")); }; }; result = ((result == null)) ? s : ((s + ".") + result); o = o.parent; }; } catch(e:SecurityError) { }; return (result); } public static function createUniqueName(_arg1:Object):String{ if (!_arg1){ return (null); }; var _local2:String = getQualifiedClassName(_arg1); var _local3:int = _local2.indexOf("::"); if (_local3 != -1){ _local2 = _local2.substr((_local3 + 2)); }; var _local4:int = _local2.charCodeAt((_local2.length - 1)); if ((((_local4 >= 48)) && ((_local4 <= 57)))){ _local2 = (_local2 + "_"); }; return ((_local2 + counter++)); } } }//package mx.utils
Section 163
//StringUtil (mx.utils.StringUtil) package mx.utils { import mx.core.*; public class StringUtil { mx_internal static const VERSION:String = "3.5.0.12683"; public static function trim(_arg1:String):String{ if (_arg1 == null){ return (""); }; var _local2:int; while (isWhitespace(_arg1.charAt(_local2))) { _local2++; }; var _local3:int = (_arg1.length - 1); while (isWhitespace(_arg1.charAt(_local3))) { _local3--; }; if (_local3 >= _local2){ return (_arg1.slice(_local2, (_local3 + 1))); }; return (""); } public static function isWhitespace(_arg1:String):Boolean{ switch (_arg1){ case " ": case "\t": case "\r": case "\n": case "\f": return (true); default: return (false); }; } public static function substitute(_arg1:String, ... _args):String{ var _local4:Array; if (_arg1 == null){ return (""); }; var _local3:uint = _args.length; if ((((_local3 == 1)) && ((_args[0] is Array)))){ _local4 = (_args[0] as Array); _local3 = _local4.length; } else { _local4 = _args; }; var _local5:int; while (_local5 < _local3) { _arg1 = _arg1.replace(new RegExp((("\\{" + _local5) + "\\}"), "g"), _local4[_local5]); _local5++; }; return (_arg1); } public static function trimArrayElements(_arg1:String, _arg2:String):String{ var _local3:Array; var _local4:int; var _local5:int; if (((!((_arg1 == ""))) && (!((_arg1 == null))))){ _local3 = _arg1.split(_arg2); _local4 = _local3.length; _local5 = 0; while (_local5 < _local4) { _local3[_local5] = StringUtil.trim(_local3[_local5]); _local5++; }; if (_local4 > 0){ _arg1 = _local3.join(_arg2); }; }; return (_arg1); } } }//package mx.utils
Section 164
//_activeButtonStyleStyle (_activeButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _activeButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".activeButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".activeButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 165
//_activeTabStyleStyle (_activeTabStyleStyle) package { import mx.core.*; import mx.styles.*; public class _activeTabStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".activeTabStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".activeTabStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 166
//_alertButtonStyleStyle (_alertButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _alertButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".alertButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".alertButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.color = 734012; }; }; } } }//package
Section 167
//_comboDropdownStyle (_comboDropdownStyle) package { import mx.core.*; import mx.styles.*; public class _comboDropdownStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".comboDropdown"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".comboDropdown", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.shadowDirection = "center"; this.fontWeight = "normal"; this.dropShadowEnabled = true; this.leading = 0; this.backgroundColor = 0xFFFFFF; this.shadowDistance = 1; this.cornerRadius = 0; this.borderThickness = 0; this.paddingLeft = 5; this.paddingRight = 5; }; }; } } }//package
Section 168
//_dataGridStylesStyle (_dataGridStylesStyle) package { import mx.core.*; import mx.styles.*; public class _dataGridStylesStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".dataGridStyles"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".dataGridStyles", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 169
//_dateFieldPopupStyle (_dateFieldPopupStyle) package { import mx.core.*; import mx.styles.*; public class _dateFieldPopupStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".dateFieldPopup"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".dateFieldPopup", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.dropShadowEnabled = true; this.backgroundColor = 0xFFFFFF; this.borderThickness = 0; }; }; } } }//package
Section 170
//_errorTipStyle (_errorTipStyle) package { import mx.core.*; import mx.styles.*; public class _errorTipStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".errorTip"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".errorTip", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; this.borderStyle = "errorTipRight"; this.paddingTop = 4; this.borderColor = 13510953; this.color = 0xFFFFFF; this.fontSize = 9; this.shadowColor = 0; this.paddingLeft = 4; this.paddingBottom = 4; this.paddingRight = 4; }; }; } } }//package
Section 171
//_globalStyle (_globalStyle) package { import mx.core.*; import mx.styles.*; import mx.skins.halo.*; public class _globalStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("global"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration("global", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fillColor = 0xFFFFFF; this.kerning = false; this.iconColor = 0x111111; this.textRollOverColor = 2831164; this.horizontalAlign = "left"; this.shadowCapColor = 14015965; this.backgroundAlpha = 1; this.filled = true; this.textDecoration = "none"; this.roundedBottomCorners = true; this.fontThickness = 0; this.focusBlendMode = "normal"; this.fillColors = [0xFFFFFF, 0xCCCCCC, 0xFFFFFF, 0xEEEEEE]; this.horizontalGap = 8; this.borderCapColor = 9542041; this.buttonColor = 7305079; this.indentation = 17; this.selectionDisabledColor = 0xDDDDDD; this.closeDuration = 250; this.embedFonts = false; this.paddingTop = 0; this.letterSpacing = 0; this.focusAlpha = 0.4; this.bevel = true; this.fontSize = 10; this.shadowColor = 0xEEEEEE; this.borderAlpha = 1; this.paddingLeft = 0; this.fontWeight = "normal"; this.indicatorGap = 14; this.focusSkin = HaloFocusRect; this.dropShadowEnabled = false; this.leading = 2; this.borderSkin = HaloBorder; this.fontSharpness = 0; this.modalTransparencyDuration = 100; this.borderThickness = 1; this.backgroundSize = "auto"; this.borderStyle = "inset"; this.borderColor = 12040892; this.fontAntiAliasType = "advanced"; this.errorColor = 0xFF0000; this.shadowDistance = 2; this.horizontalGridLineColor = 0xF7F7F7; this.stroked = false; this.modalTransparencyColor = 0xDDDDDD; this.cornerRadius = 0; this.verticalAlign = "top"; this.textIndent = 0; this.fillAlphas = [0.6, 0.4, 0.75, 0.65]; this.verticalGridLineColor = 14015965; this.themeColor = 40447; this.version = "3.0.0"; this.shadowDirection = "center"; this.modalTransparency = 0.5; this.repeatInterval = 35; this.openDuration = 250; this.textAlign = "left"; this.fontFamily = "Verdana"; this.textSelectedColor = 2831164; this.paddingBottom = 0; this.strokeWidth = 1; this.fontGridFitType = "pixel"; this.horizontalGridLines = false; this.useRollOver = true; this.verticalGridLines = true; this.repeatDelay = 500; this.fontStyle = "normal"; this.dropShadowColor = 0; this.focusThickness = 2; this.verticalGap = 6; this.disabledColor = 11187123; this.paddingRight = 0; this.focusRoundedCorners = "tl tr bl br"; this.borderSides = "left top right bottom"; this.disabledIconColor = 0x999999; this.modalTransparencyBlur = 3; this.color = 734012; this.selectionDuration = 250; this.highlightAlphas = [0.3, 0]; }; }; } } }//package
Section 172
//_headerDateTextStyle (_headerDateTextStyle) package { import mx.core.*; import mx.styles.*; public class _headerDateTextStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".headerDateText"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".headerDateText", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; this.textAlign = "center"; }; }; } } }//package
Section 173
//_headerDragProxyStyleStyle (_headerDragProxyStyleStyle) package { import mx.core.*; import mx.styles.*; public class _headerDragProxyStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".headerDragProxyStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".headerDragProxyStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 174
//_linkButtonStyleStyle (_linkButtonStyleStyle) package { import mx.core.*; import mx.styles.*; public class _linkButtonStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".linkButtonStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".linkButtonStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 2; this.paddingLeft = 2; this.paddingBottom = 2; this.paddingRight = 2; }; }; } } }//package
Section 175
//_opaquePanelStyle (_opaquePanelStyle) package { import mx.core.*; import mx.styles.*; public class _opaquePanelStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".opaquePanel"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".opaquePanel", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.borderColor = 0xFFFFFF; this.backgroundColor = 0xFFFFFF; this.headerColors = [0xE7E7E7, 0xD9D9D9]; this.footerColors = [0xE7E7E7, 0xC7C7C7]; this.borderAlpha = 1; }; }; } } }//package
Section 176
//_plainStyle (_plainStyle) package { import mx.core.*; import mx.styles.*; public class _plainStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".plain"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".plain", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.paddingTop = 0; this.backgroundColor = 0xFFFFFF; this.backgroundImage = ""; this.horizontalAlign = "left"; this.paddingLeft = 0; this.paddingBottom = 0; this.paddingRight = 0; }; }; } } }//package
Section 177
//_popUpMenuStyle (_popUpMenuStyle) package { import mx.core.*; import mx.styles.*; public class _popUpMenuStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".popUpMenu"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".popUpMenu", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "normal"; this.textAlign = "left"; }; }; } } }//package
Section 178
//_richTextEditorTextAreaStyleStyle (_richTextEditorTextAreaStyleStyle) package { import mx.core.*; import mx.styles.*; public class _richTextEditorTextAreaStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".richTextEditorTextAreaStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".richTextEditorTextAreaStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 179
//_swatchPanelTextFieldStyle (_swatchPanelTextFieldStyle) package { import mx.core.*; import mx.styles.*; public class _swatchPanelTextFieldStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".swatchPanelTextField"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".swatchPanelTextField", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.borderStyle = "inset"; this.borderColor = 14015965; this.highlightColor = 12897484; this.backgroundColor = 0xFFFFFF; this.shadowCapColor = 14015965; this.shadowColor = 14015965; this.paddingLeft = 5; this.buttonColor = 7305079; this.borderCapColor = 9542041; this.paddingRight = 5; }; }; } } }//package
Section 180
//_textAreaHScrollBarStyleStyle (_textAreaHScrollBarStyleStyle) package { import mx.core.*; import mx.styles.*; public class _textAreaHScrollBarStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".textAreaHScrollBarStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".textAreaHScrollBarStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 181
//_textAreaVScrollBarStyleStyle (_textAreaVScrollBarStyleStyle) package { import mx.core.*; import mx.styles.*; public class _textAreaVScrollBarStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".textAreaVScrollBarStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".textAreaVScrollBarStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ }; }; } } }//package
Section 182
//_todayStyleStyle (_todayStyleStyle) package { import mx.core.*; import mx.styles.*; public class _todayStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".todayStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".todayStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.color = 0xFFFFFF; this.textAlign = "center"; }; }; } } }//package
Section 183
//_weekDayStyleStyle (_weekDayStyleStyle) package { import mx.core.*; import mx.styles.*; public class _weekDayStyleStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".weekDayStyle"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".weekDayStyle", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; this.textAlign = "center"; }; }; } } }//package
Section 184
//_windowStatusStyle (_windowStatusStyle) package { import mx.core.*; import mx.styles.*; public class _windowStatusStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".windowStatus"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".windowStatus", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.color = 0x666666; }; }; } } }//package
Section 185
//_windowStylesStyle (_windowStylesStyle) package { import mx.core.*; import mx.styles.*; public class _windowStylesStyle { public static function init(_arg1:IFlexModuleFactory):void{ var fbs = _arg1; var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".windowStyles"); if (!style){ style = new CSSStyleDeclaration(); StyleManager.setStyleDeclaration(".windowStyles", style, false); }; if (style.defaultFactory == null){ style.defaultFactory = function ():void{ this.fontWeight = "bold"; }; }; } } }//package
Section 186
//animation (animation) package { import flash.display.*; public dynamic class animation extends MovieClip { public var anim:LogoType; } }//package
Section 187
//back (back) package { import flash.media.*; public dynamic class back extends Sound { } }//package
Section 188
//BackGround (BackGround) package { import flash.display.*; public dynamic class BackGround extends MovieClip { public var g:MovieClip; } }//package
Section 189
//click (click) package { import flash.media.*; public dynamic class click extends Sound { } }//package
Section 190
//contact (contact) package { import flash.media.*; public dynamic class contact extends Sound { } }//package
Section 191
//Count (Count) package { import flash.utils.*; public class Count { private var _id:uint; public var _count_array:Array; public var _count:Number; public var _total_count:Number;// = 0 private var _time_k:Number;// = 2 private var _levels_k:Number;// = 50 public function Count(){ _count_array = new Array(); super(); _count = 0; var _local1:Number = 1; while (_local1 <= (Main.last_level + 1)) { _count_array.push(0); _local1++; }; _count_array = SaveGame.m_score; var _local2:Number = 1; while (_local2 <= Main.last_level) { if (!_count_array[_local2]){ _count_array[_local2] = 0; }; _total_count = (_total_count + _count_array[_local2]); _local2++; }; TotalResult.total_txt = _total_count; } public function considerCount(_arg1:Number, _arg2:Number):void{ _total_count = 0; _count = (500 - (_arg2 * 2)); if (_count < 0){ _count = 0; }; _count_array[_arg1] = _count; var _local3:Number = 1; while (_local3 <= Main.last_level) { _total_count = (_total_count + _count_array[_local3]); _local3++; }; } public function countNUll():Array{ var _local1:Number = 1; while (_local1 <= (Main.last_level + 1)) { _count_array[_local1] = 0; _local1++; }; return (_count_array); } public function countReturn():Number{ var _local1:Number = 0; var _local2:Number = 1; while (_local2 <= Main.last_level) { _local1 = (_local1 + _count_array[_local2]); _local2++; }; return (_local1); } } }//package
Section 192
//Crash (Crash) package { import flash.media.*; public dynamic class Crash extends Sound { } }//package
Section 193
//Crash2 (Crash2) package { import flash.media.*; public dynamic class Crash2 extends Sound { } }//package
Section 194
//Credits (Credits) package { import flash.events.*; import flash.display.*; import managers.*; public class Credits { private var _bar:CreditsBar; public function Credits(){ _bar = new CreditsBar(); super(); _bar.g.garbLogo.buttonMode = true; _bar.g.garbLogo.addEventListener(MouseEvent.CLICK, on_click); } public function showCreditsBar():void{ Main.sprite_menu.addChild(_bar); } public function getCreditsBtn():MovieClip{ return (_bar.credits_menu); } public function hideCreditsBar():void{ Main.sprite_menu.removeChild(_bar); } private function on_click(_arg1:Event):void{ LinksManager.navigateGarbuzGames(); } } }//package
Section 195
//CreditsBar (CreditsBar) package { import flash.display.*; public dynamic class CreditsBar extends MovieClip { public var credits_menu:MovieClip; public var g:MovieClip; } }//package
Section 196
//Display (Display) package { import flash.events.*; import flash.display.*; public class Display extends Sprite { public var reset:MovieClip; public static var once:Boolean = false; public static var display:DisplayBar = new DisplayBar(); public static var sound:Boolean = true; public function addDisplay():void{ Main.stage.addChild(display); reset = display.reset; display.contextMenu = Main._context_menu; display.sound.gotoAndStop(1); display.sound.addEventListener(MouseEvent.MOUSE_DOWN, on_click); } public function getOtherBtn():MovieClip{ return (display.other); } public function getResetBtn():MovieClip{ return (display.reset); } public function level(_arg1:Number):void{ } public function getMenuBtn():MovieClip{ return (display.menu); } private function on_click(_arg1:MouseEvent=null):void{ var _local2:Boolean; if (!once){ sound = false; }; once = true; if (((sound) && (_local2))){ _local2 = false; display.sound.gotoAndStop(1); sound = false; SoundManager.volume = 3; SoundManager.setVolume(1); } else { if (((!(sound)) && (_local2))){ _local2 = false; display.sound.gotoAndStop(2); sound = true; SoundManager.volume = 1; SoundManager.setVolume(0); }; }; trace(sound); } public function getSoundBtn():MovieClip{ return (display.sound); } public function time(_arg1:Number):void{ display.time.text = ("" + _arg1); } public function setSoundBehaviour():void{ } public function move(_arg1:MouseEvent):void{ } public function score(_arg1:Number):void{ display.score.text = ("" + _arg1); } } }//package
Section 197
//DisplayBar (DisplayBar) package { import flash.display.*; import flash.text.*; public dynamic class DisplayBar extends MovieClip { public var other:MovieClip; public var sound:MovieClip; public var menu:MovieClip; public var reset:MovieClip; public var g:MovieClip; public var score:TextField; public var time:TextField; } }//package
Section 198
//drag (drag) package { import flash.media.*; public dynamic class drag extends Sound { } }//package
Section 199
//DragableObject (DragableObject) package { import flash.events.*; import flash.display.*; import flash.geom.*; import Box2D.Dynamics.*; import flash.filters.*; public class DragableObject extends Sprite { private var stop:Number;// = 0 public var m_stopDrag_mc_x:Number;// = 0 public var m_stopDrag_mc_y:Number;// = 0 private var osnova:Boolean;// = false private var v_two:Number;// = 0 private var gl_step:Number;// = 15 private var maska:Sprite; private var leb_mc:lebidka1; private var gl_int:Number;// = 0 private var ac:Boolean;// = true private var leb_mc2:lebidka1; private var firstMove:Boolean;// = true private var ac_two:Boolean;// = true public var m_stopDrag_mc_rotation:Number;// = 0 private var dragg:Boolean;// = false private var current_target_start_y:Number; public var mojna:Boolean;// = false public var m_starn_num_osnova:Number;// = 0 private var display:DisplayBar; public var m_start_num_child:Number;// = 0 private var current_level:MovieClip; private var dragable_body:MovieClip; private var glow_tru1:Boolean;// = false public var m_stopDrag_mc:MovieClip; private var drag_event:MouseEvent; private var _stones:stones; private var current_target_start_x:Number; private var moveble_body:MovieClip; public var m_stopDrag_mc_scale:Number;// = 0 private var glow_tru2:Boolean;// = false private var maska2:Sprite; private var moveble_body_two:MovieClip; private var show_onse:Boolean;// = true private var levelClip:MovieClip; private var v:Number;// = 0 private var ts:Number;// = 2 public static var moveble:Boolean = false; public static var blow_osnova:Boolean = false; public static var _temp_body:MovieClip; public function DragableObject(){ m_stopDrag_mc = new MovieClip(); current_level = new MovieClip(); moveble_body = new MovieClip(); moveble_body_two = new MovieClip(); _stones = new stones(); display = new DisplayBar(); levelClip = new MovieClip(); leb_mc = new lebidka1(); leb_mc2 = new lebidka1(); maska = new Sprite(); maska2 = new Sprite(); super(); m_stopDrag_mc = null; Main.container_for_dr_osnova.buttonMode = true; } private function on_enter_frame(_arg1:Event):void{ switch (Main.currentLevel){ case 1: v++; if (v == 1){ moveble_body.g.rotation = (-45 / ts); }; if (v < (45 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (45 * ts))) && ((v < (90 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (90 * ts)){ v = 0; }; break; case 2: v++; if (v < (25 * ts)){ moveble_body.g.y = (moveble_body.g.y + (1 / ts)); }; if ((((v > (25 * ts))) && ((v < (50 * ts))))){ moveble_body.g.y = (moveble_body.g.y - (1 / ts)); }; if (v > (50 * ts)){ v = 0; }; break; case 3: v++; if (v < (25 * ts)){ moveble_body.g.x = (moveble_body.g.x + (1 / ts)); }; if ((((v > (25 * ts))) && ((v < (50 * ts))))){ moveble_body.g.x = (moveble_body.g.x - (1 / ts)); }; if (v > (50 * ts)){ v = 0; }; break; case 4: v++; if (v < (45 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (45 * ts))) && ((v < (90 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (90 * ts)){ v = 0; }; break; case 5: if (ac){ v++; if (v < (35 * ts)){ moveble_body.g.y = (moveble_body.g.y - (1 / ts)); }; if ((((v > (35 * ts))) && ((v < (70 * ts))))){ moveble_body.g.y = (moveble_body.g.y + (1 / ts)); }; if (v > (70 * ts)){ v = 0; }; }; if (ac_two){ v_two++; if (v_two < (35 * ts)){ moveble_body_two.g.y = (moveble_body_two.g.y + (1 / ts)); }; if ((((v_two > (35 * ts))) && ((v_two < (70 * ts))))){ moveble_body_two.g.y = (moveble_body_two.g.y - (1 / ts)); }; if (v_two > (70 * ts)){ v_two = 0; }; }; break; case 6: v++; if (v == 1){ moveble_body.g.rotation = (-40 / ts); }; if (v < (40 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (40 * ts))) && ((v < (80 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (80 * ts)){ v = 0; }; break; case 7: v++; if (v < (60 * ts)){ moveble_body.g.y = (moveble_body.g.y - (1 / ts)); }; if ((((v > (60 * ts))) && ((v < (120 * ts))))){ moveble_body.g.y = (moveble_body.g.y + (1 / ts)); }; if (v > (120 * ts)){ v = 0; }; break; case 8: v++; if (v == 1){ moveble_body.g.rotation = (-20 / ts); }; if (v < (40 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (40 * ts))) && ((v < (80 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (80 * ts)){ v = 0; }; break; case 9: if (ac){ v++; if (v < (30 * ts)){ moveble_body.g.y = (moveble_body.g.y - (1 / ts)); }; if ((((v > (30 * ts))) && ((v < (60 * ts))))){ moveble_body.g.y = (moveble_body.g.y + (1 / ts)); }; if (v > (60 * ts)){ v = 0; }; }; if (ac_two){ v_two++; if (v_two < (30 * ts)){ moveble_body_two.g.y = (moveble_body_two.g.y - (1 / ts)); }; if ((((v_two > (30 * ts))) && ((v_two < (60 * ts))))){ moveble_body_two.g.y = (moveble_body_two.g.y + (1 / ts)); }; if (v_two > (60 * ts)){ v_two = 0; }; }; break; case 22: v++; if (v == 1){ moveble_body.g.rotation = (-20 / ts); }; if (v < (40 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (40 * ts))) && ((v < (80 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (80 * ts)){ v = 0; }; break; case 17: if (ac){ v++; if (v < (50 * ts)){ moveble_body.g.y = (moveble_body.g.y - (1 / ts)); }; if ((((v > (50 * ts))) && ((v < (100 * ts))))){ moveble_body.g.y = (moveble_body.g.y + (1 / ts)); }; if (v > (100 * ts)){ v = 0; }; }; if (ac_two){ v_two++; if (v_two < (50 * ts)){ moveble_body_two.g.y = (moveble_body_two.g.y + (1 / ts)); }; if ((((v_two > (50 * ts))) && ((v_two < (100 * ts))))){ moveble_body_two.g.y = (moveble_body_two.g.y - (1 / ts)); }; if (v_two > (100 * ts)){ v_two = 0; }; }; break; case 24: v++; if (v == 1){ moveble_body.g.rotation = (-20 / ts); }; if (v < (20 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (20 * ts))) && ((v < (40 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (40 * ts)){ v = 0; }; break; case 13: v++; if (v < (90 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (90 * ts))) && ((v < (180 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (180 * ts)){ v = 0; }; break; case 14: if (ac){ v++; if (v == 1){ moveble_body.g.rotation = (40 / ts); }; if (v < (40 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if ((((v > (40 * ts))) && ((v < (80 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if (v > (80 * ts)){ v = 0; }; }; if (ac_two){ v_two++; if (v_two == 1){ moveble_body_two.g.rotation = (-40 / ts); }; if (v_two < (40 * ts)){ moveble_body_two.g.rotation = (moveble_body_two.g.rotation + (1 / ts)); }; if ((((v_two > (40 * ts))) && ((v_two < (80 * ts))))){ moveble_body_two.g.rotation = (moveble_body_two.g.rotation - (1 / ts)); }; if (v_two > (80 * ts)){ v_two = 0; }; }; break; case 23: v++; if (v == 1){ moveble_body.g.rotation = (-40 / ts); }; if (v < (40 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (40 * ts))) && ((v < (80 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (80 * ts)){ v = 0; }; break; case 20: v++; if (v < 150){ moveble_body.g.rotation = (moveble_body.g.rotation + 0.5); }; if ((((v > 150)) && ((v < 300)))){ moveble_body.g.rotation = (moveble_body.g.rotation - 0.5); }; if (v > 300){ v = 0; }; break; case 10: v++; if (v < (90 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (90 * ts))) && ((v < (180 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (180 * ts)){ v = 0; }; break; case 19: if (ac){ v++; if (v < (30 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if ((((v > (30 * ts))) && ((v < (60 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if (v > (60 * ts)){ v = 0; }; }; if (ac_two){ v_two++; if (v_two < (30 * ts)){ moveble_body_two.g.rotation = (moveble_body_two.g.rotation + (1 / ts)); }; if ((((v_two > (30 * ts))) && ((v_two < (60 * ts))))){ moveble_body_two.g.rotation = (moveble_body_two.g.rotation - (1 / ts)); }; if (v_two > (60 * ts)){ v_two = 0; }; }; break; case 18: v++; if (v < (30 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (30 * ts))) && ((v < (60 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (60 * ts)){ v = 0; }; break; case 21: if (ac){ v++; if (v < (50 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); moveble_body.g.y = (moveble_body.g.y - 1); moveble_body.g.x = (moveble_body.g.x - 1); }; if ((((v > (50 * ts))) && ((v < (100 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); moveble_body.g.y = (moveble_body.g.y + 1); moveble_body.g.x = (moveble_body.g.x + 1); }; if (v > (100 * ts)){ v = 0; }; }; if (ac_two){ v_two++; if (v_two < (50 * ts)){ moveble_body_two.g.rotation = (moveble_body_two.g.rotation + (1 / ts)); moveble_body_two.g.y = (moveble_body_two.g.y - 1); moveble_body_two.g.x = (moveble_body_two.g.x + 1); }; if ((((v_two > (50 * ts))) && ((v_two < (100 * ts))))){ moveble_body_two.g.rotation = (moveble_body_two.g.rotation - (1 / ts)); moveble_body_two.g.y = (moveble_body_two.g.y + 1); moveble_body_two.g.x = (moveble_body_two.g.x - 1); }; if (v_two > (100 * ts)){ v_two = 0; }; }; break; case 15: v++; if (v < (80 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (80 * ts))) && ((v < (160 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (160 * ts)){ v = 0; }; break; case 16: v++; if (v < (180 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (180 * ts))) && ((v < (360 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (360 * ts)){ v = 0; }; break; case 25: if (ac){ v++; if (v < 100){ moveble_body.g.y = (moveble_body.g.y + 0.5); }; if ((((v > 100)) && ((v < 200)))){ moveble_body.g.y = (moveble_body.g.y - 0.5); }; if (v > 200){ v = 0; }; }; if (ac_two){ v_two++; if (v_two < (75 * ts)){ moveble_body_two.g.y = (moveble_body_two.g.y - (1 / ts)); }; if ((((v_two > (75 * ts))) && ((v_two < (150 * ts))))){ moveble_body_two.g.y = (moveble_body_two.g.y + (1 / ts)); }; if (v_two > (150 * ts)){ v_two = 0; }; }; break; case 12: if (ac){ v++; if (v < (35 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation - (2 / ts)); moveble_body.g.y = (moveble_body.g.y - 1); moveble_body.g.x = (moveble_body.g.x - 1); }; if ((((v > (35 * ts))) && ((v < (70 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation + (2 / ts)); moveble_body.g.y = (moveble_body.g.y + 1); moveble_body.g.x = (moveble_body.g.x + 1); }; if (v > (70 * ts)){ v = 0; }; }; if (ac_two){ v_two++; if (v_two < (35 * ts)){ moveble_body_two.g.rotation = (moveble_body_two.g.rotation + (2 / ts)); moveble_body_two.g.y = (moveble_body_two.g.y - 1); moveble_body_two.g.x = (moveble_body_two.g.x + 1); }; if ((((v_two > (35 * ts))) && ((v_two < (70 * ts))))){ moveble_body_two.g.rotation = (moveble_body_two.g.rotation - (2 / ts)); moveble_body_two.g.y = (moveble_body_two.g.y + 1); moveble_body_two.g.x = (moveble_body_two.g.x - 1); }; if (v_two > (70 * ts)){ v_two = 0; }; }; break; case 11: v++; if (v < (45 * ts)){ moveble_body.g.rotation = (moveble_body.g.rotation + (1 / ts)); }; if ((((v > (45 * ts))) && ((v < (90 * ts))))){ moveble_body.g.rotation = (moveble_body.g.rotation - (1 / ts)); }; if (v > (90 * ts)){ v = 0; }; break; default: break; }; gl_int++; if (gl_int == 1){ sGl(); }; if (gl_int == gl_step){ hGl(); }; if (gl_int == (gl_step * 2)){ (gl_int = 0); }; moveLebidka(); } public function onMouseOut(_arg1:Event):void{ onMouseUp(drag_event, true); } public function on_stop_osnova(_arg1:MouseEvent):void{ moveble_body.g.removeEventListener(MouseEvent.MOUSE_DOWN, on_stop_osnova); ac = false; m_stopDrag_mc_x = moveble_body.g.x; m_stopDrag_mc_y = moveble_body.g.y; m_stopDrag_mc = moveble_body; m_stopDrag_mc_rotation = moveble_body.g.rotation; moveble = true; hideGlow(1); if (LevelManager.num_of_dynamic == 1){ moveble = true; mojna = true; Main._massag.hideF(); this.removeEventListener(Event.ENTER_FRAME, on_enter_frame); } else { stop++; if (stop > 1){ moveble = true; mojna = true; Main._massag.hideF(); stop = 0; this.removeEventListener(Event.ENTER_FRAME, on_enter_frame); }; }; } private function hGl():void{ if (glow_tru1){ if (moveble_body.g){ (moveble_body.g.filters = []); }; }; if (glow_tru2){ if (moveble_body_two.g){ (moveble_body_two.g.filters = []); }; }; } public function hideGlow(_arg1:Number):void{ if (_arg1 == 1){ (glow_tru1 = false); if (moveble_body.g){ (moveble_body.g.filters = []); }; }; if (_arg1 == 2){ (glow_tru2 = false); if (moveble_body_two.g){ (moveble_body_two.g.filters = []); }; }; } public function on_active_menu(_arg1:ContextMenuEvent):void{ onMouseUp(drag_event, false, true); } private function initLebidka():void{ Main.lebSpr.addChild(leb_mc); (leb_mc2.scaleX = -1); Main.lebSpr.addChild(leb_mc2); (leb_mc2.y = 105); (leb_mc.y = 105); (leb_mc2.x = -50); (leb_mc.x = 650); (leb_mc.mask = maska); (leb_mc2.mask = maska2); maska.graphics.beginFill(0); maska.graphics.drawRect(-1, -300, 400, 300); maska.graphics.endFill(); Main.lebSpr.addChild(maska); maska2.graphics.beginFill(0); maska2.graphics.drawRect(-400, -300, 400, 300); maska2.graphics.endFill(); Main.lebSpr.addChild(maska2); } private function setDragListeners():void{ addEventListener(MouseEvent.MOUSE_UP, onMouseUp); } public function showGlow():void{ (glow_tru1 = true); (glow_tru2 = true); trace("glow"); } public function on_stop_osnova_two(_arg1:MouseEvent):void{ moveble_body_two.g.removeEventListener(MouseEvent.MOUSE_DOWN, on_stop_osnova_two); ac_two = false; m_stopDrag_mc_x = moveble_body_two.g.x; m_stopDrag_mc_y = moveble_body_two.g.y; m_stopDrag_mc = moveble_body_two; m_stopDrag_mc_rotation = moveble_body_two.g.rotation; moveble = true; hideGlow(2); if (LevelManager.num_of_dynamic == 1){ moveble = true; mojna = true; Main._massag.hideF(); this.removeEventListener(Event.ENTER_FRAME, on_enter_frame); } else { stop++; if (stop > 1){ moveble = true; mojna = true; Main._massag.hideF(); stop = 0; this.removeEventListener(Event.ENTER_FRAME, on_enter_frame); }; }; } public function childStatus():Number{ return (this.numChildren); } public function buildLevel(_arg1:MovieClip):void{ var _local2:MovieClip; var _local3:Number; levelClip = _arg1; show_onse = true; firstMove = true; m_stopDrag_mc_rotation = 0; if (_arg1 != null){ current_level = _arg1; m_start_num_child = _arg1.numChildren; _local3 = 0; while (_local3 < _arg1.numChildren) { _local2 = MovieClip(_arg1.getChildAt(_local3)); createObject(_local2); _local3++; }; }; if (LevelManager.osnova){ mojna = false; this.addEventListener(Event.ENTER_FRAME, on_enter_frame); } else { mojna = true; }; initLebidka(); } private function sGl():void{ if (glow_tru1){ if (moveble_body.g){ (moveble_body.g.filters = [new GlowFilter(0xFFFFFF, 8, 8, 4, 3)]); }; }; if (glow_tru2){ if (moveble_body_two.g){ (moveble_body_two.g.filters = [new GlowFilter(0xFFFFFF, 8, 8, 4, 3)]); }; }; } public function textFieldProcessing(_arg1:MovieClip, _arg2:String, _arg3:Number):Number{ var _local4:Number; var _local5:Number; var _local6:Number; if (_arg1.txt){ _local4 = _arg1.txt.text.indexOf((_arg2 + "=")); _local5 = _arg1.txt.text.indexOf(";", _local4); _local6 = _arg1.txt.text.substring(((_local4 + _arg2.length) + 1), _local5); if (_local6){ return (_local6); }; return (_arg3); //unresolved jump }; return (_arg3); } public function onMouseUp(_arg1:MouseEvent, _arg2:Boolean=false, _arg3:Boolean=false):void{ var _local4:MovieClip; var _local5:Number; Main.sound.stopDragObject(); if (dragg){ if (null != _temp_body){ _temp_body.stopDrag(); }; if (_arg2){ if (_temp_body){ _temp_body.x = current_target_start_x; _temp_body.y = current_target_start_y; }; _temp_body.scaleY = (_temp_body.scaleY * LevelManager.scale_pool); _temp_body.scaleX = (_temp_body.scaleX * LevelManager.scale_pool); _temp_body.rotation = 0; m_stopDrag_mc_rotation = 0; } else { if (_arg3){ _temp_body.x = current_target_start_x; _temp_body.y = current_target_start_y; _temp_body.scaleY = (_temp_body.scaleY * LevelManager.scale_pool); _temp_body.scaleX = (_temp_body.scaleX * LevelManager.scale_pool); _temp_body.rotation = 0; m_stopDrag_mc_rotation = 0; } else { if (_arg1.currentTarget.y < 105){ _arg1.currentTarget.x = current_target_start_x; _arg1.currentTarget.y = current_target_start_y; _arg1.currentTarget.scaleY = (1 * LevelManager.scale_pool); _arg1.currentTarget.scaleX = (1 * LevelManager.scale_pool); _arg1.currentTarget.rotation = 0; m_stopDrag_mc_rotation = 0; } else { if (Main.currentLevel == 1){ Main._massag.hidePut(); }; _local5 = 0; while (_local5 < current_level.numChildren) { _local4 = MovieClip(current_level.getChildAt(_local5)); if ((((_local4.x == current_target_start_x)) && ((_local4.y == current_target_start_y)))){ m_stopDrag_mc_x = _temp_body.x; m_stopDrag_mc_y = _temp_body.y; m_stopDrag_mc = _local4; _temp_body.removeEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); _temp_body.removeEventListener(MouseEvent.MOUSE_MOVE, onMouseMove); b2ContactListener.sound = true; }; _local5++; }; }; }; }; dragg = false; Main.stage.removeEventListener(MouseEvent.MOUSE_OUT, onMouseOut); Main.stage.removeEventListener(KeyboardEvent.KEY_DOWN, on_key_down); _arg1.currentTarget.removeEventListener(MouseEvent.MOUSE_WHEEL, on_mouse_wheel); }; } public function destroyAll():void{ if (this.numChildren > 0){ this.removeChildAt(0); destroyAll(); }; if (Main.container_for_dr_osnova.numChildren > 0){ Main.container_for_dr_osnova.removeChildAt(0); destroyAll(); }; } private function moveLebidka():void{ var _local1:Point = new Point(); if (moveble_body.g.t1){ (moveble_body.g.t1.alpha = 0); }; if (moveble_body.g.t2){ (moveble_body.g.t2.alpha = 0); }; if (LevelManager.num_of_dynamic == 1){ if (moveble_body.g.t2){ (_local1.x = moveble_body.g.t1.x); (_local1.y = moveble_body.g.t1.y); _local1 = moveble_body.g.localToGlobal(_local1); _local1; (leb_mc2.x = _local1.x); (maska2.x = _local1.x); (maska2.y = _local1.y); (_local1.x = moveble_body.g.t2.x); (_local1.y = moveble_body.g.t2.y); _local1 = moveble_body.g.localToGlobal(_local1); _local1; (leb_mc.x = _local1.x); (maska.x = _local1.x); (maska.y = _local1.y); } else { (_local1.x = moveble_body.g.t1.x); (_local1.y = moveble_body.g.t1.y); _local1 = moveble_body.g.localToGlobal(_local1); _local1; (leb_mc.x = _local1.x); (maska.x = _local1.x); (maska.y = _local1.y); }; }; if (LevelManager.num_of_dynamic == 2){ (_local1.x = moveble_body.g.t1.x); (_local1.y = moveble_body.g.t1.y); _local1 = moveble_body.g.localToGlobal(_local1); _local1; (leb_mc2.x = _local1.x); (maska2.x = _local1.x); (maska2.y = _local1.y); (_local1.x = moveble_body_two.g.t1.x); (_local1.y = moveble_body_two.g.t1.y); _local1 = moveble_body_two.g.localToGlobal(_local1); _local1; (leb_mc.x = _local1.x); (maska.x = _local1.x); (maska.y = _local1.y); if (moveble_body_two.g.t1){ (moveble_body_two.g.t1.alpha = 0); }; }; } public function createObject(_arg1:MovieClip):void{ if ((((textFieldProcessing(_arg1, "density", 0) == 1)) || ((LevelManager.osnova == true)))){ if (_arg1.name == "st"){ } else { if (_arg1.g){ _arg1.g.x = _arg1.x; _arg1.g.y = _arg1.y; if (textFieldProcessing(_arg1, "density", 0) == 1){ _arg1.g.scaleX = (_arg1.g.scaleX * LevelManager.scale_pool); _arg1.g.scaleY = (_arg1.g.scaleY * LevelManager.scale_pool); this.addChild(_arg1.g); _arg1.g.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); _arg1.g.addEventListener(MouseEvent.MOUSE_UP, onMouseUp); _arg1.g.buttonMode = true; } else { if (_arg1.name == "s1"){ moveble_body = _arg1; moveble_body.buttonMode = true; moveble_body.g.addEventListener(MouseEvent.MOUSE_DOWN, on_stop_osnova); moveble_body.g.rotation = 0; m_stopDrag_mc_rotation = 0; v = 0; stop = 0; ac = true; Main.container_for_dr_osnova.addChild(_arg1.g); } else { if (_arg1.name == "s2"){ moveble_body_two = _arg1; moveble_body_two.buttonMode = true; moveble_body_two.g.addEventListener(MouseEvent.MOUSE_DOWN, on_stop_osnova_two); moveble_body_two.g.rotation = 0; m_stopDrag_mc_rotation = 0; v_two = 0; stop = 0; ac_two = true; Main.container_for_dr_osnova.addChild(_arg1.g); } else { moveble_body = _arg1; moveble_body.buttonMode = true; moveble_body.g.addEventListener(MouseEvent.MOUSE_DOWN, on_stop_osnova); moveble_body.g.rotation = 0; m_stopDrag_mc_rotation = 0; v = 0; stop = 0; Main.container_for_dr_osnova.addChild(_arg1.g); }; }; }; }; Main._context_menu.addEventListener(ContextMenuEvent.MENU_SELECT, on_active_menu); setDragListeners(); }; }; } public function on_mouse_wheel(_arg1:MouseEvent):void{ if (_arg1.delta > 0){ _arg1.currentTarget.rotation = (_arg1.currentTarget.rotation + 22.5); }; if (_arg1.delta < 0){ _arg1.currentTarget.rotation = (_arg1.currentTarget.rotation - 22.5); }; m_stopDrag_mc_rotation = _arg1.currentTarget.rotation; Main._massag.hideRotate(); } public function on_key_down(_arg1:KeyboardEvent):void{ if ((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 32)))){ _temp_body.rotation = (_temp_body.rotation + 22.5); }; if (_arg1.keyCode == 40){ _temp_body.rotation = (_temp_body.rotation - 22.5); }; m_stopDrag_mc_rotation = _temp_body.rotation; Main._massag.hideRotate(); } public function onMouseDown(_arg1:MouseEvent):void{ if (Main.game_over_is){ return; }; if (((((!(mojna)) && (show_onse))) && (!((Main.currentLevel == 1))))){ show_onse = false; Main._massag.showF(); }; Main.sound.startDragObject(); _temp_body = (_arg1.currentTarget as MovieClip); _temp_body.addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove); drag_event = _arg1; if ((((mouseY < 120)) && (mojna))){ if ((((Main.currentLevel == 1)) && (firstMove))){ Main._massag.hideClick(); Main._massag.showRotate(); }; dragg = true; this.swapChildrenAt((this.numChildren - 1), getChildIndex(_temp_body)); current_target_start_x = _arg1.currentTarget.x; current_target_start_y = _arg1.currentTarget.y; _arg1.currentTarget.startDrag(); _arg1.currentTarget.x = mouseX; _arg1.currentTarget.y = mouseY; _arg1.currentTarget.scaleX = (_arg1.currentTarget.scaleX / LevelManager.scale_pool); _arg1.currentTarget.scaleY = (_arg1.currentTarget.scaleY / LevelManager.scale_pool); _arg1.currentTarget.addEventListener(MouseEvent.MOUSE_WHEEL, on_mouse_wheel); Main.stage.addEventListener(KeyboardEvent.KEY_DOWN, on_key_down); Main.stage.addEventListener(Event.MOUSE_LEAVE, onMouseOut); }; } private function onMouseMove(_arg1:MouseEvent):void{ if (!mojna){ return; }; if ((((Main.currentLevel == 1)) && (firstMove))){ firstMove = false; Main._massag.showPut(); }; } } }//package
Section 200
//DynamicMan (DynamicMan) package { import flash.display.*; public dynamic class DynamicMan extends MovieClip { public var hor:MovieClip; } }//package
Section 201
//en_US$core_properties (en_US$core_properties) package { import mx.resources.*; public class en_US$core_properties extends ResourceBundle { public function en_US$core_properties(){ super("en_US", "core"); } override protected function getContent():Object{ var _local1:Object = {multipleChildSets_ClassAndInstance:"Multiple sets of visual children have been specified for this component (component definition and component instance).", truncationIndicator:"...", notExecuting:"Repeater is not executing.", versionAlreadyRead:"Compatibility version has already been read.", multipleChildSets_ClassAndSubclass:"Multiple sets of visual children have been specified for this component (base component definition and derived component definition).", viewSource:"View Source", badFile:"File does not exist.", stateUndefined:"Undefined state '{0}'.", versionAlreadySet:"Compatibility version has already been set."}; return (_local1); } } }//package
Section 202
//en_US$skins_properties (en_US$skins_properties) package { import mx.resources.*; public class en_US$skins_properties extends ResourceBundle { public function en_US$skins_properties(){ super("en_US", "skins"); } override protected function getContent():Object{ var _local1:Object = {notLoaded:"Unable to load '{0}'."}; return (_local1); } } }//package
Section 203
//en_US$styles_properties (en_US$styles_properties) package { import mx.resources.*; public class en_US$styles_properties extends ResourceBundle { public function en_US$styles_properties(){ super("en_US", "styles"); } override protected function getContent():Object{ var _local1:Object = {unableToLoad:"Unable to load style({0}): {1}."}; return (_local1); } } }//package
Section 204
//fail (fail) package { import flash.display.*; public dynamic class fail extends MovieClip { public var _8:MovieClip; public var _1:MovieClip; public var _2:MovieClip; public var _4:MovieClip; public var _5:MovieClip; public var _6:MovieClip; public var _7:MovieClip; public var _9:MovieClip; public var _3:MovieClip; } }//package
Section 205
//finish_level (finish_level) package { import flash.media.*; public dynamic class finish_level extends Sound { } }//package
Section 206
//GamePlay (GamePlay) package { import flash.events.*; import flash.display.*; import Box2D.Collision.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; public class GamePlay extends Sprite { public var m_man:MovieClip; public var m_gameStatus:Number;// = 1 private var m_contactListener:b2ContactListener; private var ix:Number;// = 1 private var the_prism_joint:b2PrismaticJointDef; private var real_y_mouse:Number; private var m_iterations:Number;// = 10 private var mousePVec:b2Vec2; private var m_timeStep:Number;// = 0.0333333333333333 public var max_lin_velocity:Array; private var gravity:b2Vec2; private var debug:Boolean;// = false public var manPoint:Number;// = 0 public var max_velocity:Array; private var m_numChildren:Number; private var pixels_in_a_meter:Number;// = 30 private var mouseJoint:b2MouseJoint; private var mouseJoint2:b2MouseJoint; private var worldAABB:b2AABB; private var real_x_mouse:Number; public static var m_world:b2World; public static var hit:Boolean = false; public function GamePlay(){ mousePVec = new b2Vec2(); worldAABB = new b2AABB(); gravity = new b2Vec2(0, 10); the_prism_joint = new b2PrismaticJointDef(); m_numChildren = new Number(); m_contactListener = new b2ContactListener(); max_velocity = new Array(); max_lin_velocity = new Array(); super(); } public function init():void{ addEventListener(Event.ENTER_FRAME, Update, false, 0, true); createWorld(); debugDraw(debug); m_world.SetContactListener(m_contactListener); } public function createGround():void{ var _local1:b2Body; var _local2:b2BodyDef; var _local3:b2PolygonDef; _local2 = new b2BodyDef(); _local2.position.Set((300 / pixels_in_a_meter), (800 / pixels_in_a_meter)); _local3 = new b2PolygonDef(); var _local4:Number = (10000 / (pixels_in_a_meter * 2)); var _local5:Number = (30 / (pixels_in_a_meter * 2)); _local3.SetAsBox(_local4, _local5); _local3.friction = 0.3; _local3.density = 0; _local2.userData = new ground(); _local2.userData.name = "ground"; addChild(_local2.userData); _local1 = m_world.CreateBody(_local2); _local1.CreateShape(_local3); _local1.SetMassFromShapes(); } public function sleepAll3():void{ var _local1:b2Body = m_world.m_bodyList; while (_local1) { _local1.PutToSleep(); if (_local1.m_userData){ if (_local1.m_userData.name == "m"){ _local1.WakeUp(); }; }; _local1 = _local1.m_next; }; } public function numOfVisibleObjects():Number{ var _local1:Number = 0; var _local2:Number = 0; while (_local2 < this.numChildren) { if (this.getChildAt(_local2).y < 450){ _local1++; }; _local2++; }; _local1 = (_local1 + Main.container_for_2dbox_osnova.numChildren); return (_local1); } public function buildLevel(_arg1:MovieClip):void{ var _local2:MovieClip; var _local3:Number; if (_arg1 != null){ createGround(); m_numChildren = _arg1.numChildren; _local3 = 0; while (_local3 < _arg1.numChildren) { _local2 = MovieClip(_arg1.getChildAt(_local3)); createObject(_local2, true); _local3++; }; }; } public function debugDraw(_arg1:Boolean):void{ var _local2:b2DebugDraw; var _local3:Sprite; if (_arg1){ _local2 = new b2DebugDraw(); _local3 = new Sprite(); Main.stage.addChild(_local3); _local2.m_sprite = _local3; _local2.m_drawScale = 30; _local2.m_fillAlpha = 0.5; _local2.m_lineThickness = 1; _local2.m_drawFlags = b2DebugDraw.e_shapeBit; m_world.SetDebugDraw(_local2); }; } public function textFieldProcessing(_arg1:MovieClip, _arg2:String, _arg3:Number):Number{ var _local4:Number; var _local5:Number; var _local6:Number; if (_arg1.txt){ _local4 = _arg1.txt.text.indexOf((_arg2 + "=")); _local5 = _arg1.txt.text.indexOf(";", _local4); _local6 = _arg1.txt.text.substring(((_local4 + _arg2.length) + 1), _local5); if (_local6){ return (_local6); }; return (_arg3); //unresolved jump }; return (_arg3); } public function destroyAll():void{ var _local2:b2Body; var _local1:b2Body = m_world.m_bodyList; while (_local1) { _local2 = _local1; if ((_local2.m_userData is Sprite)){ if (this.contains(_local2.m_userData)){ removeChild(_local2.m_userData); trace("my body: this "); }; if (Main.container_for_2dbox_osnova.contains(_local2.m_userData)){ Main.container_for_2dbox_osnova.removeChild(_local2.m_userData); trace("my body: Main "); }; _local2.m_userData = null; m_world.DestroyBody(_local2); _local2 = null; }; _local1 = _local1.m_next; }; } public function sleepAll():void{ var _local1:b2Body = m_world.m_bodyList; while (_local1) { _local1.PutToSleep(); _local1 = _local1.m_next; }; } public function createObject(_arg1:MovieClip, _arg2:Boolean, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0, _arg6:Number=1, _arg7:Boolean=false):void{ var _local8:b2Body; var _local9:b2BodyDef; var _local10:b2PolygonDef; var _local11:Number; var _local12:MovieClip; var _local13:Number; var _local14:DisplayObject; var _local15:b2CircleDef; var _local16:Number; var _local17:b2PrismaticJointDef; var _local18:b2Joint; ix++; if ((((((((((((0 == textFieldProcessing(_arg1, "density", 0))) && ((_arg2 == true)))) && ((LevelManager.osnova == false)))) || ((_arg1.name == "st")))) || ((DragableObject.moveble == true)))) || ((((1 == textFieldProcessing(_arg1, "density", 0))) && ((_arg2 == false)))))){ trace(("bbb: " + _arg1.g)); _local9 = new b2BodyDef(); if (((_arg2) && ((0 == textFieldProcessing(_arg1, "density", 0))))){ _local9.position.Set((_arg1.x / pixels_in_a_meter), (_arg1.y / pixels_in_a_meter)); } else { _local9.position.Set((_arg3 / pixels_in_a_meter), (_arg4 / pixels_in_a_meter)); }; _local9.angle = (((360 + _arg5) * Math.PI) / 180); if (((_arg1.g) || (_arg1.m))){ if (_arg7){ _local9.massData.I = 0.1; _arg1.m.alpha = 0; _local9.massData.mass = 1; _local9.userData = _arg1.m; _local9.userData.x = -100; _local9.userData.y = -100; m_man = _local9.userData; } else { _local9.userData = _arg1.g; if (_local9.userData.t1){ _local9.userData.t1.alpha = 0; }; _local9.userData.buttonMode = true; }; if (0 == textFieldProcessing(_arg1, "density", 0)){ Main.container_for_2dbox_osnova.addChild(_local9.userData); } else { addChild(_local9.userData); }; }; _local8 = m_world.CreateBody(_local9); _local10 = new b2PolygonDef(); if (_arg7){ }; _local11 = 0; while (_local11 < _arg1.numChildren) { if (_arg1.getChildAt(_local11).name.substr(0, 3) == "def"){ _local12 = (_arg1.getChildAt(_local11) as MovieClip); _local10.vertexCount = _local12.numChildren; _local13 = 0; while (_local13 < _local12.numChildren) { _local14 = _local12[("p" + _local13)]; _local10.vertices[_local13].Set((_local14.x / pixels_in_a_meter), (_local14.y / pixels_in_a_meter)); _local13++; }; _local10.friction = LevelManager.friction; if (_arg7){ _local10.density = 0.1; } else { _local10.density = textFieldProcessing(_arg1, "density", 0); }; _local10.restitution = 0.2; _local8.CreateShape(_local10); }; if (_arg1.getChildAt(_local11).name.substr(0, 3) == "cir"){ _arg1.g.rotation = (_arg1.g.rotation - _arg5); _local16 = (_arg1.g.width / 2); _arg1.g.rotation = (_arg1.g.rotation + _arg5); _local15 = new b2CircleDef(); _local15.radius = (_local16 / pixels_in_a_meter); _local15.friction = 10; _local15.density = textFieldProcessing(_arg1, "density", 0); _local15.restitution = textFieldProcessing(_arg1, "restitution", 0.1); _local8.CreateShape(_local15); _local8.m_angularDamping = 3; }; _local11++; }; _local8.SetMassFromShapes(); _local8.WakeUp(); if (_arg7){ _local17 = new b2PrismaticJointDef(); _local17.Initialize(m_world.GetGroundBody(), _local8, _local8.GetWorldCenter(), new b2Vec2(0, 1)); _local18 = m_world.CreateJoint(_local17); }; }; DragableObject.moveble = false; DragableObject._temp_body = null; trace(("contact: " + _local8)); } public function Update(_arg1:Event):void{ var _local3:Number; var _local4:Number; var _local5:b2Vec2; max_velocity = new Array(); max_lin_velocity = new Array(); hit = false; m_world.Step(m_timeStep, m_iterations); if (mouseJoint){ _local3 = (mouseX / pixels_in_a_meter); _local4 = (mouseY / pixels_in_a_meter); _local5 = new b2Vec2(_local3, _local4); mouseJoint.SetTarget(_local5); }; var _local2:b2Body = m_world.m_bodyList; while (_local2) { if ((_local2.m_userData is Sprite)){ _local2.m_userData.x = (_local2.GetPosition().x * pixels_in_a_meter); _local2.m_userData.y = (_local2.GetPosition().y * pixels_in_a_meter); _local2.m_userData.rotation = (_local2.GetAngle() * (180 / Math.PI)); max_velocity.push(Math.round((Math.sqrt((_local2.GetAngularVelocity() * _local2.GetAngularVelocity())) * 100))); max_lin_velocity.push(Math.round((_local2.GetLinearVelocity().Length() * 100))); if (_local2.m_userData.name == "m"){ manPoint = (_local2.GetPosition().y * pixels_in_a_meter); }; if (DragableObject._temp_body != null){ }; }; _local2 = _local2.m_next; }; m_gameStatus = ChechOblectsOnSleeping(); } public function removeUpdate():void{ removeEventListener(Event.ENTER_FRAME, Update); } public function createWorld():void{ worldAABB.lowerBound.Set(-100, -100); worldAABB.upperBound.Set(100, 100); m_world = new b2World(worldAABB, gravity, true); } public function ChechOblectsOnSleeping():Number{ var _local1:b2AABB = new b2AABB(); _local1.lowerBound.Set(0, (0 / pixels_in_a_meter)); _local1.upperBound.Set((600 / pixels_in_a_meter), (400 / pixels_in_a_meter)); var _local2 = 10; var _local3:Array = new Array(); var _local4:int = m_world.Query(_local1, _local3, _local2); var _local5:b2Body; var _local6:int; while (_local6 < _local4) { if ((((_local3[_local6].m_body.IsStatic() == false)) && ((_local3[_local6].m_body.IsSleeping() == false)))){ return (1); }; _local6++; }; return (0); } public function brokenObjects():Boolean{ var _local1:Number = 0; var _local2:Boolean; var _local3:Number = 0; while (_local3 < this.numChildren) { if (this.getChildAt(_local3).y > 450){ _local1++; }; if (_local1 > 1){ _local2 = true; break; } else { _local2 = false; }; _local3++; }; return (_local2); } public static function sleepAll2():void{ var _local1:b2Body = m_world.m_bodyList; while (_local1) { _local1.PutToSleep(); _local1 = _local1.m_next; }; } public static function Hit():Boolean{ var _local1:b2Body = m_world.m_bodyList; while (_local1) { if ((_local1.m_userData is Sprite)){ _local1.m_userData.x = (_local1.GetPosition().x * 30); _local1.m_userData.y = (_local1.GetPosition().y * 30); _local1.m_userData.rotation = (_local1.GetAngle() * (180 / Math.PI)); if (DragableObject._temp_body != null){ if (_local1.m_userData.hitTestPoint(DragableObject._temp_body.x, (DragableObject._temp_body.y - (DragableObject._temp_body.height / 2)), false)){ return (true); }; trace("hit true"); }; }; _local1 = _local1.m_next; }; return (false); } } }//package
Section 207
//geroj (geroj) package { import flash.display.*; public dynamic class geroj extends MovieClip { public var maska:MovieClip; public function geroj(){ addFrameScript(54, frame55); } function frame55(){ stop(); } } }//package
Section 208
//ground (ground) package { import flash.display.*; public dynamic class ground extends MovieClip { } }//package
Section 209
//Help (Help) package { import flash.display.*; public class Help { private var _bar:HelpBar; public function Help(){ _bar = new HelpBar(); super(); } public function showHelpBar():void{ Main.sprite_menu.addChild(_bar); } public function getMenuBtn():MovieClip{ return (_bar.help_menu); } public function hideHelpBar():void{ Main.sprite_menu.removeChild(_bar); } } }//package
Section 210
//HelpBar (HelpBar) package { import flash.display.*; public dynamic class HelpBar extends MovieClip { public var g:MovieClip; public var help_menu:MovieClip; } }//package
Section 211
//instrukt (instrukt) package { import flash.display.*; public dynamic class instrukt extends MovieClip { public var movie:MovieClip; public var skip:MovieClip; public var m_play:MovieClip; } }//package
Section 212
//kapli (kapli) package { import flash.display.*; public dynamic class kapli extends MovieClip { } }//package
Section 213
//lebidka1 (lebidka1) package { import flash.display.*; public dynamic class lebidka1 extends MovieClip { } }//package
Section 214
//level1 (level1) package { import flash.display.*; public dynamic class level1 extends MovieClip { public var s1:MovieClip; } }//package
Section 215
//level12 (level12) package { import flash.display.*; public dynamic class level12 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; public var s2:MovieClip; } }//package
Section 216
//level2 (level2) package { import flash.display.*; public dynamic class level2 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; } }//package
Section 217
//level27 (level27) package { import flash.display.*; public dynamic class level27 extends MovieClip { public var s1:MovieClip; } }//package
Section 218
//level28 (level28) package { import flash.display.*; public dynamic class level28 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; public var s2:MovieClip; } }//package
Section 219
//level33 (level33) package { import flash.display.*; public dynamic class level33 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; public var s2:MovieClip; } }//package
Section 220
//level35 (level35) package { import flash.display.*; public dynamic class level35 extends MovieClip { public var de:MovieClip; public var st:MovieClip; public var s1:MovieClip; } }//package
Section 221
//level39 (level39) package { import flash.display.*; public dynamic class level39 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; public var s2:MovieClip; } }//package
Section 222
//level4 (level4) package { import flash.display.*; public dynamic class level4 extends MovieClip { public var s1:MovieClip; } }//package
Section 223
//level40 (level40) package { import flash.display.*; public dynamic class level40 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; } }//package
Section 224
//level42 (level42) package { import flash.display.*; public dynamic class level42 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; } }//package
Section 225
//level44 (level44) package { import flash.display.*; public dynamic class level44 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; } }//package
Section 226
//level45 (level45) package { import flash.display.*; public dynamic class level45 extends MovieClip { } }//package
Section 227
//level46 (level46) package { import flash.display.*; public dynamic class level46 extends MovieClip { } }//package
Section 228
//level47 (level47) package { import flash.display.*; public dynamic class level47 extends MovieClip { } }//package
Section 229
//level52 (level52) package { import flash.display.*; public dynamic class level52 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; public var s2:MovieClip; } }//package
Section 230
//level53 (level53) package { import flash.display.*; public dynamic class level53 extends MovieClip { } }//package
Section 231
//level54 (level54) package { import flash.display.*; public dynamic class level54 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; } }//package
Section 232
//level55 (level55) package { import flash.display.*; public dynamic class level55 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; public var s2:MovieClip; } }//package
Section 233
//level56 (level56) package { import flash.display.*; public dynamic class level56 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; public var s2:MovieClip; } }//package
Section 234
//level57 (level57) package { import flash.display.*; public dynamic class level57 extends MovieClip { public var s1:MovieClip; } }//package
Section 235
//level58 (level58) package { import flash.display.*; public dynamic class level58 extends MovieClip { public var s1:MovieClip; } }//package
Section 236
//level62 (level62) package { import flash.display.*; public dynamic class level62 extends MovieClip { public var st:MovieClip; public var s1:MovieClip; } }//package
Section 237
//level63 (level63) package { import flash.display.*; public dynamic class level63 extends MovieClip { } }//package
Section 238
//LevelManager (LevelManager) package { import flash.display.*; public class LevelManager { private var level:MovieClip; public static var osnova:Boolean = false; public static var scale_pool:Number = 0.5; public static var friction:Number = 0.2; public static var num_of_dynamic:Number = 1; public function createLevel(_arg1:Number):MovieClip{ switch (_arg1){ case 1: level = new level1(); scale_pool = 0.7; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 2: level = new level2(); scale_pool = 0.5; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 8: level = new level44(); scale_pool = 0.6; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 5: level = new level28(); scale_pool = 0.7; friction = 0.2; osnova = true; num_of_dynamic = 2; break; case 6: level = new level27(); scale_pool = 0.5; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 22: level = new level4(); scale_pool = 0.8; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 7: level = new level42(); scale_pool = 0.7; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 24: level = new level40(); scale_pool = 0.6; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 9: level = new level33(); scale_pool = 0.5; friction = 0.2; osnova = true; num_of_dynamic = 2; break; case 17: level = new level12(); scale_pool = 0.8; friction = 0.2; osnova = true; num_of_dynamic = 2; break; case 13: level = new level58(); scale_pool = 0.8; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 14: level = new level39(); scale_pool = 0.7; friction = 0.4; osnova = true; num_of_dynamic = 2; break; case 23: level = new level35(); scale_pool = 0.8; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 10: level = new level46(); scale_pool = 0.6; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 11: level = new level53(); scale_pool = 0.7; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 18: level = new level47(); scale_pool = 0.6; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 19: level = new llevel49(); scale_pool = 0.7; friction = 0.5; osnova = true; num_of_dynamic = 2; break; case 20: level = new level45(); scale_pool = 0.6; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 12: level = new level55(); scale_pool = 0.6; friction = 0.2; osnova = true; num_of_dynamic = 2; break; case 21: level = new level52(); scale_pool = 0.7; friction = 0.2; osnova = true; num_of_dynamic = 2; break; case 15: level = new level54(); scale_pool = 0.8; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 16: level = new level57(); scale_pool = 0.7; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 25: level = new level56(); scale_pool = 0.7; friction = 0.2; osnova = true; num_of_dynamic = 2; break; case 3: level = new level62(); scale_pool = 0.7; friction = 0.2; osnova = true; num_of_dynamic = 1; break; case 4: level = new level63(); scale_pool = 0.8; friction = 0.2; osnova = true; num_of_dynamic = 1; break; default: break; }; return (level); } } }//package
Section 239
//levels (levels) package { import flash.display.*; public dynamic class levels extends MovieClip { public var l1:MovieClip; public var l4:MovieClip; public var bg:MovieClip; public var l5:MovieClip; public var menu:MovieClip; public var l6:MovieClip; public var l2:MovieClip; public var l7:MovieClip; public var l15:MovieClip; public var l13:MovieClip; public var l16:MovieClip; public var l9:MovieClip; public var l14:MovieClip; public var l22:MovieClip; public var l10:MovieClip; public var l12:MovieClip; public var l20:MovieClip; public var l24:MovieClip; public var l11:MovieClip; public var l21:MovieClip; public var l18:MovieClip; public var l19:MovieClip; public var l23:MovieClip; public var l8:MovieClip; public var l25:MovieClip; public var l3:MovieClip; public var l17:MovieClip; } }//package
Section 240
//Levels (Levels) package { import flash.events.*; import flash.display.*; import flash.utils.*; import managers.*; public class Levels { private var _create_btn_id:uint; private var _create_buttons_i:Number;// = 1 private var _buttons:Sprite; private var _click:Boolean;// = false private var _levels:levels; public var num_level:Number;// = 1 private var _show_id:uint; private var _alpha:Number;// = 0 private var _bg:MovieClip; public var t:Number;// = 1 private var _hide_id:uint; public static var menu_beh:Boolean = false; public function Levels(){ _bg = new MovieClip(); _buttons = new Sprite(); super(); _levels = new levels(); _levels.bg.logo.addEventListener(MouseEvent.CLICK, go_cool_bubby); _levels.bg.logo.buttonMode = true; _levels.alpha = 0; _bg.alpha = 0; _bg = _levels.bg; num_level = 0; _levels.bg.add_game.addEventListener(MouseEvent.CLICK, go_add_game_cool_bubby); _levels.bg.add_game.buttonMode = true; } public function stepCreateButtons():void{ var _local1:MovieClip = _levels; var _local2:MovieClip = _local1[("l" + _create_buttons_i)]; _local2.txt.text = _create_buttons_i; _local2.txt.selectable = false; _local2.txt.mouseEnabled = false; if (_create_buttons_i > Main.last_level){ _local2.alpha = 0.5; _local2.but.mouseEnabled = false; }; _local2.addEventListener(MouseEvent.CLICK, onButtonClick); _buttons.addChild(_local2); _create_buttons_i++; if ((Main.num_levels + 1) == _create_buttons_i){ _buttons.addChild(_levels.menu); _levels.menu.addEventListener(MouseEvent.CLICK, onBClick); clearInterval(_create_btn_id); _click = true; }; } private function onBClick(_arg1:MouseEvent):void{ menu_beh = true; } public function showLevels():void{ _levels = new levels(); Main.sprite_menu.addChild(_bg); Main.sprite_menu.addChild(_buttons); _show_id = setInterval(stepShowLevels, 1); Main.sound.showBar(); } private function go_cool_bubby(_arg1:MouseEvent):void{ LinksManager.goCoolBuddy(); } private function go_add_game_cool_bubby(_arg1:MouseEvent):void{ LinksManager.goAddGameCoolBuddy(); } public function hideLevels():void{ _create_buttons_i = 1; _hide_id = setInterval(stepHideLevels, 1); } public function onButtonClick(_arg1:MouseEvent):void{ if (_click){ _levels.num_level = 1; num_level = _arg1.currentTarget.txt.text; }; } public function getLevelsMenu():MovieClip{ return (_levels.menu); } private function on_click(_arg1:Event):void{ LinksManager.navigateGarbuzGames(); } public function stepShowLevels():void{ _alpha = 1; _bg.alpha = _alpha; if (_alpha >= 1){ clearInterval(_show_id); _create_btn_id = setInterval(stepCreateButtons, 1); _click = false; }; } private function clearButtons():void{ if (_buttons.numChildren > 0){ _buttons.removeChildAt(0); clearButtons(); }; } private function stepHideLevels():void{ _alpha = 0; _bg.alpha = _alpha; if (_alpha < 0.1){ clearInterval(_hide_id); Main.sprite_menu.removeChild(_bg); Main.sprite_menu.removeChild(_buttons); clearButtons(); }; } } }//package
Section 241
//llevel49 (llevel49) package { import flash.display.*; public dynamic class llevel49 extends MovieClip { public var s1:MovieClip; public var s2:MovieClip; } }//package
Section 242
//LogoType (LogoType) package { import flash.display.*; public dynamic class LogoType extends MovieClip { } }//package
Section 243
//Main (Main) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.geom.*; import Box2D.Dynamics.*; import flash.text.*; import managers.*; import flash.net.*; import flash.ui.*; public class Main extends Sprite { public var dr_object:DragableObject; private var woter_majna:Boolean;// = true private var current_fail:Number;// = 5 private var main_menu:MainMenu; private var _over_id:uint; private var text:TextField; private var _credits_bar:Credits; private var jump_delay:Number;// = 0 private var _shnurok:shnurok; private var my_new_interval:Number;// = 0 private var _result:Result; private var _total:TotalResult; private var gamePlay:GamePlay; private var frozen_bl:Boolean;// = false private var timer:MyTimer; private var pre_jump:Boolean;// = true private var _save:SaveGame; private var _over_stat:Boolean;// = true private var st:Boolean;// = true private var failMan:fail; private var tutorial:Tutorial; private var man_vod:vodolaz2; private var start_logo:StartLogo; private var _prev_id:uint; private var onse:Boolean;// = false private var whosTut:Boolean;// = false private var man_win:geroj; private var _help_bar:Help; private var prev_fail_number:Number;// = 0 private var level:LevelManager; private var _levels:Levels; private var dyn_man:DynamicMan; private var _man:Man; private var time_vic:Number;// = 0 private var masagess:Massages; private var _id:uint; private var saveble:Boolean;// = true public var _rect:Sprite; private var froze_int:Number;// = 0 private var interval_for5:Number;// = 0 public var _mask:Sprite; private var finish_sound_onse:Boolean;// = true private var fail_movie:MovieClip; private var conflict:Boolean;// = false private var man_isset:Number;// = 0 private var _voda:kapli; private var jump_onse:Boolean;// = true private var nxt:Number;// = 0 private var jump_once:Boolean;// = false private var next_level_beh:Boolean;// = true public static var display:Display; public static var bg:BackGround; public static var _timer:Timer; public static var man_stop:Number = 0; public static var num_levels:Number = 25; public static var currentLevel:Number = 1; public static var _stones:stones = new stones(); public static var _context_menu:ContextMenu; public static var sound_on:Boolean = true; public static var _count:Count; public static var buttons_block:Boolean = true; public static var sprite_menu:Sprite = new Sprite(); public static var last_level:Number = 25; public static var sound:SoundManager; public static var game_over_is:Boolean = false; public static var container_for_2dbox_osnova:Sprite = new Sprite(); public static var lebSpr:Sprite = new Sprite(); public static var sprite_mass:Sprite = new Sprite(); public static var sprite_man:Sprite = new Sprite(); public static var game_over_int:Number = 0; public static var container_for_dr_osnova:Sprite = new Sprite(); public static var _massag:Mass; public static var stage:Stage; public function Main():void{ text = new TextField(); _man = new Man(); gamePlay = new GamePlay(); main_menu = new MainMenu(); masagess = new Massages(); dr_object = new DragableObject(); _levels = new Levels(); _help_bar = new Help(); _credits_bar = new Credits(); dyn_man = new DynamicMan(); man_vod = new vodolaz2(); man_win = new geroj(); _voda = new kapli(); fail_movie = new MovieClip(); _shnurok = new shnurok(); _mask = new Sprite(); _rect = new Sprite(); timer = new MyTimer(); tutorial = new Tutorial(); start_logo = new StartLogo(); failMan = new fail(); super(); if (stage){ init(); } else { addEventListener(Event.ADDED_TO_STAGE, init); }; } private function failConflictTimes(_arg1:Number):Number{ switch (_arg1){ case 1: return (14); case 2: return (14); case 3: return (17); case 4: return (9); case 5: return (14); case 6: return (14); case 7: return (14); case 8: return (13); case 9: return (15); default: return (8); }; } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); Main.stage = this.stage; _context_menu = new ContextMenu(); _context_menu.hideBuiltInItems(); this.contextMenu = _context_menu; _massag = new Mass(); display = new Display(); _save = new SaveGame(); if (saveble){ last_level = _save.last_level; trace(("ll: " + last_level)); }; _total = new TotalResult(); _count = new Count(); bg = new BackGround(); _timer = new Timer(500, 1000); _timer.start(); level = new LevelManager(); _result = new Result(); sound = new SoundManager(); main_menu.getPlayBtn().addEventListener(MouseEvent.CLICK, on_click_play); main_menu.getContinueBtn().addEventListener(MouseEvent.CLICK, on_click_continue); main_menu.getCreditsBtn().addEventListener(MouseEvent.CLICK, on_click_menu_credits); _result.getSubmitBtn().addEventListener(MouseEvent.CLICK, on_click_res_menu); display.getMenuBtn().addEventListener(MouseEvent.CLICK, on_click_menu); display.getResetBtn().addEventListener(MouseEvent.CLICK, on_click_reset); display.getOtherBtn().addEventListener(MouseEvent.CLICK, on_click_other); masagess.getMenuBtn().addEventListener(MouseEvent.CLICK, on_click_menu_masagess); masagess.getTryAgainBtn().addEventListener(MouseEvent.CLICK, on_click_try_again); _total.getNext_btn().addEventListener(MouseEvent.CLICK, on_click_next_level); _total.getMenu_btn().addEventListener(MouseEvent.CLICK, on_click_total_menu); _help_bar.getMenuBtn().addEventListener(MouseEvent.CLICK, on_click_help_menu); _credits_bar.getCreditsBtn().addEventListener(MouseEvent.CLICK, on_click_credits_menu); Main.stage.addEventListener(KeyboardEvent.KEY_DOWN, on_press_reset); addChild(bg); Main.stage.addChild(timer); Main.stage.addChild(lebSpr); Main.stage.addChild(container_for_2dbox_osnova); Main.stage.addChild(container_for_dr_osnova); Main.stage.addChild(_stones); display.addDisplay(); Main.stage.addChild(sprite_mass); Main.stage.addChild(gamePlay); Main.stage.addChild(dr_object); Main.stage.addChild(sprite_man); Main.sprite_man.addChild(failMans(current_fail)); Main.sprite_man.addChild(dyn_man); failMans(current_fail).gotoAndStop(1); failMans(current_fail).y = 98; failMans(current_fail).x = 285; failMans(current_fail).mouseEnabled = false; failMans(current_fail).visible = false; Main.sprite_man.addChild(man_win); man_win.visible = false; sprite_man.mouseEnabled = false; Main.sprite_man.addChild(_voda); _voda.x = 300; _voda.y = 400; _voda.gotoAndStop(1); Main.sprite_man.addChild(_shnurok); _shnurok.visible = false; dr_object.contextMenu = _context_menu; gamePlay.init(); failMan._5.conv.gotoAndStop(1); main_menu.showMainMenuBar(false); Main.stage.addChild(tutorial); Main.stage.addChild(sprite_menu); Main.stage.addChild(start_logo); _rect.graphics.beginFill(0); _rect.graphics.drawRect(600, 0, 500, 400); _rect.graphics.drawRect(-500, 0, 500, 400); _rect.graphics.drawRect(0, 400, 600, 500); _rect.graphics.drawRect(0, -500, 600, 500); _rect.graphics.endFill(); Main.stage.addChild(_rect); sound.playFon(); bg.g.level.txt.text = ("" + currentLevel); } private function replaceObject():void{ if (dr_object.m_stopDrag_mc){ gamePlay.createObject(dr_object.m_stopDrag_mc, false, dr_object.m_stopDrag_mc_x, dr_object.m_stopDrag_mc_y, dr_object.m_stopDrag_mc_rotation, 1); dr_object.m_stopDrag_mc = null; dr_object.m_stopDrag_mc_rotation = 0; }; } private function on_click_main_menu_open(_arg1:MouseEvent):void{ switch (main_menu.open_un){ case true: (main_menu.open_un = false); break; case false: (main_menu.open_un = true); break; }; if (main_menu.open_un == true){ main_menu.open.gotoAndStop(1); (last_level = 1); (_save.last_level = 1); _save.Write(); }; if (main_menu.open_un == false){ main_menu.open.gotoAndStop(2); (last_level = 25); (_save.last_level = 25); _save.Write(); }; } private function gameProcess(_arg1:String):void{ switch (_arg1){ case "next_level": updateMan(); man_isset = 1; _timer.reset(); _timer.start(); dr_object.destroyAll(); gamePlay.destroyAll(); if (currentLevel < num_levels){ currentLevel++; } else { currentLevel = 1; }; _save.Save(currentLevel, _count._count_array); _save.Write(); dr_object.buildLevel(level.createLevel(currentLevel)); gamePlay.buildLevel(level.createLevel(currentLevel)); buttons_block = true; nxt = 0; bg.g.level.txt.text = ("" + currentLevel); helpMass(); break; case "game_over": updateMan(); gamePlay.destroyAll(); dr_object.destroyAll(); buttons_block = true; nxt = 0; bg.g.level.txt.text = ("" + currentLevel); helpMass(); break; case "reset": updateMan(); onse = true; man_isset = 1; _timer.reset(); _timer.start(); gamePlay.destroyAll(); dr_object.destroyAll(); dr_object.buildLevel(level.createLevel(currentLevel)); gamePlay.buildLevel(level.createLevel(currentLevel)); buttons_block = true; sound.finish_stop(); nxt = 0; bg.g.level.txt.text = ("" + currentLevel); helpMass(); break; case "new_game": updateMan(); onse = true; man_isset = 0; _timer.reset(); _timer.start(); currentLevel = 1; gamePlay.destroyAll(); dr_object.destroyAll(); dr_object.buildLevel(level.createLevel(currentLevel)); gamePlay.buildLevel(level.createLevel(currentLevel)); buttons_block = true; nxt = 0; bg.g.level.txt.text = ("" + currentLevel); helpMass(); break; case "start_game": updateMan(); onse = true; man_isset = 0; _timer.reset(); _timer.start(); dr_object.destroyAll(); gamePlay.destroyAll(); dr_object.buildLevel(level.createLevel(currentLevel)); gamePlay.buildLevel(level.createLevel(currentLevel)); buttons_block = true; nxt = 0; bg.g.level.txt.text = ("" + currentLevel); helpMass(); break; case "prev_level": updateMan(); man_isset = 0; _timer.reset(); _timer.start(); dr_object.destroyAll(); gamePlay.destroyAll(); if (currentLevel > 1){ currentLevel--; } else { currentLevel = 1; }; dr_object.buildLevel(level.createLevel(currentLevel)); gamePlay.buildLevel(level.createLevel(currentLevel)); buttons_block = true; nxt = 0; bg.g.level.txt.text = ("" + currentLevel); helpMass(); break; case "show_leves_bar": updateMan(); _timer.reset(); _timer.start(); gamePlay.destroyAll(); dr_object.destroyAll(); _levels.showLevels(); buttons_block = true; nxt = 0; bg.g.level.txt.text = ("" + currentLevel); break; default: break; }; } private function createFailNumber():void{ var _local1:Number = Math.round((Math.random() * 10)); if (_local1 != prev_fail_number){ current_fail = _local1; prev_fail_number = _local1; } else { createFailNumber(); }; } private function on_click_menu(_arg1:MouseEvent):void{ if (buttons_block){ _massag.hideClick(); dr_object.destroyAll(); gamePlay.destroyAll(); sound.buttonPlay(); main_menu.showMainMenuBar(); clearInterval(_id); clearInterval(_over_id); (buttons_block = false); helpMass(); sound.finish_stop(); sound.playFon(); _total.hidTotalBar(); _massag.hidFinishMass(); _massag.hideDont(); masagess.hidMassagesBar(); }; } private function on_click_other(_arg1:MouseEvent):void{ } private function fozen():void{ if ((((froze_int == 0)) && ((gamePlay.numChildren > 0)))){ sound.finish(); sound.main_fon_stop(); }; if (frozen_bl){ return; }; froze_int++; if (froze_int < 60){ return; }; var _local1:Boolean; var _local2:Number = 0; while (_local2 < gamePlay.max_lin_velocity.length) { if (gamePlay.max_lin_velocity[_local2] > 10){ _local1 = true; }; _local2++; }; if (!_local1){ gamePlay.sleepAll3(); trace("sleep"); frozen_bl = true; }; } private function prevDecision():void{ trace("ghddfsdf"); on_click_next(); } private function on_click_help_menu(_arg1:MouseEvent):void{ _help_bar.hideHelpBar(); main_menu.showMainMenuBar(); sound.buttonPlay(); } private function on_click_reset(_arg1:MouseEvent):void{ if (buttons_block){ _massag.hideClick(); gameProcess("reset"); clearInterval(_over_id); clearInterval(_id); sound.buttonPlay(); _total.hidTotalBar(); masagess.hidMassagesBar(); }; } private function on_click_menu_credits(_arg1:MouseEvent):void{ main_menu.hidMainMenuBar(); _credits_bar.showCreditsBar(); } private function on_click_try_again(_arg1:MouseEvent):void{ _massag.hideClick(); gameProcess("start_game"); (_over_stat = false); masagess.hidMassagesBar(); sound.buttonPlay(); clearInterval(_id); clearInterval(_over_id); (next_level_beh = true); } private function gameStatus():Number{ var _local1:Number = 0; if (gamePlay.brokenObjects()){ return (_local1); }; if ((((((dr_object.childStatus() == 0)) && ((gamePlay.m_gameStatus == 0)))) && ((dr_object.numChildren == 0)))){ _local1 = 2; } else { if (gamePlay.brokenObjects()){ _local1 = 0; } else { _local1 = 1; }; }; return (_local1); } private function failMans(_arg1:Number):MovieClip{ switch (_arg1){ case 1: return (failMan._1); case 2: return (failMan._2); case 3: return (failMan._3); case 4: return (failMan._4); case 5: return (failMan._6); case 6: return (failMan._6); case 7: return (failMan._7); case 8: return (failMan._8); case 9: return (failMan._9); default: return (failMan._1); }; } private function on_click_levels_menu():void{ if (buttons_block){ _massag.hideClick(); _levels.hideLevels(); main_menu.showMainMenuBar(); sound.buttonPlay(); }; } private function on_click_credits_menu(_arg1:MouseEvent):void{ main_menu.showMainMenuBar(); _credits_bar.hideCreditsBar(); } private function on_click_menu_masagess(_arg1:MouseEvent):void{ if (buttons_block){ _massag.hideClick(); masagess.hidMassagesBar(); main_menu.showMainMenuBar(); clearInterval(_over_id); clearInterval(_id); sound.buttonPlay(); }; } private function on_click_next_level(_arg1:MouseEvent):void{ if (buttons_block){ _massag.hideClick(); _total.hidTotalBar(); sound.buttonPlay(); (buttons_block = false); gameProcess("next_level"); }; } private function on_click_next():void{ _massag.hideClick(); if (onse){ (onse = false); (man_isset = 1); gamePlay.createObject(_man.man_mc, false, _man.man_x, (_man.man_y + 120), 1, 0, true); (_id = setInterval(decision, 1)); (b2ContactListener.remove = true); (conflict = true); if (finish_sound_onse){ (finish_sound_onse = false); sound.fonMute(); }; }; } private function failTimes(_arg1:Number):Number{ switch (_arg1){ case 1: return (54); case 2: return (134); case 3: return (52); case 4: return (0xFF); case 5: return (100); case 6: return (50); case 7: return (84); case 8: return (356); case 9: return (58); default: return (54); }; } private function update(_arg1:Event=null):void{ if (dr_object.numChildren == 0){ jump_man(); }; display.level(currentLevel); if (gamePlay.m_man){ }; _count.considerCount(currentLevel, _timer.currentCount); display.score(Math.round(_count._count)); replaceObject(); display.time(_timer.currentCount); if (gameStatus() == 0){ if (_over_stat){ gameOver(); }; }; if (gameStatus() == 1){ next_level_beh = true; _over_stat = true; }; if ((((gamePlay.numOfVisibleObjects() == dr_object.m_start_num_child)) && ((gameStatus() == 2)))){ time_vic++; if (time_vic > 20){ if (next_level_beh){ buttons_block = true; next_level_beh = false; prevDecision(); _massag.hideRotate(); }; }; }; if (dr_object.numChildren == 0){ fozen(); }; if (((!((_levels.num_level == 0))) && ((_levels.num_level <= last_level)))){ _massag.hideClick(); sound.buttonPlay(); currentLevel = _levels.num_level; gameProcess("start_game"); _levels.num_level = 0; _levels.hideLevels(); _levels.t = 0; }; if (Levels.menu_beh){ on_click_levels_menu(); Levels.menu_beh = false; }; if ((((((((game_over_int > 0)) && ((current_fail == 5)))) && (conflict))) && ((pre_jump == false)))){ }; } private function on_click_menu_help(_arg1:MouseEvent):void{ main_menu.hidMainMenuBar(); _help_bar.showHelpBar(); } private function updateMan():void{ display.reset.gotoAndStop(1); frozen_bl = false; froze_int = 0; game_over_is = false; dyn_man.visible = true; time_vic = 0; Main.sprite_man.removeChild(failMans(current_fail)); jump_once = false; createFailNumber(); SoundManager.crash_whos = false; timer.mozna = true; man_win.alpha = 1; sound.finish_stop(); sound.playFon(); Main.sprite_man.removeChild(dyn_man); dyn_man = null; dyn_man = new DynamicMan(); Main.sprite_man.addChild(dyn_man); Main.sprite_man.removeChild(man_win); Main.sprite_man.addChild(man_win); Main.sprite_man.addChild(failMans(current_fail)); failMans(current_fail).gotoAndStop(1); failMans(current_fail).y = 98; failMans(current_fail).x = 285; failMans(current_fail).mouseEnabled = false; failMans(current_fail).visible = false; dyn_man.hor.stop(); failMans(current_fail).gotoAndStop(1); dyn_man.visible = true; man_win.visible = false; failMans(current_fail).visible = false; b2ContactListener.ye_contact = false; conflict = false; jump_onse = true; game_over_int = 0; finish_sound_onse = true; my_new_interval = 0; nxt = 0; _voda.visible = false; woter_majna = true; _voda.gotoAndStop(1); _shnurok.visible = false; if (current_fail == 5){ failMan._5.conv.gotoAndStop(1); }; pre_jump = true; jump_delay = 0; timer.setToZerro(); } private function helpMass():void{ _massag.hideDont(); _massag.hidePut(); _massag.hideRotate(); _massag.hideClick(); if (currentLevel != 1){ _massag.hideF(); }; dr_object.showGlow(); if (currentLevel == 1){ _massag.showF(); }; } private function jump_man():void{ var _local1:Point; if (40 == dyn_man.hor.currentFrame){ if (dyn_man.hor.vert.vert.currentFrame == 15){ _local1 = new Point(); _local1.x = dyn_man.hor.vert.vert.jump.x; _local1.y = dyn_man.hor.vert.vert.jump.y; _local1 = dyn_man.hor.vert.vert.jump.localToGlobal(_local1); if (((_local1.y + 110) > (man_stop * 30))){ timer.start(); if (game_over_int > 0){ } else { if (jump_onse){ jump_onse = false; man_win.play(); sound.finish_stop(); sound.crashPlay(); sound.playFon(); }; dyn_man.hor.vert.vert.stop(); dyn_man.hor.vert.vert.jump.visible = false; man_win.x = 274; man_win.visible = true; }; }; man_win.y = (gamePlay.manPoint - 47); man_win.play(); dyn_man.hor.vert.mask = man_win.maska; } else { dyn_man.hor.vert.vert.play(); }; }; } private function decision():void{ nxt++; if (nxt > 500){ gamePlay.sleepAll(); }; if ((gameStatus() == 2)){ my_new_interval++; if (my_new_interval > 10){ if (((!(gamePlay.brokenObjects())) && ((dr_object.numChildren == 0)))){ dyn_man.hor.play(); dyn_man.hor.vert.vert.gotoAndStop(1); trace("next_level2"); my_new_interval = 0; timer.setToZerro(); nxt = 0; clearInterval(_id); jump_once = true; onse = true; b2ContactListener.remove = true; _count.considerCount(currentLevel, _timer.currentCount); if (currentLevel < num_levels){ _total.showTotalBar(); } else { _result.showFieldsBar(); _result.setTextFields(_count._count, _count._total_count); gameProcess("game_over"); }; _timer.stop(); _total.setTextFields(_timer.currentCount, _count._count, _count._total_count); _save.Save((currentLevel + 1), _count._count_array); _save.Write(); if (saveble){ last_level = _save.last_level; }; _massag.hideRotate(); }; }; }; } private function on_click_continue(_arg1:MouseEvent):void{ if (buttons_block){ _massag.hideClick(); addEventListener(Event.ENTER_FRAME, update); main_menu.hidMainMenuBar(); gameProcess("show_leves_bar"); sound.buttonPlay(); }; } private function gameOver():void{ var _local1:Number; game_over_is = true; game_over_int++; trace(("game_over: " + game_over_int)); if (game_over_int == 1){ dyn_man.hor.play(); masagess.showMainMassagesBar(); display.reset.gotoAndStop(2); }; dyn_man.hor.vert.vert.gotoAndStop(1); if ((((currentLevel == 1)) && ((game_over_int == 1)))){ _massag.hidePut(); _massag.hideRotate(); }; if ((((currentLevel < 3)) && ((game_over_int == 1)))){ _massag.showDont(); }; if ((((currentLevel < 3)) && ((game_over_int == failTimes(current_fail))))){ _massag.hideDont(); }; if (finish_sound_onse){ finish_sound_onse = false; sound.finish(); sound.fonMute(); sound.main_fon_stop(); }; if (game_over_int > 40){ if (!conflict){ failMans(current_fail).y = 98; if (current_fail == 5){ failMan._5.conv.play(); }; failMans(current_fail).play(); failMans(current_fail).visible = true; dyn_man.hor.vert.vert.visible = false; dyn_man.visible = true; dyn_man.hor.stop(); if (current_fail == 30){ _shnurok.visible = false; }; if (game_over_int == 41){ sound.finish_stop(); sound.playFon(); sound.crashPlay(true); }; }; }; if (game_over_int > (failTimes(current_fail) + 50)){ if (!conflict){ failMans(current_fail).visible = false; }; if (gameStatus() == 0){ game_over_int = 0; sound.finish_stop(); sound.playFon(); _local1 = 0; while (_local1 < 20) { _local1++; }; _over_stat = false; }; }; man_win.alpha = 0; } private function on_click_play(_arg1:MouseEvent):void{ _massag.hideClick(); addEventListener(Event.ENTER_FRAME, update); if (buttons_block){ _massag.showStartMass(); main_menu.hidMainMenuBar(); (currentLevel = 1); _count.countNUll(); gameProcess("start_game"); sound.buttonPlay(); if (((saveble) && ((main_menu.open_un == true)))){ (last_level = 1); (_save.last_level = 1); }; _save.Save(1, _count.countNUll(), true); _save.Write(); (_count = new Count()); (whosTut = false); if (!whosTut){ tutorial.showMe(); (whosTut = true); }; }; } private function on_click_res_menu(_arg1:MouseEvent):void{ if (buttons_block){ _massag.hideClick(); _result.hidFieldsBar(); main_menu.showMainMenuBar(); sound.buttonPlay(); }; } private function on_click_total_menu(_arg1:MouseEvent):void{ if (buttons_block){ _total.hidTotalBar(); clearInterval(_id); main_menu.showMainMenuBar(); sound.buttonPlay(); }; } private function on_press_reset(_arg1:KeyboardEvent):void{ if (_arg1.charCode == 114){ if (buttons_block){ _massag.hideClick(); gameProcess("reset"); clearInterval(_over_id); clearInterval(_id); sound.buttonPlay(); }; }; } } }//package
Section 244
//MainMenu (MainMenu) package { import flash.events.*; import flash.display.*; import flash.utils.*; import managers.*; public class MainMenu extends Sprite { private var once:Boolean;// = false private var _create_btn_id:uint; private var _create_buttons_i:Number;// = 1 private var _buttons:Sprite; public var open:MovieClip; private var _show_id:uint; private var _alpha:Number;// = 0 private var _bg:MovieClip; private var menu:MainMenuBar; public var open_un:Boolean;// = true private var _hide_id:uint; public function MainMenu(){ menu = new MainMenuBar(); _bg = new MovieClip(); _buttons = new Sprite(); super(); _bg = menu.g; _bg.alpha = _alpha; open = menu.open; menu.g.logo.addEventListener(MouseEvent.CLICK, go_cool_bubby); menu.g.logo.buttonMode = true; menu.g.faceBtn.addEventListener(MouseEvent.CLICK, go_faceook_cool_bubby); menu.g.faceBtn.buttonMode = true; menu.sound.addEventListener(MouseEvent.MOUSE_DOWN, on_click); menu.more_game.addEventListener(MouseEvent.CLICK, onn_click); } public function stepCreateButtons():void{ if (1 == _create_buttons_i){ _buttons.addChild(menu.play_game); }; if (2 == _create_buttons_i){ if (Main.last_level == 1){ _buttons.addChild(menu.continue_game_unable); } else { _buttons.addChild(menu.continue_game); }; }; if (3 == _create_buttons_i){ _buttons.addChild(menu.sound); }; if (4 == _create_buttons_i){ _buttons.addChild(menu.credits_game); }; if (5 == _create_buttons_i){ _buttons.addChild(menu.more_game); }; _create_buttons_i++; if (6 == _create_buttons_i){ clearInterval(_create_btn_id); }; } public function getOpenBtn():MovieClip{ return (menu.open); } public function getContinueBtn():MovieClip{ return (menu.continue_game); } public function showMainMenuBar(_arg1:Boolean=true):void{ if (_arg1){ Main.sprite_menu.addChild(_bg); Main.sprite_menu; Main.sprite_menu.addChild(_buttons); _show_id = setInterval(stepShowMenuBar, 1); Main.sound.showBar(); if (Display.display.sound.currentFrame == 1){ menu.sound.gotoAndStop(1); } else { menu.sound.gotoAndStop(2); once = true; }; } else { Main.sprite_menu.addChild(_bg); _bg.alpha = 1; Main.sprite_menu.addChild(_buttons); _create_btn_id = setInterval(stepCreateButtons, 40); menu.sound.gotoAndStop(1); }; } private function stepShowMenuBar():void{ _alpha = 1; _bg.alpha = _alpha; if (_alpha >= 1){ clearInterval(_show_id); _create_btn_id = setInterval(stepCreateButtons, 40); Main.buttons_block = true; }; } private function go_cool_bubby(_arg1:MouseEvent):void{ LinksManager.goCoolBuddy(); } private function go_faceook_cool_bubby(_arg1:MouseEvent):void{ LinksManager.goFaceBookCoolBuddy(); } public function getPlayBtn():MovieClip{ return (menu.play_game); } public function getHelpBtn():MovieClip{ return (menu.help_game); } public function getCreditsBtn():MovieClip{ return (menu.credits_game); } private function on_click(_arg1:MouseEvent=null):void{ var _local2:Boolean; if (!once){ Display.sound = false; }; once = true; if (((Display.sound) && (_local2))){ _local2 = false; menu.sound.gotoAndStop(1); Display.sound = false; Display.display.sound.gotoAndStop(1); SoundManager.volume = 3; SoundManager.setVolume(1); } else { if (((!(Display.sound)) && (_local2))){ _local2 = false; menu.sound.gotoAndStop(2); Display.sound = true; Display.display.sound.gotoAndStop(2); Display.once = true; SoundManager.volume = 1; SoundManager.setVolume(0); }; }; trace(Display.sound); } private function stepHideMenuBar():void{ _alpha = 0; _bg.alpha = _alpha; if (_alpha < 0.1){ clearInterval(_hide_id); Main.sprite_menu.removeChild(_bg); Main.sprite_menu.removeChild(_buttons); }; } private function clearButtons():void{ if (_buttons.numChildren > 0){ _buttons.removeChildAt(0); clearButtons(); }; } private function onn_click(_arg1:Event):void{ LinksManager.goMoreGamesCoolBuddy(); } public function hidMainMenuBar():void{ _hide_id = setInterval(stepHideMenuBar, 1); clearButtons(); _create_buttons_i = 1; } } }//package
Section 245
//MainMenuBar (MainMenuBar) package { import flash.display.*; public dynamic class MainMenuBar extends MovieClip { public var sound:MovieClip; public var play_game:MovieClip; public var g:MovieClip; public var credits_game:MovieClip; public var continue_game:MovieClip; public var more_game:MovieClip; public var continue_game_unable:MovieClip; } }//package
Section 246
//man (man) package { import flash.display.*; import flash.text.*; public dynamic class man extends MovieClip { public var txt:TextField; public var m:MovieClip; public var def1:MovieClip; public var def2:MovieClip; } }//package
Section 247
//Man (Man) package { import flash.display.*; public class Man { public var man_x:Number;// = 300 public var man_y:Number;// = -50 private var m_man:man; public var man_rotation:Number;// = 0 public var man_mc:MovieClip; public function Man(){ m_man = new man(); man_mc = new MovieClip(); super(); man_mc = m_man; } } }//package
Section 248
//Mass (Mass) package { import flash.events.*; import flash.display.*; import flash.utils.*; public class Mass { private var visible_put:Boolean;// = false private var _id_fin:uint; private var visible_rotate:Boolean;// = false private var visible_f:Boolean;// = false private var _id_start:uint; private var start:massages_start; private var _f:Number;// = 0 private var _s:Number;// = 0 private var visible_click:Boolean;// = false private var visible_dont:Boolean;// = false public function Mass(){ start = new massages_start(); _id_start = new uint(); _id_fin = new uint(); super(); start.g.alpha = 0; start.f.alpha = 0; start.g.mouseEnabled = false; start.f.mouseEnabled = false; start.click.mouseEnabled = false; start.put.mouseEnabled = false; start.rotate.mouseEnabled = false; start.dont.mouseEnabled = false; Main.sprite_mass.addChild(start.f); Main.stage.addEventListener(Event.ENTER_FRAME, update); } private function hideMe(_arg1:MovieClip):void{ if (_arg1.alpha > -0.1){ _arg1.alpha = (_arg1.alpha - 0.1); } else { if (Main.sprite_mass.contains(_arg1)){ Main.sprite_mass.removeChild(_arg1); }; }; } private function update(_arg1:Event):void{ if (visible_click){ showMe(start.click); }; if (!visible_click){ hideMe(start.click); }; if (visible_put){ showMe(start.put); }; if (!visible_put){ hideMe(start.put); }; if (visible_rotate){ showMe(start.rotate); }; if (!visible_rotate){ hideMe(start.rotate); }; if (visible_dont){ showMe(start.dont); }; if (!visible_dont){ hideMe(start.dont); }; if (visible_f){ showMe(start.f2); }; if (!visible_f){ hideMe(start.f2); }; } public function hidFinishMass():void{ if (Main.sprite_mass.contains(start.f)){ Main.sprite_mass.removeChild(start.f); }; } public function showClick():void{ start.click.alpha = 0; visible_click = true; Main.sprite_mass.addChild(start.click); } public function showPut():void{ start.put.alpha = 0; visible_put = true; Main.sprite_mass.addChild(start.put); } public function hideDont():void{ visible_dont = false; } public function hideF():void{ visible_f = false; if (Main.currentLevel == 1){ showClick(); }; } private function stepShowFinish():void{ _f++; if (_f < 10){ start.f.alpha = (start.f.alpha + 0.1); }; if (_f > 25){ start.f.alpha = (start.f.alpha - 0.1); }; if (_f == 35){ clearInterval(_id_fin); }; } public function hideClick():void{ visible_click = false; } public function showF():void{ start.f2.alpha = 0; visible_f = true; Main.sprite_mass.addChild(start.f2); } public function hidePut():void{ visible_put = false; } public function showDont():void{ start.dont.alpha = 0; visible_dont = true; Main.sprite_mass.addChild(start.dont); } public function showFinishMass():void{ _f = 0; start.f.alpha = 0; _id_fin = setInterval(stepShowFinish, 100); Main.sprite_mass.addChild(start.f); } private function showMe(_arg1:MovieClip):void{ if (_arg1.alpha < 1){ _arg1.alpha = (_arg1.alpha + 0.1); }; } public function showRotate():void{ start.rotate.alpha = 0; visible_rotate = true; Main.sprite_mass.addChild(start.rotate); } public function showStartMass():void{ _s = 0; } public function hideRotate():void{ visible_rotate = false; } } }//package
Section 249
//Massages (Massages) package { import flash.events.*; import flash.display.*; import flash.utils.*; import managers.*; public class Massages extends Sprite { private var _hide_id:uint; private var _create_btn_id:uint; private var _create_buttons_i:Number;// = 1 private var _buttons:Sprite; private var massage:MassagesBar; public var num_level:Number; private var _show_id:uint; private var _alpha:Number;// = 1 private var _bg:MovieClip; public function Massages(){ _bg = new MovieClip(); _buttons = new Sprite(); massage = new MassagesBar(); super(); _bg = massage.g; _bg.alpha = _alpha; _bg.walk.addEventListener(MouseEvent.CLICK, go_walk_cool_buddy); _bg.walk.buttonMode = true; } public function getTryAgainBtn():MovieClip{ return (massage.try_again); } private function stepShowMassagesBar():void{ clearInterval(_show_id); _create_btn_id = setInterval(stepCreateButtons, 40); } private function stepHideMassagesBar():void{ clearInterval(_hide_id); if (Main.sprite_menu.contains(_bg)){ Main.sprite_menu.removeChild(_bg); }; if (Main.sprite_menu.contains(_buttons)){ Main.sprite_menu.removeChild(_buttons); }; } public function hidMassagesBar():void{ _hide_id = setInterval(stepHideMassagesBar, 1); _alpha = 1; clearButtons(); _create_buttons_i = 1; } public function getMenuBtn():MovieClip{ return (massage.menu); } private function go_walk_cool_buddy(_arg1:MouseEvent):void{ LinksManager.goWalkThouthCoolBuddy(); } private function clearButtons():void{ if (_buttons.numChildren > 0){ _buttons.removeChildAt(0); clearButtons(); }; } public function showMainMassagesBar(_arg1:Boolean=true):void{ if (_arg1){ Main.sprite_menu.addChild(_bg); Main.sprite_menu.addChild(_buttons); _show_id = setInterval(stepShowMassagesBar, 1); } else { Main.sprite_menu.addChild(_bg); Main.sprite_menu.addChild(_buttons); _create_btn_id = setInterval(stepCreateButtons, 40); }; } public function stepCreateButtons():void{ if (1 == _create_buttons_i){ _buttons.addChild(massage.menu); }; if (2 == _create_buttons_i){ _buttons.addChild(massage.try_again); }; _create_buttons_i++; if (3 == _create_buttons_i){ clearInterval(_create_btn_id); }; } } }//package
Section 250
//massages_start (massages_start) package { import flash.display.*; public dynamic class massages_start extends MovieClip { public var put:MovieClip; public var rotate:MovieClip; public var f:MovieClip; public var g:MovieClip; public var dont:MovieClip; public var click:MovieClip; public var f2:MovieClip; } }//package
Section 251
//MassagesBar (MassagesBar) package { import flash.display.*; public dynamic class MassagesBar extends MovieClip { public var try_again:MovieClip; public var menu:MovieClip; public var g:MovieClip; } }//package
Section 252
//Preloader (Preloader) package { import flash.events.*; import flash.display.*; import managers.ads.*; import managers.*; import flash.utils.*; public class Preloader extends MovieClip { private var _back:PreloaderBar; public function Preloader(){ _back = new PreloaderBar(); super(); if (stage){ init(); } else { addEventListener(Event.ADDED_TO_STAGE, init); }; } public function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); addEventListener(Event.ENTER_FRAME, checkFrame); addChild(_back); _back.logo.addEventListener(MouseEvent.CLICK, go_cool_bubby); _back.logo.buttonMode = true; LinksManager.init(stage); ADSManager.init(stage); ADSManager.showAd(MovieClip(_back.tv), null, true); } private function checkFrame(_arg1:Event):void{ if ((((currentFrame == totalFrames)) && (ADSManager.adFinished))){ removeEventListener(Event.ENTER_FRAME, checkFrame); startup(); } else { _back.loading.gotoAndStop(Math.round(((loaderInfo.bytesLoaded / loaderInfo.bytesTotal) * 100))); trace(Math.round(((loaderInfo.bytesLoaded / loaderInfo.bytesTotal) * 100))); }; } private function go_cool_bubby(_arg1:MouseEvent):void{ LinksManager.goCoolBuddy(); } private function on_click(_arg1:Event):void{ LinksManager.navigateGarbuzGames(); } private function startup():void{ if (LinksManager.isLocal){ return; }; ADSManager.destroyAD(); stop(); var _local1:Class = (getDefinitionByName("Main") as Class); addChild((new (_local1) as DisplayObject)); } } }//package
Section 253
//PreloaderBar (PreloaderBar) package { import flash.display.*; public dynamic class PreloaderBar extends MovieClip { public var loading:MovieClip; public var tv:MovieClip; public var logo:MovieClip; } }//package
Section 254
//Result (Result) package { import flash.events.*; import flash.display.*; import flash.utils.*; import managers.*; public class Result { private var _create_fields_i:Number;// = 1 private var bar:ResultBar; private var _fields:Sprite; private var _show_id:uint; private var _alpha:Number;// = 0 private var _bg:MovieClip; private var _hide_id:uint; private var _create_fields_id:uint; public function Result(){ bar = new ResultBar(); _bg = new MovieClip(); _fields = new Sprite(); super(); _bg = bar.g; _bg.alpha = _alpha; bar.g.logo.addEventListener(MouseEvent.CLICK, go_cool_bubby); bar.g.logo.buttonMode = true; } public function stepCreateFields():void{ if (1 == _create_fields_i){ _fields.addChild(bar.score_txt); }; _create_fields_i++; if (2 == _create_fields_i){ _fields.addChild(bar.total_txt); }; _create_fields_i++; if (3 == _create_fields_i){ _fields.addChild(bar.submit_score); }; _create_fields_i++; if (4 == _create_fields_i){ clearInterval(_create_fields_id); }; } private function stepHideFieldsBar():void{ _alpha = 0; _bg.alpha = _alpha; if (_alpha < 0.1){ clearInterval(_hide_id); Main.sprite_menu.removeChild(_bg); Main.sprite_menu.removeChild(_fields); }; } public function setTextFields(_arg1:Number, _arg2:Number):void{ bar.total_txt.text = ("" + Math.round(_arg1)); bar.score_txt.text = ("" + Math.round(_arg2)); } private function go_cool_bubby(_arg1:MouseEvent):void{ LinksManager.goCoolBuddy(); } public function hidFieldsBar():void{ _hide_id = setInterval(stepHideFieldsBar, 1); clearFields(); _create_fields_i = 1; } public function showFieldsBar(_arg1:Boolean=true):void{ if (_arg1){ Main.sprite_menu.addChild(_bg); Main.sprite_menu.addChild(_fields); _show_id = setInterval(stepShowFieldsBar, 1); } else { Main.sprite_menu.addChild(_bg); _bg.alpha = 1; Main.sprite_menu.addChild(_fields); _create_fields_id = setInterval(stepCreateFields, 40); }; } private function clearFields():void{ if (_fields.numChildren > 0){ _fields.removeChildAt(0); clearFields(); }; } public function getSubmitBtn():MovieClip{ return (bar.submit_score); } private function stepShowFieldsBar():void{ _alpha = 1; _bg.alpha = _alpha; if (_alpha >= 1){ clearInterval(_show_id); _create_fields_id = setInterval(stepCreateFields, 40); }; } } }//package
Section 255
//ResultBar (ResultBar) package { import flash.display.*; import flash.text.*; public dynamic class ResultBar extends MovieClip { public var sabmit:MovieClip; public var total_txt:TextField; public var score_txt:TextField; public var g:MovieClip; public var submit_score:MovieClip; } }//package
Section 256
//SaveGame (SaveGame) package { import flash.net.*; public class SaveGame { private var max_level_num:Number; public var last_level:Number;// = 1 private var so:SharedObject; public static var m_score:Array = new Array(); public function SaveGame(){ var _local1:Number; super(); so = SharedObject.getLocal("game", "/"); if (!so.data.now){ _local1 = 1; while (_local1 <= (Main.last_level + 1)) { m_score.push(0); _local1++; }; so.data.score = m_score; so.data.now = 1; }; max_level_num = so.data.now; last_level = so.data.now; m_score = so.data.score; so.flush(); } public function Save(_arg1:Number, _arg2:Array, _arg3:Boolean=false):void{ if ((((_arg1 > last_level)) || (_arg3))){ so.data.now = _arg1; last_level = _arg1; so.data.score = _arg2; } else { so.data.now = new Number(last_level); }; } public function Write():void{ so.flush(); } } }//package
Section 257
//shnurok (shnurok) package { import flash.display.*; public dynamic class shnurok extends MovieClip { } }//package
Section 258
//show (show) package { import flash.media.*; public dynamic class show extends Sound { } }//package
Section 259
//SoundManager (SoundManager) package { import flash.media.*; public class SoundManager { private var _fon:back; private var _click:click; private var _crash2:Crash2; private var curr_vol:Number;// = 2 private var _drag:drag; private var _water:waterSPLASH; private var _show:show; private var _contact:contact; private var played:Boolean;// = false private var fon_played:Boolean;// = false private var _crash:Crash; private var _finish:finish_level; private var _id2:Number;// = 0 private var _id:uint; private static var spets_chann:SoundChannel = new SoundChannel(); private static var _loop_channel:SoundChannel = new SoundChannel(); public static var volume:Number; private static var _channel:SoundChannel = new SoundChannel(); public static var crash_whos:Boolean = false; public function SoundManager(){ _id = new uint(); super(); setVolume(1); volume = 4; _click = new click(); _contact = new contact(); _drag = new drag(); _fon = new back(); _show = new show(); _finish = new finish_level(); _water = new waterSPLASH(); _crash = new Crash(); _crash2 = new Crash2(); } public function stopLoopSound():void{ _loop_channel.stop(); } public function stopSound():void{ _channel.stop(); } public function gameOver():void{ } public function startDragObject():void{ playSound(_drag); setVolume(convertVolume(volume)); } public function main_fon_stop():void{ _loop_channel.stop(); fon_played = false; } public function buttonPlay():void{ playSound(_click); setVolume(convertVolume(volume)); } public function showBar():void{ playSound(_show); setVolume(convertVolume(volume)); } public function contactObject():void{ playSound(_contact); setVolume(convertVolume(volume)); } public function finish():void{ if (played){ return; }; spets_chann = _finish.play(0, 1000); setVolume(convertVolume(volume)); played = true; } private function playSound(_arg1:Sound, _arg2:Number=0):void{ if (Main.sound_on){ if (_arg2 == 0){ _channel = _arg1.play(0, 0); } else { _loop_channel = _arg1.play(0, _arg2); }; }; } public function waterPlay():void{ playSound(_water); setVolume(convertVolume(volume)); } public function convertVolume(_arg1:Number):Number{ var _local2:Number = 1; switch (_arg1){ case 1: _local2 = 0; break; case 2: _local2 = 0.5; break; case 3: _local2 = 1; break; }; return (_local2); } public function finish_stop():void{ played = false; spets_chann.stop(); } public function playFon():void{ if (fon_played){ return; }; playSound(_fon, 100); setVolume(convertVolume(volume)); fon_played = true; } public function crashPlay(_arg1:Boolean=false):void{ if (crash_whos){ return; }; if (!_arg1){ playSound(_crash); setVolume(convertVolume((volume * 1.5))); } else { playSound(_crash2); setVolume(convertVolume((volume * 1.5))); }; crash_whos = true; } public function stopDragObject():void{ } public function fonMute():void{ } public static function setVolume(_arg1:Number):void{ var _local2:SoundTransform = _channel.soundTransform; var _local3:SoundTransform = spets_chann.soundTransform; if (_arg1 == 0){ _local2.volume = _arg1; _local3.volume = _arg1; } else { _local3.volume = (_arg1 - 0.3); _local2.volume = (_arg1 - 0.3); }; _channel.soundTransform = _local2; spets_chann.soundTransform = _local3; var _local4:SoundTransform = _loop_channel.soundTransform; _local4.volume = _arg1; _loop_channel.soundTransform = _local4; } } }//package
Section 260
//star (star) package { import flash.display.*; public dynamic class star extends MovieClip { public function star(){ addFrameScript(14, frame15); } function frame15(){ stop(); } } }//package
Section 261
//stones (stones) package { import flash.display.*; public dynamic class stones extends MovieClip { } }//package
Section 262
//Symbol14q (Symbol14q) package { import flash.display.*; public dynamic class Symbol14q extends MovieClip { } }//package
Section 263
//taimer (taimer) package { import flash.display.*; public dynamic class taimer extends MovieClip { } }//package
Section 264
//Total (Total) package { import flash.display.*; import flash.text.*; public dynamic class Total extends MovieClip { public var total_txt:TextField; public var time_txt:TextField; public var vic_text:MovieClip; public var next_level:MovieClip; public var score_txt:TextField; public var more_games:MovieClip; public var menu:MovieClip; public var g:MovieClip; public var me:MovieClip; } }//package
Section 265
//TotalResult (TotalResult) package { import flash.events.*; import flash.display.*; import flash.utils.*; import managers.*; public class TotalResult { private var _score_txt:Number;// = 0 private var _total:Sprite; private var _create_total_i:Number;// = 1 private var time_txt:Number;// = 0 private var bar:Total; private var _create_total_id:uint; private var _time_txt:Number;// = 0 private var _show_id:uint; private var _alpha:Number;// = 0 private var _bg:MovieClip; private var score_txt:Number;// = 0 private var _total_txt:Number;// = 0 private var _hide_id:uint; public static var total_txt:Number = 0; private static var score_array:Array; private static var count:Number = 0; public function TotalResult(){ bar = new Total(); _bg = new MovieClip(); _total = new Sprite(); super(); _bg = bar.g; _bg.alpha = _alpha; } public function getMenu_btn():MovieClip{ return (bar.menu); } private function textFields(_arg1:Number, _arg2:Number, _arg3:Number):void{ bar.time_txt.text = ("time: " + Math.round(_arg1)); bar.score_txt.text = ("score: " + Math.round(_arg2)); bar.total_txt.text = ("total: " + Math.round(_arg3)); } public function showTotalBar(_arg1:Boolean=true):void{ Main.stage.addEventListener(Event.ENTER_FRAME, step); _time_txt = 0; _score_txt = 0; trace(("ttt: " + total_txt)); _total_txt = total_txt; if (_arg1){ Main.sprite_menu.addChild(_total); _show_id = setInterval(stepShowTotalBar, 1); } else { _bg.alpha = 1; Main.sprite_menu.addChild(_total); _create_total_id = setInterval(stepCreateTotal, 40); }; } public function hidTotalBar():void{ _hide_id = setInterval(stepHideTotalBar, 1); clearTotal(); _create_total_i = 1; Main.stage.removeEventListener(Event.ENTER_FRAME, step); } public function setTextFields(_arg1:Number, _arg2:Number, _arg3:Number):void{ time_txt = Math.round(_arg1); score_txt = Math.round(_arg2); total_txt = Math.round(_arg3); } private function step(_arg1:Event):void{ trace(("scr: " + _score_txt)); var _local2:Number = 1; while (_local2 < 4) { if (_time_txt < time_txt){ _time_txt = (_time_txt + 1); }; if (_time_txt > time_txt){ _time_txt = (_time_txt - 1); }; if (_score_txt < score_txt){ _score_txt = (_score_txt + 2); }; if (_score_txt > score_txt){ _score_txt = (_score_txt - 2); }; if (_total_txt < total_txt){ _total_txt = (_total_txt + 2); }; if (_total_txt > total_txt){ _total_txt = (_total_txt - 2); }; textFields(_time_txt, _score_txt, _total_txt); _local2++; }; } private function go_more_games_cool_bubby(_arg1:MouseEvent):void{ LinksManager.goMoreGamesCoolBuddy(); } public function getNext_btn():MovieClip{ return (bar.next_level); } private function clearTotal():void{ if (_total.numChildren > 0){ _total.removeChildAt(0); clearTotal(); }; } private function stepShowTotalBar():void{ _alpha = 1; _bg.alpha = _alpha; if (_alpha >= 1){ clearInterval(_show_id); _create_total_id = setInterval(stepCreateTotal, 40); }; } public function stepCreateTotal():void{ if (1 == _create_total_i){ _total.addChild(bar.me); }; _create_total_i++; if (2 == _create_total_i){ _total.addChild(bar.time_txt); }; _create_total_i++; if (3 == _create_total_i){ _total.addChild(bar.total_txt); }; _create_total_i++; if (4 == _create_total_i){ _total.addChild(bar.score_txt); }; _create_total_i++; if (5 == _create_total_i){ _total.addChild(bar.next_level); }; _create_total_i++; if (6 == _create_total_i){ _total.addChild(bar.menu); }; _create_total_i++; if (7 == _create_total_i){ _total.addChild(bar.vic_text); }; _create_total_i++; if (8 == _create_total_i){ _total.addChild(bar.more_games); bar.more_games.addEventListener(MouseEvent.CLICK, go_more_games_cool_bubby); bar.more_games.buttonMode = true; }; _create_total_i++; if (8 == _create_total_i){ clearInterval(_create_total_id); }; } private function stepHideTotalBar():void{ _alpha = 0; _bg.alpha = _alpha; if ((_alpha < 0.2)){ clearInterval(_hide_id); if (Main.sprite_menu.contains(_total)){ Main.sprite_menu.removeChild(_total); }; }; } } }//package
Section 266
//waterSPLASH (waterSPLASH) package { import flash.media.*; public dynamic class waterSPLASH extends Sound { } }//package
Section 267
//vodolaz2 (vodolaz2) package { import flash.display.*; public dynamic class vodolaz2 extends MovieClip { public var w:kapli; } }//package

Library Items

Symbol 1 GraphicUsed by:49 1403
Symbol 2 GraphicUsed by:35
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:35 333 381 406 442 480 526 1193 1404
Symbol 5 GraphicUsed by:35 381 406
Symbol 6 GraphicUsed by:20
Symbol 7 GraphicUsed by:17
Symbol 8 GraphicUsed by:17
Symbol 9 GraphicUsed by:17
Symbol 10 GraphicUsed by:17
Symbol 11 GraphicUsed by:17
Symbol 12 GraphicUsed by:17
Symbol 13 GraphicUsed by:17
Symbol 14 GraphicUsed by:17
Symbol 15 GraphicUsed by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:7 8 9 10 11 12 13 14 15 16Used by:20
Symbol 18 GraphicUsed by:20
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:6 17 18 19Used by:35 172 333 381 406 442 480 526 1193 1404
Symbol 21 GraphicUsed by:34
Symbol 22 GraphicUsed by:34
Symbol 23 GraphicUsed by:34
Symbol 24 GraphicUsed by:34
Symbol 25 GraphicUsed by:34
Symbol 26 GraphicUsed by:34
Symbol 27 GraphicUsed by:34
Symbol 28 GraphicUsed by:34
Symbol 29 GraphicUsed by:34
Symbol 30 GraphicUsed by:34
Symbol 31 GraphicUsed by:34
Symbol 32 GraphicUsed by:34
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:21 22 23 24 25 26 27 28 29 30 31 32 33Used by:35
Symbol 35 MovieClipUses:2 4 5 20 34Used by:49
Symbol 36 GraphicUsed by:38
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:36 37Used by:49
Symbol 39 GraphicUsed by:44
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:44 406
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:44 406
Symbol 44 MovieClipUses:39 41 43Used by:49
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:49
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:49 381 406 480 526
Symbol 49 MovieClip {PreloaderBar} [PreloaderBar]Uses:1 35 38 44 46 48
Symbol 50 GraphicUsed by:56
Symbol 51 GraphicUsed by:56
Symbol 52 GraphicUsed by:56
Symbol 53 GraphicUsed by:56
Symbol 54 GraphicUsed by:56
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClip {kapli} [kapli]Uses:50 51 52 53 54 55Used by:366
Symbol 57 GraphicUsed by:77
Symbol 58 GraphicUsed by:77
Symbol 59 GraphicUsed by:77
Symbol 60 GraphicUsed by:77
Symbol 61 GraphicUsed by:77
Symbol 62 GraphicUsed by:77
Symbol 63 GraphicUsed by:77
Symbol 64 GraphicUsed by:77
Symbol 65 GraphicUsed by:77
Symbol 66 GraphicUsed by:69
Symbol 67 GraphicUsed by:69
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:66 67 68Used by:77
Symbol 70 GraphicUsed by:76
Symbol 71 GraphicUsed by:76
Symbol 72 GraphicUsed by:76
Symbol 73 GraphicUsed by:76
Symbol 74 GraphicUsed by:76
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:70 71 72 73 74 75Used by:77
Symbol 77 MovieClipUses:57 58 59 60 61 62 63 64 65 69 76Used by:282
Symbol 78 GraphicUsed by:90
Symbol 79 GraphicUsed by:90
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:83 90
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82 81Used by:90
Symbol 84 GraphicUsed by:90
Symbol 85 GraphicUsed by:90
Symbol 86 GraphicUsed by:90
Symbol 87 GraphicUsed by:90
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:90
Symbol 90 MovieClipUses:78 79 81 83 84 85 86 87 89Used by:282
Symbol 91 GraphicUsed by:101
Symbol 92 GraphicUsed by:101
Symbol 93 GraphicUsed by:101
Symbol 94 GraphicUsed by:101
Symbol 95 GraphicUsed by:101
Symbol 96 GraphicUsed by:101
Symbol 97 GraphicUsed by:101
Symbol 98 GraphicUsed by:101
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:101
Symbol 101 MovieClipUses:91 92 93 94 95 96 97 98 100Used by:282
Symbol 102 GraphicUsed by:139
Symbol 103 GraphicUsed by:139
Symbol 104 GraphicUsed by:139
Symbol 105 GraphicUsed by:139
Symbol 106 GraphicUsed by:139
Symbol 107 GraphicUsed by:139
Symbol 108 GraphicUsed by:139
Symbol 109 GraphicUsed by:139
Symbol 110 GraphicUsed by:139
Symbol 111 GraphicUsed by:139
Symbol 112 GraphicUsed by:139
Symbol 113 GraphicUsed by:139
Symbol 114 GraphicUsed by:139
Symbol 115 GraphicUsed by:139
Symbol 116 GraphicUsed by:139
Symbol 117 GraphicUsed by:139
Symbol 118 GraphicUsed by:139
Symbol 119 GraphicUsed by:139
Symbol 120 GraphicUsed by:139
Symbol 121 GraphicUsed by:139
Symbol 122 GraphicUsed by:139
Symbol 123 GraphicUsed by:139
Symbol 124 GraphicUsed by:139
Symbol 125 GraphicUsed by:139
Symbol 126 GraphicUsed by:139
Symbol 127 GraphicUsed by:139
Symbol 128 GraphicUsed by:139
Symbol 129 GraphicUsed by:139
Symbol 130 GraphicUsed by:139
Symbol 131 GraphicUsed by:139
Symbol 132 GraphicUsed by:139
Symbol 133 GraphicUsed by:139
Symbol 134 GraphicUsed by:139
Symbol 135 GraphicUsed by:139
Symbol 136 GraphicUsed by:139
Symbol 137 GraphicUsed by:139
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138Used by:282
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:140Used by:172
Symbol 142 GraphicUsed by:172
Symbol 143 GraphicUsed by:172
Symbol 144 GraphicUsed by:172
Symbol 145 GraphicUsed by:172
Symbol 146 GraphicUsed by:172
Symbol 147 GraphicUsed by:172
Symbol 148 GraphicUsed by:172
Symbol 149 GraphicUsed by:172
Symbol 150 GraphicUsed by:172
Symbol 151 GraphicUsed by:172
Symbol 152 GraphicUsed by:172
Symbol 153 GraphicUsed by:172
Symbol 154 GraphicUsed by:172
Symbol 155 GraphicUsed by:172
Symbol 156 GraphicUsed by:172
Symbol 157 GraphicUsed by:172
Symbol 158 GraphicUsed by:172
Symbol 159 GraphicUsed by:172
Symbol 160 GraphicUsed by:172
Symbol 161 GraphicUsed by:172
Symbol 162 FontUsed by:163 165 167
Symbol 163 TextUses:162Used by:172
Symbol 164 GraphicUsed by:172
Symbol 165 TextUses:162Used by:172
Symbol 166 GraphicUsed by:172
Symbol 167 TextUses:162Used by:172
Symbol 168 GraphicUsed by:172
Symbol 169 GraphicUsed by:172
Symbol 170 GraphicUsed by:172
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClipUses:141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 20 161 163 164 165 166 167 168 169 170 171Used by:187
Symbol 173 GraphicUsed by:187
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:186 187 201
Symbol 176 GraphicUsed by:187
Symbol 177 GraphicUsed by:187
Symbol 178 GraphicUsed by:187
Symbol 179 GraphicUsed by:187
Symbol 180 GraphicUsed by:187
Symbol 181 GraphicUsed by:187
Symbol 182 GraphicUsed by:187
Symbol 183 GraphicUsed by:187
Symbol 184 GraphicUsed by:186
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:184 175 185Used by:187
Symbol 187 MovieClipUses:172 173 175 176 177 178 179 180 181 182 183 186Used by:282
Symbol 188 GraphicUsed by:204
Symbol 189 GraphicUsed by:204
Symbol 190 GraphicUsed by:204
Symbol 191 GraphicUsed by:204
Symbol 192 GraphicUsed by:204
Symbol 193 GraphicUsed by:204
Symbol 194 GraphicUsed by:204
Symbol 195 GraphicUsed by:204
Symbol 196 GraphicUsed by:204
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClipUses:197Used by:204
Symbol 199 GraphicUsed by:201
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClipUses:199 175 200Used by:204
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClipUses:202Used by:204
Symbol 204 MovieClipUses:188 189 190 191 192 193 194 195 196 198 201 203Used by:282
Symbol 205 GraphicUsed by:229
Symbol 206 GraphicUsed by:208
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:206 207Used by:229
Symbol 209 GraphicUsed by:212
Symbol 210 GraphicUsed by:212
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:209 210 211Used by:229
Symbol 213 GraphicUsed by:229
Symbol 214 GraphicUsed by:229
Symbol 215 GraphicUsed by:229
Symbol 216 GraphicUsed by:229
Symbol 217 GraphicUsed by:229
Symbol 218 GraphicUsed by:222
Symbol 219 GraphicUsed by:222
Symbol 220 GraphicUsed by:222
Symbol 221 GraphicUsed by:222
Symbol 222 MovieClipUses:218 219 220 221Used by:228
Symbol 223 GraphicUsed by:228
Symbol 224 GraphicUsed by:227
Symbol 225 GraphicUsed by:227
Symbol 226 GraphicUsed by:227
Symbol 227 MovieClipUses:224 225 226Used by:228 243
Symbol 228 MovieClipUses:222 223 227Used by:229
Symbol 229 MovieClipUses:205 208 212 213 214 215 216 217 228Used by:282
Symbol 230 GraphicUsed by:243
Symbol 231 GraphicUsed by:243
Symbol 232 GraphicUsed by:243
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClipUses:233Used by:243
Symbol 235 GraphicUsed by:243
Symbol 236 GraphicUsed by:240
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:237Used by:240
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClipUses:236 238 239Used by:242 243
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClipUses:241 240Used by:243
Symbol 243 MovieClipUses:230 231 232 234 227 235 240 242Used by:282
Symbol 244 GraphicUsed by:264
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:264
Symbol 247 GraphicUsed by:264
Symbol 248 GraphicUsed by:263
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClipUses:249Used by:263
Symbol 251 GraphicUsed by:263
Symbol 252 GraphicUsed by:263
Symbol 253 GraphicUsed by:263
Symbol 254 GraphicUsed by:263
Symbol 255 GraphicUsed by:263
Symbol 256 GraphicUsed by:263
Symbol 257 GraphicUsed by:263
Symbol 258 GraphicUsed by:263
Symbol 259 GraphicUsed by:263
Symbol 260 GraphicUsed by:263
Symbol 261 GraphicUsed by:263
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClipUses:248 250 251 252 253 254 255 256 257 258 259 260 261 262Used by:264
Symbol 264 MovieClipUses:244 246 247 263Used by:282
Symbol 265 GraphicUsed by:281
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClipUses:266Used by:271 277 281
Symbol 268 GraphicUsed by:271 281
Symbol 269 GraphicUsed by:270
Symbol 270 MovieClipUses:269Used by:271 281
Symbol 271 MovieClipUses:267 268 270Used by:281
Symbol 272 GraphicUsed by:277 281
Symbol 273 GraphicUsed by:281
Symbol 274 GraphicUsed by:281
Symbol 275 GraphicUsed by:281
Symbol 276 GraphicUsed by:281
Symbol 277 MovieClipUses:267 272Used by:281
Symbol 278 GraphicUsed by:281
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClipUses:279Used by:281
Symbol 281 MovieClipUses:265 271 267 272 268 270 273 274 275 276 277 278 280Used by:282
Symbol 282 MovieClip {fail} [fail]Uses:77 90 101 139 187 204 229 243 264 281
Symbol 283 GraphicUsed by:322
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:284Used by:322
Symbol 286 GraphicUsed by:322
Symbol 287 GraphicUsed by:322
Symbol 288 GraphicUsed by:322
Symbol 289 GraphicUsed by:322
Symbol 290 GraphicUsed by:322
Symbol 291 GraphicUsed by:322
Symbol 292 GraphicUsed by:322
Symbol 293 GraphicUsed by:322
Symbol 294 GraphicUsed by:322
Symbol 295 GraphicUsed by:322
Symbol 296 GraphicUsed by:322
Symbol 297 GraphicUsed by:322
Symbol 298 GraphicUsed by:322
Symbol 299 GraphicUsed by:322
Symbol 300 GraphicUsed by:322
Symbol 301 GraphicUsed by:322
Symbol 302 GraphicUsed by:322
Symbol 303 GraphicUsed by:322
Symbol 304 GraphicUsed by:322
Symbol 305 GraphicUsed by:322
Symbol 306 GraphicUsed by:322
Symbol 307 GraphicUsed by:322
Symbol 308 GraphicUsed by:322
Symbol 309 GraphicUsed by:322
Symbol 310 GraphicUsed by:322
Symbol 311 GraphicUsed by:322
Symbol 312 GraphicUsed by:322
Symbol 313 GraphicUsed by:322
Symbol 314 GraphicUsed by:322
Symbol 315 GraphicUsed by:322
Symbol 316 GraphicUsed by:322
Symbol 317 GraphicUsed by:322
Symbol 318 GraphicUsed by:322
Symbol 319 GraphicUsed by:322
Symbol 320 GraphicUsed by:322
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClip {geroj} [geroj]Uses:283 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClip {shnurok} [shnurok]Uses:323
Symbol 325 GraphicUsed by:333
Symbol 326 GraphicUsed by:333
Symbol 327 FontUsed by:328 329
Symbol 328 TextUses:327Used by:331
Symbol 329 EditableTextUses:327Used by:331
Symbol 330 GraphicUsed by:331
Symbol 331 MovieClip {menu_fla.level_100} [menu_fla.level_100]Uses:328 329 330Used by:333
Symbol 332 GraphicUsed by:333
Symbol 333 MovieClip {menu_fla.fon_99} [menu_fla.fon_99]Uses:325 4 20 326 331 332Used by:334
Symbol 334 MovieClip {BackGround} [BackGround]Uses:333Used by:1177
Symbol 335 GraphicUsed by:346
Symbol 336 GraphicUsed by:345
Symbol 337 GraphicUsed by:345
Symbol 338 GraphicUsed by:345
Symbol 339 GraphicUsed by:345
Symbol 340 GraphicUsed by:345
Symbol 341 ShapeTweeningUsed by:345
Symbol 342 GraphicUsed by:343
Symbol 343 MovieClip {Symbol14q} [Symbol14q]Uses:342Used by:345
Symbol 344 GraphicUsed by:345
Symbol 345 MovieClip {menu_fla.Symbol9q_34} [menu_fla.Symbol9q_34]Uses:336 337 338 339 340 341 343 344Used by:346
Symbol 346 MovieClip {menu_fla.Symbol16_33} [menu_fla.Symbol16_33]Uses:335 345Used by:351
Symbol 347 GraphicUsed by:348
Symbol 348 MovieClipUses:347Used by:351
Symbol 349 GraphicUsed by:350
Symbol 350 MovieClipUses:349Used by:351 1175 1177
Symbol 351 MovieClip {menu_fla.lift_32} [menu_fla.lift_32]Uses:346 348 350Used by:352
Symbol 352 MovieClip {DynamicMan} [DynamicMan]Uses:351
Symbol 353 GraphicUsed by:366
Symbol 354 GraphicUsed by:366
Symbol 355 GraphicUsed by:366
Symbol 356 GraphicUsed by:366
Symbol 357 GraphicUsed by:366
Symbol 358 GraphicUsed by:366
Symbol 359 GraphicUsed by:366
Symbol 360 GraphicUsed by:366
Symbol 361 GraphicUsed by:366
Symbol 362 GraphicUsed by:365
Symbol 363 GraphicUsed by:365
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClipUses:362 363 364Used by:366
Symbol 366 MovieClip {vodolaz2} [vodolaz2]Uses:353 354 355 356 357 358 359 360 361 365 56
Symbol 367 GraphicUsed by:368
Symbol 368 MovieClipUses:367Used by:369
Symbol 369 MovieClip {stones} [stones]Uses:368Used by:1177
Symbol 370 GraphicUsed by:381
Symbol 371 GraphicUsed by:381 442 480 526 1193
Symbol 372 FontUsed by:373 374 377 383 402 408 422 427 432 438 441 445 447 451 456 477 478 479 485 496 524 525 529 538 541 1179 1183 1185 1191 1192
Symbol 373 TextUses:372Used by:381
Symbol 374 TextUses:372Used by:381
Symbol 375 GraphicUsed by:381
Symbol 376 GraphicUsed by:378 379
Symbol 377 TextUses:372Used by:378 379
Symbol 378 MovieClipUses:376 377Used by:379
Symbol 379 ButtonUses:378 376 377Used by:380
Symbol 380 MovieClipUses:379Used by:381
Symbol 381 MovieClip {menu_fla.levels_bg_58} [menu_fla.levels_bg_58]Uses:370 4 5 20 371 373 374 375 48 380Used by:394
Symbol 382 GraphicUsed by:384 385
Symbol 383 TextUses:372Used by:384 385
Symbol 384 MovieClipUses:382 383Used by:385
Symbol 385 ButtonUses:384 382 383Used by:386 443 492
Symbol 386 MovieClipUses:385Used by:394 1194
Symbol 387 GraphicUsed by:388 390
Symbol 388 MovieClipUses:387Used by:390
Symbol 389 MovieClipUsed by:390 515
Symbol 390 ButtonUses:388 389 387Used by:393
Symbol 391 FontUsed by:392 482 483 494 535 536 537
Symbol 392 EditableTextUses:391 493Used by:393
Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]Uses:390 392Used by:394
Symbol 394 MovieClip {levels} [levels]Uses:381 386 393
Symbol 395 GraphicUsed by:406 442
Symbol 396 GraphicUsed by:406
Symbol 397 GraphicUsed by:398
Symbol 398 MovieClipUses:397Used by:406
Symbol 399 GraphicUsed by:400
Symbol 400 MovieClipUses:399Used by:406
Symbol 401 GraphicUsed by:403 404
Symbol 402 TextUses:372Used by:403 404
Symbol 403 MovieClipUses:401 402Used by:404
Symbol 404 ButtonUses:403 401 402Used by:405
Symbol 405 MovieClipUses:404Used by:406
Symbol 406 MovieClip {menu_fla.menu_gr1_145} [menu_fla.menu_gr1_145]Uses:395 4 5 20 396 398 400 41 43 48 405Used by:436
Symbol 407 GraphicUsed by:409 410
Symbol 408 TextUses:372Used by:409 410
Symbol 409 MovieClipUses:407 408Used by:410
Symbol 410 ButtonUses:409 407 408Used by:411
Symbol 411 MovieClipUses:410Used by:436
Symbol 412 GraphicUsed by:413
Symbol 413 MovieClipUses:412Used by:415
Symbol 414 GraphicUsed by:415
Symbol 415 ButtonUses:413 414Used by:420
Symbol 416 GraphicUsed by:417
Symbol 417 MovieClipUses:416Used by:419
Symbol 418 GraphicUsed by:419
Symbol 419 ButtonUses:417 418Used by:420
Symbol 420 MovieClip {menu_fla.dbsound_115} [menu_fla.dbsound_115]Uses:415 419Used by:436 515
Symbol 421 GraphicUsed by:423 424
Symbol 422 TextUses:372Used by:423 424
Symbol 423 MovieClipUses:421 422Used by:424 436
Symbol 424 ButtonUses:423 421 422Used by:425
Symbol 425 MovieClip {menu_fla.continue_155} [menu_fla.continue_155]Uses:424Used by:436
Symbol 426 GraphicUsed by:428 429
Symbol 427 TextUses:372Used by:428 429
Symbol 428 MovieClipUses:426 427Used by:429
Symbol 429 ButtonUses:428 426 427Used by:430
Symbol 430 MovieClipUses:429Used by:436
Symbol 431 GraphicUsed by:433 434
Symbol 432 TextUses:372Used by:433 434
Symbol 433 MovieClipUses:431 432Used by:434
Symbol 434 ButtonUses:433 431 432Used by:435
Symbol 435 MovieClipUses:434Used by:436
Symbol 436 MovieClip {MainMenuBar} [MainMenuBar]Uses:406 411 420 423 425 430 435
Symbol 437 GraphicUsed by:442 480 526 1193 1404
Symbol 438 TextUses:372Used by:442
Symbol 439 GraphicUsed by:440
Symbol 440 MovieClipUses:439Used by:442
Symbol 441 TextUses:372Used by:442
Symbol 442 MovieClip {menu_fla.credits_g_138} [menu_fla.credits_g_138]Uses:395 4 437 20 371 438 440 441Used by:444
Symbol 443 MovieClipUses:385Used by:444
Symbol 444 MovieClip {CreditsBar} [CreditsBar]Uses:442 443
Symbol 445 TextUses:372Used by:449
Symbol 446 GraphicUsed by:448
Symbol 447 TextUses:372Used by:448
Symbol 448 MovieClipUses:446 447Used by:449
Symbol 449 MovieClip {menu_fla.MassagesBag_gnew_92} [menu_fla.MassagesBag_gnew_92]Uses:445 448Used by:460
Symbol 450 GraphicUsed by:452 453
Symbol 451 TextUses:372Used by:452 453
Symbol 452 MovieClipUses:450 451Used by:453
Symbol 453 ButtonUses:452 450 451Used by:454 481 534
Symbol 454 MovieClipUses:453Used by:460
Symbol 455 GraphicUsed by:457 458
Symbol 456 TextUses:372Used by:457 458
Symbol 457 MovieClipUses:455 456Used by:458
Symbol 458 ButtonUses:457 455 456Used by:459
Symbol 459 MovieClipUses:458Used by:460
Symbol 460 MovieClip {MassagesBar} [MassagesBar]Uses:449 454 459
Symbol 461 GraphicUsed by:462
Symbol 462 MovieClip {ground} [ground]Uses:461
Symbol 463 MovieClipUsed by:473
Symbol 464 GraphicUsed by:465
Symbol 465 MovieClipUses:464Used by:466 472 551 557 558 559 563 564 565 570 571 572 576 585 586 587 591 592 598 599 603 604 610 614 615 616 617 618 625 626 627 632 633 639 640 646 647 648 649 654 655 662 664 669 673 682 686 689 695 696 700 704 705 706 708 709 716 717 718 723 726 727 728 729 733 739 744 748 749 752 753 758 759 760 761 765 766 770 771 775 783 784 785 789 791 792 796 797 798 799 804 808 809 814 815 816 820 821 822 826 827 831 832 833 838 839 840 844 848 849 850 851 852 853 854 860 866 869 873 877 882 883 887 891 895 896 897 898 902 903 907 911 912 913 917 924 925 927 934 939 944 945 946 947 948 949 950 955 960 965 966 967 968 969 970 971 975 980 981 985 986 990 995 996 997 998 999 1004 1010 1011 1012 1013 1016 1017 1018 1019 1026 1028 1034 1035 1036 1041 1046 1050 1054 1058 1061 1065 1069 1070 1075 1079 1083 1086 1096 1097 1102 1106 1107 1111 1115 1116 1120 1126 1129
Symbol 466 MovieClipUses:465Used by:473
Symbol 467 FontUsed by:468 560 566 577 628 641 650 656 687 722 734 810 886 1000 1045
Symbol 468 EditableTextUses:467Used by:473
Symbol 469 GraphicUsed by:471
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClip {game_fla.mannncopy_53} [game_fla.mannncopy_53]Uses:469 470Used by:473
Symbol 472 MovieClipUses:465Used by:473
Symbol 473 MovieClip {man} [man]Uses:463 466 468 471 472
Symbol 474 GraphicUsed by:480
Symbol 475 GraphicUsed by:476
Symbol 476 MovieClipUses:475Used by:480 526 527
Symbol 477 TextUses:372Used by:480
Symbol 478 TextUses:372Used by:480 526
Symbol 479 TextUses:372Used by:480 526
Symbol 480 MovieClip {menu_fla.result_g_70} [menu_fla.result_g_70]Uses:474 4 437 20 371 476 477 478 479 48Used by:489
Symbol 481 MovieClipUses:453Used by:489
Symbol 482 EditableTextUses:391 493Used by:489
Symbol 483 EditableTextUses:391 493Used by:489
Symbol 484 GraphicUsed by:486 487
Symbol 485 TextUses:372Used by:486 487
Symbol 486 MovieClipUses:484 485Used by:487
Symbol 487 ButtonUses:486 484 485Used by:488
Symbol 488 MovieClip {menu_fla.sabmitscore_75} [menu_fla.sabmitscore_75]Uses:487Used by:489
Symbol 489 MovieClip {ResultBar} [ResultBar]Uses:480 481 482 483 488
Symbol 490 GraphicUsed by:491
Symbol 491 MovieClip {star} [star]Uses:490
Symbol 492 MovieClipUses:385Used by:515
Symbol 493 FontUsed by:392 482 483 494 535 536 537
Symbol 494 EditableTextUses:391 493Used by:515
Symbol 495 GraphicUsed by:497 500 501
Symbol 496 TextUses:372Used by:497 500 501
Symbol 497 MovieClipUses:495 496Used by:498 499 500
Symbol 498 MovieClipUses:497Used by:500
Symbol 499 MovieClipUses:497Used by:500 501
Symbol 500 ButtonUses:497 498 499 495 496Used by:502
Symbol 501 ButtonUses:499 495 496Used by:502
Symbol 502 MovieClipUses:500 501Used by:515
Symbol 503 GraphicUsed by:509
Symbol 504 FontUsed by:505
Symbol 505 TextUses:504Used by:509
Symbol 506 GraphicUsed by:509
Symbol 507 GraphicUsed by:509
Symbol 508 GraphicUsed by:509
Symbol 509 ButtonUses:503 505 506 507 508Used by:510
Symbol 510 MovieClipUses:509Used by:515
Symbol 511 GraphicUsed by:512
Symbol 512 MovieClipUses:511Used by:515
Symbol 513 GraphicUsed by:514
Symbol 514 MovieClipUses:513Used by:515
Symbol 515 MovieClip {DisplayBar} [DisplayBar]Uses:389 492 494 502 420 510 512 514
Symbol 516 GraphicUsed by:521
Symbol 517 GraphicUsed by:518
Symbol 518 MovieClipUses:517Used by:521 1156
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:519Used by:521
Symbol 521 MovieClip {lebidka1} [lebidka1]Uses:516 518 520
Symbol 522 GraphicUsed by:546
Symbol 523 GraphicUsed by:526
Symbol 524 TextUses:372Used by:526
Symbol 525 TextUses:372Used by:526
Symbol 526 MovieClipUses:523 4 437 20 371 476 524 525 478 479 48Used by:546
Symbol 527 MovieClip {menu_fla.Symbol18_80} [menu_fla.Symbol18_80]Uses:476Used by:546
Symbol 528 GraphicUsed by:530 532
Symbol 529 TextUses:372Used by:530 532
Symbol 530 MovieClipUses:528 529Used by:531
Symbol 531 MovieClipUses:530Used by:532
Symbol 532 ButtonUses:531 528 529Used by:533
Symbol 533 MovieClipUses:532Used by:546
Symbol 534 MovieClipUses:453Used by:546
Symbol 535 EditableTextUses:391 493Used by:546
Symbol 536 EditableTextUses:391 493Used by:546
Symbol 537 EditableTextUses:391 493Used by:546
Symbol 538 TextUses:372Used by:539
Symbol 539 MovieClipUses:538Used by:546
Symbol 540 GraphicUsed by:542 544
Symbol 541 TextUses:372Used by:542 544
Symbol 542 MovieClipUses:540 541Used by:543
Symbol 543 MovieClipUses:542Used by:544
Symbol 544 ButtonUses:543 540 541Used by:545
Symbol 545 MovieClipUses:544Used by:546
Symbol 546 MovieClip {Total} [Total]Uses:522 526 527 533 534 535 536 537 539 545
Symbol 547 GraphicUsed by:550
Symbol 548 GraphicUsed by:549
Symbol 549 MovieClipUses:548Used by:550 609 631 668 691 711 715 738 757 782 803 847 872 876 881 929 974 989 1033 1040 1049 1057 1060 1091 1095 1105 1114
Symbol 550 MovieClipUses:547 549Used by:552
Symbol 551 MovieClipUses:465Used by:552
Symbol 552 MovieClipUses:550 551Used by:582
Symbol 553 GraphicUsed by:556 562 661 1009 1015
Symbol 554 GraphicUsed by:555
Symbol 555 MovieClipUses:554Used by:556 562
Symbol 556 MovieClipUses:553 555Used by:561
Symbol 557 MovieClipUses:465Used by:561
Symbol 558 MovieClipUses:465Used by:561
Symbol 559 MovieClipUses:465Used by:561
Symbol 560 EditableTextUses:467Used by:561 573 581 588 593 600 605 679 987
Symbol 561 MovieClipUses:556 557 558 559 560Used by:582
Symbol 562 MovieClipUses:555 553Used by:567
Symbol 563 MovieClipUses:465Used by:567
Symbol 564 MovieClipUses:465Used by:567
Symbol 565 MovieClipUses:465Used by:567
Symbol 566 EditableTextUses:467Used by:567
Symbol 567 MovieClipUses:562 563 564 565 566Used by:582
Symbol 568 GraphicUsed by:569
Symbol 569 MovieClipUses:568Used by:573
Symbol 570 MovieClipUses:465Used by:573
Symbol 571 MovieClipUses:465Used by:573
Symbol 572 MovieClipUses:465Used by:573
Symbol 573 MovieClipUses:569 570 571 572 560Used by:582
Symbol 574 GraphicUsed by:575
Symbol 575 MovieClipUses:574Used by:578
Symbol 576 MovieClipUses:465Used by:578 581 679 780
Symbol 577 EditableTextUses:467Used by:578
Symbol 578 MovieClipUses:575 576 577Used by:582 856
Symbol 579 GraphicUsed by:580
Symbol 580 MovieClipUses:579Used by:581
Symbol 581 MovieClipUses:580 576 560Used by:582
Symbol 582 MovieClip {level28} [level28]Uses:552 561 567 573 578 581
Symbol 583 GraphicUsed by:584
Symbol 584 MovieClipUses:583Used by:588
Symbol 585 MovieClipUses:465Used by:588
Symbol 586 MovieClipUses:465Used by:588
Symbol 587 MovieClipUses:465Used by:588
Symbol 588 MovieClipUses:584 585 586 587 560Used by:622
Symbol 589 GraphicUsed by:590
Symbol 590 MovieClipUses:589Used by:593
Symbol 591 MovieClipUses:465Used by:593
Symbol 592 MovieClipUses:465Used by:593
Symbol 593 MovieClipUses:590 560 591 592Used by:622 693
Symbol 594 GraphicUsed by:595
Symbol 595 MovieClipUses:594Used by:597 602
Symbol 596 GraphicUsed by:597
Symbol 597 MovieClipUses:595 596Used by:600
Symbol 598 MovieClipUses:465Used by:600
Symbol 599 MovieClipUses:465Used by:600
Symbol 600 MovieClipUses:597 598 599 560Used by:622
Symbol 601 GraphicUsed by:602
Symbol 602 MovieClipUses:595 601Used by:605
Symbol 603 MovieClipUses:465Used by:605
Symbol 604 MovieClipUses:465Used by:605
Symbol 605 MovieClipUses:602 603 604 560Used by:622
Symbol 606 GraphicUsed by:609
Symbol 607 GraphicUsed by:608
Symbol 608 MovieClipUses:607Used by:609
Symbol 609 MovieClipUses:606 608 549Used by:611
Symbol 610 MovieClipUses:465Used by:611
Symbol 611 MovieClipUses:609 610Used by:622
Symbol 612 GraphicUsed by:613
Symbol 613 MovieClipUses:612Used by:621
Symbol 614 MovieClipUses:465Used by:621
Symbol 615 MovieClipUses:465Used by:621
Symbol 616 MovieClipUses:465Used by:621
Symbol 617 MovieClipUses:465Used by:621
Symbol 618 MovieClipUses:465Used by:621
Symbol 619 FontUsed by:620 663 674 743 779 790 861 935 940 951 956 962 1071
Symbol 620 EditableTextUses:619Used by:621 904 908 914 918 921 926
Symbol 621 MovieClipUses:613 614 615 616 617 618 620Used by:622 931
Symbol 622 MovieClip {level27} [level27]Uses:588 593 600 605 611 621
Symbol 623 GraphicUsed by:624
Symbol 624 MovieClipUses:623Used by:629
Symbol 625 MovieClipUses:465Used by:629
Symbol 626 MovieClipUses:465Used by:629
Symbol 627 MovieClipUses:465Used by:629
Symbol 628 EditableTextUses:467Used by:629
Symbol 629 MovieClipUses:624 625 626 627 628Used by:658
Symbol 630 GraphicUsed by:631
Symbol 631 MovieClipUses:630 549Used by:634
Symbol 632 MovieClipUses:465Used by:634
Symbol 633 MovieClipUses:465Used by:634
Symbol 634 MovieClipUses:631 632 633Used by:658
Symbol 635 GraphicUsed by:636
Symbol 636 MovieClipUses:635Used by:638 694 751
Symbol 637 GraphicUsed by:638
Symbol 638 MovieClipUses:636 637Used by:642
Symbol 639 MovieClipUses:465Used by:642
Symbol 640 MovieClipUses:465Used by:642
Symbol 641 EditableTextUses:467Used by:642
Symbol 642 MovieClipUses:638 639 640 641Used by:658
Symbol 643 GraphicUsed by:644
Symbol 644 MovieClipUses:643Used by:645
Symbol 645 MovieClipUses:644Used by:651
Symbol 646 MovieClipUses:465Used by:651
Symbol 647 MovieClipUses:465Used by:651
Symbol 648 MovieClipUses:465Used by:651
Symbol 649 MovieClipUses:465Used by:651
Symbol 650 EditableTextUses:467Used by:651
Symbol 651 MovieClipUses:645 646 647 648 649 650Used by:658
Symbol 652 GraphicUsed by:653
Symbol 653 MovieClipUses:652Used by:657
Symbol 654 MovieClipUses:465Used by:657
Symbol 655 MovieClipUses:465Used by:657
Symbol 656 EditableTextUses:467Used by:657
Symbol 657 MovieClipUses:653 654 655 656Used by:658
Symbol 658 MovieClip {level4} [level4]Uses:629 634 642 651 657
Symbol 659 GraphicUsed by:660
Symbol 660 MovieClipUses:659Used by:661
Symbol 661 MovieClipUses:660 553Used by:665
Symbol 662 MovieClipUses:465Used by:665
Symbol 663 EditableTextUses:619Used by:665
Symbol 664 MovieClipUses:465Used by:665
Symbol 665 MovieClipUses:661 662 663 664Used by:676
Symbol 666 GraphicUsed by:667
Symbol 667 MovieClipUses:666Used by:668
Symbol 668 MovieClipUses:667 549Used by:670
Symbol 669 MovieClipUses:465Used by:670
Symbol 670 MovieClipUses:668 669Used by:676
Symbol 671 GraphicUsed by:672
Symbol 672 MovieClipUses:671Used by:675
Symbol 673 MovieClipUses:465Used by:675
Symbol 674 EditableTextUses:619Used by:675
Symbol 675 MovieClipUses:672 673 674Used by:676
Symbol 676 MovieClip {level2} [level2]Uses:665 670 675
Symbol 677 GraphicUsed by:678
Symbol 678 MovieClipUses:677Used by:679
Symbol 679 MovieClipUses:678 576 560Used by:693
Symbol 680 GraphicUsed by:681
Symbol 681 MovieClipUses:680Used by:683
Symbol 682 MovieClipUses:465Used by:683
Symbol 683 MovieClipUses:681 682Used by:693
Symbol 684 GraphicUsed by:685
Symbol 685 MovieClipUses:684Used by:688
Symbol 686 MovieClipUses:465Used by:688
Symbol 687 EditableTextUses:467Used by:688 697 701
Symbol 688 MovieClipUses:685 686 687Used by:693
Symbol 689 MovieClipUses:465Used by:692
Symbol 690 GraphicUsed by:691
Symbol 691 MovieClipUses:690 549Used by:692
Symbol 692 MovieClipUses:689 691Used by:693
Symbol 693 MovieClip {level62} [level62]Uses:593 679 683 688 692
Symbol 694 MovieClipUses:636Used by:697
Symbol 695 MovieClipUses:465Used by:697
Symbol 696 MovieClipUses:465Used by:697
Symbol 697 MovieClipUses:694 695 696 687Used by:713
Symbol 698 GraphicUsed by:699
Symbol 699 MovieClipUses:698Used by:701
Symbol 700 MovieClipUses:465Used by:701
Symbol 701 MovieClipUses:699 700 687Used by:713
Symbol 702 GraphicUsed by:703
Symbol 703 MovieClipUses:702Used by:707
Symbol 704 MovieClipUses:465Used by:707
Symbol 705 MovieClipUses:465Used by:707
Symbol 706 MovieClipUses:465Used by:707
Symbol 707 MovieClipUses:703 704 705 706Used by:713
Symbol 708 MovieClipUses:465Used by:712
Symbol 709 MovieClipUses:465Used by:712
Symbol 710 GraphicUsed by:711
Symbol 711 MovieClipUses:710 549Used by:712
Symbol 712 MovieClipUses:708 709 711Used by:713
Symbol 713 MovieClip {level44} [level44]Uses:697 701 707 712
Symbol 714 GraphicUsed by:715
Symbol 715 MovieClipUses:714 549Used by:719
Symbol 716 MovieClipUses:465Used by:719
Symbol 717 MovieClipUses:465Used by:719
Symbol 718 MovieClipUses:465Used by:719
Symbol 719 MovieClipUses:715 716 717 718Used by:736
Symbol 720 GraphicUsed by:721
Symbol 721 MovieClipUses:720Used by:723
Symbol 722 EditableTextUses:467Used by:723 730 767 772
Symbol 723 MovieClipUses:721 465 722Used by:736
Symbol 724 GraphicUsed by:725
Symbol 725 MovieClipUses:724Used by:730
Symbol 726 MovieClipUses:465Used by:730
Symbol 727 MovieClipUses:465Used by:730
Symbol 728 MovieClipUses:465Used by:730
Symbol 729 MovieClipUses:465Used by:730
Symbol 730 MovieClipUses:725 726 727 728 729 722Used by:736
Symbol 731 GraphicUsed by:732
Symbol 732 MovieClipUses:731Used by:735
Symbol 733 MovieClipUses:465Used by:735
Symbol 734 EditableTextUses:467Used by:735 775 841
Symbol 735 MovieClipUses:732 733 734Used by:736 856
Symbol 736 MovieClip {level45} [level45]Uses:719 723 730 735
Symbol 737 GraphicUsed by:738
Symbol 738 MovieClipUses:737 549Used by:740
Symbol 739 MovieClipUses:465Used by:740
Symbol 740 MovieClipUses:738 739Used by:755 1103
Symbol 741 GraphicUsed by:742
Symbol 742 MovieClipUses:741Used by:745
Symbol 743 EditableTextUses:619Used by:745 750 754 1054 1102
Symbol 744 MovieClipUses:465Used by:745
Symbol 745 MovieClipUses:742 743 744Used by:755 1055
Symbol 746 GraphicUsed by:747
Symbol 747 MovieClipUses:746Used by:750
Symbol 748 MovieClipUses:465Used by:750
Symbol 749 MovieClipUses:465Used by:750
Symbol 750 MovieClipUses:747 748 749 743Used by:755 1047 1055 1093
Symbol 751 MovieClipUses:636Used by:754
Symbol 752 MovieClipUses:465Used by:754
Symbol 753 MovieClipUses:465Used by:754
Symbol 754 MovieClipUses:751 752 753 743Used by:755 1047 1055 1099 1103
Symbol 755 MovieClip {level63} [level63]Uses:740 745 750 754
Symbol 756 GraphicUsed by:757
Symbol 757 MovieClipUses:756 549Used by:762
Symbol 758 MovieClipUses:465Used by:762
Symbol 759 MovieClipUses:465Used by:762
Symbol 760 MovieClipUses:465Used by:762
Symbol 761 MovieClipUses:465Used by:762
Symbol 762 MovieClipUses:757 758 759 760 761Used by:776
Symbol 763 GraphicUsed by:764
Symbol 764 MovieClipUses:763Used by:767
Symbol 765 MovieClipUses:465Used by:767
Symbol 766 MovieClipUses:465Used by:767
Symbol 767 MovieClipUses:764 765 766 722Used by:776
Symbol 768 GraphicUsed by:769
Symbol 769 MovieClipUses:768Used by:772
Symbol 770 MovieClipUses:465Used by:772
Symbol 771 MovieClipUses:465Used by:772
Symbol 772 MovieClipUses:769 770 771 722Used by:776
Symbol 773 GraphicUsed by:774
Symbol 774 MovieClipUses:773Used by:775
Symbol 775 MovieClipUses:774 465 734Used by:776 856
Symbol 776 MovieClip {level46} [level46]Uses:762 767 772 775
Symbol 777 GraphicUsed by:778
Symbol 778 MovieClipUses:777Used by:780
Symbol 779 EditableTextUses:619Used by:780
Symbol 780 MovieClipUses:778 576 779Used by:801
Symbol 781 GraphicUsed by:782
Symbol 782 MovieClipUses:781 549Used by:786
Symbol 783 MovieClipUses:465Used by:786
Symbol 784 MovieClipUses:465Used by:786
Symbol 785 MovieClipUses:465Used by:786
Symbol 786 MovieClipUses:782 783 784 785Used by:801
Symbol 787 GraphicUsed by:788
Symbol 788 MovieClipUses:787Used by:793
Symbol 789 MovieClipUses:465Used by:793
Symbol 790 EditableTextUses:619Used by:793 800
Symbol 791 MovieClipUses:465Used by:793
Symbol 792 MovieClipUses:465Used by:793
Symbol 793 MovieClipUses:788 789 790 791 792Used by:801
Symbol 794 GraphicUsed by:795
Symbol 795 MovieClipUses:794Used by:800
Symbol 796 MovieClipUses:465Used by:800
Symbol 797 MovieClipUses:465Used by:800
Symbol 798 MovieClipUses:465Used by:800
Symbol 799 MovieClipUses:465Used by:800
Symbol 800 MovieClipUses:795 796 797 798 799 790Used by:801
Symbol 801 MovieClip {level1} [level1]Uses:780 786 793 800
Symbol 802 GraphicUsed by:803
Symbol 803 MovieClipUses:802 549Used by:805
Symbol 804 MovieClipUses:465Used by:805
Symbol 805 MovieClipUses:803 804Used by:835
Symbol 806 GraphicUsed by:807
Symbol 807 MovieClipUses:806Used by:811
Symbol 808 MovieClipUses:465Used by:811
Symbol 809 MovieClipUses:465Used by:811
Symbol 810 EditableTextUses:467Used by:811 817 823 828 834
Symbol 811 MovieClipUses:807 808 809 810Used by:835
Symbol 812 GraphicUsed by:813
Symbol 813 MovieClipUses:812Used by:817
Symbol 814 MovieClipUses:465Used by:817
Symbol 815 MovieClipUses:465Used by:817
Symbol 816 MovieClipUses:465Used by:817
Symbol 817 MovieClipUses:813 814 815 816 810Used by:835
Symbol 818 GraphicUsed by:819
Symbol 819 MovieClipUses:818Used by:823
Symbol 820 MovieClipUses:465Used by:823
Symbol 821 MovieClipUses:465Used by:823
Symbol 822 MovieClipUses:465Used by:823
Symbol 823 MovieClipUses:819 820 821 822 810Used by:835
Symbol 824 GraphicUsed by:825
Symbol 825 MovieClipUses:824Used by:828
Symbol 826 MovieClipUses:465Used by:828
Symbol 827 MovieClipUses:465Used by:828
Symbol 828 MovieClipUses:825 826 827 810Used by:835
Symbol 829 GraphicUsed by:830
Symbol 830 MovieClipUses:829Used by:834
Symbol 831 MovieClipUses:465Used by:834
Symbol 832 MovieClipUses:465Used by:834
Symbol 833 MovieClipUses:465Used by:834
Symbol 834 MovieClipUses:830 831 832 833 810Used by:835
Symbol 835 MovieClip {level47} [level47]Uses:805 811 817 823 828 834
Symbol 836 GraphicUsed by:837
Symbol 837 MovieClipUses:836Used by:841
Symbol 838 MovieClipUses:465Used by:841
Symbol 839 MovieClipUses:465Used by:841
Symbol 840 MovieClipUses:465Used by:841
Symbol 841 MovieClipUses:837 838 839 840 734Used by:856
Symbol 842 GraphicUsed by:843
Symbol 843 MovieClipUses:842Used by:845
Symbol 844 MovieClipUses:465Used by:845
Symbol 845 MovieClipUses:843 844Used by:856
Symbol 846 GraphicUsed by:847
Symbol 847 MovieClipUses:846 549Used by:855
Symbol 848 MovieClipUses:465Used by:855
Symbol 849 MovieClipUses:465Used by:855
Symbol 850 MovieClipUses:465Used by:855
Symbol 851 MovieClipUses:465Used by:855
Symbol 852 MovieClipUses:465Used by:855
Symbol 853 MovieClipUses:465Used by:855
Symbol 854 MovieClipUses:465Used by:855
Symbol 855 MovieClipUses:847 848 849 850 851 852 853 854Used by:856
Symbol 856 MovieClip {level40} [level40]Uses:735 841 775 578 845 855
Symbol 857 GraphicUsed by:858
Symbol 858 MovieClipUses:857Used by:859 885
Symbol 859 MovieClipUses:858Used by:862
Symbol 860 MovieClipUses:465Used by:862
Symbol 861 EditableTextUses:619Used by:862 867 870
Symbol 862 MovieClipUses:859 860 861Used by:879 992
Symbol 863 GraphicUsed by:864
Symbol 864 MovieClipUses:863Used by:865 868
Symbol 865 MovieClipUses:864Used by:867
Symbol 866 MovieClipUses:465Used by:867
Symbol 867 MovieClipUses:865 866 861Used by:879
Symbol 868 MovieClipUses:864Used by:870
Symbol 869 MovieClipUses:465Used by:870
Symbol 870 MovieClipUses:868 869 861Used by:879
Symbol 871 GraphicUsed by:872
Symbol 872 MovieClipUses:871 549Used by:874
Symbol 873 MovieClipUses:465Used by:874
Symbol 874 MovieClipUses:872 873Used by:879
Symbol 875 GraphicUsed by:876
Symbol 876 MovieClipUses:875 549Used by:878
Symbol 877 MovieClipUses:465Used by:878
Symbol 878 MovieClipUses:876 877Used by:879
Symbol 879 MovieClip {llevel49} [llevel49]Uses:862 867 870 874 878
Symbol 880 GraphicUsed by:881
Symbol 881 MovieClipUses:880 549Used by:884
Symbol 882 MovieClipUses:465Used by:884
Symbol 883 MovieClipUses:465Used by:884
Symbol 884 MovieClipUses:881 882 883Used by:892
Symbol 885 MovieClipUses:858Used by:888
Symbol 886 EditableTextUses:467Used by:888 891
Symbol 887 MovieClipUses:465Used by:888
Symbol 888 MovieClipUses:885 886 887Used by:892
Symbol 889 GraphicUsed by:890
Symbol 890 MovieClipUses:889Used by:891
Symbol 891 MovieClipUses:890 465 886Used by:892
Symbol 892 MovieClip {level42} [level42]Uses:884 888 891
Symbol 893 GraphicUsed by:894
Symbol 894 MovieClipUses:893Used by:899
Symbol 895 MovieClipUses:465Used by:899
Symbol 896 MovieClipUses:465Used by:899
Symbol 897 MovieClipUses:465Used by:899
Symbol 898 MovieClipUses:465Used by:899
Symbol 899 MovieClipUses:894 895 896 897 898Used by:931
Symbol 900 GraphicUsed by:901
Symbol 901 MovieClipUses:900Used by:904
Symbol 902 MovieClipUses:465Used by:904
Symbol 903 MovieClipUses:465Used by:904
Symbol 904 MovieClipUses:901 902 903 620Used by:931
Symbol 905 GraphicUsed by:906
Symbol 906 MovieClipUses:905Used by:908
Symbol 907 MovieClipUses:465Used by:908
Symbol 908 MovieClipUses:906 907 620Used by:931
Symbol 909 GraphicUsed by:910
Symbol 910 MovieClipUses:909Used by:914
Symbol 911 MovieClipUses:465Used by:914
Symbol 912 MovieClipUses:465Used by:914
Symbol 913 MovieClipUses:465Used by:914
Symbol 914 MovieClipUses:910 911 912 913 620Used by:931
Symbol 915 GraphicUsed by:916
Symbol 916 MovieClipUses:915Used by:918
Symbol 917 MovieClipUses:465Used by:918 921 1023
Symbol 918 MovieClipUses:916 917 620Used by:931
Symbol 919 GraphicUsed by:920
Symbol 920 MovieClipUses:919Used by:921
Symbol 921 MovieClipUses:920 917 620Used by:931
Symbol 922 GraphicUsed by:923
Symbol 923 MovieClipUses:922Used by:926
Symbol 924 MovieClipUses:465Used by:926
Symbol 925 MovieClipUses:465Used by:926
Symbol 926 MovieClipUses:923 924 925 620Used by:931
Symbol 927 MovieClipUses:465Used by:930
Symbol 928 GraphicUsed by:929
Symbol 929 MovieClipUses:928 549Used by:930
Symbol 930 MovieClipUses:927 929Used by:931
Symbol 931 MovieClip {level39} [level39]Uses:899 904 908 914 621 918 921 926 930
Symbol 932 GraphicUsed by:933
Symbol 933 MovieClipUses:932Used by:936
Symbol 934 MovieClipUses:465Used by:936
Symbol 935 EditableTextUses:619Used by:936
Symbol 936 MovieClipUses:933 934 935Used by:977
Symbol 937 GraphicUsed by:938
Symbol 938 MovieClipUses:937Used by:941
Symbol 939 MovieClipUses:465Used by:941
Symbol 940 EditableTextUses:619Used by:941
Symbol 941 MovieClipUses:938 939 940Used by:977
Symbol 942 GraphicUsed by:943
Symbol 943 MovieClipUses:942Used by:952
Symbol 944 MovieClipUses:465Used by:952
Symbol 945 MovieClipUses:465Used by:952
Symbol 946 MovieClipUses:465Used by:952
Symbol 947 MovieClipUses:465Used by:952
Symbol 948 MovieClipUses:465Used by:952
Symbol 949 MovieClipUses:465Used by:952
Symbol 950 MovieClipUses:465Used by:952
Symbol 951 EditableTextUses:619Used by:952 961
Symbol 952 MovieClipUses:943 944 945 946 947 948 949 950 951Used by:977
Symbol 953 GraphicUsed by:954
Symbol 954 MovieClipUses:953Used by:957
Symbol 955 MovieClipUses:465Used by:957
Symbol 956 EditableTextUses:619Used by:957
Symbol 957 MovieClipUses:954 955 956Used by:977
Symbol 958 GraphicUsed by:959
Symbol 959 MovieClipUses:958Used by:961
Symbol 960 MovieClipUses:465Used by:961
Symbol 961 MovieClipUses:959 960 951Used by:977
Symbol 962 EditableTextUses:619Used by:972
Symbol 963 GraphicUsed by:964
Symbol 964 MovieClipUses:963Used by:972
Symbol 965 MovieClipUses:465Used by:972
Symbol 966 MovieClipUses:465Used by:972
Symbol 967 MovieClipUses:465Used by:972
Symbol 968 MovieClipUses:465Used by:972
Symbol 969 MovieClipUses:465Used by:972
Symbol 970 MovieClipUses:465Used by:972
Symbol 971 MovieClipUses:465Used by:972
Symbol 972 MovieClipUses:962 964 965 966 967 968 969 970 971Used by:977
Symbol 973 GraphicUsed by:974
Symbol 974 MovieClipUses:973 549Used by:976
Symbol 975 MovieClipUses:465Used by:976
Symbol 976 MovieClipUses:974 975Used by:977
Symbol 977 MovieClip {level12} [level12]Uses:936 941 952 957 961 972 976
Symbol 978 GraphicUsed by:979
Symbol 979 MovieClipUses:978Used by:982
Symbol 980 MovieClipUses:465Used by:982
Symbol 981 MovieClipUses:465Used by:982
Symbol 982 MovieClipUses:979 980 981Used by:992
Symbol 983 GraphicUsed by:984
Symbol 984 MovieClipUses:983Used by:987
Symbol 985 MovieClipUses:465Used by:987
Symbol 986 MovieClipUses:465Used by:987
Symbol 987 MovieClipUses:984 985 986 560Used by:992
Symbol 988 GraphicUsed by:989
Symbol 989 MovieClipUses:988 549Used by:991
Symbol 990 MovieClipUses:465Used by:991
Symbol 991 MovieClipUses:989 990Used by:992
Symbol 992 MovieClip {level33} [level33]Uses:982 862 987 991
Symbol 993 GraphicUsed by:994
Symbol 994 MovieClipUses:993Used by:1001
Symbol 995 MovieClipUses:465Used by:1001
Symbol 996 MovieClipUses:465Used by:1001
Symbol 997 MovieClipUses:465Used by:1001
Symbol 998 MovieClipUses:465Used by:1001
Symbol 999 MovieClipUses:465Used by:1001
Symbol 1000 EditableTextUses:467Used by:1001 1005 1014 1020 1023 1027
Symbol 1001 MovieClipUses:994 995 996 997 998 999 1000Used by:1038
Symbol 1002 GraphicUsed by:1003
Symbol 1003 MovieClipUses:1002Used by:1005
Symbol 1004 MovieClipUses:465Used by:1005
Symbol 1005 MovieClipUses:1003 1004 1000Used by:1038
Symbol 1006 GraphicUsed by:1009
Symbol 1007 GraphicUsed by:1008
Symbol 1008 MovieClipUses:1007Used by:1009 1015
Symbol 1009 MovieClipUses:1006 1008 553Used by:1014
Symbol 1010 MovieClipUses:465Used by:1014
Symbol 1011 MovieClipUses:465Used by:1014
Symbol 1012 MovieClipUses:465Used by:1014
Symbol 1013 MovieClipUses:465Used by:1014
Symbol 1014 MovieClipUses:1009 1010 1011 1012 1013 1000Used by:1038
Symbol 1015 MovieClipUses:1008 553Used by:1020
Symbol 1016 MovieClipUses:465Used by:1020
Symbol 1017 MovieClipUses:465Used by:1020
Symbol 1018 MovieClipUses:465Used by:1020
Symbol 1019 MovieClipUses:465Used by:1020
Symbol 1020 MovieClipUses:1015 1016 1017 1018 1019 1000Used by:1038
Symbol 1021 GraphicUsed by:1022
Symbol 1022 MovieClipUses:1021Used by:1023
Symbol 1023 MovieClipUses:1022 917 1000Used by:1038
Symbol 1024 GraphicUsed by:1025
Symbol 1025 MovieClipUses:1024Used by:1027
Symbol 1026 MovieClipUses:465Used by:1027
Symbol 1027 MovieClipUses:1025 1026 1000Used by:1038
Symbol 1028 MovieClipUses:465Used by:1031
Symbol 1029 GraphicUsed by:1030
Symbol 1030 MovieClipUses:1029Used by:1031
Symbol 1031 MovieClipUses:1028 1030Used by:1038
Symbol 1032 GraphicUsed by:1033
Symbol 1033 MovieClipUses:1032 549Used by:1037
Symbol 1034 MovieClipUses:465Used by:1037
Symbol 1035 MovieClipUses:465Used by:1037
Symbol 1036 MovieClipUses:465Used by:1037
Symbol 1037 MovieClipUses:1033 1034 1035 1036Used by:1038
Symbol 1038 MovieClip {level35} [level35]Uses:1001 1005 1014 1020 1023 1027 1031 1037
Symbol 1039 GraphicUsed by:1040
Symbol 1040 MovieClipUses:1039 549Used by:1042
Symbol 1041 MovieClipUses:465Used by:1042 1089 1092
Symbol 1042 MovieClipUses:1040 1041Used by:1047 1093
Symbol 1043 GraphicUsed by:1044
Symbol 1044 MovieClipUses:1043Used by:1046
Symbol 1045 EditableTextUses:467Used by:1046
Symbol 1046 MovieClipUses:1044 465 1045Used by:1047
Symbol 1047 MovieClip {level57} [level57]Uses:750 754 1042 1046
Symbol 1048 GraphicUsed by:1049
Symbol 1049 MovieClipUses:1048 549Used by:1051
Symbol 1050 MovieClipUses:465Used by:1051
Symbol 1051 MovieClipUses:1049 1050Used by:1055 1103
Symbol 1052 GraphicUsed by:1053
Symbol 1053 MovieClipUses:1052Used by:1054
Symbol 1054 MovieClipUses:1053 465 743Used by:1055 1099 1103
Symbol 1055 MovieClip {level58} [level58]Uses:750 754 1051 745 1054
Symbol 1056 GraphicUsed by:1057 1060
Symbol 1057 MovieClipUses:1056 549Used by:1059
Symbol 1058 MovieClipUses:465Used by:1059
Symbol 1059 MovieClipUses:1057 1058Used by:1080
Symbol 1060 MovieClipUses:1056 549Used by:1062
Symbol 1061 MovieClipUses:465Used by:1062
Symbol 1062 MovieClipUses:1060 1061Used by:1080
Symbol 1063 GraphicUsed by:1064
Symbol 1064 MovieClipUses:1063Used by:1066
Symbol 1065 MovieClipUses:465Used by:1066
Symbol 1066 MovieClipUses:1064 1065Used by:1080
Symbol 1067 GraphicUsed by:1068
Symbol 1068 MovieClipUses:1067Used by:1072
Symbol 1069 MovieClipUses:465Used by:1072
Symbol 1070 MovieClipUses:465Used by:1072
Symbol 1071 EditableTextUses:619Used by:1072 1076 1079 1083 1086
Symbol 1072 MovieClipUses:1068 1069 1070 1071Used by:1080
Symbol 1073 GraphicUsed by:1074
Symbol 1074 MovieClipUses:1073Used by:1076
Symbol 1075 MovieClipUses:465Used by:1076
Symbol 1076 MovieClipUses:1074 1075 1071Used by:1080
Symbol 1077 GraphicUsed by:1078
Symbol 1078 MovieClipUses:1077Used by:1079
Symbol 1079 MovieClipUses:1078 465 1071Used by:1080
Symbol 1080 MovieClip {level55} [level55]Uses:1059 1062 1066 1072 1076 1079
Symbol 1081 GraphicUsed by:1082
Symbol 1082 MovieClipUses:1081Used by:1083
Symbol 1083 MovieClipUses:1082 465 1071Used by:1093
Symbol 1084 GraphicUsed by:1085
Symbol 1085 MovieClipUses:1084Used by:1086
Symbol 1086 MovieClipUses:1085 465 1071Used by:1093
Symbol 1087 GraphicUsed by:1088
Symbol 1088 MovieClipUses:1087Used by:1089
Symbol 1089 MovieClipUses:1088 1041Used by:1093
Symbol 1090 GraphicUsed by:1091
Symbol 1091 MovieClipUses:1090 549Used by:1092
Symbol 1092 MovieClipUses:1091 1041Used by:1093
Symbol 1093 MovieClip {level56} [level56]Uses:1083 1086 1089 1092 1042 750
Symbol 1094 GraphicUsed by:1095
Symbol 1095 MovieClipUses:1094 549Used by:1098
Symbol 1096 MovieClipUses:465Used by:1098
Symbol 1097 MovieClipUses:465Used by:1098
Symbol 1098 MovieClipUses:1095 1096 1097Used by:1099
Symbol 1099 MovieClip {level53} [level53]Uses:1098 754 1054
Symbol 1100 GraphicUsed by:1101
Symbol 1101 MovieClipUses:1100Used by:1102
Symbol 1102 MovieClipUses:1101 465 743Used by:1103
Symbol 1103 MovieClip {level54} [level54]Uses:1054 1102 1051 740 754
Symbol 1104 GraphicUsed by:1105
Symbol 1105 MovieClipUses:1104 549Used by:1108
Symbol 1106 MovieClipUses:465Used by:1108
Symbol 1107 MovieClipUses:465Used by:1108
Symbol 1108 MovieClipUses:1105 1106 1107Used by:1130
Symbol 1109 GraphicUsed by:1110
Symbol 1110 MovieClipUses:1109Used by:1112
Symbol 1111 MovieClipUses:465Used by:1112
Symbol 1112 MovieClipUses:1110 1111Used by:1130
Symbol 1113 GraphicUsed by:1114
Symbol 1114 MovieClipUses:1113 549Used by:1117
Symbol 1115 MovieClipUses:465Used by:1117
Symbol 1116 MovieClipUses:465Used by:1117
Symbol 1117 MovieClipUses:1114 1115 1116Used by:1130
Symbol 1118 GraphicUsed by:1119
Symbol 1119 MovieClipUses:1118Used by:1123
Symbol 1120 MovieClipUses:465Used by:1123
Symbol 1121 FontUsed by:1122
Symbol 1122 EditableTextUses:1121Used by:1123 1126 1129
Symbol 1123 MovieClipUses:1119 1120 1122Used by:1130
Symbol 1124 GraphicUsed by:1125
Symbol 1125 MovieClipUses:1124Used by:1126
Symbol 1126 MovieClipUses:1125 465 1122Used by:1130
Symbol 1127 GraphicUsed by:1128
Symbol 1128 MovieClipUses:1127Used by:1129
Symbol 1129 MovieClipUses:1128 465 1122Used by:1130
Symbol 1130 MovieClip {level52} [level52]Uses:1108 1112 1117 1123 1126 1129
Symbol 1131 GraphicUsed by:1134
Symbol 1132 GraphicUsed by:1133
Symbol 1133 MovieClipUses:1132Used by:1134
Symbol 1134 MovieClipUses:1131 1133Used by:1147
Symbol 1135 GraphicUsed by:1136
Symbol 1136 MovieClipUses:1135Used by:1147
Symbol 1137 GraphicUsed by:1138
Symbol 1138 MovieClipUses:1137Used by:1147
Symbol 1139 GraphicUsed by:1140
Symbol 1140 MovieClipUses:1139Used by:1147
Symbol 1141 GraphicUsed by:1144
Symbol 1142 GraphicUsed by:1143
Symbol 1143 MovieClipUses:1142Used by:1144
Symbol 1144 MovieClipUses:1141 1143Used by:1147
Symbol 1145 GraphicUsed by:1146
Symbol 1146 MovieClipUses:1145Used by:1147
Symbol 1147 MovieClip {massages_start} [massages_start]Uses:1134 1136 1138 1140 1144 1146
Symbol 1148 GraphicUsed by:1149
Symbol 1149 MovieClipUses:1148Used by:1152
Symbol 1150 GraphicUsed by:1151 1403
Symbol 1151 MovieClipUses:1150Used by:1152
Symbol 1152 MovieClip {menu_fla.ql2o3_9} [menu_fla.ql2o3_9]Uses:1149 1151Used by:1162 1177
Symbol 1153 GraphicUsed by:1156
Symbol 1154 GraphicUsed by:1155
Symbol 1155 MovieClipUses:1154Used by:1156
Symbol 1156 MovieClipUses:1153 518 1155Used by:1177
Symbol 1157 GraphicUsed by:1177
Symbol 1158 GraphicUsed by:1159
Symbol 1159 MovieClipUses:1158Used by:1161 1177
Symbol 1160 GraphicUsed by:1161
Symbol 1161 MovieClipUses:1159 1160Used by:1177
Symbol 1162 MovieClip {menu_fla.ql2o4_17} [menu_fla.ql2o4_17]Uses:1152Used by:1177
Symbol 1163 GraphicUsed by:1164
Symbol 1164 MovieClipUses:1163Used by:1177
Symbol 1165 GraphicUsed by:1177
Symbol 1166 GraphicUsed by:1177
Symbol 1167 GraphicUsed by:1177
Symbol 1168 GraphicUsed by:1171
Symbol 1169 GraphicUsed by:1170
Symbol 1170 MovieClipUses:1169Used by:1171 1177
Symbol 1171 MovieClip {menu_fla.gSymbol16_22} [menu_fla.gSymbol16_22]Uses:1168 1170Used by:1175
Symbol 1172 GraphicUsed by:1173
Symbol 1173 MovieClipUses:1172Used by:1175 1177
Symbol 1174 GraphicUsed by:1175
Symbol 1175 MovieClip {menu_fla.glift_21} [menu_fla.glift_21]Uses:1171 1173 350 1174Used by:1177
Symbol 1176 GraphicUsed by:1177
Symbol 1177 MovieClip {menu_fla.qSymbol3_2} [menu_fla.qSymbol3_2]Uses:334 1152 1156 1157 1161 1159 1162 1164 369 1165 1166 1167 1175 1176 1173 350 1170Used by:1189
Symbol 1178 GraphicUsed by:1180 1181
Symbol 1179 TextUses:372Used by:1180 1181
Symbol 1180 MovieClipUses:1178 1179Used by:1181
Symbol 1181 ButtonUses:1180 1178 1179Used by:1182
Symbol 1182 MovieClipUses:1181Used by:1189
Symbol 1183 TextUses:372Used by:1189
Symbol 1184 GraphicUsed by:1187
Symbol 1185 TextUses:372Used by:1187
Symbol 1186 GraphicUsed by:1187
Symbol 1187 ButtonUses:1184 1185 1186Used by:1188
Symbol 1188 MovieClipUses:1187Used by:1189
Symbol 1189 MovieClip {instrukt} [instrukt]Uses:1177 1182 1183 1188
Symbol 1190 GraphicUsed by:1193
Symbol 1191 TextUses:372Used by:1193
Symbol 1192 TextUses:372Used by:1193
Symbol 1193 MovieClipUses:1190 4 437 20 371 1191 1192Used by:1194
Symbol 1194 MovieClip {HelpBar} [HelpBar]Uses:1193 386
Symbol 1195 GraphicUsed by:1196
Symbol 1196 MovieClipUses:1195Used by:1201
Symbol 1197 GraphicUsed by:1198
Symbol 1198 MovieClipUses:1197Used by:1201
Symbol 1199 GraphicUsed by:1200
Symbol 1200 MovieClipUses:1199Used by:1201
Symbol 1201 MovieClip {taimer} [taimer]Uses:1196 1198 1200
Symbol 1202 GraphicUsed by:1404
Symbol 1203 GraphicUsed by:1403
Symbol 1204 GraphicUsed by:1403
Symbol 1205 GraphicUsed by:1403
Symbol 1206 GraphicUsed by:1403
Symbol 1207 GraphicUsed by:1403
Symbol 1208 GraphicUsed by:1403
Symbol 1209 GraphicUsed by:1403
Symbol 1210 GraphicUsed by:1403
Symbol 1211 GraphicUsed by:1403
Symbol 1212 GraphicUsed by:1403
Symbol 1213 GraphicUsed by:1403
Symbol 1214 GraphicUsed by:1403
Symbol 1215 GraphicUsed by:1403
Symbol 1216 GraphicUsed by:1403
Symbol 1217 GraphicUsed by:1403
Symbol 1218 GraphicUsed by:1403
Symbol 1219 GraphicUsed by:1403
Symbol 1220 GraphicUsed by:1403
Symbol 1221 GraphicUsed by:1403
Symbol 1222 GraphicUsed by:1403
Symbol 1223 GraphicUsed by:1403
Symbol 1224 GraphicUsed by:1403
Symbol 1225 GraphicUsed by:1403
Symbol 1226 GraphicUsed by:1403
Symbol 1227 GraphicUsed by:1403
Symbol 1228 GraphicUsed by:1403
Symbol 1229 GraphicUsed by:1403
Symbol 1230 GraphicUsed by:1403
Symbol 1231 GraphicUsed by:1403
Symbol 1232 GraphicUsed by:1403
Symbol 1233 GraphicUsed by:1403
Symbol 1234 GraphicUsed by:1403
Symbol 1235 GraphicUsed by:1403
Symbol 1236 GraphicUsed by:1403
Symbol 1237 GraphicUsed by:1403
Symbol 1238 GraphicUsed by:1403
Symbol 1239 GraphicUsed by:1403
Symbol 1240 GraphicUsed by:1403
Symbol 1241 GraphicUsed by:1403
Symbol 1242 GraphicUsed by:1403
Symbol 1243 GraphicUsed by:1403
Symbol 1244 GraphicUsed by:1403
Symbol 1245 GraphicUsed by:1403
Symbol 1246 GraphicUsed by:1403
Symbol 1247 GraphicUsed by:1403
Symbol 1248 GraphicUsed by:1403
Symbol 1249 GraphicUsed by:1403
Symbol 1250 GraphicUsed by:1403
Symbol 1251 GraphicUsed by:1403
Symbol 1252 GraphicUsed by:1403
Symbol 1253 GraphicUsed by:1403
Symbol 1254 GraphicUsed by:1403
Symbol 1255 GraphicUsed by:1403
Symbol 1256 GraphicUsed by:1403
Symbol 1257 GraphicUsed by:1403
Symbol 1258 GraphicUsed by:1403
Symbol 1259 GraphicUsed by:1403
Symbol 1260 GraphicUsed by:1403
Symbol 1261 GraphicUsed by:1385 1403
Symbol 1262 GraphicUsed by:1403
Symbol 1263 GraphicUsed by:1403
Symbol 1264 GraphicUsed by:1403
Symbol 1265 GraphicUsed by:1403
Symbol 1266 GraphicUsed by:1403
Symbol 1267 GraphicUsed by:1403
Symbol 1268 GraphicUsed by:1403
Symbol 1269 GraphicUsed by:1403
Symbol 1270 GraphicUsed by:1403
Symbol 1271 GraphicUsed by:1403
Symbol 1272 GraphicUsed by:1403
Symbol 1273 GraphicUsed by:1403
Symbol 1274 GraphicUsed by:1403
Symbol 1275 GraphicUsed by:1403
Symbol 1276 GraphicUsed by:1403
Symbol 1277 GraphicUsed by:1403
Symbol 1278 GraphicUsed by:1403
Symbol 1279 GraphicUsed by:1403
Symbol 1280 GraphicUsed by:1403
Symbol 1281 GraphicUsed by:1403
Symbol 1282 GraphicUsed by:1403
Symbol 1283 GraphicUsed by:1403
Symbol 1284 GraphicUsed by:1403
Symbol 1285 GraphicUsed by:1403
Symbol 1286 GraphicUsed by:1403
Symbol 1287 GraphicUsed by:1403
Symbol 1288 GraphicUsed by:1403
Symbol 1289 GraphicUsed by:1403
Symbol 1290 GraphicUsed by:1403
Symbol 1291 GraphicUsed by:1403
Symbol 1292 GraphicUsed by:1403
Symbol 1293 GraphicUsed by:1403
Symbol 1294 GraphicUsed by:1403
Symbol 1295 GraphicUsed by:1403
Symbol 1296 GraphicUsed by:1403
Symbol 1297 GraphicUsed by:1403
Symbol 1298 GraphicUsed by:1403
Symbol 1299 GraphicUsed by:1403
Symbol 1300 GraphicUsed by:1403
Symbol 1301 GraphicUsed by:1403
Symbol 1302 GraphicUsed by:1403
Symbol 1303 GraphicUsed by:1403
Symbol 1304 GraphicUsed by:1403
Symbol 1305 GraphicUsed by:1403
Symbol 1306 GraphicUsed by:1403
Symbol 1307 GraphicUsed by:1403
Symbol 1308 GraphicUsed by:1403
Symbol 1309 GraphicUsed by:1403
Symbol 1310 GraphicUsed by:1403
Symbol 1311 GraphicUsed by:1403
Symbol 1312 GraphicUsed by:1403
Symbol 1313 GraphicUsed by:1403
Symbol 1314 GraphicUsed by:1403
Symbol 1315 GraphicUsed by:1403
Symbol 1316 GraphicUsed by:1403
Symbol 1317 GraphicUsed by:1403
Symbol 1318 GraphicUsed by:1403
Symbol 1319 GraphicUsed by:1403
Symbol 1320 GraphicUsed by:1403
Symbol 1321 GraphicUsed by:1403
Symbol 1322 GraphicUsed by:1403
Symbol 1323 GraphicUsed by:1403
Symbol 1324 GraphicUsed by:1403
Symbol 1325 GraphicUsed by:1403
Symbol 1326 GraphicUsed by:1403
Symbol 1327 GraphicUsed by:1403
Symbol 1328 GraphicUsed by:1403
Symbol 1329 GraphicUsed by:1403
Symbol 1330 GraphicUsed by:1403
Symbol 1331 GraphicUsed by:1403
Symbol 1332 GraphicUsed by:1403
Symbol 1333 GraphicUsed by:1403
Symbol 1334 GraphicUsed by:1403
Symbol 1335 GraphicUsed by:1403
Symbol 1336 GraphicUsed by:1403
Symbol 1337 GraphicUsed by:1403
Symbol 1338 GraphicUsed by:1403
Symbol 1339 GraphicUsed by:1403
Symbol 1340 GraphicUsed by:1403
Symbol 1341 GraphicUsed by:1403
Symbol 1342 GraphicUsed by:1403
Symbol 1343 GraphicUsed by:1403
Symbol 1344 GraphicUsed by:1403
Symbol 1345 GraphicUsed by:1403
Symbol 1346 GraphicUsed by:1403
Symbol 1347 GraphicUsed by:1403
Symbol 1348 GraphicUsed by:1403
Symbol 1349 GraphicUsed by:1403
Symbol 1350 GraphicUsed by:1403
Symbol 1351 GraphicUsed by:1403
Symbol 1352 GraphicUsed by:1403
Symbol 1353 GraphicUsed by:1403
Symbol 1354 GraphicUsed by:1403
Symbol 1355 GraphicUsed by:1403
Symbol 1356 GraphicUsed by:1403
Symbol 1357 GraphicUsed by:1403
Symbol 1358 GraphicUsed by:1403
Symbol 1359 GraphicUsed by:1403
Symbol 1360 GraphicUsed by:1403
Symbol 1361 GraphicUsed by:1403
Symbol 1362 GraphicUsed by:1403
Symbol 1363 GraphicUsed by:1403
Symbol 1364 GraphicUsed by:1403
Symbol 1365 GraphicUsed by:1403
Symbol 1366 GraphicUsed by:1403
Symbol 1367 GraphicUsed by:1403
Symbol 1368 GraphicUsed by:1403
Symbol 1369 GraphicUsed by:1403
Symbol 1370 GraphicUsed by:1403
Symbol 1371 GraphicUsed by:1403
Symbol 1372 GraphicUsed by:1403
Symbol 1373 GraphicUsed by:1403
Symbol 1374 GraphicUsed by:1403
Symbol 1375 GraphicUsed by:1403
Symbol 1376 GraphicUsed by:1403
Symbol 1377 GraphicUsed by:1403
Symbol 1378 GraphicUsed by:1403
Symbol 1379 GraphicUsed by:1403
Symbol 1380 GraphicUsed by:1403
Symbol 1381 GraphicUsed by:1403
Symbol 1382 GraphicUsed by:1403
Symbol 1383 GraphicUsed by:1384
Symbol 1384 MovieClipUses:1383Used by:1403
Symbol 1385 MovieClipUses:1261Used by:1403
Symbol 1386 GraphicUsed by:1387
Symbol 1387 MovieClipUses:1386Used by:1403
Symbol 1388 GraphicUsed by:1389
Symbol 1389 MovieClipUses:1388Used by:1403
Symbol 1390 GraphicUsed by:1391
Symbol 1391 MovieClipUses:1390Used by:1403
Symbol 1392 GraphicUsed by:1403
Symbol 1393 GraphicUsed by:1403
Symbol 1394 GraphicUsed by:1403
Symbol 1395 GraphicUsed by:1403
Symbol 1396 GraphicUsed by:1403
Symbol 1397 GraphicUsed by:1403
Symbol 1398 GraphicUsed by:1403
Symbol 1399 GraphicUsed by:1403
Symbol 1400 GraphicUsed by:1403
Symbol 1401 GraphicUsed by:1403
Symbol 1402 GraphicUsed by:1403
Symbol 1403 MovieClip {LogoType} [LogoType]Uses:1150 1 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1384 1385 1387 1389 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402Used by:1404
Symbol 1404 MovieClip {animation} [animation]Uses:1202 4 437 20 1403
Symbol 1405 Sound {drag} [drag]
Symbol 1406 Sound {back} [back]
Symbol 1407 Sound {click} [click]
Symbol 1408 Sound {show} [show]
Symbol 1409 Sound {Crash} [Crash]
Symbol 1410 Sound {contact} [contact]
Symbol 1411 Sound {Crash2} [Crash2]
Symbol 1412 Sound {finish_level} [finish_level]
Symbol 1413 Sound {waterSPLASH} [waterSPLASH]

Instance Names

"loading"Symbol 49 MovieClip {PreloaderBar} [PreloaderBar] Frame 1Symbol 38 MovieClip
"tv"Symbol 49 MovieClip {PreloaderBar} [PreloaderBar] Frame 1Symbol 46 MovieClip
"logo"Symbol 49 MovieClip {PreloaderBar} [PreloaderBar] Frame 1Symbol 48 MovieClip
"conv"Symbol 187 MovieClip Frame 1Symbol 172 MovieClip
"_1"Symbol 282 MovieClip {fail} [fail] Frame 1Symbol 77 MovieClip
"_2"Symbol 282 MovieClip {fail} [fail] Frame 1Symbol 90 MovieClip
"_3"Symbol 282 MovieClip {fail} [fail] Frame 1Symbol 101 MovieClip
"_5"Symbol 282 MovieClip {fail} [fail] Frame 1Symbol 187 MovieClip
"_6"Symbol 282 MovieClip {fail} [fail] Frame 1Symbol 204 MovieClip
"_7"Symbol 282 MovieClip {fail} [fail] Frame 1Symbol 229 MovieClip
"_8"Symbol 282 MovieClip {fail} [fail] Frame 1Symbol 243 MovieClip
"_4"Symbol 282 MovieClip {fail} [fail] Frame 1Symbol 264 MovieClip
"_9"Symbol 282 MovieClip {fail} [fail] Frame 1Symbol 281 MovieClip
"maska"Symbol 322 MovieClip {geroj} [geroj] Frame 1Symbol 285 MovieClip
"txt"Symbol 331 MovieClip {menu_fla.level_100} [menu_fla.level_100] Frame 1Symbol 329 EditableText
"level"Symbol 333 MovieClip {menu_fla.fon_99} [menu_fla.fon_99] Frame 1Symbol 331 MovieClip {menu_fla.level_100} [menu_fla.level_100]
"g"Symbol 334 MovieClip {BackGround} [BackGround] Frame 1Symbol 333 MovieClip {menu_fla.fon_99} [menu_fla.fon_99]
"jump"Symbol 345 MovieClip {menu_fla.Symbol9q_34} [menu_fla.Symbol9q_34] Frame 12Symbol 343 MovieClip {Symbol14q} [Symbol14q]
"vert"Symbol 345 MovieClip {menu_fla.Symbol9q_34} [menu_fla.Symbol9q_34] Frame 20Symbol 343 MovieClip {Symbol14q} [Symbol14q]
"vert"Symbol 346 MovieClip {menu_fla.Symbol16_33} [menu_fla.Symbol16_33] Frame 1Symbol 345 MovieClip {menu_fla.Symbol9q_34} [menu_fla.Symbol9q_34]
"vert"Symbol 351 MovieClip {menu_fla.lift_32} [menu_fla.lift_32] Frame 1Symbol 346 MovieClip {menu_fla.Symbol16_33} [menu_fla.Symbol16_33]
"hor"Symbol 352 MovieClip {DynamicMan} [DynamicMan] Frame 1Symbol 351 MovieClip {menu_fla.lift_32} [menu_fla.lift_32]
"w"Symbol 366 MovieClip {vodolaz2} [vodolaz2] Frame 47Symbol 56 MovieClip {kapli} [kapli]
"logo"Symbol 381 MovieClip {menu_fla.levels_bg_58} [menu_fla.levels_bg_58] Frame 1Symbol 48 MovieClip
"add_game"Symbol 381 MovieClip {menu_fla.levels_bg_58} [menu_fla.levels_bg_58] Frame 1Symbol 380 MovieClip
"but"Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65] Frame 1Symbol 390 Button
"txt"Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65] Frame 1Symbol 392 EditableText
"bg"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 381 MovieClip {menu_fla.levels_bg_58} [menu_fla.levels_bg_58]
"menu"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 386 MovieClip
"l1"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l7"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l2"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l6"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l3"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l4"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l5"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l10"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l8"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l9"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l11"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l17"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l12"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l16"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l13"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l14"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l15"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l20"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l18"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l19"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l21"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l22"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l23"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l24"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"l25"Symbol 394 MovieClip {levels} [levels] Frame 1Symbol 393 MovieClip {menu_fla.1chose_65} [menu_fla.1chose_65]
"logo"Symbol 406 MovieClip {menu_fla.menu_gr1_145} [menu_fla.menu_gr1_145] Frame 1Symbol 48 MovieClip
"faceBtn"Symbol 406 MovieClip {menu_fla.menu_gr1_145} [menu_fla.menu_gr1_145] Frame 1Symbol 405 MovieClip
"continue_game"Symbol 425 MovieClip {menu_fla.continue_155} [menu_fla.continue_155] Frame 1Symbol 424 Button
"g"Symbol 436 MovieClip {MainMenuBar} [MainMenuBar] Frame 1Symbol 406 MovieClip {menu_fla.menu_gr1_145} [menu_fla.menu_gr1_145]
"credits_game"Symbol 436 MovieClip {MainMenuBar} [MainMenuBar] Frame 1Symbol 411 MovieClip
"sound"Symbol 436 MovieClip {MainMenuBar} [MainMenuBar] Frame 1Symbol 420 MovieClip {menu_fla.dbsound_115} [menu_fla.dbsound_115]
"continue_game_unable"Symbol 436 MovieClip {MainMenuBar} [MainMenuBar] Frame 1Symbol 423 MovieClip
"continue_game"Symbol 436 MovieClip {MainMenuBar} [MainMenuBar] Frame 1Symbol 425 MovieClip {menu_fla.continue_155} [menu_fla.continue_155]
"play_game"Symbol 436 MovieClip {MainMenuBar} [MainMenuBar] Frame 1Symbol 430 MovieClip
"more_game"Symbol 436 MovieClip {MainMenuBar} [MainMenuBar] Frame 1Symbol 435 MovieClip
"garbLogo"Symbol 442 MovieClip {menu_fla.credits_g_138} [menu_fla.credits_g_138] Frame 1Symbol 440 MovieClip
"g"Symbol 444 MovieClip {CreditsBar} [CreditsBar] Frame 1Symbol 442 MovieClip {menu_fla.credits_g_138} [menu_fla.credits_g_138]
"credits_menu"Symbol 444 MovieClip {CreditsBar} [CreditsBar] Frame 1Symbol 443 MovieClip
"walk"Symbol 449 MovieClip {menu_fla.MassagesBag_gnew_92} [menu_fla.MassagesBag_gnew_92] Frame 1Symbol 448 MovieClip
"g"Symbol 460 MovieClip {MassagesBar} [MassagesBar] Frame 1Symbol 449 MovieClip {menu_fla.MassagesBag_gnew_92} [menu_fla.MassagesBag_gnew_92]
"menu"Symbol 460 MovieClip {MassagesBar} [MassagesBar] Frame 1Symbol 454 MovieClip
"try_again"Symbol 460 MovieClip {MassagesBar} [MassagesBar] Frame 1Symbol 459 MovieClip
"p3"Symbol 466 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 466 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 466 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 466 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 472 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 472 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 472 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 472 MovieClip Frame 1Symbol 465 MovieClip
"m"Symbol 473 MovieClip {man} [man] Frame 1Symbol 463 MovieClip
"def1"Symbol 473 MovieClip {man} [man] Frame 1Symbol 466 MovieClip
"txt"Symbol 473 MovieClip {man} [man] Frame 1Symbol 468 EditableText
"m"Symbol 473 MovieClip {man} [man] Frame 1Symbol 471 MovieClip {game_fla.mannncopy_53} [game_fla.mannncopy_53]
"def2"Symbol 473 MovieClip {man} [man] Frame 1Symbol 472 MovieClip
"logo"Symbol 480 MovieClip {menu_fla.result_g_70} [menu_fla.result_g_70] Frame 1Symbol 48 MovieClip
"sabmit"Symbol 488 MovieClip {menu_fla.sabmitscore_75} [menu_fla.sabmitscore_75] Frame 1Symbol 487 Button
"g"Symbol 489 MovieClip {ResultBar} [ResultBar] Frame 1Symbol 480 MovieClip {menu_fla.result_g_70} [menu_fla.result_g_70]
"submit_score"Symbol 489 MovieClip {ResultBar} [ResultBar] Frame 1Symbol 481 MovieClip
"score_txt"Symbol 489 MovieClip {ResultBar} [ResultBar] Frame 1Symbol 482 EditableText
"total_txt"Symbol 489 MovieClip {ResultBar} [ResultBar] Frame 1Symbol 483 EditableText
"sabmit"Symbol 489 MovieClip {ResultBar} [ResultBar] Frame 1Symbol 488 MovieClip {menu_fla.sabmitscore_75} [menu_fla.sabmitscore_75]
"g"Symbol 515 MovieClip {DisplayBar} [DisplayBar] Frame 1Symbol 389 MovieClip
"menu"Symbol 515 MovieClip {DisplayBar} [DisplayBar] Frame 1Symbol 492 MovieClip
"time"Symbol 515 MovieClip {DisplayBar} [DisplayBar] Frame 1Symbol 494 EditableText
"reset"Symbol 515 MovieClip {DisplayBar} [DisplayBar] Frame 1Symbol 502 MovieClip
"sound"Symbol 515 MovieClip {DisplayBar} [DisplayBar] Frame 1Symbol 420 MovieClip {menu_fla.dbsound_115} [menu_fla.dbsound_115]
"other"Symbol 515 MovieClip {DisplayBar} [DisplayBar] Frame 1Symbol 510 MovieClip
"score"Symbol 515 MovieClip {DisplayBar} [DisplayBar] Frame 1Symbol 494 EditableText
"fon"Symbol 527 MovieClip {menu_fla.Symbol18_80} [menu_fla.Symbol18_80] Frame 1Symbol 476 MovieClip
"g"Symbol 546 MovieClip {Total} [Total] Frame 1Symbol 526 MovieClip
"me"Symbol 546 MovieClip {Total} [Total] Frame 1Symbol 527 MovieClip {menu_fla.Symbol18_80} [menu_fla.Symbol18_80]
"next_level"Symbol 546 MovieClip {Total} [Total] Frame 1Symbol 533 MovieClip
"menu"Symbol 546 MovieClip {Total} [Total] Frame 1Symbol 534 MovieClip
"time_txt"Symbol 546 MovieClip {Total} [Total] Frame 1Symbol 535 EditableText
"score_txt"Symbol 546 MovieClip {Total} [Total] Frame 1Symbol 536 EditableText
"total_txt"Symbol 546 MovieClip {Total} [Total] Frame 1Symbol 537 EditableText
"vic_text"Symbol 546 MovieClip {Total} [Total] Frame 1Symbol 539 MovieClip
"more_games"Symbol 546 MovieClip {Total} [Total] Frame 1Symbol 545 MovieClip
"t1"Symbol 550 MovieClip Frame 1Symbol 549 MovieClip
"p1"Symbol 551 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 551 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 551 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 551 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 552 MovieClip Frame 1Symbol 550 MovieClip
"def0"Symbol 552 MovieClip Frame 1Symbol 551 MovieClip
"p1"Symbol 557 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 557 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 557 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 557 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 558 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 558 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 558 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 558 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 559 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 559 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 559 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 559 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 561 MovieClip Frame 1Symbol 556 MovieClip
"def1"Symbol 561 MovieClip Frame 1Symbol 557 MovieClip
"def2"Symbol 561 MovieClip Frame 1Symbol 558 MovieClip
"def3"Symbol 561 MovieClip Frame 1Symbol 559 MovieClip
"txt"Symbol 561 MovieClip Frame 1Symbol 560 EditableText
"p1"Symbol 563 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 563 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 563 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 563 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 564 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 564 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 564 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 564 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 565 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 565 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 565 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 565 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 567 MovieClip Frame 1Symbol 562 MovieClip
"def1"Symbol 567 MovieClip Frame 1Symbol 563 MovieClip
"def2"Symbol 567 MovieClip Frame 1Symbol 564 MovieClip
"def3"Symbol 567 MovieClip Frame 1Symbol 565 MovieClip
"txt"Symbol 567 MovieClip Frame 1Symbol 566 EditableText
"p1"Symbol 570 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 570 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 570 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 570 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 571 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 571 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 571 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 571 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 572 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 572 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 572 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 572 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 573 MovieClip Frame 1Symbol 569 MovieClip
"def1"Symbol 573 MovieClip Frame 1Symbol 570 MovieClip
"def2"Symbol 573 MovieClip Frame 1Symbol 571 MovieClip
"def3"Symbol 573 MovieClip Frame 1Symbol 572 MovieClip
"txt"Symbol 573 MovieClip Frame 1Symbol 560 EditableText
"g"Symbol 578 MovieClip Frame 1Symbol 575 MovieClip
"cir"Symbol 578 MovieClip Frame 1Symbol 576 MovieClip
"txt"Symbol 578 MovieClip Frame 1Symbol 577 EditableText
"g"Symbol 581 MovieClip Frame 1Symbol 580 MovieClip
"cir"Symbol 581 MovieClip Frame 1Symbol 576 MovieClip
"txt"Symbol 581 MovieClip Frame 1Symbol 560 EditableText
"s1"Symbol 582 MovieClip {level28} [level28] Frame 1Symbol 552 MovieClip
"st"Symbol 582 MovieClip {level28} [level28] Frame 1Symbol 552 MovieClip
"s2"Symbol 582 MovieClip {level28} [level28] Frame 1Symbol 552 MovieClip
"p0"Symbol 585 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 585 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 585 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 585 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 586 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 586 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 586 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 586 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 587 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 587 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 587 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 587 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 588 MovieClip Frame 1Symbol 584 MovieClip
"def1"Symbol 588 MovieClip Frame 1Symbol 585 MovieClip
"def2"Symbol 588 MovieClip Frame 1Symbol 586 MovieClip
"def3"Symbol 588 MovieClip Frame 1Symbol 587 MovieClip
"txt"Symbol 588 MovieClip Frame 1Symbol 560 EditableText
"p0"Symbol 591 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 591 MovieClip Frame 1Symbol 465 MovieClip
"p5"Symbol 591 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 591 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 591 MovieClip Frame 1Symbol 465 MovieClip
"p4"Symbol 591 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 592 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 592 MovieClip Frame 1Symbol 465 MovieClip
"p5"Symbol 592 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 592 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 592 MovieClip Frame 1Symbol 465 MovieClip
"p4"Symbol 592 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 593 MovieClip Frame 1Symbol 590 MovieClip
"txt"Symbol 593 MovieClip Frame 1Symbol 560 EditableText
"def5"Symbol 593 MovieClip Frame 1Symbol 591 MovieClip
"def1"Symbol 593 MovieClip Frame 1Symbol 592 MovieClip
"p1"Symbol 598 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 598 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 598 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 598 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 599 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 599 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 599 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 600 MovieClip Frame 1Symbol 597 MovieClip
"def1"Symbol 600 MovieClip Frame 1Symbol 598 MovieClip
"def2"Symbol 600 MovieClip Frame 1Symbol 599 MovieClip
"txt"Symbol 600 MovieClip Frame 1Symbol 560 EditableText
"p1"Symbol 603 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 603 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 603 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 603 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 604 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 604 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 604 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 605 MovieClip Frame 1Symbol 602 MovieClip
"def1"Symbol 605 MovieClip Frame 1Symbol 603 MovieClip
"def2"Symbol 605 MovieClip Frame 1Symbol 604 MovieClip
"txt"Symbol 605 MovieClip Frame 1Symbol 560 EditableText
"t2"Symbol 609 MovieClip Frame 1Symbol 549 MovieClip
"t1"Symbol 609 MovieClip Frame 1Symbol 549 MovieClip
"p1"Symbol 610 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 610 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 610 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 610 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 611 MovieClip Frame 1Symbol 609 MovieClip
"def0"Symbol 611 MovieClip Frame 1Symbol 610 MovieClip
"p0"Symbol 614 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 614 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 614 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 614 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 615 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 615 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 615 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 616 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 616 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 616 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 617 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 617 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 617 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 618 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 618 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 618 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 621 MovieClip Frame 1Symbol 613 MovieClip
"def5"Symbol 621 MovieClip Frame 1Symbol 614 MovieClip
"def3"Symbol 621 MovieClip Frame 1Symbol 615 MovieClip
"def2"Symbol 621 MovieClip Frame 1Symbol 616 MovieClip
"def4"Symbol 621 MovieClip Frame 1Symbol 617 MovieClip
"def1"Symbol 621 MovieClip Frame 1Symbol 618 MovieClip
"txt"Symbol 621 MovieClip Frame 1Symbol 620 EditableText
"s1"Symbol 622 MovieClip {level27} [level27] Frame 1Symbol 611 MovieClip
"p0"Symbol 625 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 625 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 625 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 625 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 626 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 626 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 626 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 626 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 627 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 627 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 627 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 627 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 629 MovieClip Frame 1Symbol 624 MovieClip
"def1"Symbol 629 MovieClip Frame 1Symbol 625 MovieClip
"def5"Symbol 629 MovieClip Frame 1Symbol 626 MovieClip
"def2"Symbol 629 MovieClip Frame 1Symbol 627 MovieClip
"txt"Symbol 629 MovieClip Frame 1Symbol 628 EditableText
"t1"Symbol 631 MovieClip Frame 1Symbol 549 MovieClip
"p1"Symbol 632 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 632 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 632 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 632 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 633 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 633 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 633 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 634 MovieClip Frame 1Symbol 631 MovieClip
"def"Symbol 634 MovieClip Frame 1Symbol 632 MovieClip
"def4"Symbol 634 MovieClip Frame 1Symbol 633 MovieClip
"p0"Symbol 639 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 639 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 639 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 639 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 640 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 640 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 640 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 640 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 642 MovieClip Frame 1Symbol 638 MovieClip
"def1"Symbol 642 MovieClip Frame 1Symbol 639 MovieClip
"def2"Symbol 642 MovieClip Frame 1Symbol 640 MovieClip
"txt"Symbol 642 MovieClip Frame 1Symbol 641 EditableText
"p1"Symbol 646 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 646 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 646 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 647 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 647 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 647 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 647 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 648 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 648 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 648 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 648 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 649 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 649 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 649 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 649 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 651 MovieClip Frame 1Symbol 645 MovieClip
"def1"Symbol 651 MovieClip Frame 1Symbol 646 MovieClip
"def4"Symbol 651 MovieClip Frame 1Symbol 647 MovieClip
"def2"Symbol 651 MovieClip Frame 1Symbol 648 MovieClip
"def3"Symbol 651 MovieClip Frame 1Symbol 649 MovieClip
"txt"Symbol 651 MovieClip Frame 1Symbol 650 EditableText
"p0"Symbol 654 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 654 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 654 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 654 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 655 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 655 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 655 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 655 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 657 MovieClip Frame 1Symbol 653 MovieClip
"def1"Symbol 657 MovieClip Frame 1Symbol 654 MovieClip
"def2"Symbol 657 MovieClip Frame 1Symbol 655 MovieClip
"txt"Symbol 657 MovieClip Frame 1Symbol 656 EditableText
"s1"Symbol 658 MovieClip {level4} [level4] Frame 1Symbol 634 MovieClip
"p0"Symbol 662 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 662 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 662 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 662 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 664 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 664 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 664 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 664 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 665 MovieClip Frame 1Symbol 661 MovieClip
"def1"Symbol 665 MovieClip Frame 1Symbol 662 MovieClip
"txt"Symbol 665 MovieClip Frame 1Symbol 663 EditableText
"def2"Symbol 665 MovieClip Frame 1Symbol 664 MovieClip
"g"Symbol 668 MovieClip Frame 1Symbol 667 MovieClip
"t1"Symbol 668 MovieClip Frame 1Symbol 549 MovieClip
"p0"Symbol 669 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 669 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 669 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 669 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 670 MovieClip Frame 1Symbol 668 MovieClip
"def"Symbol 670 MovieClip Frame 1Symbol 669 MovieClip
"g"Symbol 675 MovieClip Frame 1Symbol 672 MovieClip
"cir"Symbol 675 MovieClip Frame 1Symbol 673 MovieClip
"txt"Symbol 675 MovieClip Frame 1Symbol 674 EditableText
"st"Symbol 676 MovieClip {level2} [level2] Frame 1Symbol 670 MovieClip
"s1"Symbol 676 MovieClip {level2} [level2] Frame 1Symbol 670 MovieClip
"g"Symbol 679 MovieClip Frame 1Symbol 678 MovieClip
"cir"Symbol 679 MovieClip Frame 1Symbol 576 MovieClip
"txt"Symbol 679 MovieClip Frame 1Symbol 560 EditableText
"p0"Symbol 682 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 682 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 682 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 682 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 683 MovieClip Frame 1Symbol 681 MovieClip
"def2"Symbol 683 MovieClip Frame 1Symbol 682 MovieClip
"p1"Symbol 686 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 686 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 686 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 688 MovieClip Frame 1Symbol 685 MovieClip
"def"Symbol 688 MovieClip Frame 1Symbol 686 MovieClip
"txt"Symbol 688 MovieClip Frame 1Symbol 687 EditableText
"p0"Symbol 689 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 689 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 689 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 689 MovieClip Frame 1Symbol 465 MovieClip
"t1"Symbol 691 MovieClip Frame 1Symbol 549 MovieClip
"def0"Symbol 692 MovieClip Frame 1Symbol 689 MovieClip
"g"Symbol 692 MovieClip Frame 1Symbol 691 MovieClip
"st"Symbol 693 MovieClip {level62} [level62] Frame 1Symbol 683 MovieClip
"s1"Symbol 693 MovieClip {level62} [level62] Frame 1Symbol 692 MovieClip
"p3"Symbol 695 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 695 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 695 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 695 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 696 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 696 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 696 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 696 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 697 MovieClip Frame 1Symbol 694 MovieClip
"def2"Symbol 697 MovieClip Frame 1Symbol 695 MovieClip
"def1"Symbol 697 MovieClip Frame 1Symbol 696 MovieClip
"txt"Symbol 697 MovieClip Frame 1Symbol 687 EditableText
"p3"Symbol 700 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 700 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 700 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 700 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 701 MovieClip Frame 1Symbol 699 MovieClip
"def"Symbol 701 MovieClip Frame 1Symbol 700 MovieClip
"txt"Symbol 701 MovieClip Frame 1Symbol 687 EditableText
"p3"Symbol 704 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 704 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 704 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 704 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 705 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 705 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 705 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 705 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 706 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 706 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 706 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 706 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 707 MovieClip Frame 1Symbol 703 MovieClip
"def6"Symbol 707 MovieClip Frame 1Symbol 704 MovieClip
"def8"Symbol 707 MovieClip Frame 1Symbol 705 MovieClip
"def7"Symbol 707 MovieClip Frame 1Symbol 706 MovieClip
"p3"Symbol 708 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 708 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 708 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 708 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 709 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 709 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 709 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 709 MovieClip Frame 1Symbol 465 MovieClip
"t2"Symbol 711 MovieClip Frame 1Symbol 549 MovieClip
"t1"Symbol 711 MovieClip Frame 1Symbol 549 MovieClip
"def2"Symbol 712 MovieClip Frame 1Symbol 708 MovieClip
"def3"Symbol 712 MovieClip Frame 1Symbol 709 MovieClip
"g"Symbol 712 MovieClip Frame 1Symbol 711 MovieClip
"st"Symbol 713 MovieClip {level44} [level44] Frame 1Symbol 707 MovieClip
"s1"Symbol 713 MovieClip {level44} [level44] Frame 1Symbol 712 MovieClip
"t1"Symbol 715 MovieClip Frame 1Symbol 549 MovieClip
"p0"Symbol 716 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 716 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 716 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 716 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 717 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 717 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 717 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 717 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 718 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 718 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 718 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 718 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 719 MovieClip Frame 1Symbol 715 MovieClip
"def1"Symbol 719 MovieClip Frame 1Symbol 716 MovieClip
"def2"Symbol 719 MovieClip Frame 1Symbol 717 MovieClip
"def3"Symbol 719 MovieClip Frame 1Symbol 718 MovieClip
"g"Symbol 723 MovieClip Frame 1Symbol 721 MovieClip
"cir"Symbol 723 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 723 MovieClip Frame 1Symbol 722 EditableText
"p0"Symbol 726 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 726 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 726 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 727 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 727 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 727 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 727 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 728 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 728 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 728 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 728 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 729 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 729 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 729 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 729 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 730 MovieClip Frame 1Symbol 725 MovieClip
"def1"Symbol 730 MovieClip Frame 1Symbol 726 MovieClip
"def2"Symbol 730 MovieClip Frame 1Symbol 727 MovieClip
"def3"Symbol 730 MovieClip Frame 1Symbol 728 MovieClip
"def4"Symbol 730 MovieClip Frame 1Symbol 729 MovieClip
"txt"Symbol 730 MovieClip Frame 1Symbol 722 EditableText
"p1"Symbol 733 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 733 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 733 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 733 MovieClip Frame 1Symbol 465 MovieClip
"p4"Symbol 733 MovieClip Frame 1Symbol 465 MovieClip
"p5"Symbol 733 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 735 MovieClip Frame 1Symbol 732 MovieClip
"def2"Symbol 735 MovieClip Frame 1Symbol 733 MovieClip
"txt"Symbol 735 MovieClip Frame 1Symbol 734 EditableText
"t1"Symbol 738 MovieClip Frame 1Symbol 549 MovieClip
"p1"Symbol 739 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 739 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 739 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 739 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 740 MovieClip Frame 1Symbol 738 MovieClip
"def"Symbol 740 MovieClip Frame 1Symbol 739 MovieClip
"p0"Symbol 744 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 744 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 744 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 745 MovieClip Frame 1Symbol 742 MovieClip
"txt"Symbol 745 MovieClip Frame 1Symbol 743 EditableText
"def"Symbol 745 MovieClip Frame 1Symbol 744 MovieClip
"p1"Symbol 748 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 748 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 748 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 748 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 749 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 749 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 749 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 749 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 750 MovieClip Frame 1Symbol 747 MovieClip
"def1"Symbol 750 MovieClip Frame 1Symbol 748 MovieClip
"def2"Symbol 750 MovieClip Frame 1Symbol 749 MovieClip
"txt"Symbol 750 MovieClip Frame 1Symbol 743 EditableText
"p1"Symbol 752 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 752 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 752 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 752 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 753 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 753 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 753 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 753 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 754 MovieClip Frame 1Symbol 751 MovieClip
"def2"Symbol 754 MovieClip Frame 1Symbol 752 MovieClip
"def1"Symbol 754 MovieClip Frame 1Symbol 753 MovieClip
"txt"Symbol 754 MovieClip Frame 1Symbol 743 EditableText
"t2"Symbol 757 MovieClip Frame 1Symbol 549 MovieClip
"t1"Symbol 757 MovieClip Frame 1Symbol 549 MovieClip
"p1"Symbol 758 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 758 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 758 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 758 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 759 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 759 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 759 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 759 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 760 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 760 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 760 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 760 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 761 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 761 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 761 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 761 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 762 MovieClip Frame 1Symbol 757 MovieClip
"def2"Symbol 762 MovieClip Frame 1Symbol 758 MovieClip
"def1"Symbol 762 MovieClip Frame 1Symbol 759 MovieClip
"def3"Symbol 762 MovieClip Frame 1Symbol 760 MovieClip
"def4"Symbol 762 MovieClip Frame 1Symbol 761 MovieClip
"p1"Symbol 765 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 765 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 765 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 765 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 766 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 766 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 766 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 766 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 767 MovieClip Frame 1Symbol 764 MovieClip
"def2"Symbol 767 MovieClip Frame 1Symbol 765 MovieClip
"def1"Symbol 767 MovieClip Frame 1Symbol 766 MovieClip
"txt"Symbol 767 MovieClip Frame 1Symbol 722 EditableText
"p1"Symbol 770 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 770 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 770 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 770 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 771 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 771 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 771 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 771 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 772 MovieClip Frame 1Symbol 769 MovieClip
"def1"Symbol 772 MovieClip Frame 1Symbol 770 MovieClip
"def2"Symbol 772 MovieClip Frame 1Symbol 771 MovieClip
"txt"Symbol 772 MovieClip Frame 1Symbol 722 EditableText
"g"Symbol 775 MovieClip Frame 1Symbol 774 MovieClip
"cir"Symbol 775 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 775 MovieClip Frame 1Symbol 734 EditableText
"g"Symbol 780 MovieClip Frame 1Symbol 778 MovieClip
"cir0"Symbol 780 MovieClip Frame 1Symbol 576 MovieClip
"txt"Symbol 780 MovieClip Frame 1Symbol 779 EditableText
"t2"Symbol 782 MovieClip Frame 1Symbol 549 MovieClip
"t1"Symbol 782 MovieClip Frame 1Symbol 549 MovieClip
"p2"Symbol 783 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 783 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 783 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 783 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 784 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 784 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 784 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 784 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 785 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 785 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 785 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 785 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 786 MovieClip Frame 1Symbol 782 MovieClip
"def0"Symbol 786 MovieClip Frame 1Symbol 783 MovieClip
"def2"Symbol 786 MovieClip Frame 1Symbol 784 MovieClip
"def1"Symbol 786 MovieClip Frame 1Symbol 785 MovieClip
"p2"Symbol 789 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 789 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 789 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 789 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 791 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 791 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 791 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 791 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 792 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 792 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 792 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 792 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 793 MovieClip Frame 1Symbol 788 MovieClip
"def0"Symbol 793 MovieClip Frame 1Symbol 789 MovieClip
"txt"Symbol 793 MovieClip Frame 1Symbol 790 EditableText
"def2"Symbol 793 MovieClip Frame 1Symbol 791 MovieClip
"def1"Symbol 793 MovieClip Frame 1Symbol 792 MovieClip
"p0"Symbol 796 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 796 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 796 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 796 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 797 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 797 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 797 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 797 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 798 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 798 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 798 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 798 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 799 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 799 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 799 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 799 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 800 MovieClip Frame 1Symbol 795 MovieClip
"def0"Symbol 800 MovieClip Frame 1Symbol 796 MovieClip
"def1"Symbol 800 MovieClip Frame 1Symbol 797 MovieClip
"def2"Symbol 800 MovieClip Frame 1Symbol 798 MovieClip
"def3"Symbol 800 MovieClip Frame 1Symbol 799 MovieClip
"txt"Symbol 800 MovieClip Frame 1Symbol 790 EditableText
"s1"Symbol 801 MovieClip {level1} [level1] Frame 1Symbol 786 MovieClip
"t2"Symbol 803 MovieClip Frame 1Symbol 549 MovieClip
"t1"Symbol 803 MovieClip Frame 1Symbol 549 MovieClip
"p0"Symbol 804 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 804 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 804 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 804 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 805 MovieClip Frame 1Symbol 803 MovieClip
"def1"Symbol 805 MovieClip Frame 1Symbol 804 MovieClip
"p0"Symbol 808 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 808 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 808 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 808 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 809 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 809 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 809 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 809 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 811 MovieClip Frame 1Symbol 807 MovieClip
"def1"Symbol 811 MovieClip Frame 1Symbol 808 MovieClip
"def2"Symbol 811 MovieClip Frame 1Symbol 809 MovieClip
"txt"Symbol 811 MovieClip Frame 1Symbol 810 EditableText
"p0"Symbol 814 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 814 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 814 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 814 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 815 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 815 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 815 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 815 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 816 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 816 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 816 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 816 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 817 MovieClip Frame 1Symbol 813 MovieClip
"def1"Symbol 817 MovieClip Frame 1Symbol 814 MovieClip
"def2"Symbol 817 MovieClip Frame 1Symbol 815 MovieClip
"def3"Symbol 817 MovieClip Frame 1Symbol 816 MovieClip
"txt"Symbol 817 MovieClip Frame 1Symbol 810 EditableText
"p0"Symbol 820 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 820 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 820 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 820 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 821 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 821 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 821 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 821 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 822 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 822 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 822 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 822 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 823 MovieClip Frame 1Symbol 819 MovieClip
"def1"Symbol 823 MovieClip Frame 1Symbol 820 MovieClip
"def2"Symbol 823 MovieClip Frame 1Symbol 821 MovieClip
"def3"Symbol 823 MovieClip Frame 1Symbol 822 MovieClip
"txt"Symbol 823 MovieClip Frame 1Symbol 810 EditableText
"p0"Symbol 826 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 826 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 826 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 826 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 827 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 827 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 827 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 827 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 828 MovieClip Frame 1Symbol 825 MovieClip
"def2"Symbol 828 MovieClip Frame 1Symbol 826 MovieClip
"def1"Symbol 828 MovieClip Frame 1Symbol 827 MovieClip
"txt"Symbol 828 MovieClip Frame 1Symbol 810 EditableText
"p0"Symbol 831 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 831 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 831 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 831 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 832 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 832 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 832 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 832 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 833 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 833 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 833 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 833 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 834 MovieClip Frame 1Symbol 830 MovieClip
"def2"Symbol 834 MovieClip Frame 1Symbol 831 MovieClip
"def3"Symbol 834 MovieClip Frame 1Symbol 832 MovieClip
"def1"Symbol 834 MovieClip Frame 1Symbol 833 MovieClip
"txt"Symbol 834 MovieClip Frame 1Symbol 810 EditableText
"p1"Symbol 838 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 838 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 838 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 839 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 839 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 839 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 839 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 840 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 840 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 840 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 840 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 841 MovieClip Frame 1Symbol 837 MovieClip
"def1"Symbol 841 MovieClip Frame 1Symbol 838 MovieClip
"def2"Symbol 841 MovieClip Frame 1Symbol 839 MovieClip
"def3"Symbol 841 MovieClip Frame 1Symbol 840 MovieClip
"txt"Symbol 841 MovieClip Frame 1Symbol 734 EditableText
"p0"Symbol 844 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 844 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 844 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 844 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 845 MovieClip Frame 1Symbol 843 MovieClip
"def"Symbol 845 MovieClip Frame 1Symbol 844 MovieClip
"t2"Symbol 847 MovieClip Frame 1Symbol 549 MovieClip
"t1"Symbol 847 MovieClip Frame 1Symbol 549 MovieClip
"p1"Symbol 848 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 848 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 848 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 848 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 849 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 849 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 849 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 849 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 850 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 850 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 850 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 850 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 851 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 851 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 851 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 852 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 852 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 852 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 853 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 853 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 853 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 854 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 854 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 854 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 855 MovieClip Frame 1Symbol 847 MovieClip
"def3"Symbol 855 MovieClip Frame 1Symbol 848 MovieClip
"def2"Symbol 855 MovieClip Frame 1Symbol 849 MovieClip
"def1"Symbol 855 MovieClip Frame 1Symbol 850 MovieClip
"def4"Symbol 855 MovieClip Frame 1Symbol 851 MovieClip
"def5"Symbol 855 MovieClip Frame 1Symbol 852 MovieClip
"def6"Symbol 855 MovieClip Frame 1Symbol 853 MovieClip
"def7"Symbol 855 MovieClip Frame 1Symbol 854 MovieClip
"st"Symbol 856 MovieClip {level40} [level40] Frame 1Symbol 845 MovieClip
"s1"Symbol 856 MovieClip {level40} [level40] Frame 1Symbol 855 MovieClip
"p0"Symbol 860 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 860 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 860 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 860 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 862 MovieClip Frame 1Symbol 859 MovieClip
"def"Symbol 862 MovieClip Frame 1Symbol 860 MovieClip
"txt"Symbol 862 MovieClip Frame 1Symbol 861 EditableText
"p0"Symbol 866 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 866 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 866 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 867 MovieClip Frame 1Symbol 865 MovieClip
"def"Symbol 867 MovieClip Frame 1Symbol 866 MovieClip
"txt"Symbol 867 MovieClip Frame 1Symbol 861 EditableText
"p0"Symbol 869 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 869 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 869 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 870 MovieClip Frame 1Symbol 868 MovieClip
"def"Symbol 870 MovieClip Frame 1Symbol 869 MovieClip
"txt"Symbol 870 MovieClip Frame 1Symbol 861 EditableText
"t1"Symbol 872 MovieClip Frame 1Symbol 549 MovieClip
"p0"Symbol 873 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 873 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 873 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 873 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 874 MovieClip Frame 1Symbol 872 MovieClip
"def"Symbol 874 MovieClip Frame 1Symbol 873 MovieClip
"t1"Symbol 876 MovieClip Frame 1Symbol 549 MovieClip
"p0"Symbol 877 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 877 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 877 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 877 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 878 MovieClip Frame 1Symbol 876 MovieClip
"def"Symbol 878 MovieClip Frame 1Symbol 877 MovieClip
"s1"Symbol 879 MovieClip {llevel49} [llevel49] Frame 1Symbol 874 MovieClip
"s2"Symbol 879 MovieClip {llevel49} [llevel49] Frame 1Symbol 878 MovieClip
"t2"Symbol 881 MovieClip Frame 1Symbol 549 MovieClip
"t1"Symbol 881 MovieClip Frame 1Symbol 549 MovieClip
"p2"Symbol 882 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 882 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 882 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 882 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 883 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 883 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 883 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 883 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 884 MovieClip Frame 1Symbol 881 MovieClip
"def3"Symbol 884 MovieClip Frame 1Symbol 882 MovieClip
"def2"Symbol 884 MovieClip Frame 1Symbol 883 MovieClip
"p2"Symbol 887 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 887 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 887 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 887 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 888 MovieClip Frame 1Symbol 885 MovieClip
"txt"Symbol 888 MovieClip Frame 1Symbol 886 EditableText
"def"Symbol 888 MovieClip Frame 1Symbol 887 MovieClip
"g"Symbol 891 MovieClip Frame 1Symbol 890 MovieClip
"cir"Symbol 891 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 891 MovieClip Frame 1Symbol 886 EditableText
"st"Symbol 892 MovieClip {level42} [level42] Frame 1Symbol 884 MovieClip
"st"Symbol 892 MovieClip {level42} [level42] Frame 1Symbol 884 MovieClip
"s1"Symbol 892 MovieClip {level42} [level42] Frame 1Symbol 884 MovieClip
"st"Symbol 892 MovieClip {level42} [level42] Frame 1Symbol 884 MovieClip
"st"Symbol 892 MovieClip {level42} [level42] Frame 1Symbol 884 MovieClip
"p0"Symbol 895 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 895 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 895 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 895 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 896 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 896 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 896 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 896 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 897 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 897 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 897 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 897 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 898 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 898 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 898 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 898 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 899 MovieClip Frame 1Symbol 894 MovieClip
"def1"Symbol 899 MovieClip Frame 1Symbol 895 MovieClip
"def2"Symbol 899 MovieClip Frame 1Symbol 896 MovieClip
"def3"Symbol 899 MovieClip Frame 1Symbol 897 MovieClip
"def4"Symbol 899 MovieClip Frame 1Symbol 898 MovieClip
"p0"Symbol 902 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 902 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 902 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 902 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 903 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 903 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 903 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 903 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 904 MovieClip Frame 1Symbol 901 MovieClip
"def1"Symbol 904 MovieClip Frame 1Symbol 902 MovieClip
"def2"Symbol 904 MovieClip Frame 1Symbol 903 MovieClip
"txt"Symbol 904 MovieClip Frame 1Symbol 620 EditableText
"p0"Symbol 907 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 907 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 907 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 908 MovieClip Frame 1Symbol 906 MovieClip
"def"Symbol 908 MovieClip Frame 1Symbol 907 MovieClip
"txt"Symbol 908 MovieClip Frame 1Symbol 620 EditableText
"p0"Symbol 911 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 911 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 911 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 911 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 912 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 912 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 912 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 912 MovieClip Frame 1Symbol 465 MovieClip
"p5"Symbol 912 MovieClip Frame 1Symbol 465 MovieClip
"p4"Symbol 912 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 913 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 913 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 913 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 913 MovieClip Frame 1Symbol 465 MovieClip
"p5"Symbol 913 MovieClip Frame 1Symbol 465 MovieClip
"p4"Symbol 913 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 914 MovieClip Frame 1Symbol 910 MovieClip
"def3"Symbol 914 MovieClip Frame 1Symbol 911 MovieClip
"def2"Symbol 914 MovieClip Frame 1Symbol 912 MovieClip
"def1"Symbol 914 MovieClip Frame 1Symbol 913 MovieClip
"txt"Symbol 914 MovieClip Frame 1Symbol 620 EditableText
"p1"Symbol 917 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 918 MovieClip Frame 1Symbol 916 MovieClip
"cir"Symbol 918 MovieClip Frame 1Symbol 917 MovieClip
"txt"Symbol 918 MovieClip Frame 1Symbol 620 EditableText
"g"Symbol 921 MovieClip Frame 1Symbol 920 MovieClip
"cir"Symbol 921 MovieClip Frame 1Symbol 917 MovieClip
"txt"Symbol 921 MovieClip Frame 1Symbol 620 EditableText
"p0"Symbol 924 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 924 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 924 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 924 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 925 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 925 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 925 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 925 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 926 MovieClip Frame 1Symbol 923 MovieClip
"def1"Symbol 926 MovieClip Frame 1Symbol 924 MovieClip
"def2"Symbol 926 MovieClip Frame 1Symbol 925 MovieClip
"txt"Symbol 926 MovieClip Frame 1Symbol 620 EditableText
"p0"Symbol 927 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 927 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 927 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 927 MovieClip Frame 1Symbol 465 MovieClip
"t1"Symbol 929 MovieClip Frame 1Symbol 549 MovieClip
"def0"Symbol 930 MovieClip Frame 1Symbol 927 MovieClip
"g"Symbol 930 MovieClip Frame 1Symbol 929 MovieClip
"st"Symbol 931 MovieClip {level39} [level39] Frame 1Symbol 899 MovieClip
"s2"Symbol 931 MovieClip {level39} [level39] Frame 1Symbol 930 MovieClip
"s1"Symbol 931 MovieClip {level39} [level39] Frame 1Symbol 930 MovieClip
"p1"Symbol 934 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 934 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 934 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 936 MovieClip Frame 1Symbol 933 MovieClip
"def"Symbol 936 MovieClip Frame 1Symbol 934 MovieClip
"txt"Symbol 936 MovieClip Frame 1Symbol 935 EditableText
"p0"Symbol 939 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 939 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 939 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 939 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 941 MovieClip Frame 1Symbol 938 MovieClip
"def"Symbol 941 MovieClip Frame 1Symbol 939 MovieClip
"txt"Symbol 941 MovieClip Frame 1Symbol 940 EditableText
"p1"Symbol 944 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 944 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 944 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 944 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 945 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 945 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 945 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 945 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 946 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 946 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 946 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 946 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 947 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 947 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 947 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 947 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 948 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 948 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 948 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 948 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 949 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 949 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 949 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 949 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 950 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 950 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 950 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 950 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 952 MovieClip Frame 1Symbol 943 MovieClip
"def1"Symbol 952 MovieClip Frame 1Symbol 944 MovieClip
"def2"Symbol 952 MovieClip Frame 1Symbol 945 MovieClip
"def3"Symbol 952 MovieClip Frame 1Symbol 946 MovieClip
"def4"Symbol 952 MovieClip Frame 1Symbol 947 MovieClip
"def5"Symbol 952 MovieClip Frame 1Symbol 948 MovieClip
"def6"Symbol 952 MovieClip Frame 1Symbol 949 MovieClip
"def7"Symbol 952 MovieClip Frame 1Symbol 950 MovieClip
"txt"Symbol 952 MovieClip Frame 1Symbol 951 EditableText
"p3"Symbol 955 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 955 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 955 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 955 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 957 MovieClip Frame 1Symbol 954 MovieClip
"def"Symbol 957 MovieClip Frame 1Symbol 955 MovieClip
"txt"Symbol 957 MovieClip Frame 1Symbol 956 EditableText
"p0"Symbol 960 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 960 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 960 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 960 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 961 MovieClip Frame 1Symbol 959 MovieClip
"def"Symbol 961 MovieClip Frame 1Symbol 960 MovieClip
"txt"Symbol 961 MovieClip Frame 1Symbol 951 EditableText
"p1"Symbol 965 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 965 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 965 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 965 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 966 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 966 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 966 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 966 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 967 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 967 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 967 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 967 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 968 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 968 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 968 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 968 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 969 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 969 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 969 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 969 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 970 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 970 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 970 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 970 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 971 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 971 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 971 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 971 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 972 MovieClip Frame 1Symbol 962 EditableText
"g"Symbol 972 MovieClip Frame 1Symbol 964 MovieClip
"def1"Symbol 972 MovieClip Frame 1Symbol 965 MovieClip
"def2"Symbol 972 MovieClip Frame 1Symbol 966 MovieClip
"def3"Symbol 972 MovieClip Frame 1Symbol 967 MovieClip
"def4"Symbol 972 MovieClip Frame 1Symbol 968 MovieClip
"def5"Symbol 972 MovieClip Frame 1Symbol 969 MovieClip
"def6"Symbol 972 MovieClip Frame 1Symbol 970 MovieClip
"def7"Symbol 972 MovieClip Frame 1Symbol 971 MovieClip
"t1"Symbol 974 MovieClip Frame 1Symbol 549 MovieClip
"p0"Symbol 975 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 975 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 975 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 975 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 976 MovieClip Frame 1Symbol 974 MovieClip
"def"Symbol 976 MovieClip Frame 1Symbol 975 MovieClip
"s2"Symbol 977 MovieClip {level12} [level12] Frame 1Symbol 976 MovieClip
"s1"Symbol 977 MovieClip {level12} [level12] Frame 1Symbol 976 MovieClip
"st"Symbol 977 MovieClip {level12} [level12] Frame 1Symbol 976 MovieClip
"p1"Symbol 980 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 980 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 980 MovieClip Frame 1Symbol 465 MovieClip
"p4"Symbol 980 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 980 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 981 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 981 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 981 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 981 MovieClip Frame 1Symbol 465 MovieClip
"p4"Symbol 981 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 982 MovieClip Frame 1Symbol 979 MovieClip
"def1"Symbol 982 MovieClip Frame 1Symbol 980 MovieClip
"def2"Symbol 982 MovieClip Frame 1Symbol 981 MovieClip
"p3"Symbol 985 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 985 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 985 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 985 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 986 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 986 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 986 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 986 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 987 MovieClip Frame 1Symbol 984 MovieClip
"def1"Symbol 987 MovieClip Frame 1Symbol 985 MovieClip
"def2"Symbol 987 MovieClip Frame 1Symbol 986 MovieClip
"txt"Symbol 987 MovieClip Frame 1Symbol 560 EditableText
"t1"Symbol 989 MovieClip Frame 1Symbol 549 MovieClip
"p0"Symbol 990 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 990 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 990 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 990 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 991 MovieClip Frame 1Symbol 989 MovieClip
"def"Symbol 991 MovieClip Frame 1Symbol 990 MovieClip
"st"Symbol 992 MovieClip {level33} [level33] Frame 1Symbol 982 MovieClip
"s2"Symbol 992 MovieClip {level33} [level33] Frame 1Symbol 991 MovieClip
"s1"Symbol 992 MovieClip {level33} [level33] Frame 1Symbol 991 MovieClip
"p1"Symbol 995 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 995 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 995 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 995 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 996 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 996 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 996 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 996 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 997 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 997 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 997 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 997 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 998 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 998 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 998 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 998 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 999 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 999 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 999 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 999 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1001 MovieClip Frame 1Symbol 994 MovieClip
"def1"Symbol 1001 MovieClip Frame 1Symbol 995 MovieClip
"def2"Symbol 1001 MovieClip Frame 1Symbol 996 MovieClip
"def3"Symbol 1001 MovieClip Frame 1Symbol 997 MovieClip
"def1"Symbol 1001 MovieClip Frame 1Symbol 998 MovieClip
"def5"Symbol 1001 MovieClip Frame 1Symbol 999 MovieClip
"txt"Symbol 1001 MovieClip Frame 1Symbol 1000 EditableText
"p1"Symbol 1004 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1004 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1004 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1004 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1005 MovieClip Frame 1Symbol 1003 MovieClip
"def1"Symbol 1005 MovieClip Frame 1Symbol 1004 MovieClip
"txt"Symbol 1005 MovieClip Frame 1Symbol 1000 EditableText
"p1"Symbol 1010 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1010 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1010 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1010 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1011 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1011 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1011 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1011 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1012 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1012 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1012 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1012 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1013 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1013 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1013 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1013 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1014 MovieClip Frame 1Symbol 1009 MovieClip
"def1"Symbol 1014 MovieClip Frame 1Symbol 1010 MovieClip
"def2"Symbol 1014 MovieClip Frame 1Symbol 1011 MovieClip
"def3"Symbol 1014 MovieClip Frame 1Symbol 1012 MovieClip
"def4"Symbol 1014 MovieClip Frame 1Symbol 1013 MovieClip
"txt"Symbol 1014 MovieClip Frame 1Symbol 1000 EditableText
"p1"Symbol 1016 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1016 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1016 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1016 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1017 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1017 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1017 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1017 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1018 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1018 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1018 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1018 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1019 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1019 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1019 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1019 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1020 MovieClip Frame 1Symbol 1015 MovieClip
"def1"Symbol 1020 MovieClip Frame 1Symbol 1016 MovieClip
"def2"Symbol 1020 MovieClip Frame 1Symbol 1017 MovieClip
"def3"Symbol 1020 MovieClip Frame 1Symbol 1018 MovieClip
"def4"Symbol 1020 MovieClip Frame 1Symbol 1019 MovieClip
"txt"Symbol 1020 MovieClip Frame 1Symbol 1000 EditableText
"g"Symbol 1023 MovieClip Frame 1Symbol 1022 MovieClip
"cir"Symbol 1023 MovieClip Frame 1Symbol 917 MovieClip
"txt"Symbol 1023 MovieClip Frame 1Symbol 1000 EditableText
"p1"Symbol 1026 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1026 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1026 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1026 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1027 MovieClip Frame 1Symbol 1025 MovieClip
"def1"Symbol 1027 MovieClip Frame 1Symbol 1026 MovieClip
"txt"Symbol 1027 MovieClip Frame 1Symbol 1000 EditableText
"p1"Symbol 1028 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1028 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1028 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1028 MovieClip Frame 1Symbol 465 MovieClip
"def0"Symbol 1031 MovieClip Frame 1Symbol 1028 MovieClip
"g"Symbol 1031 MovieClip Frame 1Symbol 1030 MovieClip
"t2"Symbol 1033 MovieClip Frame 1Symbol 549 MovieClip
"t1"Symbol 1033 MovieClip Frame 1Symbol 549 MovieClip
"p1"Symbol 1034 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1034 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1034 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1034 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1035 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1035 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1035 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1035 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1036 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1036 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1036 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1036 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1037 MovieClip Frame 1Symbol 1033 MovieClip
"def1"Symbol 1037 MovieClip Frame 1Symbol 1034 MovieClip
"def2"Symbol 1037 MovieClip Frame 1Symbol 1035 MovieClip
"def3"Symbol 1037 MovieClip Frame 1Symbol 1036 MovieClip
"de"Symbol 1038 MovieClip {level35} [level35] Frame 1Symbol 1001 MovieClip
"st"Symbol 1038 MovieClip {level35} [level35] Frame 1Symbol 1031 MovieClip
"s1"Symbol 1038 MovieClip {level35} [level35] Frame 1Symbol 1037 MovieClip
"t1"Symbol 1040 MovieClip Frame 1Symbol 549 MovieClip
"p0"Symbol 1041 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1041 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1041 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1041 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1042 MovieClip Frame 1Symbol 1040 MovieClip
"def"Symbol 1042 MovieClip Frame 1Symbol 1041 MovieClip
"g"Symbol 1046 MovieClip Frame 1Symbol 1044 MovieClip
"cir"Symbol 1046 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 1046 MovieClip Frame 1Symbol 1045 EditableText
"s1"Symbol 1047 MovieClip {level57} [level57] Frame 1Symbol 1042 MovieClip
"t1"Symbol 1049 MovieClip Frame 1Symbol 549 MovieClip
"p1"Symbol 1050 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1050 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1050 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1050 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1051 MovieClip Frame 1Symbol 1049 MovieClip
"def"Symbol 1051 MovieClip Frame 1Symbol 1050 MovieClip
"g"Symbol 1054 MovieClip Frame 1Symbol 1053 MovieClip
"cir"Symbol 1054 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 1054 MovieClip Frame 1Symbol 743 EditableText
"s1"Symbol 1055 MovieClip {level58} [level58] Frame 1Symbol 1051 MovieClip
"t1"Symbol 1057 MovieClip Frame 1Symbol 549 MovieClip
"p1"Symbol 1058 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1058 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1058 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1058 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1059 MovieClip Frame 1Symbol 1057 MovieClip
"def"Symbol 1059 MovieClip Frame 1Symbol 1058 MovieClip
"t1"Symbol 1060 MovieClip Frame 1Symbol 549 MovieClip
"p1"Symbol 1061 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1061 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1061 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1061 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1062 MovieClip Frame 1Symbol 1060 MovieClip
"def"Symbol 1062 MovieClip Frame 1Symbol 1061 MovieClip
"p1"Symbol 1065 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1065 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1065 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1065 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1066 MovieClip Frame 1Symbol 1064 MovieClip
"def"Symbol 1066 MovieClip Frame 1Symbol 1065 MovieClip
"p1"Symbol 1069 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1069 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1069 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1069 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1070 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1070 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1070 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1070 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1072 MovieClip Frame 1Symbol 1068 MovieClip
"def"Symbol 1072 MovieClip Frame 1Symbol 1069 MovieClip
"def1"Symbol 1072 MovieClip Frame 1Symbol 1070 MovieClip
"txt"Symbol 1072 MovieClip Frame 1Symbol 1071 EditableText
"p1"Symbol 1075 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1075 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1075 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1076 MovieClip Frame 1Symbol 1074 MovieClip
"def"Symbol 1076 MovieClip Frame 1Symbol 1075 MovieClip
"txt"Symbol 1076 MovieClip Frame 1Symbol 1071 EditableText
"g"Symbol 1079 MovieClip Frame 1Symbol 1078 MovieClip
"cir"Symbol 1079 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 1079 MovieClip Frame 1Symbol 1071 EditableText
"s1"Symbol 1080 MovieClip {level55} [level55] Frame 1Symbol 1059 MovieClip
"s2"Symbol 1080 MovieClip {level55} [level55] Frame 1Symbol 1062 MovieClip
"st"Symbol 1080 MovieClip {level55} [level55] Frame 1Symbol 1066 MovieClip
"g"Symbol 1083 MovieClip Frame 1Symbol 1082 MovieClip
"cir"Symbol 1083 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 1083 MovieClip Frame 1Symbol 1071 EditableText
"g"Symbol 1086 MovieClip Frame 1Symbol 1085 MovieClip
"cir"Symbol 1086 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 1086 MovieClip Frame 1Symbol 1071 EditableText
"g"Symbol 1089 MovieClip Frame 1Symbol 1088 MovieClip
"def"Symbol 1089 MovieClip Frame 1Symbol 1041 MovieClip
"t1"Symbol 1091 MovieClip Frame 1Symbol 549 MovieClip
"g"Symbol 1092 MovieClip Frame 1Symbol 1091 MovieClip
"def"Symbol 1092 MovieClip Frame 1Symbol 1041 MovieClip
"st"Symbol 1093 MovieClip {level56} [level56] Frame 1Symbol 1089 MovieClip
"s1"Symbol 1093 MovieClip {level56} [level56] Frame 1Symbol 1092 MovieClip
"s2"Symbol 1093 MovieClip {level56} [level56] Frame 1Symbol 1042 MovieClip
"t1"Symbol 1095 MovieClip Frame 1Symbol 549 MovieClip
"t2"Symbol 1095 MovieClip Frame 1Symbol 549 MovieClip
"p1"Symbol 1096 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1096 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1096 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1096 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1097 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1097 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1097 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1097 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1098 MovieClip Frame 1Symbol 1095 MovieClip
"def2"Symbol 1098 MovieClip Frame 1Symbol 1096 MovieClip
"def1"Symbol 1098 MovieClip Frame 1Symbol 1097 MovieClip
"g"Symbol 1102 MovieClip Frame 1Symbol 1101 MovieClip
"cir"Symbol 1102 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 1102 MovieClip Frame 1Symbol 743 EditableText
"s1"Symbol 1103 MovieClip {level54} [level54] Frame 1Symbol 1051 MovieClip
"st"Symbol 1103 MovieClip {level54} [level54] Frame 1Symbol 740 MovieClip
"t1"Symbol 1105 MovieClip Frame 1Symbol 549 MovieClip
"p0"Symbol 1106 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1106 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1106 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1107 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1107 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1107 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1108 MovieClip Frame 1Symbol 1105 MovieClip
"def1"Symbol 1108 MovieClip Frame 1Symbol 1106 MovieClip
"def2"Symbol 1108 MovieClip Frame 1Symbol 1107 MovieClip
"p0"Symbol 1111 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1111 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1111 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1111 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1112 MovieClip Frame 1Symbol 1110 MovieClip
"def"Symbol 1112 MovieClip Frame 1Symbol 1111 MovieClip
"t1"Symbol 1114 MovieClip Frame 1Symbol 549 MovieClip
"p0"Symbol 1115 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1115 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1115 MovieClip Frame 1Symbol 465 MovieClip
"p0"Symbol 1116 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1116 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1116 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1117 MovieClip Frame 1Symbol 1114 MovieClip
"def2"Symbol 1117 MovieClip Frame 1Symbol 1115 MovieClip
"def1"Symbol 1117 MovieClip Frame 1Symbol 1116 MovieClip
"p0"Symbol 1120 MovieClip Frame 1Symbol 465 MovieClip
"p1"Symbol 1120 MovieClip Frame 1Symbol 465 MovieClip
"p2"Symbol 1120 MovieClip Frame 1Symbol 465 MovieClip
"p3"Symbol 1120 MovieClip Frame 1Symbol 465 MovieClip
"p4"Symbol 1120 MovieClip Frame 1Symbol 465 MovieClip
"p5"Symbol 1120 MovieClip Frame 1Symbol 465 MovieClip
"g"Symbol 1123 MovieClip Frame 1Symbol 1119 MovieClip
"def3"Symbol 1123 MovieClip Frame 1Symbol 1120 MovieClip
"txt"Symbol 1123 MovieClip Frame 1Symbol 1122 EditableText
"g"Symbol 1126 MovieClip Frame 1Symbol 1125 MovieClip
"cir"Symbol 1126 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 1126 MovieClip Frame 1Symbol 1122 EditableText
"g"Symbol 1129 MovieClip Frame 1Symbol 1128 MovieClip
"cir"Symbol 1129 MovieClip Frame 1Symbol 465 MovieClip
"txt"Symbol 1129 MovieClip Frame 1Symbol 1122 EditableText
"s1"Symbol 1130 MovieClip {level52} [level52] Frame 1Symbol 1108 MovieClip
"st"Symbol 1130 MovieClip {level52} [level52] Frame 1Symbol 1112 MovieClip
"s2"Symbol 1130 MovieClip {level52} [level52] Frame 1Symbol 1117 MovieClip
"g"Symbol 1147 MovieClip {massages_start} [massages_start] Frame 1Symbol 1134 MovieClip
"f"Symbol 1147 MovieClip {massages_start} [massages_start] Frame 1Symbol 1136 MovieClip
"f2"Symbol 1147 MovieClip {massages_start} [massages_start] Frame 1Symbol 1136 MovieClip
"click"Symbol 1147 MovieClip {massages_start} [massages_start] Frame 1Symbol 1138 MovieClip
"put"Symbol 1147 MovieClip {massages_start} [massages_start] Frame 1Symbol 1140 MovieClip
"rotate"Symbol 1147 MovieClip {massages_start} [massages_start] Frame 1Symbol 1144 MovieClip
"dont"Symbol 1147 MovieClip {massages_start} [massages_start] Frame 1Symbol 1146 MovieClip
"g"Symbol 1152 MovieClip {menu_fla.ql2o3_9} [menu_fla.ql2o3_9] Frame 1Symbol 1149 MovieClip
"t1"Symbol 1152 MovieClip {menu_fla.ql2o3_9} [menu_fla.ql2o3_9] Frame 1Symbol 1151 MovieClip
"g"Symbol 1162 MovieClip {menu_fla.ql2o4_17} [menu_fla.ql2o4_17] Frame 1Symbol 1152 MovieClip {menu_fla.ql2o3_9} [menu_fla.ql2o3_9]
"vert"Symbol 1171 MovieClip {menu_fla.gSymbol16_22} [menu_fla.gSymbol16_22] Frame 1Symbol 1170 MovieClip
"vert"Symbol 1175 MovieClip {menu_fla.glift_21} [menu_fla.glift_21] Frame 1Symbol 1171 MovieClip {menu_fla.gSymbol16_22} [menu_fla.gSymbol16_22]
"g"Symbol 1177 MovieClip {menu_fla.qSymbol3_2} [menu_fla.qSymbol3_2] Frame 1Symbol 1152 MovieClip {menu_fla.ql2o3_9} [menu_fla.ql2o3_9]
"g"Symbol 1177 MovieClip {menu_fla.qSymbol3_2} [menu_fla.qSymbol3_2] Frame 1Symbol 1161 MovieClip
"s1"Symbol 1177 MovieClip {menu_fla.qSymbol3_2} [menu_fla.qSymbol3_2] Frame 1Symbol 1162 MovieClip {menu_fla.ql2o4_17} [menu_fla.ql2o4_17]
"g"Symbol 1177 MovieClip {menu_fla.qSymbol3_2} [menu_fla.qSymbol3_2] Frame 55Symbol 1152 MovieClip {menu_fla.ql2o3_9} [menu_fla.ql2o3_9]
"hor"Symbol 1177 MovieClip {menu_fla.qSymbol3_2} [menu_fla.qSymbol3_2] Frame 167Symbol 1175 MovieClip {menu_fla.glift_21} [menu_fla.glift_21]
"vert"Symbol 1177 MovieClip {menu_fla.qSymbol3_2} [menu_fla.qSymbol3_2] Frame 206Symbol 1170 MovieClip
"movie"Symbol 1189 MovieClip {instrukt} [instrukt] Frame 1Symbol 1177 MovieClip {menu_fla.qSymbol3_2} [menu_fla.qSymbol3_2]
"skip"Symbol 1189 MovieClip {instrukt} [instrukt] Frame 1Symbol 1182 MovieClip
"m_play"Symbol 1189 MovieClip {instrukt} [instrukt] Frame 1Symbol 1188 MovieClip
"g"Symbol 1194 MovieClip {HelpBar} [HelpBar] Frame 1Symbol 1193 MovieClip
"help_menu"Symbol 1194 MovieClip {HelpBar} [HelpBar] Frame 1Symbol 386 MovieClip
"anim"Symbol 1404 MovieClip {animation} [animation] Frame 1Symbol 1403 MovieClip {LogoType} [LogoType]

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1458 bytes "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 1000, ScriptTimeout: 60 seconds
ExportAssets (56)Timeline Frame 1Symbol 49 as "PreloaderBar"
ExportAssets (56)Timeline Frame 2Symbol 56 as "kapli"
ExportAssets (56)Timeline Frame 2Symbol 282 as "fail"
ExportAssets (56)Timeline Frame 2Symbol 322 as "geroj"
ExportAssets (56)Timeline Frame 2Symbol 324 as "shnurok"
ExportAssets (56)Timeline Frame 2Symbol 334 as "BackGround"
ExportAssets (56)Timeline Frame 2Symbol 352 as "DynamicMan"
ExportAssets (56)Timeline Frame 2Symbol 366 as "vodolaz2"
ExportAssets (56)Timeline Frame 2Symbol 369 as "stones"
ExportAssets (56)Timeline Frame 2Symbol 394 as "levels"
ExportAssets (56)Timeline Frame 2Symbol 436 as "MainMenuBar"
ExportAssets (56)Timeline Frame 2Symbol 444 as "CreditsBar"
ExportAssets (56)Timeline Frame 2Symbol 460 as "MassagesBar"
ExportAssets (56)Timeline Frame 2Symbol 462 as "ground"
ExportAssets (56)Timeline Frame 2Symbol 473 as "man"
ExportAssets (56)Timeline Frame 2Symbol 489 as "ResultBar"
ExportAssets (56)Timeline Frame 2Symbol 491 as "star"
ExportAssets (56)Timeline Frame 2Symbol 515 as "DisplayBar"
ExportAssets (56)Timeline Frame 2Symbol 521 as "lebidka1"
ExportAssets (56)Timeline Frame 2Symbol 546 as "Total"
ExportAssets (56)Timeline Frame 2Symbol 582 as "level28"
ExportAssets (56)Timeline Frame 2Symbol 622 as "level27"
ExportAssets (56)Timeline Frame 2Symbol 658 as "level4"
ExportAssets (56)Timeline Frame 2Symbol 676 as "level2"
ExportAssets (56)Timeline Frame 2Symbol 693 as "level62"
ExportAssets (56)Timeline Frame 2Symbol 713 as "level44"
ExportAssets (56)Timeline Frame 2Symbol 736 as "level45"
ExportAssets (56)Timeline Frame 2Symbol 755 as "level63"
ExportAssets (56)Timeline Frame 2Symbol 776 as "level46"
ExportAssets (56)Timeline Frame 2Symbol 801 as "level1"
ExportAssets (56)Timeline Frame 2Symbol 835 as "level47"
ExportAssets (56)Timeline Frame 2Symbol 856 as "level40"
ExportAssets (56)Timeline Frame 2Symbol 879 as "llevel49"
ExportAssets (56)Timeline Frame 2Symbol 892 as "level42"
ExportAssets (56)Timeline Frame 2Symbol 931 as "level39"
ExportAssets (56)Timeline Frame 2Symbol 977 as "level12"
ExportAssets (56)Timeline Frame 2Symbol 992 as "level33"
ExportAssets (56)Timeline Frame 2Symbol 1038 as "level35"
ExportAssets (56)Timeline Frame 2Symbol 1047 as "level57"
ExportAssets (56)Timeline Frame 2Symbol 1055 as "level58"
ExportAssets (56)Timeline Frame 2Symbol 1080 as "level55"
ExportAssets (56)Timeline Frame 2Symbol 1093 as "level56"
ExportAssets (56)Timeline Frame 2Symbol 1099 as "level53"
ExportAssets (56)Timeline Frame 2Symbol 1103 as "level54"
ExportAssets (56)Timeline Frame 2Symbol 1130 as "level52"
ExportAssets (56)Timeline Frame 2Symbol 1147 as "massages_start"
ExportAssets (56)Timeline Frame 2Symbol 1189 as "instrukt"
ExportAssets (56)Timeline Frame 2Symbol 333 as "menu_fla.fon_99"
ExportAssets (56)Timeline Frame 2Symbol 351 as "menu_fla.lift_32"
ExportAssets (56)Timeline Frame 2Symbol 1194 as "HelpBar"
ExportAssets (56)Timeline Frame 2Symbol 1201 as "taimer"
ExportAssets (56)Timeline Frame 2Symbol 1404 as "animation"
ExportAssets (56)Timeline Frame 2Symbol 1405 as "drag"
ExportAssets (56)Timeline Frame 2Symbol 1406 as "back"
ExportAssets (56)Timeline Frame 2Symbol 1407 as "click"
ExportAssets (56)Timeline Frame 2Symbol 1408 as "show"
ExportAssets (56)Timeline Frame 2Symbol 1409 as "Crash"
ExportAssets (56)Timeline Frame 2Symbol 1410 as "contact"
ExportAssets (56)Timeline Frame 2Symbol 1411 as "Crash2"
ExportAssets (56)Timeline Frame 2Symbol 1412 as "finish_level"
ExportAssets (56)Timeline Frame 2Symbol 1413 as "waterSPLASH"
ExportAssets (56)Timeline Frame 2Symbol 381 as "menu_fla.levels_bg_58"
ExportAssets (56)Timeline Frame 2Symbol 393 as "menu_fla.1chose_65"
ExportAssets (56)Timeline Frame 2Symbol 406 as "menu_fla.menu_gr1_145"
ExportAssets (56)Timeline Frame 2Symbol 420 as "menu_fla.dbsound_115"
ExportAssets (56)Timeline Frame 2Symbol 425 as "menu_fla.continue_155"
ExportAssets (56)Timeline Frame 2Symbol 442 as "menu_fla.credits_g_138"
ExportAssets (56)Timeline Frame 2Symbol 449 as "menu_fla.MassagesBag_gnew_92"
ExportAssets (56)Timeline Frame 2Symbol 471 as "game_fla.mannncopy_53"
ExportAssets (56)Timeline Frame 2Symbol 480 as "menu_fla.result_g_70"
ExportAssets (56)Timeline Frame 2Symbol 488 as "menu_fla.sabmitscore_75"
ExportAssets (56)Timeline Frame 2Symbol 527 as "menu_fla.Symbol18_80"
ExportAssets (56)Timeline Frame 2Symbol 1177 as "menu_fla.qSymbol3_2"
ExportAssets (56)Timeline Frame 2Symbol 331 as "menu_fla.level_100"
ExportAssets (56)Timeline Frame 2Symbol 346 as "menu_fla.Symbol16_33"
ExportAssets (56)Timeline Frame 2Symbol 1403 as "LogoType"
ExportAssets (56)Timeline Frame 2Symbol 1152 as "menu_fla.ql2o3_9"
ExportAssets (56)Timeline Frame 2Symbol 1162 as "menu_fla.ql2o4_17"
ExportAssets (56)Timeline Frame 2Symbol 1175 as "menu_fla.glift_21"
ExportAssets (56)Timeline Frame 2Symbol 345 as "menu_fla.Symbol9q_34"
ExportAssets (56)Timeline Frame 2Symbol 1171 as "menu_fla.gSymbol16_22"
ExportAssets (56)Timeline Frame 2Symbol 343 as "Symbol14q"
SerialNumber (41)Timeline Frame 1

Labels

"Preloader"Frame 1
"Main"Frame 2




http://swfchan.com/24/116591/info.shtml
Created: 8/3 -2019 16:20:35 Last modified: 8/3 -2019 16:20:35 Server time: 22/12 -2024 10:41:46