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

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

Star Puzzler.swf

This is the info page for
Flash #46505

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


Text
Play more games!

Start!

Try to use the "tool"
from before to solve this one!

Try to select the new tool,
click on the box and then on the star.
Try then to make the star "moveable"
with the first tool!

Yay! Continue..

UNLOCKED
NEW TOOL!

Blue boxes moves when hitted.
You can't use tools on blue boxes.

Every 5th level you complete, you'll gain a level skip. Use it
when you can't get past a level.

Skip level?

Motors can be used on boxes too.
( HINT HINT!)

A bit obvious, don't you think?

You CAN use tools at runtime..!

This looks complicated
doesn't it?

You can't make the arrow and the star
bouncy, but you can make the ground bouncy...

This looks too easy right?

Click where you *think* there's a box,
and it will become visible.

Levels with invisible boxes will most of the time
look like a level you've played earlier.
A bit different though.

Sometimes you even have a chance to guess
where's there's a box.

CAN YOU BEAT THIS FINAL LEVEL?!?!?!?

CONGRATULATIONS! YOU WON!!!

Now, remember to take a screenshot
to prove to all your friends that
you really beated this game!
Meanwhile, play more games on Notdoppler.com!
Oh..
And next time you open up this game,
you can play whatever level you want!!

Loading... Please wait...
If the page is not loading,
please reload the page (F5).

not

DOPPLER

Try Again?!

Next Level

Time score:
Level score:
Total score:

Play more games!

Choose a level!

01

02

03

04

05

06

07

08

09

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

38

39

40

41

42

43

44

45

46

47

48

49

50

Fire Arrow!

ActionScript [AS3]

Section 1
//b2CircleDef (Box2D.Collision.Shapes.b2CircleDef) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; public class b2CircleDef extends b2ShapeDef { public var localPosition:b2Vec2; public var radius:Number; 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.Common.Math.*; import Box2D.Collision.*; import Box2D.Common.*; public class b2CircleShape extends b2Shape { public var m_radius:Number; public var m_localPosition:b2Vec2; public function b2CircleShape(_arg1:b2ShapeDef){ var _local2:b2CircleDef; m_localPosition = new b2Vec2(); super(_arg1); _local2 = (_arg1 as b2CircleDef); m_type = e_circleShape; m_localPosition.SetV(_local2.localPosition); m_radius = _local2.radius; } override public function TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ var _local3:b2Mat22; var _local4:Number; var _local5:Number; _local3 = _arg1.R; _local4 = (_arg1.position.x + ((_local3.col1.x * m_localPosition.x) + (_local3.col2.x * m_localPosition.y))); _local5 = (_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))); } public function GetLocalPosition():b2Vec2{ return (m_localPosition); } override public function TestSegment(_arg1:b2XForm, _arg2:Array, _arg3:b2Vec2, _arg4:b2Segment, _arg5:Number):Boolean{ var _local6:b2Mat22; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; _local6 = _arg1.R; _local7 = (_arg1.position.x + ((_local6.col1.x * m_localPosition.x) + (_local6.col2.x * m_localPosition.y))); _local8 = (_arg1.position.x + ((_local6.col1.y * m_localPosition.x) + (_local6.col2.y * m_localPosition.y))); _local9 = (_arg4.p1.x - _local7); _local10 = (_arg4.p1.y - _local8); _local11 = (((_local9 * _local9) + (_local10 * _local10)) - (m_radius * m_radius)); if (_local11 < 0){ return (false); }; _local12 = (_arg4.p2.x - _arg4.p1.x); _local13 = (_arg4.p2.y - _arg4.p1.y); _local14 = ((_local9 * _local12) + (_local10 * _local13)); _local15 = ((_local12 * _local12) + (_local13 * _local13)); _local16 = ((_local14 * _local14) - (_local15 * _local11)); if ((((_local16 < 0)) || ((_local15 < Number.MIN_VALUE)))){ return (false); }; _local17 = -((_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); } 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 ComputeSweptAABB(_arg1:b2AABB, _arg2:b2XForm, _arg3:b2XForm):void{ var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local4 = _arg2.R; _local5 = (_arg2.position.x + ((_local4.col1.x * m_localPosition.x) + (_local4.col2.x * m_localPosition.y))); _local6 = (_arg2.position.y + ((_local4.col1.y * m_localPosition.x) + (_local4.col2.y * m_localPosition.y))); _local4 = _arg3.R; _local7 = (_arg3.position.x + ((_local4.col1.x * m_localPosition.x) + (_local4.col2.x * m_localPosition.y))); _local8 = (_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)); } public function GetRadius():Number{ return (m_radius); } override public function UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:Number; var _local3:Number; _local2 = (m_localPosition.x - _arg1.x); _local3 = (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; var _local4:Number; var _local5:Number; _local3 = _arg2.R; _local4 = (_arg2.position.x + ((_local3.col1.x * m_localPosition.x) + (_local3.col2.x * m_localPosition.y))); _local5 = (_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)); } } }//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 b2FilterData(){ categoryBits = 1; maskBits = 0xFFFF; groupIndex = 0; super(); } public function Copy():b2FilterData{ var _local1:b2FilterData; _local1 = 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(){ mass = 0; center = new b2Vec2(0, 0); I = 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 vertexCount:int; public var vertices:Array; private static var s_mat:b2Mat22 = new b2Mat22(); public function b2PolygonDef(){ var _local1:int; vertices = new Array(b2Settings.b2_maxPolygonVertices); super(); type = b2Shape.e_polygonShape; vertexCount = 0; _local1 = 0; 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.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; public class b2PolygonShape extends b2Shape { public var m_vertices:Array; public var m_normals:Array; private var s_supportVec:b2Vec2; public var m_obb:b2OBB; public var m_coreVertices:Array; public var m_centroid:b2Vec2; 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 _local2:b2PolygonDef; var _local3:int; var _local4:int; var _local5: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; _local2 = (_arg1 as b2PolygonDef); m_vertexCount = _local2.vertexCount; _local4 = _local3; _local5 = _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 TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ var _local3:b2Vec2; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:int; var _local10:Number; _local4 = _arg1.R; _local5 = (_arg2.x - _arg1.position.x); _local6 = (_arg2.y - _arg1.position.y); _local7 = ((_local5 * _local4.col1.x) + (_local6 * _local4.col1.y)); _local8 = ((_local5 * _local4.col2.x) + (_local6 * _local4.col2.y)); _local9 = 0; 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 function GetCoreVertices():Array{ return (m_coreVertices); } override public function TestSegment(_arg1:b2XForm, _arg2:Array, _arg3:b2Vec2, _arg4:b2Segment, _arg5:Number):Boolean{ 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 _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:int; var _local19:int; var _local20:Number; var _local21:Number; _local6 = 0; _local7 = _arg5; _local8 = (_arg4.p1.x - _arg1.position.x); _local9 = (_arg4.p1.y - _arg1.position.y); _local10 = _arg1.R; _local12 = ((_local8 * _local10.col1.x) + (_local9 * _local10.col1.y)); _local13 = ((_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; _local14 = ((_local8 * _local10.col1.x) + (_local9 * _local10.col1.y)); _local15 = ((_local8 * _local10.col2.x) + (_local9 * _local10.col2.y)); _local16 = (_local14 - _local12); _local17 = (_local15 - _local13); _local18 = -1; _local19 = 0; 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); } public function GetCentroid():b2Vec2{ return (m_centroid); } override public function ComputeMass(_arg1:b2MassData):void{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:int; 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; _local2 = 0; _local3 = 0; _local4 = 0; _local5 = 0; _local6 = 0; _local7 = 0; _local8 = (1 / 3); _local9 = 0; 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 Support(_arg1:b2XForm, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:b2Vec2; var _local5:b2Mat22; var _local6:Number; var _local7:Number; var _local8:int; var _local9:Number; var _local10:int; var _local11:Number; _local5 = _arg1.R; _local6 = ((_arg2 * _local5.col1.x) + (_arg3 * _local5.col1.y)); _local7 = ((_arg2 * _local5.col2.x) + (_arg3 * _local5.col2.y)); _local8 = 0; _local4 = m_coreVertices[0]; _local9 = ((_local4.x * _local6) + (_local4.y * _local7)); _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 ComputeSweptAABB(_arg1:b2AABB, _arg2:b2XForm, _arg3:b2XForm):void{ var _local4:b2AABB; var _local5:b2AABB; _local4 = s_sweptAABB1; _local5 = 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 GetNormals():Array{ return (m_normals); } 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 UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:b2Vec2; var _local3:int; var _local4:Number; var _local5:Number; m_sweepRadius = 0; _local3 = 0; 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 ComputeAABB(_arg1:b2AABB, _arg2:b2XForm):void{ var _local3:b2Mat22; var _local4:b2Vec2; var _local5:b2Mat22; var _local6:b2Mat22; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; _local5 = 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(); _local6 = _local5; _local4 = m_obb.extents; _local7 = ((_local6.col1.x * _local4.x) + (_local6.col2.x * _local4.y)); _local8 = ((_local6.col1.y * _local4.x) + (_local6.col2.y * _local4.y)); _local3 = _arg2.R; _local4 = m_obb.center; _local9 = (_arg2.position.x + ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y))); _local10 = (_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)); } public static function ComputeCentroid(_arg1:Array, _arg2:int):b2Vec2{ var _local3:b2Vec2; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:int; 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(); _local4 = 0; _local5 = 0; _local6 = 0; _local7 = (1 / 3); _local8 = 0; 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 _local5:Array; var _local6:Number; 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; _local5 = new Array((b2Settings.b2_maxPolygonVertices + 1)); _local4 = 0; while (_local4 < _arg3) { _local5[_local4] = _arg2[_local4]; _local4++; }; _local5[_arg3] = _local5[0]; _local6 = 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.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; public class 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_next:b2Shape; public var m_restitution:Number; public var m_userData; public var m_isSensor:Boolean; 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 TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ return (false); } 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{ var _local3:b2AABB; var _local4:Boolean; if (m_proxyId == b2Pair.b2_nullProxy){ return; }; _arg1.DestroyProxy(m_proxyId); _local3 = s_resetAABB; ComputeAABB(_local3, _arg2); _local4 = _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{ var _local4:b2AABB; if (m_proxyId == b2Pair.b2_nullProxy){ return (false); }; _local4 = 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; var _local4:Boolean; _local3 = s_proxyAABB; ComputeAABB(_local3, _arg2); _local4 = _arg1.InRange(_local3); if (_local4){ m_proxyId = _arg1.CreateProxy(_local3, this); } else { m_proxyId = b2Pair.b2_nullProxy; }; } public function SetUserData(_arg1):void{ m_userData = _arg1; } 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 isSensor:Boolean;// = false public var density:Number;// = 0 public var type:int; public var restitution:Number;// = 0 public var userData;// = null public var filter:b2FilterData; public var friction:Number;// = 0.2 public function b2ShapeDef(){ type = b2Shape.e_unknownShape; userData = null; friction = 0.2; restitution = 0; density = 0; isSensor = false; 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; var _local2:Number; var _local3:Boolean; _local1 = (upperBound.x - lowerBound.x); _local2 = (upperBound.y - lowerBound.y); _local3 = (((_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 proxyId:uint; public var stabbingCount:uint; public var value:uint; public function Swap(_arg1:b2Bound):void{ var _local2:uint; var _local3:uint; var _local4:uint; _local2 = value; _local3 = proxyId; _local4 = stabbingCount; value = _arg1.value; proxyId = _arg1.proxyId; stabbingCount = _arg1.stabbingCount; _arg1.value = _local2; _arg1.proxyId = _local3; _arg1.stabbingCount = _local4; } public function IsLower():Boolean{ return (((value & 1) == 0)); } public function IsUpper():Boolean{ return (((value & 1) == 1)); } } }//package Box2D.Collision
Section 11
//b2BoundValues (Box2D.Collision.b2BoundValues) package Box2D.Collision { public class b2BoundValues { public var lowerValues:Array; public var upperValues:Array; public function b2BoundValues(){ lowerValues = [0, 0]; upperValues = [0, 0]; super(); } } }//package Box2D.Collision
Section 12
//b2BroadPhase (Box2D.Collision.b2BroadPhase) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2BroadPhase { public var m_quantizationFactor:b2Vec2; public var m_worldAABB:b2AABB; public var m_bounds:Array; public var m_freeProxy:uint; public var m_proxyCount:int; public var m_proxyPool:Array; public var m_queryResultCount:int; public var m_pairManager:b2PairManager; public var m_timeStamp:uint; public var m_queryResults:Array; public static const b2_nullEdge:uint = b2Settings.USHRT_MAX; public static const b2_invalid:uint = b2Settings.USHRT_MAX; public static var s_validate:Boolean = false; public function b2BroadPhase(_arg1:b2AABB, _arg2:b2PairCallback){ var _local3:int; var _local4:Number; var _local5:Number; var _local6:b2Proxy; var _local7:int; m_pairManager = new b2PairManager(); m_proxyPool = new Array(b2Settings.b2_maxPairs); m_bounds = new Array((2 * b2Settings.b2_maxProxies)); m_queryResults = new Array(b2Settings.b2_maxProxies); m_quantizationFactor = new b2Vec2(); super(); m_pairManager.Initialize(this, _arg2); m_worldAABB = _arg1; m_proxyCount = 0; _local3 = 0; while (_local3 < b2Settings.b2_maxProxies) { m_queryResults[_local3] = 0; _local3++; }; m_bounds = new Array(2); _local3 = 0; while (_local3 < 2) { m_bounds[_local3] = new Array((2 * b2Settings.b2_maxProxies)); _local7 = 0; while (_local7 < (2 * b2Settings.b2_maxProxies)) { m_bounds[_local3][_local7] = new b2Bound(); _local7++; }; _local3++; }; _local4 = (_arg1.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 _local4:Array; var _local5:Array; var _local6:uint; var _local7:uint; var _local8:Array; var _local9:Array; var _local10:int; var _local11:int; var _local12:b2Proxy; _local4 = new Array(); _local5 = new Array(); ComputeBounds(_local4, _local5, _arg1); _local8 = [_local6]; _local9 = [_local7]; Query(_local8, _local9, _local4[0], _local5[0], m_bounds[0], (2 * m_proxyCount), 0); Query(_local8, _local9, _local4[1], _local5[1], m_bounds[1], (2 * m_proxyCount), 1); _local10 = 0; _local11 = 0; while ((((_local11 < m_queryResultCount)) && ((_local10 < _arg3)))) { _local12 = m_proxyPool[m_queryResults[_local11]]; _arg2[_local11] = _local12.userData; _local11++; _local10++; }; m_queryResultCount = 0; IncrementTimeStamp(); return (_local10); } public function Commit():void{ m_pairManager.Commit(); } public function GetProxy(_arg1:int):b2Proxy{ var _local2:b2Proxy; _local2 = 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 _local8:uint; var _local9:uint; var _local10:b2Bound; var _local11:uint; var _local12:int; var _local13:int; var _local14:b2Proxy; _local8 = BinarySearch(_arg5, _arg6, _arg3); _local9 = BinarySearch(_arg5, _arg6, _arg4); _local11 = _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 _local3:int; var _local4:Array; var _local5:b2Bound; var _local6:b2Bound; _local3 = 0; 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; var _local5:Number; var _local6:Number; var _local7:Number; _local4 = _arg3.lowerBound.x; _local5 = _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); _local6 = _arg3.upperBound.x; _local7 = _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 _local5:uint; var _local6:uint; var _local7:Array; var _local8:Array; var _local9:int; var _local10:int; var _local11:Array; var _local12:uint; var _local13:uint; var _local14:Array; var _local15:Array; var _local16:Array; var _local17:int; var _local18:int; var _local19:b2Bound; var _local20:b2Bound; var _local21:b2Bound; var _local22:int; var _local23:b2Proxy; _local5 = m_freeProxy; _local4 = m_proxyPool[_local5]; m_freeProxy = _local4.GetNext(); _local4.overlapCount = 0; _local4.userData = _arg2; _local6 = (2 * m_proxyCount); _local7 = new Array(); _local8 = new Array(); ComputeBounds(_local7, _local8, _arg1); _local9 = 0; while (_local9 < 2) { _local11 = m_bounds[_local9]; _local14 = [_local12]; _local15 = [_local13]; Query(_local14, _local15, _local7[_local9], _local8[_local9], _local11, _local6, _local9); _local12 = _local14[0]; _local13 = _local15[0]; _local16 = new Array(); _local18 = (_local6 - _local13); _local17 = 0; while (_local17 < _local18) { _local16[_local17] = new b2Bound(); _local19 = _local16[_local17]; _local20 = _local11[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++; _local10 = 0; while (_local10 < m_queryResultCount) { m_pairManager.AddBufferedPair(_local5, m_queryResults[_local10]); _local10++; }; m_pairManager.Commit(); m_queryResultCount = 0; IncrementTimeStamp(); return (_local5); } public function DestroyProxy(_arg1:uint):void{ var _local2:b2Bound; var _local3:b2Bound; var _local4:b2Proxy; var _local5:int; var _local6:int; var _local7:int; 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; _local4 = m_proxyPool[_arg1]; _local5 = (2 * m_proxyCount); _local6 = 0; 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++; }; _local7 = 0; 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 _local3:int; var _local4:Array; var _local5:b2Bound; _local3 = 0; 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 _local5:int; var _local6:b2Bound; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:b2Bound; _local5 = 0; while (_local5 < 2) { _local6 = m_bounds[_local5]; _local7 = (2 * m_proxyCount); _local8 = 0; _local9 = 0; while (_local9 < _local7) { _local10 = _local6[_local9]; if (_local10.IsLower() == true){ _local8++; } else { _local8--; }; _local9++; }; _local5++; }; } private function IncrementOverlapCount(_arg1:uint):void{ var _local2:b2Proxy; _local2 = m_proxyPool[_arg1]; if (_local2.timeStamp < m_timeStamp){ _local2.timeStamp = m_timeStamp; _local2.overlapCount = 1; } else { _local2.overlapCount = 2; m_queryResults[m_queryResultCount] = _arg1; m_queryResultCount++; }; } public function InRange(_arg1:b2AABB):Boolean{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = _arg1.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 _local12:uint; var _local13:b2Proxy; var _local14:b2BoundValues; var _local15:b2BoundValues; 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; }; _local12 = (2 * m_proxyCount); _local13 = m_proxyPool[_arg1]; _local14 = new b2BoundValues(); ComputeBounds(_local14.lowerValues, _local14.upperValues, _arg2); _local15 = 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 _local4:int; var _local5:int; var _local6:int; var _local7:b2Bound; _local4 = 0; _local5 = (_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.Collision.Shapes.*; import Box2D.Common.Math.*; 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 _local6:int; var _local7:Array; var _local8:Array; var _local9:int; var _local10:Array; var _local11:b2Mat22; var _local12:b2Vec2; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:int; var _local18:Number; var _local19:int; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; _local6 = _arg1.m_vertexCount; _local7 = _arg1.m_vertices; _local8 = _arg1.m_normals; _local9 = _arg4.m_vertexCount; _local10 = _arg4.m_vertices; _local11 = _arg2.R; _local12 = _local8[_arg3]; _local13 = ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y)); _local14 = ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y)); _local11 = _arg5.R; _local15 = ((_local11.col1.x * _local13) + (_local11.col1.y * _local14)); _local16 = ((_local11.col2.x * _local13) + (_local11.col2.y * _local14)); _local17 = 0; _local18 = Number.MAX_VALUE; _local19 = 0; 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; _local20 = (_arg2.position.x + ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y))); _local21 = (_arg2.position.y + ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y))); _local12 = _local10[_local17]; _local11 = _arg5.R; _local22 = (_arg5.position.x + ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y))); _local23 = (_arg5.position.y + ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y))); _local22 = (_local22 - _local20); _local23 = (_local23 - _local21); _local24 = ((_local22 * _local13) + (_local23 * _local14)); return (_local24); } public static function b2TestOverlap(_arg1:b2AABB, _arg2:b2AABB):Boolean{ var _local3:b2Vec2; var _local4:b2Vec2; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local3 = _arg2.lowerBound; _local4 = _arg1.upperBound; _local5 = (_local3.x - _local4.x); _local6 = (_local3.y - _local4.y); _local3 = _arg1.lowerBound; _local4 = _arg2.upperBound; _local7 = (_local3.x - _local4.x); _local8 = (_local3.y - _local4.y); if ((((_local5 > 0)) || ((_local6 > 0)))){ return (false); }; if ((((_local7 > 0)) || ((_local8 > 0)))){ return (false); }; return (true); } public static function FindIncidentEdge(_arg1:Array, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:int, _arg5:b2PolygonShape, _arg6:b2XForm):void{ var _local7:int; var _local8:Array; var _local9:int; var _local10:Array; var _local11:Array; var _local12:b2Mat22; var _local13:b2Vec2; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:int; var _local18:Number; var _local19:int; var _local20:ClipVertex; var _local21:int; var _local22:int; var _local23:Number; _local7 = _arg2.m_vertexCount; _local8 = _arg2.m_normals; _local9 = _arg5.m_vertexCount; _local10 = _arg5.m_vertices; _local11 = _arg5.m_normals; _local12 = _arg3.R; _local13 = _local8[_arg4]; _local14 = ((_local12.col1.x * _local13.x) + (_local12.col2.x * _local13.y)); _local15 = ((_local12.col1.y * _local13.x) + (_local12.col2.y * _local13.y)); _local12 = _arg6.R; _local16 = ((_local12.col1.x * _local14) + (_local12.col1.y * _local15)); _local15 = ((_local12.col2.x * _local14) + (_local12.col2.y * _local15)); _local14 = _local16; _local17 = 0; _local18 = Number.MAX_VALUE; _local19 = 0; while (_local19 < _local9) { _local13 = _local11[_local19]; _local23 = ((_local14 * _local13.x) + (_local15 * _local13.y)); if (_local23 < _local18){ _local18 = _local23; _local17 = _local19; }; _local19++; }; _local21 = _local17; _local22 = (((_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 _local7:int; var _local8:Array; var _local9:Number; var _local10:int; var _local11:Array; var _local12:Number; var _local13:b2PolygonShape; var _local14:b2PolygonShape; var _local15:b2XForm; var _local16:b2XForm; var _local17:int; var _local18:uint; var _local19:Number; var _local20:Number; var _local21:Array; var _local22:int; var _local23:Array; var _local24:b2Vec2; var _local25:b2Vec2; var _local26:b2Vec2; var _local27:b2Vec2; var _local28:b2Vec2; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Array; var _local33:Array; var _local34:int; var _local35:int; var _local36:int; var _local37:b2Vec2; var _local38:Number; var _local39:b2ManifoldPoint; _arg1.pointCount = 0; _local7 = 0; _local8 = [_local7]; _local9 = FindMaxSeparation(_local8, _arg2, _arg3, _arg4, _arg5); _local7 = _local8[0]; if (_local9 > 0){ return; }; _local10 = 0; _local11 = [_local10]; _local12 = FindMaxSeparation(_local11, _arg4, _arg5, _arg2, _arg3); _local10 = _local11[0]; if (_local12 > 0){ return; }; _local15 = new b2XForm(); _local16 = new b2XForm(); _local19 = 0.98; _local20 = 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; }; _local21 = [new ClipVertex(), new ClipVertex()]; FindIncidentEdge(_local21, _local13, _local15, _local17, _local14, _local16); _local22 = _local13.m_vertexCount; _local23 = _local13.m_vertices; _local24 = _local23[_local17]; _local25 = _local24.Copy(); if ((_local17 + 1) < _local22){ _local24 = _local23[int((_local17 + 1))]; _local37 = _local24.Copy(); } else { _local24 = _local23[0]; _local37 = _local24.Copy(); }; _local26 = b2Math.SubtractVV(_local37, _local25); _local27 = b2Math.b2MulMV(_local15.R, b2Math.SubtractVV(_local37, _local25)); _local27.Normalize(); _local28 = b2Math.b2CrossVF(_local27, 1); _local25 = b2Math.b2MulX(_local15, _local25); _local37 = b2Math.b2MulX(_local15, _local37); _local29 = b2Math.b2Dot(_local28, _local25); _local30 = -(b2Math.b2Dot(_local27, _local25)); _local31 = b2Math.b2Dot(_local27, _local37); _local32 = [new ClipVertex(), new ClipVertex()]; _local33 = [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(); _local35 = 0; _local36 = 0; 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 _local6:int; var _local7:Array; var _local8:b2Vec2; var _local9:b2Mat22; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:int; var _local15:Number; var _local16:int; var _local17:Number; var _local18:int; var _local19:Number; var _local20:int; var _local21:Number; var _local22:int; var _local23:Number; var _local24:int; var _local25:Number; _local6 = _arg2.m_vertexCount; _local7 = _arg2.m_normals; _local9 = _arg5.R; _local8 = _arg4.m_centroid; _local10 = (_arg5.position.x + ((_local9.col1.x * _local8.x) + (_local9.col2.x * _local8.y))); _local11 = (_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)))); _local12 = ((_local10 * _arg3.R.col1.x) + (_local11 * _arg3.R.col1.y)); _local13 = ((_local10 * _arg3.R.col2.x) + (_local11 * _arg3.R.col2.y)); _local14 = 0; _local15 = -(Number.MAX_VALUE); _local16 = 0; while (_local16 < _local6) { _local8 = _local7[_local16]; _local25 = ((_local8.x * _local12) + (_local8.y * _local13)); if (_local25 > _local15){ _local15 = _local25; _local14 = _local16; }; _local16++; }; _local17 = EdgeSeparation(_arg2, _arg3, _local14, _arg4, _arg5); if (_local17 > 0){ return (_local17); }; _local18 = (((_local14 - 1) >= 0)) ? (_local14 - 1) : (_local6 - 1); _local19 = EdgeSeparation(_arg2, _arg3, _local18, _arg4, _arg5); if (_local19 > 0){ return (_local19); }; _local20 = (((_local14 + 1) < _local6)) ? (_local14 + 1) : 0; _local21 = 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 _local10: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); _local10 = (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 _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:b2ManifoldPoint; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; _arg1.pointCount = 0; _local6 = _arg3.R; _local7 = _arg2.m_localPosition; _local8 = (_arg3.position.x + ((_local6.col1.x * _local7.x) + (_local6.col2.x * _local7.y))); _local9 = (_arg3.position.y + ((_local6.col1.y * _local7.x) + (_local6.col2.y * _local7.y))); _local6 = _arg5.R; _local7 = _arg4.m_localPosition; _local10 = (_arg5.position.x + ((_local6.col1.x * _local7.x) + (_local6.col2.x * _local7.y))); _local11 = (_arg5.position.y + ((_local6.col1.y * _local7.x) + (_local6.col2.y * _local7.y))); _local12 = (_local10 - _local8); _local13 = (_local11 - _local9); _local14 = ((_local12 * _local12) + (_local13 * _local13)); _local15 = _arg2.m_radius; _local16 = _arg4.m_radius; _local17 = (_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; _local19 = _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)); _local20 = (0.5 * (_local8 + _local10)); _local21 = (0.5 * (_local9 + _local11)); _local22 = (_local20 - _arg3.position.x); _local23 = (_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 _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:int; var _local19:Number; var _local20:Number; var _local21:int; var _local22:Array; var _local23:Array; var _local24:int; var _local25:int; var _local26:int; var _local27:b2Vec2; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; _arg1.pointCount = 0; _local12 = _arg5.R; _local11 = _arg4.m_localPosition; _local13 = (_arg5.position.x + ((_local12.col1.x * _local11.x) + (_local12.col2.x * _local11.y))); _local14 = (_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; _local15 = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local16 = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local18 = 0; _local19 = -(Number.MAX_VALUE); _local20 = _arg4.m_radius; _local21 = _arg2.m_vertexCount; _local22 = _arg2.m_vertices; _local23 = _arg2.m_normals; _local24 = 0; 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; }; _local25 = _local18; _local26 = (((_local25 + 1) < _local21)) ? (_local25 + 1) : 0; _local11 = _local22[_local25]; _local27 = _local22[_local26]; _local28 = (_local27.x - _local11.x); _local29 = (_local27.y - _local11.y); _local30 = Math.sqrt(((_local28 * _local28) + (_local29 * _local29))); _local28 = (_local28 / _local30); _local29 = (_local29 / _local30); _local7 = (_local15 - _local11.x); _local8 = (_local16 - _local11.y); _local31 = ((_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; _local1 = new b2ContactID(); _local1.key = key; return (_local1); } public function get key():uint{ return (_key); } public function set key(_arg1:uint):void{ _key = _arg1; features._referenceEdge = (_key & 0xFF); features._incidentEdge = (((_key & 0xFF00) >> 8) & 0xFF); features._incidentVertex = (((_key & 0xFF0000) >> 16) & 0xFF); features._flip = (((_key & 4278190080) >> 24) & 0xFF); } } }//package Box2D.Collision
Section 16
//b2ContactPoint (Box2D.Collision.b2ContactPoint) package Box2D.Collision { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; public class b2ContactPoint { 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 friction:Number; 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.Collision.Shapes.*; import Box2D.Common.Math.*; 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 _local4:Number; var _local5:int; var _local6:b2Vec2; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; _local4 = (100 * Number.MIN_VALUE); _local5 = 0; 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 _local8:Array; var _local9:Array; var _local10:Array; var _local11:int; var _local12:Number; var _local13:int; var _local14:int; 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; _local8 = s_p1s; _local9 = s_p2s; _local10 = s_points; _local11 = 0; _arg1.SetV(_arg3.GetFirstVertex(_arg4)); _arg2.SetV(_arg5.GetFirstVertex(_arg6)); _local12 = 0; _local13 = 20; _local14 = 0; 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 _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; _local7 = _arg4.R; _local8 = _arg3.m_localPosition; _local9 = (_arg4.position.x + ((_local7.col1.x * _local8.x) + (_local7.col2.x * _local8.y))); _local10 = (_arg4.position.y + ((_local7.col1.y * _local8.x) + (_local7.col2.y * _local8.y))); _local7 = _arg6.R; _local8 = _arg5.m_localPosition; _local11 = (_arg6.position.x + ((_local7.col1.x * _local8.x) + (_local7.col2.x * _local8.y))); _local12 = (_arg6.position.y + ((_local7.col1.y * _local8.x) + (_local7.col2.y * _local8.y))); _local13 = (_local11 - _local9); _local14 = (_local12 - _local10); _local15 = ((_local13 * _local13) + (_local14 * _local14)); _local16 = (_arg3.m_radius - b2Settings.b2_toiSlop); _local17 = (_arg5.m_radius - b2Settings.b2_toiSlop); _local18 = (_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 _local14:b2Vec2; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; 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; _local6 = _arg5[0]; _local7 = _arg5[1]; _local8 = _arg5[2]; _local9 = _arg3[0]; _local10 = _arg3[1]; _local11 = _arg3[2]; _local12 = _arg4[0]; _local13 = _arg4[1]; _local14 = _arg4[2]; _local15 = _local6.x; _local16 = _local6.y; _local17 = _local7.x; _local18 = _local7.y; _local19 = _local8.x; _local20 = _local8.y; _local21 = (_local17 - _local15); _local22 = (_local18 - _local16); _local23 = (_local19 - _local15); _local24 = (_local20 - _local16); _local25 = (_local19 - _local17); _local26 = (_local20 - _local18); _local27 = -(((_local15 * _local21) + (_local16 * _local22))); _local28 = ((_local17 * _local21) + (_local18 * _local22)); _local29 = -(((_local15 * _local23) + (_local16 * _local24))); _local30 = ((_local19 * _local23) + (_local20 * _local24)); _local31 = -(((_local17 * _local25) + (_local18 * _local26))); _local32 = ((_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); }; _local33 = ((_local21 * _local24) - (_local22 * _local23)); _local34 = (_local33 * ((_local15 * _local18) - (_local16 * _local17))); _local36 = (_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); }; _local37 = (_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); }; _local38 = ((_local36 + _local37) + _local34); _local38 = (1 / _local38); _local39 = (_local36 * _local38); _local40 = (_local37 * _local38); _local41 = ((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 _local9:b2Point; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local9 = 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))); _local10 = DistanceGeneric(_arg1, _arg2, _arg3, _arg4, _local9, b2Math.b2XForm_identity); _local11 = (_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; var _local8:int; _local7 = _arg3.m_type; _local8 = _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 _local6:b2Vec2; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:b2Vec2; var _local10:b2Vec2; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; _local6 = _arg5[0]; _local7 = _arg5[1]; _local8 = _arg3[0]; _local9 = _arg3[1]; _local10 = _arg4[0]; _local11 = _arg4[1]; _local12 = -(_local7.x); _local13 = -(_local7.y); _local14 = (_local6.x - _local7.x); _local15 = (_local6.y - _local7.y); _local16 = 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 points:Array; public var pointCount:int;// = 0 public var normal:b2Vec2; public function b2Manifold(){ var _local1:int; pointCount = 0; super(); points = new Array(b2Settings.b2_maxManifoldPoints); _local1 = 0; while (_local1 < b2Settings.b2_maxManifoldPoints) { points[_local1] = new b2ManifoldPoint(); _local1++; }; normal = new b2Vec2(); } public function Set(_arg1:b2Manifold):void{ var _local2:int; pointCount = _arg1.pointCount; _local2 = 0; 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; _local1 = 0; 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 userData;// = null public var proxyId1:uint; public var proxyId2:uint; public var status:uint; public var next:uint; public static var e_pairFinal:uint = 4; public static var b2_tableMask:int = (b2_tableCapacity - 1); public static var e_pairRemoved:uint = 2; public static var b2_nullPair:uint = 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 b2Pair(){ userData = null; super(); } public function SetBuffered():void{ status = (status | e_pairBuffered); } public function IsBuffered():Boolean{ return (((status & e_pairBuffered) == e_pairBuffered)); } public function IsFinal():Boolean{ return (((status & e_pairFinal) == e_pairFinal)); } public function ClearRemoved():void{ status = (status & ~(e_pairRemoved)); } public function SetFinal():void{ status = (status | e_pairFinal); } public function IsRemoved():Boolean{ return (((status & e_pairRemoved) == e_pairRemoved)); } public function ClearBuffered():void{ status = (status & ~(e_pairBuffered)); } public function SetRemoved():void{ status = (status | e_pairRemoved); } } }//package Box2D.Collision
Section 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_callback:b2PairCallback; public var m_pairs:Array; public var m_pairBufferCount:int; public var m_hashTable:Array; public var m_broadPhase:b2BroadPhase; public var m_freePair:uint; public function b2PairManager(){ var _local1:uint; super(); m_hashTable = new Array(b2Pair.b2_tableCapacity); _local1 = 0; while (_local1 < b2Pair.b2_tableCapacity) { m_hashTable[_local1] = b2Pair.b2_nullPair; _local1++; }; m_pairs = new Array(b2Settings.b2_maxPairs); _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairs[_local1] = new b2Pair(); _local1++; }; m_pairBuffer = new Array(b2Settings.b2_maxPairs); _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairBuffer[_local1] = new b2BufferedPair(); _local1++; }; _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairs[_local1].proxyId1 = b2Pair.b2_nullProxy; m_pairs[_local1].proxyId2 = b2Pair.b2_nullProxy; m_pairs[_local1].userData = null; m_pairs[_local1].status = 0; m_pairs[_local1].next = (_local1 + 1); _local1++; }; m_pairs[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; _local5 = 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 _local3:uint; var _local4:uint; if (_arg1 > _arg2){ _local4 = _arg1; _arg1 = _arg2; _arg2 = _local4; }; _local3 = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); return (FindHash(_arg1, _arg2, _local3)); } private function ValidateBuffer():void{ } public function Commit():void{ var _local1:b2BufferedPair; var _local2:int; var _local3:int; var _local4:Array; var _local5:b2Pair; var _local6:b2Proxy; var _local7:b2Proxy; _local3 = 0; _local4 = 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; _local4 = 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 _local4:uint; var _local5:uint; var _local6:b2Pair; var _local7:uint; var _local8:uint; var _local9:*; if (_arg1 > _arg2){ _local7 = _arg1; _arg1 = _arg2; _arg2 = _local7; }; _local4 = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); _local5 = m_hashTable[_local4]; _local6 = null; 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; _local4 = 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 _local3:uint; var _local4:b2Pair; var _local5:uint; var _local6:uint; if (_arg1 > _arg2){ _local6 = _arg1; _arg1 = _arg2; _arg2 = _local6; }; _local3 = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); _local4 = FindHash(_arg1, _arg2, _local3); if (_local4 != null){ return (_local4); }; _local5 = m_freePair; _local4 = m_pairs[_local5]; m_freePair = _local4.next; _local4.proxyId1 = _arg1; _local4.proxyId2 = _arg2; _local4.status = 0; _local4.userData = null; _local4.next = m_hashTable[_local3]; m_hashTable[_local3] = _local5; m_pairCount++; return (_local4); } private function ValidateTable():void{ } public static function EqualsPair(_arg1:b2BufferedPair, _arg2:b2BufferedPair):Boolean{ return ((((_arg1.proxyId1 == _arg2.proxyId1)) && ((_arg1.proxyId2 == _arg2.proxyId2)))); } public static function Hash(_arg1:uint, _arg2:uint):uint{ var _local3:uint; _local3 = (((_arg2 << 16) & 4294901760) | _arg1); _local3 = (~(_local3) + ((_local3 << 15) & 4294934528)); _local3 = (_local3 ^ ((_local3 >> 12) & 1048575)); _local3 = (_local3 + ((_local3 << 2) & 4294967292)); _local3 = (_local3 ^ ((_local3 >> 4) & 268435455)); _local3 = (_local3 * 2057); _local3 = (_local3 ^ ((_local3 >> 16) & 0xFFFF)); return (_local3); } public static function Equals(_arg1:b2Pair, _arg2:uint, _arg3:uint):Boolean{ return ((((_arg1.proxyId1 == _arg2)) && ((_arg1.proxyId2 == _arg3)))); } } }//package Box2D.Collision
Section 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 lowerBounds:Array; public var upperBounds:Array; public var userData;// = null public var timeStamp:uint; public function b2Proxy(){ lowerBounds = [uint(0), uint(0)]; upperBounds = [uint(0), uint(0)]; userData = null; super(); } public function GetNext():uint{ return (lowerBounds[0]); } public function IsValid():Boolean{ return (!((overlapCount == b2BroadPhase.b2_invalid))); } public function SetNext(_arg1:uint):void{ lowerBounds[0] = (_arg1 & 0xFFFF); } } }//package Box2D.Collision
Section 26
//b2Segment (Box2D.Collision.b2Segment) package Box2D.Collision { import Box2D.Common.Math.*; 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 _local5:b2Vec2; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; _local5 = _arg3.p1; _local6 = (_arg3.p2.x - _local5.x); _local7 = (_arg3.p2.y - _local5.y); _local8 = (p2.x - p1.x); _local9 = (p2.y - p1.y); _local10 = _local9; _local11 = -(_local8); _local12 = (100 * Number.MIN_VALUE); _local13 = -(((_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.Collision.Shapes.*; import Box2D.Common.Math.*; 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 _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:b2Vec2; var _local18:b2Vec2; var _local19:int; var _local20:int; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:b2XForm; var _local27:b2XForm; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; _local7 = _arg1.m_sweepRadius; _local8 = _arg3.m_sweepRadius; _local9 = _arg2.t0; _local10 = (_arg2.c.x - _arg2.c0.x); _local11 = (_arg2.c.y - _arg2.c0.y); _local12 = (_arg4.c.x - _arg4.c0.x); _local13 = (_arg4.c.y - _arg4.c0.y); _local14 = (_arg2.a - _arg2.a0); _local15 = (_arg4.a - _arg4.a0); _local16 = 0; _local17 = s_p1; _local18 = s_p2; _local19 = 20; _local20 = 0; _local21 = 0; _local22 = 0; _local23 = 0; _local24 = 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 v:b2Vec2; public var id:b2ContactID; 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 set flip(_arg1:int):void{ _flip = _arg1; _m_id._key = ((_m_id._key & 0xFFFFFF) | ((_flip << 24) & 4278190080)); } public function get incidentVertex():int{ return (_incidentVertex); } public function set incidentEdge(_arg1:int):void{ _incidentEdge = _arg1; _m_id._key = ((_m_id._key & 4294902015) | ((_incidentEdge << 8) & 0xFF00)); } } }//package Box2D.Collision
Section 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 Set(_arg1:Number):void{ var _local2:Number; var _local3:Number; _local2 = Math.cos(_arg1); _local3 = Math.sin(_arg1); col1.x = _local2; col2.x = -(_local3); col1.y = _local3; col2.y = _local2; } public function SetVV(_arg1:b2Vec2, _arg2:b2Vec2):void{ col1.SetV(_arg1); col2.SetV(_arg2); } public function SetZero():void{ col1.x = 0; col2.x = 0; col1.y = 0; col2.y = 0; } public function SetM(_arg1:b2Mat22):void{ col1.SetV(_arg1.col1); col2.SetV(_arg1.col2); } public function AddM(_arg1:b2Mat22):void{ col1.x = (col1.x + _arg1.col1.x); col1.y = (col1.y + _arg1.col1.y); col2.x = (col2.x + _arg1.col2.x); col2.y = (col2.y + _arg1.col2.y); } public function Abs():void{ col1.Abs(); col2.Abs(); } public function Copy():b2Mat22{ return (new b2Mat22(0, col1, col2)); } public function Invert(_arg1:b2Mat22):b2Mat22{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; _local2 = col1.x; _local3 = col2.x; _local4 = col1.y; _local5 = col2.y; _local6 = ((_local2 * _local5) - (_local3 * _local4)); _local6 = (1 / _local6); _arg1.col1.x = (_local6 * _local5); _arg1.col2.x = (-(_local6) * _local3); _arg1.col1.y = (-(_local6) * _local4); _arg1.col2.y = (_local6 * _local2); return (_arg1); } public function GetAngle():Number{ return (Math.atan2(col1.y, col1.x)); } public function Solve(_arg1:b2Vec2, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local4 = col1.x; _local5 = col2.x; _local6 = col1.y; _local7 = col2.y; _local8 = ((_local4 * _local7) - (_local5 * _local6)); _local8 = (1 / _local8); _arg1.x = (_local8 * ((_local7 * _arg2) - (_local5 * _arg3))); _arg1.y = (_local8 * ((_local4 * _arg3) - (_local6 * _arg2))); return (_arg1); } } }//package Box2D.Common.Math
Section 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; _local3 = new b2Vec2((_arg2 * _arg1.y), (-(_arg2) * _arg1.x)); return (_local3); } public static function AddVV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((_arg1.x + _arg2.x), (_arg1.y + _arg2.y)); return (_local3); } public static function b2IsValid(_arg1:Number):Boolean{ return (isFinite(_arg1)); } public static function b2MinV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(b2Min(_arg1.x, _arg2.x), b2Min(_arg1.y, _arg2.y)); return (_local3); } public static function 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; var _local4:Number; _local3 = (_arg1.x - _arg2.x); _local4 = (_arg1.y - _arg2.y); return (((_local3 * _local3) + (_local4 * _local4))); } public static function b2Swap(_arg1:Array, _arg2:Array):void{ var _local3:*; _local3 = _arg1[0]; _arg1[0] = _arg2[0]; _arg2[0] = _local3; } public static function b2AbsM(_arg1:b2Mat22):b2Mat22{ var _local2:b2Mat22; _local2 = new b2Mat22(0, b2AbsV(_arg1.col1), b2AbsV(_arg1.col2)); return (_local2); } public static function SubtractVV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((_arg1.x - _arg2.x), (_arg1.y - _arg2.y)); return (_local3); } public static function 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; _local2 = new b2Vec2(b2Abs(_arg1.x), b2Abs(_arg1.y)); return (_local2); } public static function MulFV(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2((_arg1 * _arg2.x), (_arg1 * _arg2.y)); return (_local3); } public static function 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; _local3 = new b2Vec2((-(_arg1) * _arg2.y), (_arg1 * _arg2.x)); return (_local3); } public static function AddMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Mat22; _local3 = new b2Mat22(0, AddVV(_arg1.col1, _arg2.col1), AddVV(_arg1.col2, _arg2.col2)); return (_local3); } public static function b2Distance(_arg1:b2Vec2, _arg2:b2Vec2):Number{ var _local3:Number; var _local4:Number; _local3 = (_arg1.x - _arg2.x); _local4 = (_arg1.y - _arg2.y); return (Math.sqrt(((_local3 * _local3) + (_local4 * _local4)))); } public static function b2MulTMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Vec2; var _local4:b2Vec2; var _local5:b2Mat22; _local3 = new b2Vec2(b2Dot(_arg1.col1, _arg2.col1), b2Dot(_arg1.col2, _arg2.col1)); _local4 = new b2Vec2(b2Dot(_arg1.col1, _arg2.col2), b2Dot(_arg1.col2, _arg2.col2)); _local5 = new b2Mat22(0, _local3, _local4); return (_local5); } public static function b2MaxV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(b2Max(_arg1.x, _arg2.x), b2Max(_arg1.y, _arg2.y)); return (_local3); } public static function b2IsPowerOfTwo(_arg1:uint):Boolean{ var _local2:Boolean; _local2 = (((_arg1 > 0)) && (((_arg1 & (_arg1 - 1)) == 0))); return (_local2); } public static function b2ClampV(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Vec2):b2Vec2{ return (b2MaxV(_arg2, b2MinV(_arg1, _arg3))); } public static function b2RandomRange(_arg1:Number, _arg2:Number):Number{ var _local3:Number; _local3 = Math.random(); _local3 = (((_arg2 - _arg1) * _local3) + _arg1); return (_local3); } public static function b2MulTMV(_arg1:b2Mat22, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(b2Dot(_arg2, _arg1.col1), b2Dot(_arg2, _arg1.col2)); return (_local3); } public static function b2Min(_arg1:Number, _arg2:Number):Number{ return (((_arg1 < _arg2)) ? _arg1 : _arg2); } public static function b2Random():Number{ return (((Math.random() * 2) - 1)); } public static function b2MulMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Mat22; _local3 = new b2Mat22(0, b2MulMV(_arg1, _arg2.col1), b2MulMV(_arg1, _arg2.col2)); return (_local3); } public static function b2NextPowerOfTwo(_arg1:uint):uint{ _arg1 = (_arg1 | ((_arg1 >> 1) & 2147483647)); _arg1 = (_arg1 | ((_arg1 >> 2) & 1073741823)); _arg1 = (_arg1 | ((_arg1 >> 4) & 268435455)); _arg1 = (_arg1 | ((_arg1 >> 8) & 0xFFFFFF)); _arg1 = (_arg1 | ((_arg1 >> 16) & 0xFFFF)); return ((_arg1 + 1)); } public static function b2Max(_arg1:Number, _arg2:Number):Number{ return (((_arg1 > _arg2)) ? _arg1 : _arg2); } public static function b2MulMV(_arg1:b2Mat22, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = new b2Vec2(((_arg1.col1.x * _arg2.x) + (_arg1.col2.x * _arg2.y)), ((_arg1.col1.y * _arg2.x) + (_arg1.col2.y * _arg2.y))); return (_local3); } } }//package Box2D.Common.Math
Section 32
//b2Sweep (Box2D.Common.Math.b2Sweep) package Box2D.Common.Math { public class b2Sweep { public var localCenter:b2Vec2; public var c:b2Vec2; public var a:Number; public var c0:b2Vec2; public var a0:Number; 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 _local3:b2Mat22; 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); }; _local3 = _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 x:Number; public var y:Number; public function b2Vec2(_arg1:Number=0, _arg2:Number=0):void{ x = _arg1; y = _arg2; } public function Set(_arg1:Number=0, _arg2:Number=0):void{ x = _arg1; y = _arg2; } public function Multiply(_arg1:Number):void{ x = (x * _arg1); y = (y * _arg1); } public function Length():Number{ return (Math.sqrt(((x * x) + (y * y)))); } public function LengthSquared():Number{ return (((x * x) + (y * y))); } public function SetZero():void{ x = 0; y = 0; } public function Add(_arg1:b2Vec2):void{ x = (x + _arg1.x); y = (y + _arg1.y); } 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 CrossVF(_arg1:Number):void{ var _local2:Number; _local2 = x; x = (_arg1 * y); y = (-(_arg1) * _local2); } public function Abs():void{ if (x < 0){ x = -(x); }; if (y < 0){ y = -(y); }; } public function Copy():b2Vec2{ return (new b2Vec2(x, y)); } public function MulTM(_arg1:b2Mat22):void{ var _local2:Number; _local2 = b2Math.b2Dot(this, _arg1.col1); y = b2Math.b2Dot(this, _arg1.col2); x = _local2; } public function IsValid():Boolean{ return (((b2Math.b2IsValid(x)) && (b2Math.b2IsValid(y)))); } public function MinV(_arg1:b2Vec2):void{ x = ((x < _arg1.x)) ? x : _arg1.x; y = ((y < _arg1.y)) ? y : _arg1.y; } public function MulM(_arg1:b2Mat22):void{ var _local2:Number; _local2 = x; x = ((_arg1.col1.x * _local2) + (_arg1.col2.x * y)); y = ((_arg1.col1.y * _local2) + (_arg1.col2.y * y)); } public function Normalize():Number{ var _local1:Number; var _local2:Number; _local1 = Math.sqrt(((x * x) + (y * y))); if (_local1 < Number.MIN_VALUE){ return (0); }; _local2 = (1 / _local1); x = (x * _local2); y = (y * _local2); return (_local1); } public function Subtract(_arg1:b2Vec2):void{ x = (x - _arg1.x); y = (y - _arg1.y); } public function CrossFV(_arg1:Number):void{ var _local2:Number; _local2 = x; x = (-(_arg1) * y); y = (_arg1 * _local2); } public static function Make(_arg1:Number, _arg2:Number):b2Vec2{ return (new b2Vec2(_arg1, _arg2)); } } }//package Box2D.Common.Math
Section 34
//b2XForm (Box2D.Common.Math.b2XForm) package Box2D.Common.Math { public class b2XForm { public var R:b2Mat22; public var position:b2Vec2; 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 _g:uint;// = 0 private var _b:uint;// = 0 private var _r:uint;// = 0 public function b2Color(_arg1:Number, _arg2:Number, _arg3:Number){ _r = 0; _g = 0; _b = 0; super(); _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 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 b(_arg1:Number):void{ _b = 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 = 8; 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.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; public class b2CircleContact 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 b2CircleContact(_arg1:b2Shape, _arg2:b2Shape){ var _local3:b2ManifoldPoint; m_manifolds = [new b2Manifold()]; m0 = new b2Manifold(); super(_arg1, _arg2); m_manifold = m_manifolds[0]; m_manifold.pointCount = 0; _local3 = m_manifold.points[0]; _local3.normalImpulse = 0; _local3.tangentImpulse = 0; } override public function GetManifolds():Array{ return (m_manifolds); } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2ManifoldPoint; var _local5:b2Body; var _local6:b2Body; var _local7:b2ContactPoint; var _local8:b2ManifoldPoint; _local5 = m_shape1.m_body; _local6 = 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); _local7 = 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); }; }; } 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.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; public class b2Contact { public var m_shape1:b2Shape; public var m_shape2:b2Shape; public var m_prev:b2Contact; public var m_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 GetShape1():b2Shape{ return (m_shape1); } public function IsSolid():Boolean{ return (((m_flags & e_nonSolidFlag) == 0)); } public function GetNext():b2Contact{ return (m_next); } public function GetManifolds():Array{ return (null); } public function GetShape2():b2Shape{ return (m_shape2); } public function GetManifoldCount():int{ return (m_manifoldCount); } public function Update(_arg1:b2ContactListener):void{ var _local2:int; var _local3:int; var _local4:b2Body; var _local5:b2Body; _local2 = m_manifoldCount; Evaluate(_arg1); _local3 = m_manifoldCount; _local4 = m_shape1.m_body; _local5 = 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 _local1:int; var _local2:int; s_registers = new Array(b2Shape.e_shapeTypeCount); _local1 = 0; while (_local1 < b2Shape.e_shapeTypeCount) { s_registers[_local1] = new Array(b2Shape.e_shapeTypeCount); _local2 = 0; while (_local2 < b2Shape.e_shapeTypeCount) { s_registers[_local1][_local2] = new b2ContactRegister(); _local2++; }; _local1++; }; AddType(b2CircleContact.Create, b2CircleContact.Destroy, b2Shape.e_circleShape, b2Shape.e_circleShape); AddType(b2PolyAndCircleContact.Create, b2PolyAndCircleContact.Destroy, b2Shape.e_polygonShape, b2Shape.e_circleShape); AddType(b2PolygonContact.Create, b2PolygonContact.Destroy, b2Shape.e_polygonShape, b2Shape.e_polygonShape); } public static function Destroy(_arg1:b2Contact, _arg2):void{ var _local3:int; var _local4:int; var _local5:b2ContactRegister; var _local6:Function; if (_arg1.m_manifoldCount > 0){ _arg1.m_shape1.m_body.WakeUp(); _arg1.m_shape2.m_body.WakeUp(); }; _local3 = _arg1.m_shape1.m_type; _local4 = _arg1.m_shape2.m_type; _local5 = s_registers[_local3][_local4]; _local6 = _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 _local4:int; var _local5:int; var _local6:b2ContactRegister; var _local7:Function; var _local8:b2Contact; var _local9:int; var _local10:b2Manifold; if (s_initialized == false){ InitializeRegisters(); s_initialized = true; }; _local4 = _arg1.m_type; _local5 = _arg2.m_type; _local6 = s_registers[_local4][_local5]; _local7 = _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.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; public class b2ContactConstraint { public var points:Array; public var restitution:Number; public var body1:b2Body; public var manifold:b2Manifold; public var normal:b2Vec2; public var body2:b2Body; public var friction:Number; public var pointCount:int; public function b2ContactConstraint(){ var _local1:int; normal = new b2Vec2(); super(); points = new Array(b2Settings.b2_maxManifoldPoints); _local1 = 0; while (_local1 < b2Settings.b2_maxManifoldPoints) { points[_local1] = new b2ContactConstraintPoint(); _local1++; }; } } }//package Box2D.Dynamics.Contacts
Section 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 equalizedMass:Number; public var tangentMass: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 next:b2ContactEdge; public var other:b2Body; public var contact:b2Contact; public var prev: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.Shapes.*; import Box2D.Common.Math.*; import Box2D.Collision.*; public class b2ContactResult { public var normal:b2Vec2; public var position:b2Vec2; public var shape1:b2Shape; public var shape2:b2Shape; public var normalImpulse:Number; 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.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; public class b2ContactSolver { public var m_constraintCount:int; public var m_constraints:Array; public var m_allocator; public 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 _local9:int; 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++; }; _local9 = 0; _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 _local5:int; 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; _local5 = 0; 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 _local2:Number; var _local3:b2Mat22; var _local4:b2Vec2; var _local5:int; var _local6:b2ContactConstraint; var _local7:b2Body; var _local8:b2Body; var _local9:b2Vec2; var _local10:Number; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19: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; _local2 = 0; _local5 = 0; 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 _local19:int; 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; _local19 = 0; 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 _local1:int; var _local2:b2ContactConstraint; var _local3:b2Manifold; var _local4:int; var _local5:b2ManifoldPoint; var _local6:b2ContactConstraintPoint; _local1 = 0; while (_local1 < m_constraintCount) { _local2 = m_constraints[_local1]; _local3 = _local2.manifold; _local4 = 0; while (_local4 < _local2.pointCount) { _local5 = _local3.points[_local4]; _local6 = _local2.points[_local4]; _local5.normalImpulse = _local6.normalImpulse; _local5.tangentImpulse = _local6.tangentImpulse; _local4++; }; _local1++; }; } } }//package Box2D.Dynamics.Contacts
Section 45
//b2NullContact (Box2D.Dynamics.Contacts.b2NullContact) package Box2D.Dynamics.Contacts { import Box2D.Dynamics.*; public class b2NullContact extends b2Contact { override public function GetManifolds():Array{ return (null); } override public function Evaluate(_arg1:b2ContactListener):void{ } } }//package Box2D.Dynamics.Contacts
Section 46
//b2PolyAndCircleContact (Box2D.Dynamics.Contacts.b2PolyAndCircleContact) package Box2D.Dynamics.Contacts { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; public class b2PolyAndCircleContact 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 b2PolyAndCircleContact(_arg1:b2Shape, _arg2:b2Shape){ var _local3:b2ManifoldPoint; 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; _local3 = m_manifold.points[0]; _local3.normalImpulse = 0; _local3.tangentImpulse = 0; } override public function GetManifolds():Array{ return (m_manifolds); } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:int; var _local3:b2Vec2; var _local4:b2Vec2; var _local5:b2ManifoldPoint; var _local6:b2Body; var _local7:b2Body; var _local8:Array; var _local9:b2ContactPoint; var _local10:b2ManifoldPoint; var _local11:Boolean; var _local12:uint; var _local13:int; _local6 = m_shape1.m_body; _local7 = 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); _local8 = [false, false]; _local9 = 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++; }; } 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.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.*; 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 GetManifolds():Array{ return (m_manifolds); } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2ManifoldPoint; var _local5:b2Body; var _local6:b2Body; var _local7:b2ContactPoint; var _local8:int; var _local9:Array; var _local10:b2ManifoldPoint; var _local11:Boolean; var _local12:uint; var _local13:int; _local5 = m_shape1.m_body; _local6 = 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); _local9 = [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++; }; } 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_mass:Number; public var m_u:b2Vec2; public var m_impulse:Number; public var m_dampingRatio:Number; public var m_frequencyHz:Number; public var m_localAnchor2:b2Vec2; public var m_localAnchor1:b2Vec2; public var m_bias:Number; public var m_gamma: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 GetReactionForce():b2Vec2{ var _local1:b2Vec2; _local1 = new b2Vec2(); _local1.SetV(m_u); _local1.Multiply((m_inv_dt * m_impulse)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local1:b2Mat22; var _local2:b2Body; var _local3:b2Body; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; if (m_frequencyHz > 0){ return (true); }; _local2 = m_body1; _local3 = m_body2; _local1 = _local2.m_xf.R; _local4 = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); _local5 = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local6 = ((_local1.col1.x * _local4) + (_local1.col2.x * _local5)); _local5 = ((_local1.col1.y * _local4) + (_local1.col2.y * _local5)); _local4 = _local6; _local1 = _local3.m_xf.R; _local7 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local8 = (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; _local9 = (((_local3.m_sweep.c.x + _local7) - _local2.m_sweep.c.x) - _local4); _local10 = (((_local3.m_sweep.c.y + _local8) - _local2.m_sweep.c.y) - _local5); _local11 = Math.sqrt(((_local9 * _local9) + (_local10 * _local10))); _local9 = (_local9 / _local11); _local10 = (_local10 / _local11); _local12 = (_local11 - m_length); _local12 = b2Math.b2Clamp(_local12, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); _local13 = (-(m_mass) * _local12); m_u.Set(_local9, _local10); _local14 = (_local13 * m_u.x); _local15 = (_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 InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Mat22; var _local3:Number; var _local4:b2Body; var _local5:b2Body; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; 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); _local7 = (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); _local9 = (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); _local10 = 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(); }; _local11 = ((_local6 * m_u.y) - (_local7 * m_u.x)); _local12 = ((_local8 * m_u.y) - (_local9 * m_u.x)); _local13 = (((_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 SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Mat22; var _local3:b2Body; var _local4:b2Body; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; _local3 = m_body1; _local4 = m_body2; _local2 = _local3.m_xf.R; _local5 = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); _local6 = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); _local7 = ((_local2.col1.x * _local5) + (_local2.col2.x * _local6)); _local6 = ((_local2.col1.y * _local5) + (_local2.col2.y * _local6)); _local5 = _local7; _local2 = _local4.m_xf.R; _local8 = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); _local9 = (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; _local10 = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local6)); _local11 = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local5)); _local12 = (_local4.m_linearVelocity.x + (-(_local4.m_angularVelocity) * _local9)); _local13 = (_local4.m_linearVelocity.y + (_local4.m_angularVelocity * _local8)); _local14 = ((m_u.x * (_local12 - _local10)) + (m_u.y * (_local13 - _local11))); _local15 = (-(m_mass) * ((_local14 + m_bias) + (m_gamma * m_impulse))); m_impulse = (m_impulse + _local15); _local16 = (_local15 * m_u.x); _local17 = (_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 length:Number; public var dampingRatio:Number; public var frequencyHz:Number; public var localAnchor2:b2Vec2; public var localAnchor1:b2Vec2; 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{ var _local5:Number; var _local6:Number; body1 = _arg1; body2 = _arg2; localAnchor1.SetV(body1.GetLocalPoint(_arg3)); localAnchor2.SetV(body2.GetLocalPoint(_arg4)); _local5 = (_arg4.x - _arg3.x); _local6 = (_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_force:Number; public var m_mass:Number; public var m_prismatic1:b2PrismaticJoint; public var m_prismatic2:b2PrismaticJoint; public var m_ground1:b2Body; public var m_ground2:b2Body; public var m_constant:Number; public var m_revolute1:b2RevoluteJoint; public var m_revolute2:b2RevoluteJoint; public var m_groundAnchor1:b2Vec2; public var m_groundAnchor2:b2Vec2; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_ratio:Number; public var m_J:b2Jacobian; public function b2GearJoint(_arg1:b2GearJointDef){ var _local2:int; var _local3:int; 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); _local2 = _arg1.joint1.m_type; _local3 = _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 GetReactionForce():b2Vec2{ var _local1:b2Vec2; _local1 = new b2Vec2((m_force * m_J.linear2.x), (m_force * m_J.linear2.y)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:b2Body; var _local3:b2Body; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; _local1 = 0; _local2 = m_body1; _local3 = m_body2; if (m_revolute1){ _local4 = m_revolute1.GetJointAngle(); } else { _local4 = m_prismatic1.GetJointTranslation(); }; if (m_revolute2){ _local5 = m_revolute2.GetJointAngle(); } else { _local5 = m_prismatic2.GetJointTranslation(); }; _local6 = (m_constant - (_local4 + (m_ratio * _local5))); _local7 = (-(m_mass) * _local6); _local2.m_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)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Body; var _local5:b2Body; 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 _local14:Number; var _local15:Number; _local2 = m_ground1; _local3 = m_ground2; _local4 = m_body1; _local5 = m_body2; _local14 = 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; var _local2:Number; var _local3:Number; var _local4:Number; _local1 = m_body2.m_xf.R; _local2 = (m_localAnchor1.x - m_body2.m_sweep.localCenter.x); _local3 = (m_localAnchor1.y - m_body2.m_sweep.localCenter.y); _local4 = ((_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); } public function GetRatio():Number{ return (m_ratio); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:Number; var _local5:Number; var _local6:Number; _local2 = m_body1; _local3 = m_body2; _local4 = m_J.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); _local5 = ((-(_arg1.inv_dt) * m_mass) * _local4); m_force = (m_force + _local5); _local6 = (_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 joint2:b2Joint; public var joint1:b2Joint; public var ratio:Number; public function b2GearJointDef(){ type = b2Joint.e_gearJoint; joint1 = null; joint2 = null; ratio = 1; } } }//package Box2D.Dynamics.Joints
Section 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 angular2:Number; public var angular1:Number; public function b2Jacobian(){ linear1 = new b2Vec2(); linear2 = new b2Vec2(); super(); } public function Set(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):void{ linear1.SetV(_arg1); angular1 = _arg2; linear2.SetV(_arg3); angular2 = _arg4; } public function SetZero():void{ linear1.SetZero(); angular1 = 0; linear2.SetZero(); angular2 = 0; } public function Compute(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):Number{ return ((((((linear1.x * _arg1.x) + (linear1.y * _arg1.y)) + (angular1 * _arg2)) + ((linear2.x * _arg3.x) + (linear2.y * _arg3.y))) + (angular2 * _arg4))); } } }//package Box2D.Dynamics.Joints
Section 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 GetAnchor1():b2Vec2{ return (null); } public function GetAnchor2():b2Vec2{ return (null); } public function InitVelocityConstraints(_arg1:b2TimeStep):void{ } public function GetType():int{ return (m_type); } public function GetBody2():b2Body{ return (m_body2); } public function GetNext():b2Joint{ return (m_next); } 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; _local3 = null; switch (_arg1.type){ case e_distanceJoint: _local3 = new b2DistanceJoint((_arg1 as b2DistanceJointDef)); break; case e_mouseJoint: _local3 = new b2MouseJoint((_arg1 as b2MouseJointDef)); break; case e_prismaticJoint: _local3 = new b2PrismaticJoint((_arg1 as b2PrismaticJointDef)); break; case e_revoluteJoint: _local3 = new b2RevoluteJoint((_arg1 as b2RevoluteJointDef)); break; case e_pulleyJoint: _local3 = new b2PulleyJoint((_arg1 as b2PulleyJointDef)); break; case e_gearJoint: _local3 = new b2GearJoint((_arg1 as b2GearJointDef)); break; default: break; }; return (_local3); } } }//package Box2D.Dynamics.Joints
Section 54
//b2JointDef (Box2D.Dynamics.Joints.b2JointDef) package Box2D.Dynamics.Joints { import Box2D.Dynamics.*; public class b2JointDef { public var collideConnected:Boolean; public var body1:b2Body; public var body2:b2Body; public var userData; public var type:int; public function b2JointDef(){ type = b2Joint.e_unknownJoint; userData = null; body1 = null; body2 = null; collideConnected = false; } } }//package Box2D.Dynamics.Joints
Section 55
//b2JointEdge (Box2D.Dynamics.Joints.b2JointEdge) package Box2D.Dynamics.Joints { import Box2D.Dynamics.*; public class b2JointEdge { public var joint:b2Joint; public var other:b2Body; public var next:b2JointEdge; public var prev:b2JointEdge; } }//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 { public var m_beta:Number; public var m_mass:b2Mat22; public var m_target:b2Vec2; public var m_impulse:b2Vec2; public var m_localAnchor:b2Vec2; private var K1:b2Mat22; private var K2:b2Mat22; private var K:b2Mat22; public var m_gamma:Number; public var m_C:b2Vec2; public var m_maxForce:Number; public function b2MouseJoint(_arg1:b2MouseJointDef){ var _local2:Number; var _local3:Number; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8: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); _local2 = (m_target.x - m_body2.m_xf.position.x); _local3 = (m_target.y - m_body2.m_xf.position.y); _local4 = 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(); _local5 = m_body2.m_mass; _local6 = ((2 * b2Settings.b2_pi) * _arg1.frequencyHz); _local7 = (((2 * _local5) * _arg1.dampingRatio) * _local6); _local8 = ((_arg1.timeStep * _local5) * (_local6 * _local6)); m_gamma = (1 / (_local7 + _local8)); m_beta = (_local8 / (_local7 + _local8)); } override public function GetAnchor1():b2Vec2{ return (m_target); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor)); } override public function GetReactionForce():b2Vec2{ return (m_impulse); } override public function SolvePositionConstraints():Boolean{ return (true); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; _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); _local6 = ((_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); _local9 = (_arg1.dt * m_impulse.x); _local10 = (_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 GetReactionTorque():Number{ return (0); } public function SetTarget(_arg1:b2Vec2):void{ if (m_body2.IsSleeping()){ m_body2.WakeUp(); }; m_target = _arg1; } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; _local2 = m_body2; _local3 = _local2.m_xf.R; _local6 = (m_localAnchor.x - _local2.m_sweep.localCenter.x); _local7 = (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; _local8 = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local7)); _local9 = (_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)); _local10 = (-(_arg1.inv_dt) * ((_local3.col1.x * _local4) + (_local3.col2.x * _local5))); _local11 = (-(_arg1.inv_dt) * ((_local3.col1.y * _local4) + (_local3.col2.y * _local5))); _local12 = m_impulse.x; _local13 = m_impulse.y; m_impulse.x = (m_impulse.x + _local10); m_impulse.y = (m_impulse.y + _local11); _local14 = m_impulse.Length(); if (_local14 > m_maxForce){ m_impulse.Multiply((m_maxForce / _local14)); }; _local10 = (m_impulse.x - _local12); _local11 = (m_impulse.y - _local13); _local15 = (_arg1.dt * _local10); _local16 = (_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 frequencyHz:Number; public var dampingRatio:Number; public var maxForce:Number; public var target:b2Vec2; public var timeStep:Number; public function b2MouseJointDef(){ target = new b2Vec2(); super(); type = b2Joint.e_mouseJoint; maxForce = 0; frequencyHz = 5; dampingRatio = 0.7; timeStep = (1 / 60); } } }//package Box2D.Dynamics.Joints
Section 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_refAngle:Number; public var m_lowerTranslation:Number; public var m_localXAxis1:b2Vec2; public var m_torque:Number; public var m_enableLimit:Boolean; public var m_motorForce:Number; public var m_force:Number; public var m_localYAxis1:b2Vec2; public var m_motorMass:Number; public var m_maxMotorForce:Number; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_angularMass:Number; public var m_limitState:int; public var m_linearMass:Number; public var m_upperTranslation:Number; public var m_motorJacobian:b2Jacobian; public var m_limitPositionImpulse:Number; public var m_motorSpeed:Number; public var m_linearJacobian:b2Jacobian; public var m_enableMotor:Boolean; 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 GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } public function EnableMotor(_arg1:Boolean):void{ m_enableMotor = _arg1; } public function GetUpperLimit():Number{ return (m_upperTranslation); } public function GetLowerLimit():Number{ return (m_lowerTranslation); } public function GetJointTranslation():Number{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; var _local4:b2Vec2; var _local5:b2Vec2; var _local6:Number; var _local7:Number; var _local8:b2Vec2; var _local9:Number; _local1 = m_body1; _local2 = m_body2; _local4 = _local1.GetWorldPoint(m_localAnchor1); _local5 = _local2.GetWorldPoint(m_localAnchor2); _local6 = (_local5.x - _local4.x); _local7 = (_local5.y - _local4.y); _local8 = _local1.GetWorldVector(m_localXAxis1); _local9 = ((_local8.x * _local6) + (_local8.y * _local7)); return (_local9); } public function SetLimits(_arg1:Number, _arg2:Number):void{ m_lowerTranslation = _arg1; m_upperTranslation = _arg2; } public function GetMotorSpeed():Number{ return (m_motorSpeed); } override public function GetReactionForce():b2Vec2{ var _local1:b2Mat22; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = m_body1.m_xf.R; _local2 = (m_limitForce * ((_local1.col1.x * m_localXAxis1.x) + (_local1.col2.x * m_localXAxis1.y))); _local3 = (m_limitForce * ((_local1.col1.y * m_localXAxis1.x) + (_local1.col2.y * m_localXAxis1.y))); _local4 = (m_force * ((_local1.col1.x * m_localYAxis1.x) + (_local1.col2.x * m_localYAxis1.y))); _local5 = (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 _local3:b2Body; var _local4:b2Body; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:b2Mat22; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; _local3 = m_body1; _local4 = m_body2; _local5 = _local3.m_invMass; _local6 = _local4.m_invMass; _local7 = _local3.m_invI; _local8 = _local4.m_invI; _local9 = _local3.m_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; _local21 = ((_local9.col1.x * m_localYAxis1.x) + (_local9.col2.x * m_localYAxis1.y)); _local22 = ((_local9.col1.y * m_localYAxis1.x) + (_local9.col2.y * m_localYAxis1.y)); _local23 = ((_local21 * _local19) + (_local22 * _local20)); _local23 = b2Math.b2Clamp(_local23, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); _local24 = (-(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)); _local25 = b2Math.b2Abs(_local23); _local26 = ((_local4.m_sweep.a - _local3.m_sweep.a) - m_refAngle); _local26 = b2Math.b2Clamp(_local26, -(b2Settings.b2_maxAngularCorrection), b2Settings.b2_maxAngularCorrection); _local27 = (-(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(); _local28 = 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 GetJointSpeed():Number{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:b2Vec2; var _local16:b2Vec2; var _local17:b2Vec2; var _local18:Number; var _local19:Number; var _local20:Number; _local1 = m_body1; _local2 = m_body2; _local3 = _local1.m_xf.R; _local4 = (m_localAnchor1.x - _local1.m_sweep.localCenter.x); _local5 = (m_localAnchor1.y - _local1.m_sweep.localCenter.y); _local6 = ((_local3.col1.x * _local4) + (_local3.col2.x * _local5)); _local5 = ((_local3.col1.y * _local4) + (_local3.col2.y * _local5)); _local4 = _local6; _local3 = _local2.m_xf.R; _local7 = (m_localAnchor2.x - _local2.m_sweep.localCenter.x); _local8 = (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; _local9 = (_local1.m_sweep.c.x + _local4); _local10 = (_local1.m_sweep.c.y + _local5); _local11 = (_local2.m_sweep.c.x + _local7); _local12 = (_local2.m_sweep.c.y + _local8); _local13 = (_local11 - _local9); _local14 = (_local12 - _local10); _local15 = _local1.GetWorldVector(m_localXAxis1); _local16 = _local1.m_linearVelocity; _local17 = _local2.m_linearVelocity; _local18 = _local1.m_angularVelocity; _local19 = _local2.m_angularVelocity; _local20 = (((_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); } public function SetMotorSpeed(_arg1:Number):void{ m_motorSpeed = _arg1; } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; 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; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; _local6 = (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; _local8 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local9 = (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; _local10 = _local2.m_invMass; _local11 = _local3.m_invMass; _local12 = _local2.m_invI; _local13 = _local3.m_invI; _local4 = _local2.m_xf.R; _local14 = ((_local4.col1.x * m_localYAxis1.x) + (_local4.col2.x * m_localYAxis1.y)); _local15 = ((_local4.col1.y * m_localYAxis1.x) + (_local4.col2.y * m_localYAxis1.y)); _local16 = ((_local3.m_sweep.c.x + _local8) - _local2.m_sweep.c.x); _local17 = ((_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 SetMaxMotorForce(_arg1:Number):void{ m_maxMotorForce = _arg1; } public function EnableLimit(_arg1:Boolean):void{ m_enableLimit = _arg1; } override public function GetReactionTorque():Number{ return (m_torque); } public function IsLimitEnabled():Boolean{ return (m_enableLimit); } public function IsMotorEnabled():Boolean{ return (m_enableMotor); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_invMass; _local5 = _local3.m_invMass; _local6 = _local2.m_invI; _local7 = _local3.m_invI; _local9 = m_linearJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); _local10 = ((-(_arg1.inv_dt) * m_linearMass) * _local9); m_force = (m_force + _local10); _local11 = (_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)); _local12 = (_local3.m_angularVelocity - _local2.m_angularVelocity); _local13 = ((-(_arg1.inv_dt) * m_angularMass) * _local12); m_torque = (m_torque + _local13); _local14 = (_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)); }; } } }//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 localAxis1:b2Vec2; public var referenceAngle:Number; public var maxMotorForce:Number; public var motorSpeed:Number; public var upperTranslation:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var enableLimit:Boolean; public var enableMotor:Boolean; 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_ground:b2Body; public var m_maxLength2:Number; public var m_limitForce1:Number; public var m_maxLength1:Number; public var m_limitState1:int; public var m_limitState2:int; public var m_limitPositionImpulse2:Number; public var m_force:Number; public var m_limitPositionImpulse1:Number; public var m_constant: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_positionImpulse:Number; public var m_limitMass2:Number; public var m_limitMass1:Number; public var m_pulleyMass:Number; public var m_u1:b2Vec2; public var m_u2:b2Vec2; public var m_limitForce2:Number; 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; _local1 = 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; _local1 = m_u2.Copy(); _local1.Multiply(m_force); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local1:b2Body; var _local2:b2Body; var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; _local1 = m_body1; _local2 = m_body2; _local4 = (m_ground.m_xf.position.x + m_groundAnchor1.x); _local5 = (m_ground.m_xf.position.y + m_groundAnchor1.y); _local6 = (m_ground.m_xf.position.x + m_groundAnchor2.x); _local7 = (m_ground.m_xf.position.y + m_groundAnchor2.y); _local23 = 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 _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; _local5 = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); _local6 = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local7 = ((_local4.col1.x * _local5) + (_local4.col2.x * _local6)); _local6 = ((_local4.col1.y * _local5) + (_local4.col2.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; _local8 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local9 = (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; _local10 = (_local2.m_sweep.c.x + _local5); _local11 = (_local2.m_sweep.c.y + _local6); _local12 = (_local3.m_sweep.c.x + _local8); _local13 = (_local3.m_sweep.c.y + _local9); _local14 = (m_ground.m_xf.position.x + m_groundAnchor1.x); _local15 = (m_ground.m_xf.position.y + m_groundAnchor1.y); _local16 = (m_ground.m_xf.position.x + m_groundAnchor2.x); _local17 = (m_ground.m_xf.position.y + m_groundAnchor2.y); m_u1.Set((_local10 - _local14), (_local11 - _local15)); m_u2.Set((_local12 - _local16), (_local13 - _local17)); _local18 = m_u1.Length(); _local19 = 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(); }; _local20 = ((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; }; _local21 = ((_local5 * m_u1.y) - (_local6 * m_u1.x)); _local22 = ((_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); } public function GetLength2():Number{ var _local1:b2Vec2; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = m_body2.GetWorldPoint(m_localAnchor2); _local2 = (m_ground.m_xf.position.x + m_groundAnchor2.x); _local3 = (m_ground.m_xf.position.y + m_groundAnchor2.y); _local4 = (_local1.x - _local2); _local5 = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; _local5 = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); _local6 = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local7 = ((_local4.col1.x * _local5) + (_local4.col2.x * _local6)); _local6 = ((_local4.col1.y * _local5) + (_local4.col2.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; _local8 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local9 = (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; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = m_body1.GetWorldPoint(m_localAnchor1); _local2 = (m_ground.m_xf.position.x + m_groundAnchor1.x); _local3 = (m_ground.m_xf.position.y + m_groundAnchor1.y); _local4 = (_local1.x - _local2); _local5 = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } public function GetGroundAnchor1():b2Vec2{ var _local1:b2Vec2; _local1 = 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 maxLength2:Number; public var length1:Number; public var length2:Number; public var maxLength1:Number; public var ratio:Number; public var groundAnchor1:b2Vec2; public var groundAnchor2:b2Vec2; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; 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{ var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; body1 = _arg1; body2 = _arg2; groundAnchor1.SetV(_arg3); groundAnchor2.SetV(_arg4); localAnchor1 = body1.GetLocalPoint(_arg5); localAnchor2 = body2.GetLocalPoint(_arg6); _local8 = (_arg5.x - _arg3.x); _local9 = (_arg5.y - _arg3.y); length1 = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); _local10 = (_arg6.x - _arg4.x); _local11 = (_arg6.y - _arg4.y); length2 = Math.sqrt(((_local10 * _local10) + (_local11 * _local11))); ratio = _arg7; _local12 = (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_motorForce:Number; public var m_pivotMass:b2Mat22; 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_motorSpeed:Number; public var m_enableMotor:Boolean; public var m_limitPositionImpulse:Number; public var m_maxMotorTorque:Number; public var m_referenceAngle:Number; public var m_lowerAngle:Number; public var m_upperAngle: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 GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } public function EnableMotor(_arg1:Boolean):void{ m_enableMotor = _arg1; } public function GetUpperLimit():Number{ return (m_upperAngle); } public function GetLowerLimit():Number{ return (m_lowerAngle); } public function SetLimits(_arg1:Number, _arg2:Number):void{ m_lowerAngle = _arg1; m_upperAngle = _arg2; } 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 _local3:b2Body; var _local4:b2Body; var _local5:Number; var _local6:b2Mat22; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; _local3 = m_body1; _local4 = m_body2; _local5 = 0; _local6 = _local3.m_xf.R; _local7 = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); _local8 = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); _local9 = ((_local6.col1.x * _local7) + (_local6.col2.x * _local8)); _local8 = ((_local6.col1.y * _local7) + (_local6.col2.y * _local8)); _local7 = _local9; _local6 = _local4.m_xf.R; _local10 = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); _local11 = (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; _local12 = (_local3.m_sweep.c.x + _local7); _local13 = (_local3.m_sweep.c.y + _local8); _local14 = (_local4.m_sweep.c.x + _local10); _local15 = (_local4.m_sweep.c.y + _local11); _local16 = (_local14 - _local12); _local17 = (_local15 - _local13); _local5 = Math.sqrt(((_local16 * _local16) + (_local17 * _local17))); _local18 = _local3.m_invMass; _local19 = _local4.m_invMass; _local20 = _local3.m_invI; _local21 = _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)); _local22 = tImpulse.x; _local23 = 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(); _local24 = 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 GetJointSpeed():Number{ return ((m_body2.m_angularVelocity - m_body1.m_angularVelocity)); } public function SetMotorSpeed(_arg1:Number):void{ m_motorSpeed = _arg1; } 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)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; _local6 = (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; _local8 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local9 = (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; _local10 = _local2.m_invMass; _local11 = _local3.m_invMass; _local12 = _local2.m_invI; _local13 = _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; } public function GetMotorTorque():Number{ return (m_motorForce); } override public function GetReactionTorque():Number{ return (m_limitForce); } public function IsLimitEnabled():Boolean{ return (m_enableLimit); } public function IsMotorEnabled():Boolean{ return (m_enableMotor); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; _local6 = (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; _local8 = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); _local9 = (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; _local11 = (((_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local9)) - _local2.m_linearVelocity.x) - (-(_local2.m_angularVelocity) * _local7)); _local12 = (((_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local8)) - _local2.m_linearVelocity.y) - (_local2.m_angularVelocity * _local6)); _local13 = (-(_arg1.inv_dt) * ((m_pivotMass.col1.x * _local11) + (m_pivotMass.col2.x * _local12))); _local14 = (-(_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); _local15 = (_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)); }; } } }//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 referenceAngle:Number; public var upperAngle:Number; public var lowerAngle:Number; public var motorSpeed:Number; public var maxMotorTorque:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var enableLimit:Boolean; public var enableMotor:Boolean; 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 = _arg1.GetLocalPoint(_arg3); localAnchor2 = _arg2.GetLocalPoint(_arg3); referenceAngle = (body2.GetAngle() - body1.GetAngle()); } } }//package Box2D.Dynamics.Joints
Section 64
//b2Body (Box2D.Dynamics.b2Body) package Box2D.Dynamics { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.Contacts.*; public class b2Body { public var m_next:b2Body; public var m_contactList:b2ContactEdge; public var m_angularVelocity:Number; public var m_shapeList:b2Shape; public var m_force:b2Vec2; public var m_mass:Number; public var m_sweep:b2Sweep; public var m_xf:b2XForm; 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_linearVelocity:b2Vec2; public var m_sleepTime:Number; public var m_shapeCount:int; public var m_jointList:b2JointEdge; 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){ var _local3:b2Mat22; var _local4:b2Vec2; m_xf = new b2XForm(); m_sweep = new b2Sweep(); m_linearVelocity = new b2Vec2(); m_force = new b2Vec2(); super(); 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); _local3 = m_xf.R; _local4 = 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 SetLinearVelocity(_arg1:b2Vec2):void{ m_linearVelocity.SetV(_arg1); } public function WakeUp():void{ m_flags = (m_flags & ~(e_sleepFlag)); m_sleepTime = 0; } public function GetLocalCenter():b2Vec2{ return (m_sweep.localCenter); } public function ApplyTorque(_arg1:Number):void{ if (IsSleeping()){ WakeUp(); }; m_torque = (m_torque + _arg1); } public function IsFrozen():Boolean{ return (((m_flags & e_frozenFlag) == e_frozenFlag)); } public function IsDynamic():Boolean{ return ((m_type == e_dynamicType)); } public function GetLinearVelocity():b2Vec2{ return (m_linearVelocity); } public function SynchronizeTransform():void{ var _local1:b2Mat22; var _local2:b2Vec2; m_xf.R.Set(m_sweep.a); _local1 = m_xf.R; _local2 = 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; var _local2:Number; var _local3:Number; var _local4:b2MassData; var _local5:b2Mat22; var _local6:b2Vec2; var _local7:int; if (m_world.m_lock == true){ return; }; m_mass = 0; m_invMass = 0; m_I = 0; m_invI = 0; _local2 = 0; _local3 = 0; _local4 = 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); _local5 = m_xf.R; _local6 = 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; }; _local7 = 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 _local4:b2Mat22; var _local5:b2Vec2; var _local6:Boolean; 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); _local4 = m_xf.R; _local5 = 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); _local6 = false; _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 _local1:b2XForm; var _local2:b2Mat22; var _local3:b2Vec2; var _local4:b2Shape; var _local5:Boolean; _local1 = s_xf1; _local1.R.Set(m_sweep.a0); _local2 = _local1.R; _local3 = 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))); _local5 = true; _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 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 GetNext():b2Body{ return (m_next); } public function GetMass():Number{ return (m_mass); } public function GetLinearVelocityFromLocalPoint(_arg1:b2Vec2):b2Vec2{ var _local2:b2Mat22; var _local3:b2Vec2; _local2 = m_xf.R; _local3 = 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 GetAngularVelocity():Number{ return (m_angularVelocity); } public function SetAngularVelocity(_arg1:Number):void{ m_angularVelocity = _arg1; } public function SetMass(_arg1:b2MassData):void{ var _local2:b2Shape; var _local3:b2Mat22; var _local4:b2Vec2; var _local5:int; 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); _local3 = m_xf.R; _local4 = 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; }; _local5 = 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; _local2 = 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{ var _local2:b2Shape; var _local3:Boolean; if (m_world.m_lock == true){ return; }; _arg1.DestroyProxy(m_world.m_broadPhase); _local2 = m_shapeList; _local3 = false; while (_local2 != null) { if (_local2 == _arg1){ _local2 = _arg1.m_next; _local3 = true; break; }; _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 GetWorldPoint(_arg1:b2Vec2):b2Vec2{ var _local2:b2Mat22; var _local3:b2Vec2; _local2 = m_xf.R; _local3 = 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 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.Collision.Shapes.*; import Box2D.Common.Math.*; public class b2BodyDef { public var isSleeping:Boolean; public var position:b2Vec2; public var isBullet:Boolean; public var allowSleep:Boolean; public var userData; public var angularDamping:Number; public var fixedRotation:Boolean; public var angle:Number; 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; var _local4:b2FilterData; var _local5:Boolean; _local3 = _arg1.GetFilterData(); _local4 = _arg2.GetFilterData(); if ((((_local3.groupIndex == _local4.groupIndex)) && (!((_local3.groupIndex == 0))))){ return ((_local3.groupIndex > 0)); }; _local5 = ((!(((_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.*; public class b2ContactListener { public function Add(_arg1:b2ContactPoint):void{ } 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.Shapes.*; import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; 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 PairAdded(_arg1, _arg2){ var _local3:b2Shape; var _local4:b2Shape; var _local5:b2Body; var _local6:b2Body; var _local7:b2Contact; _local3 = (_arg1 as b2Shape); _local4 = (_arg2 as b2Shape); _local5 = _local3.m_body; _local6 = _local4.m_body; if (((_local5.IsStatic()) && (_local6.IsStatic()))){ return (m_nullContact); }; if (_local3.m_body == _local4.m_body){ return (m_nullContact); }; if (_local6.IsConnected(_local5)){ return (m_nullContact); }; if (((!((m_world.m_contactFilter == null))) && ((m_world.m_contactFilter.ShouldCollide(_local3, _local4) == false)))){ return (m_nullContact); }; _local7 = 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); } override public function PairRemoved(_arg1, _arg2, _arg3):void{ var _local4:b2Contact; if (_arg3 == null){ return; }; _local4 = (_arg3 as b2Contact); if (_local4 == m_nullContact){ return; }; Destroy(_local4); } public function Destroy(_arg1:b2Contact):void{ var _local2:b2Shape; var _local3:b2Shape; var _local4:int; var _local5:b2Body; var _local6:b2Body; 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; _local2 = _arg1.m_shape1; _local3 = _arg1.m_shape2; _local4 = _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; }; _local5 = _local2.m_body; _local6 = _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--; } public function Collide():void{ var _local1:b2Contact; var _local2:b2Body; var _local3:b2Body; _local1 = 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 Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Common.*; import flash.display.*; import Box2D.Dynamics.Contacts.*; public class b2DebugDraw { public var m_xformScale:Number;// = 1 public var m_fillAlpha:Number;// = 1 public var m_alpha:Number;// = 1 public var m_lineThickness:Number;// = 1 public var m_drawFlags:uint; public var m_sprite:Sprite; public var m_drawScale:Number;// = 1 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_drawScale = 1; m_lineThickness = 1; m_alpha = 1; m_fillAlpha = 1; m_xformScale = 1; super(); m_drawFlags = 0; } public function DrawSolidPolygon(_arg1:Array, _arg2:int, _arg3:b2Color):void{ var _local4:int; 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); _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 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)); } public function ClearFlags(_arg1:uint):void{ m_drawFlags = (m_drawFlags & ~(_arg1)); } 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 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 GetFlags():uint{ return (m_drawFlags); } public function DrawPolygon(_arg1:Array, _arg2:int, _arg3:b2Color):void{ var _local4:int; m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.moveTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); _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)); } } }//package Box2D.Dynamics
Section 71
//b2DestructionListener (Box2D.Dynamics.b2DestructionListener) package Box2D.Dynamics { import Box2D.Collision.Shapes.*; import Box2D.Dynamics.Joints.*; public class b2DestructionListener { public function SayGoodbyeJoint(_arg1:b2Joint):void{ } public function SayGoodbyeShape(_arg1:b2Shape):void{ } } }//package Box2D.Dynamics
Section 72
//b2Island (Box2D.Dynamics.b2Island) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.*; import Box2D.Common.*; import Box2D.Dynamics.Contacts.*; public class b2Island { public var m_joints:Array; public var m_listener:b2ContactListener; public var m_positionIterationCount:int; public var m_bodyCapacity:int; public var m_bodies: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 _local4:int; 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; }; _local4 = 0; 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 Solve(_arg1:b2TimeStep, _arg2:b2Vec2, _arg3:Boolean, _arg4:Boolean):void{ var _local5:int; var _local6:b2Body; var _local7:b2Joint; var _local8:b2ContactSolver; 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)))); if (_local6.m_userData != "[object DemoPoly]"){ _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++; }; _local8 = 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 AddContact(_arg1:b2Contact):void{ var _local2 = m_contactCount++; m_contacts[_local2] = _arg1; } public function Clear():void{ m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; } public function SolveTOI(_arg1:b2TimeStep):void{ var _local2:int; var _local3:b2ContactSolver; var _local4:Number; var _local5:b2Body; var _local6:Boolean; _local3 = 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++; }; _local4 = 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.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.*; import Box2D.Common.*; import Box2D.Dynamics.Contacts.*; 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){ var _local4:b2BodyDef; 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); _local4 = new b2BodyDef(); m_groundBody = CreateBody(_local4); } public function DrawJoint(_arg1:b2Joint):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2XForm; var _local5:b2XForm; var _local6:b2Vec2; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:b2Vec2; var _local10:b2Color; var _local11:b2PulleyJoint; var _local12:b2Vec2; var _local13:b2Vec2; _local2 = _arg1.m_body1; _local3 = _arg1.m_body2; _local4 = _local2.m_xf; _local5 = _local3.m_xf; _local6 = _local4.position; _local7 = _local5.position; _local8 = _arg1.GetAnchor1(); _local9 = _arg1.GetAnchor2(); _local10 = 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 _local1:uint; var _local2:int; var _local3:b2Body; var _local4:b2Shape; var _local5:b2Joint; var _local6:b2BroadPhase; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:b2Vec2; var _local10:b2Color; var _local11:b2XForm; var _local12:b2AABB; var _local13:b2AABB; var _local14:Array; 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(); _local1 = m_debugDraw.GetFlags(); _local7 = new b2Vec2(); _local8 = new b2Vec2(); _local9 = new b2Vec2(); _local10 = new b2Color(0, 0, 0); _local12 = new b2AABB(); _local13 = new b2AABB(); _local14 = [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 _local2:b2JointEdge; var _local3:b2Shape; var _local4:b2JointEdge; var _local5:b2Shape; if (m_lock == true){ return; }; _local2 = _arg1.m_jointList; while (_local2) { _local4 = _local2; _local2 = _local2.next; if (m_destructionListener){ m_destructionListener.SayGoodbyeJoint(_local4.joint); }; DestroyJoint(_local4.joint); }; _local3 = _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 _local5:b2Color; 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; _local5 = 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 _local3:b2Island; var _local4:b2Contact; var _local5:b2Joint; var _local6:int; var _local7:Array; var _local8:b2Body; var _local9:int; var _local10:int; var _local11:b2Body; var _local12:b2ContactEdge; var _local13:b2JointEdge; var _local14:Boolean; m_positionIterationCount = 0; _local3 = 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; }; _local4 = m_contactList; while (_local4) { _local4.m_flags = (_local4.m_flags & ~(b2Contact.e_islandFlag)); _local4 = _local4.m_next; }; _local5 = m_jointList; while (_local5) { _local5.m_islandFlag = false; _local5 = _local5.m_next; }; _local6 = m_bodyCount; _local7 = new Array(_local6); _local8 = 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; var _local5:int; var _local6:int; _local4 = new Array(_arg3); _local5 = m_broadPhase.QueryAABB(_arg1, _local4, _arg3); _local6 = 0; 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 _local8:b2Island; var _local9:int; var _local10:Array; 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; _local8 = new b2Island(m_bodyCount, b2Settings.b2_maxTOIContactsPerIsland, 0, m_stackAllocator, m_contactListener); _local9 = m_bodyCount; _local10 = 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 Validate():void{ m_broadPhase.Validate(); } public function GetPairCount():int{ return (m_broadPhase.m_pairManager.m_pairCount); } public function GetBodyList():b2Body{ return (m_bodyList); } 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 _local2:b2Joint; var _local3:b2Body; var _local4:b2Shape; _local2 = b2Joint.Create(_arg1, m_blockAllocator); _local2.m_prev = null; _local2.m_next = m_jointList; if (m_jointList){ m_jointList.m_prev = _local2; }; m_jointList = _local2; m_jointCount++; _local2.m_node1.joint = _local2; _local2.m_node1.other = _local2.m_body2; _local2.m_node1.prev = null; _local2.m_node1.next = _local2.m_body1.m_jointList; if (_local2.m_body1.m_jointList){ _local2.m_body1.m_jointList.prev = _local2.m_node1; }; _local2.m_body1.m_jointList = _local2.m_node1; _local2.m_node2.joint = _local2; _local2.m_node2.other = _local2.m_body1; _local2.m_node2.prev = null; _local2.m_node2.next = _local2.m_body2.m_jointList; if (_local2.m_body2.m_jointList){ _local2.m_body2.m_jointList.prev = _local2.m_node2; }; _local2.m_body2.m_jointList = _local2.m_node2; if (_arg1.collideConnected == false){ _local3 = ((_arg1.body1.m_shapeCount < _arg1.body2.m_shapeCount)) ? _arg1.body1 : _arg1.body2; _local4 = _local3.m_shapeList; while (_local4) { _local4.RefilterProxy(m_broadPhase, _local3.m_xf); _local4 = _local4.m_next; }; }; return (_local2); } public function DestroyJoint(_arg1:b2Joint):void{ var _local2:Boolean; var _local3:b2Body; var _local4:b2Body; var _local5:b2Body; var _local6:b2Shape; _local2 = _arg1.m_collideConnected; if (_arg1.m_prev){ _arg1.m_prev.m_next = _arg1.m_next; }; if (_arg1.m_next){ _arg1.m_next.m_prev = _arg1.m_prev; }; if (_arg1 == m_jointList){ m_jointList = _arg1.m_next; }; _local3 = _arg1.m_body1; _local4 = _arg1.m_body2; _local3.WakeUp(); _local4.WakeUp(); if (_arg1.m_node1.prev){ _arg1.m_node1.prev.next = _arg1.m_node1.next; }; if (_arg1.m_node1.next){ _arg1.m_node1.next.prev = _arg1.m_node1.prev; }; if (_arg1.m_node1 == _local3.m_jointList){ _local3.m_jointList = _arg1.m_node1.next; }; _arg1.m_node1.prev = null; _arg1.m_node1.next = null; if (_arg1.m_node2.prev){ _arg1.m_node2.prev.next = _arg1.m_node2.next; }; if (_arg1.m_node2.next){ _arg1.m_node2.next.prev = _arg1.m_node2.prev; }; if (_arg1.m_node2 == _local4.m_jointList){ _local4.m_jointList = _arg1.m_node2.next; }; _arg1.m_node2.prev = null; _arg1.m_node2.next = null; b2Joint.Destroy(_arg1, m_blockAllocator); m_jointCount--; if (_local2 == false){ _local5 = ((_local3.m_shapeCount < _local4.m_shapeCount)) ? _local3 : _local4; _local6 = _local5.m_shapeList; while (_local6) { _local6.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{ var _local2:b2Body; if (m_lock == true){ return (null); }; _local2 = new b2Body(_arg1, this); _local2.m_prev = null; _local2.m_next = m_bodyList; if (m_bodyList){ m_bodyList.m_prev = _local2; }; m_bodyList = _local2; m_bodyCount++; return (_local2); } public function SetBoundaryListener(_arg1:b2BoundaryListener):void{ m_boundaryListener = _arg1; } public function SetDestructionListener(_arg1:b2DestructionListener):void{ m_destructionListener = _arg1; } public function Step(_arg1:Number, _arg2:int):void{ var _local3:b2TimeStep; m_lock = true; _local3 = 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
//border_124 (StarFirePuzzler_fla.border_124) package StarFirePuzzler_fla { import flash.display.*; public dynamic class border_124 extends MovieClip { public function border_124(){ addFrameScript(0, frame1, 2, frame3); } function frame3(){ gotoAndStop(1); } function frame1(){ stop(); } } }//package StarFirePuzzler_fla
Section 76
//Button2copy_66 (StarFirePuzzler_fla.Button2copy_66) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class Button2copy_66 extends MovieClip { public function Button2copy_66(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(MouseEvent.CLICK, Klikk); } public function Klikk(_arg1:Event){ var _local2:URLRequest; _local2 = new URLRequest("http://www.notdoppler.com"); navigateToURL(_local2); } } }//package StarFirePuzzler_fla
Section 77
//choose_animated_70 (StarFirePuzzler_fla.choose_animated_70) package StarFirePuzzler_fla { import flash.display.*; public dynamic class choose_animated_70 extends MovieClip { public function choose_animated_70(){ addFrameScript(26, frame27); } function frame27(){ stop(); } } }//package StarFirePuzzler_fla
Section 78
//choose_script_71 (StarFirePuzzler_fla.choose_script_71) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class choose_script_71 extends MovieClip { public function choose_script_71(){ addFrameScript(0, frame1); } function frame1(){ MovieClip(root).currentLevel = MovieClip(root).so.data.currentLevel; if (MovieClip(root).currentLevel == undefined){ MovieClip(root).currentLevel = 1; MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; }; MovieClip(root).StartLevel = MovieClip(root).currentLevel; } } }//package StarFirePuzzler_fla
Section 79
//chooseLevel_69 (StarFirePuzzler_fla.chooseLevel_69) package StarFirePuzzler_fla { import flash.display.*; public dynamic class chooseLevel_69 extends MovieClip { public function chooseLevel_69(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package StarFirePuzzler_fla
Section 80
//Contiune_42 (StarFirePuzzler_fla.Contiune_42) package StarFirePuzzler_fla { import flash.display.*; public dynamic class Contiune_42 extends MovieClip { public function Contiune_42(){ addFrameScript(0, frame1); } function frame1(){ cacheAsBitmap = true; } } }//package StarFirePuzzler_fla
Section 81
//FireArrow_128 (StarFirePuzzler_fla.FireArrow_128) package StarFirePuzzler_fla { import flash.display.*; public dynamic class FireArrow_128 extends MovieClip { public function FireArrow_128(){ addFrameScript(0, frame1); } function frame1(){ cacheAsBitmap = true; } } }//package StarFirePuzzler_fla
Section 82
//introFlash_5 (StarFirePuzzler_fla.introFlash_5) package StarFirePuzzler_fla { import flash.display.*; public dynamic class introFlash_5 extends MovieClip { public function introFlash_5(){ addFrameScript(5, frame6); } function frame6(){ stop(); } } }//package StarFirePuzzler_fla
Section 83
//lCMenu_64 (StarFirePuzzler_fla.lCMenu_64) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class lCMenu_64 extends MovieClip { public var Comp:MovieClip; public function lCMenu_64(){ addFrameScript(0, frame1, 48, frame49, 49, frame50); } function frame1(){ stop(); } function frame49(){ Comp.showScores(); } function frame50(){ stop(); } } }//package StarFirePuzzler_fla
Section 84
//lCMenu_art_65 (StarFirePuzzler_fla.lCMenu_art_65) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class lCMenu_art_65 extends MovieClip { public var nextLevel:MovieClip; public var levelScore:TextField; public var TS:Number; public var LS:Number; public var TotalS:Number; public var totalScore:TextField; public var timeScore:TextField; public var But2:MovieClip; public function lCMenu_art_65(){ addFrameScript(0, frame1); __setProp_But2_lCMenu_art_Layer4_1(); } function __setProp_But2_lCMenu_art_Layer4_1(){ try { But2["componentInspectorSetting"] = true; } catch(e:Error) { }; But2.bodyAllowSleep = true; But2.bodyAngularDamping = 0; But2.bodyApplyGravity = true; But2.bodyFixedRotation = false; But2.bodyIsBullet = false; But2.bodyIsSleeping = false; But2.bodyIsStatic = true; But2.bodyLinearDamping = 0; But2.shapeCategoryBits = "0x0001"; But2.shapeDensity = 1; But2.shapeFriction = 0.2; But2.shapeGroupIndex = 0; But2.shapeIsSensor = false; But2.shapeMaskBits = "0xFFFF"; But2.shapeRestitution = 0; try { But2["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame1(){ timeScore.text = "...Calculating..."; levelScore.text = "...Calculating..."; totalScore.text = "...Calculating..."; nextLevel.addEventListener(MouseEvent.CLICK, tryAgain2); stage.addEventListener(KeyboardEvent.KEY_DOWN, tryAgain); } public function tryAgain2(_arg1:MouseEvent){ if (MovieClip(parent).currentFrame == 50){ MovieClip(parent).play(); MovieClip(root).view1.leveln = (MovieClip(root).view1.leveln + 1); MovieClip(root).clearScene(); MovieClip(root).levelCompleted = false; timeScore.text = "...Calculating..."; levelScore.text = "...Calculating..."; totalScore.text = "...Calculating..."; }; } public function showScores(){ TS = (1000 - MovieClip(root).MyTimer.currentCount); if (TS < 0){ TS = 12; }; LS = ((MovieClip(root).view1.World.currentFrame - 1) * 100); TotalS = ((TS + LS) + MovieClip(root).totalScore); MovieClip(root).MyTimer.stop(); timeScore.text = TS.toString(); levelScore.text = LS.toString(); totalScore.text = TotalS.toString(); MovieClip(root).totalScore = TotalS; } public function tryAgain(_arg1:KeyboardEvent){ if (MovieClip(parent).currentFrame == 50){ MovieClip(parent).play(); MovieClip(root).view1.leveln = (MovieClip(root).view1.leveln + 1); MovieClip(root).clearScene(); MovieClip(root).levelCompleted = false; timeScore.text = "...Calculating..."; levelScore.text = "...Calculating..."; totalScore.text = "...Calculating..."; }; } } }//package StarFirePuzzler_fla
Section 85
//Level_59 (StarFirePuzzler_fla.Level_59) package StarFirePuzzler_fla { import flash.display.*; import flash.text.*; public dynamic class Level_59 extends MovieClip { public var levelR:TextField; } }//package StarFirePuzzler_fla
Section 86
//level1_72 (StarFirePuzzler_fla.level1_72) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level1_72 extends MovieClip { public var levelButton:MovieClip; public function level1_72(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= 1){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.leveln = 1; MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 87
//level2_74 (StarFirePuzzler_fla.level2_74) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level2_74 extends MovieClip { public var levelButton:MovieClip; public function level2_74(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= 2){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = 2; MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 88
//level3_75 (StarFirePuzzler_fla.level3_75) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3_75 extends MovieClip { public var levelButton:MovieClip; public function level3_75(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= 3){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = 3; MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 89
//level3copy_82 (StarFirePuzzler_fla.level3copy_82) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy_82 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy_82(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 90
//level3copy10_91 (StarFirePuzzler_fla.level3copy10_91) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy10_91 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy10_91(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 91
//level3copy11_93 (StarFirePuzzler_fla.level3copy11_93) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy11_93 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy11_93(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 92
//level3copy12_94 (StarFirePuzzler_fla.level3copy12_94) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy12_94 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy12_94(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 93
//level3copy13_95 (StarFirePuzzler_fla.level3copy13_95) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy13_95 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy13_95(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 94
//level3copy14_96 (StarFirePuzzler_fla.level3copy14_96) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy14_96 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy14_96(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 95
//level3copy15_97 (StarFirePuzzler_fla.level3copy15_97) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy15_97 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy15_97(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 96
//level3copy16_98 (StarFirePuzzler_fla.level3copy16_98) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy16_98 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy16_98(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 97
//level3copy17_99 (StarFirePuzzler_fla.level3copy17_99) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy17_99 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy17_99(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 98
//level3copy18_100 (StarFirePuzzler_fla.level3copy18_100) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy18_100 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy18_100(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 99
//level3copy19_101 (StarFirePuzzler_fla.level3copy19_101) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy19_101 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy19_101(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 100
//level3copy2_83 (StarFirePuzzler_fla.level3copy2_83) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy2_83 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy2_83(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 101
//level3copy20_102 (StarFirePuzzler_fla.level3copy20_102) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy20_102 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy20_102(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 102
//level3copy21_103 (StarFirePuzzler_fla.level3copy21_103) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy21_103 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy21_103(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 103
//level3copy22_104 (StarFirePuzzler_fla.level3copy22_104) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy22_104 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy22_104(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 104
//level3copy23_105 (StarFirePuzzler_fla.level3copy23_105) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy23_105 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy23_105(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 105
//level3copy24_106 (StarFirePuzzler_fla.level3copy24_106) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy24_106 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy24_106(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 106
//level3copy25_107 (StarFirePuzzler_fla.level3copy25_107) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy25_107 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy25_107(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 107
//level3copy26_108 (StarFirePuzzler_fla.level3copy26_108) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy26_108 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy26_108(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 108
//level3copy27_92 (StarFirePuzzler_fla.level3copy27_92) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy27_92 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy27_92(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 109
//level3copy28_109 (StarFirePuzzler_fla.level3copy28_109) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy28_109 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy28_109(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 110
//level3copy29_110 (StarFirePuzzler_fla.level3copy29_110) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy29_110 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy29_110(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 111
//level3copy3_84 (StarFirePuzzler_fla.level3copy3_84) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy3_84 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy3_84(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 112
//level3copy30_111 (StarFirePuzzler_fla.level3copy30_111) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy30_111 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy30_111(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 113
//level3copy31_112 (StarFirePuzzler_fla.level3copy31_112) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy31_112 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy31_112(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 114
//level3copy32_113 (StarFirePuzzler_fla.level3copy32_113) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy32_113 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy32_113(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 115
//level3copy33_114 (StarFirePuzzler_fla.level3copy33_114) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy33_114 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy33_114(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 116
//level3copy34_115 (StarFirePuzzler_fla.level3copy34_115) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy34_115 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy34_115(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 117
//level3copy35_116 (StarFirePuzzler_fla.level3copy35_116) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy35_116 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy35_116(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 118
//level3copy36_117 (StarFirePuzzler_fla.level3copy36_117) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy36_117 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy36_117(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 119
//level3copy37_118 (StarFirePuzzler_fla.level3copy37_118) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy37_118 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy37_118(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 120
//level3copy38_119 (StarFirePuzzler_fla.level3copy38_119) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy38_119 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy38_119(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 121
//level3copy4_85 (StarFirePuzzler_fla.level3copy4_85) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy4_85 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy4_85(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 122
//level3copy40_121 (StarFirePuzzler_fla.level3copy40_121) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy40_121 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy40_121(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 123
//level3copy41_122 (StarFirePuzzler_fla.level3copy41_122) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy41_122 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy41_122(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 124
//level3copy42_123 (StarFirePuzzler_fla.level3copy42_123) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy42_123 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy42_123(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 125
//level3copy45_120 (StarFirePuzzler_fla.level3copy45_120) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy45_120 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy45_120(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 126
//level3copy5_86 (StarFirePuzzler_fla.level3copy5_86) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy5_86 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy5_86(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 127
//level3copy6_87 (StarFirePuzzler_fla.level3copy6_87) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy6_87 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy6_87(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 128
//level3copy7_88 (StarFirePuzzler_fla.level3copy7_88) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy7_88 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy7_88(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 129
//level3copy8_90 (StarFirePuzzler_fla.level3copy8_90) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy8_90 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy8_90(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 130
//level3copy9_89 (StarFirePuzzler_fla.level3copy9_89) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level3copy9_89 extends MovieClip { public var LEVEL:TextField; public var levelButton:MovieClip; public function level3copy9_89(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= Number(LEVEL.text)){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = Number(LEVEL.text); MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 131
//level4_76 (StarFirePuzzler_fla.level4_76) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level4_76 extends MovieClip { public var levelButton:MovieClip; public function level4_76(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= 4){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = 4; MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 132
//level5_77 (StarFirePuzzler_fla.level5_77) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level5_77 extends MovieClip { public var levelButton:MovieClip; public function level5_77(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= 5){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = 5; MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 133
//level6_78 (StarFirePuzzler_fla.level6_78) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level6_78 extends MovieClip { public var levelButton:MovieClip; public function level6_78(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= 6){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = 6; MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 134
//level7_79 (StarFirePuzzler_fla.level7_79) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level7_79 extends MovieClip { public var levelButton:MovieClip; public function level7_79(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= 7){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = 7; MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 135
//level8_80 (StarFirePuzzler_fla.level8_80) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level8_80 extends MovieClip { public var levelButton:MovieClip; public function level8_80(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= 8){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.leveln = 8; MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 136
//level9_81 (StarFirePuzzler_fla.level9_81) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class level9_81 extends MovieClip { public var levelButton:MovieClip; public function level9_81(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); if (MovieClip(root).currentLevel >= 9){ gotoAndStop(2); }; } function frame2(){ stop(); levelButton.addEventListener(MouseEvent.CLICK, goToLevel); } public function goToLevel(_arg1:Event){ MovieClip(root).gotoAndStop("GAME"); MovieClip(root).view1.gotoAndStop(2); MovieClip(root).view1.leveln = 9; MovieClip(root).removeChild(MovieClip(root).chooseLevel); } } }//package StarFirePuzzler_fla
Section 137
//levelButton_73 (StarFirePuzzler_fla.levelButton_73) package StarFirePuzzler_fla { import flash.display.*; public dynamic class levelButton_73 extends MovieClip { public function levelButton_73(){ addFrameScript(0, frame1); } function frame1(){ this.cacheAsBitmap = true; } } }//package StarFirePuzzler_fla
Section 138
//levelShower_58 (StarFirePuzzler_fla.levelShower_58) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class levelShower_58 extends MovieClip { public var LS:MovieClip; public function levelShower_58(){ addFrameScript(0, frame1, 1, frame2, 64, frame65, 79, frame80); } function frame65(){ gotoAndStop(1); } function frame80(){ if (MovieClip(root).lCMenu.currentFrame != 1){ gotoAndPlay(78); } else { gotoAndStop(1); }; } function frame1(){ stop(); } function frame2(){ gotoAndStop(1); } } }//package StarFirePuzzler_fla
Section 139
//loading_2 (StarFirePuzzler_fla.loading_2) package StarFirePuzzler_fla { import flash.display.*; public dynamic class loading_2 extends MovieClip { public function loading_2(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package StarFirePuzzler_fla
Section 140
//NewTool_40 (StarFirePuzzler_fla.NewTool_40) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class NewTool_40 extends MovieClip { public var ContinueButton:MovieClip; public function NewTool_40(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ if (MovieClip(root).view1.World.currentFrame == 4){ gotoAndStop(1); }; if (MovieClip(root).view1.World.currentFrame == 8){ gotoAndStop(2); }; if (MovieClip(root).view1.World.currentFrame == 13){ gotoAndStop(3); }; } function frame1(){ if (MovieClip(root).view1.World.currentFrame == 4){ gotoAndStop(1); }; if (MovieClip(root).view1.World.currentFrame == 8){ gotoAndStop(2); }; if (MovieClip(root).view1.World.currentFrame == 14){ gotoAndStop(3); }; stop(); ContinueButton.addEventListener(MouseEvent.CLICK, tryAgain2); stage.addEventListener(KeyboardEvent.KEY_DOWN, tryAgain); } public function tryAgain2(_arg1:MouseEvent){ if (MovieClip(parent).currentFrame == 30){ MovieClip(parent).play(); }; } public function tryAgain(_arg1:KeyboardEvent){ if (MovieClip(parent).currentFrame == 30){ MovieClip(parent).play(); }; } function frame2(){ if (MovieClip(root).view1.World.currentFrame == 4){ gotoAndStop(1); }; if (MovieClip(root).view1.World.currentFrame == 8){ gotoAndStop(2); }; if (MovieClip(root).view1.World.currentFrame == 13){ gotoAndStop(3); }; } } }//package StarFirePuzzler_fla
Section 141
//NewToolAni_39 (StarFirePuzzler_fla.NewToolAni_39) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class NewToolAni_39 extends MovieClip { public function NewToolAni_39(){ addFrameScript(0, frame1, 29, frame30, 49, frame50); } function frame1(){ if (MovieClip(parent).newTool == true){ play(); MovieClip(parent).newTool = false; } else { gotoAndStop(1); }; } function frame30(){ stop(); MovieClip(parent).newTool = false; } function frame50(){ MovieClip(parent).newTool = false; } } }//package StarFirePuzzler_fla
Section 142
//notDoppler_intro_3 (StarFirePuzzler_fla.notDoppler_intro_3) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.net.*; public dynamic class notDoppler_intro_3 extends MovieClip { public var BackBut:SimpleButton; public function notDoppler_intro_3(){ addFrameScript(0, frame1, 191, frame192); } function frame1(){ BackBut.addEventListener(MouseEvent.CLICK, GetToURL); } public function GetToURL(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://www.notdoppler.com"); navigateToURL(_local2); } function frame192(){ MovieClip(root).nextFrame(); } } }//package StarFirePuzzler_fla
Section 143
//OkayButton_41 (StarFirePuzzler_fla.OkayButton_41) package StarFirePuzzler_fla { import flash.display.*; public dynamic class OkayButton_41 extends MovieClip { public function OkayButton_41(){ addFrameScript(0, frame1); } function frame1(){ cacheAsBitmap = true; } } }//package StarFirePuzzler_fla
Section 144
//RetryBUtt_62 (StarFirePuzzler_fla.RetryBUtt_62) package StarFirePuzzler_fla { import flash.display.*; public dynamic class RetryBUtt_62 extends MovieClip { public function RetryBUtt_62(){ addFrameScript(0, frame1); } function frame1(){ cacheAsBitmap = true; } } }//package StarFirePuzzler_fla
Section 145
//RetryBUttcopy_51 (StarFirePuzzler_fla.RetryBUttcopy_51) package StarFirePuzzler_fla { import flash.display.*; public dynamic class RetryBUttcopy_51 extends MovieClip { public function RetryBUttcopy_51(){ addFrameScript(0, frame1); } function frame1(){ cacheAsBitmap = true; } } }//package StarFirePuzzler_fla
Section 146
//retryMenuAnimated_60 (StarFirePuzzler_fla.retryMenuAnimated_60) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class retryMenuAnimated_60 extends MovieClip { public var firstMenu:MovieClip; public function retryMenuAnimated_60(){ addFrameScript(0, frame1, 1, frame2, 64, frame65, 65, frame66, 78, frame79); } function frame65(){ gotoAndStop(1); } function frame79(){ if (MovieClip(root).lCMenu.currentFrame != 1){ gotoAndPlay(78); } else { gotoAndStop(1); }; } function frame1(){ stop(); } function frame2(){ gotoAndStop(1); } function frame66(){ MovieClip(root).levelShower.gotoAndPlay(currentFrame); } } }//package StarFirePuzzler_fla
Section 147
//RetryMenuStatic_50 (StarFirePuzzler_fla.RetryMenuStatic_50) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class RetryMenuStatic_50 extends MovieClip { public var SkipT:TextField; public var retryButt:MovieClip; public function RetryMenuStatic_50(){ addFrameScript(0, frame1); } function frame1(){ retryButt.addEventListener(MouseEvent.CLICK, tryAgain); if (MovieClip(root).Skips > 3){ MovieClip(root).Skips = 3; }; addEventListener(Event.ENTER_FRAME, updateText); } public function tryAgain(_arg1:MouseEvent){ if ((MovieClip(root).Skips - MovieClip(root).SkipsToBeMinused) > 0){ MovieClip(root).SkipsToBeMinused = (MovieClip(root).SkipsToBeMinused + 1); MovieClip(root).view1.leveln = (MovieClip(root).view1.leveln + 1); MovieClip(root).view1.gotoAndStop(2); }; } public function updateText(_arg1:Event){ SkipT.text = (("You have: " + (MovieClip(root).Skips - MovieClip(root).SkipsToBeMinused)) + " skip(s) left."); } } }//package StarFirePuzzler_fla
Section 148
//RetryMenuStatic_61 (StarFirePuzzler_fla.RetryMenuStatic_61) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class RetryMenuStatic_61 extends MovieClip { public var retryButt:MovieClip; public function RetryMenuStatic_61(){ addFrameScript(0, frame1); } function frame1(){ retryButt.addEventListener(MouseEvent.CLICK, tryAgain); } public function tryAgain(_arg1:MouseEvent){ MovieClip(root).clearScene(); } } }//package StarFirePuzzler_fla
Section 149
//RetryMenuStatic_63 (StarFirePuzzler_fla.RetryMenuStatic_63) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class RetryMenuStatic_63 extends MovieClip { public var retryButt:MovieClip; public function RetryMenuStatic_63(){ addFrameScript(0, frame1); } function frame1(){ retryButt.addEventListener(MouseEvent.CLICK, tryAgain); } public function tryAgain(_arg1:MouseEvent){ MovieClip(root).clearScene(); } } }//package StarFirePuzzler_fla
Section 150
//Sound_125 (StarFirePuzzler_fla.Sound_125) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; public dynamic class Sound_125 extends MovieClip { public var Firkant:MovieClip; public var channel:SoundChannel; public var BedTimeSound:Sound; public function Sound_125(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); BedTimeSound = new BedtimeStory(); channel = BedTimeSound.play(0, 999); Firkant.alpha = 0; Firkant.addEventListener(MouseEvent.CLICK, psSound); } function frame2(){ channel.stop(); } public function psSound(_arg1:MouseEvent){ if (currentFrame == 1){ nextFrame(); } else { prevFrame(); }; } } }//package StarFirePuzzler_fla
Section 151
//Tool1_34 (StarFirePuzzler_fla.Tool1_34) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class Tool1_34 extends MovieClip { public function Tool1_34(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ gotoAndStop(1); } function frame1(){ stop(); MovieClip(parent).tool1Valgt = false; } function frame2(){ MovieClip(parent).tool1Valgt = true; if (MovieClip(parent).currentFrame > 4){ MovieClip(parent).tool2Valgt = false; MovieClip(parent).tool2.gotoAndStop(1); }; if (MovieClip(parent).currentFrame > 8){ MovieClip(parent).tool3Valgt = false; MovieClip(parent).tool3.gotoAndStop(1); }; if (MovieClip(parent).currentFrame > 13){ MovieClip(parent).tool4Valgt = false; MovieClip(parent).tool4.gotoAndStop(1); }; if (MovieClip(parent).currentFrame > 18){ MovieClip(parent).tool5Valgt = false; MovieClip(parent).tool5.gotoAndStop(1); }; } } }//package StarFirePuzzler_fla
Section 152
//Tool2_38 (StarFirePuzzler_fla.Tool2_38) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class Tool2_38 extends MovieClip { public function Tool2_38(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ gotoAndStop(1); } function frame1(){ stop(); MovieClip(parent).tool2Valgt = false; } function frame2(){ MovieClip(parent).tool2Valgt = true; MovieClip(parent).tool1Valgt = false; if (MovieClip(parent).currentFrame > 8){ MovieClip(parent).tool3Valgt = false; MovieClip(parent).tool3.gotoAndStop(1); }; MovieClip(parent).tool1.gotoAndStop(1); if (MovieClip(parent).currentFrame > 13){ MovieClip(parent).tool4Valgt = false; MovieClip(parent).tool4.gotoAndStop(1); }; if (MovieClip(parent).currentFrame > 18){ MovieClip(parent).tool5Valgt = false; MovieClip(parent).tool5.gotoAndStop(1); }; } } }//package StarFirePuzzler_fla
Section 153
//Tool3_43 (StarFirePuzzler_fla.Tool3_43) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class Tool3_43 extends MovieClip { public function Tool3_43(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ gotoAndStop(1); } function frame1(){ stop(); MovieClip(parent).tool3Valgt = false; } function frame2(){ MovieClip(parent).tool3Valgt = true; MovieClip(parent).tool1Valgt = false; MovieClip(parent).tool2Valgt = false; MovieClip(parent).tool1.gotoAndStop(1); MovieClip(parent).tool2.gotoAndStop(1); MovieClip(root).prevBody = undefined; if (MovieClip(parent).currentFrame > 13){ MovieClip(parent).tool4Valgt = false; MovieClip(parent).tool4.gotoAndStop(1); }; if (MovieClip(parent).currentFrame > 18){ MovieClip(parent).tool5Valgt = false; MovieClip(parent).tool5.gotoAndStop(1); }; } } }//package StarFirePuzzler_fla
Section 154
//Tool4_44 (StarFirePuzzler_fla.Tool4_44) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class Tool4_44 extends MovieClip { public function Tool4_44(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ gotoAndStop(1); } function frame1(){ stop(); MovieClip(parent).tool4Valgt = false; } function frame2(){ MovieClip(parent).tool4Valgt = true; MovieClip(parent).tool1Valgt = false; MovieClip(parent).tool2Valgt = false; MovieClip(parent).tool3Valgt = false; MovieClip(parent).tool1.gotoAndStop(1); MovieClip(parent).tool2.gotoAndStop(1); MovieClip(parent).tool3.gotoAndStop(1); if (MovieClip(parent).currentFrame > 18){ MovieClip(parent).tool5Valgt = false; MovieClip(parent).tool5.gotoAndStop(1); }; } } }//package StarFirePuzzler_fla
Section 155
//Tool5_55 (StarFirePuzzler_fla.Tool5_55) package StarFirePuzzler_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class Tool5_55 extends MovieClip { public function Tool5_55(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ gotoAndStop(1); } function frame1(){ stop(); MovieClip(parent).tool5Valgt = false; } function frame2(){ MovieClip(parent).tool5Valgt = true; MovieClip(parent).tool1Valgt = false; MovieClip(parent).tool2Valgt = false; MovieClip(parent).tool3Valgt = false; MovieClip(parent).tool4Valgt = false; MovieClip(parent).tool1.gotoAndStop(1); MovieClip(parent).tool2.gotoAndStop(1); MovieClip(parent).tool3.gotoAndStop(1); MovieClip(parent).tool4.gotoAndStop(1); } } }//package StarFirePuzzler_fla
Section 156
//TurnVisible_57 (StarFirePuzzler_fla.TurnVisible_57) package StarFirePuzzler_fla { import flash.display.*; public dynamic class TurnVisible_57 extends MovieClip { public function TurnVisible_57(){ addFrameScript(42, frame43); } function frame43(){ stop(); } } }//package StarFirePuzzler_fla
Section 157
//TUT_29 (StarFirePuzzler_fla.TUT_29) package StarFirePuzzler_fla { import flash.display.*; public dynamic class TUT_29 extends MovieClip { public function TUT_29(){ addFrameScript(0, frame1, 129, frame130); } function frame1(){ stop(); } function frame130(){ gotoAndPlay(10); } } }//package StarFirePuzzler_fla
Section 158
//TUT2_35 (StarFirePuzzler_fla.TUT2_35) package StarFirePuzzler_fla { import flash.display.*; public dynamic class TUT2_35 extends MovieClip { public function TUT2_35(){ addFrameScript(0, frame1, 23, frame24, 53, frame54, 63, frame64); } function frame64(){ stop(); } function frame1(){ stop(); } function frame24(){ stop(); } function frame54(){ stop(); } } }//package StarFirePuzzler_fla
Section 159
//TUT3_52 (StarFirePuzzler_fla.TUT3_52) package StarFirePuzzler_fla { import flash.display.*; public dynamic class TUT3_52 extends MovieClip { public function TUT3_52(){ addFrameScript(0, frame1, 19, frame20, 39, frame40, 59, frame60, 69, frame70); } function frame70(){ stop(); } function frame1(){ stop(); } function frame20(){ stop(); } function frame40(){ stop(); } function frame60(){ stop(); } } }//package StarFirePuzzler_fla
Section 160
//TUT4_54 (StarFirePuzzler_fla.TUT4_54) package StarFirePuzzler_fla { import flash.display.*; public dynamic class TUT4_54 extends MovieClip { public function TUT4_54(){ addFrameScript(0, frame1, 19, frame20, 39, frame40, 59, frame60, 79, frame80, 99, frame100, 109, frame110); } function frame80(){ stop(); } function frame1(){ stop(); } function frame100(){ stop(); } function frame20(){ stop(); } function frame110(){ stop(); } function frame40(){ stop(); } function frame60(){ stop(); } } }//package StarFirePuzzler_fla
Section 161
//Arrowmaster (wck.Arrowmaster) package wck { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; import flash.display.*; import flash.events.*; import Box2D.Dynamics.Contacts.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; public class Arrowmaster extends TopLevel { public var Line:Sprite; public var retryMenu:MovieClip; public var border:MovieClip; public var FireArrowBut:MovieClip; public var view1:DemoView1; public var startX:Number; public var startY:Number; public var pointer:DemoCursor; public var percent:Number; public var isWheel:Boolean; public var StartLevel; public var so:SharedObject; public var prevBody:b2Body; public var loading2:TextField; public var Linen2; public var view:View; public var isShooting:Boolean; public var Skips:Number; public var angle:Number; public var lineH; public var MyTimer:Timer; public var Linen; public var MotorSpeed:Number; public var længde; public var lineW; public var levelShower:MovieClip; public var circ:b2CircleDef; public var hasNotBeenCreated2:Boolean; public var levelCompleted:Boolean; public var loading:MovieClip; public var RFireArrow:MovieClip; public var jd:b2DistanceJointDef; public var lCMenu:MovieClip; public var cursor:Cursor; public var lineAdded:Boolean; public var hasNotBeenCreated:Boolean; public var currentLevel; public var anchor11:b2Vec2; public var FireArrowMode:Boolean; public var mj:b2RevoluteJointDef; public var chooseLevel:MovieClip; public var anchor21:b2Vec2; public var totalScore; public var SkipsToBeMinused:Number; public var angle2:Number; public var ganchor2:b2Vec2; public var newPoint; public var ganchor:b2Vec2; public var Arrow; public var pd:b2PulleyJointDef; public var PI; public var lineLength:Number; public function Arrowmaster(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 11, frame12); cursor = (getChildByName("pointer") as Cursor); stop(); addEventListener(Event.ENTER_FRAME, initialize, false, 0, true); } public function createJointLine(_arg1:Event){ if (hasNotBeenCreated == true){ Linen = new line(); addChildAt(Linen, 6); newPoint = view1.World.localToGlobal(new Point((anchor11.x * 30), (anchor11.y * 30))); hasNotBeenCreated = false; }; Linen.graphics.clear(); Linen.graphics.lineStyle(2, 10720007); Linen.graphics.moveTo(newPoint.x, newPoint.y); Linen.graphics.lineTo((pointer.x - 2), (pointer.y - 2)); if (view1.World.tool2Valgt != true){ removeEventListener(Event.ENTER_FRAME, createJointLine); hasNotBeenCreated = true; removeChild(Linen); prevBody = undefined; }; } public function changeStaticOrDynamic(_arg1, _arg2){ var _local3:*; var _local4:b2Body; isWheel = false; if (_arg1.m_jointList != null){ if (_arg1.m_jointList.joint == "[object b2RevoluteJoint]"){ isWheel = true; }; }; if ((((_arg1.m_type == 2)) && ((isWheel == true)))){ if ((((((view1.World.currentFrame == 9)) && ((view1.World.TUT3.currentFrame == 60)))) && ((_arg1.m_userData == "[object Circle]")))){ view1.World.TUT3.play(); }; view1.World.b2world.DestroyBody(_arg1.m_jointList.other); if (_arg1.m_userData == "[object Circle]"){ circ = new b2CircleDef(); circ.radius = 1; circ.restitution = 0.4; circ.density = 2; if (_arg1.m_userData == "[object Circle]"){ MotorSpeed = -100; }; circ.isSensor = true; _local3 = new b2BodyDef(); _local3.position.Set(_arg1.GetWorldCenter().x, _arg1.GetWorldCenter().y); _local4 = view1.World.b2world.CreateBody(_local3); _local4.CreateShape(circ); _local4.SetMassFromShapes(); mj = new b2RevoluteJointDef(); mj.Initialize(_arg1, _local4, _arg1.GetWorldCenter()); mj.enableMotor = true; mj.maxMotorTorque = 1000000; mj.motorSpeed = MotorSpeed; _arg1.SetMassFromShapes(); _arg1.m_type = 2; _arg1.WakeUp(); view1.World.b2world.CreateJoint(mj); } else { _arg1.SetMassFromShapes(); _arg1.m_type = 2; _arg1.WakeUp(); }; }; if ((((_arg1.m_type == 1)) && ((isWheel == false)))){ if ((((((view1.World.currentFrame == 14)) && ((view1.World.TUT4.currentFrame == 80)))) && ((_arg1.m_userData == "[object StaticBox]")))){ view1.World.TUT4.play(); }; if ((((((view1.World.currentFrame == 14)) && ((view1.World.TUT4.currentFrame == 100)))) && ((_arg1.m_userData == "[object DemoStar]")))){ view1.World.TUT4.play(); }; _arg1.SetMassFromShapes(); _arg1.m_type = 2; _arg1.WakeUp(); } else { if ((((_arg1.m_type == 2)) && ((isWheel == false)))){ _arg1.SetLinearVelocity(new b2Vec2(0, 0)); _arg1.m_angularVelocity = 0; _arg1.m_invI = 0; _arg1.m_invMass = 0; _arg1.m_I = 0; _arg1.m_mass = 0; _arg1.m_type = 1; }; }; } public function clearScene(){ isShooting = false; FireArrowMode = false; border.gotoAndStop(1); lineAdded = false; view1.World.cleanUp(); view1.gotoAndStop(2); stage.removeEventListener(Event.ENTER_FRAME, updater); Arrow.b2body.PutToSleep(); } public function REnterArrowMode(_arg1:MouseEvent){ FireArrowMode = true; border.gotoAndStop(2); } function frame1(){ stop(); loaderInfo.addEventListener(ProgressEvent.PROGRESS, update); percent = Math.floor(((this.loaderInfo.bytesLoaded * 100) / this.loaderInfo.bytesTotal)); if (percent == 100){ nextFrame(); }; stop(); } function frame3(){ so = SharedObject.getLocal("LevelSaver"); initView("view1"); levelCompleted = false; StageQuality.LOW; view1.leveln = 0; SkipsToBeMinused = 0; totalScore = 0; MyTimer = new Timer(10, 0); view1.gotoAndStop(2); Skips = 0; removeChild(retryMenu); levelShower.visible = false; stop(); } public function createJointLine2(_arg1:Event){ if (hasNotBeenCreated2 == true){ Linen2 = new line(); addChildAt(Linen2, 6); newPoint = view1.World.localToGlobal(new Point((anchor11.x * 30), (anchor11.y * 30))); hasNotBeenCreated2 = false; }; Linen2.graphics.clear(); Linen2.graphics.lineStyle(2, 10720007); Linen2.graphics.moveTo(newPoint.x, newPoint.y); Linen2.graphics.lineTo(newPoint.x, -10); Linen2.graphics.lineTo(pointer.x, -10); Linen2.graphics.lineTo((pointer.x - 2), pointer.y); if (view1.World.tool4Valgt != true){ removeEventListener(Event.ENTER_FRAME, createJointLine2); hasNotBeenCreated2 = true; removeChild(Linen2); prevBody = undefined; }; } function frame12(){ FireArrowMode = false; addEventListener(Event.ENTER_FRAME, checkArrowBut); view1.gotoAndStop(2); MochiBot.track(this, "3dd8ea04"); addChild(retryMenu); addChild(pointer); levelShower.visible = true; prevBody = undefined; PI = Math.PI; border.gotoAndStop(1); addEventListener(Event.ENTER_FRAME, checkInOut); trace(""); Line = new Sprite(); lineAdded = false; stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseIsDown); stage.addEventListener(MouseEvent.MOUSE_UP, mouseIsUp); } function frame2(){ stop(); } public function update(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = Math.floor(((_arg1.bytesLoaded * 100) / _arg1.bytesTotal)); if ((loading is MovieClip)){ loading.gotoAndStop(_local2); }; if (_local2 == 100){ play(); }; } public function updater(_arg1:Event){ var _local2:*; var _local3:*; if ((((((((Arrow.x > 450)) || ((Arrow.x < -450)))) || ((Arrow.y < -400)))) || ((Arrow.y > 400)))){ if (isShooting == true){ isShooting = false; }; }; if (Arrow.b2body.IsSleeping()){ _local2 = ((Math.cos(angle) * lineLength) / 100); _local3 = ((Math.sin(angle) * lineLength) / 100); Arrow.b2body.ApplyImpulse(new b2Vec2(_local2, _local3), Arrow.b2body.GetWorldCenter()); }; } public function checkArrowBut(_arg1:Event){ if (view1.leveln == 1){ RFireArrow.visible = false; FireArrowBut.addEventListener(MouseEvent.CLICK, enterArrowMode); removeEventListener(Event.ENTER_FRAME, checkArrowBut); } else { removeChild(FireArrowBut); RFireArrow.visible = true; RFireArrow.addEventListener(MouseEvent.CLICK, REnterArrowMode); removeEventListener(Event.ENTER_FRAME, checkArrowBut); }; } public function clickABody(_arg1, _arg2){ var _local3:*; var _local4:b2Body; if (_arg1.m_userData == "[object InvisibleBox]"){ _arg1.m_userData.gotoAndStop(2); }; if (view1.World.tool1Valgt == true){ if (((((!((_arg1.m_userData == "[object DemoPoly]"))) && (!((_arg1.m_userData == "[object ForEverStatic]"))))) && (!((_arg1.m_userData == "[object ForEverEVERStatic]"))))){ if ((((((view1.World.currentFrame == 3)) && ((_arg1.m_userData == "[object StaticBox]")))) && ((view1.World.TUT2.currentFrame == 24)))){ view1.World.TUT2.play(); }; changeStaticOrDynamic(_arg1, _arg2); }; }; if ((((((view1.World.tool2Valgt == true)) && (!((_arg1.m_userData == "[object ForEverStatic]"))))) && (!((_arg1.m_userData == "[object ForEverEVERStatic]"))))){ if (prevBody == undefined){ prevBody = _arg1; anchor11 = new b2Vec2((view1.World.mouseX / 30), (view1.World.mouseY / 30)); hasNotBeenCreated = true; addEventListener(Event.ENTER_FRAME, createJointLine); } else { if (((((!((_arg1.m_userData == "[object ForEverStatic]"))) && (!((_arg1.m_userData == "[object ForEverEVERStatic]"))))) && (!((_arg1 == prevBody))))){ jd = new b2DistanceJointDef(); anchor21 = new b2Vec2((view1.World.mouseX / 30), (view1.World.mouseY / 30)); jd.Initialize(prevBody, _arg1, anchor11, anchor21); jd.collideConnected = true; view1.World.b2world.CreateJoint(jd); removeEventListener(Event.ENTER_FRAME, createJointLine); removeChild(Linen); hasNotBeenCreated = false; prevBody = undefined; }; }; }; if ((((((((view1.World.tool3Valgt == true)) && (!((_arg1.m_userData == "[object DemoPoly]"))))) && (!((_arg1.m_userData == "[object ForEverStatic]"))))) && (!((_arg1.m_userData == "[object ForEverEVERStatic]"))))){ if ((((((view1.World.currentFrame == 9)) && ((_arg1.m_userData == "[object Circle]")))) && ((view1.World.TUT3.currentFrame == 20)))){ view1.World.TUT3.play(); }; _arg1.GetShapeList().m_friction = 5; circ = new b2CircleDef(); circ.radius = 1; if (_arg1.m_type == 1){ circ.density = 0; if (_arg1.GetShapeList().m_type == 0){ MotorSpeed = -2; } else { MotorSpeed = -7; }; } else { if (_arg1.m_userData == "[object Circle]"){ circ.density = 2; MotorSpeed = -100; } else { circ.density = 1; MotorSpeed = -7; }; }; circ.restitution = 0.4; circ.isSensor = true; _local3 = new b2BodyDef(); _local3.position.Set(_arg1.GetWorldCenter().x, _arg1.GetWorldCenter().y); _local4 = view1.World.b2world.CreateBody(_local3); _local4.CreateShape(circ); _local4.SetMassFromShapes(); mj = new b2RevoluteJointDef(); mj.Initialize(_arg1, _local4, _arg1.GetWorldCenter()); mj.enableMotor = true; mj.maxMotorTorque = 1000000; mj.motorSpeed = MotorSpeed; _arg1.SetMassFromShapes(); _arg1.m_type = 2; _arg1.WakeUp(); view1.World.b2world.CreateJoint(mj); }; if ((((((view1.World.tool4Valgt == true)) && (!((_arg1.m_userData == "[object ForEverStatic]"))))) && (!((_arg1.m_userData == "[object ForEverEVERStatic]"))))){ if (prevBody == undefined){ prevBody = _arg1; anchor11 = new b2Vec2((view1.World.mouseX / 30), (view1.World.mouseY / 30)); ganchor = new b2Vec2(anchor11.x, -230); hasNotBeenCreated2 = true; addEventListener(Event.ENTER_FRAME, createJointLine2); if ((((view1.World.currentFrame == 14)) && ((view1.World.TUT4.currentFrame == 20)))){ view1.World.TUT4.play(); }; } else { if (((((!((_arg1.m_userData == "[object ForEverStatic]"))) && (!((_arg1.m_userData == "[object ForEverEVERStatic]"))))) && (!((_arg1 == prevBody))))){ if ((((view1.World.currentFrame == 14)) && ((view1.World.TUT4.currentFrame == 40)))){ view1.World.TUT4.play(); }; pd = new b2PulleyJointDef(); anchor21 = new b2Vec2((view1.World.mouseX / 30), (view1.World.mouseY / 30)); ganchor2 = new b2Vec2(anchor21.x, -230); pd.Initialize(prevBody, _arg1, ganchor, ganchor2, anchor11, anchor21, 1); view1.World.b2world.CreateJoint(pd); removeEventListener(Event.ENTER_FRAME, createJointLine2); removeChild(Linen2); hasNotBeenCreated2 = false; prevBody = undefined; }; }; }; if ((((((view1.World.tool5Valgt == true)) && (!((_arg1.m_userData == "[object ForEverStatic]"))))) && (!((_arg1.m_userData == "[object ForEverEVERStatic]"))))){ _arg1.GetShapeList().m_restitution = 1.1; if ((((_arg1.m_userData == "[object DynamicBox]")) || ((_arg1.m_userData == "[object StaticBox]")))){ _arg1.m_userData.gotoAndStop("red"); }; }; } public function MochiB25(){ MochiBot.track(this, "5619dcc7"); } public function Aim(_arg1:Event){ var _local2:*; var _local3:*; _local2 = (mouseX - startX); _local3 = (mouseY - startY); if ((((_local2 == 0)) || ((_local3 == 0)))){ angle = 0; } else { angle = Math.atan2(_local3, _local2); }; Arrow.b2body.SetXForm(new b2Vec2(Arrow.b2body.GetPosition().x, Arrow.b2body.GetPosition().y), angle); Line.graphics.clear(); Line.graphics.lineStyle(2, 11861757); Line.graphics.moveTo(startX, startY); Line.graphics.lineTo(mouseX, mouseY); lineW = Line.width; lineH = Line.height; lineLength = Math.sqrt((Math.pow(lineW, 2) + Math.pow(lineH, 2))); } public function enterArrowMode(_arg1:MouseEvent){ FireArrowMode = true; removeChild(FireArrowBut); view1.World.TUT.play(); RFireArrow.visible = true; removeEventListener(MouseEvent.CLICK, enterArrowMode); RFireArrow.addEventListener(MouseEvent.CLICK, REnterArrowMode); border.gotoAndStop(2); } public function MochiB50(){ MochiBot.track(this, "dfe37f13"); } public function initialize(_arg1:Event){ Key.initialize(stage); cursor.initialize(); removeEventListener(Event.ENTER_FRAME, initialize); } public function mouseIsUp(_arg1:MouseEvent){ if ((((((isShooting == false)) && ((MovieClip(root).FireArrowMode == true)))) && ((lineLength > 30)))){ if (lineAdded){ if (Line != null){ lineAdded = false; removeChild(Line); }; }; stage.removeEventListener(Event.ENTER_FRAME, Aim); stage.addEventListener(Event.ENTER_FRAME, updater); isShooting = true; } else { if (lineLength < 30){ if (lineAdded){ if (Line != null){ lineAdded = false; removeChild(Line); }; }; stage.removeEventListener(Event.ENTER_FRAME, Aim); }; }; } public function checkInOut(_arg1:Event){ if ((((((((((view1.World.tool1Valgt == true)) || ((view1.World.tool2Valgt == true)))) || (view1.World.tool3Valgt))) || ((view1.World.tool4Valgt == true)))) || ((view1.World.tool5Valgt == true)))){ pointer.gotoAndStop(2); } else { pointer.gotoAndStop(1); }; if ((((levelCompleted == true)) && ((lCMenu.currentFrame == 1)))){ retryMenu.gotoAndPlay(66); lCMenu.play(); }; } public function initView(_arg1):void{ if (view){ view.cleanUp(); }; view = (getChildByName(_arg1) as View); view.initialize(); cursor.world = view.world; } public function mouseIsDown(_arg1:MouseEvent){ if ((((isShooting == false)) && ((FireArrowMode == true)))){ addChild(Line); lineAdded = true; stage.addEventListener(Event.ENTER_FRAME, Aim); startX = mouseX; startY = mouseY; }; } } }//package wck
Section 162
//Body (wck.Body) package wck { import Box2D.Dynamics.*; import flash.display.*; import flash.events.*; public class Body extends MovieClip { public var bodyIsStatic:Boolean;// = false public var bodyAngularDamping:Number;// = 0 public var bodyIsSleeping:Boolean;// = false public var bodyAllowSleep:Boolean;// = true public var bodyFixedRotation:Boolean;// = false public var bodyIsBullet:Boolean;// = false public var world:World; public var bodyLinearDamping:Number;// = 0 public var b2body:b2Body; public var compound:Compound; public var bodyApplyGravity:Boolean;// = true public function Body(){ bodyLinearDamping = 0; bodyAngularDamping = 0; bodyAllowSleep = true; bodyIsSleeping = false; bodyFixedRotation = false; bodyIsBullet = false; bodyApplyGravity = true; bodyIsStatic = false; super(); } public function create():void{ var _local1:b2BodyDef; var _local2:Number; var _local3:Shape; var _local4:int; world = (parent as World); _local1 = new b2BodyDef(); _local1.userData = this; _local1.linearDamping = bodyLinearDamping; _local1.angularDamping = bodyAngularDamping; _local1.allowSleep = bodyAllowSleep; _local1.isSleeping = bodyIsSleeping; _local1.fixedRotation = bodyFixedRotation; _local1.isBullet = bodyIsBullet; _local2 = rotation; rotation = 0; _local1.position.Set((x / world.scale), (y / world.scale)); _local1.angle = ((_local2 * Math.PI) / 180); rotation = _local2; b2body = world.b2world.CreateBody(_local1); _local3 = (this as Shape); if (_local3){ _local3.createShape(); }; _local4 = 0; while (_local4 < numChildren) { _local3 = (getChildAt(_local4) as Shape); if (_local3){ _local3.createShape(); }; _local4++; }; if (!bodyIsStatic){ b2body.SetMassFromShapes(); }; world.addEventListener(Event.ENTER_FRAME, step, false, 0, true); world.addEventListener("cleanUp", cleanUp, false, 0, true); } public function step(_arg1:Event):void{ if (!world.paused){ x = (b2body.GetPosition().x * world.scale); y = (b2body.GetPosition().y * world.scale); rotation = (((b2body.GetAngle() * 180) / Math.PI) % 360); }; } public function cleanUp(_arg1:Event=null):void{ world.removeEventListener(Event.ENTER_FRAME, step); } } }//package wck
Section 163
//Box (wck.Box) package wck { public class Box extends Shape { override public function addShapes(_arg1:Array):void{ _arg1.push(boxDef()); super.addShapes(_arg1); } } }//package wck
Section 164
//Circle (wck.Circle) package wck { public class Circle extends Shape { override public function addShapes(_arg1:Array):void{ _arg1.push(circleDef()); super.addShapes(_arg1); } } }//package wck
Section 165
//Compound (wck.Compound) package wck { import flash.display.*; import flash.geom.*; public class Compound extends MovieClip { public var groupIndexOffset:Number;// = 0 public var world:World; public function Compound(){ groupIndexOffset = 0; super(); if (parent){ flatten(); }; } public function flatten(){ var _local1:DisplayObject; var _local2:Point; world = (parent as World); while (numChildren > 0) { _local1 = getChildAt(0); if ((_local1 as Body)){ (_local1 as Body).compound = this; }; _local2 = parent.globalToLocal(localToGlobal(new Point(_local1.x, _local1.y))); _local1.x = _local2.x; _local1.y = _local2.y; _local1.rotation = (_local1.rotation + rotation); _local1.scaleX = (_local1.scaleX * scaleX); _local1.scaleY = (_local1.scaleY * scaleY); parent.addChild(_local1); }; } public function create():void{ } } }//package wck
Section 166
//Contact (wck.Contact) package wck { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import Box2D.Collision.*; import flash.events.*; public class Contact extends Event { public var normalForce:Number;// = 0 public var separation:Number;// = 0 public var bias:int;// = 0 public var key:Number;// = 0 public var tangentForce:Number;// = 0 public var position:b2Vec2;// = null public var cp:b2ContactPoint; public var normal:b2Vec2;// = null public var shape1:b2Shape;// = null public var shape2:b2Shape;// = null public function Contact(_arg1:String, _arg2:b2ContactPoint, _arg3:int){ bias = 0; shape1 = null; shape2 = null; position = null; normal = null; separation = 0; normalForce = 0; tangentForce = 0; key = 0; super(_arg1); cp = _arg2; bias = _arg3; } public function freeze():void{ shape1 = ((bias)==1) ? cp.shape1 : cp.shape2; shape2 = ((bias)==1) ? cp.shape2 : cp.shape1; normal = cp.normal.Copy(); normal.Multiply(bias); position = cp.position.Copy(); separation = cp.separation; key = cp.id._key; } public function applyForce(_arg1){ var _local2:b2Vec2; _local2 = normal.Copy(); _local2.Multiply(-(_arg1)); shape1.m_body.ApplyImpulse(_local2, position); _local2.Multiply(-1); shape2.m_body.ApplyImpulse(_local2, position); } } }//package wck
Section 167
//ContactListener (wck.ContactListener) package wck { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; import flash.events.*; import Box2D.Dynamics.Contacts.*; public class ContactListener extends b2ContactListener { override public function Add(_arg1:b2ContactPoint):void{ if ((((((_arg1.shape2.m_body.m_userData == "[object DemoStar]")) && ((_arg1.shape1.m_body.m_userData == "[object DemoPoly]")))) && ((TopLevel.root.levelCompleted == false)))){ TopLevel.root.levelCompleted = true; }; if ((((((_arg1.shape1.m_body.m_userData == "[object DemoStar]")) && ((_arg1.shape2.m_body.m_userData == "[object DemoPoly]")))) && ((TopLevel.root.levelCompleted == false)))){ TopLevel.root.levelCompleted = true; }; if (_arg1.shape2.m_body.m_userData == "[object InvisibleBox]"){ _arg1.shape2.m_body.m_userData.gotoAndStop(2); }; if (_arg1.shape1.m_body.m_userData == "[object InvisibleBox]"){ _arg1.shape1.m_body.m_userData.gotoAndStop(2); }; } public function dispatch(_arg1:b2ContactPoint, _arg2:String){ var _local3:EventDispatcher; var _local4:EventDispatcher; _local3 = (_arg1.shape1.GetUserData() as EventDispatcher); _local4 = (_arg1.shape2.GetUserData() as EventDispatcher); ((_local3) && (_local3.dispatchEvent(new Contact(_arg2, _arg1, 1)))); ((_local4) && (_local4.dispatchEvent(new Contact(_arg2, _arg1, -1)))); } } }//package wck
Section 168
//Cursor (wck.Cursor) package wck { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; import flash.display.*; import flash.events.*; import Box2D.Dynamics.Contacts.*; import flash.ui.*; public class Cursor extends MovieClip { public var drawing:DrawBody; public var joint:b2MouseJoint; public var world:World; public var shape:Shape; public static const MAX_DRAW_POINTS = 30; public function position(_arg1:MouseEvent):void{ x = _arg1.stageX; y = _arg1.stageY; } public function mouseUp(_arg1:MouseEvent):void{ shape = null; } public function initialize(){ mouseEnabled = false; Mouse.hide(); stage.addEventListener(MouseEvent.MOUSE_MOVE, position, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown, false, 0, true); stage.addEventListener(MouseEvent.CLICK, click, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_UP, mouseUp, false, 0, true); } public function click(_arg1:MouseEvent):void{ } public function mouseDown(_arg1:MouseEvent):void{ var _local2:DisplayObject; if (((world) && (!(world.paused)))){ _local2 = (_arg1.target as DisplayObject); while (((_local2) && (!(shape)))) { shape = (_local2 as Shape); _local2 = _local2.parent; }; if (shape){ MovieClip(root).clickABody(shape.body.b2body, shape.body); }; }; } } }//package wck
Section 169
//DemoPoly (wck.DemoPoly) package wck { public class DemoPoly extends Shape { override public function addShapes(_arg1:Array):void{ _arg1 = _arg1.concat(polygonListDef([[[-615.6, -137.7], [-496.95, -19.1], [-806.9, -7.9], [-944.85, -137.7]], [[-496.95, -19.1], [585.4, -19.1], [944.9, 0.05], [585.4, 19.15], [-496.95, 19.15], [-806.9, 7.95], [-806.9, -7.9]], [[-944.85, 137.75], [-806.9, 7.95], [-496.95, 19.15], [-615.6, 137.75]], [[452.65, 133.55], [585.4, 19.15], [944.9, 0.05]], [[944.9, 0.05], [585.4, -19.1], [452.65, -133.5]]])); super.addShapes(_arg1); } } }//package wck
Section 170
//DemoPoly2 (wck.DemoPoly2) package wck { public class DemoPoly2 extends Shape { override public function addShapes(_arg1:Array):void{ _arg1 = _arg1.concat(polygonListDef([[[0.55, -18.75], [4.6, -7.65], [-5.65, -8.15]], [[-5.65, -8.15], [4.6, -7.65], [-9.95, 4.4], [-20.55, -4.95], [-20.55, -6.6]], [[-9.95, 4.4], [4.6, -7.65], [0.8, 12.45], [-12.75, 18.35]], [[0.8, 12.45], [4.6, -7.65], [9.55, 5.8], [12.7, 18.75]], [[19, -4.85], [9.55, 5.8], [4.6, -7.65]]])); super.addShapes(_arg1); } } }//package wck
Section 171
//DrawBody (wck.DrawBody) package wck { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; import Box2D.Dynamics.Contacts.*; public class DrawBody extends Body { public var points:Array; public var lastAngle:Number;// = 0 public function DrawBody(){ points = [new b2Vec2(0, 0)]; lastAngle = 0; super(); } public function refreshLines(){ var _local1:int; graphics.clear(); graphics.lineStyle(20, 0x999999); graphics.moveTo(points[0].x, points[0].y); _local1 = 1; while (_local1 < points.length) { graphics.lineTo(points[_local1].x, points[_local1].y); _local1++; }; } public function finish():void{ b2body.WakeUp(); } public function drawTo(_arg1:Number, _arg2:Number, _arg3:Boolean=false):void{ var _local4:int; var _local5:b2Vec2; var _local6:b2Vec2; var _local7:b2Vec2; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:b2Vec2; var _local12:b2PolygonDef; _local4 = points.length; _local5 = new b2Vec2(_arg1, _arg2); _local6 = points[(_local4 - 1)]; _local7 = new b2Vec2((_local5.x - _local6.x), (_local5.y - _local6.y)); _local8 = Math.atan2(_local7.y, _local7.x); _local9 = (Math.abs((_local8 - lastAngle)) % (Math.PI * 2)); _local10 = _local7.Length(); trace(_local9); if (((_local10) && (((_arg3) || ((_local9 > (20 / _local10))))))){ points.push(_local5); lastAngle = _local8; _local11 = new b2Vec2((((_local7.x * 0.5) + _local6.x) / world.scale), (((_local7.y * 0.5) + _local6.y) / world.scale)); _local12 = new b2PolygonDef(); _local12.SetAsOrientedBox(((_local10 / world.scale) / 2), (10 / world.scale), _local11, _local8); _local12.density = 1; b2body.CreateShape(_local12); b2body.SetMassFromShapes(); refreshLines(); } else { graphics.lineTo(_arg1, _arg2); }; } override public function create():void{ bodyIsSleeping = true; refreshLines(); super.create(); } } }//package wck
Section 172
//Joint (wck.Joint) package wck { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; import flash.display.*; import flash.events.*; import Box2D.Dynamics.Contacts.*; import flash.geom.*; import flash.utils.*; public class Joint extends MovieClip { public var spring:Boolean;// = false public var positionInBody:Point; public var lineParameter:String;// = "0x888888" public var path:Path;// = null public var lineStyle:String;// = "Line" public var springDamping:Number;// = 0 public var upperLimit:Number;// = 0 public var strength:Number;// = 0 public var speed:Number;// = 0 public var collideConnected:Boolean;// = false public var pathReturns:Boolean;// = true public var speedFlag;// = "" public var pathDistance:Number;// = 0 public var target:Joint; public var world:World; public var lowerLimit:Number;// = 0 public var bodyName:String;// = "" public var body2Name:String;// = "" public var type:String;// = "None" public var body:Body; public var joint:b2Joint; public var enableMotor:Boolean;// = false public var b2body:b2Body; public var speed1:Number;// = 0 public var b2body2:b2Body; public var body2:Body; public var springConstant:Number;// = 0 public var speed2:Number;// = 0 public var targetName:String;// = "" public var pathDirection:Number;// = 1 public var length:Number; public var lineMC:MovieClip; public var lineColor:Number; public var enableLimit:Boolean;// = false public function Joint(){ collideConnected = false; lowerLimit = 0; upperLimit = 0; strength = 0; speed1 = 0; speed2 = 0; enableLimit = false; enableMotor = false; targetName = ""; type = "None"; speedFlag = ""; bodyName = ""; body2Name = ""; pathReturns = true; lineStyle = "Line"; lineParameter = "0x888888"; spring = false; springConstant = 0; springDamping = 0; speed = 0; path = null; pathDistance = 0; pathDirection = 1; super(); } public function setSpeed(_arg1:Event):void{ speed = (world.vars[speedFlag]) ? speed2 : speed1; if (type == "Prismatic"){ (joint as b2PrismaticJoint).SetMotorSpeed(speed); } else { if ((((type == "Revolute")) || ((type == "RevolutePin")))){ (joint as b2RevoluteJoint).SetMotorSpeed(speed); }; }; b2body.WakeUp(); if (b2body2){ b2body2.WakeUp(); }; } public function create():void{ var _local1:b2DistanceJointDef; var _local2:b2RevoluteJointDef; var _local3:b2PrismaticJointDef; var _local4:b2Vec2; var _local5:b2RevoluteJointDef; var _local6:b2MouseJointDef; var _local7:Class; switch (type){ case "Distance": _local1 = new b2DistanceJointDef(); _local1.Initialize(b2body, target.b2body, new b2Vec2((x / world.scale), (y / world.scale)), new b2Vec2((target.x / world.scale), (target.y / world.scale))); joint = world.b2world.CreateJoint(_local1); break; case "Revolute": _local2 = new b2RevoluteJointDef(); _local2.Initialize(b2body, target.b2body, new b2Vec2((x / world.scale), (y / world.scale))); _local2.lowerAngle = lowerLimit; _local2.upperAngle = upperLimit; _local2.maxMotorTorque = strength; _local2.enableLimit = enableLimit; _local2.enableMotor = enableMotor; joint = world.b2world.CreateJoint(_local2); break; case "Prismatic": _local3 = new b2PrismaticJointDef(); _local4 = new b2Vec2(((target.x - x) / world.scale), ((target.y - y) / world.scale)); _local4.Normalize(); _local3.Initialize(b2body, target.b2body, new b2Vec2((x / world.scale), (y / world.scale)), _local4); _local3.lowerTranslation = (lowerLimit / world.scale); _local3.upperTranslation = (upperLimit / world.scale); _local3.maxMotorForce = strength; _local3.enableLimit = enableLimit; _local3.enableMotor = enableMotor; joint = world.b2world.CreateJoint(_local3); break; case "RevolutePin": _local5 = new b2RevoluteJointDef(); _local5.Initialize(b2body, b2body2, new b2Vec2((x / world.scale), (y / world.scale))); _local5.lowerAngle = lowerLimit; _local5.upperAngle = upperLimit; _local5.maxMotorTorque = strength; _local5.enableLimit = enableLimit; _local5.enableMotor = enableMotor; joint = world.b2world.CreateJoint(_local5); break; case "Path": _local6 = new b2MouseJointDef(); _local6.maxForce = strength; _local6.target.Set((path.x / world.scale), (path.y / world.scale)); _local6.body1 = world.b2world.m_groundBody; _local6.body2 = b2body; _local6.timeStep = world.timeStep; joint = world.b2world.CreateJoint(_local6); break; }; if (speedFlag != ""){ world.addEventListener(speedFlag, setSpeed, false, 0, true); }; setSpeed(null); if (lineStyle == "Line"){ lineColor = parseInt(lineParameter); } else { if (lineStyle == "MovieClip"){ _local7 = (getDefinitionByName(lineParameter) as Class); lineMC = new (_local7); addChild(lineMC); }; }; world.addEventListener(Event.ENTER_FRAME, step, false, 0, true); world.addEventListener("cleanUp", cleanUp, false, 0, true); this.visible = false; } public function anchor():void{ var _local1:Point; var _local2:Array; var _local3:Shape; var _local4:DisplayObject; rotation = 0; world = (parent as World); _local1 = localToGlobal(new Point(0, 0)); if (bodyName){ body = (world.getChildByName(bodyName) as Body); }; if (body2Name){ body2 = (world.getChildByName(body2Name) as Body); }; if (((!(body)) || ((((type == "RevolutePin")) && (!(body2)))))){ _local2 = world.getObjectsUnderPoint(world.globalToLocal(_local1)); _local3 = null; for each (_local4 in _local2) { _local3 = null; while (((_local4) && (!(_local3)))) { _local3 = (_local4 as Shape); _local4 = _local4.parent; }; if (_local3){ if (!body){ body = _local3.body; if (((!((type == "RevolutePin"))) || (body2))){ break; }; } else { if (_local3.body != body){ body2 = _local3.body; break; }; }; }; }; }; b2body = (body) ? body.b2body : world.b2world.m_groundBody; if (type == "RevolutePin"){ b2body2 = (body2) ? body2.b2body : world.b2world.m_groundBody; } else { if (type == "Path"){ path = (parent.getChildByName(targetName) as Path); } else { target = (parent.getChildByName(targetName) as Joint); }; }; if (body){ positionInBody = body.globalToLocal(_local1); }; } public function cleanUp(_arg1:Event){ world.removeEventListener(Event.ENTER_FRAME, step); } public function step(_arg1:Event):void{ var _local2:Number; var _local3:*; var _local4:b2RevoluteJoint; var _local5:Point; var _local6:b2Vec2; var _local7:b2Vec2; var _local8:b2Vec2; if (world.paused){ return; }; if (spring){ if (type == "Prismatic"){ _local3 = (joint as b2PrismaticJoint); _local2 = _local3.GetJointTranslation(); _local3.SetMaxMotorForce(Math.abs(((_local2 * springConstant) + (_local3.GetJointSpeed() * springDamping)))); _local3.SetMotorSpeed(((_local2 > 0)) ? -1000000 : 1000000); } else { if ((((type == "Revolute")) || ((type == "RevolutePin")))){ _local4 = (joint as b2RevoluteJoint); _local2 = _local4.GetJointAngle(); _local4.SetMaxMotorTorque(Math.abs(((_local2 * springConstant) + (_local4.GetJointSpeed() * springDamping)))); _local4.SetMotorSpeed(((_local2 > 0)) ? -1000000 : 1000000); }; }; }; if (body){ _local5 = world.globalToLocal(body.localToGlobal(positionInBody)); x = _local5.x; y = _local5.y; }; if (((target) || (path))){ if (target){ _local6 = new b2Vec2(target.x, target.y); } else { if (path){ pathDistance = (pathDistance + (speed * pathDirection)); if ((((pathDistance < 0)) || ((path.length == 0)))){ if (path.prev){ pathDistance = (path.prev.length - (pathDistance - path.length)); path = path.prev; } else { if (pathReturns){ pathDistance = (pathDistance * -1); pathDirection = (pathDirection * -1); } else { pathDistance = 0; }; }; } else { if (pathDistance >= path.length){ if (((path.next) && (path.next.next))){ pathDistance = (pathDistance - path.length); path = path.next; } else { if (pathReturns){ pathDistance = (path.length - (pathDistance - path.length)); pathDirection = (pathDirection * -1); } else { pathDistance = path.length; }; }; }; }; _local6 = new b2Vec2((path.x + (path.normal.x * pathDistance)), (path.y + (path.normal.y * pathDistance))); _local7 = _local6.Copy(); _local6.Copy().x = (_local7.x / world.scale); _local7.y = (_local7.y / world.scale); (joint as b2MouseJoint).SetTarget(_local7); }; }; if (lineStyle == "Line"){ graphics.clear(); graphics.lineStyle(2, lineColor); graphics.moveTo(0, 0); graphics.lineTo(((_local6.x - x) / scaleX), ((_local6.y - y) / scaleY)); } else { if (lineStyle == "MovieClip"){ _local8 = new b2Vec2(((x - _local6.x) / scaleX), ((y - _local6.y) / scaleY)); lineMC.rotation = 0; lineMC.height = _local8.Length(); lineMC.rotation = (((Math.atan2(_local8.y, _local8.x) * 180) / Math.PI) + 90); }; }; }; } } }//package wck
Section 173
//Key (wck.Key) package wck { import flash.display.*; import flash.events.*; public class Key { private static var initialized:Boolean = false; private static var keysDown:Object = new Object(); public static function initialize(_arg1:Stage){ if (!initialized){ _arg1.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed); _arg1.addEventListener(KeyboardEvent.KEY_UP, keyReleased); _arg1.addEventListener(Event.DEACTIVATE, clearKeys); initialized = true; }; } private static function clearKeys(_arg1:Event):void{ keysDown = new Object(); } public static function isDown(_arg1:uint):Boolean{ if (!initialized){ throw (new Error("Key class has yet been initialized.")); }; return (Boolean((_arg1 in keysDown))); } private static function keyPressed(_arg1:KeyboardEvent):void{ keysDown[_arg1.keyCode] = true; } private static function keyReleased(_arg1:KeyboardEvent):void{ if ((_arg1.keyCode in keysDown)){ delete keysDown[_arg1.keyCode]; }; } } }//package wck
Section 174
//Path (wck.Path) package wck { import Box2D.Common.Math.*; import flash.display.*; public class Path extends MovieClip { public var next:Path;// = null public var nextName:String;// = "" public var prev:Path;// = null public var drawLine:Boolean;// = true public var world:World;// = null public var lineColor:String;// = "0x888888" public var realLineColor:int; public var length:Number;// = 0 public var normal:b2Vec2;// = null public function Path(){ nextName = ""; drawLine = true; lineColor = "0x888888"; world = null; next = null; prev = null; normal = null; length = 0; super(); } public function create():void{ world = (parent as World); next = (world.getChildByName(nextName) as Path); if (next){ next.prev = this; normal = new b2Vec2((next.x - x), (next.y - y)); length = Math.sqrt((Math.pow(normal.x, 2) + Math.pow(normal.y, 2))); if (drawLine){ realLineColor = parseInt(lineColor); graphics.lineStyle(2, realLineColor); graphics.moveTo(0, 0); graphics.lineTo(normal.x, normal.y); }; normal.Normalize(); }; } } }//package wck
Section 175
//Shape (wck.Shape) package wck { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import flash.geom.*; public class Shape extends Body { public var shapeDensity:Number;// = 1 public var shapeRestitution:Number;// = 0.3 public var b2shapes:Array; public var shapeGroupIndex:int;// = 0 public var selfBody:Boolean; public var shapeIsSensor:Boolean;// = false public var shapeCategoryBits:String;// = "0x0001" public var body:Body; public var shapeFriction:Number;// = 0.4 public var shapeMaskBits:String;// = "0xFFFF" public function Shape(){ shapeFriction = 0.4; shapeRestitution = 0.3; shapeDensity = 1; shapeIsSensor = false; shapeCategoryBits = "0x0001"; shapeMaskBits = "0xFFFF"; shapeGroupIndex = 0; b2shapes = []; super(); } public function createShape():void{ body = (parent as Body); if (!body){ body = this; selfBody = true; } else { world = body.world; }; addShapes([]); } public function addShapes(_arg1:Array):void{ var _local2:b2ShapeDef; for each (_local2 in _arg1) { b2shapes.push(body.b2body.CreateShape(_local2)); }; } public function circleDef(_arg1:Number=-1, _arg2:Number=0, _arg3:Number=0):b2CircleDef{ var _local4:b2CircleDef; _local4 = new b2CircleDef(); initializeDef(_local4); _local4.localPosition = b2Position(_arg2, _arg3); _local4.radius = ((((_arg1)==-1) ? (width / 2) : (_arg1 * scaleX) * (selfBody) ? 1 : body.scaleX) / world.scale); return (_local4); } public function initializeDef(_arg1:b2ShapeDef):void{ _arg1.userData = this; _arg1.friction = shapeFriction; _arg1.restitution = shapeRestitution; _arg1.density = shapeDensity; _arg1.filter.categoryBits = parseInt(shapeCategoryBits); _arg1.filter.maskBits = parseInt(shapeMaskBits); _arg1.filter.groupIndex = shapeGroupIndex; if (body.compound){ _arg1.filter.groupIndex = (_arg1.filter.groupIndex + ((_arg1.filter.groupIndex / Math.abs(_arg1.filter.groupIndex)) * body.compound.groupIndexOffset)); }; _arg1.isSensor = shapeIsSensor; } public function b2Position(_arg1=0, _arg2=0):b2Vec2{ var _local3:Point; if (selfBody){ return (new b2Vec2(((_arg1 * scaleX) / world.scale), ((_arg2 * scaleY) / world.scale))); }; _local3 = body.globalToLocal(localToGlobal(new Point(_arg1, _arg2))); return (new b2Vec2(((_local3.x * body.scaleX) / world.scale), ((_local3.y * body.scaleY) / world.scale))); } public function polygonDef(_arg1:Array):b2PolygonDef{ var _local2:b2PolygonDef; var _local3:Array; _local2 = new b2PolygonDef(); initializeDef(_local2); _local2.vertices = []; for each (_local3 in _arg1) { _local2.vertices.push(b2Position(_local3[0], _local3[1])); }; _local2.vertexCount = _local2.vertices.length; return (_local2); } public function boxDef(_arg1:Number=-1, _arg2:Number=-1, _arg3:Number=0, _arg4:Number=0, _arg5:Number=0):b2PolygonDef{ var _local6:b2PolygonDef; var _local7:Number; _local6 = new b2PolygonDef(); initializeDef(_local6); _local7 = rotation; rotation = 0; _local6.SetAsOrientedBox(((((_arg1)==-1) ? (width / 2) : (_arg1 * scaleX) * (selfBody) ? 1 : body.scaleX) / world.scale), ((((_arg2)==-1) ? (height / 2) : (_arg2 * scaleY) * (selfBody) ? 1 : body.scaleY) / world.scale), b2Position(_arg3, _arg4), ((((selfBody) ? 0 : _local7 + _arg5) * Math.PI) / 180)); rotation = _local7; return (_local6); } public function polygonListDef(_arg1:Array):Array{ var _local2:Array; var _local3:Array; _local2 = []; for each (_local3 in _arg1) { _local2.push(polygonDef(_local3)); }; return (_local2); } } }//package wck
Section 176
//TopLevel (wck.TopLevel) package wck { import flash.display.*; public class TopLevel extends MovieClip { public static var root; public static var stage:Stage; public function TopLevel(){ TopLevel.stage = this.stage; TopLevel.root = MovieClip(root); } } }//package wck
Section 177
//View (wck.View) package wck { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; import flash.display.*; import flash.events.*; import Box2D.Dynamics.Contacts.*; public class View extends MovieClip { public var World:DemoWorld1; public var orientToGravity:Boolean;// = true public var world; public function View(){ orientToGravity = true; super(); } public function initialize():void{ var _local1:int; _local1 = 0; while (_local1 < numChildren) { world = getChildAt(_local1); if (world){ break; }; _local1++; }; world.create(); addEventListener(Event.ENTER_FRAME, step, false, 0, true); trace(world); } public function step(_arg1:Event):void{ if (((orientToGravity) && (world.gravityRadial))){ rotation = ((-90 * (world.gravityRadial / Math.abs(world.gravityRadial))) - ((Math.atan2(world.y, world.x) * 180) / Math.PI)); }; } public function cleanUp():void{ removeEventListener(Event.ENTER_FRAME, step); world.cleanUp(); } } }//package wck
Section 178
//World (wck.World) package wck { import Box2D.Collision.Shapes.*; import Box2D.Common.Math.*; import Box2D.Dynamics.Joints.*; import Box2D.Dynamics.*; import Box2D.Collision.*; import Box2D.Common.*; import flash.display.*; import flash.events.*; import Box2D.Dynamics.Contacts.*; public class World extends MovieClip { public var gravityRadial:Number;// = 0 public var BC2:chain; public var vars:Object; public var keepCenteredOn:String;// = "" public var firstMenu:MovieClip; public var BC:chain; public var T:Circle; public var boundsTop:Number;// = 10000000000 public var boundsRight:Number;// = 10000000000 public var boundsLeft:Number;// = -10000000000 public var TC:chain; public var V:StaticBox; public var Star:DemoStar; public var TUT2:MovieClip; public var TUT4:MovieClip; public var TUT3:MovieClip; var angle:Number; public var doSleep:Boolean;// = true public var centerOn:DisplayObject; public var J3:chain; public var J4:chain; public var J5:chain; public var J6:chain; public var J7:chain; public var J8:chain; public var J2:chain; public var paused:Boolean; public var timeStep:Number;// = 0.025 public var iterations:int;// = 10 public var J1:chain; public var boundsBottom:Number;// = -10000000000 public var scale:Number;// = 40 public var MC2:chain; public var b2world:b2World; public var DBG:MovieClip; public var tool1:MovieClip; public var tool2:MovieClip; public var tool3:MovieClip; public var tool4:MovieClip; public var tool5:MovieClip; public var killArray:Array; public var TC2:chain; public var Box:StaticBox; public var MC:chain; public var gravityX:Number;// = 0 public var gravityY:Number;// = 10 public var Box2:DynamicBox; public var Box3:DynamicBox; public var Box4:DynamicBox; public var Arrow:DemoPoly; public var But2:Button2; public var TUT:MovieClip; public var But1:Button; public var Box5:DynamicBox; public function World(){ timeStep = 0.025; iterations = 10; boundsTop = 10000000000; boundsLeft = -10000000000; boundsBottom = -10000000000; boundsRight = 10000000000; gravityX = 0; gravityY = 10; gravityRadial = 0; doSleep = true; scale = 40; keepCenteredOn = ""; vars = {}; killArray = new Array([""]); super(); } public function cleanUp():void{ dispatchEvent(new Event("cleanUp")); removeEventListener(Event.ENTER_FRAME, step); } public function step(_arg1:Event):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2Body; if (!paused){ if (killArray[0] != ""){ killStuff(); }; b2world.Step(timeStep, iterations); if (gravityRadial){ _local4 = b2world.GetBodyList(); while (_local4) { if (((!(_local4.IsStatic())) && (!(_local4.IsSleeping())))){ _local2 = _local4.GetWorldCenter().Copy(); _local2.Normalize(); _local2.Multiply(gravityRadial); _local3 = _local4.GetLinearVelocity(); _local3.x = (_local3.x + (timeStep * _local2.x)); _local3.y = (_local3.y + (timeStep * _local2.y)); }; _local4 = _local4.GetNext(); }; }; }; if (centerOn){ x = -(centerOn.x); y = -(centerOn.y); }; } public function create():void{ var _local1:b2AABB; var _local2:Body; var _local3:Path; var _local4:Joint; var _local5:Array; var _local6:Compound; var _local7:Array; var _local8:int; var _local9:b2DebugDraw; _local1 = new b2AABB(); _local1.lowerBound.Set(boundsLeft, boundsBottom); _local1.upperBound.Set(boundsRight, boundsTop); b2world = new b2World(_local1, new b2Vec2(gravityX, gravityY), doSleep); b2world.SetContactListener(new ContactListener()); _local5 = []; _local7 = []; _local8 = 0; while (_local8 < numChildren) { _local2 = (getChildAt(_local8) as Body); if (_local2){ _local2.create(); } else { _local3 = (getChildAt(_local8) as Path); if (_local3){ _local3.create(); } else { _local4 = (getChildAt(_local8) as Joint); if (_local4){ _local4.anchor(); _local5.push(_local4); } else { _local6 = (getChildAt(_local8) as Compound); if (_local6){ _local7.push(_local6); }; }; }; }; _local8++; }; for each (_local4 in _local5) { _local4.create(); }; for each (_local6 in _local7) { _local6.create(); }; if (keepCenteredOn){ centerOn = getChildByName(keepCenteredOn); }; _local9 = new b2DebugDraw(); _local9.m_sprite = TopLevel.root.view1.World.DBG; _local9.m_drawScale = 30; _local9.m_fillAlpha = 1; _local9.m_lineThickness = 2; _local9.m_drawFlags = b2DebugDraw.e_jointBit; b2world.SetDebugDraw(_local9); addEventListener(Event.ENTER_FRAME, step, false, 0, true); } public function killStuff():void{ var _local1:b2Body; _local1 = b2world.GetBodyList(); while (_local1) { if (_local1.m_userData == killArray[0].m_userData){ MovieClip(parent).removeChild(killArray[0].m_userData); b2world.DestroyBody(killArray[0]); break; }; _local1 = _local1.GetNext(); }; } public function setVar(_arg1:String, _arg2){ vars[_arg1] = _arg2; dispatchEvent(new Event(_arg1)); } } }//package wck
Section 179
//BedtimeStory (BedtimeStory) package { import flash.media.*; public dynamic class BedtimeStory extends Sound { } }//package
Section 180
//Board (Board) package { import wck.*; public dynamic class Board extends Box { public function Board(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 181
//Button (Button) package { import flash.display.*; import flash.events.*; import wck.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class Button extends Box { public function Button(){ addFrameScript(0, frame1); } public function Klikk(_arg1:Event){ MovieClip(root).chooseLevel.gotoAndStop(2); } function frame1(){ this.addEventListener(MouseEvent.CLICK, Klikk); } } }//package
Section 182
//Button2 (Button2) package { import flash.events.*; import wck.*; import flash.net.*; public dynamic class Button2 extends Box { public function Button2(){ addFrameScript(0, frame1); } public function Klikk(_arg1:Event){ var _local2:URLRequest; _local2 = new URLRequest("http://www.notdoppler.com"); navigateToURL(_local2); } function frame1(){ this.addEventListener(MouseEvent.CLICK, Klikk); } } }//package
Section 183
//chain (chain) package { import wck.*; public dynamic class chain extends Box { } }//package
Section 184
//Circle (Circle) package { import wck.*; public dynamic class Circle extends Circle { } }//package
Section 185
//DemoCursor (DemoCursor) package { import wck.*; public dynamic class DemoCursor extends Cursor { public function DemoCursor(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 186
//DemoJoint (DemoJoint) package { import wck.*; public dynamic class DemoJoint extends Joint { } }//package
Section 187
//DemoStar (DemoStar) package { import wck.*; public dynamic class DemoStar extends DemoPoly2 { } }//package
Section 188
//DemoView1 (DemoView1) package { import flash.display.*; import flash.events.*; import wck.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class DemoView1 extends View { public var __setPropDict:Dictionary; public var leveln:Number; public function DemoView1(){ __setPropDict = new Dictionary(true); super(); addFrameScript(0, frame1, 1, frame2); } function __setProp_World_View1_Layer1_1(){ try { World["componentInspectorSetting"] = true; } catch(e:Error) { }; World.boundsBottom = -10000000000; World.boundsLeft = -10000000000; World.boundsRight = 10000000000; World.boundsTop = 10000000000; World.doSleep = true; World.gravityRadial = 0; World.gravityX = 0; World.gravityY = 10; World.iterations = 10; World.keepCenteredOn = ""; World.scale = 30; World.timeStep = 0.03; try { World["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame1(){ if ((((__setPropDict[World] == undefined)) || (!((int(__setPropDict[World]) == 1))))){ __setPropDict[World] = currentFrame; __setProp_World_View1_Layer1_1(); }; stop(); World.gotoAndStop((leveln + 1)); } function frame2(){ gotoAndStop(1); MovieClip(root).MyTimer.reset(); MovieClip(root).MyTimer.start(); MovieClip(root).levelShower.LS.levelR.text = ("Level:" + leveln); } } }//package
Section 189
//DemoWorld1 (DemoWorld1) package { import flash.display.*; import flash.events.*; import wck.*; import flash.media.*; import flash.text.*; import flash.geom.*; import flash.utils.*; import flash.net.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class DemoWorld1 extends World { public var __id136_:ForEverStatic; public var __id245_:Ground; public var __id112_:Board; public var __id221_:Board; public var __id17_:DynamicBox; public var __id16_:DemoJoint; public var __id220_:InvisibleBox; public var __id137_:ForEverEVERStatic; public var __id246_:InvisibleBox; public var __id113_:Board; public var __id222_:ForEverStatic; public var tool5Valgt:Boolean; public var __id18_:StaticBox; public var __id138_:DynamicBox; public var __id247_:DemoJoint; public var __id114_:Board; public var __id223_:Circle; public var __setPropDict:Dictionary; public var __id139_:InvisibleBox; public var __id224_:ForEverEVERStatic; public var __id200_:ForEverEVERStatic; public var __id19_:StaticBox; public var __id115_:ForEverEVERStatic; public var __id248_:DemoJoint; public var __id249_:DemoJoint; public var __id116_:Board; public var __id225_:ForEverEVERStatic; public var __id201_:ForEverEVERStatic; public var __id117_:Board; public var __id226_:ForEverEVERStatic; public var __id202_:DynamicBox; public var __id118_:StaticBox; public var __id227_:ForEverEVERStatic; public var __id203_:DynamicBox; public var __id119_:Circle; public var __id228_:ForEverEVERStatic; public var __id204_:DynamicBox; public var __id229_:ForEverEVERStatic; public var __id205_:DynamicBox; public var __id206_:DynamicBox; public var __id207_:DynamicBox; public var __id208_:ForEverEVERStatic; public var __id209_:Circle; public var __id80_:DynamicBox; public var __id81_:DynamicBox; public var __id82_:DynamicBox; public var __id83_:DynamicBox; public var __id84_:DynamicBox; public var __id60_:ForEverEVERStatic; public var __id180_:ForEverEVERStatic; public var __id85_:DynamicBox; public var __id61_:ForEverEVERStatic; public var __id181_:ForEverStatic; public var __id86_:DynamicBox; public var __id62_:ForEverEVERStatic; public var __id182_:InvisibleBox; public var __id87_:DynamicBox; public var __id63_:StaticBox; public var __id183_:ForEverStatic; public var __id88_:ForEverStatic; public var __id64_:ForEverEVERStatic; public var __id40_:ForEverEVERStatic; public var __id160_:ForEverEVERStatic; public var __id184_:ForEverStatic; public var __id89_:ForEverStatic; public var __id65_:ForEverEVERStatic; public var __id41_:Board; public var __id185_:ForEverStatic; public var __id161_:ForEverStatic; public var __id42_:StaticBox; public var __id186_:Ground; public var __id162_:ForEverStatic; public var __id66_:Ground; public var __id67_:StaticBox; public var __id187_:InvisibleBox; public var __id163_:ForEverEVERStatic; public var __id68_:ForEverStatic; public var __id20_:StaticBox; public var __id188_:DynamicBox; public var __id164_:InvisibleBox; public var __id140_:ForEverEVERStatic; public var __id69_:StaticBox; public var __id45_:Ground; public var __id21_:StaticBox; public var __id165_:DynamicBox; public var __id250_:DemoJoint; public var __id189_:InvisibleBox; public var __id141_:InvisibleBox; public var __id46_:Circle; public var __id22_:ForEverStatic; public var __id166_:Board; public var __id142_:InvisibleBox; public var __id251_:DemoJoint; public var __id47_:ForEverStatic; public var __id23_:ForEverStatic; public var __id167_:ForEverEVERStatic; public var __id143_:InvisibleBox; public var __id252_:DemoJoint; public var __id48_:Board; public var __id24_:ForEverStatic; public var __id168_:DynamicBox; public var __id144_:ForEverEVERStatic; public var __id253_:DemoJoint; public var __id120_:ForEverStatic; public var __id49_:ForEverStatic; public var __id25_:ForEverStatic; public var __id169_:DynamicBox; public var __id145_:InvisibleBox; public var __id121_:Board; public var __id230_:ForEverEVERStatic; public var __id254_:DemoJoint; public var __id26_:ForEverEVERStatic; public var __id146_:ForEverStatic; public var __id255_:ForEverStatic; public var __id122_:DynamicBox; public var __id231_:ForEverEVERStatic; public var __id27_:ForEverStatic; public var __id123_:DynamicBox; public var __id147_:InvisibleBox; public var __id232_:ForEverEVERStatic; public var __id28_:ForEverEVERStatic; public var __id148_:Ground; public var __id124_:DynamicBox; public var __id233_:ForEverEVERStatic; public var __id100_:ForEverEVERStatic; public var __id29_:ForEverEVERStatic; public var __id149_:ForEverStatic; public var __id125_:ForEverStatic; public var __id234_:InvisibleBox; public var __id101_:ForEverEVERStatic; public var __id210_:ForEverEVERStatic; public var __id126_:Board; public var __id235_:Circle; public var __id102_:ForEverEVERStatic; public var __id211_:ForEverEVERStatic; public var __id127_:Board; public var __id236_:InvisibleBox; public var __id103_:ForEverEVERStatic; public var __id0_:DynamicBox; public var __id212_:ForEverEVERStatic; public var __id128_:Ground; public var __id237_:InvisibleBox; public var __id213_:ForEverEVERStatic; public var __id1_:DynamicBox; public var __id104_:ForEverEVERStatic; public var __id238_:InvisibleBox; public var __id105_:DynamicBox; public var __id214_:ForEverEVERStatic; public var __id2_:DynamicBox; public var __id129_:Board; public var __id239_:DynamicBox; public var __id106_:Circle; public var __id215_:ForEverEVERStatic; public var __id3_:DynamicBox; public var __id107_:Circle; public var __id216_:ForEverEVERStatic; public var __id4_:DynamicBoxTHING; public var __id108_:Ground; public var __id217_:Board; public var __id5_:Circle; public var __id109_:ForEverStatic; public var __id218_:Circle; public var __id6_:DynamicBox; public var __id219_:InvisibleBox; public var __id7_:DynamicBox; public var __id90_:ForEverStatic; public var __id8_:Ground; public var __id91_:ForEverStatic; public var __id9_:DemoJoint; public var __id92_:StaticBox; public var __id93_:StaticBox; public var tool1Valgt:Boolean; public var __id94_:ForEverStatic; public var __id190_:DynamicBox; public var __id70_:Circle; public var __id95_:ForEverStatic; public var __id71_:ForEverEVERStatic; public var __id191_:DynamicBox; public var __id72_:Board; public var __id192_:ForEverStatic; public var __id97_:Ground; public var __id73_:ForEverEVERStatic; public var __id193_:ForEverEVERStatic; public var __id98_:Circle; public var __id74_:ForEverEVERStatic; public var __id50_:ForEverStatic; public var __id194_:DynamicBox; public var __id170_:DynamicBox; public var tool2Valgt:Boolean; public var __id99_:ForEverEVERStatic; public var __id75_:Board; public var __id51_:ForEverStatic; public var __id195_:DynamicBox; public var __id171_:ForEverEVERStatic; public var __id76_:DynamicBox; public var __id52_:ForEverStatic; public var __id196_:ForEverEVERStatic; public var __id172_:ForEverEVERStatic; public var __id77_:DynamicBox; public var __id53_:ForEverStatic; public var __id197_:DynamicBox; public var __id173_:ForEverEVERStatic; public var __id78_:DynamicBox; public var __id54_:ForEverStatic; public var __id30_:ForEverEVERStatic; public var __id198_:ForEverEVERStatic; public var __id150_:ForEverEVERStatic; public var __id174_:DynamicBox; public var __id79_:DynamicBox; public var __id55_:ForEverStatic; public var __id31_:ForEverEVERStatic; public var __id199_:DynamicBox; public var __id175_:DynamicBox; public var __id151_:Ground; public var tool3Valgt:Boolean; public var __id56_:StaticBox; public var __id176_:InvisibleBox; public var __id152_:DynamicBox; public var __id57_:ForEverEVERStatic; public var __id33_:Circle; public var __id177_:ForEverStatic; public var __id153_:DynamicBox; public var __id58_:ForEverEVERStatic; public var __id34_:ForEverStatic; public var __id10_:DemoJoint; public var __id178_:DynamicBox; public var __id130_:DynamicBox; public var newTool:Boolean; public var __id154_:ForEverEVERStatic; public var __id59_:ForEverEVERStatic; public var __id35_:ForEverEVERStatic; public var __id11_:DemoJoint; public var __id179_:ForEverEVERStatic; public var __id155_:InvisibleBox; public var __id131_:ForEverStatic; public var __id240_:DynamicBox; public var __id36_:ForEverEVERStatic; public var __id12_:DemoJoint; public var __id156_:ForEverStatic; public var __id132_:Board; public var __id241_:DynamicBox; public var tool4Valgt:Boolean; public var __id37_:ForEverEVERStatic; public var __id13_:DemoJoint; public var __id157_:DynamicBox; public var __id133_:DynamicBox; public var __id242_:DynamicBox; public var __id38_:ForEverEVERStatic; public var __id14_:DemoJoint; public var __id158_:Board; public var __id134_:DynamicBox; public var __id243_:DynamicBox; public var __id110_:Board; public var __id39_:ForEverEVERStatic; public var __id15_:DemoJoint; public var __id159_:InvisibleBox; public var __id111_:Board; public var __id135_:ForEverStatic; public var __id244_:DynamicBox; public function DemoWorld1(){ __setPropDict = new Dictionary(true); super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48, 48, frame49, 49, frame50, 50, frame51, 51, frame52); } function __setProp___id190__World1_Levels_44(){ try { __id190_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id190_.bodyAllowSleep = true; __id190_.bodyAngularDamping = 0; __id190_.bodyApplyGravity = true; __id190_.bodyFixedRotation = false; __id190_.bodyIsBullet = false; __id190_.bodyIsSleeping = false; __id190_.bodyIsStatic = true; __id190_.bodyLinearDamping = 0; __id190_.shapeCategoryBits = "0x0001"; __id190_.shapeDensity = 2; __id190_.shapeFriction = 0.2; __id190_.shapeGroupIndex = 0; __id190_.shapeIsSensor = false; __id190_.shapeMaskBits = "0xFFFF"; __id190_.shapeRestitution = 0.4; try { __id190_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id190__World1_Levels_45(){ try { __id190_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id190_.bodyAllowSleep = true; __id190_.bodyAngularDamping = 0; __id190_.bodyApplyGravity = true; __id190_.bodyFixedRotation = false; __id190_.bodyIsBullet = false; __id190_.bodyIsSleeping = false; __id190_.bodyIsStatic = true; __id190_.bodyLinearDamping = 0; __id190_.shapeCategoryBits = "0x0001"; __id190_.shapeDensity = 1; __id190_.shapeFriction = 0.2; __id190_.shapeGroupIndex = 0; __id190_.shapeIsSensor = false; __id190_.shapeMaskBits = "0xFFFF"; __id190_.shapeRestitution = 0.4; try { __id190_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id224__World1_Levels_51(){ try { __id224_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id224_.bodyAllowSleep = true; __id224_.bodyAngularDamping = 0; __id224_.bodyApplyGravity = true; __id224_.bodyFixedRotation = false; __id224_.bodyIsBullet = false; __id224_.bodyIsSleeping = false; __id224_.bodyIsStatic = true; __id224_.bodyLinearDamping = 0; __id224_.shapeCategoryBits = "0x0001"; __id224_.shapeDensity = 1; __id224_.shapeFriction = 0.2; __id224_.shapeGroupIndex = 0; __id224_.shapeIsSensor = false; __id224_.shapeMaskBits = "0xFFFF"; __id224_.shapeRestitution = 0; try { __id224_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id91__World1_Levels_18(){ try { __id91_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id91_.bodyAllowSleep = true; __id91_.bodyAngularDamping = 0; __id91_.bodyApplyGravity = true; __id91_.bodyFixedRotation = false; __id91_.bodyIsBullet = false; __id91_.bodyIsSleeping = true; __id91_.bodyIsStatic = false; __id91_.bodyLinearDamping = 0; __id91_.shapeCategoryBits = "0x0001"; __id91_.shapeDensity = 1; __id91_.shapeFriction = 0.2; __id91_.shapeGroupIndex = 0; __id91_.shapeIsSensor = false; __id91_.shapeMaskBits = "0xFFFF"; __id91_.shapeRestitution = 0; try { __id91_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id140__World1_Levels_32(){ try { __id140_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id140_.bodyAllowSleep = true; __id140_.bodyAngularDamping = 0; __id140_.bodyApplyGravity = true; __id140_.bodyFixedRotation = false; __id140_.bodyIsBullet = false; __id140_.bodyIsSleeping = false; __id140_.bodyIsStatic = true; __id140_.bodyLinearDamping = 0; __id140_.shapeCategoryBits = "0x0001"; __id140_.shapeDensity = 1; __id140_.shapeFriction = 0.2; __id140_.shapeGroupIndex = 0; __id140_.shapeIsSensor = false; __id140_.shapeMaskBits = "0xFFFF"; __id140_.shapeRestitution = 0; try { __id140_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id151__World1_Levels_34(){ try { __id151_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id151_.bodyAllowSleep = true; __id151_.bodyAngularDamping = 0; __id151_.bodyApplyGravity = true; __id151_.bodyFixedRotation = false; __id151_.bodyIsBullet = false; __id151_.bodyIsSleeping = false; __id151_.bodyIsStatic = true; __id151_.bodyLinearDamping = 0; __id151_.shapeCategoryBits = "0x0001"; __id151_.shapeDensity = 1; __id151_.shapeFriction = 0.2; __id151_.shapeGroupIndex = 0; __id151_.shapeIsSensor = false; __id151_.shapeMaskBits = "0xFFFF"; __id151_.shapeRestitution = 0; try { __id151_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id235__World1_Levels_51(){ try { __id235_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id235_.bodyAllowSleep = true; __id235_.bodyAngularDamping = 0; __id235_.bodyApplyGravity = true; __id235_.bodyFixedRotation = false; __id235_.bodyIsBullet = false; __id235_.bodyIsSleeping = false; __id235_.bodyIsStatic = true; __id235_.bodyLinearDamping = 0; __id235_.shapeCategoryBits = "0x0001"; __id235_.shapeDensity = 1; __id235_.shapeFriction = 0.2; __id235_.shapeGroupIndex = 0; __id235_.shapeIsSensor = false; __id235_.shapeMaskBits = "0xFFFF"; __id235_.shapeRestitution = 0; try { __id235_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id101__World1_Levels_21(){ try { __id101_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id101_.bodyAllowSleep = true; __id101_.bodyAngularDamping = 0; __id101_.bodyApplyGravity = true; __id101_.bodyFixedRotation = false; __id101_.bodyIsBullet = false; __id101_.bodyIsSleeping = false; __id101_.bodyIsStatic = true; __id101_.bodyLinearDamping = 0; __id101_.shapeCategoryBits = "0x0001"; __id101_.shapeDensity = 1; __id101_.shapeFriction = 0.2; __id101_.shapeGroupIndex = 0; __id101_.shapeIsSensor = false; __id101_.shapeMaskBits = "0xFFFF"; __id101_.shapeRestitution = 0; try { __id101_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id41__World1_Levels_10(){ try { __id41_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id41_.bodyAllowSleep = true; __id41_.bodyAngularDamping = 0; __id41_.bodyApplyGravity = true; __id41_.bodyFixedRotation = false; __id41_.bodyIsBullet = false; __id41_.bodyIsSleeping = false; __id41_.bodyIsStatic = true; __id41_.bodyLinearDamping = 0; __id41_.shapeCategoryBits = "0x0001"; __id41_.shapeDensity = 1; __id41_.shapeFriction = 0.2; __id41_.shapeGroupIndex = 0; __id41_.shapeIsSensor = false; __id41_.shapeMaskBits = "0xFFFF"; __id41_.shapeRestitution = 0; try { __id41_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id52__World1_Levels_12(){ try { __id52_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id52_.bodyAllowSleep = true; __id52_.bodyAngularDamping = 0; __id52_.bodyApplyGravity = true; __id52_.bodyFixedRotation = false; __id52_.bodyIsBullet = false; __id52_.bodyIsSleeping = true; __id52_.bodyIsStatic = false; __id52_.bodyLinearDamping = 0; __id52_.shapeCategoryBits = "0x0001"; __id52_.shapeDensity = 1; __id52_.shapeFriction = 0.2; __id52_.shapeGroupIndex = 0; __id52_.shapeIsSensor = false; __id52_.shapeMaskBits = "0xFFFF"; __id52_.shapeRestitution = 0; try { __id52_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id162__World1_Levels_38(){ try { __id162_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id162_.bodyAllowSleep = true; __id162_.bodyAngularDamping = 0; __id162_.bodyApplyGravity = true; __id162_.bodyFixedRotation = false; __id162_.bodyIsBullet = false; __id162_.bodyIsSleeping = true; __id162_.bodyIsStatic = false; __id162_.bodyLinearDamping = 0; __id162_.shapeCategoryBits = "0x0001"; __id162_.shapeDensity = 1; __id162_.shapeFriction = 0.2; __id162_.shapeGroupIndex = 0; __id162_.shapeIsSensor = false; __id162_.shapeMaskBits = "0xFFFF"; __id162_.shapeRestitution = 0; try { __id162_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id20__World1_Levels_4(){ try { __id20_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id20_.bodyAllowSleep = true; __id20_.bodyAngularDamping = 0; __id20_.bodyApplyGravity = true; __id20_.bodyFixedRotation = false; __id20_.bodyIsBullet = false; __id20_.bodyIsSleeping = false; __id20_.bodyIsStatic = true; __id20_.bodyLinearDamping = 0; __id20_.shapeCategoryBits = "0x0001"; __id20_.shapeDensity = 1; __id20_.shapeFriction = 0.2; __id20_.shapeGroupIndex = 0; __id20_.shapeIsSensor = false; __id20_.shapeMaskBits = "0xFFFF"; __id20_.shapeRestitution = 0; try { __id20_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame15(){ if ((((__setPropDict[__id69_] == undefined)) || (!((int(__setPropDict[__id69_]) == 15))))){ __setPropDict[__id69_] = currentFrame; __setProp___id69__World1_Levels_15(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id66_] == undefined)) || (!((((int(__setPropDict[__id66_]) >= 14)) && ((int(__setPropDict[__id66_]) <= 15))))))){ __setPropDict[__id66_] = currentFrame; __setProp___id66__World1_Levels_14(); }; if ((((__setPropDict[__id67_] == undefined)) || (!((int(__setPropDict[__id67_]) == 15))))){ __setPropDict[__id67_] = currentFrame; __setProp___id67__World1_Levels_15(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id68_] == undefined)) || (!((((int(__setPropDict[__id68_]) >= 15)) && ((int(__setPropDict[__id68_]) <= 16))))))){ __setPropDict[__id68_] = currentFrame; __setProp___id68__World1_Levels_15(); }; if ((((__setPropDict[__id64_] == undefined)) || (!((((int(__setPropDict[__id64_]) >= 14)) && ((int(__setPropDict[__id64_]) <= 16))))))){ __setPropDict[__id64_] = currentFrame; __setProp___id64__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1True3); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4TrueR); tool4.addEventListener(MouseEvent.CLICK, tool4True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); MovieClip(root).Skips = (MovieClip(root).Skips + 1); } function frame16(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id73_] == undefined)) || (!((int(__setPropDict[__id73_]) == 16))))){ __setPropDict[__id73_] = currentFrame; __setProp___id73__World1_Levels_16(); }; if ((((__setPropDict[__id72_] == undefined)) || (!((int(__setPropDict[__id72_]) == 16))))){ __setPropDict[__id72_] = currentFrame; __setProp___id72__World1_Levels_16(); }; if ((((__setPropDict[__id75_] == undefined)) || (!((int(__setPropDict[__id75_]) == 16))))){ __setPropDict[__id75_] = currentFrame; __setProp___id75__World1_Levels_16(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id68_] == undefined)) || (!((((int(__setPropDict[__id68_]) >= 15)) && ((int(__setPropDict[__id68_]) <= 16))))))){ __setPropDict[__id68_] = currentFrame; __setProp___id68__World1_Levels_15(); }; if ((((__setPropDict[__id74_] == undefined)) || (!((int(__setPropDict[__id74_]) == 16))))){ __setPropDict[__id74_] = currentFrame; __setProp___id74__World1_Levels_16(); }; if ((((__setPropDict[__id64_] == undefined)) || (!((((int(__setPropDict[__id64_]) >= 14)) && ((int(__setPropDict[__id64_]) <= 16))))))){ __setPropDict[__id64_] = currentFrame; __setProp___id64__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id70_] == undefined)) || (!((int(__setPropDict[__id70_]) == 16))))){ __setPropDict[__id70_] = currentFrame; __setProp___id70__World1_Levels_16(); }; if ((((__setPropDict[__id71_] == undefined)) || (!((int(__setPropDict[__id71_]) == 16))))){ __setPropDict[__id71_] = currentFrame; __setProp___id71__World1_Levels_16(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); } function frame17(){ if ((((__setPropDict[__id76_] == undefined)) || (!((((int(__setPropDict[__id76_]) >= 17)) && ((int(__setPropDict[__id76_]) <= 18))))))){ __setPropDict[__id76_] = currentFrame; __setProp___id76__World1_Levels_17(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((int(__setPropDict[Star]) == 17)) || ((int(__setPropDict[Star]) == 40)))) || ((int(__setPropDict[Star]) == 51))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_17(); }; if ((((__setPropDict[__id84_] == undefined)) || (!((int(__setPropDict[__id84_]) == 17))))){ __setPropDict[__id84_] = currentFrame; __setProp___id84__World1_Levels_17(); }; if ((((__setPropDict[__id83_] == undefined)) || (!((int(__setPropDict[__id83_]) == 17))))){ __setPropDict[__id83_] = currentFrame; __setProp___id83__World1_Levels_17(); }; if ((((__setPropDict[__id82_] == undefined)) || (!((int(__setPropDict[__id82_]) == 17))))){ __setPropDict[__id82_] = currentFrame; __setProp___id82__World1_Levels_17(); }; if ((((__setPropDict[__id87_] == undefined)) || (!((int(__setPropDict[__id87_]) == 17))))){ __setPropDict[__id87_] = currentFrame; __setProp___id87__World1_Levels_17(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id81_] == undefined)) || (!((int(__setPropDict[__id81_]) == 17))))){ __setPropDict[__id81_] = currentFrame; __setProp___id81__World1_Levels_17(); }; if ((((__setPropDict[__id86_] == undefined)) || (!((int(__setPropDict[__id86_]) == 17))))){ __setPropDict[__id86_] = currentFrame; __setProp___id86__World1_Levels_17(); }; if ((((__setPropDict[__id78_] == undefined)) || (!((int(__setPropDict[__id78_]) == 17))))){ __setPropDict[__id78_] = currentFrame; __setProp___id78__World1_Levels_17(); }; if ((((__setPropDict[__id79_] == undefined)) || (!((int(__setPropDict[__id79_]) == 17))))){ __setPropDict[__id79_] = currentFrame; __setProp___id79__World1_Levels_17(); }; if ((((__setPropDict[__id80_] == undefined)) || (!((int(__setPropDict[__id80_]) == 17))))){ __setPropDict[__id80_] = currentFrame; __setProp___id80__World1_Levels_17(); }; if ((((__setPropDict[__id85_] == undefined)) || (!((int(__setPropDict[__id85_]) == 17))))){ __setPropDict[__id85_] = currentFrame; __setProp___id85__World1_Levels_17(); }; if ((((__setPropDict[__id77_] == undefined)) || (!((((int(__setPropDict[__id77_]) >= 17)) && ((int(__setPropDict[__id77_]) <= 18))))))){ __setPropDict[__id77_] = currentFrame; __setProp___id77__World1_Levels_17(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); } function frame14(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id66_] == undefined)) || (!((((int(__setPropDict[__id66_]) >= 14)) && ((int(__setPropDict[__id66_]) <= 15))))))){ __setPropDict[__id66_] = currentFrame; __setProp___id66__World1_Levels_14(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[__id65_] == undefined)) || (!((int(__setPropDict[__id65_]) == 14))))){ __setPropDict[__id65_] = currentFrame; __setProp___id65__World1_Levels_14(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id64_] == undefined)) || (!((((int(__setPropDict[__id64_]) >= 14)) && ((int(__setPropDict[__id64_]) <= 16))))))){ __setPropDict[__id64_] = currentFrame; __setProp___id64__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1True3); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.addEventListener(MouseEvent.CLICK, tool4TrueR); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); newTool = true; } function frame13(){ if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 12)) && ((int(__setPropDict[__id42_]) <= 13))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_12(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id63_] == undefined)) || (!((int(__setPropDict[__id63_]) == 13))))){ __setPropDict[__id63_] = currentFrame; __setProp___id63__World1_Levels_13(); }; if ((((__setPropDict[__id62_] == undefined)) || (!((int(__setPropDict[__id62_]) == 13))))){ __setPropDict[__id62_] = currentFrame; __setProp___id62__World1_Levels_13(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[__id57_] == undefined)) || (!((int(__setPropDict[__id57_]) == 13))))){ __setPropDict[__id57_] = currentFrame; __setProp___id57__World1_Levels_13(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id61_] == undefined)) || (!((int(__setPropDict[__id61_]) == 13))))){ __setPropDict[__id61_] = currentFrame; __setProp___id61__World1_Levels_13(); }; if ((((__setPropDict[Star] == undefined)) || (!((((int(__setPropDict[Star]) >= 12)) && ((int(__setPropDict[Star]) <= 13))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_12(); }; if ((((__setPropDict[__id58_] == undefined)) || (!((int(__setPropDict[__id58_]) == 13))))){ __setPropDict[__id58_] = currentFrame; __setProp___id58__World1_Levels_13(); }; if ((((__setPropDict[__id56_] == undefined)) || (!((int(__setPropDict[__id56_]) == 13))))){ __setPropDict[__id56_] = currentFrame; __setProp___id56__World1_Levels_13(); }; if ((((__setPropDict[__id59_] == undefined)) || (!((int(__setPropDict[__id59_]) == 13))))){ __setPropDict[__id59_] = currentFrame; __setProp___id59__World1_Levels_13(); }; if ((((__setPropDict[__id60_] == undefined)) || (!((int(__setPropDict[__id60_]) == 13))))){ __setPropDict[__id60_] = currentFrame; __setProp___id60__World1_Levels_13(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3TrueR); tool3.addEventListener(MouseEvent.CLICK, tool3True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); } function __setProp___id8__World1_Levels_1(){ try { __id8_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id8_.bodyAllowSleep = true; __id8_.bodyAngularDamping = 0; __id8_.bodyApplyGravity = true; __id8_.bodyFixedRotation = false; __id8_.bodyIsBullet = false; __id8_.bodyIsSleeping = false; __id8_.bodyIsStatic = true; __id8_.bodyLinearDamping = 0; __id8_.shapeCategoryBits = "0x0001"; __id8_.shapeDensity = 1; __id8_.shapeFriction = 0.2; __id8_.shapeGroupIndex = 0; __id8_.shapeIsSensor = false; __id8_.shapeMaskBits = "0xFFFF"; __id8_.shapeRestitution = 0; try { __id8_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id173__World1_Levels_39(){ try { __id173_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id173_.bodyAllowSleep = true; __id173_.bodyAngularDamping = 0; __id173_.bodyApplyGravity = true; __id173_.bodyFixedRotation = false; __id173_.bodyIsBullet = false; __id173_.bodyIsSleeping = false; __id173_.bodyIsStatic = true; __id173_.bodyLinearDamping = 0; __id173_.shapeCategoryBits = "0x0001"; __id173_.shapeDensity = 1; __id173_.shapeFriction = 1; __id173_.shapeGroupIndex = 0; __id173_.shapeIsSensor = false; __id173_.shapeMaskBits = "0xFFFF"; __id173_.shapeRestitution = 0; try { __id173_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame11(){ if ((((__setPropDict[__id45_] == undefined)) || (!((((int(__setPropDict[__id45_]) >= 10)) && ((int(__setPropDict[__id45_]) <= 11))))))){ __setPropDict[__id45_] = currentFrame; __setProp___id45__World1_Levels_10(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((int(__setPropDict[Star]) >= 2)) && ((int(__setPropDict[Star]) <= 3)))) || ((((int(__setPropDict[Star]) >= 5)) && ((int(__setPropDict[Star]) <= 8)))))) || ((int(__setPropDict[Star]) == 9)))) || ((int(__setPropDict[Star]) == 11))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_2(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((int(__setPropDict[__id42_]) == 11))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_11(); }; if ((((__setPropDict[__id47_] == undefined)) || (!((int(__setPropDict[__id47_]) == 11))))){ __setPropDict[__id47_] = currentFrame; __setProp___id47__World1_Levels_11(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id35_] == undefined)) || (!((((int(__setPropDict[__id35_]) >= 9)) && ((int(__setPropDict[__id35_]) <= 11))))))){ __setPropDict[__id35_] = currentFrame; __setProp___id35__World1_Levels_9(); }; if ((((__setPropDict[__id46_] == undefined)) || (!((int(__setPropDict[__id46_]) == 11))))){ __setPropDict[__id46_] = currentFrame; __setProp___id46__World1_Levels_11(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); } function __setProp___id123__World1_Levels_25(){ try { __id123_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id123_.bodyAllowSleep = true; __id123_.bodyAngularDamping = 0; __id123_.bodyApplyGravity = true; __id123_.bodyFixedRotation = false; __id123_.bodyIsBullet = false; __id123_.bodyIsSleeping = false; __id123_.bodyIsStatic = true; __id123_.bodyLinearDamping = 0; __id123_.shapeCategoryBits = "0x0001"; __id123_.shapeDensity = 1; __id123_.shapeFriction = 0.2; __id123_.shapeGroupIndex = 0; __id123_.shapeIsSensor = false; __id123_.shapeMaskBits = "0xFFFF"; __id123_.shapeRestitution = 0; try { __id123_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id123__World1_Levels_26(){ try { __id123_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id123_.bodyAllowSleep = true; __id123_.bodyAngularDamping = 0; __id123_.bodyApplyGravity = true; __id123_.bodyFixedRotation = false; __id123_.bodyIsBullet = false; __id123_.bodyIsSleeping = false; __id123_.bodyIsStatic = true; __id123_.bodyLinearDamping = 0; __id123_.shapeCategoryBits = "0x0001"; __id123_.shapeDensity = 1; __id123_.shapeFriction = 0.2; __id123_.shapeGroupIndex = 0; __id123_.shapeIsSensor = false; __id123_.shapeMaskBits = "0xFFFF"; __id123_.shapeRestitution = 0.4; try { __id123_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id33__World1_Levels_9(){ try { __id33_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id33_.bodyAllowSleep = true; __id33_.bodyAngularDamping = 0; __id33_.bodyApplyGravity = true; __id33_.bodyFixedRotation = false; __id33_.bodyIsBullet = false; __id33_.bodyIsSleeping = false; __id33_.bodyIsStatic = true; __id33_.bodyLinearDamping = 0; __id33_.shapeCategoryBits = "0x0001"; __id33_.shapeDensity = 1; __id33_.shapeFriction = 5; __id33_.shapeGroupIndex = 0; __id33_.shapeIsSensor = false; __id33_.shapeMaskBits = "0xFFFF"; __id33_.shapeRestitution = 0.4; try { __id33_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame23(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id109_] == undefined)) || (!((((int(__setPropDict[__id109_]) >= 23)) && ((int(__setPropDict[__id109_]) <= 25))))))){ __setPropDict[__id109_] = currentFrame; __setProp___id109__World1_Levels_23(); }; if ((((__setPropDict[__id112_] == undefined)) || (!((int(__setPropDict[__id112_]) == 23))))){ __setPropDict[__id112_] = currentFrame; __setProp___id112__World1_Levels_23(); }; if ((((__setPropDict[__id104_] == undefined)) || (!((((int(__setPropDict[__id104_]) >= 22)) && ((int(__setPropDict[__id104_]) <= 23))))))){ __setPropDict[__id104_] = currentFrame; __setProp___id104__World1_Levels_22(); }; if ((((__setPropDict[__id113_] == undefined)) || (!((int(__setPropDict[__id113_]) == 23))))){ __setPropDict[__id113_] = currentFrame; __setProp___id113__World1_Levels_23(); }; if ((((__setPropDict[__id98_] == undefined)) || (!((int(__setPropDict[__id98_]) == 23))))){ __setPropDict[__id98_] = currentFrame; __setProp___id98__World1_Levels_23(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id110_] == undefined)) || (!((((int(__setPropDict[__id110_]) >= 23)) && ((int(__setPropDict[__id110_]) <= 24))))))){ __setPropDict[__id110_] = currentFrame; __setProp___id110__World1_Levels_23(); }; if ((((__setPropDict[__id111_] == undefined)) || (!((int(__setPropDict[__id111_]) == 23))))){ __setPropDict[__id111_] = currentFrame; __setProp___id111__World1_Levels_23(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame18(){ if ((((__setPropDict[__id76_] == undefined)) || (!((((int(__setPropDict[__id76_]) >= 17)) && ((int(__setPropDict[__id76_]) <= 18))))))){ __setPropDict[__id76_] = currentFrame; __setProp___id76__World1_Levels_17(); }; if ((((__setPropDict[__id90_] == undefined)) || (!((int(__setPropDict[__id90_]) == 18))))){ __setPropDict[__id90_] = currentFrame; __setProp___id90__World1_Levels_18(); }; if ((((__setPropDict[__id91_] == undefined)) || (!((int(__setPropDict[__id91_]) == 18))))){ __setPropDict[__id91_] = currentFrame; __setProp___id91__World1_Levels_18(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id89_] == undefined)) || (!((int(__setPropDict[__id89_]) == 18))))){ __setPropDict[__id89_] = currentFrame; __setProp___id89__World1_Levels_18(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id88_] == undefined)) || (!((int(__setPropDict[__id88_]) == 18))))){ __setPropDict[__id88_] = currentFrame; __setProp___id88__World1_Levels_18(); }; if ((((__setPropDict[__id77_] == undefined)) || (!((((int(__setPropDict[__id77_]) >= 17)) && ((int(__setPropDict[__id77_]) <= 18))))))){ __setPropDict[__id77_] = currentFrame; __setProp___id77__World1_Levels_17(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); } function frame19(){ if ((((__setPropDict[__id92_] == undefined)) || (!((int(__setPropDict[__id92_]) == 19))))){ __setPropDict[__id92_] = currentFrame; __setProp___id92__World1_Levels_19(); }; if ((((__setPropDict[__id93_] == undefined)) || (!((int(__setPropDict[__id93_]) == 19))))){ __setPropDict[__id93_] = currentFrame; __setProp___id93__World1_Levels_19(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id88_] == undefined)) || (!((((int(__setPropDict[__id88_]) >= 19)) && ((int(__setPropDict[__id88_]) <= 20))))))){ __setPropDict[__id88_] = currentFrame; __setProp___id88__World1_Levels_19(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function __setProp___id63__World1_Levels_13(){ try { __id63_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id63_.bodyAllowSleep = true; __id63_.bodyAngularDamping = 0; __id63_.bodyApplyGravity = true; __id63_.bodyFixedRotation = false; __id63_.bodyIsBullet = false; __id63_.bodyIsSleeping = false; __id63_.bodyIsStatic = true; __id63_.bodyLinearDamping = 0; __id63_.shapeCategoryBits = "0x0001"; __id63_.shapeDensity = 1; __id63_.shapeFriction = 0.2; __id63_.shapeGroupIndex = 0; __id63_.shapeIsSensor = false; __id63_.shapeMaskBits = "0xFFFF"; __id63_.shapeRestitution = 0; try { __id63_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame24(){ if ((((__setPropDict[T] == undefined)) || (!((int(__setPropDict[T]) == 24))))){ __setPropDict[T] = currentFrame; __setProp_T_World1_Levels_24(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id114_] == undefined)) || (!((int(__setPropDict[__id114_]) == 24))))){ __setPropDict[__id114_] = currentFrame; __setProp___id114__World1_Levels_24(); }; if ((((__setPropDict[__id115_] == undefined)) || (!((int(__setPropDict[__id115_]) == 24))))){ __setPropDict[__id115_] = currentFrame; __setProp___id115__World1_Levels_24(); }; if ((((__setPropDict[__id109_] == undefined)) || (!((((int(__setPropDict[__id109_]) >= 23)) && ((int(__setPropDict[__id109_]) <= 25))))))){ __setPropDict[__id109_] = currentFrame; __setProp___id109__World1_Levels_23(); }; if ((((__setPropDict[__id118_] == undefined)) || (!((int(__setPropDict[__id118_]) == 24))))){ __setPropDict[__id118_] = currentFrame; __setProp___id118__World1_Levels_24(); }; if ((((__setPropDict[__id119_] == undefined)) || (!((int(__setPropDict[__id119_]) == 24))))){ __setPropDict[__id119_] = currentFrame; __setProp___id119__World1_Levels_24(); }; if ((((__setPropDict[__id116_] == undefined)) || (!((int(__setPropDict[__id116_]) == 24))))){ __setPropDict[__id116_] = currentFrame; __setProp___id116__World1_Levels_24(); }; if ((((__setPropDict[__id117_] == undefined)) || (!((int(__setPropDict[__id117_]) == 24))))){ __setPropDict[__id117_] = currentFrame; __setProp___id117__World1_Levels_24(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id110_] == undefined)) || (!((((int(__setPropDict[__id110_]) >= 23)) && ((int(__setPropDict[__id110_]) <= 24))))))){ __setPropDict[__id110_] = currentFrame; __setProp___id110__World1_Levels_23(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame25(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id109_] == undefined)) || (!((((int(__setPropDict[__id109_]) >= 23)) && ((int(__setPropDict[__id109_]) <= 25))))))){ __setPropDict[__id109_] = currentFrame; __setProp___id109__World1_Levels_23(); }; if ((((__setPropDict[__id121_] == undefined)) || (!((((int(__setPropDict[__id121_]) >= 25)) && ((int(__setPropDict[__id121_]) <= 27))))))){ __setPropDict[__id121_] = currentFrame; __setProp___id121__World1_Levels_25(); }; if ((((__setPropDict[__id120_] == undefined)) || (!((((int(__setPropDict[__id120_]) >= 25)) && ((int(__setPropDict[__id120_]) <= 27))))))){ __setPropDict[__id120_] = currentFrame; __setProp___id120__World1_Levels_25(); }; if ((((__setPropDict[__id124_] == undefined)) || (!((int(__setPropDict[__id124_]) == 25))))){ __setPropDict[__id124_] = currentFrame; __setProp___id124__World1_Levels_25(); }; if ((((__setPropDict[__id125_] == undefined)) || (!((int(__setPropDict[__id125_]) == 25))))){ __setPropDict[__id125_] = currentFrame; __setProp___id125__World1_Levels_25(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id122_] == undefined)) || (!((int(__setPropDict[__id122_]) == 25))))){ __setPropDict[__id122_] = currentFrame; __setProp___id122__World1_Levels_25(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id123_] == undefined)) || (!((int(__setPropDict[__id123_]) == 25))))){ __setPropDict[__id123_] = currentFrame; __setProp___id123__World1_Levels_25(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); MovieClip(root).Skips = (MovieClip(root).Skips + 1); } function __setProp___id207__World1_Levels_49(){ try { __id207_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id207_.bodyAllowSleep = true; __id207_.bodyAngularDamping = 0; __id207_.bodyApplyGravity = true; __id207_.bodyFixedRotation = false; __id207_.bodyIsBullet = false; __id207_.bodyIsSleeping = false; __id207_.bodyIsStatic = true; __id207_.bodyLinearDamping = 0; __id207_.shapeCategoryBits = "0x0001"; __id207_.shapeDensity = 1; __id207_.shapeFriction = 0.2; __id207_.shapeGroupIndex = 0; __id207_.shapeIsSensor = false; __id207_.shapeMaskBits = "0xFFFF"; __id207_.shapeRestitution = 0.4; try { __id207_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame27(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id129_] == undefined)) || (!((int(__setPropDict[__id129_]) == 27))))){ __setPropDict[__id129_] = currentFrame; __setProp___id129__World1_Levels_27(); }; if ((((__setPropDict[__id121_] == undefined)) || (!((((int(__setPropDict[__id121_]) >= 25)) && ((int(__setPropDict[__id121_]) <= 27))))))){ __setPropDict[__id121_] = currentFrame; __setProp___id121__World1_Levels_25(); }; if ((((__setPropDict[__id120_] == undefined)) || (!((((int(__setPropDict[__id120_]) >= 25)) && ((int(__setPropDict[__id120_]) <= 27))))))){ __setPropDict[__id120_] = currentFrame; __setProp___id120__World1_Levels_25(); }; if ((((__setPropDict[__id128_] == undefined)) || (!((int(__setPropDict[__id128_]) == 27))))){ __setPropDict[__id128_] = currentFrame; __setProp___id128__World1_Levels_27(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id130_] == undefined)) || (!((int(__setPropDict[__id130_]) == 27))))){ __setPropDict[__id130_] = currentFrame; __setProp___id130__World1_Levels_27(); }; if ((((__setPropDict[__id127_] == undefined)) || (!((((int(__setPropDict[__id127_]) >= 27)) && ((int(__setPropDict[__id127_]) <= 28))))))){ __setPropDict[__id127_] = currentFrame; __setProp___id127__World1_Levels_27(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame26(){ if ((((__setPropDict[__id126_] == undefined)) || (!((int(__setPropDict[__id126_]) == 26))))){ __setPropDict[__id126_] = currentFrame; __setProp___id126__World1_Levels_26(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id123_] == undefined)) || (!((int(__setPropDict[__id123_]) == 26))))){ __setPropDict[__id123_] = currentFrame; __setProp___id123__World1_Levels_26(); }; if ((((__setPropDict[__id121_] == undefined)) || (!((((int(__setPropDict[__id121_]) >= 25)) && ((int(__setPropDict[__id121_]) <= 27))))))){ __setPropDict[__id121_] = currentFrame; __setProp___id121__World1_Levels_25(); }; if ((((__setPropDict[__id120_] == undefined)) || (!((((int(__setPropDict[__id120_]) >= 25)) && ((int(__setPropDict[__id120_]) <= 27))))))){ __setPropDict[__id120_] = currentFrame; __setProp___id120__World1_Levels_25(); }; if ((((__setPropDict[__id122_] == undefined)) || (!((int(__setPropDict[__id122_]) == 26))))){ __setPropDict[__id122_] = currentFrame; __setProp___id122__World1_Levels_26(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; MovieClip(root).MochiB25(); tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame28(){ if ((((__setPropDict[__id120_] == undefined)) || (!((int(__setPropDict[__id120_]) == 28))))){ __setPropDict[__id120_] = currentFrame; __setProp___id120__World1_Levels_28(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id130_] == undefined)) || (!((((int(__setPropDict[__id130_]) == 28)) || ((int(__setPropDict[__id130_]) == 30))))))){ __setPropDict[__id130_] = currentFrame; __setProp___id130__World1_Levels_28(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id127_] == undefined)) || (!((((int(__setPropDict[__id127_]) >= 27)) && ((int(__setPropDict[__id127_]) <= 28))))))){ __setPropDict[__id127_] = currentFrame; __setProp___id127__World1_Levels_27(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame20(){ if ((((__setPropDict[__id92_] == undefined)) || (!((int(__setPropDict[__id92_]) == 20))))){ __setPropDict[__id92_] = currentFrame; __setProp___id92__World1_Levels_20(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id97_] == undefined)) || (!((int(__setPropDict[__id97_]) == 20))))){ __setPropDict[__id97_] = currentFrame; __setProp___id97__World1_Levels_20(); }; if ((((__setPropDict[__id88_] == undefined)) || (!((((int(__setPropDict[__id88_]) >= 19)) && ((int(__setPropDict[__id88_]) <= 20))))))){ __setPropDict[__id88_] = currentFrame; __setProp___id88__World1_Levels_19(); }; if ((((__setPropDict[__id94_] == undefined)) || (!((int(__setPropDict[__id94_]) == 20))))){ __setPropDict[__id94_] = currentFrame; __setProp___id94__World1_Levels_20(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id95_] == undefined)) || (!((int(__setPropDict[__id95_]) == 20))))){ __setPropDict[__id95_] = currentFrame; __setProp___id95__World1_Levels_20(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); MovieClip(root).Skips = (MovieClip(root).Skips + 1); } function frame22(){ if ((((__setPropDict[__id105_] == undefined)) || (!((int(__setPropDict[__id105_]) == 22))))){ __setPropDict[__id105_] = currentFrame; __setProp___id105__World1_Levels_22(); }; if ((((__setPropDict[__id106_] == undefined)) || (!((int(__setPropDict[__id106_]) == 22))))){ __setPropDict[__id106_] = currentFrame; __setProp___id106__World1_Levels_22(); }; if ((((__setPropDict[__id104_] == undefined)) || (!((((int(__setPropDict[__id104_]) >= 22)) && ((int(__setPropDict[__id104_]) <= 23))))))){ __setPropDict[__id104_] = currentFrame; __setProp___id104__World1_Levels_22(); }; if ((((__setPropDict[__id108_] == undefined)) || (!((int(__setPropDict[__id108_]) == 22))))){ __setPropDict[__id108_] = currentFrame; __setProp___id108__World1_Levels_22(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id98_] == undefined)) || (!((int(__setPropDict[__id98_]) == 22))))){ __setPropDict[__id98_] = currentFrame; __setProp___id98__World1_Levels_22(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id107_] == undefined)) || (!((int(__setPropDict[__id107_]) == 22))))){ __setPropDict[__id107_] = currentFrame; __setProp___id107__World1_Levels_22(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function __setProp___id246__World1_Levels_52(){ try { __id246_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id246_.bodyAllowSleep = true; __id246_.bodyAngularDamping = 0; __id246_.bodyApplyGravity = true; __id246_.bodyFixedRotation = false; __id246_.bodyIsBullet = false; __id246_.bodyIsSleeping = false; __id246_.bodyIsStatic = true; __id246_.bodyLinearDamping = 0; __id246_.shapeCategoryBits = "0x0001"; __id246_.shapeDensity = 2; __id246_.shapeFriction = 0.2; __id246_.shapeGroupIndex = 0; __id246_.shapeIsSensor = false; __id246_.shapeMaskBits = "0xFFFF"; __id246_.shapeRestitution = 0.2; try { __id246_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id112__World1_Levels_23(){ try { __id112_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id112_.bodyAllowSleep = true; __id112_.bodyAngularDamping = 0; __id112_.bodyApplyGravity = true; __id112_.bodyFixedRotation = false; __id112_.bodyIsBullet = false; __id112_.bodyIsSleeping = false; __id112_.bodyIsStatic = true; __id112_.bodyLinearDamping = 0; __id112_.shapeCategoryBits = "0x0001"; __id112_.shapeDensity = 1; __id112_.shapeFriction = 0.2; __id112_.shapeGroupIndex = 0; __id112_.shapeIsSensor = false; __id112_.shapeMaskBits = "0xFFFF"; __id112_.shapeRestitution = 0; try { __id112_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id74__World1_Levels_16(){ try { __id74_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id74_.bodyAllowSleep = true; __id74_.bodyAngularDamping = 0; __id74_.bodyApplyGravity = true; __id74_.bodyFixedRotation = false; __id74_.bodyIsBullet = false; __id74_.bodyIsSleeping = false; __id74_.bodyIsStatic = true; __id74_.bodyLinearDamping = 0; __id74_.shapeCategoryBits = "0x0001"; __id74_.shapeDensity = 1; __id74_.shapeFriction = 0.2; __id74_.shapeGroupIndex = 0; __id74_.shapeIsSensor = false; __id74_.shapeMaskBits = "0xFFFF"; __id74_.shapeRestitution = 0; try { __id74_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame36(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id155_] == undefined)) || (!((int(__setPropDict[__id155_]) == 36))))){ __setPropDict[__id155_] = currentFrame; __setProp___id155__World1_Levels_36(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id152_] == undefined)) || (!((((int(__setPropDict[__id152_]) >= 34)) && ((int(__setPropDict[__id152_]) <= 38))))))){ __setPropDict[__id152_] = currentFrame; __setProp___id152__World1_Levels_34(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id154_] == undefined)) || (!((int(__setPropDict[__id154_]) == 36))))){ __setPropDict[__id154_] = currentFrame; __setProp___id154__World1_Levels_36(); }; if ((((__setPropDict[__id149_] == undefined)) || (!((((int(__setPropDict[__id149_]) >= 34)) && ((int(__setPropDict[__id149_]) <= 36))))))){ __setPropDict[__id149_] = currentFrame; __setProp___id149__World1_Levels_34(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame37(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[Star] == undefined)) || (!((int(__setPropDict[Star]) == 37))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_37(); }; if ((((__setPropDict[__id154_] == undefined)) || (!((int(__setPropDict[__id154_]) == 37))))){ __setPropDict[__id154_] = currentFrame; __setProp___id154__World1_Levels_37(); }; if ((((__setPropDict[__id156_] == undefined)) || (!((int(__setPropDict[__id156_]) == 37))))){ __setPropDict[__id156_] = currentFrame; __setProp___id156__World1_Levels_37(); }; if ((((__setPropDict[__id158_] == undefined)) || (!((int(__setPropDict[__id158_]) == 37))))){ __setPropDict[__id158_] = currentFrame; __setProp___id158__World1_Levels_37(); }; if ((((__setPropDict[__id157_] == undefined)) || (!((((int(__setPropDict[__id157_]) >= 37)) && ((int(__setPropDict[__id157_]) <= 38))))))){ __setPropDict[__id157_] = currentFrame; __setProp___id157__World1_Levels_37(); }; if ((((__setPropDict[__id160_] == undefined)) || (!((int(__setPropDict[__id160_]) == 37))))){ __setPropDict[__id160_] = currentFrame; __setProp___id160__World1_Levels_37(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id152_] == undefined)) || (!((((int(__setPropDict[__id152_]) >= 34)) && ((int(__setPropDict[__id152_]) <= 38))))))){ __setPropDict[__id152_] = currentFrame; __setProp___id152__World1_Levels_34(); }; if ((((__setPropDict[__id159_] == undefined)) || (!((int(__setPropDict[__id159_]) == 37))))){ __setPropDict[__id159_] = currentFrame; __setProp___id159__World1_Levels_37(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame21(){ if ((((__setPropDict[__id100_] == undefined)) || (!((int(__setPropDict[__id100_]) == 21))))){ __setPropDict[__id100_] = currentFrame; __setProp___id100__World1_Levels_21(); }; if ((((__setPropDict[__id103_] == undefined)) || (!((int(__setPropDict[__id103_]) == 21))))){ __setPropDict[__id103_] = currentFrame; __setProp___id103__World1_Levels_21(); }; if ((((__setPropDict[__id98_] == undefined)) || (!((int(__setPropDict[__id98_]) == 21))))){ __setPropDict[__id98_] = currentFrame; __setProp___id98__World1_Levels_21(); }; if ((((__setPropDict[__id102_] == undefined)) || (!((int(__setPropDict[__id102_]) == 21))))){ __setPropDict[__id102_] = currentFrame; __setProp___id102__World1_Levels_21(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id92_] == undefined)) || (!((int(__setPropDict[__id92_]) == 21))))){ __setPropDict[__id92_] = currentFrame; __setProp___id92__World1_Levels_21(); }; if ((((__setPropDict[__id99_] == undefined)) || (!((int(__setPropDict[__id99_]) == 21))))){ __setPropDict[__id99_] = currentFrame; __setProp___id99__World1_Levels_21(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id101_] == undefined)) || (!((int(__setPropDict[__id101_]) == 21))))){ __setPropDict[__id101_] = currentFrame; __setProp___id101__World1_Levels_21(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame31(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id139_] == undefined)) || (!((int(__setPropDict[__id139_]) == 31))))){ __setPropDict[__id139_] = currentFrame; __setProp___id139__World1_Levels_31(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame32(){ if ((((__setPropDict[__id139_] == undefined)) || (!((int(__setPropDict[__id139_]) == 32))))){ __setPropDict[__id139_] = currentFrame; __setProp___id139__World1_Levels_32(); }; if ((((__setPropDict[__id142_] == undefined)) || (!((int(__setPropDict[__id142_]) == 32))))){ __setPropDict[__id142_] = currentFrame; __setProp___id142__World1_Levels_32(); }; if ((((__setPropDict[__id144_] == undefined)) || (!((int(__setPropDict[__id144_]) == 32))))){ __setPropDict[__id144_] = currentFrame; __setProp___id144__World1_Levels_32(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[Star] == undefined)) || (!((int(__setPropDict[Star]) == 32))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_32(); }; if ((((__setPropDict[__id141_] == undefined)) || (!((int(__setPropDict[__id141_]) == 32))))){ __setPropDict[__id141_] = currentFrame; __setProp___id141__World1_Levels_32(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id143_] == undefined)) || (!((int(__setPropDict[__id143_]) == 32))))){ __setPropDict[__id143_] = currentFrame; __setProp___id143__World1_Levels_32(); }; if ((((__setPropDict[__id140_] == undefined)) || (!((((int(__setPropDict[__id140_]) >= 32)) && ((int(__setPropDict[__id140_]) <= 33))))))){ __setPropDict[__id140_] = currentFrame; __setProp___id140__World1_Levels_32(); }; if ((((__setPropDict[__id145_] == undefined)) || (!((int(__setPropDict[__id145_]) == 32))))){ __setPropDict[__id145_] = currentFrame; __setProp___id145__World1_Levels_32(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame34(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id139_] == undefined)) || (!((((int(__setPropDict[__id139_]) >= 33)) && ((int(__setPropDict[__id139_]) <= 34))))))){ __setPropDict[__id139_] = currentFrame; __setProp___id139__World1_Levels_33(); }; if ((((__setPropDict[__id150_] == undefined)) || (!((((int(__setPropDict[__id150_]) >= 34)) && ((int(__setPropDict[__id150_]) <= 35))))))){ __setPropDict[__id150_] = currentFrame; __setProp___id150__World1_Levels_34(); }; if ((((__setPropDict[__id151_] == undefined)) || (!((int(__setPropDict[__id151_]) == 34))))){ __setPropDict[__id151_] = currentFrame; __setProp___id151__World1_Levels_34(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id152_] == undefined)) || (!((((int(__setPropDict[__id152_]) >= 34)) && ((int(__setPropDict[__id152_]) <= 38))))))){ __setPropDict[__id152_] = currentFrame; __setProp___id152__World1_Levels_34(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id149_] == undefined)) || (!((((int(__setPropDict[__id149_]) >= 34)) && ((int(__setPropDict[__id149_]) <= 36))))))){ __setPropDict[__id149_] = currentFrame; __setProp___id149__World1_Levels_34(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame12(){ if ((((__setPropDict[__id47_] == undefined)) || (!((int(__setPropDict[__id47_]) == 12))))){ __setPropDict[__id47_] = currentFrame; __setProp___id47__World1_Levels_12(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 12)) && ((int(__setPropDict[__id42_]) <= 13))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_12(); }; if ((((__setPropDict[__id52_] == undefined)) || (!((int(__setPropDict[__id52_]) == 12))))){ __setPropDict[__id52_] = currentFrame; __setProp___id52__World1_Levels_12(); }; if ((((__setPropDict[__id53_] == undefined)) || (!((int(__setPropDict[__id53_]) == 12))))){ __setPropDict[__id53_] = currentFrame; __setProp___id53__World1_Levels_12(); }; if ((((__setPropDict[__id54_] == undefined)) || (!((int(__setPropDict[__id54_]) == 12))))){ __setPropDict[__id54_] = currentFrame; __setProp___id54__World1_Levels_12(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[__id48_] == undefined)) || (!((int(__setPropDict[__id48_]) == 12))))){ __setPropDict[__id48_] = currentFrame; __setProp___id48__World1_Levels_12(); }; if ((((__setPropDict[__id55_] == undefined)) || (!((int(__setPropDict[__id55_]) == 12))))){ __setPropDict[__id55_] = currentFrame; __setProp___id55__World1_Levels_12(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 12))))){ __setPropDict[__id50_] = currentFrame; __setProp___id50__World1_Levels_12(); }; if ((((__setPropDict[__id51_] == undefined)) || (!((int(__setPropDict[__id51_]) == 12))))){ __setPropDict[__id51_] = currentFrame; __setProp___id51__World1_Levels_12(); }; if ((((__setPropDict[Star] == undefined)) || (!((((int(__setPropDict[Star]) >= 12)) && ((int(__setPropDict[Star]) <= 13))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_12(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id49_] == undefined)) || (!((int(__setPropDict[__id49_]) == 12))))){ __setPropDict[__id49_] = currentFrame; __setProp___id49__World1_Levels_12(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); } function frame33(){ if ((((__setPropDict[__id147_] == undefined)) || (!((int(__setPropDict[__id147_]) == 33))))){ __setPropDict[__id147_] = currentFrame; __setProp___id147__World1_Levels_33(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id139_] == undefined)) || (!((((int(__setPropDict[__id139_]) >= 33)) && ((int(__setPropDict[__id139_]) <= 34))))))){ __setPropDict[__id139_] = currentFrame; __setProp___id139__World1_Levels_33(); }; if ((((__setPropDict[__id146_] == undefined)) || (!((int(__setPropDict[__id146_]) == 33))))){ __setPropDict[__id146_] = currentFrame; __setProp___id146__World1_Levels_33(); }; if ((((__setPropDict[__id148_] == undefined)) || (!((int(__setPropDict[__id148_]) == 33))))){ __setPropDict[__id148_] = currentFrame; __setProp___id148__World1_Levels_33(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id140_] == undefined)) || (!((((int(__setPropDict[__id140_]) >= 32)) && ((int(__setPropDict[__id140_]) <= 33))))))){ __setPropDict[__id140_] = currentFrame; __setProp___id140__World1_Levels_32(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame40(){ if ((((__setPropDict[__id175_] == undefined)) || (!((((int(__setPropDict[__id175_]) == 40)) || ((int(__setPropDict[__id175_]) == 42))))))){ __setPropDict[__id175_] = currentFrame; __setProp___id175__World1_Levels_40(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((int(__setPropDict[Star]) == 17)) || ((int(__setPropDict[Star]) == 40)))) || ((int(__setPropDict[Star]) == 51))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_17(); }; if ((((__setPropDict[__id174_] == undefined)) || (!((((int(__setPropDict[__id174_]) >= 40)) && ((int(__setPropDict[__id174_]) <= 42))))))){ __setPropDict[__id174_] = currentFrame; __setProp___id174__World1_Levels_40(); }; if ((((__setPropDict[__id176_] == undefined)) || (!((int(__setPropDict[__id176_]) == 40))))){ __setPropDict[__id176_] = currentFrame; __setProp___id176__World1_Levels_40(); }; if ((((__setPropDict[__id167_] == undefined)) || (!((int(__setPropDict[__id167_]) == 40))))){ __setPropDict[__id167_] = currentFrame; __setProp___id167__World1_Levels_40(); }; if ((((__setPropDict[__id163_] == undefined)) || (!((int(__setPropDict[__id163_]) == 40))))){ __setPropDict[__id163_] = currentFrame; __setProp___id163__World1_Levels_40(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); MovieClip(root).Skips = (MovieClip(root).Skips + 1); } function frame39(){ if ((((__setPropDict[__id157_] == undefined)) || (!((int(__setPropDict[__id157_]) == 39))))){ __setPropDict[__id157_] = currentFrame; __setProp___id157__World1_Levels_39(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id165_] == undefined)) || (!((((int(__setPropDict[__id165_]) >= 38)) && ((int(__setPropDict[__id165_]) <= 39))))))){ __setPropDict[__id165_] = currentFrame; __setProp___id165__World1_Levels_38(); }; if ((((__setPropDict[__id166_] == undefined)) || (!((int(__setPropDict[__id166_]) == 39))))){ __setPropDict[__id166_] = currentFrame; __setProp___id166__World1_Levels_39(); }; if ((((__setPropDict[__id169_] == undefined)) || (!((int(__setPropDict[__id169_]) == 39))))){ __setPropDict[__id169_] = currentFrame; __setProp___id169__World1_Levels_39(); }; if ((((__setPropDict[__id168_] == undefined)) || (!((int(__setPropDict[__id168_]) == 39))))){ __setPropDict[__id168_] = currentFrame; __setProp___id168__World1_Levels_39(); }; if ((((__setPropDict[__id170_] == undefined)) || (!((int(__setPropDict[__id170_]) == 39))))){ __setPropDict[__id170_] = currentFrame; __setProp___id170__World1_Levels_39(); }; if ((((__setPropDict[__id171_] == undefined)) || (!((int(__setPropDict[__id171_]) == 39))))){ __setPropDict[__id171_] = currentFrame; __setProp___id171__World1_Levels_39(); }; if ((((__setPropDict[__id172_] == undefined)) || (!((int(__setPropDict[__id172_]) == 39))))){ __setPropDict[__id172_] = currentFrame; __setProp___id172__World1_Levels_39(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id163_] == undefined)) || (!((int(__setPropDict[__id163_]) == 39))))){ __setPropDict[__id163_] = currentFrame; __setProp___id163__World1_Levels_39(); }; if ((((__setPropDict[__id173_] == undefined)) || (!((int(__setPropDict[__id173_]) == 39))))){ __setPropDict[__id173_] = currentFrame; __setProp___id173__World1_Levels_39(); }; if ((((__setPropDict[__id152_] == undefined)) || (!((int(__setPropDict[__id152_]) == 39))))){ __setPropDict[__id152_] = currentFrame; __setProp___id152__World1_Levels_39(); }; if ((((__setPropDict[__id167_] == undefined)) || (!((int(__setPropDict[__id167_]) == 39))))){ __setPropDict[__id167_] = currentFrame; __setProp___id167__World1_Levels_39(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame29(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id127_] == undefined)) || (!((int(__setPropDict[__id127_]) == 29))))){ __setPropDict[__id127_] = currentFrame; __setProp___id127__World1_Levels_29(); }; if ((((__setPropDict[__id133_] == undefined)) || (!((int(__setPropDict[__id133_]) == 29))))){ __setPropDict[__id133_] = currentFrame; __setProp___id133__World1_Levels_29(); }; if ((((__setPropDict[__id131_] == undefined)) || (!((((int(__setPropDict[__id131_]) >= 29)) && ((int(__setPropDict[__id131_]) <= 30))))))){ __setPropDict[__id131_] = currentFrame; __setProp___id131__World1_Levels_29(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id132_] == undefined)) || (!((int(__setPropDict[__id132_]) == 29))))){ __setPropDict[__id132_] = currentFrame; __setProp___id132__World1_Levels_29(); }; if ((((__setPropDict[__id130_] == undefined)) || (!((int(__setPropDict[__id130_]) == 29))))){ __setPropDict[__id130_] = currentFrame; __setProp___id130__World1_Levels_29(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function __setProp___id184__World1_Levels_43(){ try { __id184_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id184_.bodyAllowSleep = true; __id184_.bodyAngularDamping = 0; __id184_.bodyApplyGravity = true; __id184_.bodyFixedRotation = false; __id184_.bodyIsBullet = false; __id184_.bodyIsSleeping = true; __id184_.bodyIsStatic = false; __id184_.bodyLinearDamping = 0; __id184_.shapeCategoryBits = "0x0001"; __id184_.shapeDensity = 1; __id184_.shapeFriction = 0.2; __id184_.shapeGroupIndex = 0; __id184_.shapeIsSensor = false; __id184_.shapeMaskBits = "0xFFFF"; __id184_.shapeRestitution = 0.2; try { __id184_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id85__World1_Levels_17(){ try { __id85_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id85_.bodyAllowSleep = true; __id85_.bodyAngularDamping = 0; __id85_.bodyApplyGravity = true; __id85_.bodyFixedRotation = false; __id85_.bodyIsBullet = false; __id85_.bodyIsSleeping = false; __id85_.bodyIsStatic = true; __id85_.bodyLinearDamping = 0; __id85_.shapeCategoryBits = "0x0001"; __id85_.shapeDensity = 1; __id85_.shapeFriction = 0.2; __id85_.shapeGroupIndex = 0; __id85_.shapeIsSensor = false; __id85_.shapeMaskBits = "0xFFFF"; __id85_.shapeRestitution = 0; try { __id85_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame47(){ if ((((__setPropDict[__id199_] == undefined)) || (!((int(__setPropDict[__id199_]) == 47))))){ __setPropDict[__id199_] = currentFrame; __setProp___id199__World1_Levels_47(); }; if ((((__setPropDict[__id200_] == undefined)) || (!((int(__setPropDict[__id200_]) == 47))))){ __setPropDict[__id200_] = currentFrame; __setProp___id200__World1_Levels_47(); }; if ((((__setPropDict[__id195_] == undefined)) || (!((((int(__setPropDict[__id195_]) >= 47)) && ((int(__setPropDict[__id195_]) <= 48))))))){ __setPropDict[__id195_] = currentFrame; __setProp___id195__World1_Levels_47(); }; if ((((__setPropDict[__id183_] == undefined)) || (!((((int(__setPropDict[__id183_]) >= 43)) && ((int(__setPropDict[__id183_]) <= 49))))))){ __setPropDict[__id183_] = currentFrame; __setProp___id183__World1_Levels_43(); }; if ((((__setPropDict[__id196_] == undefined)) || (!((int(__setPropDict[__id196_]) == 47))))){ __setPropDict[__id196_] = currentFrame; __setProp___id196__World1_Levels_47(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id198_] == undefined)) || (!((int(__setPropDict[__id198_]) == 47))))){ __setPropDict[__id198_] = currentFrame; __setProp___id198__World1_Levels_47(); }; if ((((__setPropDict[__id197_] == undefined)) || (!((int(__setPropDict[__id197_]) == 47))))){ __setPropDict[__id197_] = currentFrame; __setProp___id197__World1_Levels_47(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function __setProp___id134__World1_Levels_30(){ try { __id134_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id134_.bodyAllowSleep = true; __id134_.bodyAngularDamping = 0; __id134_.bodyApplyGravity = true; __id134_.bodyFixedRotation = false; __id134_.bodyIsBullet = false; __id134_.bodyIsSleeping = false; __id134_.bodyIsStatic = true; __id134_.bodyLinearDamping = 0; __id134_.shapeCategoryBits = "0x0001"; __id134_.shapeDensity = 1; __id134_.shapeFriction = 0.2; __id134_.shapeGroupIndex = 0; __id134_.shapeIsSensor = false; __id134_.shapeMaskBits = "0xFFFF"; __id134_.shapeRestitution = 0.4; try { __id134_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id11__World1_Levels_1(){ try { __id11_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id11_.body2Name = "BC"; __id11_.bodyName = "MC"; __id11_.collideConnected = false; __id11_.enableLimit = false; __id11_.enableMotor = false; __id11_.lineParameter = "0x888888"; __id11_.lineStyle = "Line"; __id11_.lowerLimit = 0; __id11_.pathReturns = false; __id11_.speed1 = 0; __id11_.speed2 = 0; __id11_.speedFlag = ""; __id11_.spring = false; __id11_.springConstant = 0; __id11_.springDamping = 0; __id11_.strength = 0; __id11_.targetName = ""; __id11_.type = "RevolutePin"; __id11_.upperLimit = 0; try { __id11_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame38(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id162_] == undefined)) || (!((int(__setPropDict[__id162_]) == 38))))){ __setPropDict[__id162_] = currentFrame; __setProp___id162__World1_Levels_38(); }; if ((((__setPropDict[__id165_] == undefined)) || (!((((int(__setPropDict[__id165_]) >= 38)) && ((int(__setPropDict[__id165_]) <= 39))))))){ __setPropDict[__id165_] = currentFrame; __setProp___id165__World1_Levels_38(); }; if ((((__setPropDict[__id164_] == undefined)) || (!((int(__setPropDict[__id164_]) == 38))))){ __setPropDict[__id164_] = currentFrame; __setProp___id164__World1_Levels_38(); }; if ((((__setPropDict[__id161_] == undefined)) || (!((int(__setPropDict[__id161_]) == 38))))){ __setPropDict[__id161_] = currentFrame; __setProp___id161__World1_Levels_38(); }; if ((((__setPropDict[__id157_] == undefined)) || (!((((int(__setPropDict[__id157_]) >= 37)) && ((int(__setPropDict[__id157_]) <= 38))))))){ __setPropDict[__id157_] = currentFrame; __setProp___id157__World1_Levels_37(); }; if ((((__setPropDict[__id163_] == undefined)) || (!((((int(__setPropDict[__id163_]) == 38)) || ((int(__setPropDict[__id163_]) == 41))))))){ __setPropDict[__id163_] = currentFrame; __setProp___id163__World1_Levels_38(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id152_] == undefined)) || (!((((int(__setPropDict[__id152_]) >= 34)) && ((int(__setPropDict[__id152_]) <= 38))))))){ __setPropDict[__id152_] = currentFrame; __setProp___id152__World1_Levels_34(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame45(){ if ((((__setPropDict[__id179_] == undefined)) || (!((((int(__setPropDict[__id179_]) >= 42)) && ((int(__setPropDict[__id179_]) <= 45))))))){ __setPropDict[__id179_] = currentFrame; __setProp___id179__World1_Levels_42(); }; if ((((__setPropDict[__id183_] == undefined)) || (!((((int(__setPropDict[__id183_]) >= 43)) && ((int(__setPropDict[__id183_]) <= 49))))))){ __setPropDict[__id183_] = currentFrame; __setProp___id183__World1_Levels_43(); }; if ((((__setPropDict[__id190_] == undefined)) || (!((((int(__setPropDict[__id190_]) >= 45)) && ((int(__setPropDict[__id190_]) <= 46))))))){ __setPropDict[__id190_] = currentFrame; __setProp___id190__World1_Levels_45(); }; if ((((__setPropDict[__id192_] == undefined)) || (!((int(__setPropDict[__id192_]) == 45))))){ __setPropDict[__id192_] = currentFrame; __setProp___id192__World1_Levels_45(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); MovieClip(root).Skips = (MovieClip(root).Skips + 1); } function frame30(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id136_] == undefined)) || (!((int(__setPropDict[__id136_]) == 30))))){ __setPropDict[__id136_] = currentFrame; __setProp___id136__World1_Levels_30(); }; if ((((__setPropDict[__id133_] == undefined)) || (!((int(__setPropDict[__id133_]) == 30))))){ __setPropDict[__id133_] = currentFrame; __setProp___id133__World1_Levels_30(); }; if ((((__setPropDict[__id137_] == undefined)) || (!((int(__setPropDict[__id137_]) == 30))))){ __setPropDict[__id137_] = currentFrame; __setProp___id137__World1_Levels_30(); }; if ((((__setPropDict[__id130_] == undefined)) || (!((((int(__setPropDict[__id130_]) == 28)) || ((int(__setPropDict[__id130_]) == 30))))))){ __setPropDict[__id130_] = currentFrame; __setProp___id130__World1_Levels_28(); }; if ((((__setPropDict[__id138_] == undefined)) || (!((int(__setPropDict[__id138_]) == 30))))){ __setPropDict[__id138_] = currentFrame; __setProp___id138__World1_Levels_30(); }; if ((((__setPropDict[__id131_] == undefined)) || (!((((int(__setPropDict[__id131_]) >= 29)) && ((int(__setPropDict[__id131_]) <= 30))))))){ __setPropDict[__id131_] = currentFrame; __setProp___id131__World1_Levels_29(); }; if ((((__setPropDict[__id135_] == undefined)) || (!((int(__setPropDict[__id135_]) == 30))))){ __setPropDict[__id135_] = currentFrame; __setProp___id135__World1_Levels_30(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id134_] == undefined)) || (!((int(__setPropDict[__id134_]) == 30))))){ __setPropDict[__id134_] = currentFrame; __setProp___id134__World1_Levels_30(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); MovieClip(root).Skips = (MovieClip(root).Skips + 1); } function frame41(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id174_] == undefined)) || (!((((int(__setPropDict[__id174_]) >= 40)) && ((int(__setPropDict[__id174_]) <= 42))))))){ __setPropDict[__id174_] = currentFrame; __setProp___id174__World1_Levels_40(); }; if ((((__setPropDict[__id163_] == undefined)) || (!((((int(__setPropDict[__id163_]) == 38)) || ((int(__setPropDict[__id163_]) == 41))))))){ __setPropDict[__id163_] = currentFrame; __setProp___id163__World1_Levels_38(); }; if ((((__setPropDict[__id178_] == undefined)) || (!((int(__setPropDict[__id178_]) == 41))))){ __setPropDict[__id178_] = currentFrame; __setProp___id178__World1_Levels_41(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id167_] == undefined)) || (!((int(__setPropDict[__id167_]) == 41))))){ __setPropDict[__id167_] = currentFrame; __setProp___id167__World1_Levels_41(); }; if ((((__setPropDict[__id177_] == undefined)) || (!((((int(__setPropDict[__id177_]) >= 41)) && ((int(__setPropDict[__id177_]) <= 42))))))){ __setPropDict[__id177_] = currentFrame; __setProp___id177__World1_Levels_41(); }; if ((((__setPropDict[__id175_] == undefined)) || (!((int(__setPropDict[__id175_]) == 41))))){ __setPropDict[__id175_] = currentFrame; __setProp___id175__World1_Levels_41(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame42(){ if ((((__setPropDict[__id175_] == undefined)) || (!((((int(__setPropDict[__id175_]) == 40)) || ((int(__setPropDict[__id175_]) == 42))))))){ __setPropDict[__id175_] = currentFrame; __setProp___id175__World1_Levels_40(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id174_] == undefined)) || (!((((int(__setPropDict[__id174_]) >= 40)) && ((int(__setPropDict[__id174_]) <= 42))))))){ __setPropDict[__id174_] = currentFrame; __setProp___id174__World1_Levels_40(); }; if ((((__setPropDict[__id179_] == undefined)) || (!((((int(__setPropDict[__id179_]) >= 42)) && ((int(__setPropDict[__id179_]) <= 45))))))){ __setPropDict[__id179_] = currentFrame; __setProp___id179__World1_Levels_42(); }; if ((((__setPropDict[__id178_] == undefined)) || (!((int(__setPropDict[__id178_]) == 42))))){ __setPropDict[__id178_] = currentFrame; __setProp___id178__World1_Levels_42(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id180_] == undefined)) || (!((int(__setPropDict[__id180_]) == 42))))){ __setPropDict[__id180_] = currentFrame; __setProp___id180__World1_Levels_42(); }; if ((((__setPropDict[__id181_] == undefined)) || (!((int(__setPropDict[__id181_]) == 42))))){ __setPropDict[__id181_] = currentFrame; __setProp___id181__World1_Levels_42(); }; if ((((__setPropDict[__id177_] == undefined)) || (!((((int(__setPropDict[__id177_]) >= 41)) && ((int(__setPropDict[__id177_]) <= 42))))))){ __setPropDict[__id177_] = currentFrame; __setProp___id177__World1_Levels_41(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame43(){ if ((((__setPropDict[__id184_] == undefined)) || (!((((int(__setPropDict[__id184_]) >= 43)) && ((int(__setPropDict[__id184_]) <= 44))))))){ __setPropDict[__id184_] = currentFrame; __setProp___id184__World1_Levels_43(); }; if ((((__setPropDict[__id188_] == undefined)) || (!((((int(__setPropDict[__id188_]) >= 43)) && ((int(__setPropDict[__id188_]) <= 44))))))){ __setPropDict[__id188_] = currentFrame; __setProp___id188__World1_Levels_43(); }; if ((((__setPropDict[__id179_] == undefined)) || (!((((int(__setPropDict[__id179_]) >= 42)) && ((int(__setPropDict[__id179_]) <= 45))))))){ __setPropDict[__id179_] = currentFrame; __setProp___id179__World1_Levels_42(); }; if ((((__setPropDict[__id182_] == undefined)) || (!((((int(__setPropDict[__id182_]) >= 43)) && ((int(__setPropDict[__id182_]) <= 44))))))){ __setPropDict[__id182_] = currentFrame; __setProp___id182__World1_Levels_43(); }; if ((((__setPropDict[__id187_] == undefined)) || (!((((int(__setPropDict[__id187_]) >= 43)) && ((int(__setPropDict[__id187_]) <= 44))))))){ __setPropDict[__id187_] = currentFrame; __setProp___id187__World1_Levels_43(); }; if ((((__setPropDict[__id186_] == undefined)) || (!((int(__setPropDict[__id186_]) == 43))))){ __setPropDict[__id186_] = currentFrame; __setProp___id186__World1_Levels_43(); }; if ((((__setPropDict[__id183_] == undefined)) || (!((((int(__setPropDict[__id183_]) >= 43)) && ((int(__setPropDict[__id183_]) <= 49))))))){ __setPropDict[__id183_] = currentFrame; __setProp___id183__World1_Levels_43(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id185_] == undefined)) || (!((int(__setPropDict[__id185_]) == 43))))){ __setPropDict[__id185_] = currentFrame; __setProp___id185__World1_Levels_43(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame35(){ if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((int(__setPropDict[Arrow]) >= 13)) && ((int(__setPropDict[Arrow]) <= 17)))) || ((((int(__setPropDict[Arrow]) >= 23)) && ((int(__setPropDict[Arrow]) <= 25)))))) || ((int(__setPropDict[Arrow]) == 26)))) || ((((int(__setPropDict[Arrow]) >= 27)) && ((int(__setPropDict[Arrow]) <= 38)))))) || ((((int(__setPropDict[Arrow]) >= 39)) && ((int(__setPropDict[Arrow]) <= 42))))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_13(); }; if ((((__setPropDict[__id150_] == undefined)) || (!((((int(__setPropDict[__id150_]) >= 34)) && ((int(__setPropDict[__id150_]) <= 35))))))){ __setPropDict[__id150_] = currentFrame; __setProp___id150__World1_Levels_34(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id152_] == undefined)) || (!((((int(__setPropDict[__id152_]) >= 34)) && ((int(__setPropDict[__id152_]) <= 38))))))){ __setPropDict[__id152_] = currentFrame; __setProp___id152__World1_Levels_34(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id153_] == undefined)) || (!((int(__setPropDict[__id153_]) == 35))))){ __setPropDict[__id153_] = currentFrame; __setProp___id153__World1_Levels_35(); }; if ((((__setPropDict[__id149_] == undefined)) || (!((((int(__setPropDict[__id149_]) >= 34)) && ((int(__setPropDict[__id149_]) <= 36))))))){ __setPropDict[__id149_] = currentFrame; __setProp___id149__World1_Levels_34(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); MovieClip(root).Skips = (MovieClip(root).Skips + 1); } function __setProp___id218__World1_Levels_50(){ try { __id218_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id218_.bodyAllowSleep = true; __id218_.bodyAngularDamping = 0; __id218_.bodyApplyGravity = true; __id218_.bodyFixedRotation = false; __id218_.bodyIsBullet = false; __id218_.bodyIsSleeping = false; __id218_.bodyIsStatic = true; __id218_.bodyLinearDamping = 0; __id218_.shapeCategoryBits = "0x0001"; __id218_.shapeDensity = 1; __id218_.shapeFriction = 0.2; __id218_.shapeGroupIndex = 0; __id218_.shapeIsSensor = false; __id218_.shapeMaskBits = "0xFFFF"; __id218_.shapeRestitution = 0; try { __id218_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame48(){ if ((((__setPropDict[__id195_] == undefined)) || (!((((int(__setPropDict[__id195_]) >= 47)) && ((int(__setPropDict[__id195_]) <= 48))))))){ __setPropDict[__id195_] = currentFrame; __setProp___id195__World1_Levels_47(); }; if ((((__setPropDict[__id183_] == undefined)) || (!((((int(__setPropDict[__id183_]) >= 43)) && ((int(__setPropDict[__id183_]) <= 49))))))){ __setPropDict[__id183_] = currentFrame; __setProp___id183__World1_Levels_43(); }; if ((((__setPropDict[__id201_] == undefined)) || (!((int(__setPropDict[__id201_]) == 48))))){ __setPropDict[__id201_] = currentFrame; __setProp___id201__World1_Levels_48(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame49(){ if ((((__setPropDict[__id207_] == undefined)) || (!((int(__setPropDict[__id207_]) == 49))))){ __setPropDict[__id207_] = currentFrame; __setProp___id207__World1_Levels_49(); }; if ((((__setPropDict[__id206_] == undefined)) || (!((int(__setPropDict[__id206_]) == 49))))){ __setPropDict[__id206_] = currentFrame; __setProp___id206__World1_Levels_49(); }; if ((((__setPropDict[__id204_] == undefined)) || (!((int(__setPropDict[__id204_]) == 49))))){ __setPropDict[__id204_] = currentFrame; __setProp___id204__World1_Levels_49(); }; if ((((__setPropDict[__id195_] == undefined)) || (!((int(__setPropDict[__id195_]) == 49))))){ __setPropDict[__id195_] = currentFrame; __setProp___id195__World1_Levels_49(); }; if ((((__setPropDict[__id203_] == undefined)) || (!((int(__setPropDict[__id203_]) == 49))))){ __setPropDict[__id203_] = currentFrame; __setProp___id203__World1_Levels_49(); }; if ((((__setPropDict[__id183_] == undefined)) || (!((((int(__setPropDict[__id183_]) >= 43)) && ((int(__setPropDict[__id183_]) <= 49))))))){ __setPropDict[__id183_] = currentFrame; __setProp___id183__World1_Levels_43(); }; if ((((__setPropDict[__id205_] == undefined)) || (!((int(__setPropDict[__id205_]) == 49))))){ __setPropDict[__id205_] = currentFrame; __setProp___id205__World1_Levels_49(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id208_] == undefined)) || (!((((int(__setPropDict[__id208_]) >= 49)) && ((int(__setPropDict[__id208_]) <= 50))))))){ __setPropDict[__id208_] = currentFrame; __setProp___id208__World1_Levels_49(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id202_] == undefined)) || (!((((int(__setPropDict[__id202_]) >= 49)) && ((int(__setPropDict[__id202_]) <= 50))))))){ __setPropDict[__id202_] = currentFrame; __setProp___id202__World1_Levels_49(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id201_] == undefined)) || (!((((int(__setPropDict[__id201_]) >= 49)) && ((int(__setPropDict[__id201_]) <= 50))))))){ __setPropDict[__id201_] = currentFrame; __setProp___id201__World1_Levels_49(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame46(){ if ((((__setPropDict[__id194_] == undefined)) || (!((int(__setPropDict[__id194_]) == 46))))){ __setPropDict[__id194_] = currentFrame; __setProp___id194__World1_Levels_46(); }; if ((((__setPropDict[__id183_] == undefined)) || (!((((int(__setPropDict[__id183_]) >= 43)) && ((int(__setPropDict[__id183_]) <= 49))))))){ __setPropDict[__id183_] = currentFrame; __setProp___id183__World1_Levels_43(); }; if ((((__setPropDict[__id193_] == undefined)) || (!((int(__setPropDict[__id193_]) == 46))))){ __setPropDict[__id193_] = currentFrame; __setProp___id193__World1_Levels_46(); }; if ((((__setPropDict[__id190_] == undefined)) || (!((((int(__setPropDict[__id190_]) >= 45)) && ((int(__setPropDict[__id190_]) <= 46))))))){ __setPropDict[__id190_] = currentFrame; __setProp___id190__World1_Levels_45(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function frame51(){ if ((((__setPropDict[Star] == undefined)) || (!((((((int(__setPropDict[Star]) == 17)) || ((int(__setPropDict[Star]) == 40)))) || ((int(__setPropDict[Star]) == 51))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_17(); }; if ((((__setPropDict[__id224_] == undefined)) || (!((((int(__setPropDict[__id224_]) >= 51)) && ((int(__setPropDict[__id224_]) <= 52))))))){ __setPropDict[__id224_] = currentFrame; __setProp___id224__World1_Levels_51(); }; if ((((__setPropDict[__id235_] == undefined)) || (!((int(__setPropDict[__id235_]) == 51))))){ __setPropDict[__id235_] = currentFrame; __setProp___id235__World1_Levels_51(); }; if ((((__setPropDict[__id230_] == undefined)) || (!((int(__setPropDict[__id230_]) == 51))))){ __setPropDict[__id230_] = currentFrame; __setProp___id230__World1_Levels_51(); }; if ((((__setPropDict[__id236_] == undefined)) || (!((int(__setPropDict[__id236_]) == 51))))){ __setPropDict[__id236_] = currentFrame; __setProp___id236__World1_Levels_51(); }; if ((((__setPropDict[__id238_] == undefined)) || (!((int(__setPropDict[__id238_]) == 51))))){ __setPropDict[__id238_] = currentFrame; __setProp___id238__World1_Levels_51(); }; if ((((__setPropDict[__id219_] == undefined)) || (!((((int(__setPropDict[__id219_]) >= 50)) && ((int(__setPropDict[__id219_]) <= 51))))))){ __setPropDict[__id219_] = currentFrame; __setProp___id219__World1_Levels_50(); }; if ((((__setPropDict[__id225_] == undefined)) || (!((int(__setPropDict[__id225_]) == 51))))){ __setPropDict[__id225_] = currentFrame; __setProp___id225__World1_Levels_51(); }; if ((((__setPropDict[__id234_] == undefined)) || (!((int(__setPropDict[__id234_]) == 51))))){ __setPropDict[__id234_] = currentFrame; __setProp___id234__World1_Levels_51(); }; if ((((__setPropDict[__id233_] == undefined)) || (!((int(__setPropDict[__id233_]) == 51))))){ __setPropDict[__id233_] = currentFrame; __setProp___id233__World1_Levels_51(); }; if ((((__setPropDict[__id210_] == undefined)) || (!((((int(__setPropDict[__id210_]) >= 50)) && ((int(__setPropDict[__id210_]) <= 51))))))){ __setPropDict[__id210_] = currentFrame; __setProp___id210__World1_Levels_50(); }; if ((((__setPropDict[__id229_] == undefined)) || (!((int(__setPropDict[__id229_]) == 51))))){ __setPropDict[__id229_] = currentFrame; __setProp___id229__World1_Levels_51(); }; if ((((__setPropDict[__id223_] == undefined)) || (!((((int(__setPropDict[__id223_]) >= 51)) && ((int(__setPropDict[__id223_]) <= 52))))))){ __setPropDict[__id223_] = currentFrame; __setProp___id223__World1_Levels_51(); }; if ((((__setPropDict[__id237_] == undefined)) || (!((int(__setPropDict[__id237_]) == 51))))){ __setPropDict[__id237_] = currentFrame; __setProp___id237__World1_Levels_51(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id226_] == undefined)) || (!((int(__setPropDict[__id226_]) == 51))))){ __setPropDict[__id226_] = currentFrame; __setProp___id226__World1_Levels_51(); }; if ((((__setPropDict[__id228_] == undefined)) || (!((int(__setPropDict[__id228_]) == 51))))){ __setPropDict[__id228_] = currentFrame; __setProp___id228__World1_Levels_51(); }; if ((((__setPropDict[__id232_] == undefined)) || (!((int(__setPropDict[__id232_]) == 51))))){ __setPropDict[__id232_] = currentFrame; __setProp___id232__World1_Levels_51(); }; if ((((__setPropDict[__id227_] == undefined)) || (!((int(__setPropDict[__id227_]) == 51))))){ __setPropDict[__id227_] = currentFrame; __setProp___id227__World1_Levels_51(); }; if ((((__setPropDict[__id231_] == undefined)) || (!((int(__setPropDict[__id231_]) == 51))))){ __setPropDict[__id231_] = currentFrame; __setProp___id231__World1_Levels_51(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id220_] == undefined)) || (!((int(__setPropDict[__id220_]) == 51))))){ __setPropDict[__id220_] = currentFrame; __setProp___id220__World1_Levels_51(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; MovieClip(root).MochiB50(); tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function __setProp___id195__World1_Levels_47(){ try { __id195_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id195_.bodyAllowSleep = true; __id195_.bodyAngularDamping = 0; __id195_.bodyApplyGravity = true; __id195_.bodyFixedRotation = false; __id195_.bodyIsBullet = false; __id195_.bodyIsSleeping = false; __id195_.bodyIsStatic = true; __id195_.bodyLinearDamping = 0; __id195_.shapeCategoryBits = "0x0001"; __id195_.shapeDensity = 1; __id195_.shapeFriction = 0.2; __id195_.shapeGroupIndex = 0; __id195_.shapeIsSensor = false; __id195_.shapeMaskBits = "0xFFFF"; __id195_.shapeRestitution = 0.4; try { __id195_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id195__World1_Levels_49(){ try { __id195_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id195_.bodyAllowSleep = true; __id195_.bodyAngularDamping = 0; __id195_.bodyApplyGravity = true; __id195_.bodyFixedRotation = false; __id195_.bodyIsBullet = false; __id195_.bodyIsSleeping = false; __id195_.bodyIsStatic = true; __id195_.bodyLinearDamping = 0; __id195_.shapeCategoryBits = "0x0001"; __id195_.shapeDensity = 1; __id195_.shapeFriction = 0.2; __id195_.shapeGroupIndex = 0; __id195_.shapeIsSensor = false; __id195_.shapeMaskBits = "0xFFFF"; __id195_.shapeRestitution = 0.4; try { __id195_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id229__World1_Levels_51(){ try { __id229_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id229_.bodyAllowSleep = true; __id229_.bodyAngularDamping = 0; __id229_.bodyApplyGravity = true; __id229_.bodyFixedRotation = false; __id229_.bodyIsBullet = false; __id229_.bodyIsSleeping = false; __id229_.bodyIsStatic = true; __id229_.bodyLinearDamping = 0; __id229_.shapeCategoryBits = "0x0001"; __id229_.shapeDensity = 1; __id229_.shapeFriction = 0.2; __id229_.shapeGroupIndex = 0; __id229_.shapeIsSensor = false; __id229_.shapeMaskBits = "0xFFFF"; __id229_.shapeRestitution = 0; try { __id229_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame52(){ if ((((__setPropDict[__id253_] == undefined)) || (!((int(__setPropDict[__id253_]) == 52))))){ __setPropDict[__id253_] = currentFrame; __setProp___id253__World1_Levels_52(); }; if ((((__setPropDict[__id224_] == undefined)) || (!((((int(__setPropDict[__id224_]) >= 51)) && ((int(__setPropDict[__id224_]) <= 52))))))){ __setPropDict[__id224_] = currentFrame; __setProp___id224__World1_Levels_51(); }; if ((((__setPropDict[But2] == undefined)) || (!((((int(__setPropDict[But2]) == 1)) || ((int(__setPropDict[But2]) == 52))))))){ __setPropDict[But2] = currentFrame; __setProp_But2_World1_Levels_1(); }; if ((((__setPropDict[__id244_] == undefined)) || (!((int(__setPropDict[__id244_]) == 52))))){ __setPropDict[__id244_] = currentFrame; __setProp___id244__World1_Levels_52(); }; if ((((__setPropDict[__id251_] == undefined)) || (!((int(__setPropDict[__id251_]) == 52))))){ __setPropDict[__id251_] = currentFrame; __setProp___id251__World1_Levels_52(); }; if ((((__setPropDict[__id246_] == undefined)) || (!((int(__setPropDict[__id246_]) == 52))))){ __setPropDict[__id246_] = currentFrame; __setProp___id246__World1_Levels_52(); }; if ((((__setPropDict[__id250_] == undefined)) || (!((int(__setPropDict[__id250_]) == 52))))){ __setPropDict[__id250_] = currentFrame; __setProp___id250__World1_Levels_52(); }; if ((((__setPropDict[__id240_] == undefined)) || (!((int(__setPropDict[__id240_]) == 52))))){ __setPropDict[__id240_] = currentFrame; __setProp___id240__World1_Levels_52(); }; if ((((__setPropDict[__id245_] == undefined)) || (!((int(__setPropDict[__id245_]) == 52))))){ __setPropDict[__id245_] = currentFrame; __setProp___id245__World1_Levels_52(); }; if ((((__setPropDict[__id255_] == undefined)) || (!((int(__setPropDict[__id255_]) == 52))))){ __setPropDict[__id255_] = currentFrame; __setProp___id255__World1_Levels_52(); }; if ((((__setPropDict[__id241_] == undefined)) || (!((int(__setPropDict[__id241_]) == 52))))){ __setPropDict[__id241_] = currentFrame; __setProp___id241__World1_Levels_52(); }; if ((((__setPropDict[__id254_] == undefined)) || (!((int(__setPropDict[__id254_]) == 52))))){ __setPropDict[__id254_] = currentFrame; __setProp___id254__World1_Levels_52(); }; if ((((__setPropDict[__id242_] == undefined)) || (!((int(__setPropDict[__id242_]) == 52))))){ __setPropDict[__id242_] = currentFrame; __setProp___id242__World1_Levels_52(); }; if ((((__setPropDict[__id249_] == undefined)) || (!((int(__setPropDict[__id249_]) == 52))))){ __setPropDict[__id249_] = currentFrame; __setProp___id249__World1_Levels_52(); }; if ((((__setPropDict[__id223_] == undefined)) || (!((((int(__setPropDict[__id223_]) >= 51)) && ((int(__setPropDict[__id223_]) <= 52))))))){ __setPropDict[__id223_] = currentFrame; __setProp___id223__World1_Levels_51(); }; if ((((__setPropDict[__id243_] == undefined)) || (!((int(__setPropDict[__id243_]) == 52))))){ __setPropDict[__id243_] = currentFrame; __setProp___id243__World1_Levels_52(); }; if ((((__setPropDict[__id252_] == undefined)) || (!((int(__setPropDict[__id252_]) == 52))))){ __setPropDict[__id252_] = currentFrame; __setProp___id252__World1_Levels_52(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id239_] == undefined)) || (!((int(__setPropDict[__id239_]) == 52))))){ __setPropDict[__id239_] = currentFrame; __setProp___id239__World1_Levels_52(); }; if ((((__setPropDict[__id247_] == undefined)) || (!((int(__setPropDict[__id247_]) == 52))))){ __setPropDict[__id247_] = currentFrame; __setProp___id247__World1_Levels_52(); }; if ((((__setPropDict[__id248_] == undefined)) || (!((int(__setPropDict[__id248_]) == 52))))){ __setPropDict[__id248_] = currentFrame; __setProp___id248__World1_Levels_52(); }; create(); } function frame44(){ if ((((__setPropDict[__id184_] == undefined)) || (!((((int(__setPropDict[__id184_]) >= 43)) && ((int(__setPropDict[__id184_]) <= 44))))))){ __setPropDict[__id184_] = currentFrame; __setProp___id184__World1_Levels_43(); }; if ((((__setPropDict[__id188_] == undefined)) || (!((((int(__setPropDict[__id188_]) >= 43)) && ((int(__setPropDict[__id188_]) <= 44))))))){ __setPropDict[__id188_] = currentFrame; __setProp___id188__World1_Levels_43(); }; if ((((__setPropDict[__id179_] == undefined)) || (!((((int(__setPropDict[__id179_]) >= 42)) && ((int(__setPropDict[__id179_]) <= 45))))))){ __setPropDict[__id179_] = currentFrame; __setProp___id179__World1_Levels_42(); }; if ((((__setPropDict[__id182_] == undefined)) || (!((((int(__setPropDict[__id182_]) >= 43)) && ((int(__setPropDict[__id182_]) <= 44))))))){ __setPropDict[__id182_] = currentFrame; __setProp___id182__World1_Levels_43(); }; if ((((__setPropDict[__id187_] == undefined)) || (!((((int(__setPropDict[__id187_]) >= 43)) && ((int(__setPropDict[__id187_]) <= 44))))))){ __setPropDict[__id187_] = currentFrame; __setProp___id187__World1_Levels_43(); }; if ((((__setPropDict[__id183_] == undefined)) || (!((((int(__setPropDict[__id183_]) >= 43)) && ((int(__setPropDict[__id183_]) <= 49))))))){ __setPropDict[__id183_] = currentFrame; __setProp___id183__World1_Levels_43(); }; if ((((__setPropDict[__id190_] == undefined)) || (!((int(__setPropDict[__id190_]) == 44))))){ __setPropDict[__id190_] = currentFrame; __setProp___id190__World1_Levels_44(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id189_] == undefined)) || (!((int(__setPropDict[__id189_]) == 44))))){ __setPropDict[__id189_] = currentFrame; __setProp___id189__World1_Levels_44(); }; if ((((__setPropDict[__id191_] == undefined)) || (!((int(__setPropDict[__id191_]) == 44))))){ __setPropDict[__id191_] = currentFrame; __setProp___id191__World1_Levels_44(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); } function __setProp___id24__World1_Levels_7(){ try { __id24_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id24_.bodyAllowSleep = true; __id24_.bodyAngularDamping = 0; __id24_.bodyApplyGravity = true; __id24_.bodyFixedRotation = false; __id24_.bodyIsBullet = false; __id24_.bodyIsSleeping = true; __id24_.bodyIsStatic = false; __id24_.bodyLinearDamping = 0; __id24_.shapeCategoryBits = "0x0001"; __id24_.shapeDensity = 1; __id24_.shapeFriction = 0.2; __id24_.shapeGroupIndex = 0; __id24_.shapeIsSensor = false; __id24_.shapeMaskBits = "0xFFFF"; __id24_.shapeRestitution = 0; try { __id24_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame50(){ if ((((__setPropDict[__id212_] == undefined)) || (!((int(__setPropDict[__id212_]) == 50))))){ __setPropDict[__id212_] = currentFrame; __setProp___id212__World1_Levels_50(); }; if ((((__setPropDict[__id211_] == undefined)) || (!((int(__setPropDict[__id211_]) == 50))))){ __setPropDict[__id211_] = currentFrame; __setProp___id211__World1_Levels_50(); }; if ((((__setPropDict[__id220_] == undefined)) || (!((int(__setPropDict[__id220_]) == 50))))){ __setPropDict[__id220_] = currentFrame; __setProp___id220__World1_Levels_50(); }; if ((((__setPropDict[__id219_] == undefined)) || (!((((int(__setPropDict[__id219_]) >= 50)) && ((int(__setPropDict[__id219_]) <= 51))))))){ __setPropDict[__id219_] = currentFrame; __setProp___id219__World1_Levels_50(); }; if ((((__setPropDict[__id209_] == undefined)) || (!((int(__setPropDict[__id209_]) == 50))))){ __setPropDict[__id209_] = currentFrame; __setProp___id209__World1_Levels_50(); }; if ((((__setPropDict[__id216_] == undefined)) || (!((int(__setPropDict[__id216_]) == 50))))){ __setPropDict[__id216_] = currentFrame; __setProp___id216__World1_Levels_50(); }; if ((((__setPropDict[__id218_] == undefined)) || (!((int(__setPropDict[__id218_]) == 50))))){ __setPropDict[__id218_] = currentFrame; __setProp___id218__World1_Levels_50(); }; if ((((__setPropDict[__id215_] == undefined)) || (!((int(__setPropDict[__id215_]) == 50))))){ __setPropDict[__id215_] = currentFrame; __setProp___id215__World1_Levels_50(); }; if ((((__setPropDict[__id210_] == undefined)) || (!((((int(__setPropDict[__id210_]) >= 50)) && ((int(__setPropDict[__id210_]) <= 51))))))){ __setPropDict[__id210_] = currentFrame; __setProp___id210__World1_Levels_50(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((((int(__setPropDict[__id42_]) >= 14)) && ((int(__setPropDict[__id42_]) <= 52))))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_14(); }; if ((((__setPropDict[__id208_] == undefined)) || (!((((int(__setPropDict[__id208_]) >= 49)) && ((int(__setPropDict[__id208_]) <= 50))))))){ __setPropDict[__id208_] = currentFrame; __setProp___id208__World1_Levels_49(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((((((((int(__setPropDict[Star]) == 14)) || ((((int(__setPropDict[Star]) >= 15)) && ((int(__setPropDict[Star]) <= 16)))))) || ((((int(__setPropDict[Star]) >= 18)) && ((int(__setPropDict[Star]) <= 24)))))) || ((((int(__setPropDict[Star]) >= 25)) && ((int(__setPropDict[Star]) <= 31)))))) || ((((int(__setPropDict[Star]) >= 33)) && ((int(__setPropDict[Star]) <= 36)))))) || ((((int(__setPropDict[Star]) >= 38)) && ((int(__setPropDict[Star]) <= 39)))))) || ((((int(__setPropDict[Star]) >= 41)) && ((int(__setPropDict[Star]) <= 50)))))) || ((int(__setPropDict[Star]) == 52))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_14(); }; if ((((__setPropDict[__id202_] == undefined)) || (!((((int(__setPropDict[__id202_]) >= 49)) && ((int(__setPropDict[__id202_]) <= 50))))))){ __setPropDict[__id202_] = currentFrame; __setProp___id202__World1_Levels_49(); }; if ((((__setPropDict[__id214_] == undefined)) || (!((int(__setPropDict[__id214_]) == 50))))){ __setPropDict[__id214_] = currentFrame; __setProp___id214__World1_Levels_50(); }; if ((((__setPropDict[__id221_] == undefined)) || (!((int(__setPropDict[__id221_]) == 50))))){ __setPropDict[__id221_] = currentFrame; __setProp___id221__World1_Levels_50(); }; if ((((__setPropDict[__id213_] == undefined)) || (!((int(__setPropDict[__id213_]) == 50))))){ __setPropDict[__id213_] = currentFrame; __setProp___id213__World1_Levels_50(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id201_] == undefined)) || (!((((int(__setPropDict[__id201_]) >= 49)) && ((int(__setPropDict[__id201_]) <= 50))))))){ __setPropDict[__id201_] = currentFrame; __setProp___id201__World1_Levels_49(); }; if ((((__setPropDict[__id217_] == undefined)) || (!((int(__setPropDict[__id217_]) == 50))))){ __setPropDict[__id217_] = currentFrame; __setProp___id217__World1_Levels_50(); }; if ((((__setPropDict[__id222_] == undefined)) || (!((int(__setPropDict[__id222_]) == 50))))){ __setPropDict[__id222_] = currentFrame; __setProp___id222__World1_Levels_50(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3True); tool3.addEventListener(MouseEvent.CLICK, tool3True); tool4.removeEventListener(MouseEvent.CLICK, tool4True); tool4.addEventListener(MouseEvent.CLICK, tool4True); tool5.removeEventListener(MouseEvent.CLICK, tool5True); tool5.addEventListener(MouseEvent.CLICK, tool5True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); tool4Valgt = false; tool4.gotoAndStop(1); tool5Valgt = false; tool5.gotoAndStop(1); MovieClip(root).Skips = (MovieClip(root).Skips + 1); } function __setProp___id46__World1_Levels_11(){ try { __id46_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id46_.bodyAllowSleep = true; __id46_.bodyAngularDamping = 0; __id46_.bodyApplyGravity = true; __id46_.bodyFixedRotation = false; __id46_.bodyIsBullet = false; __id46_.bodyIsSleeping = false; __id46_.bodyIsStatic = true; __id46_.bodyLinearDamping = 0; __id46_.shapeCategoryBits = "0x0001"; __id46_.shapeDensity = 1; __id46_.shapeFriction = 5; __id46_.shapeGroupIndex = 0; __id46_.shapeIsSensor = false; __id46_.shapeMaskBits = "0xFFFF"; __id46_.shapeRestitution = 0; try { __id46_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id145__World1_Levels_32(){ try { __id145_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id145_.bodyAllowSleep = true; __id145_.bodyAngularDamping = 0; __id145_.bodyApplyGravity = true; __id145_.bodyFixedRotation = false; __id145_.bodyIsBullet = false; __id145_.bodyIsSleeping = false; __id145_.bodyIsStatic = true; __id145_.bodyLinearDamping = 0; __id145_.shapeCategoryBits = "0x0001"; __id145_.shapeDensity = 0.1; __id145_.shapeFriction = 0.2; __id145_.shapeGroupIndex = 0; __id145_.shapeIsSensor = false; __id145_.shapeMaskBits = "0xFFFF"; __id145_.shapeRestitution = 0.4; try { __id145_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id156__World1_Levels_37(){ try { __id156_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id156_.bodyAllowSleep = true; __id156_.bodyAngularDamping = 0; __id156_.bodyApplyGravity = true; __id156_.bodyFixedRotation = false; __id156_.bodyIsBullet = false; __id156_.bodyIsSleeping = true; __id156_.bodyIsStatic = false; __id156_.bodyLinearDamping = 0; __id156_.shapeCategoryBits = "0x0001"; __id156_.shapeDensity = 1; __id156_.shapeFriction = 0.2; __id156_.shapeGroupIndex = 0; __id156_.shapeIsSensor = false; __id156_.shapeMaskBits = "0xFFFF"; __id156_.shapeRestitution = 0.4; try { __id156_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame10(){ if ((((__setPropDict[Star] == undefined)) || (!((((int(__setPropDict[Star]) == 4)) || ((int(__setPropDict[Star]) == 10))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_4(); }; if ((((__setPropDict[__id38_] == undefined)) || (!((((int(__setPropDict[__id38_]) >= 9)) && ((int(__setPropDict[__id38_]) <= 10))))))){ __setPropDict[__id38_] = currentFrame; __setProp___id38__World1_Levels_9(); }; if ((((__setPropDict[__id39_] == undefined)) || (!((((int(__setPropDict[__id39_]) >= 9)) && ((int(__setPropDict[__id39_]) <= 10))))))){ __setPropDict[__id39_] = currentFrame; __setProp___id39__World1_Levels_9(); }; if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 9)) && ((int(__setPropDict[__id37_]) <= 10))))))){ __setPropDict[__id37_] = currentFrame; __setProp___id37__World1_Levels_9(); }; if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 9)) && ((int(__setPropDict[__id36_]) <= 10))))))){ __setPropDict[__id36_] = currentFrame; __setProp___id36__World1_Levels_9(); }; if ((((__setPropDict[__id45_] == undefined)) || (!((((int(__setPropDict[__id45_]) >= 10)) && ((int(__setPropDict[__id45_]) <= 11))))))){ __setPropDict[__id45_] = currentFrame; __setProp___id45__World1_Levels_10(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id41_] == undefined)) || (!((int(__setPropDict[__id41_]) == 10))))){ __setPropDict[__id41_] = currentFrame; __setProp___id41__World1_Levels_10(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id35_] == undefined)) || (!((((int(__setPropDict[__id35_]) >= 9)) && ((int(__setPropDict[__id35_]) <= 11))))))){ __setPropDict[__id35_] = currentFrame; __setProp___id35__World1_Levels_9(); }; if ((((__setPropDict[__id42_] == undefined)) || (!((int(__setPropDict[__id42_]) == 10))))){ __setPropDict[__id42_] = currentFrame; __setProp___id42__World1_Levels_10(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1True2); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.removeEventListener(MouseEvent.CLICK, tool3TrueR); tool3.addEventListener(MouseEvent.CLICK, tool3True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); MovieClip(root).Skips = (MovieClip(root).Skips + 1); } function __setProp___id37__World1_Levels_9(){ try { __id37_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id37_.bodyAllowSleep = true; __id37_.bodyAngularDamping = 0; __id37_.bodyApplyGravity = true; __id37_.bodyFixedRotation = false; __id37_.bodyIsBullet = false; __id37_.bodyIsSleeping = false; __id37_.bodyIsStatic = true; __id37_.bodyLinearDamping = 0; __id37_.shapeCategoryBits = "0x0001"; __id37_.shapeDensity = 1; __id37_.shapeFriction = 0.2; __id37_.shapeGroupIndex = 0; __id37_.shapeIsSensor = false; __id37_.shapeMaskBits = "0xFFFF"; __id37_.shapeRestitution = 0; try { __id37_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id106__World1_Levels_22(){ try { __id106_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id106_.bodyAllowSleep = true; __id106_.bodyAngularDamping = 0; __id106_.bodyApplyGravity = true; __id106_.bodyFixedRotation = false; __id106_.bodyIsBullet = false; __id106_.bodyIsSleeping = false; __id106_.bodyIsStatic = false; __id106_.bodyLinearDamping = 0; __id106_.shapeCategoryBits = "0x0001"; __id106_.shapeDensity = 1; __id106_.shapeFriction = 0.2; __id106_.shapeGroupIndex = 0; __id106_.shapeIsSensor = false; __id106_.shapeMaskBits = "0xFFFF"; __id106_.shapeRestitution = 0.4; try { __id106_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id220__World1_Levels_51(){ try { __id220_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id220_.bodyAllowSleep = true; __id220_.bodyAngularDamping = 0; __id220_.bodyApplyGravity = true; __id220_.bodyFixedRotation = false; __id220_.bodyIsBullet = false; __id220_.bodyIsSleeping = false; __id220_.bodyIsStatic = false; __id220_.bodyLinearDamping = 0; __id220_.shapeCategoryBits = "0x0001"; __id220_.shapeDensity = 2; __id220_.shapeFriction = 0.2; __id220_.shapeGroupIndex = 0; __id220_.shapeIsSensor = false; __id220_.shapeMaskBits = "0xFFFF"; __id220_.shapeRestitution = 0.2; try { __id220_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id57__World1_Levels_13(){ try { __id57_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id57_.bodyAllowSleep = true; __id57_.bodyAngularDamping = 0; __id57_.bodyApplyGravity = true; __id57_.bodyFixedRotation = false; __id57_.bodyIsBullet = false; __id57_.bodyIsSleeping = false; __id57_.bodyIsStatic = true; __id57_.bodyLinearDamping = 0; __id57_.shapeCategoryBits = "0x0001"; __id57_.shapeDensity = 1; __id57_.shapeFriction = 0.2; __id57_.shapeGroupIndex = 0; __id57_.shapeIsSensor = false; __id57_.shapeMaskBits = "0xFFFF"; __id57_.shapeRestitution = 0; try { __id57_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id117__World1_Levels_24(){ try { __id117_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id117_.bodyAllowSleep = true; __id117_.bodyAngularDamping = 0; __id117_.bodyApplyGravity = true; __id117_.bodyFixedRotation = false; __id117_.bodyIsBullet = false; __id117_.bodyIsSleeping = false; __id117_.bodyIsStatic = true; __id117_.bodyLinearDamping = 0; __id117_.shapeCategoryBits = "0x0001"; __id117_.shapeDensity = 1; __id117_.shapeFriction = 0.2; __id117_.shapeGroupIndex = 0; __id117_.shapeIsSensor = false; __id117_.shapeMaskBits = "0xFFFF"; __id117_.shapeRestitution = 0; try { __id117_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id220__World1_Levels_50(){ try { __id220_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id220_.bodyAllowSleep = true; __id220_.bodyAngularDamping = 0; __id220_.bodyApplyGravity = true; __id220_.bodyFixedRotation = false; __id220_.bodyIsBullet = false; __id220_.bodyIsSleeping = false; __id220_.bodyIsStatic = true; __id220_.bodyLinearDamping = 0; __id220_.shapeCategoryBits = "0x0001"; __id220_.shapeDensity = 2; __id220_.shapeFriction = 0.2; __id220_.shapeGroupIndex = 0; __id220_.shapeIsSensor = false; __id220_.shapeMaskBits = "0xFFFF"; __id220_.shapeRestitution = 0.2; try { __id220_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id167__World1_Levels_39(){ try { __id167_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id167_.bodyAllowSleep = true; __id167_.bodyAngularDamping = 0; __id167_.bodyApplyGravity = true; __id167_.bodyFixedRotation = false; __id167_.bodyIsBullet = false; __id167_.bodyIsSleeping = false; __id167_.bodyIsStatic = true; __id167_.bodyLinearDamping = 0; __id167_.shapeCategoryBits = "0x0001"; __id167_.shapeDensity = 1; __id167_.shapeFriction = 1; __id167_.shapeGroupIndex = 0; __id167_.shapeIsSensor = false; __id167_.shapeMaskBits = "0xFFFF"; __id167_.shapeRestitution = 0; try { __id167_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id15__World1_Levels_1(){ try { __id15_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id15_.body2Name = "BC2"; __id15_.bodyName = "MC2"; __id15_.collideConnected = false; __id15_.enableLimit = false; __id15_.enableMotor = false; __id15_.lineParameter = "0x888888"; __id15_.lineStyle = "Line"; __id15_.lowerLimit = 0; __id15_.pathReturns = false; __id15_.speed1 = 0; __id15_.speed2 = 0; __id15_.speedFlag = ""; __id15_.spring = false; __id15_.springConstant = 0; __id15_.springDamping = 0; __id15_.strength = 0; __id15_.targetName = ""; __id15_.type = "RevolutePin"; __id15_.upperLimit = 0; try { __id15_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id167__World1_Levels_40(){ try { __id167_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id167_.bodyAllowSleep = true; __id167_.bodyAngularDamping = 0; __id167_.bodyApplyGravity = true; __id167_.bodyFixedRotation = false; __id167_.bodyIsBullet = false; __id167_.bodyIsSleeping = false; __id167_.bodyIsStatic = true; __id167_.bodyLinearDamping = 0; __id167_.shapeCategoryBits = "0x0001"; __id167_.shapeDensity = 1; __id167_.shapeFriction = 0.2; __id167_.shapeGroupIndex = 0; __id167_.shapeIsSensor = false; __id167_.shapeMaskBits = "0xFFFF"; __id167_.shapeRestitution = 0.4; try { __id167_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id167__World1_Levels_41(){ try { __id167_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id167_.bodyAllowSleep = true; __id167_.bodyAngularDamping = 0; __id167_.bodyApplyGravity = true; __id167_.bodyFixedRotation = false; __id167_.bodyIsBullet = false; __id167_.bodyIsSleeping = false; __id167_.bodyIsStatic = true; __id167_.bodyLinearDamping = 0; __id167_.shapeCategoryBits = "0x0001"; __id167_.shapeDensity = 1; __id167_.shapeFriction = 0.2; __id167_.shapeGroupIndex = 0; __id167_.shapeIsSensor = false; __id167_.shapeMaskBits = "0xFFFF"; __id167_.shapeRestitution = 0; try { __id167_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id68__World1_Levels_15(){ try { __id68_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id68_.bodyAllowSleep = true; __id68_.bodyAngularDamping = 0; __id68_.bodyApplyGravity = true; __id68_.bodyFixedRotation = false; __id68_.bodyIsBullet = false; __id68_.bodyIsSleeping = true; __id68_.bodyIsStatic = false; __id68_.bodyLinearDamping = 0; __id68_.shapeCategoryBits = "0x0001"; __id68_.shapeDensity = 1; __id68_.shapeFriction = 0.2; __id68_.shapeGroupIndex = 0; __id68_.shapeIsSensor = false; __id68_.shapeMaskBits = "0xFFFF"; __id68_.shapeRestitution = 0; try { __id68_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id231__World1_Levels_51(){ try { __id231_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id231_.bodyAllowSleep = true; __id231_.bodyAngularDamping = 0; __id231_.bodyApplyGravity = true; __id231_.bodyFixedRotation = false; __id231_.bodyIsBullet = false; __id231_.bodyIsSleeping = false; __id231_.bodyIsStatic = true; __id231_.bodyLinearDamping = 0; __id231_.shapeCategoryBits = "0x0001"; __id231_.shapeDensity = 1; __id231_.shapeFriction = 0.2; __id231_.shapeGroupIndex = 0; __id231_.shapeIsSensor = false; __id231_.shapeMaskBits = "0xFFFF"; __id231_.shapeRestitution = 0; try { __id231_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id178__World1_Levels_42(){ try { __id178_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id178_.bodyAllowSleep = true; __id178_.bodyAngularDamping = 0; __id178_.bodyApplyGravity = true; __id178_.bodyFixedRotation = false; __id178_.bodyIsBullet = false; __id178_.bodyIsSleeping = false; __id178_.bodyIsStatic = true; __id178_.bodyLinearDamping = 0; __id178_.shapeCategoryBits = "0x0001"; __id178_.shapeDensity = 2; __id178_.shapeFriction = 0.2; __id178_.shapeGroupIndex = 0; __id178_.shapeIsSensor = false; __id178_.shapeMaskBits = "0xFFFF"; __id178_.shapeRestitution = 0.4; try { __id178_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id28__World1_Levels_7(){ try { __id28_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id28_.bodyAllowSleep = true; __id28_.bodyAngularDamping = 0; __id28_.bodyApplyGravity = true; __id28_.bodyFixedRotation = false; __id28_.bodyIsBullet = false; __id28_.bodyIsSleeping = false; __id28_.bodyIsStatic = true; __id28_.bodyLinearDamping = 0; __id28_.shapeCategoryBits = "0x0001"; __id28_.shapeDensity = 1; __id28_.shapeFriction = 0.2; __id28_.shapeGroupIndex = 0; __id28_.shapeIsSensor = false; __id28_.shapeMaskBits = "0xFFFF"; __id28_.shapeRestitution = 0; try { __id28_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id79__World1_Levels_17(){ try { __id79_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id79_.bodyAllowSleep = true; __id79_.bodyAngularDamping = 0; __id79_.bodyApplyGravity = true; __id79_.bodyFixedRotation = false; __id79_.bodyIsBullet = false; __id79_.bodyIsSleeping = false; __id79_.bodyIsStatic = true; __id79_.bodyLinearDamping = 0; __id79_.shapeCategoryBits = "0x0001"; __id79_.shapeDensity = 1; __id79_.shapeFriction = 0.2; __id79_.shapeGroupIndex = 0; __id79_.shapeIsSensor = false; __id79_.shapeMaskBits = "0xFFFF"; __id79_.shapeRestitution = 0; try { __id79_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id178__World1_Levels_41(){ try { __id178_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id178_.bodyAllowSleep = true; __id178_.bodyAngularDamping = 0; __id178_.bodyApplyGravity = true; __id178_.bodyFixedRotation = false; __id178_.bodyIsBullet = false; __id178_.bodyIsSleeping = false; __id178_.bodyIsStatic = true; __id178_.bodyLinearDamping = 0; __id178_.shapeCategoryBits = "0x0001"; __id178_.shapeDensity = 1; __id178_.shapeFriction = 0.2; __id178_.shapeGroupIndex = 0; __id178_.shapeIsSensor = false; __id178_.shapeMaskBits = "0xFFFF"; __id178_.shapeRestitution = 0.4; try { __id178_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id128__World1_Levels_27(){ try { __id128_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id128_.bodyAllowSleep = true; __id128_.bodyAngularDamping = 0; __id128_.bodyApplyGravity = true; __id128_.bodyFixedRotation = false; __id128_.bodyIsBullet = false; __id128_.bodyIsSleeping = false; __id128_.bodyIsStatic = true; __id128_.bodyLinearDamping = 0; __id128_.shapeCategoryBits = "0x0001"; __id128_.shapeDensity = 1; __id128_.shapeFriction = 0.2; __id128_.shapeGroupIndex = 0; __id128_.shapeIsSensor = false; __id128_.shapeMaskBits = "0xFFFF"; __id128_.shapeRestitution = 0; try { __id128_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Box5_World1_Levels_4(){ try { Box5["componentInspectorSetting"] = true; } catch(e:Error) { }; Box5.bodyAllowSleep = true; Box5.bodyAngularDamping = 0; Box5.bodyApplyGravity = true; Box5.bodyFixedRotation = false; Box5.bodyIsBullet = false; Box5.bodyIsSleeping = false; Box5.bodyIsStatic = false; Box5.bodyLinearDamping = 0; Box5.shapeCategoryBits = "0x0001"; Box5.shapeDensity = 0.5; Box5.shapeFriction = 0.2; Box5.shapeGroupIndex = 0; Box5.shapeIsSensor = false; Box5.shapeMaskBits = "0xFFFF"; Box5.shapeRestitution = 0; try { Box5["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id242__World1_Levels_52(){ try { __id242_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id242_.bodyAllowSleep = true; __id242_.bodyAngularDamping = 0; __id242_.bodyApplyGravity = true; __id242_.bodyFixedRotation = false; __id242_.bodyIsBullet = false; __id242_.bodyIsSleeping = false; __id242_.bodyIsStatic = false; __id242_.bodyLinearDamping = 0; __id242_.shapeCategoryBits = "0x0001"; __id242_.shapeDensity = 1; __id242_.shapeFriction = 0.2; __id242_.shapeGroupIndex = 0; __id242_.shapeIsSensor = false; __id242_.shapeMaskBits = "0xFFFF"; __id242_.shapeRestitution = 0.4; try { __id242_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id189__World1_Levels_44(){ try { __id189_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id189_.bodyAllowSleep = true; __id189_.bodyAngularDamping = 0; __id189_.bodyApplyGravity = true; __id189_.bodyFixedRotation = false; __id189_.bodyIsBullet = false; __id189_.bodyIsSleeping = false; __id189_.bodyIsStatic = true; __id189_.bodyLinearDamping = 0; __id189_.shapeCategoryBits = "0x0001"; __id189_.shapeDensity = 2; __id189_.shapeFriction = 0.2; __id189_.shapeGroupIndex = 0; __id189_.shapeIsSensor = false; __id189_.shapeMaskBits = "0xFFFF"; __id189_.shapeRestitution = 0.2; try { __id189_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Box5_World1_Levels_3(){ try { Box5["componentInspectorSetting"] = true; } catch(e:Error) { }; Box5.bodyAllowSleep = true; Box5.bodyAngularDamping = 0; Box5.bodyApplyGravity = true; Box5.bodyFixedRotation = false; Box5.bodyIsBullet = false; Box5.bodyIsSleeping = false; Box5.bodyIsStatic = false; Box5.bodyLinearDamping = 0; Box5.shapeCategoryBits = "0x0001"; Box5.shapeDensity = 1; Box5.shapeFriction = 0.2; Box5.shapeGroupIndex = 0; Box5.shapeIsSensor = false; Box5.shapeMaskBits = "0xFFFF"; Box5.shapeRestitution = 0; try { Box5["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id139__World1_Levels_31(){ try { __id139_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id139_.bodyAllowSleep = true; __id139_.bodyAngularDamping = 0; __id139_.bodyApplyGravity = true; __id139_.bodyFixedRotation = false; __id139_.bodyIsBullet = false; __id139_.bodyIsSleeping = false; __id139_.bodyIsStatic = true; __id139_.bodyLinearDamping = 0; __id139_.shapeCategoryBits = "0x0001"; __id139_.shapeDensity = 1; __id139_.shapeFriction = 0.2; __id139_.shapeGroupIndex = 0; __id139_.shapeIsSensor = false; __id139_.shapeMaskBits = "0xFFFF"; __id139_.shapeRestitution = 0; try { __id139_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id139__World1_Levels_32(){ try { __id139_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id139_.bodyAllowSleep = true; __id139_.bodyAngularDamping = 0; __id139_.bodyApplyGravity = true; __id139_.bodyFixedRotation = false; __id139_.bodyIsBullet = false; __id139_.bodyIsSleeping = false; __id139_.bodyIsStatic = true; __id139_.bodyLinearDamping = 0; __id139_.shapeCategoryBits = "0x0001"; __id139_.shapeDensity = 0.1; __id139_.shapeFriction = 0.2; __id139_.shapeGroupIndex = 0; __id139_.shapeIsSensor = false; __id139_.shapeMaskBits = "0xFFFF"; __id139_.shapeRestitution = 0.4; try { __id139_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id139__World1_Levels_33(){ try { __id139_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id139_.bodyAllowSleep = true; __id139_.bodyAngularDamping = 0; __id139_.bodyApplyGravity = true; __id139_.bodyFixedRotation = false; __id139_.bodyIsBullet = false; __id139_.bodyIsSleeping = false; __id139_.bodyIsStatic = true; __id139_.bodyLinearDamping = 0; __id139_.shapeCategoryBits = "0x0001"; __id139_.shapeDensity = 1; __id139_.shapeFriction = 0.2; __id139_.shapeGroupIndex = 0; __id139_.shapeIsSensor = false; __id139_.shapeMaskBits = "0xFFFF"; __id139_.shapeRestitution = 0.5; try { __id139_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_But2_World1_Levels_1(){ try { But2["componentInspectorSetting"] = true; } catch(e:Error) { }; But2.bodyAllowSleep = true; But2.bodyAngularDamping = 0; But2.bodyApplyGravity = true; But2.bodyFixedRotation = false; But2.bodyIsBullet = false; But2.bodyIsSleeping = false; But2.bodyIsStatic = false; But2.bodyLinearDamping = 0; But2.shapeCategoryBits = "0x0001"; But2.shapeDensity = 1; But2.shapeFriction = 0.2; But2.shapeGroupIndex = 0; But2.shapeIsSensor = false; But2.shapeMaskBits = "0xFFFF"; But2.shapeRestitution = 0; try { But2["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id203__World1_Levels_49(){ try { __id203_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id203_.bodyAllowSleep = true; __id203_.bodyAngularDamping = 0; __id203_.bodyApplyGravity = true; __id203_.bodyFixedRotation = false; __id203_.bodyIsBullet = false; __id203_.bodyIsSleeping = false; __id203_.bodyIsStatic = true; __id203_.bodyLinearDamping = 0; __id203_.shapeCategoryBits = "0x0001"; __id203_.shapeDensity = 1; __id203_.shapeFriction = 0.2; __id203_.shapeGroupIndex = 0; __id203_.shapeIsSensor = false; __id203_.shapeMaskBits = "0xFFFF"; __id203_.shapeRestitution = 0.4; try { __id203_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id253__World1_Levels_52(){ try { __id253_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id253_.body2Name = "J2"; __id253_.bodyName = "J3"; __id253_.collideConnected = false; __id253_.enableLimit = false; __id253_.enableMotor = false; __id253_.lineParameter = "0x888888"; __id253_.lineStyle = "Line"; __id253_.lowerLimit = 0; __id253_.pathReturns = false; __id253_.speed1 = 0; __id253_.speed2 = 0; __id253_.speedFlag = ""; __id253_.spring = false; __id253_.springConstant = 0; __id253_.springDamping = 0; __id253_.strength = 0; __id253_.targetName = ""; __id253_.type = "RevolutePin"; __id253_.upperLimit = 0; try { __id253_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id70__World1_Levels_16(){ try { __id70_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id70_.bodyAllowSleep = true; __id70_.bodyAngularDamping = 0; __id70_.bodyApplyGravity = true; __id70_.bodyFixedRotation = false; __id70_.bodyIsBullet = false; __id70_.bodyIsSleeping = false; __id70_.bodyIsStatic = false; __id70_.bodyLinearDamping = 0; __id70_.shapeCategoryBits = "0x0001"; __id70_.shapeDensity = 1; __id70_.shapeFriction = 0.2; __id70_.shapeGroupIndex = 0; __id70_.shapeIsSensor = false; __id70_.shapeMaskBits = "0xFFFF"; __id70_.shapeRestitution = 0.4; try { __id70_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id1__World1_Levels_1(){ try { __id1_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id1_.bodyAllowSleep = true; __id1_.bodyAngularDamping = 0; __id1_.bodyApplyGravity = true; __id1_.bodyFixedRotation = false; __id1_.bodyIsBullet = false; __id1_.bodyIsSleeping = false; __id1_.bodyIsStatic = false; __id1_.bodyLinearDamping = 0; __id1_.shapeCategoryBits = "0x0001"; __id1_.shapeDensity = 1; __id1_.shapeFriction = 0.2; __id1_.shapeGroupIndex = 0; __id1_.shapeIsSensor = false; __id1_.shapeMaskBits = "0xFFFF"; __id1_.shapeRestitution = 0.3; try { __id1_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id130__World1_Levels_28(){ try { __id130_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id130_.bodyAllowSleep = true; __id130_.bodyAngularDamping = 0; __id130_.bodyApplyGravity = true; __id130_.bodyFixedRotation = false; __id130_.bodyIsBullet = false; __id130_.bodyIsSleeping = false; __id130_.bodyIsStatic = true; __id130_.bodyLinearDamping = 0; __id130_.shapeCategoryBits = "0x0001"; __id130_.shapeDensity = 1; __id130_.shapeFriction = 0.2; __id130_.shapeGroupIndex = 0; __id130_.shapeIsSensor = false; __id130_.shapeMaskBits = "0xFFFF"; __id130_.shapeRestitution = 0.4; try { __id130_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id130__World1_Levels_29(){ try { __id130_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id130_.bodyAllowSleep = true; __id130_.bodyAngularDamping = 0; __id130_.bodyApplyGravity = true; __id130_.bodyFixedRotation = false; __id130_.bodyIsBullet = false; __id130_.bodyIsSleeping = false; __id130_.bodyIsStatic = true; __id130_.bodyLinearDamping = 0; __id130_.shapeCategoryBits = "0x0001"; __id130_.shapeDensity = 2; __id130_.shapeFriction = 0.2; __id130_.shapeGroupIndex = 0; __id130_.shapeIsSensor = false; __id130_.shapeMaskBits = "0xFFFF"; __id130_.shapeRestitution = 0; try { __id130_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id130__World1_Levels_27(){ try { __id130_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id130_.bodyAllowSleep = true; __id130_.bodyAngularDamping = 0; __id130_.bodyApplyGravity = true; __id130_.bodyFixedRotation = false; __id130_.bodyIsBullet = false; __id130_.bodyIsSleeping = false; __id130_.bodyIsStatic = false; __id130_.bodyLinearDamping = 0; __id130_.shapeCategoryBits = "0x0001"; __id130_.shapeDensity = 1; __id130_.shapeFriction = 0.2; __id130_.shapeGroupIndex = 0; __id130_.shapeIsSensor = false; __id130_.shapeMaskBits = "0xFFFF"; __id130_.shapeRestitution = 0.4; try { __id130_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id81__World1_Levels_17(){ try { __id81_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id81_.bodyAllowSleep = true; __id81_.bodyAngularDamping = 0; __id81_.bodyApplyGravity = true; __id81_.bodyFixedRotation = false; __id81_.bodyIsBullet = false; __id81_.bodyIsSleeping = false; __id81_.bodyIsStatic = true; __id81_.bodyLinearDamping = 0; __id81_.shapeCategoryBits = "0x0001"; __id81_.shapeDensity = 1; __id81_.shapeFriction = 0.2; __id81_.shapeGroupIndex = 0; __id81_.shapeIsSensor = false; __id81_.shapeMaskBits = "0xFFFF"; __id81_.shapeRestitution = 0; try { __id81_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id19__World1_Levels_4(){ try { __id19_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id19_.bodyAllowSleep = true; __id19_.bodyAngularDamping = 0; __id19_.bodyApplyGravity = true; __id19_.bodyFixedRotation = false; __id19_.bodyIsBullet = false; __id19_.bodyIsSleeping = false; __id19_.bodyIsStatic = true; __id19_.bodyLinearDamping = 0; __id19_.shapeCategoryBits = "0x0001"; __id19_.shapeDensity = 1; __id19_.shapeFriction = 0.2; __id19_.shapeGroupIndex = 0; __id19_.shapeIsSensor = false; __id19_.shapeMaskBits = "0xFFFF"; __id19_.shapeRestitution = 0; try { __id19_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id180__World1_Levels_42(){ try { __id180_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id180_.bodyAllowSleep = true; __id180_.bodyAngularDamping = 0; __id180_.bodyApplyGravity = true; __id180_.bodyFixedRotation = false; __id180_.bodyIsBullet = false; __id180_.bodyIsSleeping = false; __id180_.bodyIsStatic = true; __id180_.bodyLinearDamping = 0; __id180_.shapeCategoryBits = "0x0001"; __id180_.shapeDensity = 1; __id180_.shapeFriction = 0.2; __id180_.shapeGroupIndex = 0; __id180_.shapeIsSensor = false; __id180_.shapeMaskBits = "0xFFFF"; __id180_.shapeRestitution = 0; try { __id180_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Arrow_World1_Levels_13(){ try { Arrow["componentInspectorSetting"] = true; } catch(e:Error) { }; Arrow.bodyAllowSleep = true; Arrow.bodyAngularDamping = 0; Arrow.bodyApplyGravity = true; Arrow.bodyFixedRotation = false; Arrow.bodyIsBullet = false; Arrow.bodyIsSleeping = true; Arrow.bodyIsStatic = false; Arrow.bodyLinearDamping = 0; Arrow.shapeCategoryBits = "0x0001"; Arrow.shapeDensity = 2; Arrow.shapeFriction = 0.2; Arrow.shapeGroupIndex = 0; Arrow.shapeIsSensor = false; Arrow.shapeMaskBits = "0xFFFF"; Arrow.shapeRestitution = 0.2; try { Arrow["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id214__World1_Levels_50(){ try { __id214_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id214_.bodyAllowSleep = true; __id214_.bodyAngularDamping = 0; __id214_.bodyApplyGravity = true; __id214_.bodyFixedRotation = false; __id214_.bodyIsBullet = false; __id214_.bodyIsSleeping = false; __id214_.bodyIsStatic = true; __id214_.bodyLinearDamping = 0; __id214_.shapeCategoryBits = "0x0001"; __id214_.shapeDensity = 1; __id214_.shapeFriction = 0.2; __id214_.shapeGroupIndex = 0; __id214_.shapeIsSensor = false; __id214_.shapeMaskBits = "0xFFFF"; __id214_.shapeRestitution = 0; try { __id214_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id92__World1_Levels_19(){ try { __id92_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id92_.bodyAllowSleep = true; __id92_.bodyAngularDamping = 0; __id92_.bodyApplyGravity = true; __id92_.bodyFixedRotation = false; __id92_.bodyIsBullet = false; __id92_.bodyIsSleeping = false; __id92_.bodyIsStatic = true; __id92_.bodyLinearDamping = 0; __id92_.shapeCategoryBits = "0x0001"; __id92_.shapeDensity = 1; __id92_.shapeFriction = 0.2; __id92_.shapeGroupIndex = 0; __id92_.shapeIsSensor = false; __id92_.shapeMaskBits = "0xFFFF"; __id92_.shapeRestitution = 0; try { __id92_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id141__World1_Levels_32(){ try { __id141_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id141_.bodyAllowSleep = true; __id141_.bodyAngularDamping = 0; __id141_.bodyApplyGravity = true; __id141_.bodyFixedRotation = false; __id141_.bodyIsBullet = false; __id141_.bodyIsSleeping = true; __id141_.bodyIsStatic = false; __id141_.bodyLinearDamping = 0; __id141_.shapeCategoryBits = "0x0001"; __id141_.shapeDensity = 1; __id141_.shapeFriction = 0.2; __id141_.shapeGroupIndex = 0; __id141_.shapeIsSensor = false; __id141_.shapeMaskBits = "0xFFFF"; __id141_.shapeRestitution = 0.4; try { __id141_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id225__World1_Levels_51(){ try { __id225_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id225_.bodyAllowSleep = true; __id225_.bodyAngularDamping = 0; __id225_.bodyApplyGravity = true; __id225_.bodyFixedRotation = false; __id225_.bodyIsBullet = false; __id225_.bodyIsSleeping = false; __id225_.bodyIsStatic = true; __id225_.bodyLinearDamping = 0; __id225_.shapeCategoryBits = "0x0001"; __id225_.shapeDensity = 1; __id225_.shapeFriction = 0.2; __id225_.shapeGroupIndex = 0; __id225_.shapeIsSensor = false; __id225_.shapeMaskBits = "0xFFFF"; __id225_.shapeRestitution = 0; try { __id225_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id191__World1_Levels_44(){ try { __id191_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id191_.bodyAllowSleep = true; __id191_.bodyAngularDamping = 0; __id191_.bodyApplyGravity = true; __id191_.bodyFixedRotation = false; __id191_.bodyIsBullet = false; __id191_.bodyIsSleeping = false; __id191_.bodyIsStatic = true; __id191_.bodyLinearDamping = 0; __id191_.shapeCategoryBits = "0x0001"; __id191_.shapeDensity = 2; __id191_.shapeFriction = 0.2; __id191_.shapeGroupIndex = 0; __id191_.shapeIsSensor = false; __id191_.shapeMaskBits = "0xFFFF"; __id191_.shapeRestitution = 0.4; try { __id191_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id92__World1_Levels_21(){ try { __id92_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id92_.bodyAllowSleep = true; __id92_.bodyAngularDamping = 0; __id92_.bodyApplyGravity = true; __id92_.bodyFixedRotation = true; __id92_.bodyIsBullet = false; __id92_.bodyIsSleeping = false; __id92_.bodyIsStatic = true; __id92_.bodyLinearDamping = 0; __id92_.shapeCategoryBits = "0x0001"; __id92_.shapeDensity = 1; __id92_.shapeFriction = 0.2; __id92_.shapeGroupIndex = 0; __id92_.shapeIsSensor = false; __id92_.shapeMaskBits = "0xFFFF"; __id92_.shapeRestitution = 0; try { __id92_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id42__World1_Levels_10(){ try { __id42_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id42_.bodyAllowSleep = true; __id42_.bodyAngularDamping = 0; __id42_.bodyApplyGravity = true; __id42_.bodyFixedRotation = false; __id42_.bodyIsBullet = false; __id42_.bodyIsSleeping = false; __id42_.bodyIsStatic = true; __id42_.bodyLinearDamping = 0; __id42_.shapeCategoryBits = "0x0001"; __id42_.shapeDensity = 1; __id42_.shapeFriction = 0.2; __id42_.shapeGroupIndex = 0; __id42_.shapeIsSensor = false; __id42_.shapeMaskBits = "0xFFFF"; __id42_.shapeRestitution = 0; try { __id42_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id42__World1_Levels_11(){ try { __id42_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id42_.bodyAllowSleep = true; __id42_.bodyAngularDamping = 0; __id42_.bodyApplyGravity = true; __id42_.bodyFixedRotation = false; __id42_.bodyIsBullet = false; __id42_.bodyIsSleeping = false; __id42_.bodyIsStatic = true; __id42_.bodyLinearDamping = 0; __id42_.shapeCategoryBits = "0x0001"; __id42_.shapeDensity = 1; __id42_.shapeFriction = 0.2; __id42_.shapeGroupIndex = 0; __id42_.shapeIsSensor = false; __id42_.shapeMaskBits = "0xFFFF"; __id42_.shapeRestitution = 0.4; try { __id42_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id42__World1_Levels_12(){ try { __id42_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id42_.bodyAllowSleep = true; __id42_.bodyAngularDamping = 0; __id42_.bodyApplyGravity = true; __id42_.bodyFixedRotation = false; __id42_.bodyIsBullet = false; __id42_.bodyIsSleeping = false; __id42_.bodyIsStatic = true; __id42_.bodyLinearDamping = 0; __id42_.shapeCategoryBits = "0x0001"; __id42_.shapeDensity = 0.1; __id42_.shapeFriction = 0.2; __id42_.shapeGroupIndex = 0; __id42_.shapeIsSensor = false; __id42_.shapeMaskBits = "0xFFFF"; __id42_.shapeRestitution = 0; try { __id42_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id42__World1_Levels_14(){ try { __id42_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id42_.bodyAllowSleep = true; __id42_.bodyAngularDamping = 0; __id42_.bodyApplyGravity = true; __id42_.bodyFixedRotation = false; __id42_.bodyIsBullet = false; __id42_.bodyIsSleeping = false; __id42_.bodyIsStatic = true; __id42_.bodyLinearDamping = 0; __id42_.shapeCategoryBits = "0x0001"; __id42_.shapeDensity = 1; __id42_.shapeFriction = 0.2; __id42_.shapeGroupIndex = 0; __id42_.shapeIsSensor = false; __id42_.shapeMaskBits = "0xFFFF"; __id42_.shapeRestitution = 0.5; try { __id42_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id152__World1_Levels_34(){ try { __id152_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id152_.bodyAllowSleep = true; __id152_.bodyAngularDamping = 0; __id152_.bodyApplyGravity = true; __id152_.bodyFixedRotation = false; __id152_.bodyIsBullet = false; __id152_.bodyIsSleeping = false; __id152_.bodyIsStatic = true; __id152_.bodyLinearDamping = 0; __id152_.shapeCategoryBits = "0x0001"; __id152_.shapeDensity = 1; __id152_.shapeFriction = 0.2; __id152_.shapeGroupIndex = 0; __id152_.shapeIsSensor = false; __id152_.shapeMaskBits = "0xFFFF"; __id152_.shapeRestitution = 0.4; try { __id152_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id92__World1_Levels_20(){ try { __id92_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id92_.bodyAllowSleep = true; __id92_.bodyAngularDamping = 0; __id92_.bodyApplyGravity = true; __id92_.bodyFixedRotation = false; __id92_.bodyIsBullet = false; __id92_.bodyIsSleeping = false; __id92_.bodyIsStatic = true; __id92_.bodyLinearDamping = 0; __id92_.shapeCategoryBits = "0x0001"; __id92_.shapeDensity = 2; __id92_.shapeFriction = 0.2; __id92_.shapeGroupIndex = 0; __id92_.shapeIsSensor = false; __id92_.shapeMaskBits = "0xFFFF"; __id92_.shapeRestitution = 0.2; try { __id92_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id102__World1_Levels_21(){ try { __id102_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id102_.bodyAllowSleep = true; __id102_.bodyAngularDamping = 0; __id102_.bodyApplyGravity = true; __id102_.bodyFixedRotation = false; __id102_.bodyIsBullet = false; __id102_.bodyIsSleeping = false; __id102_.bodyIsStatic = true; __id102_.bodyLinearDamping = 0; __id102_.shapeCategoryBits = "0x0001"; __id102_.shapeDensity = 1; __id102_.shapeFriction = 0.2; __id102_.shapeGroupIndex = 0; __id102_.shapeIsSensor = false; __id102_.shapeMaskBits = "0xFFFF"; __id102_.shapeRestitution = 0; try { __id102_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id152__World1_Levels_39(){ try { __id152_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id152_.bodyAllowSleep = true; __id152_.bodyAngularDamping = 0; __id152_.bodyApplyGravity = true; __id152_.bodyFixedRotation = false; __id152_.bodyIsBullet = false; __id152_.bodyIsSleeping = false; __id152_.bodyIsStatic = true; __id152_.bodyLinearDamping = 0; __id152_.shapeCategoryBits = "0x0001"; __id152_.shapeDensity = 2; __id152_.shapeFriction = 0.2; __id152_.shapeGroupIndex = 0; __id152_.shapeIsSensor = false; __id152_.shapeMaskBits = "0xFFFF"; __id152_.shapeRestitution = 0.4; try { __id152_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id236__World1_Levels_51(){ try { __id236_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id236_.bodyAllowSleep = true; __id236_.bodyAngularDamping = 0; __id236_.bodyApplyGravity = true; __id236_.bodyFixedRotation = false; __id236_.bodyIsBullet = false; __id236_.bodyIsSleeping = false; __id236_.bodyIsStatic = true; __id236_.bodyLinearDamping = 0; __id236_.shapeCategoryBits = "0x0001"; __id236_.shapeDensity = 2; __id236_.shapeFriction = 0.2; __id236_.shapeGroupIndex = 0; __id236_.shapeIsSensor = false; __id236_.shapeMaskBits = "0xFFFF"; __id236_.shapeRestitution = 0.2; try { __id236_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id5__World1_Levels_1(){ try { __id5_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id5_.bodyAllowSleep = true; __id5_.bodyAngularDamping = 0; __id5_.bodyApplyGravity = true; __id5_.bodyFixedRotation = false; __id5_.bodyIsBullet = false; __id5_.bodyIsSleeping = false; __id5_.bodyIsStatic = false; __id5_.bodyLinearDamping = 0; __id5_.shapeCategoryBits = "0x0001"; __id5_.shapeDensity = 1; __id5_.shapeFriction = 0.2; __id5_.shapeGroupIndex = 0; __id5_.shapeIsSensor = false; __id5_.shapeMaskBits = "0xFFFF"; __id5_.shapeRestitution = 0.5; try { __id5_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Star_World1_Levels_12(){ try { Star["componentInspectorSetting"] = true; } catch(e:Error) { }; Star.bodyAllowSleep = true; Star.bodyAngularDamping = 0; Star.bodyApplyGravity = true; Star.bodyFixedRotation = false; Star.bodyIsBullet = false; Star.bodyIsSleeping = false; Star.bodyIsStatic = true; Star.bodyLinearDamping = 0; Star.shapeCategoryBits = "0x0001"; Star.shapeDensity = 1; Star.shapeFriction = 0.2; Star.shapeGroupIndex = 0; Star.shapeIsSensor = false; Star.shapeMaskBits = "0xFFFF"; Star.shapeRestitution = 0; try { Star["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id247__World1_Levels_52(){ try { __id247_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id247_.body2Name = ""; __id247_.bodyName = ""; __id247_.collideConnected = false; __id247_.enableLimit = false; __id247_.enableMotor = false; __id247_.lineParameter = "0x888888"; __id247_.lineStyle = "Line"; __id247_.lowerLimit = 0; __id247_.pathReturns = false; __id247_.speed1 = 0; __id247_.speed2 = 0; __id247_.speedFlag = ""; __id247_.spring = false; __id247_.springConstant = 0; __id247_.springDamping = 0; __id247_.strength = 0; __id247_.targetName = ""; __id247_.type = "RevolutePin"; __id247_.upperLimit = 0; try { __id247_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id163__World1_Levels_38(){ try { __id163_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id163_.bodyAllowSleep = true; __id163_.bodyAngularDamping = 0; __id163_.bodyApplyGravity = true; __id163_.bodyFixedRotation = false; __id163_.bodyIsBullet = false; __id163_.bodyIsSleeping = false; __id163_.bodyIsStatic = true; __id163_.bodyLinearDamping = 0; __id163_.shapeCategoryBits = "0x0001"; __id163_.shapeDensity = 1; __id163_.shapeFriction = 0.2; __id163_.shapeGroupIndex = 0; __id163_.shapeIsSensor = false; __id163_.shapeMaskBits = "0xFFFF"; __id163_.shapeRestitution = 0; try { __id163_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id163__World1_Levels_39(){ try { __id163_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id163_.bodyAllowSleep = true; __id163_.bodyAngularDamping = 0; __id163_.bodyApplyGravity = true; __id163_.bodyFixedRotation = false; __id163_.bodyIsBullet = false; __id163_.bodyIsSleeping = false; __id163_.bodyIsStatic = true; __id163_.bodyLinearDamping = 0; __id163_.shapeCategoryBits = "0x0001"; __id163_.shapeDensity = 1; __id163_.shapeFriction = 1; __id163_.shapeGroupIndex = 0; __id163_.shapeIsSensor = false; __id163_.shapeMaskBits = "0xFFFF"; __id163_.shapeRestitution = 0; try { __id163_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Star_World1_Levels_17(){ try { Star["componentInspectorSetting"] = true; } catch(e:Error) { }; Star.bodyAllowSleep = true; Star.bodyAngularDamping = 0; Star.bodyApplyGravity = true; Star.bodyFixedRotation = false; Star.bodyIsBullet = false; Star.bodyIsSleeping = false; Star.bodyIsStatic = false; Star.bodyLinearDamping = 0; Star.shapeCategoryBits = "0x0001"; Star.shapeDensity = 1; Star.shapeFriction = 0.2; Star.shapeGroupIndex = 0; Star.shapeIsSensor = false; Star.shapeMaskBits = "0xFFFF"; Star.shapeRestitution = 0.2; try { Star["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id53__World1_Levels_12(){ try { __id53_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id53_.bodyAllowSleep = true; __id53_.bodyAngularDamping = 0; __id53_.bodyApplyGravity = true; __id53_.bodyFixedRotation = false; __id53_.bodyIsBullet = false; __id53_.bodyIsSleeping = true; __id53_.bodyIsStatic = false; __id53_.bodyLinearDamping = 0; __id53_.shapeCategoryBits = "0x0001"; __id53_.shapeDensity = 1; __id53_.shapeFriction = 0.2; __id53_.shapeGroupIndex = 0; __id53_.shapeIsSensor = false; __id53_.shapeMaskBits = "0xFFFF"; __id53_.shapeRestitution = 0; try { __id53_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Star_World1_Levels_14(){ try { Star["componentInspectorSetting"] = true; } catch(e:Error) { }; Star.bodyAllowSleep = true; Star.bodyAngularDamping = 0; Star.bodyApplyGravity = true; Star.bodyFixedRotation = false; Star.bodyIsBullet = false; Star.bodyIsSleeping = false; Star.bodyIsStatic = true; Star.bodyLinearDamping = 0; Star.shapeCategoryBits = "0x0001"; Star.shapeDensity = 1; Star.shapeFriction = 0.2; Star.shapeGroupIndex = 0; Star.shapeIsSensor = false; Star.shapeMaskBits = "0xFFFF"; Star.shapeRestitution = 0.2; try { Star["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id113__World1_Levels_23(){ try { __id113_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id113_.bodyAllowSleep = true; __id113_.bodyAngularDamping = 0; __id113_.bodyApplyGravity = true; __id113_.bodyFixedRotation = false; __id113_.bodyIsBullet = false; __id113_.bodyIsSleeping = false; __id113_.bodyIsStatic = true; __id113_.bodyLinearDamping = 0; __id113_.shapeCategoryBits = "0x0001"; __id113_.shapeDensity = 1; __id113_.shapeFriction = 0.2; __id113_.shapeGroupIndex = 0; __id113_.shapeIsSensor = false; __id113_.shapeMaskBits = "0xFFFF"; __id113_.shapeRestitution = 0; try { __id113_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id30__World1_Levels_7(){ try { __id30_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id30_.bodyAllowSleep = true; __id30_.bodyAngularDamping = 0; __id30_.bodyApplyGravity = true; __id30_.bodyFixedRotation = false; __id30_.bodyIsBullet = false; __id30_.bodyIsSleeping = false; __id30_.bodyIsStatic = true; __id30_.bodyLinearDamping = 0; __id30_.shapeCategoryBits = "0x0001"; __id30_.shapeDensity = 1; __id30_.shapeFriction = 0.2; __id30_.shapeGroupIndex = 0; __id30_.shapeIsSensor = false; __id30_.shapeMaskBits = "0xFFFF"; __id30_.shapeRestitution = 0; try { __id30_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_V_World1_Levels_6(){ try { V["componentInspectorSetting"] = true; } catch(e:Error) { }; V.bodyAllowSleep = true; V.bodyAngularDamping = 0; V.bodyApplyGravity = true; V.bodyFixedRotation = false; V.bodyIsBullet = false; V.bodyIsSleeping = false; V.bodyIsStatic = true; V.bodyLinearDamping = 0; V.shapeCategoryBits = "0x0001"; V.shapeDensity = 1; V.shapeFriction = 0.2; V.shapeGroupIndex = 0; V.shapeIsSensor = false; V.shapeMaskBits = "0xFFFF"; V.shapeRestitution = 0; try { V["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id163__World1_Levels_40(){ try { __id163_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id163_.bodyAllowSleep = true; __id163_.bodyAngularDamping = 0; __id163_.bodyApplyGravity = true; __id163_.bodyFixedRotation = false; __id163_.bodyIsBullet = false; __id163_.bodyIsSleeping = false; __id163_.bodyIsStatic = true; __id163_.bodyLinearDamping = 0; __id163_.shapeCategoryBits = "0x0001"; __id163_.shapeDensity = 1; __id163_.shapeFriction = 0.2; __id163_.shapeGroupIndex = 0; __id163_.shapeIsSensor = false; __id163_.shapeMaskBits = "0xFFFF"; __id163_.shapeRestitution = 0.4; try { __id163_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id64__World1_Levels_14(){ try { __id64_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id64_.bodyAllowSleep = true; __id64_.bodyAngularDamping = 0; __id64_.bodyApplyGravity = true; __id64_.bodyFixedRotation = false; __id64_.bodyIsBullet = false; __id64_.bodyIsSleeping = false; __id64_.bodyIsStatic = true; __id64_.bodyLinearDamping = 0; __id64_.shapeCategoryBits = "0x0001"; __id64_.shapeDensity = 1; __id64_.shapeFriction = 0.2; __id64_.shapeGroupIndex = 0; __id64_.shapeIsSensor = false; __id64_.shapeMaskBits = "0xFFFF"; __id64_.shapeRestitution = 0; try { __id64_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id124__World1_Levels_25(){ try { __id124_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id124_.bodyAllowSleep = true; __id124_.bodyAngularDamping = 0; __id124_.bodyApplyGravity = true; __id124_.bodyFixedRotation = false; __id124_.bodyIsBullet = false; __id124_.bodyIsSleeping = false; __id124_.bodyIsStatic = true; __id124_.bodyLinearDamping = 0; __id124_.shapeCategoryBits = "0x0001"; __id124_.shapeDensity = 1; __id124_.shapeFriction = 0.2; __id124_.shapeGroupIndex = 0; __id124_.shapeIsSensor = false; __id124_.shapeMaskBits = "0xFFFF"; __id124_.shapeRestitution = 0; try { __id124_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id208__World1_Levels_49(){ try { __id208_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id208_.bodyAllowSleep = true; __id208_.bodyAngularDamping = 0; __id208_.bodyApplyGravity = true; __id208_.bodyFixedRotation = false; __id208_.bodyIsBullet = false; __id208_.bodyIsSleeping = false; __id208_.bodyIsStatic = true; __id208_.bodyLinearDamping = 0; __id208_.shapeCategoryBits = "0x0001"; __id208_.shapeDensity = 1; __id208_.shapeFriction = 1; __id208_.shapeGroupIndex = 0; __id208_.shapeIsSensor = false; __id208_.shapeMaskBits = "0xFFFF"; __id208_.shapeRestitution = 0; try { __id208_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id174__World1_Levels_40(){ try { __id174_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id174_.bodyAllowSleep = true; __id174_.bodyAngularDamping = 0; __id174_.bodyApplyGravity = true; __id174_.bodyFixedRotation = false; __id174_.bodyIsBullet = false; __id174_.bodyIsSleeping = false; __id174_.bodyIsStatic = true; __id174_.bodyLinearDamping = 0; __id174_.shapeCategoryBits = "0x0001"; __id174_.shapeDensity = 2; __id174_.shapeFriction = 0.2; __id174_.shapeGroupIndex = 0; __id174_.shapeIsSensor = false; __id174_.shapeMaskBits = "0xFFFF"; __id174_.shapeRestitution = 0.4; try { __id174_["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function tool1True2(_arg1:MouseEvent){ tool1.nextFrame(); if (TUT3.currentFrame == 40){ TUT3.play(); }; } public function tool1True3(_arg1:MouseEvent){ tool1.nextFrame(); if (TUT4.currentFrame == 60){ TUT4.play(); }; } function __setProp_Star_World1_Levels_32(){ try { Star["componentInspectorSetting"] = true; } catch(e:Error) { }; Star.bodyAllowSleep = true; Star.bodyAngularDamping = 0; Star.bodyApplyGravity = true; Star.bodyFixedRotation = false; Star.bodyIsBullet = false; Star.bodyIsSleeping = false; Star.bodyIsStatic = true; Star.bodyLinearDamping = 0; Star.shapeCategoryBits = "0x0001"; Star.shapeDensity = 2; Star.shapeFriction = 0.2; Star.shapeGroupIndex = 0; Star.shapeIsSensor = false; Star.shapeMaskBits = "0xFFFF"; Star.shapeRestitution = 0.2; try { Star["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Star_World1_Levels_37(){ try { Star["componentInspectorSetting"] = true; } catch(e:Error) { }; Star.bodyAllowSleep = true; Star.bodyAngularDamping = 0; Star.bodyApplyGravity = true; Star.bodyFixedRotation = false; Star.bodyIsBullet = false; Star.bodyIsSleeping = false; Star.bodyIsStatic = true; Star.bodyLinearDamping = 0; Star.shapeCategoryBits = "0x0001"; Star.shapeDensity = 1; Star.shapeFriction = 0.2; Star.shapeGroupIndex = 0; Star.shapeIsSensor = false; Star.shapeMaskBits = "0xFFFF"; Star.shapeRestitution = 0.4; try { Star["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id185__World1_Levels_43(){ try { __id185_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id185_.bodyAllowSleep = true; __id185_.bodyAngularDamping = 0; __id185_.bodyApplyGravity = true; __id185_.bodyFixedRotation = false; __id185_.bodyIsBullet = false; __id185_.bodyIsSleeping = true; __id185_.bodyIsStatic = false; __id185_.bodyLinearDamping = 0; __id185_.shapeCategoryBits = "0x0001"; __id185_.shapeDensity = 1; __id185_.shapeFriction = 0.2; __id185_.shapeGroupIndex = 0; __id185_.shapeIsSensor = false; __id185_.shapeMaskBits = "0xFFFF"; __id185_.shapeRestitution = 0.2; try { __id185_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id86__World1_Levels_17(){ try { __id86_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id86_.bodyAllowSleep = true; __id86_.bodyAngularDamping = 0; __id86_.bodyApplyGravity = true; __id86_.bodyFixedRotation = false; __id86_.bodyIsBullet = false; __id86_.bodyIsSleeping = false; __id86_.bodyIsStatic = true; __id86_.bodyLinearDamping = 0; __id86_.shapeCategoryBits = "0x0001"; __id86_.shapeDensity = 1; __id86_.shapeFriction = 0.2; __id86_.shapeGroupIndex = 0; __id86_.shapeIsSensor = false; __id86_.shapeMaskBits = "0xFFFF"; __id86_.shapeRestitution = 0; try { __id86_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id75__World1_Levels_16(){ try { __id75_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id75_.bodyAllowSleep = true; __id75_.bodyAngularDamping = 0; __id75_.bodyApplyGravity = true; __id75_.bodyFixedRotation = false; __id75_.bodyIsBullet = false; __id75_.bodyIsSleeping = false; __id75_.bodyIsStatic = true; __id75_.bodyLinearDamping = 0; __id75_.shapeCategoryBits = "0x0001"; __id75_.shapeDensity = 1; __id75_.shapeFriction = 0.2; __id75_.shapeGroupIndex = 0; __id75_.shapeIsSensor = false; __id75_.shapeMaskBits = "0xFFFF"; __id75_.shapeRestitution = 0; try { __id75_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id135__World1_Levels_30(){ try { __id135_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id135_.bodyAllowSleep = true; __id135_.bodyAngularDamping = 0; __id135_.bodyApplyGravity = true; __id135_.bodyFixedRotation = false; __id135_.bodyIsBullet = false; __id135_.bodyIsSleeping = true; __id135_.bodyIsStatic = false; __id135_.bodyLinearDamping = 0; __id135_.shapeCategoryBits = "0x0001"; __id135_.shapeDensity = 1; __id135_.shapeFriction = 0.2; __id135_.shapeGroupIndex = 0; __id135_.shapeIsSensor = false; __id135_.shapeMaskBits = "0xFFFF"; __id135_.shapeRestitution = 0; try { __id135_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id21__World1_Levels_4(){ try { __id21_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id21_.bodyAllowSleep = true; __id21_.bodyAngularDamping = 0; __id21_.bodyApplyGravity = true; __id21_.bodyFixedRotation = false; __id21_.bodyIsBullet = false; __id21_.bodyIsSleeping = false; __id21_.bodyIsStatic = true; __id21_.bodyLinearDamping = 0; __id21_.shapeCategoryBits = "0x0001"; __id21_.shapeDensity = 1; __id21_.shapeFriction = 0.2; __id21_.shapeGroupIndex = 0; __id21_.shapeIsSensor = false; __id21_.shapeMaskBits = "0xFFFF"; __id21_.shapeRestitution = 0; try { __id21_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id219__World1_Levels_50(){ try { __id219_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id219_.bodyAllowSleep = true; __id219_.bodyAngularDamping = 0; __id219_.bodyApplyGravity = true; __id219_.bodyFixedRotation = false; __id219_.bodyIsBullet = false; __id219_.bodyIsSleeping = false; __id219_.bodyIsStatic = true; __id219_.bodyLinearDamping = 0; __id219_.shapeCategoryBits = "0x0001"; __id219_.shapeDensity = 2; __id219_.shapeFriction = 0.2; __id219_.shapeGroupIndex = 0; __id219_.shapeIsSensor = false; __id219_.shapeMaskBits = "0xFFFF"; __id219_.shapeRestitution = 0.2; try { __id219_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id196__World1_Levels_47(){ try { __id196_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id196_.bodyAllowSleep = true; __id196_.bodyAngularDamping = 0; __id196_.bodyApplyGravity = true; __id196_.bodyFixedRotation = false; __id196_.bodyIsBullet = false; __id196_.bodyIsSleeping = false; __id196_.bodyIsStatic = true; __id196_.bodyLinearDamping = 0; __id196_.shapeCategoryBits = "0x0001"; __id196_.shapeDensity = 1; __id196_.shapeFriction = 0.2; __id196_.shapeGroupIndex = 0; __id196_.shapeIsSensor = false; __id196_.shapeMaskBits = "0xFFFF"; __id196_.shapeRestitution = 0; try { __id196_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id146__World1_Levels_33(){ try { __id146_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id146_.bodyAllowSleep = true; __id146_.bodyAngularDamping = 0; __id146_.bodyApplyGravity = true; __id146_.bodyFixedRotation = false; __id146_.bodyIsBullet = false; __id146_.bodyIsSleeping = true; __id146_.bodyIsStatic = false; __id146_.bodyLinearDamping = 0; __id146_.shapeCategoryBits = "0x0001"; __id146_.shapeDensity = 1; __id146_.shapeFriction = 0.2; __id146_.shapeGroupIndex = 0; __id146_.shapeIsSensor = false; __id146_.shapeMaskBits = "0xFFFF"; __id146_.shapeRestitution = 0; try { __id146_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id34__World1_Levels_9(){ try { __id34_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id34_.bodyAllowSleep = true; __id34_.bodyAngularDamping = 0; __id34_.bodyApplyGravity = true; __id34_.bodyFixedRotation = false; __id34_.bodyIsBullet = false; __id34_.bodyIsSleeping = true; __id34_.bodyIsStatic = false; __id34_.bodyLinearDamping = 0; __id34_.shapeCategoryBits = "0x0001"; __id34_.shapeDensity = 1; __id34_.shapeFriction = 0.2; __id34_.shapeGroupIndex = 0; __id34_.shapeIsSensor = false; __id34_.shapeMaskBits = "0xFFFF"; __id34_.shapeRestitution = 0.4; try { __id34_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id9__World1_Levels_1(){ try { __id9_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id9_.body2Name = "TC"; __id9_.bodyName = "But1"; __id9_.collideConnected = false; __id9_.enableLimit = false; __id9_.enableMotor = false; __id9_.lineParameter = "0x888888"; __id9_.lineStyle = "Line"; __id9_.lowerLimit = 0; __id9_.pathReturns = false; __id9_.speed1 = 0; __id9_.speed2 = 0; __id9_.speedFlag = ""; __id9_.spring = false; __id9_.springConstant = 0; __id9_.springDamping = 0; __id9_.strength = 0; __id9_.targetName = ""; __id9_.type = "RevolutePin"; __id9_.upperLimit = 0; try { __id9_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id97__World1_Levels_20(){ try { __id97_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id97_.bodyAllowSleep = true; __id97_.bodyAngularDamping = 0; __id97_.bodyApplyGravity = true; __id97_.bodyFixedRotation = false; __id97_.bodyIsBullet = false; __id97_.bodyIsSleeping = false; __id97_.bodyIsStatic = true; __id97_.bodyLinearDamping = 0; __id97_.shapeCategoryBits = "0x0001"; __id97_.shapeDensity = 1; __id97_.shapeFriction = 0.2; __id97_.shapeGroupIndex = 0; __id97_.shapeIsSensor = false; __id97_.shapeMaskBits = "0xFFFF"; __id97_.shapeRestitution = 0; try { __id97_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id47__World1_Levels_11(){ try { __id47_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id47_.bodyAllowSleep = true; __id47_.bodyAngularDamping = 0; __id47_.bodyApplyGravity = true; __id47_.bodyFixedRotation = false; __id47_.bodyIsBullet = false; __id47_.bodyIsSleeping = true; __id47_.bodyIsStatic = false; __id47_.bodyLinearDamping = 0; __id47_.shapeCategoryBits = "0x0001"; __id47_.shapeDensity = 1; __id47_.shapeFriction = 0.2; __id47_.shapeGroupIndex = 0; __id47_.shapeIsSensor = false; __id47_.shapeMaskBits = "0xFFFF"; __id47_.shapeRestitution = 0.4; try { __id47_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id47__World1_Levels_12(){ try { __id47_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id47_.bodyAllowSleep = true; __id47_.bodyAngularDamping = 0; __id47_.bodyApplyGravity = true; __id47_.bodyFixedRotation = false; __id47_.bodyIsBullet = false; __id47_.bodyIsSleeping = true; __id47_.bodyIsStatic = false; __id47_.bodyLinearDamping = 0; __id47_.shapeCategoryBits = "0x0001"; __id47_.shapeDensity = 1; __id47_.shapeFriction = 0.2; __id47_.shapeGroupIndex = 0; __id47_.shapeIsSensor = false; __id47_.shapeMaskBits = "0xFFFF"; __id47_.shapeRestitution = 0; try { __id47_["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function tool1trueR(_arg1:MouseEvent){ tool1.nextFrame(); } function __setProp___id157__World1_Levels_37(){ try { __id157_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id157_.bodyAllowSleep = true; __id157_.bodyAngularDamping = 0; __id157_.bodyApplyGravity = true; __id157_.bodyFixedRotation = false; __id157_.bodyIsBullet = false; __id157_.bodyIsSleeping = false; __id157_.bodyIsStatic = true; __id157_.bodyLinearDamping = 0; __id157_.shapeCategoryBits = "0x0001"; __id157_.shapeDensity = 1; __id157_.shapeFriction = 0.2; __id157_.shapeGroupIndex = 0; __id157_.shapeIsSensor = false; __id157_.shapeMaskBits = "0xFFFF"; __id157_.shapeRestitution = 0.4; try { __id157_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id107__World1_Levels_22(){ try { __id107_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id107_.bodyAllowSleep = true; __id107_.bodyAngularDamping = 0; __id107_.bodyApplyGravity = true; __id107_.bodyFixedRotation = false; __id107_.bodyIsBullet = false; __id107_.bodyIsSleeping = false; __id107_.bodyIsStatic = false; __id107_.bodyLinearDamping = 0; __id107_.shapeCategoryBits = "0x0001"; __id107_.shapeDensity = 1; __id107_.shapeFriction = 0.2; __id107_.shapeGroupIndex = 0; __id107_.shapeIsSensor = false; __id107_.shapeMaskBits = "0xFFFF"; __id107_.shapeRestitution = 0.4; try { __id107_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id157__World1_Levels_39(){ try { __id157_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id157_.bodyAllowSleep = true; __id157_.bodyAngularDamping = 0; __id157_.bodyApplyGravity = true; __id157_.bodyFixedRotation = false; __id157_.bodyIsBullet = false; __id157_.bodyIsSleeping = false; __id157_.bodyIsStatic = true; __id157_.bodyLinearDamping = 0; __id157_.shapeCategoryBits = "0x0001"; __id157_.shapeDensity = 2; __id157_.shapeFriction = 0.2; __id157_.shapeGroupIndex = 0; __id157_.shapeIsSensor = false; __id157_.shapeMaskBits = "0xFFFF"; __id157_.shapeRestitution = 0.4; try { __id157_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id210__World1_Levels_50(){ try { __id210_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id210_.bodyAllowSleep = true; __id210_.bodyAngularDamping = 0; __id210_.bodyApplyGravity = true; __id210_.bodyFixedRotation = false; __id210_.bodyIsBullet = false; __id210_.bodyIsSleeping = false; __id210_.bodyIsStatic = true; __id210_.bodyLinearDamping = 0; __id210_.shapeCategoryBits = "0x0001"; __id210_.shapeDensity = 1; __id210_.shapeFriction = 0.2; __id210_.shapeGroupIndex = 0; __id210_.shapeIsSensor = false; __id210_.shapeMaskBits = "0xFFFF"; __id210_.shapeRestitution = 0; try { __id210_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id221__World1_Levels_50(){ try { __id221_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id221_.bodyAllowSleep = true; __id221_.bodyAngularDamping = 0; __id221_.bodyApplyGravity = true; __id221_.bodyFixedRotation = false; __id221_.bodyIsBullet = false; __id221_.bodyIsSleeping = false; __id221_.bodyIsStatic = false; __id221_.bodyLinearDamping = 0; __id221_.shapeCategoryBits = "0x0001"; __id221_.shapeDensity = 3; __id221_.shapeFriction = 1; __id221_.shapeGroupIndex = 0; __id221_.shapeIsSensor = false; __id221_.shapeMaskBits = "0xFFFF"; __id221_.shapeRestitution = 0.4; try { __id221_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id58__World1_Levels_13(){ try { __id58_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id58_.bodyAllowSleep = true; __id58_.bodyAngularDamping = 0; __id58_.bodyApplyGravity = true; __id58_.bodyFixedRotation = false; __id58_.bodyIsBullet = false; __id58_.bodyIsSleeping = false; __id58_.bodyIsStatic = true; __id58_.bodyLinearDamping = 0; __id58_.shapeCategoryBits = "0x0001"; __id58_.shapeDensity = 1; __id58_.shapeFriction = 0.2; __id58_.shapeGroupIndex = 0; __id58_.shapeIsSensor = false; __id58_.shapeMaskBits = "0xFFFF"; __id58_.shapeRestitution = 0; try { __id58_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id12__World1_Levels_1(){ try { __id12_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id12_.body2Name = "BC"; __id12_.bodyName = "But2"; __id12_.collideConnected = false; __id12_.enableLimit = false; __id12_.enableMotor = false; __id12_.lineParameter = "0x888888"; __id12_.lineStyle = "Line"; __id12_.lowerLimit = 0; __id12_.pathReturns = false; __id12_.speed1 = 0; __id12_.speed2 = 0; __id12_.speedFlag = ""; __id12_.spring = false; __id12_.springConstant = 0; __id12_.springDamping = 0; __id12_.strength = 0; __id12_.targetName = ""; __id12_.type = "RevolutePin"; __id12_.upperLimit = 0; try { __id12_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id168__World1_Levels_39(){ try { __id168_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id168_.bodyAllowSleep = true; __id168_.bodyAngularDamping = 0; __id168_.bodyApplyGravity = true; __id168_.bodyFixedRotation = false; __id168_.bodyIsBullet = false; __id168_.bodyIsSleeping = false; __id168_.bodyIsStatic = true; __id168_.bodyLinearDamping = 0; __id168_.shapeCategoryBits = "0x0001"; __id168_.shapeDensity = 1; __id168_.shapeFriction = 0.2; __id168_.shapeGroupIndex = 0; __id168_.shapeIsSensor = false; __id168_.shapeMaskBits = "0xFFFF"; __id168_.shapeRestitution = 0.4; try { __id168_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id118__World1_Levels_24(){ try { __id118_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id118_.bodyAllowSleep = true; __id118_.bodyAngularDamping = 0; __id118_.bodyApplyGravity = true; __id118_.bodyFixedRotation = false; __id118_.bodyIsBullet = false; __id118_.bodyIsSleeping = false; __id118_.bodyIsStatic = true; __id118_.bodyLinearDamping = 0; __id118_.shapeCategoryBits = "0x0001"; __id118_.shapeDensity = 1; __id118_.shapeFriction = 0.2; __id118_.shapeGroupIndex = 0; __id118_.shapeIsSensor = false; __id118_.shapeMaskBits = "0xFFFF"; __id118_.shapeRestitution = 0; try { __id118_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id232__World1_Levels_51(){ try { __id232_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id232_.bodyAllowSleep = true; __id232_.bodyAngularDamping = 0; __id232_.bodyApplyGravity = true; __id232_.bodyFixedRotation = false; __id232_.bodyIsBullet = false; __id232_.bodyIsSleeping = false; __id232_.bodyIsStatic = true; __id232_.bodyLinearDamping = 0; __id232_.shapeCategoryBits = "0x0001"; __id232_.shapeDensity = 1; __id232_.shapeFriction = 0.2; __id232_.shapeGroupIndex = 0; __id232_.shapeIsSensor = false; __id232_.shapeMaskBits = "0xFFFF"; __id232_.shapeRestitution = 0; try { __id232_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id25__World1_Levels_7(){ try { __id25_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id25_.bodyAllowSleep = true; __id25_.bodyAngularDamping = 0; __id25_.bodyApplyGravity = true; __id25_.bodyFixedRotation = false; __id25_.bodyIsBullet = false; __id25_.bodyIsSleeping = true; __id25_.bodyIsStatic = false; __id25_.bodyLinearDamping = 0; __id25_.shapeCategoryBits = "0x0001"; __id25_.shapeDensity = 1; __id25_.shapeFriction = 0.2; __id25_.shapeGroupIndex = 0; __id25_.shapeIsSensor = false; __id25_.shapeMaskBits = "0xFFFF"; __id25_.shapeRestitution = 0; try { __id25_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id69__World1_Levels_15(){ try { __id69_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id69_.bodyAllowSleep = true; __id69_.bodyAngularDamping = 0; __id69_.bodyApplyGravity = true; __id69_.bodyFixedRotation = false; __id69_.bodyIsBullet = false; __id69_.bodyIsSleeping = false; __id69_.bodyIsStatic = true; __id69_.bodyLinearDamping = 0; __id69_.shapeCategoryBits = "0x0001"; __id69_.shapeDensity = 2; __id69_.shapeFriction = 0.2; __id69_.shapeGroupIndex = 0; __id69_.shapeIsSensor = false; __id69_.shapeMaskBits = "0xFFFF"; __id69_.shapeRestitution = 0.5; try { __id69_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id129__World1_Levels_27(){ try { __id129_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id129_.bodyAllowSleep = true; __id129_.bodyAngularDamping = 0; __id129_.bodyApplyGravity = true; __id129_.bodyFixedRotation = false; __id129_.bodyIsBullet = false; __id129_.bodyIsSleeping = false; __id129_.bodyIsStatic = true; __id129_.bodyLinearDamping = 0; __id129_.shapeCategoryBits = "0x0001"; __id129_.shapeDensity = 1; __id129_.shapeFriction = 0.2; __id129_.shapeGroupIndex = 0; __id129_.shapeIsSensor = false; __id129_.shapeMaskBits = "0xFFFF"; __id129_.shapeRestitution = 0.4; try { __id129_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id179__World1_Levels_42(){ try { __id179_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id179_.bodyAllowSleep = true; __id179_.bodyAngularDamping = 0; __id179_.bodyApplyGravity = true; __id179_.bodyFixedRotation = false; __id179_.bodyIsBullet = false; __id179_.bodyIsSleeping = false; __id179_.bodyIsStatic = true; __id179_.bodyLinearDamping = 0; __id179_.shapeCategoryBits = "0x0001"; __id179_.shapeDensity = 1; __id179_.shapeFriction = 0.2; __id179_.shapeGroupIndex = 0; __id179_.shapeIsSensor = false; __id179_.shapeMaskBits = "0xFFFF"; __id179_.shapeRestitution = 0; try { __id179_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id243__World1_Levels_52(){ try { __id243_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id243_.bodyAllowSleep = true; __id243_.bodyAngularDamping = 0; __id243_.bodyApplyGravity = true; __id243_.bodyFixedRotation = false; __id243_.bodyIsBullet = false; __id243_.bodyIsSleeping = false; __id243_.bodyIsStatic = false; __id243_.bodyLinearDamping = 0; __id243_.shapeCategoryBits = "0x0001"; __id243_.shapeDensity = 1; __id243_.shapeFriction = 0.2; __id243_.shapeGroupIndex = 0; __id243_.shapeIsSensor = false; __id243_.shapeMaskBits = "0xFFFF"; __id243_.shapeRestitution = 0.4; try { __id243_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id38__World1_Levels_9(){ try { __id38_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id38_.bodyAllowSleep = true; __id38_.bodyAngularDamping = 0; __id38_.bodyApplyGravity = true; __id38_.bodyFixedRotation = false; __id38_.bodyIsBullet = false; __id38_.bodyIsSleeping = false; __id38_.bodyIsStatic = true; __id38_.bodyLinearDamping = 0; __id38_.shapeCategoryBits = "0x0001"; __id38_.shapeDensity = 1; __id38_.shapeFriction = 0.2; __id38_.shapeGroupIndex = 0; __id38_.shapeIsSensor = false; __id38_.shapeMaskBits = "0xFFFF"; __id38_.shapeRestitution = 0; try { __id38_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id254__World1_Levels_52(){ try { __id254_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id254_.body2Name = "J2"; __id254_.bodyName = "J1"; __id254_.collideConnected = false; __id254_.enableLimit = false; __id254_.enableMotor = false; __id254_.lineParameter = "0x888888"; __id254_.lineStyle = "Line"; __id254_.lowerLimit = 0; __id254_.pathReturns = false; __id254_.speed1 = 0; __id254_.speed2 = 0; __id254_.speedFlag = ""; __id254_.spring = false; __id254_.springConstant = 0; __id254_.springDamping = 0; __id254_.strength = 0; __id254_.targetName = ""; __id254_.type = "RevolutePin"; __id254_.upperLimit = 0; try { __id254_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id170__World1_Levels_39(){ try { __id170_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id170_.bodyAllowSleep = true; __id170_.bodyAngularDamping = 0; __id170_.bodyApplyGravity = true; __id170_.bodyFixedRotation = false; __id170_.bodyIsBullet = false; __id170_.bodyIsSleeping = false; __id170_.bodyIsStatic = true; __id170_.bodyLinearDamping = 0; __id170_.shapeCategoryBits = "0x0001"; __id170_.shapeDensity = 1; __id170_.shapeFriction = 0.2; __id170_.shapeGroupIndex = 0; __id170_.shapeIsSensor = false; __id170_.shapeMaskBits = "0xFFFF"; __id170_.shapeRestitution = 0.4; try { __id170_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id60__World1_Levels_13(){ try { __id60_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id60_.bodyAllowSleep = true; __id60_.bodyAngularDamping = 0; __id60_.bodyApplyGravity = true; __id60_.bodyFixedRotation = false; __id60_.bodyIsBullet = false; __id60_.bodyIsSleeping = false; __id60_.bodyIsStatic = true; __id60_.bodyLinearDamping = 0; __id60_.shapeCategoryBits = "0x0001"; __id60_.shapeDensity = 1; __id60_.shapeFriction = 0.2; __id60_.shapeGroupIndex = 0; __id60_.shapeIsSensor = false; __id60_.shapeMaskBits = "0xFFFF"; __id60_.shapeRestitution = 0; try { __id60_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id120__World1_Levels_28(){ try { __id120_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id120_.bodyAllowSleep = true; __id120_.bodyAngularDamping = 0; __id120_.bodyApplyGravity = true; __id120_.bodyFixedRotation = false; __id120_.bodyIsBullet = false; __id120_.bodyIsSleeping = true; __id120_.bodyIsStatic = false; __id120_.bodyLinearDamping = 0; __id120_.shapeCategoryBits = "0x0001"; __id120_.shapeDensity = 1; __id120_.shapeFriction = 0.2; __id120_.shapeGroupIndex = 0; __id120_.shapeIsSensor = false; __id120_.shapeMaskBits = "0xFFFF"; __id120_.shapeRestitution = 0.4; try { __id120_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id120__World1_Levels_25(){ try { __id120_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id120_.bodyAllowSleep = true; __id120_.bodyAngularDamping = 0; __id120_.bodyApplyGravity = true; __id120_.bodyFixedRotation = false; __id120_.bodyIsBullet = false; __id120_.bodyIsSleeping = true; __id120_.bodyIsStatic = false; __id120_.bodyLinearDamping = 0; __id120_.shapeCategoryBits = "0x0001"; __id120_.shapeDensity = 1; __id120_.shapeFriction = 0.2; __id120_.shapeGroupIndex = 0; __id120_.shapeIsSensor = false; __id120_.shapeMaskBits = "0xFFFF"; __id120_.shapeRestitution = 0; try { __id120_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id204__World1_Levels_49(){ try { __id204_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id204_.bodyAllowSleep = true; __id204_.bodyAngularDamping = 0; __id204_.bodyApplyGravity = true; __id204_.bodyFixedRotation = false; __id204_.bodyIsBullet = false; __id204_.bodyIsSleeping = false; __id204_.bodyIsStatic = true; __id204_.bodyLinearDamping = 0; __id204_.shapeCategoryBits = "0x0001"; __id204_.shapeDensity = 1; __id204_.shapeFriction = 0.2; __id204_.shapeGroupIndex = 0; __id204_.shapeIsSensor = false; __id204_.shapeMaskBits = "0xFFFF"; __id204_.shapeRestitution = 0.4; try { __id204_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id16__World1_Levels_1(){ try { __id16_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id16_.body2Name = "BC2"; __id16_.bodyName = "But2"; __id16_.collideConnected = false; __id16_.enableLimit = false; __id16_.enableMotor = false; __id16_.lineParameter = "0x888888"; __id16_.lineStyle = "Line"; __id16_.lowerLimit = 0; __id16_.pathReturns = false; __id16_.speed1 = 0; __id16_.speed2 = 0; __id16_.speedFlag = ""; __id16_.spring = false; __id16_.springConstant = 0; __id16_.springDamping = 0; __id16_.strength = 0; __id16_.targetName = ""; __id16_.type = "RevolutePin"; __id16_.upperLimit = 0; try { __id16_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id131__World1_Levels_29(){ try { __id131_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id131_.bodyAllowSleep = true; __id131_.bodyAngularDamping = 0; __id131_.bodyApplyGravity = true; __id131_.bodyFixedRotation = false; __id131_.bodyIsBullet = false; __id131_.bodyIsSleeping = true; __id131_.bodyIsStatic = false; __id131_.bodyLinearDamping = 0; __id131_.shapeCategoryBits = "0x0001"; __id131_.shapeDensity = 1; __id131_.shapeFriction = 0.2; __id131_.shapeGroupIndex = 0; __id131_.shapeIsSensor = false; __id131_.shapeMaskBits = "0xFFFF"; __id131_.shapeRestitution = 0; try { __id131_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id71__World1_Levels_16(){ try { __id71_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id71_.bodyAllowSleep = true; __id71_.bodyAngularDamping = 0; __id71_.bodyApplyGravity = true; __id71_.bodyFixedRotation = false; __id71_.bodyIsBullet = false; __id71_.bodyIsSleeping = false; __id71_.bodyIsStatic = true; __id71_.bodyLinearDamping = 0; __id71_.shapeCategoryBits = "0x0001"; __id71_.shapeDensity = 1; __id71_.shapeFriction = 0.2; __id71_.shapeGroupIndex = 0; __id71_.shapeIsSensor = false; __id71_.shapeMaskBits = "0xFFFF"; __id71_.shapeRestitution = 0; try { __id71_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id82__World1_Levels_17(){ try { __id82_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id82_.bodyAllowSleep = true; __id82_.bodyAngularDamping = 0; __id82_.bodyApplyGravity = true; __id82_.bodyFixedRotation = false; __id82_.bodyIsBullet = false; __id82_.bodyIsSleeping = false; __id82_.bodyIsStatic = true; __id82_.bodyLinearDamping = 0; __id82_.shapeCategoryBits = "0x0001"; __id82_.shapeDensity = 1; __id82_.shapeFriction = 0.2; __id82_.shapeGroupIndex = 0; __id82_.shapeIsSensor = false; __id82_.shapeMaskBits = "0xFFFF"; __id82_.shapeRestitution = 0; try { __id82_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Box4_World1_Levels_3(){ try { Box4["componentInspectorSetting"] = true; } catch(e:Error) { }; Box4.bodyAllowSleep = true; Box4.bodyAngularDamping = 0; Box4.bodyApplyGravity = true; Box4.bodyFixedRotation = false; Box4.bodyIsBullet = false; Box4.bodyIsSleeping = false; Box4.bodyIsStatic = false; Box4.bodyLinearDamping = 0; Box4.shapeCategoryBits = "0x0001"; Box4.shapeDensity = 0.3; Box4.shapeFriction = 0.2; Box4.shapeGroupIndex = 0; Box4.shapeIsSensor = false; Box4.shapeMaskBits = "0xFFFF"; Box4.shapeRestitution = 0; try { Box4["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Box4_World1_Levels_4(){ try { Box4["componentInspectorSetting"] = true; } catch(e:Error) { }; Box4.bodyAllowSleep = true; Box4.bodyAngularDamping = 0; Box4.bodyApplyGravity = true; Box4.bodyFixedRotation = false; Box4.bodyIsBullet = false; Box4.bodyIsSleeping = false; Box4.bodyIsStatic = false; Box4.bodyLinearDamping = 0; Box4.shapeCategoryBits = "0x0001"; Box4.shapeDensity = 0.5; Box4.shapeFriction = 0.2; Box4.shapeGroupIndex = 0; Box4.shapeIsSensor = false; Box4.shapeMaskBits = "0xFFFF"; Box4.shapeRestitution = 0; try { Box4["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id181__World1_Levels_42(){ try { __id181_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id181_.bodyAllowSleep = true; __id181_.bodyAngularDamping = 0; __id181_.bodyApplyGravity = true; __id181_.bodyFixedRotation = false; __id181_.bodyIsBullet = false; __id181_.bodyIsSleeping = true; __id181_.bodyIsStatic = false; __id181_.bodyLinearDamping = 0; __id181_.shapeCategoryBits = "0x0001"; __id181_.shapeDensity = 1; __id181_.shapeFriction = 0.2; __id181_.shapeGroupIndex = 0; __id181_.shapeIsSensor = false; __id181_.shapeMaskBits = "0xFFFF"; __id181_.shapeRestitution = 0; try { __id181_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_But1_World1_Levels_1(){ try { But1["componentInspectorSetting"] = true; } catch(e:Error) { }; But1.bodyAllowSleep = true; But1.bodyAngularDamping = 0; But1.bodyApplyGravity = true; But1.bodyFixedRotation = false; But1.bodyIsBullet = false; But1.bodyIsSleeping = false; But1.bodyIsStatic = true; But1.bodyLinearDamping = 0; But1.shapeCategoryBits = "0x0001"; But1.shapeDensity = 1; But1.shapeFriction = 0.2; But1.shapeGroupIndex = 0; But1.shapeIsSensor = false; But1.shapeMaskBits = "0xFFFF"; But1.shapeRestitution = 0; try { But1["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id29__World1_Levels_7(){ try { __id29_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id29_.bodyAllowSleep = true; __id29_.bodyAngularDamping = 0; __id29_.bodyApplyGravity = true; __id29_.bodyFixedRotation = false; __id29_.bodyIsBullet = false; __id29_.bodyIsSleeping = false; __id29_.bodyIsStatic = true; __id29_.bodyLinearDamping = 0; __id29_.shapeCategoryBits = "0x0001"; __id29_.shapeDensity = 1; __id29_.shapeFriction = 0.2; __id29_.shapeGroupIndex = 0; __id29_.shapeIsSensor = false; __id29_.shapeMaskBits = "0xFFFF"; __id29_.shapeRestitution = 0; try { __id29_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id215__World1_Levels_50(){ try { __id215_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id215_.bodyAllowSleep = true; __id215_.bodyAngularDamping = 0; __id215_.bodyApplyGravity = true; __id215_.bodyFixedRotation = false; __id215_.bodyIsBullet = false; __id215_.bodyIsSleeping = false; __id215_.bodyIsStatic = true; __id215_.bodyLinearDamping = 0; __id215_.shapeCategoryBits = "0x0001"; __id215_.shapeDensity = 1; __id215_.shapeFriction = 0.2; __id215_.shapeGroupIndex = 0; __id215_.shapeIsSensor = false; __id215_.shapeMaskBits = "0xFFFF"; __id215_.shapeRestitution = 0; try { __id215_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id192__World1_Levels_45(){ try { __id192_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id192_.bodyAllowSleep = true; __id192_.bodyAngularDamping = 0; __id192_.bodyApplyGravity = true; __id192_.bodyFixedRotation = false; __id192_.bodyIsBullet = false; __id192_.bodyIsSleeping = true; __id192_.bodyIsStatic = false; __id192_.bodyLinearDamping = 0; __id192_.shapeCategoryBits = "0x0001"; __id192_.shapeDensity = 1; __id192_.shapeFriction = 0.2; __id192_.shapeGroupIndex = 0; __id192_.shapeIsSensor = false; __id192_.shapeMaskBits = "0xFFFF"; __id192_.shapeRestitution = 0.2; try { __id192_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id226__World1_Levels_51(){ try { __id226_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id226_.bodyAllowSleep = true; __id226_.bodyAngularDamping = 0; __id226_.bodyApplyGravity = true; __id226_.bodyFixedRotation = false; __id226_.bodyIsBullet = false; __id226_.bodyIsSleeping = false; __id226_.bodyIsStatic = true; __id226_.bodyLinearDamping = 0; __id226_.shapeCategoryBits = "0x0001"; __id226_.shapeDensity = 1; __id226_.shapeFriction = 0.2; __id226_.shapeGroupIndex = 0; __id226_.shapeIsSensor = false; __id226_.shapeMaskBits = "0xFFFF"; __id226_.shapeRestitution = 0; try { __id226_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id93__World1_Levels_19(){ try { __id93_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id93_.bodyAllowSleep = true; __id93_.bodyAngularDamping = 0; __id93_.bodyApplyGravity = true; __id93_.bodyFixedRotation = false; __id93_.bodyIsBullet = false; __id93_.bodyIsSleeping = false; __id93_.bodyIsStatic = true; __id93_.bodyLinearDamping = 0; __id93_.shapeCategoryBits = "0x0001"; __id93_.shapeDensity = 1; __id93_.shapeFriction = 0.2; __id93_.shapeGroupIndex = 0; __id93_.shapeIsSensor = false; __id93_.shapeMaskBits = "0xFFFF"; __id93_.shapeRestitution = 0; try { __id93_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id142__World1_Levels_32(){ try { __id142_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id142_.bodyAllowSleep = true; __id142_.bodyAngularDamping = 0; __id142_.bodyApplyGravity = true; __id142_.bodyFixedRotation = false; __id142_.bodyIsBullet = false; __id142_.bodyIsSleeping = true; __id142_.bodyIsStatic = false; __id142_.bodyLinearDamping = 0; __id142_.shapeCategoryBits = "0x0001"; __id142_.shapeDensity = 1; __id142_.shapeFriction = 0.2; __id142_.shapeGroupIndex = 0; __id142_.shapeIsSensor = false; __id142_.shapeMaskBits = "0xFFFF"; __id142_.shapeRestitution = 0.4; try { __id142_["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function tool3TrueR(_arg1:MouseEvent){ tool3.nextFrame(); if (TUT3.currentFrame == 1){ TUT3.play(); }; } function __setProp___id153__World1_Levels_35(){ try { __id153_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id153_.bodyAllowSleep = true; __id153_.bodyAngularDamping = 0; __id153_.bodyApplyGravity = true; __id153_.bodyFixedRotation = false; __id153_.bodyIsBullet = false; __id153_.bodyIsSleeping = false; __id153_.bodyIsStatic = true; __id153_.bodyLinearDamping = 0; __id153_.shapeCategoryBits = "0x0001"; __id153_.shapeDensity = 1; __id153_.shapeFriction = 0.2; __id153_.shapeGroupIndex = 0; __id153_.shapeIsSensor = false; __id153_.shapeMaskBits = "0xFFFF"; __id153_.shapeRestitution = 0.4; try { __id153_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id237__World1_Levels_51(){ try { __id237_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id237_.bodyAllowSleep = true; __id237_.bodyAngularDamping = 0; __id237_.bodyApplyGravity = true; __id237_.bodyFixedRotation = false; __id237_.bodyIsBullet = false; __id237_.bodyIsSleeping = false; __id237_.bodyIsStatic = false; __id237_.bodyLinearDamping = 0; __id237_.shapeCategoryBits = "0x0001"; __id237_.shapeDensity = 2; __id237_.shapeFriction = 0.2; __id237_.shapeGroupIndex = 0; __id237_.shapeIsSensor = false; __id237_.shapeMaskBits = "0xFFFF"; __id237_.shapeRestitution = 0.2; try { __id237_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id103__World1_Levels_21(){ try { __id103_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id103_.bodyAllowSleep = true; __id103_.bodyAngularDamping = 0; __id103_.bodyApplyGravity = true; __id103_.bodyFixedRotation = false; __id103_.bodyIsBullet = false; __id103_.bodyIsSleeping = false; __id103_.bodyIsStatic = true; __id103_.bodyLinearDamping = 0; __id103_.shapeCategoryBits = "0x0001"; __id103_.shapeDensity = 1; __id103_.shapeFriction = 0.2; __id103_.shapeGroupIndex = 0; __id103_.shapeIsSensor = false; __id103_.shapeMaskBits = "0xFFFF"; __id103_.shapeRestitution = 0; try { __id103_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id2__World1_Levels_1(){ try { __id2_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id2_.bodyAllowSleep = true; __id2_.bodyAngularDamping = 0; __id2_.bodyApplyGravity = true; __id2_.bodyFixedRotation = false; __id2_.bodyIsBullet = false; __id2_.bodyIsSleeping = false; __id2_.bodyIsStatic = false; __id2_.bodyLinearDamping = 0; __id2_.shapeCategoryBits = "0x0001"; __id2_.shapeDensity = 1; __id2_.shapeFriction = 0.2; __id2_.shapeGroupIndex = 0; __id2_.shapeIsSensor = false; __id2_.shapeMaskBits = "0xFFFF"; __id2_.shapeRestitution = 0.3; try { __id2_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id54__World1_Levels_12(){ try { __id54_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id54_.bodyAllowSleep = true; __id54_.bodyAngularDamping = 0; __id54_.bodyApplyGravity = true; __id54_.bodyFixedRotation = false; __id54_.bodyIsBullet = false; __id54_.bodyIsSleeping = true; __id54_.bodyIsStatic = false; __id54_.bodyLinearDamping = 0; __id54_.shapeCategoryBits = "0x0001"; __id54_.shapeDensity = 1; __id54_.shapeFriction = 0.2; __id54_.shapeGroupIndex = 0; __id54_.shapeIsSensor = false; __id54_.shapeMaskBits = "0xFFFF"; __id54_.shapeRestitution = 0; try { __id54_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id248__World1_Levels_52(){ try { __id248_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id248_.body2Name = "J7"; __id248_.bodyName = "J8"; __id248_.collideConnected = false; __id248_.enableLimit = false; __id248_.enableMotor = false; __id248_.lineParameter = "0x888888"; __id248_.lineStyle = "Line"; __id248_.lowerLimit = 0; __id248_.pathReturns = false; __id248_.speed1 = 0; __id248_.speed2 = 0; __id248_.speedFlag = ""; __id248_.spring = false; __id248_.springConstant = 0; __id248_.springDamping = 0; __id248_.strength = 0; __id248_.targetName = ""; __id248_.type = "RevolutePin"; __id248_.upperLimit = 0; try { __id248_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id164__World1_Levels_38(){ try { __id164_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id164_.bodyAllowSleep = true; __id164_.bodyAngularDamping = 0; __id164_.bodyApplyGravity = true; __id164_.bodyFixedRotation = false; __id164_.bodyIsBullet = false; __id164_.bodyIsSleeping = false; __id164_.bodyIsStatic = true; __id164_.bodyLinearDamping = 0; __id164_.shapeCategoryBits = "0x0001"; __id164_.shapeDensity = 1; __id164_.shapeFriction = 0.2; __id164_.shapeGroupIndex = 0; __id164_.shapeIsSensor = false; __id164_.shapeMaskBits = "0xFFFF"; __id164_.shapeRestitution = 0.4; try { __id164_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id114__World1_Levels_24(){ try { __id114_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id114_.bodyAllowSleep = true; __id114_.bodyAngularDamping = 0; __id114_.bodyApplyGravity = true; __id114_.bodyFixedRotation = false; __id114_.bodyIsBullet = false; __id114_.bodyIsSleeping = false; __id114_.bodyIsStatic = true; __id114_.bodyLinearDamping = 0; __id114_.shapeCategoryBits = "0x0001"; __id114_.shapeDensity = 1; __id114_.shapeFriction = 0.2; __id114_.shapeGroupIndex = 0; __id114_.shapeIsSensor = false; __id114_.shapeMaskBits = "0xFFFF"; __id114_.shapeRestitution = 0; try { __id114_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id40__World1_Levels_9(){ try { __id40_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id40_.bodyAllowSleep = true; __id40_.bodyAngularDamping = 0; __id40_.bodyApplyGravity = true; __id40_.bodyFixedRotation = false; __id40_.bodyIsBullet = false; __id40_.bodyIsSleeping = false; __id40_.bodyIsStatic = true; __id40_.bodyLinearDamping = 0; __id40_.shapeCategoryBits = "0x0001"; __id40_.shapeDensity = 1; __id40_.shapeFriction = 0.2; __id40_.shapeGroupIndex = 0; __id40_.shapeIsSensor = false; __id40_.shapeMaskBits = "0xFFFF"; __id40_.shapeRestitution = 0; try { __id40_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id65__World1_Levels_14(){ try { __id65_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id65_.bodyAllowSleep = true; __id65_.bodyAngularDamping = 0; __id65_.bodyApplyGravity = true; __id65_.bodyFixedRotation = false; __id65_.bodyIsBullet = false; __id65_.bodyIsSleeping = false; __id65_.bodyIsStatic = true; __id65_.bodyLinearDamping = 0; __id65_.shapeCategoryBits = "0x0001"; __id65_.shapeDensity = 1; __id65_.shapeFriction = 0.2; __id65_.shapeGroupIndex = 0; __id65_.shapeIsSensor = false; __id65_.shapeMaskBits = "0xFFFF"; __id65_.shapeRestitution = 0; try { __id65_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Star_World1_Levels_2(){ try { Star["componentInspectorSetting"] = true; } catch(e:Error) { }; Star.bodyAllowSleep = true; Star.bodyAngularDamping = 0; Star.bodyApplyGravity = true; Star.bodyFixedRotation = false; Star.bodyIsBullet = false; Star.bodyIsSleeping = false; Star.bodyIsStatic = true; Star.bodyLinearDamping = 0; Star.shapeCategoryBits = "0x0001"; Star.shapeDensity = 1; Star.shapeFriction = 0.2; Star.shapeGroupIndex = 0; Star.shapeIsSensor = false; Star.shapeMaskBits = "0xFFFF"; Star.shapeRestitution = 0.3; try { Star["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id125__World1_Levels_25(){ try { __id125_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id125_.bodyAllowSleep = true; __id125_.bodyAngularDamping = 0; __id125_.bodyApplyGravity = true; __id125_.bodyFixedRotation = false; __id125_.bodyIsBullet = false; __id125_.bodyIsSleeping = true; __id125_.bodyIsStatic = false; __id125_.bodyLinearDamping = 0; __id125_.shapeCategoryBits = "0x0001"; __id125_.shapeDensity = 1; __id125_.shapeFriction = 0.2; __id125_.shapeGroupIndex = 0; __id125_.shapeIsSensor = false; __id125_.shapeMaskBits = "0xFFFF"; __id125_.shapeRestitution = 0; try { __id125_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Box_World1_Levels_4(){ try { Box["componentInspectorSetting"] = true; } catch(e:Error) { }; Box.bodyAllowSleep = true; Box.bodyAngularDamping = 0; Box.bodyApplyGravity = true; Box.bodyFixedRotation = false; Box.bodyIsBullet = false; Box.bodyIsSleeping = false; Box.bodyIsStatic = true; Box.bodyLinearDamping = 0; Box.shapeCategoryBits = "0x0001"; Box.shapeDensity = 1; Box.shapeFriction = 0.2; Box.shapeGroupIndex = 0; Box.shapeIsSensor = false; Box.shapeMaskBits = "0xFFFF"; Box.shapeRestitution = 0; try { Box["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Star_World1_Levels_4(){ try { Star["componentInspectorSetting"] = true; } catch(e:Error) { }; Star.bodyAllowSleep = true; Star.bodyAngularDamping = 0; Star.bodyApplyGravity = true; Star.bodyFixedRotation = false; Star.bodyIsBullet = false; Star.bodyIsSleeping = false; Star.bodyIsStatic = false; Star.bodyLinearDamping = 0; Star.shapeCategoryBits = "0x0001"; Star.shapeDensity = 1; Star.shapeFriction = 0.2; Star.shapeGroupIndex = 0; Star.shapeIsSensor = false; Star.shapeMaskBits = "0xFFFF"; Star.shapeRestitution = 0.3; try { Star["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Box_World1_Levels_3(){ try { Box["componentInspectorSetting"] = true; } catch(e:Error) { }; Box.bodyAllowSleep = true; Box.bodyAngularDamping = 0; Box.bodyApplyGravity = true; Box.bodyFixedRotation = false; Box.bodyIsBullet = false; Box.bodyIsSleeping = false; Box.bodyIsStatic = true; Box.bodyLinearDamping = 0; Box.shapeCategoryBits = "0x0001"; Box.shapeDensity = 1; Box.shapeFriction = 0.2; Box.shapeGroupIndex = 0; Box.shapeIsSensor = false; Box.shapeMaskBits = "0xFFFF"; Box.shapeRestitution = 0.5; try { Box["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id175__World1_Levels_40(){ try { __id175_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id175_.bodyAllowSleep = true; __id175_.bodyAngularDamping = 0; __id175_.bodyApplyGravity = true; __id175_.bodyFixedRotation = false; __id175_.bodyIsBullet = false; __id175_.bodyIsSleeping = false; __id175_.bodyIsStatic = true; __id175_.bodyLinearDamping = 0; __id175_.shapeCategoryBits = "0x0001"; __id175_.shapeDensity = 2; __id175_.shapeFriction = 0.2; __id175_.shapeGroupIndex = 0; __id175_.shapeIsSensor = false; __id175_.shapeMaskBits = "0xFFFF"; __id175_.shapeRestitution = 0.4; try { __id175_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id76__World1_Levels_17(){ try { __id76_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id76_.bodyAllowSleep = true; __id76_.bodyAngularDamping = 0; __id76_.bodyApplyGravity = true; __id76_.bodyFixedRotation = false; __id76_.bodyIsBullet = false; __id76_.bodyIsSleeping = false; __id76_.bodyIsStatic = true; __id76_.bodyLinearDamping = 0; __id76_.shapeCategoryBits = "0x0001"; __id76_.shapeDensity = 1; __id76_.shapeFriction = 0.2; __id76_.shapeGroupIndex = 0; __id76_.shapeIsSensor = false; __id76_.shapeMaskBits = "0xFFFF"; __id76_.shapeRestitution = 0; try { __id76_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id175__World1_Levels_41(){ try { __id175_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id175_.bodyAllowSleep = true; __id175_.bodyAngularDamping = 0; __id175_.bodyApplyGravity = true; __id175_.bodyFixedRotation = false; __id175_.bodyIsBullet = false; __id175_.bodyIsSleeping = false; __id175_.bodyIsStatic = true; __id175_.bodyLinearDamping = 0; __id175_.shapeCategoryBits = "0x0001"; __id175_.shapeDensity = 1; __id175_.shapeFriction = 0.2; __id175_.shapeGroupIndex = 0; __id175_.shapeIsSensor = false; __id175_.shapeMaskBits = "0xFFFF"; __id175_.shapeRestitution = 0.4; try { __id175_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id209__World1_Levels_50(){ try { __id209_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id209_.bodyAllowSleep = true; __id209_.bodyAngularDamping = 0; __id209_.bodyApplyGravity = true; __id209_.bodyFixedRotation = false; __id209_.bodyIsBullet = false; __id209_.bodyIsSleeping = false; __id209_.bodyIsStatic = true; __id209_.bodyLinearDamping = 0; __id209_.shapeCategoryBits = "0x0001"; __id209_.shapeDensity = 1; __id209_.shapeFriction = 0.2; __id209_.shapeGroupIndex = 0; __id209_.shapeIsSensor = false; __id209_.shapeMaskBits = "0xFFFF"; __id209_.shapeRestitution = 0; try { __id209_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id250__World1_Levels_52(){ try { __id250_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id250_.body2Name = "J5"; __id250_.bodyName = "J6"; __id250_.collideConnected = false; __id250_.enableLimit = false; __id250_.enableMotor = false; __id250_.lineParameter = "0x888888"; __id250_.lineStyle = "Line"; __id250_.lowerLimit = 0; __id250_.pathReturns = false; __id250_.speed1 = 0; __id250_.speed2 = 0; __id250_.speedFlag = ""; __id250_.spring = false; __id250_.springConstant = 0; __id250_.springDamping = 0; __id250_.strength = 0; __id250_.targetName = ""; __id250_.type = "RevolutePin"; __id250_.upperLimit = 0; try { __id250_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id87__World1_Levels_17(){ try { __id87_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id87_.bodyAllowSleep = true; __id87_.bodyAngularDamping = 0; __id87_.bodyApplyGravity = true; __id87_.bodyFixedRotation = false; __id87_.bodyIsBullet = false; __id87_.bodyIsSleeping = false; __id87_.bodyIsStatic = true; __id87_.bodyLinearDamping = 0; __id87_.shapeCategoryBits = "0x0001"; __id87_.shapeDensity = 1; __id87_.shapeFriction = 0.2; __id87_.shapeGroupIndex = 0; __id87_.shapeIsSensor = false; __id87_.shapeMaskBits = "0xFFFF"; __id87_.shapeRestitution = 0; try { __id87_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id136__World1_Levels_30(){ try { __id136_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id136_.bodyAllowSleep = true; __id136_.bodyAngularDamping = 0; __id136_.bodyApplyGravity = true; __id136_.bodyFixedRotation = false; __id136_.bodyIsBullet = false; __id136_.bodyIsSleeping = true; __id136_.bodyIsStatic = false; __id136_.bodyLinearDamping = 0; __id136_.shapeCategoryBits = "0x0001"; __id136_.shapeDensity = 1; __id136_.shapeFriction = 0.2; __id136_.shapeGroupIndex = 0; __id136_.shapeIsSensor = false; __id136_.shapeMaskBits = "0xFFFF"; __id136_.shapeRestitution = 0; try { __id136_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id31__World1_Levels_8(){ try { __id31_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id31_.bodyAllowSleep = true; __id31_.bodyAngularDamping = 0; __id31_.bodyApplyGravity = true; __id31_.bodyFixedRotation = false; __id31_.bodyIsBullet = false; __id31_.bodyIsSleeping = false; __id31_.bodyIsStatic = true; __id31_.bodyLinearDamping = 0; __id31_.shapeCategoryBits = "0x0001"; __id31_.shapeDensity = 1; __id31_.shapeFriction = 0.2; __id31_.shapeGroupIndex = 0; __id31_.shapeIsSensor = false; __id31_.shapeMaskBits = "0xFFFF"; __id31_.shapeRestitution = 0; try { __id31_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id200__World1_Levels_47(){ try { __id200_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id200_.bodyAllowSleep = true; __id200_.bodyAngularDamping = 0; __id200_.bodyApplyGravity = true; __id200_.bodyFixedRotation = false; __id200_.bodyIsBullet = false; __id200_.bodyIsSleeping = false; __id200_.bodyIsStatic = true; __id200_.bodyLinearDamping = 0; __id200_.shapeCategoryBits = "0x0001"; __id200_.shapeDensity = 1; __id200_.shapeFriction = 0.2; __id200_.shapeGroupIndex = 0; __id200_.shapeIsSensor = false; __id200_.shapeMaskBits = "0xFFFF"; __id200_.shapeRestitution = 0; try { __id200_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id6__World1_Levels_1(){ try { __id6_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id6_.bodyAllowSleep = true; __id6_.bodyAngularDamping = 0; __id6_.bodyApplyGravity = true; __id6_.bodyFixedRotation = false; __id6_.bodyIsBullet = false; __id6_.bodyIsSleeping = false; __id6_.bodyIsStatic = false; __id6_.bodyLinearDamping = 0; __id6_.shapeCategoryBits = "0x0001"; __id6_.shapeDensity = 1; __id6_.shapeFriction = 0.2; __id6_.shapeGroupIndex = 0; __id6_.shapeIsSensor = false; __id6_.shapeMaskBits = "0xFFFF"; __id6_.shapeRestitution = 0.3; try { __id6_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id186__World1_Levels_43(){ try { __id186_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id186_.bodyAllowSleep = true; __id186_.bodyAngularDamping = 0; __id186_.bodyApplyGravity = true; __id186_.bodyFixedRotation = false; __id186_.bodyIsBullet = false; __id186_.bodyIsSleeping = false; __id186_.bodyIsStatic = true; __id186_.bodyLinearDamping = 0; __id186_.shapeCategoryBits = "0x0001"; __id186_.shapeDensity = 1; __id186_.shapeFriction = 0.2; __id186_.shapeGroupIndex = 0; __id186_.shapeIsSensor = false; __id186_.shapeMaskBits = "0xFFFF"; __id186_.shapeRestitution = 0; try { __id186_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id197__World1_Levels_47(){ try { __id197_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id197_.bodyAllowSleep = true; __id197_.bodyAngularDamping = 0; __id197_.bodyApplyGravity = true; __id197_.bodyFixedRotation = false; __id197_.bodyIsBullet = false; __id197_.bodyIsSleeping = false; __id197_.bodyIsStatic = true; __id197_.bodyLinearDamping = 0; __id197_.shapeCategoryBits = "0x0001"; __id197_.shapeDensity = 1; __id197_.shapeFriction = 0.2; __id197_.shapeGroupIndex = 0; __id197_.shapeIsSensor = false; __id197_.shapeMaskBits = "0xFFFF"; __id197_.shapeRestitution = 0.4; try { __id197_["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function tool4TrueR(_arg1:MouseEvent){ tool4.nextFrame(); if (TUT4.currentFrame == 1){ TUT4.play(); }; } function __setProp___id147__World1_Levels_33(){ try { __id147_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id147_.bodyAllowSleep = true; __id147_.bodyAngularDamping = 0; __id147_.bodyApplyGravity = true; __id147_.bodyFixedRotation = false; __id147_.bodyIsBullet = false; __id147_.bodyIsSleeping = false; __id147_.bodyIsStatic = true; __id147_.bodyLinearDamping = 0; __id147_.shapeCategoryBits = "0x0001"; __id147_.shapeDensity = 2; __id147_.shapeFriction = 0.2; __id147_.shapeGroupIndex = 0; __id147_.shapeIsSensor = false; __id147_.shapeMaskBits = "0xFFFF"; __id147_.shapeRestitution = 0.5; try { __id147_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id98__World1_Levels_21(){ try { __id98_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id98_.bodyAllowSleep = true; __id98_.bodyAngularDamping = 0; __id98_.bodyApplyGravity = true; __id98_.bodyFixedRotation = false; __id98_.bodyIsBullet = false; __id98_.bodyIsSleeping = false; __id98_.bodyIsStatic = true; __id98_.bodyLinearDamping = 0; __id98_.shapeCategoryBits = "0x0001"; __id98_.shapeDensity = 1; __id98_.shapeFriction = 0.2; __id98_.shapeGroupIndex = 0; __id98_.shapeIsSensor = false; __id98_.shapeMaskBits = "0xFFFF"; __id98_.shapeRestitution = 0; try { __id98_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id211__World1_Levels_50(){ try { __id211_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id211_.bodyAllowSleep = true; __id211_.bodyAngularDamping = 0; __id211_.bodyApplyGravity = true; __id211_.bodyFixedRotation = false; __id211_.bodyIsBullet = false; __id211_.bodyIsSleeping = false; __id211_.bodyIsStatic = true; __id211_.bodyLinearDamping = 0; __id211_.shapeCategoryBits = "0x0001"; __id211_.shapeDensity = 1; __id211_.shapeFriction = 0.2; __id211_.shapeGroupIndex = 0; __id211_.shapeIsSensor = false; __id211_.shapeMaskBits = "0xFFFF"; __id211_.shapeRestitution = 0; try { __id211_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame6(){ if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((int(__setPropDict[Star]) >= 2)) && ((int(__setPropDict[Star]) <= 3)))) || ((((int(__setPropDict[Star]) >= 5)) && ((int(__setPropDict[Star]) <= 8)))))) || ((int(__setPropDict[Star]) == 9)))) || ((int(__setPropDict[Star]) == 11))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_2(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 6)) && ((int(__setPropDict[__id22_]) <= 7))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__World1_Levels_6(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[V] == undefined)) || (!((((int(__setPropDict[V]) >= 6)) && ((int(__setPropDict[V]) <= 7))))))){ __setPropDict[V] = currentFrame; __setProp_V_World1_Levels_6(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); } function __setProp___id98__World1_Levels_22(){ try { __id98_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id98_.bodyAllowSleep = true; __id98_.bodyAngularDamping = 0; __id98_.bodyApplyGravity = true; __id98_.bodyFixedRotation = false; __id98_.bodyIsBullet = false; __id98_.bodyIsSleeping = false; __id98_.bodyIsStatic = false; __id98_.bodyLinearDamping = 0; __id98_.shapeCategoryBits = "0x0001"; __id98_.shapeDensity = 1; __id98_.shapeFriction = 0.2; __id98_.shapeGroupIndex = 0; __id98_.shapeIsSensor = false; __id98_.shapeMaskBits = "0xFFFF"; __id98_.shapeRestitution = 0.4; try { __id98_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id98__World1_Levels_23(){ try { __id98_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id98_.bodyAllowSleep = true; __id98_.bodyAngularDamping = 0; __id98_.bodyApplyGravity = true; __id98_.bodyFixedRotation = false; __id98_.bodyIsBullet = false; __id98_.bodyIsSleeping = false; __id98_.bodyIsStatic = false; __id98_.bodyLinearDamping = 0; __id98_.shapeCategoryBits = "0x0001"; __id98_.shapeDensity = 1; __id98_.shapeFriction = 0.2; __id98_.shapeGroupIndex = 0; __id98_.shapeIsSensor = false; __id98_.shapeMaskBits = "0xFFFF"; __id98_.shapeRestitution = 0; try { __id98_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame3(){ if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[Box5] == undefined)) || (!((int(__setPropDict[Box5]) == 3))))){ __setPropDict[Box5] = currentFrame; __setProp_Box5_World1_Levels_3(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((int(__setPropDict[Star]) >= 2)) && ((int(__setPropDict[Star]) <= 3)))) || ((((int(__setPropDict[Star]) >= 5)) && ((int(__setPropDict[Star]) <= 8)))))) || ((int(__setPropDict[Star]) == 9)))) || ((int(__setPropDict[Star]) == 11))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_2(); }; if ((((__setPropDict[Box3] == undefined)) || (!((int(__setPropDict[Box3]) == 3))))){ __setPropDict[Box3] = currentFrame; __setProp_Box3_World1_Levels_3(); }; if ((((__setPropDict[Box2] == undefined)) || (!((int(__setPropDict[Box2]) == 3))))){ __setPropDict[Box2] = currentFrame; __setProp_Box2_World1_Levels_3(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[Box4] == undefined)) || (!((int(__setPropDict[Box4]) == 3))))){ __setPropDict[Box4] = currentFrame; __setProp_Box4_World1_Levels_3(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.addEventListener(MouseEvent.CLICK, tool1True); create(); tool1.gotoAndStop(1); tool1Valgt = false; } function frame5(){ if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((int(__setPropDict[Star]) >= 2)) && ((int(__setPropDict[Star]) <= 3)))) || ((((int(__setPropDict[Star]) >= 5)) && ((int(__setPropDict[Star]) <= 8)))))) || ((int(__setPropDict[Star]) == 9)))) || ((int(__setPropDict[Star]) == 11))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_2(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.addEventListener(MouseEvent.CLICK, tool2True); create(); newTool = true; tool2Valgt = false; tool2.gotoAndStop(1); tool1Valgt = false; tool1.gotoAndStop(1); } function __setProp___id48__World1_Levels_12(){ try { __id48_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id48_.bodyAllowSleep = true; __id48_.bodyAngularDamping = 0; __id48_.bodyApplyGravity = true; __id48_.bodyFixedRotation = false; __id48_.bodyIsBullet = false; __id48_.bodyIsSleeping = false; __id48_.bodyIsStatic = true; __id48_.bodyLinearDamping = 0; __id48_.shapeCategoryBits = "0x0001"; __id48_.shapeDensity = 5; __id48_.shapeFriction = 0.2; __id48_.shapeGroupIndex = 0; __id48_.shapeIsSensor = false; __id48_.shapeMaskBits = "0xFFFF"; __id48_.shapeRestitution = 0; try { __id48_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame8(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 7)) && ((int(__setPropDict[__id29_]) <= 8))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__World1_Levels_7(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 7)) && ((int(__setPropDict[__id28_]) <= 8))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__World1_Levels_7(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 7)) && ((int(__setPropDict[__id26_]) <= 8))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__World1_Levels_7(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 8)) && ((int(__setPropDict[__id31_]) <= 9))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__World1_Levels_8(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((int(__setPropDict[Star]) >= 2)) && ((int(__setPropDict[Star]) <= 3)))) || ((((int(__setPropDict[Star]) >= 5)) && ((int(__setPropDict[Star]) <= 8)))))) || ((int(__setPropDict[Star]) == 9)))) || ((int(__setPropDict[Star]) == 11))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_2(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); newTool = true; } function __setProp___id158__World1_Levels_37(){ try { __id158_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id158_.bodyAllowSleep = true; __id158_.bodyAngularDamping = 0; __id158_.bodyApplyGravity = true; __id158_.bodyFixedRotation = false; __id158_.bodyIsBullet = false; __id158_.bodyIsSleeping = false; __id158_.bodyIsStatic = true; __id158_.bodyLinearDamping = 0; __id158_.shapeCategoryBits = "0x0001"; __id158_.shapeDensity = 1; __id158_.shapeFriction = 0.2; __id158_.shapeGroupIndex = 0; __id158_.shapeIsSensor = false; __id158_.shapeMaskBits = "0xFFFF"; __id158_.shapeRestitution = 0.4; try { __id158_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id108__World1_Levels_22(){ try { __id108_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id108_.bodyAllowSleep = true; __id108_.bodyAngularDamping = 0; __id108_.bodyApplyGravity = true; __id108_.bodyFixedRotation = false; __id108_.bodyIsBullet = false; __id108_.bodyIsSleeping = false; __id108_.bodyIsStatic = true; __id108_.bodyLinearDamping = 0; __id108_.shapeCategoryBits = "0x0001"; __id108_.shapeDensity = 1; __id108_.shapeFriction = 0.2; __id108_.shapeGroupIndex = 0; __id108_.shapeIsSensor = false; __id108_.shapeMaskBits = "0xFFFF"; __id108_.shapeRestitution = 0; try { __id108_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame4(){ if ((((__setPropDict[Star] == undefined)) || (!((((int(__setPropDict[Star]) == 4)) || ((int(__setPropDict[Star]) == 10))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_4(); }; if ((((__setPropDict[Box3] == undefined)) || (!((int(__setPropDict[Box3]) == 4))))){ __setPropDict[Box3] = currentFrame; __setProp_Box3_World1_Levels_4(); }; if ((((__setPropDict[__id18_] == undefined)) || (!((int(__setPropDict[__id18_]) == 4))))){ __setPropDict[__id18_] = currentFrame; __setProp___id18__World1_Levels_4(); }; if ((((__setPropDict[Box2] == undefined)) || (!((int(__setPropDict[Box2]) == 4))))){ __setPropDict[Box2] = currentFrame; __setProp_Box2_World1_Levels_4(); }; if ((((__setPropDict[__id19_] == undefined)) || (!((int(__setPropDict[__id19_]) == 4))))){ __setPropDict[__id19_] = currentFrame; __setProp___id19__World1_Levels_4(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[Box5] == undefined)) || (!((int(__setPropDict[Box5]) == 4))))){ __setPropDict[Box5] = currentFrame; __setProp_Box5_World1_Levels_4(); }; if ((((__setPropDict[Box4] == undefined)) || (!((int(__setPropDict[Box4]) == 4))))){ __setPropDict[Box4] = currentFrame; __setProp_Box4_World1_Levels_4(); }; if ((((__setPropDict[__id21_] == undefined)) || (!((int(__setPropDict[__id21_]) == 4))))){ __setPropDict[__id21_] = currentFrame; __setProp___id21__World1_Levels_4(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id20_] == undefined)) || (!((int(__setPropDict[__id20_]) == 4))))){ __setPropDict[__id20_] = currentFrame; __setProp___id20__World1_Levels_4(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.addEventListener(MouseEvent.CLICK, tool1trueR); create(); tool1Valgt = false; tool1.gotoAndStop(1); } function frame7(){ if ((((__setPropDict[__id29_] == undefined)) || (!((((int(__setPropDict[__id29_]) >= 7)) && ((int(__setPropDict[__id29_]) <= 8))))))){ __setPropDict[__id29_] = currentFrame; __setProp___id29__World1_Levels_7(); }; if ((((__setPropDict[__id28_] == undefined)) || (!((((int(__setPropDict[__id28_]) >= 7)) && ((int(__setPropDict[__id28_]) <= 8))))))){ __setPropDict[__id28_] = currentFrame; __setProp___id28__World1_Levels_7(); }; if ((((__setPropDict[__id26_] == undefined)) || (!((((int(__setPropDict[__id26_]) >= 7)) && ((int(__setPropDict[__id26_]) <= 8))))))){ __setPropDict[__id26_] = currentFrame; __setProp___id26__World1_Levels_7(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[__id24_] == undefined)) || (!((int(__setPropDict[__id24_]) == 7))))){ __setPropDict[__id24_] = currentFrame; __setProp___id24__World1_Levels_7(); }; if ((((__setPropDict[__id25_] == undefined)) || (!((int(__setPropDict[__id25_]) == 7))))){ __setPropDict[__id25_] = currentFrame; __setProp___id25__World1_Levels_7(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((int(__setPropDict[Star]) >= 2)) && ((int(__setPropDict[Star]) <= 3)))) || ((((int(__setPropDict[Star]) >= 5)) && ((int(__setPropDict[Star]) <= 8)))))) || ((int(__setPropDict[Star]) == 9)))) || ((int(__setPropDict[Star]) == 11))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_2(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 7))))){ __setPropDict[__id27_] = currentFrame; __setProp___id27__World1_Levels_7(); }; if ((((__setPropDict[__id30_] == undefined)) || (!((int(__setPropDict[__id30_]) == 7))))){ __setPropDict[__id30_] = currentFrame; __setProp___id30__World1_Levels_7(); }; if ((((__setPropDict[__id22_] == undefined)) || (!((((int(__setPropDict[__id22_]) >= 6)) && ((int(__setPropDict[__id22_]) <= 7))))))){ __setPropDict[__id22_] = currentFrame; __setProp___id22__World1_Levels_6(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[V] == undefined)) || (!((((int(__setPropDict[V]) >= 6)) && ((int(__setPropDict[V]) <= 7))))))){ __setPropDict[V] = currentFrame; __setProp_V_World1_Levels_6(); }; if ((((__setPropDict[__id23_] == undefined)) || (!((int(__setPropDict[__id23_]) == 7))))){ __setPropDict[__id23_] = currentFrame; __setProp___id23__World1_Levels_7(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1trueR); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); MovieClip(root).Skips = (MovieClip(root).Skips + 1); } function frame9(){ if ((((__setPropDict[__id38_] == undefined)) || (!((((int(__setPropDict[__id38_]) >= 9)) && ((int(__setPropDict[__id38_]) <= 10))))))){ __setPropDict[__id38_] = currentFrame; __setProp___id38__World1_Levels_9(); }; if ((((__setPropDict[__id33_] == undefined)) || (!((int(__setPropDict[__id33_]) == 9))))){ __setPropDict[__id33_] = currentFrame; __setProp___id33__World1_Levels_9(); }; if ((((__setPropDict[__id39_] == undefined)) || (!((((int(__setPropDict[__id39_]) >= 9)) && ((int(__setPropDict[__id39_]) <= 10))))))){ __setPropDict[__id39_] = currentFrame; __setProp___id39__World1_Levels_9(); }; if ((((__setPropDict[__id37_] == undefined)) || (!((((int(__setPropDict[__id37_]) >= 9)) && ((int(__setPropDict[__id37_]) <= 10))))))){ __setPropDict[__id37_] = currentFrame; __setProp___id37__World1_Levels_9(); }; if ((((__setPropDict[__id34_] == undefined)) || (!((int(__setPropDict[__id34_]) == 9))))){ __setPropDict[__id34_] = currentFrame; __setProp___id34__World1_Levels_9(); }; if ((((__setPropDict[__id36_] == undefined)) || (!((((int(__setPropDict[__id36_]) >= 9)) && ((int(__setPropDict[__id36_]) <= 10))))))){ __setPropDict[__id36_] = currentFrame; __setProp___id36__World1_Levels_9(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 3)) && ((int(__setPropDict[Box]) <= 14))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_3(); }; if ((((__setPropDict[__id31_] == undefined)) || (!((((int(__setPropDict[__id31_]) >= 8)) && ((int(__setPropDict[__id31_]) <= 9))))))){ __setPropDict[__id31_] = currentFrame; __setProp___id31__World1_Levels_8(); }; if ((((__setPropDict[Star] == undefined)) || (!((((((((((int(__setPropDict[Star]) >= 2)) && ((int(__setPropDict[Star]) <= 3)))) || ((((int(__setPropDict[Star]) >= 5)) && ((int(__setPropDict[Star]) <= 8)))))) || ((int(__setPropDict[Star]) == 9)))) || ((int(__setPropDict[Star]) == 11))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_2(); }; if ((((__setPropDict[Box] == undefined)) || (!((((int(__setPropDict[Box]) >= 4)) && ((int(__setPropDict[Box]) <= 52))))))){ __setPropDict[Box] = currentFrame; __setProp_Box_World1_Levels_4(); }; if ((((__setPropDict[__id40_] == undefined)) || (!((int(__setPropDict[__id40_]) == 9))))){ __setPropDict[__id40_] = currentFrame; __setProp___id40__World1_Levels_9(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; if ((((__setPropDict[__id35_] == undefined)) || (!((((int(__setPropDict[__id35_]) >= 9)) && ((int(__setPropDict[__id35_]) <= 11))))))){ __setPropDict[__id35_] = currentFrame; __setProp___id35__World1_Levels_9(); }; MovieClip(root).Arrow = Arrow; if (MovieClip(root).so.data.currentLevel <= (currentFrame - 2)){ MovieClip(root).currentLevel = (MovieClip(root).currentLevel + 1); MovieClip(root).so.data.currentLevel = MovieClip(root).currentLevel; MovieClip(root).so.flush(); }; tool1.removeEventListener(MouseEvent.CLICK, tool1trueR); tool1.addEventListener(MouseEvent.CLICK, tool1True2); tool2.removeEventListener(MouseEvent.CLICK, tool2True); tool2.addEventListener(MouseEvent.CLICK, tool2True); tool3.addEventListener(MouseEvent.CLICK, tool3TrueR); create(); tool1Valgt = false; tool1.gotoAndStop(1); tool2Valgt = false; tool2.gotoAndStop(1); tool3Valgt = false; tool3.gotoAndStop(1); } function frame1(){ if ((((__setPropDict[__id4_] == undefined)) || (!((int(__setPropDict[__id4_]) == 1))))){ __setPropDict[__id4_] = currentFrame; __setProp___id4__World1_Levels_1(); }; if ((((__setPropDict[__id3_] == undefined)) || (!((int(__setPropDict[__id3_]) == 1))))){ __setPropDict[__id3_] = currentFrame; __setProp___id3__World1_Levels_1(); }; if ((((__setPropDict[But2] == undefined)) || (!((((int(__setPropDict[But2]) == 1)) || ((int(__setPropDict[But2]) == 52))))))){ __setPropDict[But2] = currentFrame; __setProp_But2_World1_Levels_1(); }; if ((((__setPropDict[__id11_] == undefined)) || (!((int(__setPropDict[__id11_]) == 1))))){ __setPropDict[__id11_] = currentFrame; __setProp___id11__World1_Levels_1(); }; if ((((__setPropDict[__id14_] == undefined)) || (!((int(__setPropDict[__id14_]) == 1))))){ __setPropDict[__id14_] = currentFrame; __setProp___id14__World1_Levels_1(); }; if ((((__setPropDict[__id17_] == undefined)) || (!((int(__setPropDict[__id17_]) == 1))))){ __setPropDict[__id17_] = currentFrame; __setProp___id17__World1_Levels_1(); }; if ((((__setPropDict[__id2_] == undefined)) || (!((int(__setPropDict[__id2_]) == 1))))){ __setPropDict[__id2_] = currentFrame; __setProp___id2__World1_Levels_1(); }; if ((((__setPropDict[__id9_] == undefined)) || (!((int(__setPropDict[__id9_]) == 1))))){ __setPropDict[__id9_] = currentFrame; __setProp___id9__World1_Levels_1(); }; if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 1))))){ __setPropDict[__id1_] = currentFrame; __setProp___id1__World1_Levels_1(); }; if ((((__setPropDict[__id8_] == undefined)) || (!((int(__setPropDict[__id8_]) == 1))))){ __setPropDict[__id8_] = currentFrame; __setProp___id8__World1_Levels_1(); }; if ((((__setPropDict[__id10_] == undefined)) || (!((int(__setPropDict[__id10_]) == 1))))){ __setPropDict[__id10_] = currentFrame; __setProp___id10__World1_Levels_1(); }; if ((((__setPropDict[__id12_] == undefined)) || (!((int(__setPropDict[__id12_]) == 1))))){ __setPropDict[__id12_] = currentFrame; __setProp___id12__World1_Levels_1(); }; if ((((__setPropDict[__id0_] == undefined)) || (!((int(__setPropDict[__id0_]) == 1))))){ __setPropDict[__id0_] = currentFrame; __setProp___id0__World1_Levels_1(); }; if ((((__setPropDict[But1] == undefined)) || (!((int(__setPropDict[But1]) == 1))))){ __setPropDict[But1] = currentFrame; __setProp_But1_World1_Levels_1(); }; if ((((__setPropDict[__id5_] == undefined)) || (!((int(__setPropDict[__id5_]) == 1))))){ __setPropDict[__id5_] = currentFrame; __setProp___id5__World1_Levels_1(); }; if ((((__setPropDict[__id13_] == undefined)) || (!((int(__setPropDict[__id13_]) == 1))))){ __setPropDict[__id13_] = currentFrame; __setProp___id13__World1_Levels_1(); }; if ((((__setPropDict[__id7_] == undefined)) || (!((int(__setPropDict[__id7_]) == 1))))){ __setPropDict[__id7_] = currentFrame; __setProp___id7__World1_Levels_1(); }; if ((((__setPropDict[__id16_] == undefined)) || (!((int(__setPropDict[__id16_]) == 1))))){ __setPropDict[__id16_] = currentFrame; __setProp___id16__World1_Levels_1(); }; if ((((__setPropDict[__id6_] == undefined)) || (!((int(__setPropDict[__id6_]) == 1))))){ __setPropDict[__id6_] = currentFrame; __setProp___id6__World1_Levels_1(); }; if ((((__setPropDict[__id15_] == undefined)) || (!((int(__setPropDict[__id15_]) == 1))))){ __setPropDict[__id15_] = currentFrame; __setProp___id15__World1_Levels_1(); }; create(); } function frame2(){ if ((((__setPropDict[Star] == undefined)) || (!((((((((((int(__setPropDict[Star]) >= 2)) && ((int(__setPropDict[Star]) <= 3)))) || ((((int(__setPropDict[Star]) >= 5)) && ((int(__setPropDict[Star]) <= 8)))))) || ((int(__setPropDict[Star]) == 9)))) || ((int(__setPropDict[Star]) == 11))))))){ __setPropDict[Star] = currentFrame; __setProp_Star_World1_Levels_2(); }; if ((((__setPropDict[Arrow] == undefined)) || (!((((((((((((((((int(__setPropDict[Arrow]) >= 2)) && ((int(__setPropDict[Arrow]) <= 9)))) || ((((int(__setPropDict[Arrow]) >= 10)) && ((int(__setPropDict[Arrow]) <= 12)))))) || ((((int(__setPropDict[Arrow]) >= 18)) && ((int(__setPropDict[Arrow]) <= 22)))))) || ((int(__setPropDict[Arrow]) == 43)))) || ((((int(__setPropDict[Arrow]) >= 44)) && ((int(__setPropDict[Arrow]) <= 46)))))) || ((((int(__setPropDict[Arrow]) >= 47)) && ((int(__setPropDict[Arrow]) <= 50)))))) || ((int(__setPropDict[Arrow]) == 51))))))){ __setPropDict[Arrow] = currentFrame; __setProp_Arrow_World1_Levels_2(); }; MovieClip(root).Arrow = Arrow; create(); } function __setProp___id222__World1_Levels_50(){ try { __id222_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id222_.bodyAllowSleep = true; __id222_.bodyAngularDamping = 0; __id222_.bodyApplyGravity = true; __id222_.bodyFixedRotation = false; __id222_.bodyIsBullet = false; __id222_.bodyIsSleeping = true; __id222_.bodyIsStatic = false; __id222_.bodyLinearDamping = 0; __id222_.shapeCategoryBits = "0x0001"; __id222_.shapeDensity = 1; __id222_.shapeFriction = 0.2; __id222_.shapeGroupIndex = 0; __id222_.shapeIsSensor = false; __id222_.shapeMaskBits = "0xFFFF"; __id222_.shapeRestitution = 1; try { __id222_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id59__World1_Levels_13(){ try { __id59_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id59_.bodyAllowSleep = true; __id59_.bodyAngularDamping = 0; __id59_.bodyApplyGravity = true; __id59_.bodyFixedRotation = false; __id59_.bodyIsBullet = false; __id59_.bodyIsSleeping = false; __id59_.bodyIsStatic = true; __id59_.bodyLinearDamping = 0; __id59_.shapeCategoryBits = "0x0001"; __id59_.shapeDensity = 1; __id59_.shapeFriction = 0.2; __id59_.shapeGroupIndex = 0; __id59_.shapeIsSensor = false; __id59_.shapeMaskBits = "0xFFFF"; __id59_.shapeRestitution = 0; try { __id59_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id22__World1_Levels_6(){ try { __id22_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id22_.bodyAllowSleep = true; __id22_.bodyAngularDamping = 0; __id22_.bodyApplyGravity = true; __id22_.bodyFixedRotation = false; __id22_.bodyIsBullet = false; __id22_.bodyIsSleeping = true; __id22_.bodyIsStatic = false; __id22_.bodyLinearDamping = 0; __id22_.shapeCategoryBits = "0x0001"; __id22_.shapeDensity = 1; __id22_.shapeFriction = 0.2; __id22_.shapeGroupIndex = 0; __id22_.shapeIsSensor = false; __id22_.shapeMaskBits = "0xFFFF"; __id22_.shapeRestitution = 0; try { __id22_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id169__World1_Levels_39(){ try { __id169_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id169_.bodyAllowSleep = true; __id169_.bodyAngularDamping = 0; __id169_.bodyApplyGravity = true; __id169_.bodyFixedRotation = false; __id169_.bodyIsBullet = false; __id169_.bodyIsSleeping = false; __id169_.bodyIsStatic = true; __id169_.bodyLinearDamping = 0; __id169_.shapeCategoryBits = "0x0001"; __id169_.shapeDensity = 1; __id169_.shapeFriction = 0.2; __id169_.shapeGroupIndex = 0; __id169_.shapeIsSensor = false; __id169_.shapeMaskBits = "0xFFFF"; __id169_.shapeRestitution = 0.4; try { __id169_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id119__World1_Levels_24(){ try { __id119_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id119_.bodyAllowSleep = true; __id119_.bodyAngularDamping = 0; __id119_.bodyApplyGravity = true; __id119_.bodyFixedRotation = false; __id119_.bodyIsBullet = false; __id119_.bodyIsSleeping = false; __id119_.bodyIsStatic = true; __id119_.bodyLinearDamping = 0; __id119_.shapeCategoryBits = "0x0001"; __id119_.shapeDensity = 1; __id119_.shapeFriction = 5; __id119_.shapeGroupIndex = 0; __id119_.shapeIsSensor = false; __id119_.shapeMaskBits = "0xFFFF"; __id119_.shapeRestitution = 0.5; try { __id119_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id233__World1_Levels_51(){ try { __id233_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id233_.bodyAllowSleep = true; __id233_.bodyAngularDamping = 0; __id233_.bodyApplyGravity = true; __id233_.bodyFixedRotation = false; __id233_.bodyIsBullet = false; __id233_.bodyIsSleeping = false; __id233_.bodyIsStatic = true; __id233_.bodyLinearDamping = 0; __id233_.shapeCategoryBits = "0x0001"; __id233_.shapeDensity = 1; __id233_.shapeFriction = 0.2; __id233_.shapeGroupIndex = 0; __id233_.shapeIsSensor = false; __id233_.shapeMaskBits = "0xFFFF"; __id233_.shapeRestitution = 0; try { __id233_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id35__World1_Levels_9(){ try { __id35_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id35_.bodyAllowSleep = true; __id35_.bodyAngularDamping = 0; __id35_.bodyApplyGravity = true; __id35_.bodyFixedRotation = false; __id35_.bodyIsBullet = false; __id35_.bodyIsSleeping = false; __id35_.bodyIsStatic = true; __id35_.bodyLinearDamping = 0; __id35_.shapeCategoryBits = "0x0001"; __id35_.shapeDensity = 1; __id35_.shapeFriction = 0.2; __id35_.shapeGroupIndex = 0; __id35_.shapeIsSensor = false; __id35_.shapeMaskBits = "0xFFFF"; __id35_.shapeRestitution = 0; try { __id35_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Arrow_World1_Levels_2(){ try { Arrow["componentInspectorSetting"] = true; } catch(e:Error) { }; Arrow.bodyAllowSleep = true; Arrow.bodyAngularDamping = 0; Arrow.bodyApplyGravity = true; Arrow.bodyFixedRotation = false; Arrow.bodyIsBullet = false; Arrow.bodyIsSleeping = true; Arrow.bodyIsStatic = false; Arrow.bodyLinearDamping = 0; Arrow.shapeCategoryBits = "0x0001"; Arrow.shapeDensity = 1; Arrow.shapeFriction = 0.2; Arrow.shapeGroupIndex = 0; Arrow.shapeIsSensor = false; Arrow.shapeMaskBits = "0xFFFF"; Arrow.shapeRestitution = 0.2; try { Arrow["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id50__World1_Levels_12(){ try { __id50_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id50_.bodyAllowSleep = true; __id50_.bodyAngularDamping = 0; __id50_.bodyApplyGravity = true; __id50_.bodyFixedRotation = false; __id50_.bodyIsBullet = false; __id50_.bodyIsSleeping = true; __id50_.bodyIsStatic = false; __id50_.bodyLinearDamping = 0; __id50_.shapeCategoryBits = "0x0001"; __id50_.shapeDensity = 1; __id50_.shapeFriction = 0.2; __id50_.shapeGroupIndex = 0; __id50_.shapeIsSensor = false; __id50_.shapeMaskBits = "0xFFFF"; __id50_.shapeRestitution = 0; try { __id50_["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function tool5True(_arg1:MouseEvent){ tool5.nextFrame(); } function __setProp___id160__World1_Levels_37(){ try { __id160_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id160_.bodyAllowSleep = true; __id160_.bodyAngularDamping = 0; __id160_.bodyApplyGravity = true; __id160_.bodyFixedRotation = false; __id160_.bodyIsBullet = false; __id160_.bodyIsSleeping = false; __id160_.bodyIsStatic = true; __id160_.bodyLinearDamping = 0; __id160_.shapeCategoryBits = "0x0001"; __id160_.shapeDensity = 1; __id160_.shapeFriction = 0.2; __id160_.shapeGroupIndex = 0; __id160_.shapeIsSensor = false; __id160_.shapeMaskBits = "0xFFFF"; __id160_.shapeRestitution = 0.4; try { __id160_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id110__World1_Levels_23(){ try { __id110_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id110_.bodyAllowSleep = true; __id110_.bodyAngularDamping = 0; __id110_.bodyApplyGravity = true; __id110_.bodyFixedRotation = false; __id110_.bodyIsBullet = false; __id110_.bodyIsSleeping = false; __id110_.bodyIsStatic = true; __id110_.bodyLinearDamping = 0; __id110_.shapeCategoryBits = "0x0001"; __id110_.shapeDensity = 1; __id110_.shapeFriction = 0.2; __id110_.shapeGroupIndex = 0; __id110_.shapeIsSensor = false; __id110_.shapeMaskBits = "0xFFFF"; __id110_.shapeRestitution = 0; try { __id110_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id244__World1_Levels_52(){ try { __id244_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id244_.bodyAllowSleep = true; __id244_.bodyAngularDamping = 0; __id244_.bodyApplyGravity = true; __id244_.bodyFixedRotation = false; __id244_.bodyIsBullet = false; __id244_.bodyIsSleeping = false; __id244_.bodyIsStatic = false; __id244_.bodyLinearDamping = 0; __id244_.shapeCategoryBits = "0x0001"; __id244_.shapeDensity = 1; __id244_.shapeFriction = 0.2; __id244_.shapeGroupIndex = 0; __id244_.shapeIsSensor = false; __id244_.shapeMaskBits = "0xFFFF"; __id244_.shapeRestitution = 0.4; try { __id244_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id61__World1_Levels_13(){ try { __id61_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id61_.bodyAllowSleep = true; __id61_.bodyAngularDamping = 0; __id61_.bodyApplyGravity = true; __id61_.bodyFixedRotation = false; __id61_.bodyIsBullet = false; __id61_.bodyIsSleeping = false; __id61_.bodyIsStatic = true; __id61_.bodyLinearDamping = 0; __id61_.shapeCategoryBits = "0x0001"; __id61_.shapeDensity = 1; __id61_.shapeFriction = 0.2; __id61_.shapeGroupIndex = 0; __id61_.shapeIsSensor = false; __id61_.shapeMaskBits = "0xFFFF"; __id61_.shapeRestitution = 0; try { __id61_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id13__World1_Levels_1(){ try { __id13_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id13_.body2Name = "TC2"; __id13_.bodyName = "But1"; __id13_.collideConnected = false; __id13_.enableLimit = false; __id13_.enableMotor = false; __id13_.lineParameter = "0x888888"; __id13_.lineStyle = "Line"; __id13_.lowerLimit = 0; __id13_.pathReturns = false; __id13_.speed1 = 0; __id13_.speed2 = 0; __id13_.speedFlag = ""; __id13_.spring = false; __id13_.springConstant = 0; __id13_.springDamping = 0; __id13_.strength = 0; __id13_.targetName = ""; __id13_.type = "RevolutePin"; __id13_.upperLimit = 0; try { __id13_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id171__World1_Levels_39(){ try { __id171_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id171_.bodyAllowSleep = true; __id171_.bodyAngularDamping = 0; __id171_.bodyApplyGravity = true; __id171_.bodyFixedRotation = false; __id171_.bodyIsBullet = false; __id171_.bodyIsSleeping = false; __id171_.bodyIsStatic = true; __id171_.bodyLinearDamping = 0; __id171_.shapeCategoryBits = "0x0001"; __id171_.shapeDensity = 1; __id171_.shapeFriction = 1; __id171_.shapeGroupIndex = 0; __id171_.shapeIsSensor = false; __id171_.shapeMaskBits = "0xFFFF"; __id171_.shapeRestitution = 0; try { __id171_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id121__World1_Levels_25(){ try { __id121_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id121_.bodyAllowSleep = true; __id121_.bodyAngularDamping = 0; __id121_.bodyApplyGravity = true; __id121_.bodyFixedRotation = false; __id121_.bodyIsBullet = false; __id121_.bodyIsSleeping = false; __id121_.bodyIsStatic = true; __id121_.bodyLinearDamping = 0; __id121_.shapeCategoryBits = "0x0001"; __id121_.shapeDensity = 1; __id121_.shapeFriction = 0.2; __id121_.shapeGroupIndex = 0; __id121_.shapeIsSensor = false; __id121_.shapeMaskBits = "0xFFFF"; __id121_.shapeRestitution = 0.4; try { __id121_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id255__World1_Levels_52(){ try { __id255_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id255_.bodyAllowSleep = true; __id255_.bodyAngularDamping = 0; __id255_.bodyApplyGravity = true; __id255_.bodyFixedRotation = false; __id255_.bodyIsBullet = false; __id255_.bodyIsSleeping = true; __id255_.bodyIsStatic = false; __id255_.bodyLinearDamping = 0; __id255_.shapeCategoryBits = "0x0001"; __id255_.shapeDensity = 1; __id255_.shapeFriction = 0.2; __id255_.shapeGroupIndex = 0; __id255_.shapeIsSensor = false; __id255_.shapeMaskBits = "0xFFFF"; __id255_.shapeRestitution = 0; try { __id255_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id205__World1_Levels_49(){ try { __id205_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id205_.bodyAllowSleep = true; __id205_.bodyAngularDamping = 0; __id205_.bodyApplyGravity = true; __id205_.bodyFixedRotation = false; __id205_.bodyIsBullet = false; __id205_.bodyIsSleeping = false; __id205_.bodyIsStatic = true; __id205_.bodyLinearDamping = 0; __id205_.shapeCategoryBits = "0x0001"; __id205_.shapeDensity = 1; __id205_.shapeFriction = 0.2; __id205_.shapeGroupIndex = 0; __id205_.shapeIsSensor = false; __id205_.shapeMaskBits = "0xFFFF"; __id205_.shapeRestitution = 0.4; try { __id205_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id132__World1_Levels_29(){ try { __id132_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id132_.bodyAllowSleep = true; __id132_.bodyAngularDamping = 0; __id132_.bodyApplyGravity = true; __id132_.bodyFixedRotation = false; __id132_.bodyIsBullet = false; __id132_.bodyIsSleeping = false; __id132_.bodyIsStatic = true; __id132_.bodyLinearDamping = 0; __id132_.shapeCategoryBits = "0x0001"; __id132_.shapeDensity = 1; __id132_.shapeFriction = 0.2; __id132_.shapeGroupIndex = 0; __id132_.shapeIsSensor = false; __id132_.shapeMaskBits = "0xFFFF"; __id132_.shapeRestitution = 0; try { __id132_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id26__World1_Levels_7(){ try { __id26_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id26_.bodyAllowSleep = true; __id26_.bodyAngularDamping = 0; __id26_.bodyApplyGravity = true; __id26_.bodyFixedRotation = false; __id26_.bodyIsBullet = false; __id26_.bodyIsSleeping = false; __id26_.bodyIsStatic = true; __id26_.bodyLinearDamping = 0; __id26_.shapeCategoryBits = "0x0001"; __id26_.shapeDensity = 1; __id26_.shapeFriction = 0.2; __id26_.shapeGroupIndex = 0; __id26_.shapeIsSensor = false; __id26_.shapeMaskBits = "0xFFFF"; __id26_.shapeRestitution = 0; try { __id26_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id72__World1_Levels_16(){ try { __id72_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id72_.bodyAllowSleep = true; __id72_.bodyAngularDamping = 0; __id72_.bodyApplyGravity = true; __id72_.bodyFixedRotation = false; __id72_.bodyIsBullet = false; __id72_.bodyIsSleeping = false; __id72_.bodyIsStatic = true; __id72_.bodyLinearDamping = 0; __id72_.shapeCategoryBits = "0x0001"; __id72_.shapeDensity = 1; __id72_.shapeFriction = 0.2; __id72_.shapeGroupIndex = 0; __id72_.shapeIsSensor = false; __id72_.shapeMaskBits = "0xFFFF"; __id72_.shapeRestitution = 0; try { __id72_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id182__World1_Levels_43(){ try { __id182_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id182_.bodyAllowSleep = true; __id182_.bodyAngularDamping = 0; __id182_.bodyApplyGravity = true; __id182_.bodyFixedRotation = false; __id182_.bodyIsBullet = false; __id182_.bodyIsSleeping = false; __id182_.bodyIsStatic = true; __id182_.bodyLinearDamping = 0; __id182_.shapeCategoryBits = "0x0001"; __id182_.shapeDensity = 2; __id182_.shapeFriction = 0.2; __id182_.shapeGroupIndex = 0; __id182_.shapeIsSensor = false; __id182_.shapeMaskBits = "0xFFFF"; __id182_.shapeRestitution = 0.2; try { __id182_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id83__World1_Levels_17(){ try { __id83_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id83_.bodyAllowSleep = true; __id83_.bodyAngularDamping = 0; __id83_.bodyApplyGravity = true; __id83_.bodyFixedRotation = false; __id83_.bodyIsBullet = false; __id83_.bodyIsSleeping = false; __id83_.bodyIsStatic = true; __id83_.bodyLinearDamping = 0; __id83_.shapeCategoryBits = "0x0001"; __id83_.shapeDensity = 1; __id83_.shapeFriction = 0.2; __id83_.shapeGroupIndex = 0; __id83_.shapeIsSensor = false; __id83_.shapeMaskBits = "0xFFFF"; __id83_.shapeRestitution = 0; try { __id83_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id216__World1_Levels_50(){ try { __id216_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id216_.bodyAllowSleep = true; __id216_.bodyAngularDamping = 0; __id216_.bodyApplyGravity = true; __id216_.bodyFixedRotation = false; __id216_.bodyIsBullet = false; __id216_.bodyIsSleeping = false; __id216_.bodyIsStatic = true; __id216_.bodyLinearDamping = 0; __id216_.shapeCategoryBits = "0x0001"; __id216_.shapeDensity = 1; __id216_.shapeFriction = 0.2; __id216_.shapeGroupIndex = 0; __id216_.shapeIsSensor = false; __id216_.shapeMaskBits = "0xFFFF"; __id216_.shapeRestitution = 0; try { __id216_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id39__World1_Levels_9(){ try { __id39_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id39_.bodyAllowSleep = true; __id39_.bodyAngularDamping = 0; __id39_.bodyApplyGravity = true; __id39_.bodyFixedRotation = false; __id39_.bodyIsBullet = false; __id39_.bodyIsSleeping = false; __id39_.bodyIsStatic = true; __id39_.bodyLinearDamping = 0; __id39_.shapeCategoryBits = "0x0001"; __id39_.shapeDensity = 1; __id39_.shapeFriction = 0.2; __id39_.shapeGroupIndex = 0; __id39_.shapeIsSensor = false; __id39_.shapeMaskBits = "0xFFFF"; __id39_.shapeRestitution = 0; try { __id39_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id193__World1_Levels_46(){ try { __id193_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id193_.bodyAllowSleep = true; __id193_.bodyAngularDamping = 0; __id193_.bodyApplyGravity = true; __id193_.bodyFixedRotation = false; __id193_.bodyIsBullet = false; __id193_.bodyIsSleeping = false; __id193_.bodyIsStatic = true; __id193_.bodyLinearDamping = 0; __id193_.shapeCategoryBits = "0x0001"; __id193_.shapeDensity = 1; __id193_.shapeFriction = 0.2; __id193_.shapeGroupIndex = 0; __id193_.shapeIsSensor = false; __id193_.shapeMaskBits = "0xFFFF"; __id193_.shapeRestitution = 0; try { __id193_["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function tool4True(_arg1:MouseEvent){ tool4.nextFrame(); } function __setProp___id227__World1_Levels_51(){ try { __id227_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id227_.bodyAllowSleep = true; __id227_.bodyAngularDamping = 0; __id227_.bodyApplyGravity = true; __id227_.bodyFixedRotation = false; __id227_.bodyIsBullet = false; __id227_.bodyIsSleeping = false; __id227_.bodyIsStatic = true; __id227_.bodyLinearDamping = 0; __id227_.shapeCategoryBits = "0x0001"; __id227_.shapeDensity = 1; __id227_.shapeFriction = 0.2; __id227_.shapeGroupIndex = 0; __id227_.shapeIsSensor = false; __id227_.shapeMaskBits = "0xFFFF"; __id227_.shapeRestitution = 0; try { __id227_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id94__World1_Levels_20(){ try { __id94_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id94_.bodyAllowSleep = true; __id94_.bodyAngularDamping = 0; __id94_.bodyApplyGravity = true; __id94_.bodyFixedRotation = false; __id94_.bodyIsBullet = false; __id94_.bodyIsSleeping = true; __id94_.bodyIsStatic = false; __id94_.bodyLinearDamping = 0; __id94_.shapeCategoryBits = "0x0001"; __id94_.shapeDensity = 1; __id94_.shapeFriction = 0.2; __id94_.shapeGroupIndex = 0; __id94_.shapeIsSensor = false; __id94_.shapeMaskBits = "0xFFFF"; __id94_.shapeRestitution = 0.2; try { __id94_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Box3_World1_Levels_3(){ try { Box3["componentInspectorSetting"] = true; } catch(e:Error) { }; Box3.bodyAllowSleep = true; Box3.bodyAngularDamping = 0; Box3.bodyApplyGravity = true; Box3.bodyFixedRotation = false; Box3.bodyIsBullet = false; Box3.bodyIsSleeping = false; Box3.bodyIsStatic = false; Box3.bodyLinearDamping = 0; Box3.shapeCategoryBits = "0x0001"; Box3.shapeDensity = 0.3; Box3.shapeFriction = 0.2; Box3.shapeGroupIndex = 0; Box3.shapeIsSensor = false; Box3.shapeMaskBits = "0xFFFF"; Box3.shapeRestitution = 0; try { Box3["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Box3_World1_Levels_4(){ try { Box3["componentInspectorSetting"] = true; } catch(e:Error) { }; Box3.bodyAllowSleep = true; Box3.bodyAngularDamping = 0; Box3.bodyApplyGravity = true; Box3.bodyFixedRotation = false; Box3.bodyIsBullet = false; Box3.bodyIsSleeping = false; Box3.bodyIsStatic = false; Box3.bodyLinearDamping = 0; Box3.shapeCategoryBits = "0x0001"; Box3.shapeDensity = 0.5; Box3.shapeFriction = 0.2; Box3.shapeGroupIndex = 0; Box3.shapeIsSensor = false; Box3.shapeMaskBits = "0xFFFF"; Box3.shapeRestitution = 0; try { Box3["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id17__World1_Levels_1(){ try { __id17_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id17_.bodyAllowSleep = true; __id17_.bodyAngularDamping = 0; __id17_.bodyApplyGravity = true; __id17_.bodyFixedRotation = false; __id17_.bodyIsBullet = false; __id17_.bodyIsSleeping = false; __id17_.bodyIsStatic = false; __id17_.bodyLinearDamping = 0; __id17_.shapeCategoryBits = "0x0001"; __id17_.shapeDensity = 1; __id17_.shapeFriction = 0.2; __id17_.shapeGroupIndex = 0; __id17_.shapeIsSensor = false; __id17_.shapeMaskBits = "0xFFFF"; __id17_.shapeRestitution = 0.3; try { __id17_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id154__World1_Levels_36(){ try { __id154_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id154_.bodyAllowSleep = true; __id154_.bodyAngularDamping = 0; __id154_.bodyApplyGravity = true; __id154_.bodyFixedRotation = false; __id154_.bodyIsBullet = false; __id154_.bodyIsSleeping = false; __id154_.bodyIsStatic = true; __id154_.bodyLinearDamping = 0; __id154_.shapeCategoryBits = "0x0001"; __id154_.shapeDensity = 1; __id154_.shapeFriction = 0.2; __id154_.shapeGroupIndex = 0; __id154_.shapeIsSensor = false; __id154_.shapeMaskBits = "0xFFFF"; __id154_.shapeRestitution = 0; try { __id154_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id154__World1_Levels_37(){ try { __id154_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id154_.bodyAllowSleep = true; __id154_.bodyAngularDamping = 0; __id154_.bodyApplyGravity = true; __id154_.bodyFixedRotation = false; __id154_.bodyIsBullet = false; __id154_.bodyIsSleeping = false; __id154_.bodyIsStatic = true; __id154_.bodyLinearDamping = 0; __id154_.shapeCategoryBits = "0x0001"; __id154_.shapeDensity = 1; __id154_.shapeFriction = 0.2; __id154_.shapeGroupIndex = 0; __id154_.shapeIsSensor = false; __id154_.shapeMaskBits = "0xFFFF"; __id154_.shapeRestitution = 0.4; try { __id154_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id104__World1_Levels_22(){ try { __id104_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id104_.bodyAllowSleep = true; __id104_.bodyAngularDamping = 0; __id104_.bodyApplyGravity = true; __id104_.bodyFixedRotation = false; __id104_.bodyIsBullet = false; __id104_.bodyIsSleeping = false; __id104_.bodyIsStatic = true; __id104_.bodyLinearDamping = 0; __id104_.shapeCategoryBits = "0x0001"; __id104_.shapeDensity = 1; __id104_.shapeFriction = 0.2; __id104_.shapeGroupIndex = 0; __id104_.shapeIsSensor = false; __id104_.shapeMaskBits = "0xFFFF"; __id104_.shapeRestitution = 0; try { __id104_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id238__World1_Levels_51(){ try { __id238_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id238_.bodyAllowSleep = true; __id238_.bodyAngularDamping = 0; __id238_.bodyApplyGravity = true; __id238_.bodyFixedRotation = false; __id238_.bodyIsBullet = false; __id238_.bodyIsSleeping = false; __id238_.bodyIsStatic = false; __id238_.bodyLinearDamping = 0; __id238_.shapeCategoryBits = "0x0001"; __id238_.shapeDensity = 2; __id238_.shapeFriction = 0.2; __id238_.shapeGroupIndex = 0; __id238_.shapeIsSensor = false; __id238_.shapeMaskBits = "0xFFFF"; __id238_.shapeRestitution = 0.2; try { __id238_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id143__World1_Levels_32(){ try { __id143_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id143_.bodyAllowSleep = true; __id143_.bodyAngularDamping = 0; __id143_.bodyApplyGravity = true; __id143_.bodyFixedRotation = false; __id143_.bodyIsBullet = false; __id143_.bodyIsSleeping = false; __id143_.bodyIsStatic = true; __id143_.bodyLinearDamping = 0; __id143_.shapeCategoryBits = "0x0001"; __id143_.shapeDensity = 1; __id143_.shapeFriction = 0.2; __id143_.shapeGroupIndex = 0; __id143_.shapeIsSensor = false; __id143_.shapeMaskBits = "0xFFFF"; __id143_.shapeRestitution = 0.4; try { __id143_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id249__World1_Levels_52(){ try { __id249_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id249_.body2Name = "J6"; __id249_.bodyName = "J7"; __id249_.collideConnected = false; __id249_.enableLimit = false; __id249_.enableMotor = false; __id249_.lineParameter = "0x888888"; __id249_.lineStyle = "Line"; __id249_.lowerLimit = 0; __id249_.pathReturns = false; __id249_.speed1 = 0; __id249_.speed2 = 0; __id249_.speedFlag = ""; __id249_.spring = false; __id249_.springConstant = 0; __id249_.springDamping = 0; __id249_.strength = 0; __id249_.targetName = ""; __id249_.type = "RevolutePin"; __id249_.upperLimit = 0; try { __id249_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id165__World1_Levels_38(){ try { __id165_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id165_.bodyAllowSleep = true; __id165_.bodyAngularDamping = 0; __id165_.bodyApplyGravity = true; __id165_.bodyFixedRotation = false; __id165_.bodyIsBullet = false; __id165_.bodyIsSleeping = false; __id165_.bodyIsStatic = true; __id165_.bodyLinearDamping = 0; __id165_.shapeCategoryBits = "0x0001"; __id165_.shapeDensity = 1; __id165_.shapeFriction = 0.2; __id165_.shapeGroupIndex = 0; __id165_.shapeIsSensor = false; __id165_.shapeMaskBits = "0xFFFF"; __id165_.shapeRestitution = 0.4; try { __id165_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id115__World1_Levels_24(){ try { __id115_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id115_.bodyAllowSleep = true; __id115_.bodyAngularDamping = 0; __id115_.bodyApplyGravity = true; __id115_.bodyFixedRotation = false; __id115_.bodyIsBullet = false; __id115_.bodyIsSleeping = false; __id115_.bodyIsStatic = true; __id115_.bodyLinearDamping = 0; __id115_.shapeCategoryBits = "0x0001"; __id115_.shapeDensity = 1; __id115_.shapeFriction = 0.2; __id115_.shapeGroupIndex = 0; __id115_.shapeIsSensor = false; __id115_.shapeMaskBits = "0xFFFF"; __id115_.shapeRestitution = 0; try { __id115_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id55__World1_Levels_12(){ try { __id55_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id55_.bodyAllowSleep = true; __id55_.bodyAngularDamping = 0; __id55_.bodyApplyGravity = true; __id55_.bodyFixedRotation = false; __id55_.bodyIsBullet = false; __id55_.bodyIsSleeping = true; __id55_.bodyIsStatic = false; __id55_.bodyLinearDamping = 0; __id55_.shapeCategoryBits = "0x0001"; __id55_.shapeDensity = 1; __id55_.shapeFriction = 0.2; __id55_.shapeGroupIndex = 0; __id55_.shapeIsSensor = false; __id55_.shapeMaskBits = "0xFFFF"; __id55_.shapeRestitution = 0; try { __id55_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id66__World1_Levels_14(){ try { __id66_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id66_.bodyAllowSleep = true; __id66_.bodyAngularDamping = 0; __id66_.bodyApplyGravity = true; __id66_.bodyFixedRotation = false; __id66_.bodyIsBullet = false; __id66_.bodyIsSleeping = false; __id66_.bodyIsStatic = true; __id66_.bodyLinearDamping = 0; __id66_.shapeCategoryBits = "0x0001"; __id66_.shapeDensity = 1; __id66_.shapeFriction = 0.2; __id66_.shapeGroupIndex = 0; __id66_.shapeIsSensor = false; __id66_.shapeMaskBits = "0xFFFF"; __id66_.shapeRestitution = 0; try { __id66_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id126__World1_Levels_26(){ try { __id126_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id126_.bodyAllowSleep = true; __id126_.bodyAngularDamping = 0; __id126_.bodyApplyGravity = true; __id126_.bodyFixedRotation = false; __id126_.bodyIsBullet = false; __id126_.bodyIsSleeping = false; __id126_.bodyIsStatic = true; __id126_.bodyLinearDamping = 0; __id126_.shapeCategoryBits = "0x0001"; __id126_.shapeDensity = 1; __id126_.shapeFriction = 0.2; __id126_.shapeGroupIndex = 0; __id126_.shapeIsSensor = false; __id126_.shapeMaskBits = "0xFFFF"; __id126_.shapeRestitution = 0.4; try { __id126_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_T_World1_Levels_24(){ try { T["componentInspectorSetting"] = true; } catch(e:Error) { }; T.bodyAllowSleep = true; T.bodyAngularDamping = 0; T.bodyApplyGravity = true; T.bodyFixedRotation = false; T.bodyIsBullet = false; T.bodyIsSleeping = false; T.bodyIsStatic = true; T.bodyLinearDamping = 0; T.shapeCategoryBits = "0x0001"; T.shapeDensity = 1; T.shapeFriction = 0.2; T.shapeGroupIndex = 0; T.shapeIsSensor = false; T.shapeMaskBits = "0xFFFF"; T.shapeRestitution = 0; try { T["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id3__World1_Levels_1(){ try { __id3_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id3_.bodyAllowSleep = true; __id3_.bodyAngularDamping = 0; __id3_.bodyApplyGravity = true; __id3_.bodyFixedRotation = false; __id3_.bodyIsBullet = false; __id3_.bodyIsSleeping = false; __id3_.bodyIsStatic = false; __id3_.bodyLinearDamping = 0; __id3_.shapeCategoryBits = "0x0001"; __id3_.shapeDensity = 1; __id3_.shapeFriction = 0.2; __id3_.shapeGroupIndex = 0; __id3_.shapeIsSensor = false; __id3_.shapeMaskBits = "0xFFFF"; __id3_.shapeRestitution = 0.3; try { __id3_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id176__World1_Levels_40(){ try { __id176_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id176_.bodyAllowSleep = true; __id176_.bodyAngularDamping = 0; __id176_.bodyApplyGravity = true; __id176_.bodyFixedRotation = false; __id176_.bodyIsBullet = false; __id176_.bodyIsSleeping = false; __id176_.bodyIsStatic = true; __id176_.bodyLinearDamping = 0; __id176_.shapeCategoryBits = "0x0001"; __id176_.shapeDensity = 1; __id176_.shapeFriction = 0.2; __id176_.shapeGroupIndex = 0; __id176_.shapeIsSensor = false; __id176_.shapeMaskBits = "0xFFFF"; __id176_.shapeRestitution = 0.4; try { __id176_["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function tool3True(_arg1:MouseEvent){ tool3.nextFrame(); } function __setProp___id240__World1_Levels_52(){ try { __id240_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id240_.bodyAllowSleep = true; __id240_.bodyAngularDamping = 0; __id240_.bodyApplyGravity = true; __id240_.bodyFixedRotation = false; __id240_.bodyIsBullet = false; __id240_.bodyIsSleeping = false; __id240_.bodyIsStatic = false; __id240_.bodyLinearDamping = 0; __id240_.shapeCategoryBits = "0x0001"; __id240_.shapeDensity = 1; __id240_.shapeFriction = 0.2; __id240_.shapeGroupIndex = 0; __id240_.shapeIsSensor = false; __id240_.shapeMaskBits = "0xFFFF"; __id240_.shapeRestitution = 0.4; try { __id240_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id88__World1_Levels_18(){ try { __id88_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id88_.bodyAllowSleep = true; __id88_.bodyAngularDamping = 0; __id88_.bodyApplyGravity = true; __id88_.bodyFixedRotation = false; __id88_.bodyIsBullet = false; __id88_.bodyIsSleeping = true; __id88_.bodyIsStatic = false; __id88_.bodyLinearDamping = 0; __id88_.shapeCategoryBits = "0x0001"; __id88_.shapeDensity = 1; __id88_.shapeFriction = 0.2; __id88_.shapeGroupIndex = 0; __id88_.shapeIsSensor = false; __id88_.shapeMaskBits = "0xFFFF"; __id88_.shapeRestitution = 0; try { __id88_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id77__World1_Levels_17(){ try { __id77_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id77_.bodyAllowSleep = true; __id77_.bodyAngularDamping = 0; __id77_.bodyApplyGravity = true; __id77_.bodyFixedRotation = false; __id77_.bodyIsBullet = false; __id77_.bodyIsSleeping = false; __id77_.bodyIsStatic = true; __id77_.bodyLinearDamping = 0; __id77_.shapeCategoryBits = "0x0001"; __id77_.shapeDensity = 1; __id77_.shapeFriction = 0.2; __id77_.shapeGroupIndex = 0; __id77_.shapeIsSensor = false; __id77_.shapeMaskBits = "0xFFFF"; __id77_.shapeRestitution = 0; try { __id77_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id201__World1_Levels_48(){ try { __id201_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id201_.bodyAllowSleep = true; __id201_.bodyAngularDamping = 0; __id201_.bodyApplyGravity = true; __id201_.bodyFixedRotation = false; __id201_.bodyIsBullet = false; __id201_.bodyIsSleeping = false; __id201_.bodyIsStatic = true; __id201_.bodyLinearDamping = 0; __id201_.shapeCategoryBits = "0x0001"; __id201_.shapeDensity = 1; __id201_.shapeFriction = 0.2; __id201_.shapeGroupIndex = 0; __id201_.shapeIsSensor = false; __id201_.shapeMaskBits = "0xFFFF"; __id201_.shapeRestitution = 0; try { __id201_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id88__World1_Levels_19(){ try { __id88_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id88_.bodyAllowSleep = true; __id88_.bodyAngularDamping = 0; __id88_.bodyApplyGravity = true; __id88_.bodyFixedRotation = false; __id88_.bodyIsBullet = false; __id88_.bodyIsSleeping = true; __id88_.bodyIsStatic = false; __id88_.bodyLinearDamping = 0; __id88_.shapeCategoryBits = "0x0001"; __id88_.shapeDensity = 1; __id88_.shapeFriction = 0.2; __id88_.shapeGroupIndex = 0; __id88_.shapeIsSensor = false; __id88_.shapeMaskBits = "0xFFFF"; __id88_.shapeRestitution = 0.2; try { __id88_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id251__World1_Levels_52(){ try { __id251_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id251_.body2Name = "J4"; __id251_.bodyName = "J5"; __id251_.collideConnected = false; __id251_.enableLimit = false; __id251_.enableMotor = false; __id251_.lineParameter = "0x888888"; __id251_.lineStyle = "Line"; __id251_.lowerLimit = 0; __id251_.pathReturns = false; __id251_.speed1 = 0; __id251_.speed2 = 0; __id251_.speedFlag = ""; __id251_.spring = false; __id251_.springConstant = 0; __id251_.springDamping = 0; __id251_.strength = 0; __id251_.targetName = ""; __id251_.type = "RevolutePin"; __id251_.upperLimit = 0; try { __id251_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id187__World1_Levels_43(){ try { __id187_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id187_.bodyAllowSleep = true; __id187_.bodyAngularDamping = 0; __id187_.bodyApplyGravity = true; __id187_.bodyFixedRotation = false; __id187_.bodyIsBullet = false; __id187_.bodyIsSleeping = false; __id187_.bodyIsStatic = true; __id187_.bodyLinearDamping = 0; __id187_.shapeCategoryBits = "0x0001"; __id187_.shapeDensity = 2; __id187_.shapeFriction = 0.2; __id187_.shapeGroupIndex = 0; __id187_.shapeIsSensor = false; __id187_.shapeMaskBits = "0xFFFF"; __id187_.shapeRestitution = 0.2; try { __id187_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id201__World1_Levels_49(){ try { __id201_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id201_.bodyAllowSleep = true; __id201_.bodyAngularDamping = 0; __id201_.bodyApplyGravity = true; __id201_.bodyFixedRotation = false; __id201_.bodyIsBullet = false; __id201_.bodyIsSleeping = false; __id201_.bodyIsStatic = true; __id201_.bodyLinearDamping = 0; __id201_.shapeCategoryBits = "0x0001"; __id201_.shapeDensity = 1; __id201_.shapeFriction = 1; __id201_.shapeGroupIndex = 0; __id201_.shapeIsSensor = false; __id201_.shapeMaskBits = "0xFFFF"; __id201_.shapeRestitution = 0; try { __id201_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id137__World1_Levels_30(){ try { __id137_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id137_.bodyAllowSleep = true; __id137_.bodyAngularDamping = 0; __id137_.bodyApplyGravity = true; __id137_.bodyFixedRotation = false; __id137_.bodyIsBullet = false; __id137_.bodyIsSleeping = false; __id137_.bodyIsStatic = true; __id137_.bodyLinearDamping = 0; __id137_.shapeCategoryBits = "0x0001"; __id137_.shapeDensity = 1; __id137_.shapeFriction = 0.2; __id137_.shapeGroupIndex = 0; __id137_.shapeIsSensor = false; __id137_.shapeMaskBits = "0xFFFF"; __id137_.shapeRestitution = 0; try { __id137_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id198__World1_Levels_47(){ try { __id198_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id198_.bodyAllowSleep = true; __id198_.bodyAngularDamping = 0; __id198_.bodyApplyGravity = true; __id198_.bodyFixedRotation = false; __id198_.bodyIsBullet = false; __id198_.bodyIsSleeping = false; __id198_.bodyIsStatic = true; __id198_.bodyLinearDamping = 0; __id198_.shapeCategoryBits = "0x0001"; __id198_.shapeDensity = 1; __id198_.shapeFriction = 0.2; __id198_.shapeGroupIndex = 0; __id198_.shapeIsSensor = false; __id198_.shapeMaskBits = "0xFFFF"; __id198_.shapeRestitution = 0; try { __id198_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id148__World1_Levels_33(){ try { __id148_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id148_.bodyAllowSleep = true; __id148_.bodyAngularDamping = 0; __id148_.bodyApplyGravity = true; __id148_.bodyFixedRotation = false; __id148_.bodyIsBullet = false; __id148_.bodyIsSleeping = false; __id148_.bodyIsStatic = true; __id148_.bodyLinearDamping = 0; __id148_.shapeCategoryBits = "0x0001"; __id148_.shapeDensity = 1; __id148_.shapeFriction = 0.2; __id148_.shapeGroupIndex = 0; __id148_.shapeIsSensor = false; __id148_.shapeMaskBits = "0xFFFF"; __id148_.shapeRestitution = 0; try { __id148_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id99__World1_Levels_21(){ try { __id99_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id99_.bodyAllowSleep = true; __id99_.bodyAngularDamping = 0; __id99_.bodyApplyGravity = true; __id99_.bodyFixedRotation = false; __id99_.bodyIsBullet = false; __id99_.bodyIsSleeping = false; __id99_.bodyIsStatic = true; __id99_.bodyLinearDamping = 0; __id99_.shapeCategoryBits = "0x0001"; __id99_.shapeDensity = 1; __id99_.shapeFriction = 0.2; __id99_.shapeGroupIndex = 0; __id99_.shapeIsSensor = false; __id99_.shapeMaskBits = "0xFFFF"; __id99_.shapeRestitution = 0; try { __id99_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id212__World1_Levels_50(){ try { __id212_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id212_.bodyAllowSleep = true; __id212_.bodyAngularDamping = 0; __id212_.bodyApplyGravity = true; __id212_.bodyFixedRotation = false; __id212_.bodyIsBullet = false; __id212_.bodyIsSleeping = false; __id212_.bodyIsStatic = true; __id212_.bodyLinearDamping = 0; __id212_.shapeCategoryBits = "0x0001"; __id212_.shapeDensity = 1; __id212_.shapeFriction = 0.2; __id212_.shapeGroupIndex = 0; __id212_.shapeIsSensor = false; __id212_.shapeMaskBits = "0xFFFF"; __id212_.shapeRestitution = 0; try { __id212_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id49__World1_Levels_12(){ try { __id49_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id49_.bodyAllowSleep = true; __id49_.bodyAngularDamping = 0; __id49_.bodyApplyGravity = true; __id49_.bodyFixedRotation = false; __id49_.bodyIsBullet = false; __id49_.bodyIsSleeping = true; __id49_.bodyIsStatic = false; __id49_.bodyLinearDamping = 0; __id49_.shapeCategoryBits = "0x0001"; __id49_.shapeDensity = 1; __id49_.shapeFriction = 0.2; __id49_.shapeGroupIndex = 0; __id49_.shapeIsSensor = false; __id49_.shapeMaskBits = "0xFFFF"; __id49_.shapeRestitution = 0; try { __id49_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id159__World1_Levels_37(){ try { __id159_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id159_.bodyAllowSleep = true; __id159_.bodyAngularDamping = 0; __id159_.bodyApplyGravity = true; __id159_.bodyFixedRotation = false; __id159_.bodyIsBullet = false; __id159_.bodyIsSleeping = false; __id159_.bodyIsStatic = true; __id159_.bodyLinearDamping = 0; __id159_.shapeCategoryBits = "0x0001"; __id159_.shapeDensity = 0.1; __id159_.shapeFriction = 0.2; __id159_.shapeGroupIndex = 0; __id159_.shapeIsSensor = false; __id159_.shapeMaskBits = "0xFFFF"; __id159_.shapeRestitution = 0; try { __id159_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id109__World1_Levels_23(){ try { __id109_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id109_.bodyAllowSleep = true; __id109_.bodyAngularDamping = 0; __id109_.bodyApplyGravity = true; __id109_.bodyFixedRotation = false; __id109_.bodyIsBullet = false; __id109_.bodyIsSleeping = true; __id109_.bodyIsStatic = false; __id109_.bodyLinearDamping = 0; __id109_.shapeCategoryBits = "0x0001"; __id109_.shapeDensity = 1; __id109_.shapeFriction = 0.2; __id109_.shapeGroupIndex = 0; __id109_.shapeIsSensor = false; __id109_.shapeMaskBits = "0xFFFF"; __id109_.shapeRestitution = 0; try { __id109_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id7__World1_Levels_1(){ try { __id7_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id7_.bodyAllowSleep = true; __id7_.bodyAngularDamping = 0; __id7_.bodyApplyGravity = true; __id7_.bodyFixedRotation = false; __id7_.bodyIsBullet = false; __id7_.bodyIsSleeping = false; __id7_.bodyIsStatic = false; __id7_.bodyLinearDamping = 0; __id7_.shapeCategoryBits = "0x0001"; __id7_.shapeDensity = 1; __id7_.shapeFriction = 0.2; __id7_.shapeGroupIndex = 0; __id7_.shapeIsSensor = false; __id7_.shapeMaskBits = "0xFFFF"; __id7_.shapeRestitution = 0.3; try { __id7_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id90__World1_Levels_18(){ try { __id90_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id90_.bodyAllowSleep = true; __id90_.bodyAngularDamping = 0; __id90_.bodyApplyGravity = true; __id90_.bodyFixedRotation = false; __id90_.bodyIsBullet = false; __id90_.bodyIsSleeping = true; __id90_.bodyIsStatic = false; __id90_.bodyLinearDamping = 0; __id90_.shapeCategoryBits = "0x0001"; __id90_.shapeDensity = 1; __id90_.shapeFriction = 0.2; __id90_.shapeGroupIndex = 0; __id90_.shapeIsSensor = false; __id90_.shapeMaskBits = "0xFFFF"; __id90_.shapeRestitution = 0; try { __id90_["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function tool2True(_arg1:MouseEvent){ tool2.nextFrame(); } function __setProp___id223__World1_Levels_51(){ try { __id223_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id223_.bodyAllowSleep = true; __id223_.bodyAngularDamping = 0; __id223_.bodyApplyGravity = true; __id223_.bodyFixedRotation = false; __id223_.bodyIsBullet = false; __id223_.bodyIsSleeping = false; __id223_.bodyIsStatic = true; __id223_.bodyLinearDamping = 0; __id223_.shapeCategoryBits = "0x0001"; __id223_.shapeDensity = 1; __id223_.shapeFriction = 0.2; __id223_.shapeGroupIndex = 0; __id223_.shapeIsSensor = false; __id223_.shapeMaskBits = "0xFFFF"; __id223_.shapeRestitution = 0; try { __id223_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id234__World1_Levels_51(){ try { __id234_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id234_.bodyAllowSleep = true; __id234_.bodyAngularDamping = 0; __id234_.bodyApplyGravity = true; __id234_.bodyFixedRotation = false; __id234_.bodyIsBullet = false; __id234_.bodyIsSleeping = false; __id234_.bodyIsStatic = true; __id234_.bodyLinearDamping = 0; __id234_.shapeCategoryBits = "0x0001"; __id234_.shapeDensity = 2; __id234_.shapeFriction = 0.2; __id234_.shapeGroupIndex = 0; __id234_.shapeIsSensor = false; __id234_.shapeMaskBits = "0xFFFF"; __id234_.shapeRestitution = 0.2; try { __id234_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id100__World1_Levels_21(){ try { __id100_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id100_.bodyAllowSleep = true; __id100_.bodyAngularDamping = 0; __id100_.bodyApplyGravity = true; __id100_.bodyFixedRotation = false; __id100_.bodyIsBullet = false; __id100_.bodyIsSleeping = false; __id100_.bodyIsStatic = true; __id100_.bodyLinearDamping = 0; __id100_.shapeCategoryBits = "0x0001"; __id100_.shapeDensity = 1; __id100_.shapeFriction = 0.2; __id100_.shapeGroupIndex = 0; __id100_.shapeIsSensor = false; __id100_.shapeMaskBits = "0xFFFF"; __id100_.shapeRestitution = 0; try { __id100_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id150__World1_Levels_34(){ try { __id150_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id150_.bodyAllowSleep = true; __id150_.bodyAngularDamping = 0; __id150_.bodyApplyGravity = true; __id150_.bodyFixedRotation = false; __id150_.bodyIsBullet = false; __id150_.bodyIsSleeping = false; __id150_.bodyIsStatic = true; __id150_.bodyLinearDamping = 0; __id150_.shapeCategoryBits = "0x0001"; __id150_.shapeDensity = 1; __id150_.shapeFriction = 0.2; __id150_.shapeGroupIndex = 0; __id150_.shapeIsSensor = false; __id150_.shapeMaskBits = "0xFFFF"; __id150_.shapeRestitution = 0; try { __id150_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id245__World1_Levels_52(){ try { __id245_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id245_.bodyAllowSleep = true; __id245_.bodyAngularDamping = 0; __id245_.bodyApplyGravity = true; __id245_.bodyFixedRotation = false; __id245_.bodyIsBullet = false; __id245_.bodyIsSleeping = false; __id245_.bodyIsStatic = true; __id245_.bodyLinearDamping = 0; __id245_.shapeCategoryBits = "0x0001"; __id245_.shapeDensity = 1; __id245_.shapeFriction = 0.2; __id245_.shapeGroupIndex = 0; __id245_.shapeIsSensor = false; __id245_.shapeMaskBits = "0xFFFF"; __id245_.shapeRestitution = 0; try { __id245_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id111__World1_Levels_23(){ try { __id111_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id111_.bodyAllowSleep = true; __id111_.bodyAngularDamping = 0; __id111_.bodyApplyGravity = true; __id111_.bodyFixedRotation = false; __id111_.bodyIsBullet = false; __id111_.bodyIsSleeping = false; __id111_.bodyIsStatic = true; __id111_.bodyLinearDamping = 0; __id111_.shapeCategoryBits = "0x0001"; __id111_.shapeDensity = 1; __id111_.shapeFriction = 0.2; __id111_.shapeGroupIndex = 0; __id111_.shapeIsSensor = false; __id111_.shapeMaskBits = "0xFFFF"; __id111_.shapeRestitution = 0; try { __id111_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id51__World1_Levels_12(){ try { __id51_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id51_.bodyAllowSleep = true; __id51_.bodyAngularDamping = 0; __id51_.bodyApplyGravity = true; __id51_.bodyFixedRotation = false; __id51_.bodyIsBullet = false; __id51_.bodyIsSleeping = true; __id51_.bodyIsStatic = false; __id51_.bodyLinearDamping = 0; __id51_.shapeCategoryBits = "0x0001"; __id51_.shapeDensity = 1; __id51_.shapeFriction = 0.2; __id51_.shapeGroupIndex = 0; __id51_.shapeIsSensor = false; __id51_.shapeMaskBits = "0xFFFF"; __id51_.shapeRestitution = 0; try { __id51_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id161__World1_Levels_38(){ try { __id161_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id161_.bodyAllowSleep = true; __id161_.bodyAngularDamping = 0; __id161_.bodyApplyGravity = true; __id161_.bodyFixedRotation = false; __id161_.bodyIsBullet = false; __id161_.bodyIsSleeping = true; __id161_.bodyIsStatic = false; __id161_.bodyLinearDamping = 0; __id161_.shapeCategoryBits = "0x0001"; __id161_.shapeDensity = 1; __id161_.shapeFriction = 0.2; __id161_.shapeGroupIndex = 0; __id161_.shapeIsSensor = false; __id161_.shapeMaskBits = "0xFFFF"; __id161_.shapeRestitution = 0; try { __id161_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id10__World1_Levels_1(){ try { __id10_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id10_.body2Name = "TC"; __id10_.bodyName = "MC"; __id10_.collideConnected = false; __id10_.enableLimit = false; __id10_.enableMotor = false; __id10_.lineParameter = "0x888888"; __id10_.lineStyle = "Line"; __id10_.lowerLimit = 0; __id10_.pathReturns = false; __id10_.speed1 = 0; __id10_.speed2 = 0; __id10_.speedFlag = ""; __id10_.spring = false; __id10_.springConstant = 0; __id10_.springDamping = 0; __id10_.strength = 0; __id10_.targetName = ""; __id10_.type = "RevolutePin"; __id10_.upperLimit = 0; try { __id10_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id62__World1_Levels_13(){ try { __id62_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id62_.bodyAllowSleep = true; __id62_.bodyAngularDamping = 0; __id62_.bodyApplyGravity = true; __id62_.bodyFixedRotation = false; __id62_.bodyIsBullet = false; __id62_.bodyIsSleeping = false; __id62_.bodyIsStatic = true; __id62_.bodyLinearDamping = 0; __id62_.shapeCategoryBits = "0x0001"; __id62_.shapeDensity = 1; __id62_.shapeFriction = 0.2; __id62_.shapeGroupIndex = 0; __id62_.shapeIsSensor = false; __id62_.shapeMaskBits = "0xFFFF"; __id62_.shapeRestitution = 0; try { __id62_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id122__World1_Levels_25(){ try { __id122_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id122_.bodyAllowSleep = true; __id122_.bodyAngularDamping = 0; __id122_.bodyApplyGravity = true; __id122_.bodyFixedRotation = false; __id122_.bodyIsBullet = false; __id122_.bodyIsSleeping = false; __id122_.bodyIsStatic = false; __id122_.bodyLinearDamping = 0; __id122_.shapeCategoryBits = "0x0001"; __id122_.shapeDensity = 1; __id122_.shapeFriction = 0.2; __id122_.shapeGroupIndex = 0; __id122_.shapeIsSensor = false; __id122_.shapeMaskBits = "0xFFFF"; __id122_.shapeRestitution = 0.4; try { __id122_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id23__World1_Levels_7(){ try { __id23_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id23_.bodyAllowSleep = true; __id23_.bodyAngularDamping = 0; __id23_.bodyApplyGravity = true; __id23_.bodyFixedRotation = false; __id23_.bodyIsBullet = false; __id23_.bodyIsSleeping = true; __id23_.bodyIsStatic = false; __id23_.bodyLinearDamping = 0; __id23_.shapeCategoryBits = "0x0001"; __id23_.shapeDensity = 1; __id23_.shapeFriction = 0.2; __id23_.shapeGroupIndex = 0; __id23_.shapeIsSensor = false; __id23_.shapeMaskBits = "0xFFFF"; __id23_.shapeRestitution = 0; try { __id23_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id172__World1_Levels_39(){ try { __id172_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id172_.bodyAllowSleep = true; __id172_.bodyAngularDamping = 0; __id172_.bodyApplyGravity = true; __id172_.bodyFixedRotation = false; __id172_.bodyIsBullet = false; __id172_.bodyIsSleeping = false; __id172_.bodyIsStatic = true; __id172_.bodyLinearDamping = 0; __id172_.shapeCategoryBits = "0x0001"; __id172_.shapeDensity = 1; __id172_.shapeFriction = 1; __id172_.shapeGroupIndex = 0; __id172_.shapeIsSensor = false; __id172_.shapeMaskBits = "0xFFFF"; __id172_.shapeRestitution = 0; try { __id172_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id122__World1_Levels_26(){ try { __id122_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id122_.bodyAllowSleep = true; __id122_.bodyAngularDamping = 0; __id122_.bodyApplyGravity = true; __id122_.bodyFixedRotation = false; __id122_.bodyIsBullet = false; __id122_.bodyIsSleeping = false; __id122_.bodyIsStatic = true; __id122_.bodyLinearDamping = 0; __id122_.shapeCategoryBits = "0x0001"; __id122_.shapeDensity = 1; __id122_.shapeFriction = 0.2; __id122_.shapeGroupIndex = 0; __id122_.shapeIsSensor = false; __id122_.shapeMaskBits = "0xFFFF"; __id122_.shapeRestitution = 0.4; try { __id122_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id206__World1_Levels_49(){ try { __id206_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id206_.bodyAllowSleep = true; __id206_.bodyAngularDamping = 0; __id206_.bodyApplyGravity = true; __id206_.bodyFixedRotation = false; __id206_.bodyIsBullet = false; __id206_.bodyIsSleeping = false; __id206_.bodyIsStatic = true; __id206_.bodyLinearDamping = 0; __id206_.shapeCategoryBits = "0x0001"; __id206_.shapeDensity = 1; __id206_.shapeFriction = 0.2; __id206_.shapeGroupIndex = 0; __id206_.shapeIsSensor = false; __id206_.shapeMaskBits = "0xFFFF"; __id206_.shapeRestitution = 0.4; try { __id206_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id73__World1_Levels_16(){ try { __id73_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id73_.bodyAllowSleep = true; __id73_.bodyAngularDamping = 0; __id73_.bodyApplyGravity = true; __id73_.bodyFixedRotation = false; __id73_.bodyIsBullet = false; __id73_.bodyIsSleeping = false; __id73_.bodyIsStatic = true; __id73_.bodyLinearDamping = 0; __id73_.shapeCategoryBits = "0x0001"; __id73_.shapeDensity = 1; __id73_.shapeFriction = 0.2; __id73_.shapeGroupIndex = 0; __id73_.shapeIsSensor = false; __id73_.shapeMaskBits = "0xFFFF"; __id73_.shapeRestitution = 0; try { __id73_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id36__World1_Levels_9(){ try { __id36_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id36_.bodyAllowSleep = true; __id36_.bodyAngularDamping = 0; __id36_.bodyApplyGravity = true; __id36_.bodyFixedRotation = false; __id36_.bodyIsBullet = false; __id36_.bodyIsSleeping = false; __id36_.bodyIsStatic = true; __id36_.bodyLinearDamping = 0; __id36_.shapeCategoryBits = "0x0001"; __id36_.shapeDensity = 1; __id36_.shapeFriction = 0.2; __id36_.shapeGroupIndex = 0; __id36_.shapeIsSensor = false; __id36_.shapeMaskBits = "0xFFFF"; __id36_.shapeRestitution = 0; try { __id36_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id133__World1_Levels_29(){ try { __id133_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id133_.bodyAllowSleep = true; __id133_.bodyAngularDamping = 0; __id133_.bodyApplyGravity = true; __id133_.bodyFixedRotation = false; __id133_.bodyIsBullet = false; __id133_.bodyIsSleeping = false; __id133_.bodyIsStatic = true; __id133_.bodyLinearDamping = 0; __id133_.shapeCategoryBits = "0x0001"; __id133_.shapeDensity = 2; __id133_.shapeFriction = 0.2; __id133_.shapeGroupIndex = 0; __id133_.shapeIsSensor = false; __id133_.shapeMaskBits = "0xFFFF"; __id133_.shapeRestitution = 0; try { __id133_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id84__World1_Levels_17(){ try { __id84_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id84_.bodyAllowSleep = true; __id84_.bodyAngularDamping = 0; __id84_.bodyApplyGravity = true; __id84_.bodyFixedRotation = false; __id84_.bodyIsBullet = false; __id84_.bodyIsSleeping = false; __id84_.bodyIsStatic = true; __id84_.bodyLinearDamping = 0; __id84_.shapeCategoryBits = "0x0001"; __id84_.shapeDensity = 1; __id84_.shapeFriction = 0.2; __id84_.shapeGroupIndex = 0; __id84_.shapeIsSensor = false; __id84_.shapeMaskBits = "0xFFFF"; __id84_.shapeRestitution = 0; try { __id84_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id217__World1_Levels_50(){ try { __id217_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id217_.bodyAllowSleep = true; __id217_.bodyAngularDamping = 0; __id217_.bodyApplyGravity = true; __id217_.bodyFixedRotation = false; __id217_.bodyIsBullet = false; __id217_.bodyIsSleeping = false; __id217_.bodyIsStatic = false; __id217_.bodyLinearDamping = 0; __id217_.shapeCategoryBits = "0x0001"; __id217_.shapeDensity = 3; __id217_.shapeFriction = 1; __id217_.shapeGroupIndex = 0; __id217_.shapeIsSensor = false; __id217_.shapeMaskBits = "0xFFFF"; __id217_.shapeRestitution = 0.4; try { __id217_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id133__World1_Levels_30(){ try { __id133_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id133_.bodyAllowSleep = true; __id133_.bodyAngularDamping = 0; __id133_.bodyApplyGravity = true; __id133_.bodyFixedRotation = false; __id133_.bodyIsBullet = false; __id133_.bodyIsSleeping = false; __id133_.bodyIsStatic = true; __id133_.bodyLinearDamping = 0; __id133_.shapeCategoryBits = "0x0001"; __id133_.shapeDensity = 1; __id133_.shapeFriction = 0.2; __id133_.shapeGroupIndex = 0; __id133_.shapeIsSensor = false; __id133_.shapeMaskBits = "0xFFFF"; __id133_.shapeRestitution = 0.4; try { __id133_["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function tool1True(_arg1:MouseEvent){ tool1.nextFrame(); if (TUT2.currentFrame == 1){ TUT2.play(); }; } function __setProp___id183__World1_Levels_43(){ try { __id183_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id183_.bodyAllowSleep = true; __id183_.bodyAngularDamping = 0; __id183_.bodyApplyGravity = true; __id183_.bodyFixedRotation = false; __id183_.bodyIsBullet = false; __id183_.bodyIsSleeping = true; __id183_.bodyIsStatic = false; __id183_.bodyLinearDamping = 0; __id183_.shapeCategoryBits = "0x0001"; __id183_.shapeDensity = 1; __id183_.shapeFriction = 0.2; __id183_.shapeGroupIndex = 0; __id183_.shapeIsSensor = false; __id183_.shapeMaskBits = "0xFFFF"; __id183_.shapeRestitution = 0.2; try { __id183_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id194__World1_Levels_46(){ try { __id194_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id194_.bodyAllowSleep = true; __id194_.bodyAngularDamping = 0; __id194_.bodyApplyGravity = true; __id194_.bodyFixedRotation = false; __id194_.bodyIsBullet = false; __id194_.bodyIsSleeping = false; __id194_.bodyIsStatic = true; __id194_.bodyLinearDamping = 0; __id194_.shapeCategoryBits = "0x0001"; __id194_.shapeDensity = 1; __id194_.shapeFriction = 0.2; __id194_.shapeGroupIndex = 0; __id194_.shapeIsSensor = false; __id194_.shapeMaskBits = "0xFFFF"; __id194_.shapeRestitution = 0.4; try { __id194_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id144__World1_Levels_32(){ try { __id144_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id144_.bodyAllowSleep = true; __id144_.bodyAngularDamping = 0; __id144_.bodyApplyGravity = true; __id144_.bodyFixedRotation = false; __id144_.bodyIsBullet = false; __id144_.bodyIsSleeping = false; __id144_.bodyIsStatic = true; __id144_.bodyLinearDamping = 0; __id144_.shapeCategoryBits = "0x0001"; __id144_.shapeDensity = 1; __id144_.shapeFriction = 0.2; __id144_.shapeGroupIndex = 0; __id144_.shapeIsSensor = false; __id144_.shapeMaskBits = "0xFFFF"; __id144_.shapeRestitution = 0; try { __id144_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id228__World1_Levels_51(){ try { __id228_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id228_.bodyAllowSleep = true; __id228_.bodyAngularDamping = 0; __id228_.bodyApplyGravity = true; __id228_.bodyFixedRotation = false; __id228_.bodyIsBullet = false; __id228_.bodyIsSleeping = false; __id228_.bodyIsStatic = true; __id228_.bodyLinearDamping = 0; __id228_.shapeCategoryBits = "0x0001"; __id228_.shapeDensity = 1; __id228_.shapeFriction = 0.2; __id228_.shapeGroupIndex = 0; __id228_.shapeIsSensor = false; __id228_.shapeMaskBits = "0xFFFF"; __id228_.shapeRestitution = 0; try { __id228_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id14__World1_Levels_1(){ try { __id14_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id14_.body2Name = "TC2"; __id14_.bodyName = "MC2"; __id14_.collideConnected = false; __id14_.enableLimit = false; __id14_.enableMotor = false; __id14_.lineParameter = "0x888888"; __id14_.lineStyle = "Line"; __id14_.lowerLimit = 0; __id14_.pathReturns = false; __id14_.speed1 = 0; __id14_.speed2 = 0; __id14_.speedFlag = ""; __id14_.spring = false; __id14_.springConstant = 0; __id14_.springDamping = 0; __id14_.strength = 0; __id14_.targetName = ""; __id14_.type = "RevolutePin"; __id14_.upperLimit = 0; try { __id14_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id95__World1_Levels_20(){ try { __id95_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id95_.bodyAllowSleep = true; __id95_.bodyAngularDamping = 0; __id95_.bodyApplyGravity = true; __id95_.bodyFixedRotation = false; __id95_.bodyIsBullet = false; __id95_.bodyIsSleeping = true; __id95_.bodyIsStatic = false; __id95_.bodyLinearDamping = 0; __id95_.shapeCategoryBits = "0x0001"; __id95_.shapeDensity = 1; __id95_.shapeFriction = 0.2; __id95_.shapeGroupIndex = 0; __id95_.shapeIsSensor = false; __id95_.shapeMaskBits = "0xFFFF"; __id95_.shapeRestitution = 0.2; try { __id95_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id45__World1_Levels_10(){ try { __id45_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id45_.bodyAllowSleep = true; __id45_.bodyAngularDamping = 0; __id45_.bodyApplyGravity = true; __id45_.bodyFixedRotation = false; __id45_.bodyIsBullet = false; __id45_.bodyIsSleeping = false; __id45_.bodyIsStatic = true; __id45_.bodyLinearDamping = 0; __id45_.shapeCategoryBits = "0x0001"; __id45_.shapeDensity = 1; __id45_.shapeFriction = 0.2; __id45_.shapeGroupIndex = 0; __id45_.shapeIsSensor = false; __id45_.shapeMaskBits = "0xFFFF"; __id45_.shapeRestitution = 0; try { __id45_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id27__World1_Levels_7(){ try { __id27_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id27_.bodyAllowSleep = true; __id27_.bodyAngularDamping = 0; __id27_.bodyApplyGravity = true; __id27_.bodyFixedRotation = false; __id27_.bodyIsBullet = false; __id27_.bodyIsSleeping = true; __id27_.bodyIsStatic = false; __id27_.bodyLinearDamping = 0; __id27_.shapeCategoryBits = "0x0001"; __id27_.shapeDensity = 1; __id27_.shapeFriction = 0.2; __id27_.shapeGroupIndex = 0; __id27_.shapeIsSensor = false; __id27_.shapeMaskBits = "0xFFFF"; __id27_.shapeRestitution = 0; try { __id27_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id155__World1_Levels_36(){ try { __id155_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id155_.bodyAllowSleep = true; __id155_.bodyAngularDamping = 0; __id155_.bodyApplyGravity = true; __id155_.bodyFixedRotation = false; __id155_.bodyIsBullet = false; __id155_.bodyIsSleeping = false; __id155_.bodyIsStatic = true; __id155_.bodyLinearDamping = 0; __id155_.shapeCategoryBits = "0x0001"; __id155_.shapeDensity = 0.1; __id155_.shapeFriction = 0.2; __id155_.shapeGroupIndex = 0; __id155_.shapeIsSensor = false; __id155_.shapeMaskBits = "0xFFFF"; __id155_.shapeRestitution = 0.4; try { __id155_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id239__World1_Levels_52(){ try { __id239_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id239_.bodyAllowSleep = true; __id239_.bodyAngularDamping = 0; __id239_.bodyApplyGravity = true; __id239_.bodyFixedRotation = false; __id239_.bodyIsBullet = false; __id239_.bodyIsSleeping = false; __id239_.bodyIsStatic = false; __id239_.bodyLinearDamping = 0; __id239_.shapeCategoryBits = "0x0001"; __id239_.shapeDensity = 1; __id239_.shapeFriction = 0.2; __id239_.shapeGroupIndex = 0; __id239_.shapeIsSensor = false; __id239_.shapeMaskBits = "0xFFFF"; __id239_.shapeRestitution = 0.4; try { __id239_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id105__World1_Levels_22(){ try { __id105_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id105_.bodyAllowSleep = true; __id105_.bodyAngularDamping = 0; __id105_.bodyApplyGravity = true; __id105_.bodyFixedRotation = false; __id105_.bodyIsBullet = false; __id105_.bodyIsSleeping = false; __id105_.bodyIsStatic = true; __id105_.bodyLinearDamping = 0; __id105_.shapeCategoryBits = "0x0001"; __id105_.shapeDensity = 1; __id105_.shapeFriction = 0.2; __id105_.shapeGroupIndex = 0; __id105_.shapeIsSensor = false; __id105_.shapeMaskBits = "0xFFFF"; __id105_.shapeRestitution = 0; try { __id105_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id56__World1_Levels_13(){ try { __id56_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id56_.bodyAllowSleep = true; __id56_.bodyAngularDamping = 0; __id56_.bodyApplyGravity = true; __id56_.bodyFixedRotation = false; __id56_.bodyIsBullet = false; __id56_.bodyIsSleeping = false; __id56_.bodyIsStatic = false; __id56_.bodyLinearDamping = 0; __id56_.shapeCategoryBits = "0x0001"; __id56_.shapeDensity = 1; __id56_.shapeFriction = 0.2; __id56_.shapeGroupIndex = 0; __id56_.shapeIsSensor = false; __id56_.shapeMaskBits = "0xFFFF"; __id56_.shapeRestitution = 0; try { __id56_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id116__World1_Levels_24(){ try { __id116_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id116_.bodyAllowSleep = true; __id116_.bodyAngularDamping = 0; __id116_.bodyApplyGravity = true; __id116_.bodyFixedRotation = false; __id116_.bodyIsBullet = false; __id116_.bodyIsSleeping = false; __id116_.bodyIsStatic = true; __id116_.bodyLinearDamping = 0; __id116_.shapeCategoryBits = "0x0001"; __id116_.shapeDensity = 1; __id116_.shapeFriction = 0.2; __id116_.shapeGroupIndex = 0; __id116_.shapeIsSensor = false; __id116_.shapeMaskBits = "0xFFFF"; __id116_.shapeRestitution = 0; try { __id116_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id0__World1_Levels_1(){ try { __id0_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id0_.bodyAllowSleep = true; __id0_.bodyAngularDamping = 0; __id0_.bodyApplyGravity = true; __id0_.bodyFixedRotation = false; __id0_.bodyIsBullet = false; __id0_.bodyIsSleeping = false; __id0_.bodyIsStatic = false; __id0_.bodyLinearDamping = 0; __id0_.shapeCategoryBits = "0x0001"; __id0_.shapeDensity = 1; __id0_.shapeFriction = 0.2; __id0_.shapeGroupIndex = 0; __id0_.shapeIsSensor = false; __id0_.shapeMaskBits = "0xFFFF"; __id0_.shapeRestitution = 0.3; try { __id0_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Box2_World1_Levels_4(){ try { Box2["componentInspectorSetting"] = true; } catch(e:Error) { }; Box2.bodyAllowSleep = true; Box2.bodyAngularDamping = 0; Box2.bodyApplyGravity = true; Box2.bodyFixedRotation = false; Box2.bodyIsBullet = false; Box2.bodyIsSleeping = false; Box2.bodyIsStatic = false; Box2.bodyLinearDamping = 0; Box2.shapeCategoryBits = "0x0001"; Box2.shapeDensity = 0.5; Box2.shapeFriction = 0.2; Box2.shapeGroupIndex = 0; Box2.shapeIsSensor = false; Box2.shapeMaskBits = "0xFFFF"; Box2.shapeRestitution = 0; try { Box2["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id67__World1_Levels_15(){ try { __id67_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id67_.bodyAllowSleep = true; __id67_.bodyAngularDamping = 0; __id67_.bodyApplyGravity = true; __id67_.bodyFixedRotation = false; __id67_.bodyIsBullet = false; __id67_.bodyIsSleeping = false; __id67_.bodyIsStatic = true; __id67_.bodyLinearDamping = 0; __id67_.shapeCategoryBits = "0x0001"; __id67_.shapeDensity = 1; __id67_.shapeFriction = 0.2; __id67_.shapeGroupIndex = 0; __id67_.shapeIsSensor = false; __id67_.shapeMaskBits = "0xFFFF"; __id67_.shapeRestitution = 0.5; try { __id67_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id230__World1_Levels_51(){ try { __id230_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id230_.bodyAllowSleep = true; __id230_.bodyAngularDamping = 0; __id230_.bodyApplyGravity = true; __id230_.bodyFixedRotation = false; __id230_.bodyIsBullet = false; __id230_.bodyIsSleeping = false; __id230_.bodyIsStatic = true; __id230_.bodyLinearDamping = 0; __id230_.shapeCategoryBits = "0x0001"; __id230_.shapeDensity = 1; __id230_.shapeFriction = 0.2; __id230_.shapeGroupIndex = 0; __id230_.shapeIsSensor = false; __id230_.shapeMaskBits = "0xFFFF"; __id230_.shapeRestitution = 0; try { __id230_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id127__World1_Levels_27(){ try { __id127_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id127_.bodyAllowSleep = true; __id127_.bodyAngularDamping = 0; __id127_.bodyApplyGravity = true; __id127_.bodyFixedRotation = false; __id127_.bodyIsBullet = false; __id127_.bodyIsSleeping = false; __id127_.bodyIsStatic = true; __id127_.bodyLinearDamping = 0; __id127_.shapeCategoryBits = "0x0001"; __id127_.shapeDensity = 1; __id127_.shapeFriction = 0.2; __id127_.shapeGroupIndex = 0; __id127_.shapeIsSensor = false; __id127_.shapeMaskBits = "0xFFFF"; __id127_.shapeRestitution = 0.4; try { __id127_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id127__World1_Levels_29(){ try { __id127_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id127_.bodyAllowSleep = true; __id127_.bodyAngularDamping = 0; __id127_.bodyApplyGravity = true; __id127_.bodyFixedRotation = false; __id127_.bodyIsBullet = false; __id127_.bodyIsSleeping = false; __id127_.bodyIsStatic = true; __id127_.bodyLinearDamping = 0; __id127_.shapeCategoryBits = "0x0001"; __id127_.shapeDensity = 1; __id127_.shapeFriction = 0.2; __id127_.shapeGroupIndex = 0; __id127_.shapeIsSensor = false; __id127_.shapeMaskBits = "0xFFFF"; __id127_.shapeRestitution = 0; try { __id127_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_Box2_World1_Levels_3(){ try { Box2["componentInspectorSetting"] = true; } catch(e:Error) { }; Box2.bodyAllowSleep = true; Box2.bodyAngularDamping = 0; Box2.bodyApplyGravity = true; Box2.bodyFixedRotation = false; Box2.bodyIsBullet = false; Box2.bodyIsSleeping = false; Box2.bodyIsStatic = false; Box2.bodyLinearDamping = 0; Box2.shapeCategoryBits = "0x0001"; Box2.shapeDensity = 0.3; Box2.shapeFriction = 0.2; Box2.shapeGroupIndex = 0; Box2.shapeIsSensor = false; Box2.shapeMaskBits = "0xFFFF"; Box2.shapeRestitution = 0; try { Box2["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id166__World1_Levels_39(){ try { __id166_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id166_.bodyAllowSleep = true; __id166_.bodyAngularDamping = 0; __id166_.bodyApplyGravity = true; __id166_.bodyFixedRotation = false; __id166_.bodyIsBullet = false; __id166_.bodyIsSleeping = false; __id166_.bodyIsStatic = false; __id166_.bodyLinearDamping = 0; __id166_.shapeCategoryBits = "0x0001"; __id166_.shapeDensity = 3; __id166_.shapeFriction = 1; __id166_.shapeGroupIndex = 0; __id166_.shapeIsSensor = false; __id166_.shapeMaskBits = "0xFFFF"; __id166_.shapeRestitution = 0.4; try { __id166_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id241__World1_Levels_52(){ try { __id241_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id241_.bodyAllowSleep = true; __id241_.bodyAngularDamping = 0; __id241_.bodyApplyGravity = true; __id241_.bodyFixedRotation = false; __id241_.bodyIsBullet = false; __id241_.bodyIsSleeping = false; __id241_.bodyIsStatic = false; __id241_.bodyLinearDamping = 0; __id241_.shapeCategoryBits = "0x0001"; __id241_.shapeDensity = 1; __id241_.shapeFriction = 0.2; __id241_.shapeGroupIndex = 0; __id241_.shapeIsSensor = false; __id241_.shapeMaskBits = "0xFFFF"; __id241_.shapeRestitution = 0.4; try { __id241_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id18__World1_Levels_4(){ try { __id18_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id18_.bodyAllowSleep = true; __id18_.bodyAngularDamping = 0; __id18_.bodyApplyGravity = true; __id18_.bodyFixedRotation = false; __id18_.bodyIsBullet = false; __id18_.bodyIsSleeping = false; __id18_.bodyIsStatic = true; __id18_.bodyLinearDamping = 0; __id18_.shapeCategoryBits = "0x0001"; __id18_.shapeDensity = 1; __id18_.shapeFriction = 0.2; __id18_.shapeGroupIndex = 0; __id18_.shapeIsSensor = false; __id18_.shapeMaskBits = "0xFFFF"; __id18_.shapeRestitution = 0; try { __id18_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id78__World1_Levels_17(){ try { __id78_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id78_.bodyAllowSleep = true; __id78_.bodyAngularDamping = 0; __id78_.bodyApplyGravity = true; __id78_.bodyFixedRotation = false; __id78_.bodyIsBullet = false; __id78_.bodyIsSleeping = false; __id78_.bodyIsStatic = true; __id78_.bodyLinearDamping = 0; __id78_.shapeCategoryBits = "0x0001"; __id78_.shapeDensity = 1; __id78_.shapeFriction = 0.2; __id78_.shapeGroupIndex = 0; __id78_.shapeIsSensor = false; __id78_.shapeMaskBits = "0xFFFF"; __id78_.shapeRestitution = 0; try { __id78_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id177__World1_Levels_41(){ try { __id177_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id177_.bodyAllowSleep = true; __id177_.bodyAngularDamping = 0; __id177_.bodyApplyGravity = true; __id177_.bodyFixedRotation = false; __id177_.bodyIsBullet = false; __id177_.bodyIsSleeping = true; __id177_.bodyIsStatic = false; __id177_.bodyLinearDamping = 0; __id177_.shapeCategoryBits = "0x0001"; __id177_.shapeDensity = 1; __id177_.shapeFriction = 0.2; __id177_.shapeGroupIndex = 0; __id177_.shapeIsSensor = false; __id177_.shapeMaskBits = "0xFFFF"; __id177_.shapeRestitution = 0; try { __id177_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id188__World1_Levels_43(){ try { __id188_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id188_.bodyAllowSleep = true; __id188_.bodyAngularDamping = 0; __id188_.bodyApplyGravity = true; __id188_.bodyFixedRotation = false; __id188_.bodyIsBullet = false; __id188_.bodyIsSleeping = false; __id188_.bodyIsStatic = true; __id188_.bodyLinearDamping = 0; __id188_.shapeCategoryBits = "0x0001"; __id188_.shapeDensity = 2; __id188_.shapeFriction = 0.2; __id188_.shapeGroupIndex = 0; __id188_.shapeIsSensor = false; __id188_.shapeMaskBits = "0xFFFF"; __id188_.shapeRestitution = 0.4; try { __id188_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id89__World1_Levels_18(){ try { __id89_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id89_.bodyAllowSleep = true; __id89_.bodyAngularDamping = 0; __id89_.bodyApplyGravity = true; __id89_.bodyFixedRotation = false; __id89_.bodyIsBullet = false; __id89_.bodyIsSleeping = true; __id89_.bodyIsStatic = false; __id89_.bodyLinearDamping = 0; __id89_.shapeCategoryBits = "0x0001"; __id89_.shapeDensity = 1; __id89_.shapeFriction = 0.2; __id89_.shapeGroupIndex = 0; __id89_.shapeIsSensor = false; __id89_.shapeMaskBits = "0xFFFF"; __id89_.shapeRestitution = 0; try { __id89_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id202__World1_Levels_49(){ try { __id202_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id202_.bodyAllowSleep = true; __id202_.bodyAngularDamping = 0; __id202_.bodyApplyGravity = true; __id202_.bodyFixedRotation = false; __id202_.bodyIsBullet = false; __id202_.bodyIsSleeping = false; __id202_.bodyIsStatic = true; __id202_.bodyLinearDamping = 0; __id202_.shapeCategoryBits = "0x0001"; __id202_.shapeDensity = 0.7; __id202_.shapeFriction = 0.2; __id202_.shapeGroupIndex = 0; __id202_.shapeIsSensor = false; __id202_.shapeMaskBits = "0xFFFF"; __id202_.shapeRestitution = 0.4; try { __id202_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id138__World1_Levels_30(){ try { __id138_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id138_.bodyAllowSleep = true; __id138_.bodyAngularDamping = 0; __id138_.bodyApplyGravity = true; __id138_.bodyFixedRotation = false; __id138_.bodyIsBullet = false; __id138_.bodyIsSleeping = false; __id138_.bodyIsStatic = true; __id138_.bodyLinearDamping = 0; __id138_.shapeCategoryBits = "0x0001"; __id138_.shapeDensity = 1; __id138_.shapeFriction = 0.2; __id138_.shapeGroupIndex = 0; __id138_.shapeIsSensor = false; __id138_.shapeMaskBits = "0xFFFF"; __id138_.shapeRestitution = 0.4; try { __id138_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id252__World1_Levels_52(){ try { __id252_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id252_.body2Name = "J3"; __id252_.bodyName = "J4"; __id252_.collideConnected = false; __id252_.enableLimit = false; __id252_.enableMotor = false; __id252_.lineParameter = "0x888888"; __id252_.lineStyle = "Line"; __id252_.lowerLimit = 0; __id252_.pathReturns = false; __id252_.speed1 = 0; __id252_.speed2 = 0; __id252_.speedFlag = ""; __id252_.spring = false; __id252_.springConstant = 0; __id252_.springDamping = 0; __id252_.strength = 0; __id252_.targetName = ""; __id252_.type = "RevolutePin"; __id252_.upperLimit = 0; try { __id252_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id199__World1_Levels_47(){ try { __id199_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id199_.bodyAllowSleep = true; __id199_.bodyAngularDamping = 0; __id199_.bodyApplyGravity = true; __id199_.bodyFixedRotation = false; __id199_.bodyIsBullet = false; __id199_.bodyIsSleeping = false; __id199_.bodyIsStatic = true; __id199_.bodyLinearDamping = 0; __id199_.shapeCategoryBits = "0x0001"; __id199_.shapeDensity = 1; __id199_.shapeFriction = 0.2; __id199_.shapeGroupIndex = 0; __id199_.shapeIsSensor = false; __id199_.shapeMaskBits = "0xFFFF"; __id199_.shapeRestitution = 0.4; try { __id199_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id149__World1_Levels_34(){ try { __id149_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id149_.bodyAllowSleep = true; __id149_.bodyAngularDamping = 0; __id149_.bodyApplyGravity = true; __id149_.bodyFixedRotation = false; __id149_.bodyIsBullet = false; __id149_.bodyIsSleeping = true; __id149_.bodyIsStatic = false; __id149_.bodyLinearDamping = 0; __id149_.shapeCategoryBits = "0x0001"; __id149_.shapeDensity = 1; __id149_.shapeFriction = 0.2; __id149_.shapeGroupIndex = 0; __id149_.shapeIsSensor = false; __id149_.shapeMaskBits = "0xFFFF"; __id149_.shapeRestitution = 0; try { __id149_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id80__World1_Levels_17(){ try { __id80_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id80_.bodyAllowSleep = true; __id80_.bodyAngularDamping = 0; __id80_.bodyApplyGravity = true; __id80_.bodyFixedRotation = false; __id80_.bodyIsBullet = false; __id80_.bodyIsSleeping = false; __id80_.bodyIsStatic = true; __id80_.bodyLinearDamping = 0; __id80_.shapeCategoryBits = "0x0001"; __id80_.shapeDensity = 1; __id80_.shapeFriction = 0.2; __id80_.shapeGroupIndex = 0; __id80_.shapeIsSensor = false; __id80_.shapeMaskBits = "0xFFFF"; __id80_.shapeRestitution = 0; try { __id80_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id213__World1_Levels_50(){ try { __id213_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id213_.bodyAllowSleep = true; __id213_.bodyAngularDamping = 0; __id213_.bodyApplyGravity = true; __id213_.bodyFixedRotation = false; __id213_.bodyIsBullet = false; __id213_.bodyIsSleeping = false; __id213_.bodyIsStatic = true; __id213_.bodyLinearDamping = 0; __id213_.shapeCategoryBits = "0x0001"; __id213_.shapeDensity = 1; __id213_.shapeFriction = 0.2; __id213_.shapeGroupIndex = 0; __id213_.shapeIsSensor = false; __id213_.shapeMaskBits = "0xFFFF"; __id213_.shapeRestitution = 0; try { __id213_["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp___id4__World1_Levels_1(){ try { __id4_["componentInspectorSetting"] = true; } catch(e:Error) { }; __id4_.bodyAllowSleep = true; __id4_.bodyAngularDamping = 0; __id4_.bodyApplyGravity = true; __id4_.bodyFixedRotation = false; __id4_.bodyIsBullet = false; __id4_.bodyIsSleeping = false; __id4_.bodyIsStatic = false; __id4_.bodyLinearDamping = 0; __id4_.shapeCategoryBits = "0x0001"; __id4_.shapeDensity = 1; __id4_.shapeFriction = 0.2; __id4_.shapeGroupIndex = 0; __id4_.shapeIsSensor = false; __id4_.shapeMaskBits = "0xFFFF"; __id4_.shapeRestitution = 0.3; try { __id4_["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package
Section 190
//DynamicBox (DynamicBox) package { import wck.*; public dynamic class DynamicBox extends Box { public function DynamicBox(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 191
//DynamicBoxTHING (DynamicBoxTHING) package { import wck.*; public dynamic class DynamicBoxTHING extends Box { public function DynamicBoxTHING(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 192
//ForEverEVERStatic (ForEverEVERStatic) package { import wck.*; public dynamic class ForEverEVERStatic extends Box { public function ForEverEVERStatic(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 193
//ForEverStatic (ForEverStatic) package { import wck.*; public dynamic class ForEverStatic extends Box { public function ForEverStatic(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 194
//Ground (Ground) package { import wck.*; public dynamic class Ground extends Box { } }//package
Section 195
//InvisibleBox (InvisibleBox) package { import wck.*; public dynamic class InvisibleBox extends Box { public function InvisibleBox(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); alpha = 0; } function frame2(){ stop(); alpha = 100; } } }//package
Section 196
//line (line) package { import flash.display.*; public dynamic class line extends MovieClip { } }//package
Section 197
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 198
//PhysCircle (PhysCircle) package { import flash.display.*; public dynamic class PhysCircle extends MovieClip { } }//package
Section 199
//StaticBox (StaticBox) package { import wck.*; public dynamic class StaticBox extends Box { public function StaticBox(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package

Library Items

Symbol 1 Sound {BedtimeStory}
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip {PhysCircle}Uses:2
Symbol 4 MovieClip {line}
Symbol 5 BitmapUsed by:6 92
Symbol 6 GraphicUses:5Used by:94
Symbol 7 GraphicUsed by:93 94
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:93
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:93
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:93
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:93
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:93
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:93
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:93
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:93
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:93
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:93
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:93
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:93
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:93
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:34Used by:93
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:93
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:93
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:93
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:93
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:93
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:93
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:93
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:93
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:93
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:54Used by:93
Symbol 56 BitmapUsed by:57
Symbol 57 GraphicUses:56Used by:93
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:93
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:93
Symbol 62 BitmapUsed by:63
Symbol 63 GraphicUses:62Used by:93
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:93
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:93
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:93
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:93
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:93
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:93
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:93
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:93
Symbol 80 BitmapUsed by:81
Symbol 81 GraphicUses:80Used by:93
Symbol 82 BitmapUsed by:83
Symbol 83 GraphicUses:82Used by:93
Symbol 84 BitmapUsed by:85
Symbol 85 GraphicUses:84Used by:93
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:93
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:93
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:93
Symbol 92 GraphicUses:5Used by:93
Symbol 93 MovieClip {StarFirePuzzler_fla.TurnVisible_57}Uses:9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 7 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 92Used by:94
Symbol 94 MovieClip {InvisibleBox}Uses:6 7 93Used by:237
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:98
Symbol 97 GraphicUsed by:98 115 141 144
Symbol 98 MovieClip {Board}Uses:96 97Used by:237
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:101
Symbol 101 MovieClipUses:100Used by:103
Symbol 102 GraphicUsed by:103 141 144
Symbol 103 MovieClip {ForEverEVERStatic}Uses:101 102Used by:237
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:108
Symbol 106 GraphicUsed by:108
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:105 106 107Used by:109
Symbol 109 MovieClipUses:108Used by:110
Symbol 110 MovieClip {ForEverStatic}Uses:109Used by:237
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:113
Symbol 113 MovieClipUses:112Used by:115 141 144
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClip {StaticBox}Uses:113 114 97Used by:237
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:118
Symbol 118 MovieClip {DemoStar}Uses:117Used by:237
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClip {wck.DemoPoly}Uses:119Used by:237
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClip {DemoJoint}Uses:121Used by:237
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClip {chain}Uses:123Used by:237
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:131 143
Symbol 127 GraphicUsed by:131 143
Symbol 128 FontUsed by:129 142 181 211 215 261 278 279 308 315 326 333 457
Symbol 129 TextUses:128Used by:131
Symbol 130 GraphicUsed by:131 143
Symbol 131 MovieClip {Button2}Uses:126 127 129 130Used by:237
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:134
Symbol 134 MovieClip {Ground}Uses:133Used by:237
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:137
Symbol 137 MovieClipUses:136Used by:138
Symbol 138 MovieClip {Circle}Uses:137Used by:237
Symbol 139 GraphicUsed by:141
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClip {DynamicBoxTHING}Uses:139 113 102 140 97Used by:237
Symbol 142 TextUses:128Used by:143
Symbol 143 MovieClip {Button}Uses:126 127 142 130Used by:237
Symbol 144 MovieClip {DynamicBox}Uses:113 102 97Used by:237
Symbol 145 MovieClipUsed by:237
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:158
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:158
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClipUses:150Used by:158
Symbol 152 GraphicUsed by:154
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClip {DemoCursor}Uses:152 153Used by:158  Timeline
Symbol 155 ShapeTweeningUsed by:158
Symbol 156 GraphicUsed by:158
Symbol 157 GraphicUsed by:158 226
Symbol 158 MovieClip {StarFirePuzzler_fla.TUT_29}Uses:147 149 151 154 155 156 157Used by:237
Symbol 159 GraphicUsed by:163
Symbol 160 GraphicUsed by:163
Symbol 161 GraphicUsed by:163
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClip {StarFirePuzzler_fla.Tool1_34}Uses:159 160 161 162Used by:237
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:164Used by:168 217 221
Symbol 166 GraphicUsed by:167
Symbol 167 MovieClipUses:166Used by:168 217
Symbol 168 MovieClip {StarFirePuzzler_fla.TUT2_35}Uses:165 167Used by:237
Symbol 169 FontUsed by:170 171 188 204 205 218 219 220 222 228 229 230 231 232 233 235 236 239 301
Symbol 170 TextUses:169Used by:237
Symbol 171 TextUses:169Used by:237
Symbol 172 GraphicUsed by:176 194 201 226
Symbol 173 GraphicUsed by:176
Symbol 174 GraphicUsed by:176 194
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClip {StarFirePuzzler_fla.Tool2_38}Uses:172 173 174 175Used by:202 237
Symbol 177 GraphicUsed by:237
Symbol 178 GraphicUsed by:221 237
Symbol 179 GraphicUsed by:202
Symbol 180 GraphicUsed by:184 316
Symbol 181 TextUses:128Used by:184
Symbol 182 GraphicUsed by:184 316 458
Symbol 183 GraphicUsed by:184 316 458
Symbol 184 MovieClip {StarFirePuzzler_fla.OkayButton_41}Uses:180 181 182 183Used by:202
Symbol 185 GraphicUsed by:202
Symbol 186 GraphicUsed by:202
Symbol 187 GraphicUsed by:202
Symbol 188 TextUses:169Used by:202
Symbol 189 GraphicUsed by:202
Symbol 190 GraphicUsed by:202
Symbol 191 GraphicUsed by:202
Symbol 192 GraphicUsed by:194
Symbol 193 GraphicUsed by:194
Symbol 194 MovieClip {StarFirePuzzler_fla.Tool3_43}Uses:192 172 193 174Used by:202 237
Symbol 195 GraphicUsed by:202
Symbol 196 GraphicUsed by:202
Symbol 197 GraphicUsed by:201
Symbol 198 GraphicUsed by:201 226
Symbol 199 GraphicUsed by:201
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClip {StarFirePuzzler_fla.Tool4_44}Uses:197 198 199 200 172Used by:202 237
Symbol 202 MovieClip {StarFirePuzzler_fla.NewTool_40}Uses:179 184 185 186 187 188 176 189 190 191 194 195 196 201Used by:203
Symbol 203 MovieClip {StarFirePuzzler_fla.NewToolAni_39}Uses:202Used by:237
Symbol 204 TextUses:169Used by:237
Symbol 205 TextUses:169Used by:237
Symbol 206 GraphicUsed by:237
Symbol 207 GraphicUsed by:216
Symbol 208 GraphicUsed by:216
Symbol 209 GraphicUsed by:216
Symbol 210 GraphicUsed by:214 310
Symbol 211 TextUses:128Used by:214
Symbol 212 GraphicUsed by:214
Symbol 213 GraphicUsed by:214 310
Symbol 214 MovieClip {StarFirePuzzler_fla.RetryBUttcopy_51}Uses:210 211 212 213Used by:216
Symbol 215 EditableTextUses:128Used by:216
Symbol 216 MovieClip {StarFirePuzzler_fla.RetryMenuStatic_50}Uses:207 208 209 214 215Used by:237
Symbol 217 MovieClip {StarFirePuzzler_fla.TUT3_52}Uses:167 165Used by:237
Symbol 218 TextUses:169Used by:237
Symbol 219 TextUses:169Used by:237
Symbol 220 TextUses:169Used by:237
Symbol 221 MovieClip {StarFirePuzzler_fla.TUT4_54}Uses:178 165Used by:237
Symbol 222 TextUses:169Used by:237
Symbol 223 GraphicUsed by:226
Symbol 224 GraphicUsed by:226
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClip {StarFirePuzzler_fla.Tool5_55}Uses:223 198 224 157 225 172Used by:237
Symbol 227 GraphicUsed by:237
Symbol 228 TextUses:169Used by:237
Symbol 229 TextUses:169Used by:237
Symbol 230 TextUses:169Used by:237
Symbol 231 TextUses:169Used by:237
Symbol 232 TextUses:169Used by:237
Symbol 233 TextUses:169Used by:237
Symbol 234 GraphicUsed by:237
Symbol 235 TextUses:169Used by:237
Symbol 236 TextUses:169Used by:237
Symbol 237 MovieClip {DemoWorld1}Uses:145 144 143 141 138 134 131 124 122 120 118 158 115 163 168 170 171 176 177 178 203 110 204 103 205 206 216 194 217 98 218 219 220 201 221 222 226 227 228 229 94 230 231 232 233 234 235 236Used by:238
Symbol 238 MovieClip {DemoView1}Uses:237Used by:Timeline
Symbol 239 TextUses:169Used by:260
Symbol 240 ShapeTweeningUsed by:260
Symbol 241 GraphicUsed by:260
Symbol 242 ShapeTweeningUsed by:260
Symbol 243 ShapeTweeningUsed by:260
Symbol 244 ShapeTweeningUsed by:260
Symbol 245 ShapeTweeningUsed by:260
Symbol 246 ShapeTweeningUsed by:260
Symbol 247 GraphicUsed by:260
Symbol 248 GraphicUsed by:260
Symbol 249 GraphicUsed by:260
Symbol 250 GraphicUsed by:260
Symbol 251 GraphicUsed by:260
Symbol 252 GraphicUsed by:260
Symbol 253 GraphicUsed by:260
Symbol 254 GraphicUsed by:260
Symbol 255 GraphicUsed by:260
Symbol 256 ShapeTweeningUsed by:260
Symbol 257 ShapeTweeningUsed by:260
Symbol 258 ShapeTweeningUsed by:260
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClip {StarFirePuzzler_fla.loading_2}Uses:239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259Used by:Timeline
Symbol 261 EditableTextUses:128Used by:Timeline
Symbol 262 ShapeTweeningUsed by:283
Symbol 263 GraphicUsed by:267
Symbol 264 ShapeTweeningUsed by:266 267
Symbol 265 GraphicUsed by:266
Symbol 266 MovieClip {StarFirePuzzler_fla.introFlash_5}Uses:264 265Used by:267
Symbol 267 ButtonUses:263 266 264Used by:283
Symbol 268 GraphicUsed by:283
Symbol 269 GraphicUsed by:283
Symbol 270 ShapeTweeningUsed by:283
Symbol 271 GraphicUsed by:283
Symbol 272 ShapeTweeningUsed by:283
Symbol 273 GraphicUsed by:283
Symbol 274 ShapeTweeningUsed by:283
Symbol 275 GraphicUsed by:283
Symbol 276 ShapeTweeningUsed by:283
Symbol 277 GraphicUsed by:283
Symbol 278 TextUses:128Used by:280
Symbol 279 TextUses:128Used by:280
Symbol 280 MovieClipUses:278 279Used by:283
Symbol 281 GraphicUsed by:283
Symbol 282 ShapeTweeningUsed by:283
Symbol 283 MovieClip {StarFirePuzzler_fla.notDoppler_intro_3}Uses:262 267 268 269 270 271 272 273 274 275 276 277 280 281 282 SS1Used by:Timeline
Symbol 284 GraphicUsed by:299
Symbol 285 BitmapUsed by:286
Symbol 286 GraphicUses:285Used by:287
Symbol 287 MovieClipUses:286Used by:299
Symbol 288 BitmapUsed by:289
Symbol 289 GraphicUses:288Used by:290
Symbol 290 MovieClipUses:289Used by:299
Symbol 291 BitmapUsed by:292
Symbol 292 GraphicUses:291Used by:293
Symbol 293 MovieClipUses:292Used by:299
Symbol 294 BitmapUsed by:295 297
Symbol 295 GraphicUses:294Used by:296
Symbol 296 MovieClipUses:295Used by:299
Symbol 297 GraphicUses:294Used by:298
Symbol 298 MovieClipUses:297Used by:299
Symbol 299 MovieClipUses:284 287 290 293 296 298Used by:Timeline
Symbol 300 GraphicUsed by:304
Symbol 301 EditableTextUses:169Used by:302
Symbol 302 MovieClip {StarFirePuzzler_fla.Level_59}Uses:301Used by:304
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClip {StarFirePuzzler_fla.levelShower_58}Uses:300 302 303Used by:Timeline
Symbol 305 GraphicUsed by:311 312
Symbol 306 GraphicUsed by:311 312
Symbol 307 GraphicUsed by:311 312
Symbol 308 TextUses:128Used by:310
Symbol 309 GraphicUsed by:310
Symbol 310 MovieClip {StarFirePuzzler_fla.RetryBUtt_62}Uses:210 308 309 213Used by:311 312
Symbol 311 MovieClip {StarFirePuzzler_fla.RetryMenuStatic_61}Uses:305 306 307 310Used by:313
Symbol 312 MovieClip {StarFirePuzzler_fla.RetryMenuStatic_63}Uses:305 306 307 310Used by:313
Symbol 313 MovieClip {StarFirePuzzler_fla.retryMenuAnimated_60}Uses:311 312Used by:Timeline
Symbol 314 GraphicUsed by:330
Symbol 315 TextUses:128Used by:316
Symbol 316 MovieClip {StarFirePuzzler_fla.Contiune_42}Uses:180 315 182 183Used by:330
Symbol 317 FontUsed by:318
Symbol 318 TextUses:317Used by:330
Symbol 319 FontUsed by:320 321 322
Symbol 320 EditableTextUses:319Used by:330
Symbol 321 EditableTextUses:319Used by:330
Symbol 322 EditableTextUses:319Used by:330
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClipUses:323Used by:327
Symbol 325 GraphicUsed by:327
Symbol 326 TextUses:128Used by:327
Symbol 327 MovieClip {StarFirePuzzler_fla.Button2copy_66}Uses:324 325 326Used by:330
Symbol 328 GraphicUsed by:329
Symbol 329 MovieClipUses:328Used by:330
Symbol 330 MovieClip {StarFirePuzzler_fla.lCMenu_art_65}Uses:314 316 318 320 321 322 327 329Used by:331
Symbol 331 MovieClip {StarFirePuzzler_fla.lCMenu_64}Uses:330Used by:Timeline
Symbol 332 GraphicUsed by:442
Symbol 333 TextUses:128Used by:442
Symbol 334 GraphicUsed by:341 343 345 347 349 351 353 355 357 359 361 363 365 367 369 371 373 375 377 379 381 383 385 387 389 391 393 395 397 399 401 403 405 407 409 411 413 415 417 419 421 423 425 427 429 431 433 435 437 439 441
Symbol 335 FontUsed by:336 342 344 346 348 350 352 354 356 358 360 362 364 366 368 370 372 374 376 378 380 382 384 386 388 390 392 394 396 398 400 402 404 406 408 410 412 414 416 418 420 422 424 426 428 430 432 434 436 438 440
Symbol 336 TextUses:335Used by:341
Symbol 337 GraphicUsed by:341 343 345 347 349 351 353 355 357 359 361 363 365 367 369 371 373 375 377 379 381 383 385 387 389 391 393 395 397 399 401 403 405 407 409 411 413 415 417 419 421 423 425 427 429 431 433 435 437 439 441
Symbol 338 GraphicUsed by:341
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}Uses:339Used by:341 343 345 347 349 351 353 355 357 359 361 363 365 367 369 371 373 375 377 379 381 383 385 387 389 391 393 395 397 399 401 403 405 407 409 411 413 415 417 419 421 423 425 427 429 431 433 435 437 439 441
Symbol 341 MovieClip {StarFirePuzzler_fla.level1_72}Uses:334 336 337 338 340Used by:442
Symbol 342 TextUses:335Used by:343
Symbol 343 MovieClip {StarFirePuzzler_fla.level2_74}Uses:334 342 337 340Used by:442
Symbol 344 TextUses:335Used by:345
Symbol 345 MovieClip {StarFirePuzzler_fla.level3_75}Uses:334 344 337 340Used by:442
Symbol 346 TextUses:335Used by:347
Symbol 347 MovieClip {StarFirePuzzler_fla.level4_76}Uses:334 346 337 340Used by:442
Symbol 348 TextUses:335Used by:349
Symbol 349 MovieClip {StarFirePuzzler_fla.level5_77}Uses:334 348 337 340Used by:442
Symbol 350 TextUses:335Used by:351
Symbol 351 MovieClip {StarFirePuzzler_fla.level6_78}Uses:334 350 337 340Used by:442
Symbol 352 TextUses:335Used by:353
Symbol 353 MovieClip {StarFirePuzzler_fla.level7_79}Uses:334 352 337 340Used by:442
Symbol 354 TextUses:335Used by:355
Symbol 355 MovieClip {StarFirePuzzler_fla.level8_80}Uses:334 354 337 340Used by:442
Symbol 356 TextUses:335Used by:357
Symbol 357 MovieClip {StarFirePuzzler_fla.level9_81}Uses:334 356 337 340Used by:442
Symbol 358 EditableTextUses:335Used by:359
Symbol 359 MovieClip {StarFirePuzzler_fla.level3copy_82}Uses:334 358 337 340Used by:442
Symbol 360 EditableTextUses:335Used by:361
Symbol 361 MovieClip {StarFirePuzzler_fla.level3copy2_83}Uses:334 360 337 340Used by:442
Symbol 362 EditableTextUses:335Used by:363
Symbol 363 MovieClip {StarFirePuzzler_fla.level3copy3_84}Uses:334 362 337 340Used by:442
Symbol 364 EditableTextUses:335Used by:365
Symbol 365 MovieClip {StarFirePuzzler_fla.level3copy4_85}Uses:334 364 337 340Used by:442
Symbol 366 EditableTextUses:335Used by:367
Symbol 367 MovieClip {StarFirePuzzler_fla.level3copy5_86}Uses:334 366 337 340Used by:442
Symbol 368 EditableTextUses:335Used by:369
Symbol 369 MovieClip {StarFirePuzzler_fla.level3copy6_87}Uses:334 368 337 340Used by:442
Symbol 370 EditableTextUses:335Used by:371
Symbol 371 MovieClip {StarFirePuzzler_fla.level3copy7_88}Uses:334 370 337 340Used by:442
Symbol 372 EditableTextUses:335Used by:373
Symbol 373 MovieClip {StarFirePuzzler_fla.level3copy9_89}Uses:334 372 337 340Used by:442
Symbol 374 EditableTextUses:335Used by:375
Symbol 375 MovieClip {StarFirePuzzler_fla.level3copy8_90}Uses:334 374 337 340Used by:442
Symbol 376 EditableTextUses:335Used by:377
Symbol 377 MovieClip {StarFirePuzzler_fla.level3copy10_91}Uses:334 376 337 340Used by:442
Symbol 378 EditableTextUses:335Used by:379
Symbol 379 MovieClip {StarFirePuzzler_fla.level3copy27_92}Uses:334 378 337 340Used by:442
Symbol 380 EditableTextUses:335Used by:381
Symbol 381 MovieClip {StarFirePuzzler_fla.level3copy11_93}Uses:334 380 337 340Used by:442
Symbol 382 EditableTextUses:335Used by:383
Symbol 383 MovieClip {StarFirePuzzler_fla.level3copy12_94}Uses:334 382 337 340Used by:442
Symbol 384 EditableTextUses:335Used by:385
Symbol 385 MovieClip {StarFirePuzzler_fla.level3copy13_95}Uses:334 384 337 340Used by:442
Symbol 386 EditableTextUses:335Used by:387
Symbol 387 MovieClip {StarFirePuzzler_fla.level3copy14_96}Uses:334 386 337 340Used by:442
Symbol 388 EditableTextUses:335Used by:389
Symbol 389 MovieClip {StarFirePuzzler_fla.level3copy15_97}Uses:334 388 337 340Used by:442
Symbol 390 EditableTextUses:335Used by:391
Symbol 391 MovieClip {StarFirePuzzler_fla.level3copy16_98}Uses:334 390 337 340Used by:442
Symbol 392 EditableTextUses:335Used by:393
Symbol 393 MovieClip {StarFirePuzzler_fla.level3copy17_99}Uses:334 392 337 340Used by:442
Symbol 394 EditableTextUses:335Used by:395
Symbol 395 MovieClip {StarFirePuzzler_fla.level3copy18_100}Uses:334 394 337 340Used by:442
Symbol 396 EditableTextUses:335Used by:397
Symbol 397 MovieClip {StarFirePuzzler_fla.level3copy19_101}Uses:334 396 337 340Used by:442
Symbol 398 EditableTextUses:335Used by:399
Symbol 399 MovieClip {StarFirePuzzler_fla.level3copy20_102}Uses:334 398 337 340Used by:442
Symbol 400 EditableTextUses:335Used by:401
Symbol 401 MovieClip {StarFirePuzzler_fla.level3copy21_103}Uses:334 400 337 340Used by:442
Symbol 402 EditableTextUses:335Used by:403
Symbol 403 MovieClip {StarFirePuzzler_fla.level3copy22_104}Uses:334 402 337 340Used by:442
Symbol 404 EditableTextUses:335Used by:405
Symbol 405 MovieClip {StarFirePuzzler_fla.level3copy23_105}Uses:334 404 337 340Used by:442
Symbol 406 EditableTextUses:335Used by:407
Symbol 407 MovieClip {StarFirePuzzler_fla.level3copy24_106}Uses:334 406 337 340Used by:442
Symbol 408 EditableTextUses:335Used by:409
Symbol 409 MovieClip {StarFirePuzzler_fla.level3copy25_107}Uses:334 408 337 340Used by:442
Symbol 410 EditableTextUses:335Used by:411
Symbol 411 MovieClip {StarFirePuzzler_fla.level3copy26_108}Uses:334 410 337 340Used by:442
Symbol 412 EditableTextUses:335Used by:413
Symbol 413 MovieClip {StarFirePuzzler_fla.level3copy28_109}Uses:334 412 337 340Used by:442
Symbol 414 EditableTextUses:335Used by:415
Symbol 415 MovieClip {StarFirePuzzler_fla.level3copy29_110}Uses:334 414 337 340Used by:442
Symbol 416 EditableTextUses:335Used by:417
Symbol 417 MovieClip {StarFirePuzzler_fla.level3copy30_111}Uses:334 416 337 340Used by:442
Symbol 418 EditableTextUses:335Used by:419
Symbol 419 MovieClip {StarFirePuzzler_fla.level3copy31_112}Uses:334 418 337 340Used by:442
Symbol 420 EditableTextUses:335Used by:421
Symbol 421 MovieClip {StarFirePuzzler_fla.level3copy32_113}Uses:334 420 337 340Used by:442
Symbol 422 EditableTextUses:335Used by:423
Symbol 423 MovieClip {StarFirePuzzler_fla.level3copy33_114}Uses:334 422 337 340Used by:442
Symbol 424 EditableTextUses:335Used by:425
Symbol 425 MovieClip {StarFirePuzzler_fla.level3copy34_115}Uses:334 424 337 340Used by:442
Symbol 426 EditableTextUses:335Used by:427
Symbol 427 MovieClip {StarFirePuzzler_fla.level3copy35_116}Uses:334 426 337 340Used by:442
Symbol 428 EditableTextUses:335Used by:429
Symbol 429 MovieClip {StarFirePuzzler_fla.level3copy36_117}Uses:334 428 337 340Used by:442
Symbol 430 EditableTextUses:335Used by:431
Symbol 431 MovieClip {StarFirePuzzler_fla.level3copy37_118}Uses:334 430 337 340Used by:442
Symbol 432 EditableTextUses:335Used by:433
Symbol 433 MovieClip {StarFirePuzzler_fla.level3copy38_119}Uses:334 432 337 340Used by:442
Symbol 434 EditableTextUses:335Used by:435
Symbol 435 MovieClip {StarFirePuzzler_fla.level3copy45_120}Uses:334 434 337 340Used by:442
Symbol 436 EditableTextUses:335Used by:437
Symbol 437 MovieClip {StarFirePuzzler_fla.level3copy40_121}Uses:334 436 337 340Used by:442
Symbol 438 EditableTextUses:335Used by:439
Symbol 439 MovieClip {StarFirePuzzler_fla.level3copy41_122}Uses:334 438 337 340Used by:442
Symbol 440 EditableTextUses:335Used by:441
Symbol 441 MovieClip {StarFirePuzzler_fla.level3copy42_123}Uses:334 440 337 340Used by:442
Symbol 442 MovieClip {StarFirePuzzler_fla.choose_script_71}Uses:332 333 341 343 345 347 349 351 353 355 357 359 361 363 365 367 369 371 373 375 377 379 381 383 385 387 389 391 393 395 397 399 401 403 405 407 409 411 413 415 417 419 421 423 425 427 429 431 433 435 437 439 441Used by:443
Symbol 443 MovieClip {StarFirePuzzler_fla.choose_animated_70}Uses:442Used by:444
Symbol 444 MovieClip {StarFirePuzzler_fla.chooseLevel_69}Uses:443Used by:Timeline
Symbol 445 GraphicUsed by:446
Symbol 446 MovieClip {StarFirePuzzler_fla.border_124}Uses:445Used by:Timeline
Symbol 447 GraphicUsed by:455
Symbol 448 GraphicUsed by:455
Symbol 449 GraphicUsed by:455
Symbol 450 GraphicUsed by:451
Symbol 451 MovieClipUses:450Used by:455
Symbol 452 GraphicUsed by:453
Symbol 453 MovieClipUses:452Used by:455
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClip {StarFirePuzzler_fla.Sound_125}Uses:447 448 449 451 453 454Used by:Timeline
Symbol 456 GraphicUsed by:458
Symbol 457 TextUses:128Used by:458
Symbol 458 MovieClip {StarFirePuzzler_fla.FireArrow_128}Uses:456 457 182 183Used by:Timeline
Streaming Sound 1Used by:Symbol 283 MovieClip {StarFirePuzzler_fla.notDoppler_intro_3}

Instance Names

"pointer"Frame 1Symbol 154 MovieClip {DemoCursor}
"loading"Frame 1Symbol 260 MovieClip {StarFirePuzzler_fla.loading_2}
"loading2"Frame 1Symbol 261 EditableText
"view1"Frame 3Symbol 238 MovieClip {DemoView1}
"levelShower"Frame 3Symbol 304 MovieClip {StarFirePuzzler_fla.levelShower_58}
"retryMenu"Frame 3Symbol 313 MovieClip {StarFirePuzzler_fla.retryMenuAnimated_60}
"lCMenu"Frame 3Symbol 331 MovieClip {StarFirePuzzler_fla.lCMenu_64}
"chooseLevel"Frame 3Symbol 444 MovieClip {StarFirePuzzler_fla.chooseLevel_69}
"border"Frame 3Symbol 446 MovieClip {StarFirePuzzler_fla.border_124}
"FireArrowBut"Frame 12Symbol 458 MovieClip {StarFirePuzzler_fla.FireArrow_128}
"RFireArrow"Frame 12Symbol 458 MovieClip {StarFirePuzzler_fla.FireArrow_128}
"ContinueButton"Symbol 202 MovieClip {StarFirePuzzler_fla.NewTool_40} Frame 1Symbol 184 MovieClip {StarFirePuzzler_fla.OkayButton_41}
"retryButt"Symbol 216 MovieClip {StarFirePuzzler_fla.RetryMenuStatic_50} Frame 1Symbol 214 MovieClip {StarFirePuzzler_fla.RetryBUttcopy_51}
"SkipT"Symbol 216 MovieClip {StarFirePuzzler_fla.RetryMenuStatic_50} Frame 1Symbol 215 EditableText
"DBG"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 145 MovieClip
"__id0_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 144 MovieClip {DynamicBox}
"__id1_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 144 MovieClip {DynamicBox}
"But1"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 143 MovieClip {Button}
"__id2_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 144 MovieClip {DynamicBox}
"__id3_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 144 MovieClip {DynamicBox}
"__id4_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 141 MovieClip {DynamicBoxTHING}
"__id5_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 138 MovieClip {Circle}
"__id6_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 144 MovieClip {DynamicBox}
"__id7_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 144 MovieClip {DynamicBox}
"__id8_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 134 MovieClip {Ground}
"But2"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 131 MovieClip {Button2}
"TC"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 124 MovieClip {chain}
"MC"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 124 MovieClip {chain}
"BC"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 124 MovieClip {chain}
"__id9_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 122 MovieClip {DemoJoint}
"__id10_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 122 MovieClip {DemoJoint}
"__id11_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 122 MovieClip {DemoJoint}
"__id12_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 122 MovieClip {DemoJoint}
"TC2"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 124 MovieClip {chain}
"MC2"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 124 MovieClip {chain}
"BC2"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 124 MovieClip {chain}
"__id13_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 122 MovieClip {DemoJoint}
"__id14_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 122 MovieClip {DemoJoint}
"__id15_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 122 MovieClip {DemoJoint}
"__id16_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 122 MovieClip {DemoJoint}
"__id17_"Symbol 237 MovieClip {DemoWorld1} Frame 1Symbol 144 MovieClip {DynamicBox}
"Arrow"Symbol 237 MovieClip {DemoWorld1} Frame 2Symbol 120 MovieClip {wck.DemoPoly}
"Star"Symbol 237 MovieClip {DemoWorld1} Frame 2Symbol 118 MovieClip {DemoStar}
"TUT"Symbol 237 MovieClip {DemoWorld1} Frame 2Symbol 158 MovieClip {StarFirePuzzler_fla.TUT_29}
"DBG"Symbol 237 MovieClip {DemoWorld1} Frame 2Symbol 145 MovieClip
"Box"Symbol 237 MovieClip {DemoWorld1} Frame 3Symbol 115 MovieClip {StaticBox}
"Box3"Symbol 237 MovieClip {DemoWorld1} Frame 3Symbol 144 MovieClip {DynamicBox}
"Box2"Symbol 237 MovieClip {DemoWorld1} Frame 3Symbol 144 MovieClip {DynamicBox}
"Box4"Symbol 237 MovieClip {DemoWorld1} Frame 3Symbol 144 MovieClip {DynamicBox}
"Box5"Symbol 237 MovieClip {DemoWorld1} Frame 3Symbol 144 MovieClip {DynamicBox}
"Box5"Symbol 237 MovieClip {DemoWorld1} Frame 3Symbol 144 MovieClip {DynamicBox}
"tool1"Symbol 237 MovieClip {DemoWorld1} Frame 3Symbol 163 MovieClip {StarFirePuzzler_fla.Tool1_34}
"TUT2"Symbol 237 MovieClip {DemoWorld1} Frame 3Symbol 168 MovieClip {StarFirePuzzler_fla.TUT2_35}
"__id18_"Symbol 237 MovieClip {DemoWorld1} Frame 4Symbol 115 MovieClip {StaticBox}
"__id19_"Symbol 237 MovieClip {DemoWorld1} Frame 4Symbol 115 MovieClip {StaticBox}
"__id20_"Symbol 237 MovieClip {DemoWorld1} Frame 4Symbol 115 MovieClip {StaticBox}
"__id21_"Symbol 237 MovieClip {DemoWorld1} Frame 4Symbol 115 MovieClip {StaticBox}
"tool2"Symbol 237 MovieClip {DemoWorld1} Frame 5Symbol 176 MovieClip {StarFirePuzzler_fla.Tool2_38}
"__id22_"Symbol 237 MovieClip {DemoWorld1} Frame 6Symbol 110 MovieClip {ForEverStatic}
"V"Symbol 237 MovieClip {DemoWorld1} Frame 6Symbol 115 MovieClip {StaticBox}
"__id23_"Symbol 237 MovieClip {DemoWorld1} Frame 7Symbol 110 MovieClip {ForEverStatic}
"__id24_"Symbol 237 MovieClip {DemoWorld1} Frame 7Symbol 110 MovieClip {ForEverStatic}
"__id25_"Symbol 237 MovieClip {DemoWorld1} Frame 7Symbol 110 MovieClip {ForEverStatic}
"__id26_"Symbol 237 MovieClip {DemoWorld1} Frame 7Symbol 103 MovieClip {ForEverEVERStatic}
"__id27_"Symbol 237 MovieClip {DemoWorld1} Frame 7Symbol 110 MovieClip {ForEverStatic}
"__id28_"Symbol 237 MovieClip {DemoWorld1} Frame 7Symbol 103 MovieClip {ForEverEVERStatic}
"__id29_"Symbol 237 MovieClip {DemoWorld1} Frame 7Symbol 103 MovieClip {ForEverEVERStatic}
"__id30_"Symbol 237 MovieClip {DemoWorld1} Frame 7Symbol 103 MovieClip {ForEverEVERStatic}
"firstMenu"Symbol 237 MovieClip {DemoWorld1} Frame 7Symbol 216 MovieClip {StarFirePuzzler_fla.RetryMenuStatic_50}
"__id31_"Symbol 237 MovieClip {DemoWorld1} Frame 8Symbol 103 MovieClip {ForEverEVERStatic}
"Star"Symbol 237 MovieClip {DemoWorld1} Frame 9Symbol 118 MovieClip {DemoStar}
"__id33_"Symbol 237 MovieClip {DemoWorld1} Frame 9Symbol 138 MovieClip {Circle}
"__id34_"Symbol 237 MovieClip {DemoWorld1} Frame 9Symbol 110 MovieClip {ForEverStatic}
"__id35_"Symbol 237 MovieClip {DemoWorld1} Frame 9Symbol 103 MovieClip {ForEverEVERStatic}
"__id36_"Symbol 237 MovieClip {DemoWorld1} Frame 9Symbol 103 MovieClip {ForEverEVERStatic}
"__id37_"Symbol 237 MovieClip {DemoWorld1} Frame 9Symbol 103 MovieClip {ForEverEVERStatic}
"__id38_"Symbol 237 MovieClip {DemoWorld1} Frame 9Symbol 103 MovieClip {ForEverEVERStatic}
"__id39_"Symbol 237 MovieClip {DemoWorld1} Frame 9Symbol 103 MovieClip {ForEverEVERStatic}
"__id40_"Symbol 237 MovieClip {DemoWorld1} Frame 9Symbol 103 MovieClip {ForEverEVERStatic}
"tool3"Symbol 237 MovieClip {DemoWorld1} Frame 9Symbol 194 MovieClip {StarFirePuzzler_fla.Tool3_43}
"TUT3"Symbol 237 MovieClip {DemoWorld1} Frame 9Symbol 217 MovieClip {StarFirePuzzler_fla.TUT3_52}
"Arrow"Symbol 237 MovieClip {DemoWorld1} Frame 10Symbol 120 MovieClip {wck.DemoPoly}
"__id41_"Symbol 237 MovieClip {DemoWorld1} Frame 10Symbol 98 MovieClip {Board}
"__id42_"Symbol 237 MovieClip {DemoWorld1} Frame 10Symbol 115 MovieClip {StaticBox}
"__id45_"Symbol 237 MovieClip {DemoWorld1} Frame 10Symbol 134 MovieClip {Ground}
"__id46_"Symbol 237 MovieClip {DemoWorld1} Frame 11Symbol 138 MovieClip {Circle}
"__id47_"Symbol 237 MovieClip {DemoWorld1} Frame 11Symbol 110 MovieClip {ForEverStatic}
"__id48_"Symbol 237 MovieClip {DemoWorld1} Frame 12Symbol 98 MovieClip {Board}
"__id49_"Symbol 237 MovieClip {DemoWorld1} Frame 12Symbol 110 MovieClip {ForEverStatic}
"__id50_"Symbol 237 MovieClip {DemoWorld1} Frame 12Symbol 110 MovieClip {ForEverStatic}
"__id51_"Symbol 237 MovieClip {DemoWorld1} Frame 12Symbol 110 MovieClip {ForEverStatic}
"__id52_"Symbol 237 MovieClip {DemoWorld1} Frame 12Symbol 110 MovieClip {ForEverStatic}
"__id53_"Symbol 237 MovieClip {DemoWorld1} Frame 12Symbol 110 MovieClip {ForEverStatic}
"__id54_"Symbol 237 MovieClip {DemoWorld1} Frame 12Symbol 110 MovieClip {ForEverStatic}
"__id55_"Symbol 237 MovieClip {DemoWorld1} Frame 12Symbol 110 MovieClip {ForEverStatic}
"__id56_"Symbol 237 MovieClip {DemoWorld1} Frame 13Symbol 115 MovieClip {StaticBox}
"__id57_"Symbol 237 MovieClip {DemoWorld1} Frame 13Symbol 103 MovieClip {ForEverEVERStatic}
"__id58_"Symbol 237 MovieClip {DemoWorld1} Frame 13Symbol 103 MovieClip {ForEverEVERStatic}
"__id59_"Symbol 237 MovieClip {DemoWorld1} Frame 13Symbol 103 MovieClip {ForEverEVERStatic}
"__id60_"Symbol 237 MovieClip {DemoWorld1} Frame 13Symbol 103 MovieClip {ForEverEVERStatic}
"__id61_"Symbol 237 MovieClip {DemoWorld1} Frame 13Symbol 103 MovieClip {ForEverEVERStatic}
"__id62_"Symbol 237 MovieClip {DemoWorld1} Frame 13Symbol 103 MovieClip {ForEverEVERStatic}
"__id63_"Symbol 237 MovieClip {DemoWorld1} Frame 13Symbol 115 MovieClip {StaticBox}
"__id64_"Symbol 237 MovieClip {DemoWorld1} Frame 14Symbol 103 MovieClip {ForEverEVERStatic}
"__id65_"Symbol 237 MovieClip {DemoWorld1} Frame 14Symbol 103 MovieClip {ForEverEVERStatic}
"__id66_"Symbol 237 MovieClip {DemoWorld1} Frame 14Symbol 134 MovieClip {Ground}
"tool4"Symbol 237 MovieClip {DemoWorld1} Frame 14Symbol 201 MovieClip {StarFirePuzzler_fla.Tool4_44}
"TUT4"Symbol 237 MovieClip {DemoWorld1} Frame 14Symbol 221 MovieClip {StarFirePuzzler_fla.TUT4_54}
"Star"Symbol 237 MovieClip {DemoWorld1} Frame 15Symbol 118 MovieClip {DemoStar}
"__id67_"Symbol 237 MovieClip {DemoWorld1} Frame 15Symbol 115 MovieClip {StaticBox}
"__id68_"Symbol 237 MovieClip {DemoWorld1} Frame 15Symbol 110 MovieClip {ForEverStatic}
"__id69_"Symbol 237 MovieClip {DemoWorld1} Frame 15Symbol 115 MovieClip {StaticBox}
"__id70_"Symbol 237 MovieClip {DemoWorld1} Frame 16Symbol 138 MovieClip {Circle}
"__id71_"Symbol 237 MovieClip {DemoWorld1} Frame 16Symbol 103 MovieClip {ForEverEVERStatic}
"__id72_"Symbol 237 MovieClip {DemoWorld1} Frame 16Symbol 98 MovieClip {Board}
"__id73_"Symbol 237 MovieClip {DemoWorld1} Frame 16Symbol 103 MovieClip {ForEverEVERStatic}
"__id74_"Symbol 237 MovieClip {DemoWorld1} Frame 16Symbol 103 MovieClip {ForEverEVERStatic}
"__id75_"Symbol 237 MovieClip {DemoWorld1} Frame 16Symbol 98 MovieClip {Board}
"__id76_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"__id77_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"__id78_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"__id79_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"__id80_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"__id81_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"__id82_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"__id83_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"__id84_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"__id85_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"__id86_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"__id87_"Symbol 237 MovieClip {DemoWorld1} Frame 17Symbol 144 MovieClip {DynamicBox}
"Star"Symbol 237 MovieClip {DemoWorld1} Frame 18Symbol 118 MovieClip {DemoStar}
"__id88_"Symbol 237 MovieClip {DemoWorld1} Frame 18Symbol 110 MovieClip {ForEverStatic}
"__id89_"Symbol 237 MovieClip {DemoWorld1} Frame 18Symbol 110 MovieClip {ForEverStatic}
"__id90_"Symbol 237 MovieClip {DemoWorld1} Frame 18Symbol 110 MovieClip {ForEverStatic}
"__id91_"Symbol 237 MovieClip {DemoWorld1} Frame 18Symbol 110 MovieClip {ForEverStatic}
"__id92_"Symbol 237 MovieClip {DemoWorld1} Frame 19Symbol 115 MovieClip {StaticBox}
"__id93_"Symbol 237 MovieClip {DemoWorld1} Frame 19Symbol 115 MovieClip {StaticBox}
"tool5"Symbol 237 MovieClip {DemoWorld1} Frame 19Symbol 226 MovieClip {StarFirePuzzler_fla.Tool5_55}
"__id94_"Symbol 237 MovieClip {DemoWorld1} Frame 20Symbol 110 MovieClip {ForEverStatic}
"__id95_"Symbol 237 MovieClip {DemoWorld1} Frame 20Symbol 110 MovieClip {ForEverStatic}
"__id97_"Symbol 237 MovieClip {DemoWorld1} Frame 20Symbol 134 MovieClip {Ground}
"__id98_"Symbol 237 MovieClip {DemoWorld1} Frame 21Symbol 138 MovieClip {Circle}
"__id99_"Symbol 237 MovieClip {DemoWorld1} Frame 21Symbol 103 MovieClip {ForEverEVERStatic}
"__id100_"Symbol 237 MovieClip {DemoWorld1} Frame 21Symbol 103 MovieClip {ForEverEVERStatic}
"__id101_"Symbol 237 MovieClip {DemoWorld1} Frame 21Symbol 103 MovieClip {ForEverEVERStatic}
"__id102_"Symbol 237 MovieClip {DemoWorld1} Frame 21Symbol 103 MovieClip {ForEverEVERStatic}
"__id103_"Symbol 237 MovieClip {DemoWorld1} Frame 21Symbol 103 MovieClip {ForEverEVERStatic}
"__id104_"Symbol 237 MovieClip {DemoWorld1} Frame 22Symbol 103 MovieClip {ForEverEVERStatic}
"__id105_"Symbol 237 MovieClip {DemoWorld1} Frame 22Symbol 144 MovieClip {DynamicBox}
"__id106_"Symbol 237 MovieClip {DemoWorld1} Frame 22Symbol 138 MovieClip {Circle}
"__id107_"Symbol 237 MovieClip {DemoWorld1} Frame 22Symbol 138 MovieClip {Circle}
"__id108_"Symbol 237 MovieClip {DemoWorld1} Frame 22Symbol 134 MovieClip {Ground}
"Arrow"Symbol 237 MovieClip {DemoWorld1} Frame 23Symbol 120 MovieClip {wck.DemoPoly}
"__id109_"Symbol 237 MovieClip {DemoWorld1} Frame 23Symbol 110 MovieClip {ForEverStatic}
"__id110_"Symbol 237 MovieClip {DemoWorld1} Frame 23Symbol 98 MovieClip {Board}
"__id111_"Symbol 237 MovieClip {DemoWorld1} Frame 23Symbol 98 MovieClip {Board}
"__id112_"Symbol 237 MovieClip {DemoWorld1} Frame 23Symbol 98 MovieClip {Board}
"__id113_"Symbol 237 MovieClip {DemoWorld1} Frame 23Symbol 98 MovieClip {Board}
"__id114_"Symbol 237 MovieClip {DemoWorld1} Frame 24Symbol 98 MovieClip {Board}
"__id115_"Symbol 237 MovieClip {DemoWorld1} Frame 24Symbol 103 MovieClip {ForEverEVERStatic}
"__id116_"Symbol 237 MovieClip {DemoWorld1} Frame 24Symbol 98 MovieClip {Board}
"__id117_"Symbol 237 MovieClip {DemoWorld1} Frame 24Symbol 98 MovieClip {Board}
"__id118_"Symbol 237 MovieClip {DemoWorld1} Frame 24Symbol 115 MovieClip {StaticBox}
"T"Symbol 237 MovieClip {DemoWorld1} Frame 24Symbol 138 MovieClip {Circle}
"__id119_"Symbol 237 MovieClip {DemoWorld1} Frame 24Symbol 138 MovieClip {Circle}
"Star"Symbol 237 MovieClip {DemoWorld1} Frame 25Symbol 118 MovieClip {DemoStar}
"__id120_"Symbol 237 MovieClip {DemoWorld1} Frame 25Symbol 110 MovieClip {ForEverStatic}
"__id121_"Symbol 237 MovieClip {DemoWorld1} Frame 25Symbol 98 MovieClip {Board}
"__id122_"Symbol 237 MovieClip {DemoWorld1} Frame 25Symbol 144 MovieClip {DynamicBox}
"__id123_"Symbol 237 MovieClip {DemoWorld1} Frame 25Symbol 144 MovieClip {DynamicBox}
"__id124_"Symbol 237 MovieClip {DemoWorld1} Frame 25Symbol 144 MovieClip {DynamicBox}
"__id125_"Symbol 237 MovieClip {DemoWorld1} Frame 25Symbol 110 MovieClip {ForEverStatic}
"Arrow"Symbol 237 MovieClip {DemoWorld1} Frame 26Symbol 120 MovieClip {wck.DemoPoly}
"__id126_"Symbol 237 MovieClip {DemoWorld1} Frame 26Symbol 98 MovieClip {Board}
"Arrow"Symbol 237 MovieClip {DemoWorld1} Frame 27Symbol 120 MovieClip {wck.DemoPoly}
"__id127_"Symbol 237 MovieClip {DemoWorld1} Frame 27Symbol 98 MovieClip {Board}
"__id128_"Symbol 237 MovieClip {DemoWorld1} Frame 27Symbol 134 MovieClip {Ground}
"__id129_"Symbol 237 MovieClip {DemoWorld1} Frame 27Symbol 98 MovieClip {Board}
"__id130_"Symbol 237 MovieClip {DemoWorld1} Frame 27Symbol 144 MovieClip {DynamicBox}
"__id131_"Symbol 237 MovieClip {DemoWorld1} Frame 29Symbol 110 MovieClip {ForEverStatic}
"__id132_"Symbol 237 MovieClip {DemoWorld1} Frame 29Symbol 98 MovieClip {Board}
"__id133_"Symbol 237 MovieClip {DemoWorld1} Frame 29Symbol 144 MovieClip {DynamicBox}
"__id134_"Symbol 237 MovieClip {DemoWorld1} Frame 30Symbol 144 MovieClip {DynamicBox}
"__id135_"Symbol 237 MovieClip {DemoWorld1} Frame 30Symbol 110 MovieClip {ForEverStatic}
"__id136_"Symbol 237 MovieClip {DemoWorld1} Frame 30Symbol 110 MovieClip {ForEverStatic}
"__id137_"Symbol 237 MovieClip {DemoWorld1} Frame 30Symbol 103 MovieClip {ForEverEVERStatic}
"__id138_"Symbol 237 MovieClip {DemoWorld1} Frame 30Symbol 144 MovieClip {DynamicBox}
"__id139_"Symbol 237 MovieClip {DemoWorld1} Frame 31Symbol 94 MovieClip {InvisibleBox}
"__id140_"Symbol 237 MovieClip {DemoWorld1} Frame 32Symbol 103 MovieClip {ForEverEVERStatic}
"__id141_"Symbol 237 MovieClip {DemoWorld1} Frame 32Symbol 94 MovieClip {InvisibleBox}
"__id142_"Symbol 237 MovieClip {DemoWorld1} Frame 32Symbol 94 MovieClip {InvisibleBox}
"__id143_"Symbol 237 MovieClip {DemoWorld1} Frame 32Symbol 94 MovieClip {InvisibleBox}
"__id144_"Symbol 237 MovieClip {DemoWorld1} Frame 32Symbol 103 MovieClip {ForEverEVERStatic}
"__id145_"Symbol 237 MovieClip {DemoWorld1} Frame 32Symbol 94 MovieClip {InvisibleBox}
"__id146_"Symbol 237 MovieClip {DemoWorld1} Frame 33Symbol 110 MovieClip {ForEverStatic}
"__id147_"Symbol 237 MovieClip {DemoWorld1} Frame 33Symbol 94 MovieClip {InvisibleBox}
"__id148_"Symbol 237 MovieClip {DemoWorld1} Frame 33Symbol 134 MovieClip {Ground}
"__id149_"Symbol 237 MovieClip {DemoWorld1} Frame 34Symbol 110 MovieClip {ForEverStatic}
"__id150_"Symbol 237 MovieClip {DemoWorld1} Frame 34Symbol 103 MovieClip {ForEverEVERStatic}
"__id151_"Symbol 237 MovieClip {DemoWorld1} Frame 34Symbol 134 MovieClip {Ground}
"__id152_"Symbol 237 MovieClip {DemoWorld1} Frame 34Symbol 144 MovieClip {DynamicBox}
"__id153_"Symbol 237 MovieClip {DemoWorld1} Frame 35Symbol 144 MovieClip {DynamicBox}
"__id154_"Symbol 237 MovieClip {DemoWorld1} Frame 36Symbol 103 MovieClip {ForEverEVERStatic}
"__id155_"Symbol 237 MovieClip {DemoWorld1} Frame 36Symbol 94 MovieClip {InvisibleBox}
"__id156_"Symbol 237 MovieClip {DemoWorld1} Frame 37Symbol 110 MovieClip {ForEverStatic}
"__id157_"Symbol 237 MovieClip {DemoWorld1} Frame 37Symbol 144 MovieClip {DynamicBox}
"__id158_"Symbol 237 MovieClip {DemoWorld1} Frame 37Symbol 98 MovieClip {Board}
"__id159_"Symbol 237 MovieClip {DemoWorld1} Frame 37Symbol 94 MovieClip {InvisibleBox}
"__id160_"Symbol 237 MovieClip {DemoWorld1} Frame 37Symbol 103 MovieClip {ForEverEVERStatic}
"Star"Symbol 237 MovieClip {DemoWorld1} Frame 38Symbol 118 MovieClip {DemoStar}
"__id161_"Symbol 237 MovieClip {DemoWorld1} Frame 38Symbol 110 MovieClip {ForEverStatic}
"__id162_"Symbol 237 MovieClip {DemoWorld1} Frame 38Symbol 110 MovieClip {ForEverStatic}
"__id163_"Symbol 237 MovieClip {DemoWorld1} Frame 38Symbol 103 MovieClip {ForEverEVERStatic}
"__id164_"Symbol 237 MovieClip {DemoWorld1} Frame 38Symbol 94 MovieClip {InvisibleBox}
"__id165_"Symbol 237 MovieClip {DemoWorld1} Frame 38Symbol 144 MovieClip {DynamicBox}
"Arrow"Symbol 237 MovieClip {DemoWorld1} Frame 39Symbol 120 MovieClip {wck.DemoPoly}
"__id166_"Symbol 237 MovieClip {DemoWorld1} Frame 39Symbol 98 MovieClip {Board}
"__id167_"Symbol 237 MovieClip {DemoWorld1} Frame 39Symbol 103 MovieClip {ForEverEVERStatic}
"__id168_"Symbol 237 MovieClip {DemoWorld1} Frame 39Symbol 144 MovieClip {DynamicBox}
"__id169_"Symbol 237 MovieClip {DemoWorld1} Frame 39Symbol 144 MovieClip {DynamicBox}
"__id170_"Symbol 237 MovieClip {DemoWorld1} Frame 39Symbol 144 MovieClip {DynamicBox}
"__id171_"Symbol 237 MovieClip {DemoWorld1} Frame 39Symbol 103 MovieClip {ForEverEVERStatic}
"__id172_"Symbol 237 MovieClip {DemoWorld1} Frame 39Symbol 103 MovieClip {ForEverEVERStatic}
"__id173_"Symbol 237 MovieClip {DemoWorld1} Frame 39Symbol 103 MovieClip {ForEverEVERStatic}
"__id174_"Symbol 237 MovieClip {DemoWorld1} Frame 40Symbol 144 MovieClip {DynamicBox}
"__id175_"Symbol 237 MovieClip {DemoWorld1} Frame 40Symbol 144 MovieClip {DynamicBox}
"__id176_"Symbol 237 MovieClip {DemoWorld1} Frame 40Symbol 94 MovieClip {InvisibleBox}
"__id177_"Symbol 237 MovieClip {DemoWorld1} Frame 41Symbol 110 MovieClip {ForEverStatic}
"__id178_"Symbol 237 MovieClip {DemoWorld1} Frame 41Symbol 144 MovieClip {DynamicBox}
"__id179_"Symbol 237 MovieClip {DemoWorld1} Frame 42Symbol 103 MovieClip {ForEverEVERStatic}
"__id180_"Symbol 237 MovieClip {DemoWorld1} Frame 42Symbol 103 MovieClip {ForEverEVERStatic}
"__id181_"Symbol 237 MovieClip {DemoWorld1} Frame 42Symbol 110 MovieClip {ForEverStatic}
"__id182_"Symbol 237 MovieClip {DemoWorld1} Frame 43Symbol 94 MovieClip {InvisibleBox}
"__id183_"Symbol 237 MovieClip {DemoWorld1} Frame 43Symbol 110 MovieClip {ForEverStatic}
"__id184_"Symbol 237 MovieClip {DemoWorld1} Frame 43Symbol 110 MovieClip {ForEverStatic}
"__id185_"Symbol 237 MovieClip {DemoWorld1} Frame 43Symbol 110 MovieClip {ForEverStatic}
"__id186_"Symbol 237 MovieClip {DemoWorld1} Frame 43Symbol 134 MovieClip {Ground}
"__id187_"Symbol 237 MovieClip {DemoWorld1} Frame 43Symbol 94 MovieClip {InvisibleBox}
"__id188_"Symbol 237 MovieClip {DemoWorld1} Frame 43Symbol 144 MovieClip {DynamicBox}
"Arrow"Symbol 237 MovieClip {DemoWorld1} Frame 44Symbol 120 MovieClip {wck.DemoPoly}
"__id189_"Symbol 237 MovieClip {DemoWorld1} Frame 44Symbol 94 MovieClip {InvisibleBox}
"__id190_"Symbol 237 MovieClip {DemoWorld1} Frame 44Symbol 144 MovieClip {DynamicBox}
"__id191_"Symbol 237 MovieClip {DemoWorld1} Frame 44Symbol 144 MovieClip {DynamicBox}
"__id192_"Symbol 237 MovieClip {DemoWorld1} Frame 45Symbol 110 MovieClip {ForEverStatic}
"__id193_"Symbol 237 MovieClip {DemoWorld1} Frame 46Symbol 103 MovieClip {ForEverEVERStatic}
"__id194_"Symbol 237 MovieClip {DemoWorld1} Frame 46Symbol 144 MovieClip {DynamicBox}
"Arrow"Symbol 237 MovieClip {DemoWorld1} Frame 47Symbol 120 MovieClip {wck.DemoPoly}
"__id195_"Symbol 237 MovieClip {DemoWorld1} Frame 47Symbol 144 MovieClip {DynamicBox}
"__id196_"Symbol 237 MovieClip {DemoWorld1} Frame 47Symbol 103 MovieClip {ForEverEVERStatic}
"__id197_"Symbol 237 MovieClip {DemoWorld1} Frame 47Symbol 144 MovieClip {DynamicBox}
"__id198_"Symbol 237 MovieClip {DemoWorld1} Frame 47Symbol 103 MovieClip {ForEverEVERStatic}
"__id199_"Symbol 237 MovieClip {DemoWorld1} Frame 47Symbol 144 MovieClip {DynamicBox}
"__id200_"Symbol 237 MovieClip {DemoWorld1} Frame 47Symbol 103 MovieClip {ForEverEVERStatic}
"__id201_"Symbol 237 MovieClip {DemoWorld1} Frame 48Symbol 103 MovieClip {ForEverEVERStatic}
"__id202_"Symbol 237 MovieClip {DemoWorld1} Frame 49Symbol 144 MovieClip {DynamicBox}
"__id203_"Symbol 237 MovieClip {DemoWorld1} Frame 49Symbol 144 MovieClip {DynamicBox}
"__id204_"Symbol 237 MovieClip {DemoWorld1} Frame 49Symbol 144 MovieClip {DynamicBox}
"__id205_"Symbol 237 MovieClip {DemoWorld1} Frame 49Symbol 144 MovieClip {DynamicBox}
"__id206_"Symbol 237 MovieClip {DemoWorld1} Frame 49Symbol 144 MovieClip {DynamicBox}
"__id207_"Symbol 237 MovieClip {DemoWorld1} Frame 49Symbol 144 MovieClip {DynamicBox}
"__id208_"Symbol 237 MovieClip {DemoWorld1} Frame 49Symbol 103 MovieClip {ForEverEVERStatic}
"__id209_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 138 MovieClip {Circle}
"__id210_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 103 MovieClip {ForEverEVERStatic}
"__id211_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 103 MovieClip {ForEverEVERStatic}
"__id212_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 103 MovieClip {ForEverEVERStatic}
"__id213_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 103 MovieClip {ForEverEVERStatic}
"__id214_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 103 MovieClip {ForEverEVERStatic}
"__id215_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 103 MovieClip {ForEverEVERStatic}
"__id216_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 103 MovieClip {ForEverEVERStatic}
"__id217_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 98 MovieClip {Board}
"__id218_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 138 MovieClip {Circle}
"__id219_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 94 MovieClip {InvisibleBox}
"__id220_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 94 MovieClip {InvisibleBox}
"__id221_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 98 MovieClip {Board}
"__id222_"Symbol 237 MovieClip {DemoWorld1} Frame 50Symbol 110 MovieClip {ForEverStatic}
"Arrow"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 120 MovieClip {wck.DemoPoly}
"__id223_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 138 MovieClip {Circle}
"__id224_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 103 MovieClip {ForEverEVERStatic}
"__id225_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 103 MovieClip {ForEverEVERStatic}
"__id226_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 103 MovieClip {ForEverEVERStatic}
"__id227_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 103 MovieClip {ForEverEVERStatic}
"__id228_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 103 MovieClip {ForEverEVERStatic}
"__id229_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 103 MovieClip {ForEverEVERStatic}
"__id230_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 103 MovieClip {ForEverEVERStatic}
"__id231_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 103 MovieClip {ForEverEVERStatic}
"__id232_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 103 MovieClip {ForEverEVERStatic}
"__id233_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 103 MovieClip {ForEverEVERStatic}
"__id234_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 94 MovieClip {InvisibleBox}
"__id235_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 138 MovieClip {Circle}
"__id236_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 94 MovieClip {InvisibleBox}
"__id237_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 94 MovieClip {InvisibleBox}
"__id238_"Symbol 237 MovieClip {DemoWorld1} Frame 51Symbol 94 MovieClip {InvisibleBox}
"__id239_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 144 MovieClip {DynamicBox}
"__id240_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 144 MovieClip {DynamicBox}
"__id241_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 144 MovieClip {DynamicBox}
"__id242_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 144 MovieClip {DynamicBox}
"__id243_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 144 MovieClip {DynamicBox}
"__id244_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 144 MovieClip {DynamicBox}
"__id245_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 134 MovieClip {Ground}
"__id246_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 94 MovieClip {InvisibleBox}
"J8"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 124 MovieClip {chain}
"__id247_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 122 MovieClip {DemoJoint}
"J7"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 124 MovieClip {chain}
"__id248_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 122 MovieClip {DemoJoint}
"J6"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 124 MovieClip {chain}
"__id249_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 122 MovieClip {DemoJoint}
"J5"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 124 MovieClip {chain}
"__id250_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 122 MovieClip {DemoJoint}
"J4"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 124 MovieClip {chain}
"__id251_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 122 MovieClip {DemoJoint}
"J3"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 124 MovieClip {chain}
"__id252_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 122 MovieClip {DemoJoint}
"J2"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 124 MovieClip {chain}
"__id253_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 122 MovieClip {DemoJoint}
"J1"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 124 MovieClip {chain}
"__id254_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 122 MovieClip {DemoJoint}
"Star"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 118 MovieClip {DemoStar}
"__id255_"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 110 MovieClip {ForEverStatic}
"But2"Symbol 237 MovieClip {DemoWorld1} Frame 52Symbol 131 MovieClip {Button2}
"World"Symbol 238 MovieClip {DemoView1} Frame 1Symbol 237 MovieClip {DemoWorld1}
"BackBut"Symbol 283 MovieClip {StarFirePuzzler_fla.notDoppler_intro_3} Frame 1Symbol 267 Button
"levelR"Symbol 302 MovieClip {StarFirePuzzler_fla.Level_59} Frame 1Symbol 301 EditableText
"LS"Symbol 304 MovieClip {StarFirePuzzler_fla.levelShower_58} Frame 1Symbol 302 MovieClip {StarFirePuzzler_fla.Level_59}
"retryButt"Symbol 311 MovieClip {StarFirePuzzler_fla.RetryMenuStatic_61} Frame 1Symbol 310 MovieClip {StarFirePuzzler_fla.RetryBUtt_62}
"retryButt"Symbol 312 MovieClip {StarFirePuzzler_fla.RetryMenuStatic_63} Frame 1Symbol 310 MovieClip {StarFirePuzzler_fla.RetryBUtt_62}
"firstMenu"Symbol 313 MovieClip {StarFirePuzzler_fla.retryMenuAnimated_60} Frame 1Symbol 311 MovieClip {StarFirePuzzler_fla.RetryMenuStatic_61}
"firstMenu"Symbol 313 MovieClip {StarFirePuzzler_fla.retryMenuAnimated_60} Frame 65Symbol 312 MovieClip {StarFirePuzzler_fla.RetryMenuStatic_63}
"nextLevel"Symbol 330 MovieClip {StarFirePuzzler_fla.lCMenu_art_65} Frame 1Symbol 316 MovieClip {StarFirePuzzler_fla.Contiune_42}
"timeScore"Symbol 330 MovieClip {StarFirePuzzler_fla.lCMenu_art_65} Frame 1Symbol 320 EditableText
"levelScore"Symbol 330 MovieClip {StarFirePuzzler_fla.lCMenu_art_65} Frame 1Symbol 321 EditableText
"totalScore"Symbol 330 MovieClip {StarFirePuzzler_fla.lCMenu_art_65} Frame 1Symbol 322 EditableText
"But2"Symbol 330 MovieClip {StarFirePuzzler_fla.lCMenu_art_65} Frame 1Symbol 327 MovieClip {StarFirePuzzler_fla.Button2copy_66}
"Comp"Symbol 331 MovieClip {StarFirePuzzler_fla.lCMenu_64} Frame 1Symbol 330 MovieClip {StarFirePuzzler_fla.lCMenu_art_65}
"levelButton"Symbol 341 MovieClip {StarFirePuzzler_fla.level1_72} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"levelButton"Symbol 343 MovieClip {StarFirePuzzler_fla.level2_74} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"levelButton"Symbol 345 MovieClip {StarFirePuzzler_fla.level3_75} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"levelButton"Symbol 347 MovieClip {StarFirePuzzler_fla.level4_76} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"levelButton"Symbol 349 MovieClip {StarFirePuzzler_fla.level5_77} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"levelButton"Symbol 351 MovieClip {StarFirePuzzler_fla.level6_78} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"levelButton"Symbol 353 MovieClip {StarFirePuzzler_fla.level7_79} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"levelButton"Symbol 355 MovieClip {StarFirePuzzler_fla.level8_80} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"levelButton"Symbol 357 MovieClip {StarFirePuzzler_fla.level9_81} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 359 MovieClip {StarFirePuzzler_fla.level3copy_82} Frame 1Symbol 358 EditableText
"levelButton"Symbol 359 MovieClip {StarFirePuzzler_fla.level3copy_82} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 361 MovieClip {StarFirePuzzler_fla.level3copy2_83} Frame 1Symbol 360 EditableText
"levelButton"Symbol 361 MovieClip {StarFirePuzzler_fla.level3copy2_83} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 363 MovieClip {StarFirePuzzler_fla.level3copy3_84} Frame 1Symbol 362 EditableText
"levelButton"Symbol 363 MovieClip {StarFirePuzzler_fla.level3copy3_84} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 365 MovieClip {StarFirePuzzler_fla.level3copy4_85} Frame 1Symbol 364 EditableText
"levelButton"Symbol 365 MovieClip {StarFirePuzzler_fla.level3copy4_85} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 367 MovieClip {StarFirePuzzler_fla.level3copy5_86} Frame 1Symbol 366 EditableText
"levelButton"Symbol 367 MovieClip {StarFirePuzzler_fla.level3copy5_86} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 369 MovieClip {StarFirePuzzler_fla.level3copy6_87} Frame 1Symbol 368 EditableText
"levelButton"Symbol 369 MovieClip {StarFirePuzzler_fla.level3copy6_87} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 371 MovieClip {StarFirePuzzler_fla.level3copy7_88} Frame 1Symbol 370 EditableText
"levelButton"Symbol 371 MovieClip {StarFirePuzzler_fla.level3copy7_88} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 373 MovieClip {StarFirePuzzler_fla.level3copy9_89} Frame 1Symbol 372 EditableText
"levelButton"Symbol 373 MovieClip {StarFirePuzzler_fla.level3copy9_89} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 375 MovieClip {StarFirePuzzler_fla.level3copy8_90} Frame 1Symbol 374 EditableText
"levelButton"Symbol 375 MovieClip {StarFirePuzzler_fla.level3copy8_90} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 377 MovieClip {StarFirePuzzler_fla.level3copy10_91} Frame 1Symbol 376 EditableText
"levelButton"Symbol 377 MovieClip {StarFirePuzzler_fla.level3copy10_91} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 379 MovieClip {StarFirePuzzler_fla.level3copy27_92} Frame 1Symbol 378 EditableText
"levelButton"Symbol 379 MovieClip {StarFirePuzzler_fla.level3copy27_92} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 381 MovieClip {StarFirePuzzler_fla.level3copy11_93} Frame 1Symbol 380 EditableText
"levelButton"Symbol 381 MovieClip {StarFirePuzzler_fla.level3copy11_93} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 383 MovieClip {StarFirePuzzler_fla.level3copy12_94} Frame 1Symbol 382 EditableText
"levelButton"Symbol 383 MovieClip {StarFirePuzzler_fla.level3copy12_94} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 385 MovieClip {StarFirePuzzler_fla.level3copy13_95} Frame 1Symbol 384 EditableText
"levelButton"Symbol 385 MovieClip {StarFirePuzzler_fla.level3copy13_95} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 387 MovieClip {StarFirePuzzler_fla.level3copy14_96} Frame 1Symbol 386 EditableText
"levelButton"Symbol 387 MovieClip {StarFirePuzzler_fla.level3copy14_96} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 389 MovieClip {StarFirePuzzler_fla.level3copy15_97} Frame 1Symbol 388 EditableText
"levelButton"Symbol 389 MovieClip {StarFirePuzzler_fla.level3copy15_97} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 391 MovieClip {StarFirePuzzler_fla.level3copy16_98} Frame 1Symbol 390 EditableText
"levelButton"Symbol 391 MovieClip {StarFirePuzzler_fla.level3copy16_98} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 393 MovieClip {StarFirePuzzler_fla.level3copy17_99} Frame 1Symbol 392 EditableText
"levelButton"Symbol 393 MovieClip {StarFirePuzzler_fla.level3copy17_99} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 395 MovieClip {StarFirePuzzler_fla.level3copy18_100} Frame 1Symbol 394 EditableText
"levelButton"Symbol 395 MovieClip {StarFirePuzzler_fla.level3copy18_100} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 397 MovieClip {StarFirePuzzler_fla.level3copy19_101} Frame 1Symbol 396 EditableText
"levelButton"Symbol 397 MovieClip {StarFirePuzzler_fla.level3copy19_101} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 399 MovieClip {StarFirePuzzler_fla.level3copy20_102} Frame 1Symbol 398 EditableText
"levelButton"Symbol 399 MovieClip {StarFirePuzzler_fla.level3copy20_102} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 401 MovieClip {StarFirePuzzler_fla.level3copy21_103} Frame 1Symbol 400 EditableText
"levelButton"Symbol 401 MovieClip {StarFirePuzzler_fla.level3copy21_103} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 403 MovieClip {StarFirePuzzler_fla.level3copy22_104} Frame 1Symbol 402 EditableText
"levelButton"Symbol 403 MovieClip {StarFirePuzzler_fla.level3copy22_104} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 405 MovieClip {StarFirePuzzler_fla.level3copy23_105} Frame 1Symbol 404 EditableText
"levelButton"Symbol 405 MovieClip {StarFirePuzzler_fla.level3copy23_105} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 407 MovieClip {StarFirePuzzler_fla.level3copy24_106} Frame 1Symbol 406 EditableText
"levelButton"Symbol 407 MovieClip {StarFirePuzzler_fla.level3copy24_106} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 409 MovieClip {StarFirePuzzler_fla.level3copy25_107} Frame 1Symbol 408 EditableText
"levelButton"Symbol 409 MovieClip {StarFirePuzzler_fla.level3copy25_107} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 411 MovieClip {StarFirePuzzler_fla.level3copy26_108} Frame 1Symbol 410 EditableText
"levelButton"Symbol 411 MovieClip {StarFirePuzzler_fla.level3copy26_108} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 413 MovieClip {StarFirePuzzler_fla.level3copy28_109} Frame 1Symbol 412 EditableText
"levelButton"Symbol 413 MovieClip {StarFirePuzzler_fla.level3copy28_109} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 415 MovieClip {StarFirePuzzler_fla.level3copy29_110} Frame 1Symbol 414 EditableText
"levelButton"Symbol 415 MovieClip {StarFirePuzzler_fla.level3copy29_110} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 417 MovieClip {StarFirePuzzler_fla.level3copy30_111} Frame 1Symbol 416 EditableText
"levelButton"Symbol 417 MovieClip {StarFirePuzzler_fla.level3copy30_111} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 419 MovieClip {StarFirePuzzler_fla.level3copy31_112} Frame 1Symbol 418 EditableText
"levelButton"Symbol 419 MovieClip {StarFirePuzzler_fla.level3copy31_112} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 421 MovieClip {StarFirePuzzler_fla.level3copy32_113} Frame 1Symbol 420 EditableText
"levelButton"Symbol 421 MovieClip {StarFirePuzzler_fla.level3copy32_113} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 423 MovieClip {StarFirePuzzler_fla.level3copy33_114} Frame 1Symbol 422 EditableText
"levelButton"Symbol 423 MovieClip {StarFirePuzzler_fla.level3copy33_114} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 425 MovieClip {StarFirePuzzler_fla.level3copy34_115} Frame 1Symbol 424 EditableText
"levelButton"Symbol 425 MovieClip {StarFirePuzzler_fla.level3copy34_115} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 427 MovieClip {StarFirePuzzler_fla.level3copy35_116} Frame 1Symbol 426 EditableText
"levelButton"Symbol 427 MovieClip {StarFirePuzzler_fla.level3copy35_116} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 429 MovieClip {StarFirePuzzler_fla.level3copy36_117} Frame 1Symbol 428 EditableText
"levelButton"Symbol 429 MovieClip {StarFirePuzzler_fla.level3copy36_117} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 431 MovieClip {StarFirePuzzler_fla.level3copy37_118} Frame 1Symbol 430 EditableText
"levelButton"Symbol 431 MovieClip {StarFirePuzzler_fla.level3copy37_118} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 433 MovieClip {StarFirePuzzler_fla.level3copy38_119} Frame 1Symbol 432 EditableText
"levelButton"Symbol 433 MovieClip {StarFirePuzzler_fla.level3copy38_119} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 435 MovieClip {StarFirePuzzler_fla.level3copy45_120} Frame 1Symbol 434 EditableText
"levelButton"Symbol 435 MovieClip {StarFirePuzzler_fla.level3copy45_120} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 437 MovieClip {StarFirePuzzler_fla.level3copy40_121} Frame 1Symbol 436 EditableText
"levelButton"Symbol 437 MovieClip {StarFirePuzzler_fla.level3copy40_121} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 439 MovieClip {StarFirePuzzler_fla.level3copy41_122} Frame 1Symbol 438 EditableText
"levelButton"Symbol 439 MovieClip {StarFirePuzzler_fla.level3copy41_122} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"LEVEL"Symbol 441 MovieClip {StarFirePuzzler_fla.level3copy42_123} Frame 1Symbol 440 EditableText
"levelButton"Symbol 441 MovieClip {StarFirePuzzler_fla.level3copy42_123} Frame 2Symbol 340 MovieClip {StarFirePuzzler_fla.levelButton_73}
"Firkant"Symbol 455 MovieClip {StarFirePuzzler_fla.Sound_125} Frame 1Symbol 453 MovieClip

Special Tags

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

Labels

"GAME"Frame 12
"red"Symbol 98 MovieClip {Board} Frame 2
"red"Symbol 115 MovieClip {StaticBox} Frame 2
"red"Symbol 141 MovieClip {DynamicBoxTHING} Frame 2
"red"Symbol 144 MovieClip {DynamicBox} Frame 2




http://swfchan.com/10/46505/info.shtml
Created: 3/5 -2019 13:26:56 Last modified: 3/5 -2019 13:26:56 Server time: 17/05 -2024 06:18:52