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

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

fowl-throw.swf

This is the info page for
Flash #123250

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


Text
LOADING...

LOADING...

STATS & INVENTORY

Flight rating

CONTINUE

CASH - $2324

BACK

Personal Best

Total Score

Number of flights

0

0

SUBMIT

1

2

3

?

BUY

$1000

OWNED

SHOP

Motocade 3000

In - Use

MY ITEMS

Roto 3000 - Raw power.

TITLE

LOG INTO FACEBOOK

POST TO FACEBOOK WALL

SUBMIT SCORE

Submit your personal best score to the Teagames high score table.

0

Username:
Score:

SNOW

LOCATION MAP

25

Selected Level:

SELECT

MORE GAMES

<p align="left"><font face="Century Gothic" size="13" color="#000000" letterSpacing="0.000000" kerning="0"><a href="http://www.shockwood.com" target = "_blank"><b>Play games</b></a></font></p>

CLEAR SAVE DATA

This will clear any previous data you
have saved from this game. Are you sure
you want to continue?

GAME CREDITS

<p align="left"><font face="Lucida Console" size="14" color="#000000" letterSpacing="0.000000" kerning="0"><b>Fowl Throw game concept, design and <sbr />development by Shockwood Games.</b></font></p><p align="left"><font face="Lucida Console" size="14" color="#006699" letterSpacing="0.000000" kerning="0"><a href="http://www.shockwood.com?game=fowlthrow" target = "_blank"><b>www.shockwood.com</b></a></font></p>

<p align="left"><font face="Lucida Console" size="14" color="#000000" letterSpacing="0.000000" kerning="0"><b>Game sponsored by Teagames.com</b></font></p><p align="left"><font face="Lucida Console" size="14" color="#006699" letterSpacing="0.000000" kerning="0"><a href="http://www.teagames.com" target = "_blank"><b>www.teagames.com</b></a></font></p>

FLY AGAIN

SHOP

SCORES

Distance:
Max height bonus:
Max speed bonus:
Long bounce bonus:
Ride-on bonus:
Long landing bonus:
Stability bonus:
Level power bonus:
Score:

PERSONAL BEST!

0000000

000000

NEW LEVEL
UNLOCKED

FLIGHT
RATING
INCREASED

NEW
UPGRADES
AVAILABLE

HELP

MORE GAMES

SHARE  AND SUBMIT SCORE

LEVELS

9999.99M

Height:

9999.99M

Distance:

999999999

Score:

Long Bounce Bonus!

INSTRUCTIONS

A

D

Left click or
space to drop
paddle. Best hit
happens when gauge
is in the green
center.

LEFT/RIGHT to stabilise
(Your flight rating affects
you stability)

Land on these

Other obstacles may stop you getting as far as
you could but causing destruction will give you
bonus points.

CLOSE

Launch your bird as
far as possible

A perfect hit
should help with a
safer landing.

LOADING

ActionScript [AS3]

Section 1
//b2CircleDef (Box2D.Collision.Shapes.b2CircleDef) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; public class b2CircleDef extends b2ShapeDef { public var radius:Number; public var localPosition:b2Vec2; public function b2CircleDef(){ localPosition = new b2Vec2(0, 0); super(); type = b2Shape.e_circleShape; radius = 1; } } }//package Box2D.Collision.Shapes
Section 2
//b2CircleShape (Box2D.Collision.Shapes.b2CircleShape) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.*; public class b2CircleShape extends b2Shape { public var m_localPosition:b2Vec2; public var m_radius:Number; public function b2CircleShape(_arg1:b2ShapeDef){ m_localPosition = new b2Vec2(); super(_arg1); var _local2:b2CircleDef = (_arg1 as b2CircleDef); m_type = e_circleShape; m_localPosition.SetV(_local2.localPosition); m_radius = _local2.radius; } override public function TestSegment(_arg1:b2XForm, _arg2:Array, _arg3:b2Vec2, _arg4:b2Segment, _arg5:Number):Boolean{ var _local10:Number; var _local6:b2Mat22 = _arg1.R; var _local7:Number = (_arg1.position.x + ((_local6.col1.x * m_localPosition.x) + (_local6.col2.x * m_localPosition.y))); var _local8:Number = (_arg1.position.y + ((_local6.col1.y * m_localPosition.x) + (_local6.col2.y * m_localPosition.y))); var _local9:Number = (_arg4.p1.x - _local7); _local10 = (_arg4.p1.y - _local8); var _local11:Number = (((_local9 * _local9) + (_local10 * _local10)) - (m_radius * m_radius)); if (_local11 < 0){ return (false); }; var _local12:Number = (_arg4.p2.x - _arg4.p1.x); var _local13:Number = (_arg4.p2.y - _arg4.p1.y); var _local14:Number = ((_local9 * _local12) + (_local10 * _local13)); var _local15:Number = ((_local12 * _local12) + (_local13 * _local13)); var _local16:Number = ((_local14 * _local14) - (_local15 * _local11)); if ((((_local16 < 0)) || ((_local15 < Number.MIN_VALUE)))){ return (false); }; var _local17:Number = -((_local14 + Math.sqrt(_local16))); if ((((0 <= _local17)) && ((_local17 <= (_arg5 * _local15))))){ _local17 = (_local17 / _local15); _arg2[0] = _local17; _arg3.x = (_local9 + (_local17 * _local12)); _arg3.y = (_local10 + (_local17 * _local13)); _arg3.Normalize(); return (true); }; return (false); } public function GetLocalPosition():b2Vec2{ return (m_localPosition); } public function GetRadius():Number{ return (m_radius); } override public function ComputeSweptAABB(_arg1:b2AABB, _arg2:b2XForm, _arg3:b2XForm):void{ var _local4:b2Mat22; _local4 = _arg2.R; var _local5:Number = (_arg2.position.x + ((_local4.col1.x * m_localPosition.x) + (_local4.col2.x * m_localPosition.y))); var _local6:Number = (_arg2.position.y + ((_local4.col1.y * m_localPosition.x) + (_local4.col2.y * m_localPosition.y))); _local4 = _arg3.R; var _local7:Number = (_arg3.position.x + ((_local4.col1.x * m_localPosition.x) + (_local4.col2.x * m_localPosition.y))); var _local8:Number = (_arg3.position.y + ((_local4.col1.y * m_localPosition.x) + (_local4.col2.y * m_localPosition.y))); _arg1.lowerBound.Set((((_local5 < _local7)) ? _local5 : _local7 - m_radius), (((_local6 < _local8)) ? _local6 : _local8 - m_radius)); _arg1.upperBound.Set((((_local5 > _local7)) ? _local5 : _local7 + m_radius), (((_local6 > _local8)) ? _local6 : _local8 + m_radius)); } override public function ComputeMass(_arg1:b2MassData):void{ _arg1.mass = (((m_density * b2Settings.b2_pi) * m_radius) * m_radius); _arg1.center.SetV(m_localPosition); _arg1.I = (_arg1.mass * (((0.5 * m_radius) * m_radius) + ((m_localPosition.x * m_localPosition.x) + (m_localPosition.y * m_localPosition.y)))); } override public function UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:Number = (m_localPosition.x - _arg1.x); var _local3:Number = (m_localPosition.y - _arg1.y); _local2 = Math.sqrt(((_local2 * _local2) + (_local3 * _local3))); m_sweepRadius = ((_local2 + m_radius) - b2Settings.b2_toiSlop); } override public function ComputeAABB(_arg1:b2AABB, _arg2:b2XForm):void{ var _local3:b2Mat22 = _arg2.R; var _local4:Number = (_arg2.position.x + ((_local3.col1.x * m_localPosition.x) + (_local3.col2.x * m_localPosition.y))); var _local5:Number = (_arg2.position.y + ((_local3.col1.y * m_localPosition.x) + (_local3.col2.y * m_localPosition.y))); _arg1.lowerBound.Set((_local4 - m_radius), (_local5 - m_radius)); _arg1.upperBound.Set((_local4 + m_radius), (_local5 + m_radius)); } override public function TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ var _local3:b2Mat22 = _arg1.R; var _local4:Number = (_arg1.position.x + ((_local3.col1.x * m_localPosition.x) + (_local3.col2.x * m_localPosition.y))); var _local5:Number = (_arg1.position.y + ((_local3.col1.y * m_localPosition.x) + (_local3.col2.y * m_localPosition.y))); _local4 = (_arg2.x - _local4); _local5 = (_arg2.y - _local5); return ((((_local4 * _local4) + (_local5 * _local5)) <= (m_radius * m_radius))); } } }//package Box2D.Collision.Shapes
Section 3
//b2FilterData (Box2D.Collision.Shapes.b2FilterData) package Box2D.Collision.Shapes { public class b2FilterData { public var maskBits:uint;// = 0xFFFF public var groupIndex:int;// = 0 public var categoryBits:uint;// = 1 public function Copy():b2FilterData{ var _local1:b2FilterData = new b2FilterData(); _local1.categoryBits = categoryBits; _local1.maskBits = maskBits; _local1.groupIndex = groupIndex; return (_local1); } } }//package Box2D.Collision.Shapes
Section 4
//b2MassData (Box2D.Collision.Shapes.b2MassData) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; public class b2MassData { public var mass:Number;// = 0 public var center:b2Vec2; public var I:Number;// = 0 public function b2MassData(){ center = new b2Vec2(0, 0); super(); } } }//package Box2D.Collision.Shapes
Section 5
//b2PolygonDef (Box2D.Collision.Shapes.b2PolygonDef) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2PolygonDef extends b2ShapeDef { public var vertices:Array; public var vertexCount:int; private static var s_mat:b2Mat22 = new b2Mat22(); public function b2PolygonDef(){ vertices = new Array(b2Settings.b2_maxPolygonVertices); super(); type = b2Shape.e_polygonShape; vertexCount = 0; var _local1:int; while (_local1 < b2Settings.b2_maxPolygonVertices) { vertices[_local1] = new b2Vec2(); _local1++; }; } public function SetAsOrientedBox(_arg1:Number, _arg2:Number, _arg3:b2Vec2=null, _arg4:Number=0):void{ var _local5:b2Vec2; var _local6:b2Mat22; var _local7:int; vertexCount = 4; vertices[0].Set(-(_arg1), -(_arg2)); vertices[1].Set(_arg1, -(_arg2)); vertices[2].Set(_arg1, _arg2); vertices[3].Set(-(_arg1), _arg2); if (_arg3){ _local5 = _arg3; _local6 = s_mat; _local6.Set(_arg4); _local7 = 0; while (_local7 < vertexCount) { _arg3 = vertices[_local7]; _arg1 = (_local5.x + ((_local6.col1.x * _arg3.x) + (_local6.col2.x * _arg3.y))); _arg3.y = (_local5.y + ((_local6.col1.y * _arg3.x) + (_local6.col2.y * _arg3.y))); _arg3.x = _arg1; _local7++; }; }; } public function SetAsBox(_arg1:Number, _arg2:Number):void{ vertexCount = 4; vertices[0].Set(-(_arg1), -(_arg2)); vertices[1].Set(_arg1, -(_arg2)); vertices[2].Set(_arg1, _arg2); vertices[3].Set(-(_arg1), _arg2); } } }//package Box2D.Collision.Shapes
Section 6
//b2PolygonShape (Box2D.Collision.Shapes.b2PolygonShape) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.*; public class b2PolygonShape extends b2Shape { public var m_coreVertices:Array; public var m_vertices:Array; private var s_supportVec:b2Vec2; public var m_centroid:b2Vec2; public var m_normals:Array; public var m_obb:b2OBB; public var m_vertexCount:int; private static var s_computeMat:b2Mat22 = new b2Mat22(); private static var s_sweptAABB1:b2AABB = new b2AABB(); private static var s_sweptAABB2:b2AABB = new b2AABB(); public function b2PolygonShape(_arg1:b2ShapeDef){ var _local3:int; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; s_supportVec = new b2Vec2(); m_obb = new b2OBB(); m_vertices = new Array(b2Settings.b2_maxPolygonVertices); m_normals = new Array(b2Settings.b2_maxPolygonVertices); m_coreVertices = new Array(b2Settings.b2_maxPolygonVertices); super(_arg1); m_type = e_polygonShape; var _local2:b2PolygonDef = (_arg1 as b2PolygonDef); m_vertexCount = _local2.vertexCount; var _local4:int = _local3; var _local5:int = _local3; _local3 = 0; while (_local3 < m_vertexCount) { m_vertices[_local3] = _local2.vertices[_local3].Copy(); _local3++; }; _local3 = 0; while (_local3 < m_vertexCount) { _local4 = _local3; _local5 = (((_local3 + 1) < m_vertexCount)) ? (_local3 + 1) : 0; _local6 = (m_vertices[_local5].x - m_vertices[_local4].x); _local7 = (m_vertices[_local5].y - m_vertices[_local4].y); _local8 = Math.sqrt(((_local6 * _local6) + (_local7 * _local7))); m_normals[_local3] = new b2Vec2((_local7 / _local8), (-(_local6) / _local8)); _local3++; }; m_centroid = ComputeCentroid(_local2.vertices, _local2.vertexCount); ComputeOBB(m_obb, m_vertices, m_vertexCount); _local3 = 0; while (_local3 < m_vertexCount) { _local4 = (((_local3 - 1) >= 0)) ? (_local3 - 1) : (m_vertexCount - 1); _local5 = _local3; _local9 = m_normals[_local4].x; _local10 = m_normals[_local4].y; _local11 = m_normals[_local5].x; _local12 = m_normals[_local5].y; _local13 = (m_vertices[_local3].x - m_centroid.x); _local14 = (m_vertices[_local3].y - m_centroid.y); _local15 = (((_local9 * _local13) + (_local10 * _local14)) - b2Settings.b2_toiSlop); _local16 = (((_local11 * _local13) + (_local12 * _local14)) - b2Settings.b2_toiSlop); _local17 = (1 / ((_local9 * _local12) - (_local10 * _local11))); m_coreVertices[_local3] = new b2Vec2(((_local17 * ((_local12 * _local15) - (_local10 * _local16))) + m_centroid.x), ((_local17 * ((_local9 * _local16) - (_local11 * _local15))) + m_centroid.y)); _local3++; }; } override public function ComputeSweptAABB(_arg1:b2AABB, _arg2:b2XForm, _arg3:b2XForm):void{ var _local4:b2AABB = s_sweptAABB1; var _local5:b2AABB = s_sweptAABB2; ComputeAABB(_local4, _arg2); ComputeAABB(_local5, _arg3); _arg1.lowerBound.Set(((_local4.lowerBound.x < _local5.lowerBound.x)) ? _local4.lowerBound.x : _local5.lowerBound.x, ((_local4.lowerBound.y < _local5.lowerBound.y)) ? _local4.lowerBound.y : _local5.lowerBound.y); _arg1.upperBound.Set(((_local4.upperBound.x > _local5.upperBound.x)) ? _local4.upperBound.x : _local5.upperBound.x, ((_local4.upperBound.y > _local5.upperBound.y)) ? _local4.upperBound.y : _local5.upperBound.y); } public function GetVertices():Array{ return (m_vertices); } public function GetCoreVertices():Array{ return (m_coreVertices); } public function GetCentroid():b2Vec2{ return (m_centroid); } public function GetOBB():b2OBB{ return (m_obb); } public function GetFirstVertex(_arg1:b2XForm):b2Vec2{ return (b2Math.b2MulX(_arg1, m_coreVertices[0])); } public function Centroid(_arg1:b2XForm):b2Vec2{ return (b2Math.b2MulX(_arg1, m_centroid)); } override public function TestSegment(_arg1:b2XForm, _arg2:Array, _arg3:b2Vec2, _arg4:b2Segment, _arg5:Number):Boolean{ var _local8:Number; var _local9:Number; var _local10:b2Mat22; var _local11:b2Vec2; var _local20:Number; var _local21:Number; var _local6:Number = 0; var _local7:Number = _arg5; _local8 = (_arg4.p1.x - _arg1.position.x); _local9 = (_arg4.p1.y - _arg1.position.y); _local10 = _arg1.R; var _local12:Number = ((_local8 * _local10.col1.x) + (_local9 * _local10.col1.y)); var _local13:Number = ((_local8 * _local10.col2.x) + (_local9 * _local10.col2.y)); _local8 = (_arg4.p2.x - _arg1.position.x); _local9 = (_arg4.p2.y - _arg1.position.y); _local10 = _arg1.R; var _local14:Number = ((_local8 * _local10.col1.x) + (_local9 * _local10.col1.y)); var _local15:Number = ((_local8 * _local10.col2.x) + (_local9 * _local10.col2.y)); var _local16:Number = (_local14 - _local12); var _local17:Number = (_local15 - _local13); var _local18 = -1; var _local19:int; while (_local19 < m_vertexCount) { _local11 = m_vertices[_local19]; _local8 = (_local11.x - _local12); _local9 = (_local11.y - _local13); _local11 = m_normals[_local19]; _local20 = ((_local11.x * _local8) + (_local11.y * _local9)); _local21 = ((_local11.x * _local16) + (_local11.y * _local17)); if ((((_local21 < 0)) && ((_local20 < (_local6 * _local21))))){ _local6 = (_local20 / _local21); _local18 = _local19; } else { if ((((_local21 > 0)) && ((_local20 < (_local7 * _local21))))){ _local7 = (_local20 / _local21); }; }; if (_local7 < _local6){ return (false); }; _local19++; }; if (_local18 >= 0){ _arg2[0] = _local6; _local10 = _arg1.R; _local11 = m_normals[_local18]; _arg3.x = ((_local10.col1.x * _local11.x) + (_local10.col2.x * _local11.y)); _arg3.y = ((_local10.col1.y * _local11.x) + (_local10.col2.y * _local11.y)); return (true); }; return (false); } override public function ComputeMass(_arg1:b2MassData):void{ var _local10:b2Vec2; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local2:Number = 0; var _local3:Number = 0; var _local4:Number = 0; var _local5:Number = 0; var _local6:Number = 0; var _local7:Number = 0; var _local8:Number = (1 / 3); var _local9:int; while (_local9 < m_vertexCount) { _local10 = m_vertices[_local9]; _local11 = (((_local9 + 1) < m_vertexCount)) ? m_vertices[int((_local9 + 1))] : m_vertices[0]; _local12 = (_local10.x - _local6); _local13 = (_local10.y - _local7); _local14 = (_local11.x - _local6); _local15 = (_local11.y - _local7); _local16 = ((_local12 * _local15) - (_local13 * _local14)); _local17 = (0.5 * _local16); _local4 = (_local4 + _local17); _local2 = (_local2 + ((_local17 * _local8) * ((_local6 + _local10.x) + _local11.x))); _local3 = (_local3 + ((_local17 * _local8) * ((_local7 + _local10.y) + _local11.y))); _local18 = _local6; _local19 = _local7; _local20 = _local12; _local21 = _local13; _local22 = _local14; _local23 = _local15; _local24 = ((_local8 * ((0.25 * (((_local20 * _local20) + (_local22 * _local20)) + (_local22 * _local22))) + ((_local18 * _local20) + (_local18 * _local22)))) + ((0.5 * _local18) * _local18)); _local25 = ((_local8 * ((0.25 * (((_local21 * _local21) + (_local23 * _local21)) + (_local23 * _local23))) + ((_local19 * _local21) + (_local19 * _local23)))) + ((0.5 * _local19) * _local19)); _local5 = (_local5 + (_local16 * (_local24 + _local25))); _local9++; }; _arg1.mass = (m_density * _local4); _local2 = (_local2 * (1 / _local4)); _local3 = (_local3 * (1 / _local4)); _arg1.center.Set(_local2, _local3); _arg1.I = (m_density * _local5); } public function GetNormals():Array{ return (m_normals); } public function Support(_arg1:b2XForm, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:b2Vec2; var _local5:b2Mat22; var _local11:Number; _local5 = _arg1.R; var _local6:Number = ((_arg2 * _local5.col1.x) + (_arg3 * _local5.col1.y)); var _local7:Number = ((_arg2 * _local5.col2.x) + (_arg3 * _local5.col2.y)); var _local8:int; _local4 = m_coreVertices[0]; var _local9:Number = ((_local4.x * _local6) + (_local4.y * _local7)); var _local10 = 1; while (_local10 < m_vertexCount) { _local4 = m_coreVertices[_local10]; _local11 = ((_local4.x * _local6) + (_local4.y * _local7)); if (_local11 > _local9){ _local8 = _local10; _local9 = _local11; }; _local10++; }; _local5 = _arg1.R; _local4 = m_coreVertices[_local8]; s_supportVec.x = (_arg1.position.x + ((_local5.col1.x * _local4.x) + (_local5.col2.x * _local4.y))); s_supportVec.y = (_arg1.position.y + ((_local5.col1.y * _local4.x) + (_local5.col2.y * _local4.y))); return (s_supportVec); } public function GetVertexCount():int{ return (m_vertexCount); } override public function ComputeAABB(_arg1:b2AABB, _arg2:b2XForm):void{ var _local3:b2Mat22; var _local4:b2Vec2; var _local5:b2Mat22 = s_computeMat; _local3 = _arg2.R; _local4 = m_obb.R.col1; _local5.col1.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); _local5.col1.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); _local4 = m_obb.R.col2; _local5.col2.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); _local5.col2.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); _local5.Abs(); var _local6:b2Mat22 = _local5; _local4 = m_obb.extents; var _local7:Number = ((_local6.col1.x * _local4.x) + (_local6.col2.x * _local4.y)); var _local8:Number = ((_local6.col1.y * _local4.x) + (_local6.col2.y * _local4.y)); _local3 = _arg2.R; _local4 = m_obb.center; var _local9:Number = (_arg2.position.x + ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y))); var _local10:Number = (_arg2.position.y + ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y))); _arg1.lowerBound.Set((_local9 - _local7), (_local10 - _local8)); _arg1.upperBound.Set((_local9 + _local7), (_local10 + _local8)); } override public function UpdateSweepRadius(_arg1:b2Vec2):void{ var _local2:b2Vec2; var _local4:Number; var _local5:Number; m_sweepRadius = 0; var _local3:int; while (_local3 < m_vertexCount) { _local2 = m_coreVertices[_local3]; _local4 = (_local2.x - _arg1.x); _local5 = (_local2.y - _arg1.y); _local4 = Math.sqrt(((_local4 * _local4) + (_local5 * _local5))); if (_local4 > m_sweepRadius){ m_sweepRadius = _local4; }; _local3++; }; } override public function TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ var _local3:b2Vec2; var _local10:Number; var _local4:b2Mat22 = _arg1.R; var _local5:Number = (_arg2.x - _arg1.position.x); var _local6:Number = (_arg2.y - _arg1.position.y); var _local7:Number = ((_local5 * _local4.col1.x) + (_local6 * _local4.col1.y)); var _local8:Number = ((_local5 * _local4.col2.x) + (_local6 * _local4.col2.y)); var _local9:int; while (_local9 < m_vertexCount) { _local3 = m_vertices[_local9]; _local5 = (_local7 - _local3.x); _local6 = (_local8 - _local3.y); _local3 = m_normals[_local9]; _local10 = ((_local3.x * _local5) + (_local3.y * _local6)); if (_local10 > 0){ return (false); }; _local9++; }; return (true); } public static function ComputeCentroid(_arg1:Array, _arg2:int):b2Vec2{ var _local3:b2Vec2; var _local7:Number; var _local9:b2Vec2; var _local10:b2Vec2; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; _local3 = new b2Vec2(); var _local4:Number = 0; var _local5:Number = 0; var _local6:Number = 0; _local7 = (1 / 3); var _local8:int; while (_local8 < _arg2) { _local9 = _arg1[_local8]; _local10 = (((_local8 + 1) < _arg2)) ? _arg1[int((_local8 + 1))] : _arg1[0]; _local11 = (_local9.x - _local5); _local12 = (_local9.y - _local6); _local13 = (_local10.x - _local5); _local14 = (_local10.y - _local6); _local15 = ((_local11 * _local14) - (_local12 * _local13)); _local16 = (0.5 * _local15); _local4 = (_local4 + _local16); _local3.x = (_local3.x + ((_local16 * _local7) * ((_local5 + _local9.x) + _local10.x))); _local3.y = (_local3.y + ((_local16 * _local7) * ((_local6 + _local9.y) + _local10.y))); _local8++; }; _local3.x = (_local3.x * (1 / _local4)); _local3.y = (_local3.y * (1 / _local4)); return (_local3); } public static function ComputeOBB(_arg1:b2OBB, _arg2:Array, _arg3:int):void{ var _local4:int; var _local7:b2Vec2; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:int; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:b2Mat22; var _local5:Array = new Array((b2Settings.b2_maxPolygonVertices + 1)); _local4 = 0; while (_local4 < _arg3) { _local5[_local4] = _arg2[_local4]; _local4++; }; _local5[_arg3] = _local5[0]; var _local6:Number = Number.MAX_VALUE; _local4 = 1; while (_local4 <= _arg3) { _local7 = _local5[int((_local4 - 1))]; _local8 = (_local5[_local4].x - _local7.x); _local9 = (_local5[_local4].y - _local7.y); _local10 = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); _local8 = (_local8 / _local10); _local9 = (_local9 / _local10); _local11 = -(_local9); _local12 = _local8; _local13 = Number.MAX_VALUE; _local14 = Number.MAX_VALUE; _local15 = -(Number.MAX_VALUE); _local16 = -(Number.MAX_VALUE); _local17 = 0; while (_local17 < _arg3) { _local19 = (_local5[_local17].x - _local7.x); _local20 = (_local5[_local17].y - _local7.y); _local21 = ((_local8 * _local19) + (_local9 * _local20)); _local22 = ((_local11 * _local19) + (_local12 * _local20)); if (_local21 < _local13){ _local13 = _local21; }; if (_local22 < _local14){ _local14 = _local22; }; if (_local21 > _local15){ _local15 = _local21; }; if (_local22 > _local16){ _local16 = _local22; }; _local17++; }; _local18 = ((_local15 - _local13) * (_local16 - _local14)); if (_local18 < (0.95 * _local6)){ _local6 = _local18; _arg1.R.col1.x = _local8; _arg1.R.col1.y = _local9; _arg1.R.col2.x = _local11; _arg1.R.col2.y = _local12; _local23 = (0.5 * (_local13 + _local15)); _local24 = (0.5 * (_local14 + _local16)); _local25 = _arg1.R; _arg1.center.x = (_local7.x + ((_local25.col1.x * _local23) + (_local25.col2.x * _local24))); _arg1.center.y = (_local7.y + ((_local25.col1.y * _local23) + (_local25.col2.y * _local24))); _arg1.extents.x = (0.5 * (_local15 - _local13)); _arg1.extents.y = (0.5 * (_local16 - _local14)); }; _local4++; }; } } }//package Box2D.Collision.Shapes
Section 7
//b2Shape (Box2D.Collision.Shapes.b2Shape) package Box2D.Collision.Shapes { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Dynamics.*; public class b2Shape { public var m_next:b2Shape; public var m_type:int; public var m_sweepRadius:Number; public var m_density:Number; public var m_filter:b2FilterData; public var m_friction:Number; public var m_isSensor:Boolean; public var m_restitution:Number; public var m_userData; public var m_proxyId:uint; public var m_body:b2Body; public static const e_polygonShape:int = 1; public static const e_unknownShape:int = -1; public static const e_circleShape:int = 0; public static const e_shapeTypeCount:int = 2; private static var s_resetAABB:b2AABB = new b2AABB(); private static var s_syncAABB:b2AABB = new b2AABB(); private static var s_proxyAABB:b2AABB = new b2AABB(); public function b2Shape(_arg1:b2ShapeDef){ m_userData = _arg1.userData; m_friction = _arg1.friction; m_restitution = _arg1.restitution; m_density = _arg1.density; m_body = null; m_sweepRadius = 0; m_next = null; m_proxyId = b2Pair.b2_nullProxy; m_filter = _arg1.filter.Copy(); m_isSensor = _arg1.isSensor; } public function SetUserData(_arg1):void{ m_userData = _arg1; } public function GetSweepRadius():Number{ return (m_sweepRadius); } public function GetNext():b2Shape{ return (m_next); } public function ComputeSweptAABB(_arg1:b2AABB, _arg2:b2XForm, _arg3:b2XForm):void{ } public function GetType():int{ return (m_type); } public function GetRestitution():Number{ return (m_restitution); } public function GetFriction():Number{ return (m_friction); } public function GetFilterData():b2FilterData{ return (m_filter.Copy()); } public function TestSegment(_arg1:b2XForm, _arg2:Array, _arg3:b2Vec2, _arg4:b2Segment, _arg5:Number):Boolean{ return (false); } public function RefilterProxy(_arg1:b2BroadPhase, _arg2:b2XForm):void{ if (m_proxyId == b2Pair.b2_nullProxy){ return; }; _arg1.DestroyProxy(m_proxyId); var _local3:b2AABB = s_resetAABB; ComputeAABB(_local3, _arg2); var _local4:Boolean = _arg1.InRange(_local3); if (_local4){ m_proxyId = _arg1.CreateProxy(_local3, this); } else { m_proxyId = b2Pair.b2_nullProxy; }; } public function SetFilterData(_arg1:b2FilterData):void{ m_filter = _arg1.Copy(); } public function GetUserData(){ return (m_userData); } public function Synchronize(_arg1:b2BroadPhase, _arg2:b2XForm, _arg3:b2XForm):Boolean{ if (m_proxyId == b2Pair.b2_nullProxy){ return (false); }; var _local4:b2AABB = s_syncAABB; ComputeSweptAABB(_local4, _arg2, _arg3); if (_arg1.InRange(_local4)){ _arg1.MoveProxy(m_proxyId, _local4); return (true); }; return (false); } public function ComputeMass(_arg1:b2MassData):void{ } public function IsSensor():Boolean{ return (m_isSensor); } public function DestroyProxy(_arg1:b2BroadPhase):void{ if (m_proxyId != b2Pair.b2_nullProxy){ _arg1.DestroyProxy(m_proxyId); m_proxyId = b2Pair.b2_nullProxy; }; } public function UpdateSweepRadius(_arg1:b2Vec2):void{ } public function ComputeAABB(_arg1:b2AABB, _arg2:b2XForm):void{ } public function GetBody():b2Body{ return (m_body); } public function CreateProxy(_arg1:b2BroadPhase, _arg2:b2XForm):void{ var _local3:b2AABB = s_proxyAABB; ComputeAABB(_local3, _arg2); var _local4:Boolean = _arg1.InRange(_local3); if (_local4){ m_proxyId = _arg1.CreateProxy(_local3, this); } else { m_proxyId = b2Pair.b2_nullProxy; }; } public function TestPoint(_arg1:b2XForm, _arg2:b2Vec2):Boolean{ return (false); } public static function Destroy(_arg1:b2Shape, _arg2):void{ } public static function Create(_arg1:b2ShapeDef, _arg2):b2Shape{ switch (_arg1.type){ case e_circleShape: return (new b2CircleShape(_arg1)); case e_polygonShape: return (new b2PolygonShape(_arg1)); default: return (null); }; } } }//package Box2D.Collision.Shapes
Section 8
//b2ShapeDef (Box2D.Collision.Shapes.b2ShapeDef) package Box2D.Collision.Shapes { public class b2ShapeDef { public var friction:Number;// = 0.2 public var isSensor:Boolean;// = false public var density:Number;// = 0 public var restitution:Number;// = 0 public var userData;// = null public var filter:b2FilterData; public var type:int; public function b2ShapeDef(){ type = b2Shape.e_unknownShape; filter = new b2FilterData(); super(); } } }//package Box2D.Collision.Shapes
Section 9
//b2AABB (Box2D.Collision.b2AABB) package Box2D.Collision { import Box2D.Common.Math.*; public class b2AABB { public var upperBound:b2Vec2; public var lowerBound:b2Vec2; public function b2AABB(){ lowerBound = new b2Vec2(); upperBound = new b2Vec2(); super(); } public function IsValid():Boolean{ var _local1:Number = (upperBound.x - lowerBound.x); var _local2:Number = (upperBound.y - lowerBound.y); var _local3:Boolean = (((_local1 >= 0)) && ((_local2 >= 0))); _local3 = ((((_local3) && (lowerBound.IsValid()))) && (upperBound.IsValid())); return (_local3); } } }//package Box2D.Collision
Section 10
//b2Bound (Box2D.Collision.b2Bound) package Box2D.Collision { public class b2Bound { public var value:uint; public var proxyId:uint; public var stabbingCount:uint; public function Swap(_arg1:b2Bound):void{ var _local2:uint = value; var _local3:uint = proxyId; var _local4:uint = stabbingCount; value = _arg1.value; proxyId = _arg1.proxyId; stabbingCount = _arg1.stabbingCount; _arg1.value = _local2; _arg1.proxyId = _local3; _arg1.stabbingCount = _local4; } public function IsLower():Boolean{ return (((value & 1) == 0)); } public function IsUpper():Boolean{ return (((value & 1) == 1)); } } }//package Box2D.Collision
Section 11
//b2BoundValues (Box2D.Collision.b2BoundValues) package Box2D.Collision { public class b2BoundValues { public var lowerValues:Array; public var upperValues:Array; public function b2BoundValues(){ lowerValues = [0, 0]; upperValues = [0, 0]; super(); } } }//package Box2D.Collision
Section 12
//b2BroadPhase (Box2D.Collision.b2BroadPhase) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2BroadPhase { public var m_bounds:Array; public var m_quantizationFactor:b2Vec2; public var m_worldAABB:b2AABB; public var m_freeProxy:uint; public var m_proxyCount:int; public var m_proxyPool:Array; public var m_queryResultCount:int; public var m_pairManager:b2PairManager; public var m_timeStamp:uint; public var m_queryResults:Array; public static const b2_nullEdge:uint = 0xFFFF; public static const b2_invalid:uint = 0xFFFF; public static var s_validate:Boolean = false; public function b2BroadPhase(_arg1:b2AABB, _arg2:b2PairCallback){ var _local3:int; var _local5:Number; var _local6:b2Proxy; var _local7:int; m_pairManager = new b2PairManager(); m_proxyPool = new Array(b2Settings.b2_maxPairs); m_bounds = new Array((2 * b2Settings.b2_maxProxies)); m_queryResults = new Array(b2Settings.b2_maxProxies); m_quantizationFactor = new b2Vec2(); super(); m_pairManager.Initialize(this, _arg2); m_worldAABB = _arg1; m_proxyCount = 0; _local3 = 0; while (_local3 < b2Settings.b2_maxProxies) { m_queryResults[_local3] = 0; _local3++; }; m_bounds = new Array(2); _local3 = 0; while (_local3 < 2) { m_bounds[_local3] = new Array((2 * b2Settings.b2_maxProxies)); _local7 = 0; while (_local7 < (2 * b2Settings.b2_maxProxies)) { m_bounds[_local3][_local7] = new b2Bound(); _local7++; }; _local3++; }; var _local4:Number = (_arg1.upperBound.x - _arg1.lowerBound.x); _local5 = (_arg1.upperBound.y - _arg1.lowerBound.y); m_quantizationFactor.x = (b2Settings.USHRT_MAX / _local4); m_quantizationFactor.y = (b2Settings.USHRT_MAX / _local5); _local3 = 0; while (_local3 < (b2Settings.b2_maxProxies - 1)) { _local6 = new b2Proxy(); m_proxyPool[_local3] = _local6; _local6.SetNext((_local3 + 1)); _local6.timeStamp = 0; _local6.overlapCount = b2_invalid; _local6.userData = null; _local3++; }; _local6 = new b2Proxy(); m_proxyPool[int((b2Settings.b2_maxProxies - 1))] = _local6; _local6.SetNext(b2Pair.b2_nullProxy); _local6.timeStamp = 0; _local6.overlapCount = b2_invalid; _local6.userData = null; m_freeProxy = 0; m_timeStamp = 1; m_queryResultCount = 0; } public function QueryAABB(_arg1:b2AABB, _arg2, _arg3:int):int{ var _local6:uint; var _local7:uint; var _local12:b2Proxy; var _local4:Array = new Array(); var _local5:Array = new Array(); ComputeBounds(_local4, _local5, _arg1); var _local8:Array = [_local6]; var _local9:Array = [_local7]; Query(_local8, _local9, _local4[0], _local5[0], m_bounds[0], (2 * m_proxyCount), 0); Query(_local8, _local9, _local4[1], _local5[1], m_bounds[1], (2 * m_proxyCount), 1); var _local10:int; var _local11:int; while ((((_local11 < m_queryResultCount)) && ((_local10 < _arg3)))) { _local12 = m_proxyPool[m_queryResults[_local11]]; _arg2[_local11] = _local12.userData; _local11++; _local10++; }; m_queryResultCount = 0; IncrementTimeStamp(); return (_local10); } public function Commit():void{ m_pairManager.Commit(); } public function GetProxy(_arg1:int):b2Proxy{ var _local2:b2Proxy = m_proxyPool[_arg1]; if ((((_arg1 == b2Pair.b2_nullProxy)) || ((_local2.IsValid() == false)))){ return (null); }; return (_local2); } private function IncrementTimeStamp():void{ var _local1:uint; if (m_timeStamp == b2Settings.USHRT_MAX){ _local1 = 0; while (_local1 < b2Settings.b2_maxProxies) { (m_proxyPool[_local1] as b2Proxy).timeStamp = 0; _local1++; }; m_timeStamp = 1; } else { m_timeStamp++; }; } private function Query(_arg1:Array, _arg2:Array, _arg3:uint, _arg4:uint, _arg5:Array, _arg6:uint, _arg7:int):void{ var _local10:b2Bound; var _local12:int; var _local13:int; var _local14:b2Proxy; var _local8:uint = BinarySearch(_arg5, _arg6, _arg3); var _local9:uint = BinarySearch(_arg5, _arg6, _arg4); var _local11:uint = _local8; while (_local11 < _local9) { _local10 = _arg5[_local11]; if (_local10.IsLower()){ IncrementOverlapCount(_local10.proxyId); }; _local11++; }; if (_local8 > 0){ _local12 = (_local8 - 1); _local10 = _arg5[_local12]; _local13 = _local10.stabbingCount; while (_local13) { _local10 = _arg5[_local12]; if (_local10.IsLower()){ _local14 = m_proxyPool[_local10.proxyId]; if (_local8 <= _local14.upperBounds[_arg7]){ IncrementOverlapCount(_local10.proxyId); _local13--; }; }; _local12--; }; }; _arg1[0] = _local8; _arg2[0] = _local9; } private function TestOverlapValidate(_arg1:b2Proxy, _arg2:b2Proxy):Boolean{ var _local4:Array; var _local5:b2Bound; var _local6:b2Bound; var _local3:int; while (_local3 < 2) { _local4 = m_bounds[_local3]; _local5 = _local4[_arg1.lowerBounds[_local3]]; _local6 = _local4[_arg2.upperBounds[_local3]]; if (_local5.value > _local6.value){ return (false); }; _local5 = _local4[_arg1.upperBounds[_local3]]; _local6 = _local4[_arg2.lowerBounds[_local3]]; if (_local5.value < _local6.value){ return (false); }; _local3++; }; return (true); } private function ComputeBounds(_arg1:Array, _arg2:Array, _arg3:b2AABB):void{ var _local4:Number = _arg3.lowerBound.x; var _local5:Number = _arg3.lowerBound.y; _local4 = b2Math.b2Min(_local4, m_worldAABB.upperBound.x); _local5 = b2Math.b2Min(_local5, m_worldAABB.upperBound.y); _local4 = b2Math.b2Max(_local4, m_worldAABB.lowerBound.x); _local5 = b2Math.b2Max(_local5, m_worldAABB.lowerBound.y); var _local6:Number = _arg3.upperBound.x; var _local7:Number = _arg3.upperBound.y; _local6 = b2Math.b2Min(_local6, m_worldAABB.upperBound.x); _local7 = b2Math.b2Min(_local7, m_worldAABB.upperBound.y); _local6 = b2Math.b2Max(_local6, m_worldAABB.lowerBound.x); _local7 = b2Math.b2Max(_local7, m_worldAABB.lowerBound.y); _arg1[0] = (uint((m_quantizationFactor.x * (_local4 - m_worldAABB.lowerBound.x))) & (b2Settings.USHRT_MAX - 1)); _arg2[0] = ((uint((m_quantizationFactor.x * (_local6 - m_worldAABB.lowerBound.x))) & 0xFFFF) | 1); _arg1[1] = (uint((m_quantizationFactor.y * (_local5 - m_worldAABB.lowerBound.y))) & (b2Settings.USHRT_MAX - 1)); _arg2[1] = ((uint((m_quantizationFactor.y * (_local7 - m_worldAABB.lowerBound.y))) & 0xFFFF) | 1); } public function CreateProxy(_arg1:b2AABB, _arg2):uint{ var _local3:uint; var _local4:b2Proxy; var _local11:Array; var _local12:uint; var _local13:uint; var _local14:Array; var _local15:Array; var _local16:Array; var _local17:int; var _local18:int; var _local19:b2Bound; var _local20:b2Bound; var _local21:b2Bound; var _local22:int; var _local23:b2Proxy; var _local5:uint = m_freeProxy; _local4 = m_proxyPool[_local5]; m_freeProxy = _local4.GetNext(); _local4.overlapCount = 0; _local4.userData = _arg2; var _local6:uint = (2 * m_proxyCount); var _local7:Array = new Array(); var _local8:Array = new Array(); ComputeBounds(_local7, _local8, _arg1); var _local9:int; while (_local9 < 2) { _local11 = m_bounds[_local9]; _local14 = [_local12]; _local15 = [_local13]; Query(_local14, _local15, _local7[_local9], _local8[_local9], _local11, _local6, _local9); _local12 = _local14[0]; _local13 = _local15[0]; _local16 = new Array(); _local18 = (_local6 - _local13); _local17 = 0; while (_local17 < _local18) { _local16[_local17] = new b2Bound(); _local19 = _local16[_local17]; _local20 = _local11[int((_local13 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local18 = _local16.length; _local22 = (_local13 + 2); _local17 = 0; while (_local17 < _local18) { _local20 = _local16[_local17]; _local19 = _local11[int((_local22 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local16 = new Array(); _local18 = (_local13 - _local12); _local17 = 0; while (_local17 < _local18) { _local16[_local17] = new b2Bound(); _local19 = _local16[_local17]; _local20 = _local11[int((_local12 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local18 = _local16.length; _local22 = (_local12 + 1); _local17 = 0; while (_local17 < _local18) { _local20 = _local16[_local17]; _local19 = _local11[int((_local22 + _local17))]; _local19.value = _local20.value; _local19.proxyId = _local20.proxyId; _local19.stabbingCount = _local20.stabbingCount; _local17++; }; _local13++; _local19 = _local11[_local12]; _local20 = _local11[_local13]; _local19.value = _local7[_local9]; _local19.proxyId = _local5; _local20.value = _local8[_local9]; _local20.proxyId = _local5; _local21 = _local11[int((_local12 - 1))]; _local19.stabbingCount = ((_local12 == 0)) ? 0 : _local21.stabbingCount; _local21 = _local11[int((_local13 - 1))]; _local20.stabbingCount = _local21.stabbingCount; _local3 = _local12; while (_local3 < _local13) { _local21 = _local11[_local3]; _local21.stabbingCount++; _local3++; }; _local3 = _local12; while (_local3 < (_local6 + 2)) { _local19 = _local11[_local3]; _local23 = m_proxyPool[_local19.proxyId]; if (_local19.IsLower()){ _local23.lowerBounds[_local9] = _local3; } else { _local23.upperBounds[_local9] = _local3; }; _local3++; }; _local9++; }; m_proxyCount++; var _local10:int; while (_local10 < m_queryResultCount) { m_pairManager.AddBufferedPair(_local5, m_queryResults[_local10]); _local10++; }; m_pairManager.Commit(); m_queryResultCount = 0; IncrementTimeStamp(); return (_local5); } public function DestroyProxy(_arg1:uint):void{ var _local2:b2Bound; var _local3:b2Bound; var _local8:Array; var _local9:uint; var _local10:uint; var _local11:uint; var _local12:uint; var _local13:Array; var _local14:int; var _local15:int; var _local16:int; var _local17:uint; var _local18:int; var _local19:b2Proxy; var _local4:b2Proxy = m_proxyPool[_arg1]; var _local5:int = (2 * m_proxyCount); var _local6:int; while (_local6 < 2) { _local8 = m_bounds[_local6]; _local9 = _local4.lowerBounds[_local6]; _local10 = _local4.upperBounds[_local6]; _local2 = _local8[_local9]; _local11 = _local2.value; _local3 = _local8[_local10]; _local12 = _local3.value; _local13 = new Array(); _local15 = ((_local10 - _local9) - 1); _local14 = 0; while (_local14 < _local15) { _local13[_local14] = new b2Bound(); _local2 = _local13[_local14]; _local3 = _local8[int(((_local9 + 1) + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local15 = _local13.length; _local16 = _local9; _local14 = 0; while (_local14 < _local15) { _local3 = _local13[_local14]; _local2 = _local8[int((_local16 + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local13 = new Array(); _local15 = ((_local5 - _local10) - 1); _local14 = 0; while (_local14 < _local15) { _local13[_local14] = new b2Bound(); _local2 = _local13[_local14]; _local3 = _local8[int(((_local10 + 1) + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local15 = _local13.length; _local16 = (_local10 - 1); _local14 = 0; while (_local14 < _local15) { _local3 = _local13[_local14]; _local2 = _local8[int((_local16 + _local14))]; _local2.value = _local3.value; _local2.proxyId = _local3.proxyId; _local2.stabbingCount = _local3.stabbingCount; _local14++; }; _local15 = (_local5 - 2); _local17 = _local9; while (_local17 < _local15) { _local2 = _local8[_local17]; _local19 = m_proxyPool[_local2.proxyId]; if (_local2.IsLower()){ _local19.lowerBounds[_local6] = _local17; } else { _local19.upperBounds[_local6] = _local17; }; _local17++; }; _local15 = (_local10 - 1); _local18 = _local9; while (_local18 < _local15) { _local2 = _local8[_local18]; _local2.stabbingCount--; _local18++; }; Query([0], [0], _local11, _local12, _local8, (_local5 - 2), _local6); _local6++; }; var _local7:int; while (_local7 < m_queryResultCount) { m_pairManager.RemoveBufferedPair(_arg1, m_queryResults[_local7]); _local7++; }; m_pairManager.Commit(); m_queryResultCount = 0; IncrementTimeStamp(); _local4.userData = null; _local4.overlapCount = b2_invalid; _local4.lowerBounds[0] = b2_invalid; _local4.lowerBounds[1] = b2_invalid; _local4.upperBounds[0] = b2_invalid; _local4.upperBounds[1] = b2_invalid; _local4.SetNext(m_freeProxy); m_freeProxy = _arg1; m_proxyCount--; } public function TestOverlap(_arg1:b2BoundValues, _arg2:b2Proxy):Boolean{ var _local4:Array; var _local5:b2Bound; var _local3:int; while (_local3 < 2) { _local4 = m_bounds[_local3]; _local5 = _local4[_arg2.upperBounds[_local3]]; if (_arg1.lowerValues[_local3] > _local5.value){ return (false); }; _local5 = _local4[_arg2.lowerBounds[_local3]]; if (_arg1.upperValues[_local3] < _local5.value){ return (false); }; _local3++; }; return (true); } public function Validate():void{ var _local1:b2Pair; var _local2:b2Proxy; var _local3:b2Proxy; var _local4:Boolean; var _local6:b2Bound; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:b2Bound; var _local5:int; while (_local5 < 2) { _local6 = m_bounds[_local5]; _local7 = (2 * m_proxyCount); _local8 = 0; _local9 = 0; while (_local9 < _local7) { _local10 = _local6[_local9]; if (_local10.IsLower() == true){ _local8++; } else { _local8--; }; _local9++; }; _local5++; }; } private function IncrementOverlapCount(_arg1:uint):void{ var _local2:b2Proxy = m_proxyPool[_arg1]; if (_local2.timeStamp < m_timeStamp){ _local2.timeStamp = m_timeStamp; _local2.overlapCount = 1; } else { _local2.overlapCount = 2; m_queryResults[m_queryResultCount] = _arg1; m_queryResultCount++; }; } public function InRange(_arg1:b2AABB):Boolean{ var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local2 = _arg1.lowerBound.x; _local3 = _arg1.lowerBound.y; _local2 = (_local2 - m_worldAABB.upperBound.x); _local3 = (_local3 - m_worldAABB.upperBound.y); _local4 = m_worldAABB.lowerBound.x; _local5 = m_worldAABB.lowerBound.y; _local4 = (_local4 - _arg1.upperBound.x); _local5 = (_local5 - _arg1.upperBound.y); _local2 = b2Math.b2Max(_local2, _local4); _local3 = b2Math.b2Max(_local3, _local5); return ((b2Math.b2Max(_local2, _local3) < 0)); } public function MoveProxy(_arg1:uint, _arg2:b2AABB):void{ var _local3:Array; var _local4:int; var _local5:uint; var _local6:uint; var _local7:b2Bound; var _local8:b2Bound; var _local9:b2Bound; var _local10:uint; var _local11:b2Proxy; var _local16:Array; var _local17:uint; var _local18:uint; var _local19:uint; var _local20:uint; var _local21:int; var _local22:int; var _local23:uint; var _local24:b2Proxy; if ((((_arg1 == b2Pair.b2_nullProxy)) || ((b2Settings.b2_maxProxies <= _arg1)))){ return; }; if (_arg2.IsValid() == false){ return; }; var _local12:uint = (2 * m_proxyCount); var _local13:b2Proxy = m_proxyPool[_arg1]; var _local14:b2BoundValues = new b2BoundValues(); ComputeBounds(_local14.lowerValues, _local14.upperValues, _arg2); var _local15:b2BoundValues = new b2BoundValues(); _local5 = 0; while (_local5 < 2) { _local7 = m_bounds[_local5][_local13.lowerBounds[_local5]]; _local15.lowerValues[_local5] = _local7.value; _local7 = m_bounds[_local5][_local13.upperBounds[_local5]]; _local15.upperValues[_local5] = _local7.value; _local5++; }; _local5 = 0; while (_local5 < 2) { _local16 = m_bounds[_local5]; _local17 = _local13.lowerBounds[_local5]; _local18 = _local13.upperBounds[_local5]; _local19 = _local14.lowerValues[_local5]; _local20 = _local14.upperValues[_local5]; _local7 = _local16[_local17]; _local21 = (_local19 - _local7.value); _local7.value = _local19; _local7 = _local16[_local18]; _local22 = (_local20 - _local7.value); _local7.value = _local20; if (_local21 < 0){ _local6 = _local17; while ((((_local6 > 0)) && ((_local19 < (_local16[int((_local6 - 1))] as b2Bound).value)))) { _local7 = _local16[_local6]; _local8 = _local16[int((_local6 - 1))]; _local23 = _local8.proxyId; _local24 = m_proxyPool[_local8.proxyId]; _local8.stabbingCount++; if (_local8.IsUpper() == true){ if (TestOverlap(_local14, _local24)){ m_pairManager.AddBufferedPair(_arg1, _local23); }; _local3 = _local24.upperBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount++; } else { _local3 = _local24.lowerBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount--; }; _local3 = _local13.lowerBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.Swap(_local8); _local6--; }; }; if (_local22 > 0){ _local6 = _local18; while ((((_local6 < (_local12 - 1))) && (((_local16[int((_local6 + 1))] as b2Bound).value <= _local20)))) { _local7 = _local16[_local6]; _local9 = _local16[int((_local6 + 1))]; _local10 = _local9.proxyId; _local11 = m_proxyPool[_local10]; _local9.stabbingCount++; if (_local9.IsLower() == true){ if (TestOverlap(_local14, _local11)){ m_pairManager.AddBufferedPair(_arg1, _local10); }; _local3 = _local11.lowerBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount++; } else { _local3 = _local11.upperBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount--; }; _local3 = _local13.upperBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.Swap(_local9); _local6++; }; }; if (_local21 > 0){ _local6 = _local17; while ((((_local6 < (_local12 - 1))) && (((_local16[int((_local6 + 1))] as b2Bound).value <= _local19)))) { _local7 = _local16[_local6]; _local9 = _local16[int((_local6 + 1))]; _local10 = _local9.proxyId; _local11 = m_proxyPool[_local10]; _local9.stabbingCount--; if (_local9.IsUpper()){ if (TestOverlap(_local15, _local11)){ m_pairManager.RemoveBufferedPair(_arg1, _local10); }; _local3 = _local11.upperBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount--; } else { _local3 = _local11.lowerBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.stabbingCount++; }; _local3 = _local13.lowerBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.Swap(_local9); _local6++; }; }; if (_local22 < 0){ _local6 = _local18; while ((((_local6 > 0)) && ((_local20 < (_local16[int((_local6 - 1))] as b2Bound).value)))) { _local7 = _local16[_local6]; _local8 = _local16[int((_local6 - 1))]; _local23 = _local8.proxyId; _local24 = m_proxyPool[_local23]; _local8.stabbingCount--; if (_local8.IsLower() == true){ if (TestOverlap(_local15, _local24)){ m_pairManager.RemoveBufferedPair(_arg1, _local23); }; _local3 = _local24.lowerBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount--; } else { _local3 = _local24.upperBounds; _local4 = _local3[_local5]; _local4++; _local3[_local5] = _local4; _local7.stabbingCount++; }; _local3 = _local13.upperBounds; _local4 = _local3[_local5]; _local4--; _local3[_local5] = _local4; _local7.Swap(_local8); _local6--; }; }; _local5++; }; } public static function BinarySearch(_arg1:Array, _arg2:int, _arg3:uint):uint{ var _local6:int; var _local7:b2Bound; var _local4:int; var _local5:int = (_arg2 - 1); while (_local4 <= _local5) { _local6 = ((_local4 + _local5) / 2); _local7 = _arg1[_local6]; if (_local7.value > _arg3){ _local5 = (_local6 - 1); } else { if (_local7.value < _arg3){ _local4 = (_local6 + 1); } else { return (uint(_local6)); }; }; }; return (uint(_local4)); } } }//package Box2D.Collision
Section 13
//b2BufferedPair (Box2D.Collision.b2BufferedPair) package Box2D.Collision { public class b2BufferedPair { public var proxyId1:uint; public var proxyId2:uint; } }//package Box2D.Collision
Section 14
//b2Collision (Box2D.Collision.b2Collision) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.Shapes.*; public class b2Collision { public static const b2_nullFeature:uint = 0xFF; private static var b2CollidePolyTempVec:b2Vec2 = new b2Vec2(); public static function EdgeSeparation(_arg1:b2PolygonShape, _arg2:b2XForm, _arg3:int, _arg4:b2PolygonShape, _arg5:b2XForm):Number{ var _local11:b2Mat22; var _local12:b2Vec2; var _local25:Number; var _local6:int = _arg1.m_vertexCount; var _local7:Array = _arg1.m_vertices; var _local8:Array = _arg1.m_normals; var _local9:int = _arg4.m_vertexCount; var _local10:Array = _arg4.m_vertices; _local11 = _arg2.R; _local12 = _local8[_arg3]; var _local13:Number = ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y)); var _local14:Number = ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y)); _local11 = _arg5.R; var _local15:Number = ((_local11.col1.x * _local13) + (_local11.col1.y * _local14)); var _local16:Number = ((_local11.col2.x * _local13) + (_local11.col2.y * _local14)); var _local17:int; var _local18:Number = Number.MAX_VALUE; var _local19:int; while (_local19 < _local9) { _local12 = _local10[_local19]; _local25 = ((_local12.x * _local15) + (_local12.y * _local16)); if (_local25 < _local18){ _local18 = _local25; _local17 = _local19; }; _local19++; }; _local12 = _local7[_arg3]; _local11 = _arg2.R; var _local20:Number = (_arg2.position.x + ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y))); var _local21:Number = (_arg2.position.y + ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y))); _local12 = _local10[_local17]; _local11 = _arg5.R; var _local22:Number = (_arg5.position.x + ((_local11.col1.x * _local12.x) + (_local11.col2.x * _local12.y))); var _local23:Number = (_arg5.position.y + ((_local11.col1.y * _local12.x) + (_local11.col2.y * _local12.y))); _local22 = (_local22 - _local20); _local23 = (_local23 - _local21); var _local24:Number = ((_local22 * _local13) + (_local23 * _local14)); return (_local24); } public static function b2TestOverlap(_arg1:b2AABB, _arg2:b2AABB):Boolean{ var _local3:b2Vec2 = _arg2.lowerBound; var _local4:b2Vec2 = _arg1.upperBound; var _local5:Number = (_local3.x - _local4.x); var _local6:Number = (_local3.y - _local4.y); _local3 = _arg1.lowerBound; _local4 = _arg2.upperBound; var _local7:Number = (_local3.x - _local4.x); var _local8:Number = (_local3.y - _local4.y); if ((((_local5 > 0)) || ((_local6 > 0)))){ return (false); }; if ((((_local7 > 0)) || ((_local8 > 0)))){ return (false); }; return (true); } public static function FindIncidentEdge(_arg1:Array, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:int, _arg5:b2PolygonShape, _arg6:b2XForm):void{ var _local12:b2Mat22; var _local13:b2Vec2; var _local20:ClipVertex; var _local23:Number; var _local7:int = _arg2.m_vertexCount; var _local8:Array = _arg2.m_normals; var _local9:int = _arg5.m_vertexCount; var _local10:Array = _arg5.m_vertices; var _local11:Array = _arg5.m_normals; _local12 = _arg3.R; _local13 = _local8[_arg4]; var _local14:Number = ((_local12.col1.x * _local13.x) + (_local12.col2.x * _local13.y)); var _local15:Number = ((_local12.col1.y * _local13.x) + (_local12.col2.y * _local13.y)); _local12 = _arg6.R; var _local16:Number = ((_local12.col1.x * _local14) + (_local12.col1.y * _local15)); _local15 = ((_local12.col2.x * _local14) + (_local12.col2.y * _local15)); _local14 = _local16; var _local17:int; var _local18:Number = Number.MAX_VALUE; var _local19:int; while (_local19 < _local9) { _local13 = _local11[_local19]; _local23 = ((_local14 * _local13.x) + (_local15 * _local13.y)); if (_local23 < _local18){ _local18 = _local23; _local17 = _local19; }; _local19++; }; var _local21:int = _local17; var _local22:int = (((_local21 + 1) < _local9)) ? (_local21 + 1) : 0; _local20 = _arg1[0]; _local13 = _local10[_local21]; _local12 = _arg6.R; _local20.v.x = (_arg6.position.x + ((_local12.col1.x * _local13.x) + (_local12.col2.x * _local13.y))); _local20.v.y = (_arg6.position.y + ((_local12.col1.y * _local13.x) + (_local12.col2.y * _local13.y))); _local20.id.features.referenceEdge = _arg4; _local20.id.features.incidentEdge = _local21; _local20.id.features.incidentVertex = 0; _local20 = _arg1[1]; _local13 = _local10[_local22]; _local12 = _arg6.R; _local20.v.x = (_arg6.position.x + ((_local12.col1.x * _local13.x) + (_local12.col2.x * _local13.y))); _local20.v.y = (_arg6.position.y + ((_local12.col1.y * _local13.x) + (_local12.col2.y * _local13.y))); _local20.id.features.referenceEdge = _arg4; _local20.id.features.incidentEdge = _local22; _local20.id.features.incidentVertex = 1; } public static function b2CollidePolygons(_arg1:b2Manifold, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:b2PolygonShape, _arg5:b2XForm):void{ var _local6:ClipVertex; var _local13:b2PolygonShape; var _local14:b2PolygonShape; var _local17:int; var _local18:uint; var _local34:int; var _local37:b2Vec2; var _local38:Number; var _local39:b2ManifoldPoint; _arg1.pointCount = 0; var _local7:int; var _local8:Array = [_local7]; var _local9:Number = FindMaxSeparation(_local8, _arg2, _arg3, _arg4, _arg5); _local7 = _local8[0]; if (_local9 > 0){ return; }; var _local10:int; var _local11:Array = [_local10]; var _local12:Number = FindMaxSeparation(_local11, _arg4, _arg5, _arg2, _arg3); _local10 = _local11[0]; if (_local12 > 0){ return; }; var _local15:b2XForm = new b2XForm(); var _local16:b2XForm = new b2XForm(); var _local19:Number = 0.98; var _local20:Number = 0.001; if (_local12 > ((_local19 * _local9) + _local20)){ _local13 = _arg4; _local14 = _arg2; _local15.Set(_arg5); _local16.Set(_arg3); _local17 = _local10; _local18 = 1; } else { _local13 = _arg2; _local14 = _arg4; _local15.Set(_arg3); _local16.Set(_arg5); _local17 = _local7; _local18 = 0; }; var _local21:Array = [new ClipVertex(), new ClipVertex()]; FindIncidentEdge(_local21, _local13, _local15, _local17, _local14, _local16); var _local22:int = _local13.m_vertexCount; var _local23:Array = _local13.m_vertices; var _local24:b2Vec2 = _local23[_local17]; var _local25:b2Vec2 = _local24.Copy(); if ((_local17 + 1) < _local22){ _local24 = _local23[int((_local17 + 1))]; _local37 = _local24.Copy(); } else { _local24 = _local23[0]; _local37 = _local24.Copy(); }; var _local26:b2Vec2 = b2Math.SubtractVV(_local37, _local25); var _local27:b2Vec2 = b2Math.b2MulMV(_local15.R, b2Math.SubtractVV(_local37, _local25)); _local27.Normalize(); var _local28:b2Vec2 = b2Math.b2CrossVF(_local27, 1); _local25 = b2Math.b2MulX(_local15, _local25); _local37 = b2Math.b2MulX(_local15, _local37); var _local29:Number = b2Math.b2Dot(_local28, _local25); var _local30:Number = -(b2Math.b2Dot(_local27, _local25)); var _local31:Number = b2Math.b2Dot(_local27, _local37); var _local32:Array = [new ClipVertex(), new ClipVertex()]; var _local33:Array = [new ClipVertex(), new ClipVertex()]; _local34 = ClipSegmentToLine(_local32, _local21, _local27.Negative(), _local30); if (_local34 < 2){ return; }; _local34 = ClipSegmentToLine(_local33, _local32, _local27, _local31); if (_local34 < 2){ return; }; _arg1.normal = (_local18) ? _local28.Negative() : _local28.Copy(); var _local35:int; var _local36:int; while (_local36 < b2Settings.b2_maxManifoldPoints) { _local6 = _local33[_local36]; _local38 = (b2Math.b2Dot(_local28, _local6.v) - _local29); if (_local38 <= 0){ _local39 = _arg1.points[_local35]; _local39.separation = _local38; _local39.localPoint1 = b2Math.b2MulXT(_arg3, _local6.v); _local39.localPoint2 = b2Math.b2MulXT(_arg5, _local6.v); _local39.id.key = _local6.id._key; _local39.id.features.flip = _local18; _local35++; }; _local36++; }; _arg1.pointCount = _local35; } public static function FindMaxSeparation(_arg1:Array, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:b2PolygonShape, _arg5:b2XForm):Number{ var _local8:b2Vec2; var _local9:b2Mat22; var _local22:int; var _local23:Number; var _local24:int; var _local25:Number; var _local6:int = _arg2.m_vertexCount; var _local7:Array = _arg2.m_normals; _local9 = _arg5.R; _local8 = _arg4.m_centroid; var _local10:Number = (_arg5.position.x + ((_local9.col1.x * _local8.x) + (_local9.col2.x * _local8.y))); var _local11:Number = (_arg5.position.y + ((_local9.col1.y * _local8.x) + (_local9.col2.y * _local8.y))); _local9 = _arg3.R; _local8 = _arg2.m_centroid; _local10 = (_local10 - (_arg3.position.x + ((_local9.col1.x * _local8.x) + (_local9.col2.x * _local8.y)))); _local11 = (_local11 - (_arg3.position.y + ((_local9.col1.y * _local8.x) + (_local9.col2.y * _local8.y)))); var _local12:Number = ((_local10 * _arg3.R.col1.x) + (_local11 * _arg3.R.col1.y)); var _local13:Number = ((_local10 * _arg3.R.col2.x) + (_local11 * _arg3.R.col2.y)); var _local14:int; var _local15:Number = -(Number.MAX_VALUE); var _local16:int; while (_local16 < _local6) { _local8 = _local7[_local16]; _local25 = ((_local8.x * _local12) + (_local8.y * _local13)); if (_local25 > _local15){ _local15 = _local25; _local14 = _local16; }; _local16++; }; var _local17:Number = EdgeSeparation(_arg2, _arg3, _local14, _arg4, _arg5); if (_local17 > 0){ return (_local17); }; var _local18:int = (((_local14 - 1) >= 0)) ? (_local14 - 1) : (_local6 - 1); var _local19:Number = EdgeSeparation(_arg2, _arg3, _local18, _arg4, _arg5); if (_local19 > 0){ return (_local19); }; var _local20:int = (((_local14 + 1) < _local6)) ? (_local14 + 1) : 0; var _local21:Number = EdgeSeparation(_arg2, _arg3, _local20, _arg4, _arg5); if (_local21 > 0){ return (_local21); }; if ((((_local19 > _local17)) && ((_local19 > _local21)))){ _local24 = -1; _local22 = _local18; _local23 = _local19; } else { if (_local21 > _local17){ _local24 = 1; _local22 = _local20; _local23 = _local21; } else { _arg1[0] = _local14; return (_local17); }; }; while (true) { if (_local24 == -1){ _local14 = (((_local22 - 1) >= 0)) ? (_local22 - 1) : (_local6 - 1); } else { _local14 = (((_local22 + 1) < _local6)) ? (_local22 + 1) : 0; }; _local17 = EdgeSeparation(_arg2, _arg3, _local14, _arg4, _arg5); if (_local17 > 0){ return (_local17); }; if (_local17 > _local23){ _local22 = _local14; _local23 = _local17; } else { break; }; }; _arg1[0] = _local22; return (_local23); } public static function ClipSegmentToLine(_arg1:Array, _arg2:Array, _arg3:b2Vec2, _arg4:Number):int{ var _local5:ClipVertex; var _local6:int; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:Number; var _local11:Number; var _local12:b2Vec2; var _local13:ClipVertex; _local6 = 0; _local5 = _arg2[0]; _local7 = _local5.v; _local5 = _arg2[1]; _local8 = _local5.v; _local9 = (b2Math.b2Dot(_arg3, _local7) - _arg4); var _local10:Number = (b2Math.b2Dot(_arg3, _local8) - _arg4); if (_local9 <= 0){ var _temp1 = _local6; _local6 = (_local6 + 1); var _local14 = _temp1; _arg1[_local14] = _arg2[0]; }; if (_local10 <= 0){ var _temp2 = _local6; _local6 = (_local6 + 1); _local14 = _temp2; _arg1[_local14] = _arg2[1]; }; if ((_local9 * _local10) < 0){ _local11 = (_local9 / (_local9 - _local10)); _local5 = _arg1[_local6]; _local12 = _local5.v; _local12.x = (_local7.x + (_local11 * (_local8.x - _local7.x))); _local12.y = (_local7.y + (_local11 * (_local8.y - _local7.y))); _local5 = _arg1[_local6]; if (_local9 > 0){ _local13 = _arg2[0]; _local5.id = _local13.id; } else { _local13 = _arg2[1]; _local5.id = _local13.id; }; _local6++; }; return (_local6); } public static function b2CollideCircles(_arg1:b2Manifold, _arg2:b2CircleShape, _arg3:b2XForm, _arg4:b2CircleShape, _arg5:b2XForm):void{ var _local6:b2Mat22; var _local7:b2Vec2; var _local18:Number; var _local24:Number; var _local25:Number; _arg1.pointCount = 0; _local6 = _arg3.R; _local7 = _arg2.m_localPosition; var _local8:Number = (_arg3.position.x + ((_local6.col1.x * _local7.x) + (_local6.col2.x * _local7.y))); var _local9:Number = (_arg3.position.y + ((_local6.col1.y * _local7.x) + (_local6.col2.y * _local7.y))); _local6 = _arg5.R; _local7 = _arg4.m_localPosition; var _local10:Number = (_arg5.position.x + ((_local6.col1.x * _local7.x) + (_local6.col2.x * _local7.y))); var _local11:Number = (_arg5.position.y + ((_local6.col1.y * _local7.x) + (_local6.col2.y * _local7.y))); var _local12:Number = (_local10 - _local8); var _local13:Number = (_local11 - _local9); var _local14:Number = ((_local12 * _local12) + (_local13 * _local13)); var _local15:Number = _arg2.m_radius; var _local16:Number = _arg4.m_radius; var _local17:Number = (_local15 + _local16); if (_local14 > (_local17 * _local17)){ return; }; if (_local14 < Number.MIN_VALUE){ _local18 = -(_local17); _arg1.normal.Set(0, 1); } else { _local24 = Math.sqrt(_local14); _local18 = (_local24 - _local17); _local25 = (1 / _local24); _arg1.normal.x = (_local25 * _local12); _arg1.normal.y = (_local25 * _local13); }; _arg1.pointCount = 1; var _local19:b2ManifoldPoint = _arg1.points[0]; _local19.id.key = 0; _local19.separation = _local18; _local8 = (_local8 + (_local15 * _arg1.normal.x)); _local9 = (_local9 + (_local15 * _arg1.normal.y)); _local10 = (_local10 - (_local16 * _arg1.normal.x)); _local11 = (_local11 - (_local16 * _arg1.normal.y)); var _local20:Number = (0.5 * (_local8 + _local10)); var _local21:Number = (0.5 * (_local9 + _local11)); var _local22:Number = (_local20 - _arg3.position.x); var _local23:Number = (_local21 - _arg3.position.y); _local19.localPoint1.x = ((_local22 * _arg3.R.col1.x) + (_local23 * _arg3.R.col1.y)); _local19.localPoint1.y = ((_local22 * _arg3.R.col2.x) + (_local23 * _arg3.R.col2.y)); _local22 = (_local20 - _arg5.position.x); _local23 = (_local21 - _arg5.position.y); _local19.localPoint2.x = ((_local22 * _arg5.R.col1.x) + (_local23 * _arg5.R.col1.y)); _local19.localPoint2.y = ((_local22 * _arg5.R.col2.x) + (_local23 * _arg5.R.col2.y)); } public static function b2CollidePolygonAndCircle(_arg1:b2Manifold, _arg2:b2PolygonShape, _arg3:b2XForm, _arg4:b2CircleShape, _arg5:b2XForm):void{ var _local6:b2ManifoldPoint; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:b2Vec2; var _local12:b2Mat22; var _local17:Number; var _local32:Number; var _local33:Number; var _local34:Number; _arg1.pointCount = 0; _local12 = _arg5.R; _local11 = _arg4.m_localPosition; var _local13:Number = (_arg5.position.x + ((_local12.col1.x * _local11.x) + (_local12.col2.x * _local11.y))); var _local14:Number = (_arg5.position.y + ((_local12.col1.y * _local11.x) + (_local12.col2.y * _local11.y))); _local7 = (_local13 - _arg3.position.x); _local8 = (_local14 - _arg3.position.y); _local12 = _arg3.R; var _local15:Number = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); var _local16:Number = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); var _local18:int; var _local19:Number = -(Number.MAX_VALUE); var _local20:Number = _arg4.m_radius; var _local21:int = _arg2.m_vertexCount; var _local22:Array = _arg2.m_vertices; var _local23:Array = _arg2.m_normals; var _local24:int; while (_local24 < _local21) { _local11 = _local22[_local24]; _local7 = (_local15 - _local11.x); _local8 = (_local16 - _local11.y); _local11 = _local23[_local24]; _local34 = ((_local11.x * _local7) + (_local11.y * _local8)); if (_local34 > _local20){ return; }; if (_local34 > _local19){ _local19 = _local34; _local18 = _local24; }; _local24++; }; if (_local19 < Number.MIN_VALUE){ _arg1.pointCount = 1; _local11 = _local23[_local18]; _local12 = _arg3.R; _arg1.normal.x = ((_local12.col1.x * _local11.x) + (_local12.col2.x * _local11.y)); _arg1.normal.y = ((_local12.col1.y * _local11.x) + (_local12.col2.y * _local11.y)); _local6 = _arg1.points[0]; _local6.id.features.incidentEdge = _local18; _local6.id.features.incidentVertex = b2_nullFeature; _local6.id.features.referenceEdge = 0; _local6.id.features.flip = 0; _local9 = (_local13 - (_local20 * _arg1.normal.x)); _local10 = (_local14 - (_local20 * _arg1.normal.y)); _local7 = (_local9 - _arg3.position.x); _local8 = (_local10 - _arg3.position.y); _local12 = _arg3.R; _local6.localPoint1.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint1.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local7 = (_local9 - _arg5.position.x); _local8 = (_local10 - _arg5.position.y); _local12 = _arg5.R; _local6.localPoint2.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint2.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local6.separation = (_local19 - _local20); return; }; var _local25:int = _local18; var _local26:int = (((_local25 + 1) < _local21)) ? (_local25 + 1) : 0; _local11 = _local22[_local25]; var _local27:b2Vec2 = _local22[_local26]; var _local28:Number = (_local27.x - _local11.x); var _local29:Number = (_local27.y - _local11.y); var _local30:Number = Math.sqrt(((_local28 * _local28) + (_local29 * _local29))); _local28 = (_local28 / _local30); _local29 = (_local29 / _local30); _local7 = (_local15 - _local11.x); _local8 = (_local16 - _local11.y); var _local31:Number = ((_local7 * _local28) + (_local8 * _local29)); _local6 = _arg1.points[0]; if (_local31 <= 0){ _local32 = _local11.x; _local33 = _local11.y; _local6.id.features.incidentEdge = b2_nullFeature; _local6.id.features.incidentVertex = _local25; } else { if (_local31 >= _local30){ _local32 = _local27.x; _local33 = _local27.y; _local6.id.features.incidentEdge = b2_nullFeature; _local6.id.features.incidentVertex = _local26; } else { _local32 = ((_local28 * _local31) + _local11.x); _local33 = ((_local29 * _local31) + _local11.y); _local6.id.features.incidentEdge = _local18; _local6.id.features.incidentVertex = b2_nullFeature; }; }; _local7 = (_local15 - _local32); _local8 = (_local16 - _local33); _local17 = Math.sqrt(((_local7 * _local7) + (_local8 * _local8))); _local7 = (_local7 / _local17); _local8 = (_local8 / _local17); if (_local17 > _local20){ return; }; _arg1.pointCount = 1; _local12 = _arg3.R; _arg1.normal.x = ((_local12.col1.x * _local7) + (_local12.col2.x * _local8)); _arg1.normal.y = ((_local12.col1.y * _local7) + (_local12.col2.y * _local8)); _local9 = (_local13 - (_local20 * _arg1.normal.x)); _local10 = (_local14 - (_local20 * _arg1.normal.y)); _local7 = (_local9 - _arg3.position.x); _local8 = (_local10 - _arg3.position.y); _local12 = _arg3.R; _local6.localPoint1.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint1.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local7 = (_local9 - _arg5.position.x); _local8 = (_local10 - _arg5.position.y); _local12 = _arg5.R; _local6.localPoint2.x = ((_local7 * _local12.col1.x) + (_local8 * _local12.col1.y)); _local6.localPoint2.y = ((_local7 * _local12.col2.x) + (_local8 * _local12.col2.y)); _local6.separation = (_local17 - _local20); _local6.id.features.referenceEdge = 0; _local6.id.features.flip = 0; } } }//package Box2D.Collision
Section 15
//b2ContactID (Box2D.Collision.b2ContactID) package Box2D.Collision { public class b2ContactID { public var _key:uint; public var features:Features; public function b2ContactID(){ features = new Features(); super(); features._m_id = this; } public function Set(_arg1:b2ContactID):void{ key = _arg1._key; } public function Copy():b2ContactID{ var _local1:b2ContactID = new b2ContactID(); _local1.key = key; return (_local1); } public function set key(_arg1:uint):void{ _key = _arg1; features._referenceEdge = (_key & 0xFF); features._incidentEdge = (((_key & 0xFF00) >> 8) & 0xFF); features._incidentVertex = (((_key & 0xFF0000) >> 16) & 0xFF); features._flip = (((_key & 4278190080) >> 24) & 0xFF); } public function get key():uint{ return (_key); } } }//package Box2D.Collision
Section 16
//b2ContactPoint (Box2D.Collision.b2ContactPoint) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; public class b2ContactPoint { public var friction:Number; public var separation:Number; public var normal:b2Vec2; public var position:b2Vec2; public var restitution:Number; public var shape1:b2Shape; public var shape2:b2Shape; public var id:b2ContactID; public var velocity:b2Vec2; public function b2ContactPoint(){ position = new b2Vec2(); velocity = new b2Vec2(); normal = new b2Vec2(); id = new b2ContactID(); super(); } } }//package Box2D.Collision
Section 17
//b2Distance (Box2D.Collision.b2Distance) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.Shapes.*; public class b2Distance { private static var s_p2s:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var s_p1s:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var s_points:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2()]; private static var gPoint:b2Point = new b2Point(); public static var g_GJK_Iterations:int = 0; public static function InPoints(_arg1:b2Vec2, _arg2:Array, _arg3:int):Boolean{ var _local6:b2Vec2; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local4:Number = (100 * Number.MIN_VALUE); var _local5:int; while (_local5 < _arg3) { _local6 = _arg2[_local5]; _local7 = Math.abs((_arg1.x - _local6.x)); _local8 = Math.abs((_arg1.y - _local6.y)); _local9 = Math.max(Math.abs(_arg1.x), Math.abs(_local6.x)); _local10 = Math.max(Math.abs(_arg1.y), Math.abs(_local6.y)); if ((((_local7 < (_local4 * (_local9 + 1)))) && ((_local8 < (_local4 * (_local10 + 1)))))){ return (true); }; _local5++; }; return (false); } public static function DistanceGeneric(_arg1:b2Vec2, _arg2:b2Vec2, _arg3, _arg4:b2XForm, _arg5, _arg6:b2XForm):Number{ var _local7:b2Vec2; var _local15:Number; var _local16:Number; var _local17:b2Vec2; var _local18:b2Vec2; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:int; var _local8:Array = s_p1s; var _local9:Array = s_p2s; var _local10:Array = s_points; var _local11:int; _arg1.SetV(_arg3.GetFirstVertex(_arg4)); _arg2.SetV(_arg5.GetFirstVertex(_arg6)); var _local12:Number = 0; var _local13 = 20; var _local14:int; while (_local14 < _local13) { _local15 = (_arg2.x - _arg1.x); _local16 = (_arg2.y - _arg1.y); _local17 = _arg3.Support(_arg4, _local15, _local16); _local18 = _arg5.Support(_arg6, -(_local15), -(_local16)); _local12 = ((_local15 * _local15) + (_local16 * _local16)); _local19 = (_local18.x - _local17.x); _local20 = (_local18.y - _local17.y); _local21 = ((_local15 * _local19) + (_local16 * _local20)); if ((_local12 - _local21) <= (0.01 * _local12)){ if (_local11 == 0){ _arg1.SetV(_local17); _arg2.SetV(_local18); }; g_GJK_Iterations = _local14; return (Math.sqrt(_local12)); }; switch (_local11){ case 0: _local7 = _local8[0]; _local7.SetV(_local17); _local7 = _local9[0]; _local7.SetV(_local18); _local7 = _local10[0]; _local7.x = _local19; _local7.y = _local20; _arg1.SetV(_local8[0]); _arg2.SetV(_local9[0]); _local11++; break; case 1: _local7 = _local8[1]; _local7.SetV(_local17); _local7 = _local9[1]; _local7.SetV(_local18); _local7 = _local10[1]; _local7.x = _local19; _local7.y = _local20; _local11 = ProcessTwo(_arg1, _arg2, _local8, _local9, _local10); break; case 2: _local7 = _local8[2]; _local7.SetV(_local17); _local7 = _local9[2]; _local7.SetV(_local18); _local7 = _local10[2]; _local7.x = _local19; _local7.y = _local20; _local11 = ProcessThree(_arg1, _arg2, _local8, _local9, _local10); break; }; if (_local11 == 3){ g_GJK_Iterations = _local14; return (0); }; _local22 = -(Number.MAX_VALUE); _local23 = 0; while (_local23 < _local11) { _local7 = _local10[_local23]; _local22 = b2Math.b2Max(_local22, ((_local7.x * _local7.x) + (_local7.y * _local7.y))); _local23++; }; if ((((_local11 == 3)) || ((_local12 <= ((100 * Number.MIN_VALUE) * _local22))))){ g_GJK_Iterations = _local14; _local15 = (_arg2.x - _arg1.x); _local16 = (_arg2.y - _arg1.y); _local12 = ((_local15 * _local15) + (_local16 * _local16)); return (Math.sqrt(_local12)); }; _local14++; }; g_GJK_Iterations = _local13; return (Math.sqrt(_local12)); } public static function DistanceCC(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2CircleShape, _arg4:b2XForm, _arg5:b2CircleShape, _arg6:b2XForm):Number{ var _local7:b2Mat22; var _local8:b2Vec2; var _local19:Number; var _local20:Number; _local7 = _arg4.R; _local8 = _arg3.m_localPosition; var _local9:Number = (_arg4.position.x + ((_local7.col1.x * _local8.x) + (_local7.col2.x * _local8.y))); var _local10:Number = (_arg4.position.y + ((_local7.col1.y * _local8.x) + (_local7.col2.y * _local8.y))); _local7 = _arg6.R; _local8 = _arg5.m_localPosition; var _local11:Number = (_arg6.position.x + ((_local7.col1.x * _local8.x) + (_local7.col2.x * _local8.y))); var _local12:Number = (_arg6.position.y + ((_local7.col1.y * _local8.x) + (_local7.col2.y * _local8.y))); var _local13:Number = (_local11 - _local9); var _local14:Number = (_local12 - _local10); var _local15:Number = ((_local13 * _local13) + (_local14 * _local14)); var _local16:Number = (_arg3.m_radius - b2Settings.b2_toiSlop); var _local17:Number = (_arg5.m_radius - b2Settings.b2_toiSlop); var _local18:Number = (_local16 + _local17); if (_local15 > (_local18 * _local18)){ _local19 = Math.sqrt(_local15); _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(_local15); _local13 = (_local13 / _local19); _local14 = (_local14 / _local19); _arg1.x = (_local9 + (_local16 * _local13)); _arg1.y = (_local10 + (_local16 * _local14)); _arg2.x = _arg1.x; _arg2.y = _arg1.y; return (0); }; _arg1.x = _local9; _arg1.y = _local10; _arg2.x = _arg1.x; _arg2.y = _arg1.y; return (0); } public static function ProcessThree(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:Array, _arg4:Array, _arg5:Array):int{ var _local6:b2Vec2; var _local7:b2Vec2; var _local8:b2Vec2; var _local9:b2Vec2; var _local10:b2Vec2; var _local11:b2Vec2; var _local12:b2Vec2; var _local13:b2Vec2; var _local35:Number; _local6 = _arg5[0]; _local7 = _arg5[1]; _local8 = _arg5[2]; _local9 = _arg3[0]; _local10 = _arg3[1]; _local11 = _arg3[2]; _local12 = _arg4[0]; _local13 = _arg4[1]; var _local14:b2Vec2 = _arg4[2]; var _local15:Number = _local6.x; var _local16:Number = _local6.y; var _local17:Number = _local7.x; var _local18:Number = _local7.y; var _local19:Number = _local8.x; var _local20:Number = _local8.y; var _local21:Number = (_local17 - _local15); var _local22:Number = (_local18 - _local16); var _local23:Number = (_local19 - _local15); var _local24:Number = (_local20 - _local16); var _local25:Number = (_local19 - _local17); var _local26:Number = (_local20 - _local18); var _local27:Number = -(((_local15 * _local21) + (_local16 * _local22))); var _local28:Number = ((_local17 * _local21) + (_local18 * _local22)); var _local29:Number = -(((_local15 * _local23) + (_local16 * _local24))); var _local30:Number = ((_local19 * _local23) + (_local20 * _local24)); var _local31:Number = -(((_local17 * _local25) + (_local18 * _local26))); var _local32:Number = ((_local19 * _local25) + (_local20 * _local26)); if ((((_local30 <= 0)) && ((_local32 <= 0)))){ _arg1.SetV(_local11); _arg2.SetV(_local14); _local9.SetV(_local11); _local12.SetV(_local14); _local6.SetV(_local8); return (1); }; var _local33:Number = ((_local21 * _local24) - (_local22 * _local23)); var _local34:Number = (_local33 * ((_local15 * _local18) - (_local16 * _local17))); var _local36:Number = (_local33 * ((_local17 * _local20) - (_local18 * _local19))); if ((((((((_local36 <= 0)) && ((_local31 >= 0)))) && ((_local32 >= 0)))) && (((_local31 + _local32) > 0)))){ _local35 = (_local31 / (_local31 + _local32)); _arg1.x = (_local10.x + (_local35 * (_local11.x - _local10.x))); _arg1.y = (_local10.y + (_local35 * (_local11.y - _local10.y))); _arg2.x = (_local13.x + (_local35 * (_local14.x - _local13.x))); _arg2.y = (_local13.y + (_local35 * (_local14.y - _local13.y))); _local9.SetV(_local11); _local12.SetV(_local14); _local6.SetV(_local8); return (2); }; var _local37:Number = (_local33 * ((_local19 * _local16) - (_local20 * _local15))); if ((((((((_local37 <= 0)) && ((_local29 >= 0)))) && ((_local30 >= 0)))) && (((_local29 + _local30) > 0)))){ _local35 = (_local29 / (_local29 + _local30)); _arg1.x = (_local9.x + (_local35 * (_local11.x - _local9.x))); _arg1.y = (_local9.y + (_local35 * (_local11.y - _local9.y))); _arg2.x = (_local12.x + (_local35 * (_local14.x - _local12.x))); _arg2.y = (_local12.y + (_local35 * (_local14.y - _local12.y))); _local10.SetV(_local11); _local13.SetV(_local14); _local7.SetV(_local8); return (2); }; var _local38:Number = ((_local36 + _local37) + _local34); _local38 = (1 / _local38); var _local39:Number = (_local36 * _local38); var _local40:Number = (_local37 * _local38); var _local41:Number = ((1 - _local39) - _local40); _arg1.x = (((_local39 * _local9.x) + (_local40 * _local10.x)) + (_local41 * _local11.x)); _arg1.y = (((_local39 * _local9.y) + (_local40 * _local10.y)) + (_local41 * _local11.y)); _arg2.x = (((_local39 * _local12.x) + (_local40 * _local13.x)) + (_local41 * _local14.x)); _arg2.y = (((_local39 * _local12.y) + (_local40 * _local13.y)) + (_local41 * _local14.y)); return (3); } public static function DistancePC(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2PolygonShape, _arg4:b2XForm, _arg5:b2CircleShape, _arg6:b2XForm):Number{ var _local7:b2Mat22; var _local8:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local9:b2Point = gPoint; _local8 = _arg5.m_localPosition; _local7 = _arg6.R; _local9.p.x = (_arg6.position.x + ((_local7.col1.x * _local8.x) + (_local7.col2.x * _local8.y))); _local9.p.y = (_arg6.position.y + ((_local7.col1.y * _local8.x) + (_local7.col2.y * _local8.y))); var _local10:Number = DistanceGeneric(_arg1, _arg2, _arg3, _arg4, _local9, b2Math.b2XForm_identity); var _local11:Number = (_arg5.m_radius - b2Settings.b2_toiSlop); if (_local10 > _local11){ _local10 = (_local10 - _local11); _local12 = (_arg2.x - _arg1.x); _local13 = (_arg2.y - _arg1.y); _local14 = Math.sqrt(((_local12 * _local12) + (_local13 * _local13))); _local12 = (_local12 / _local14); _local13 = (_local13 / _local14); _arg2.x = (_arg2.x - (_local11 * _local12)); _arg2.y = (_arg2.y - (_local11 * _local13)); } else { _local10 = 0; _arg2.x = _arg1.x; _arg2.y = _arg1.y; }; return (_local10); } public static function Distance(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Shape, _arg4:b2XForm, _arg5:b2Shape, _arg6:b2XForm):Number{ var _local7:int = _arg3.m_type; var _local8:int = _arg5.m_type; if ((((_local7 == b2Shape.e_circleShape)) && ((_local8 == b2Shape.e_circleShape)))){ return (DistanceCC(_arg1, _arg2, (_arg3 as b2CircleShape), _arg4, (_arg5 as b2CircleShape), _arg6)); }; if ((((_local7 == b2Shape.e_polygonShape)) && ((_local8 == b2Shape.e_circleShape)))){ return (DistancePC(_arg1, _arg2, (_arg3 as b2PolygonShape), _arg4, (_arg5 as b2CircleShape), _arg6)); }; if ((((_local7 == b2Shape.e_circleShape)) && ((_local8 == b2Shape.e_polygonShape)))){ return (DistancePC(_arg2, _arg1, (_arg5 as b2PolygonShape), _arg6, (_arg3 as b2CircleShape), _arg4)); }; if ((((_local7 == b2Shape.e_polygonShape)) && ((_local8 == b2Shape.e_polygonShape)))){ return (DistanceGeneric(_arg1, _arg2, (_arg3 as b2PolygonShape), _arg4, (_arg5 as b2PolygonShape), _arg6)); }; return (0); } public static function ProcessTwo(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:Array, _arg4:Array, _arg5:Array):int{ var _local9:b2Vec2; var _local10:b2Vec2; var _local11:b2Vec2; var _local17:Number; var _local6:b2Vec2 = _arg5[0]; var _local7:b2Vec2 = _arg5[1]; var _local8:b2Vec2 = _arg3[0]; _local9 = _arg3[1]; _local10 = _arg4[0]; _local11 = _arg4[1]; var _local12:Number = -(_local7.x); var _local13:Number = -(_local7.y); var _local14:Number = (_local6.x - _local7.x); var _local15:Number = (_local6.y - _local7.y); var _local16:Number = Math.sqrt(((_local14 * _local14) + (_local15 * _local15))); _local14 = (_local14 / _local16); _local15 = (_local15 / _local16); _local17 = ((_local12 * _local14) + (_local13 * _local15)); if ((((_local17 <= 0)) || ((_local16 < Number.MIN_VALUE)))){ _arg1.SetV(_local9); _arg2.SetV(_local11); _local8.SetV(_local9); _local10.SetV(_local11); _local6.SetV(_local7); return (1); }; _local17 = (_local17 / _local16); _arg1.x = (_local9.x + (_local17 * (_local8.x - _local9.x))); _arg1.y = (_local9.y + (_local17 * (_local8.y - _local9.y))); _arg2.x = (_local11.x + (_local17 * (_local10.x - _local11.x))); _arg2.y = (_local11.y + (_local17 * (_local10.y - _local11.y))); return (2); } } }//package Box2D.Collision
Section 18
//b2Manifold (Box2D.Collision.b2Manifold) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2Manifold { public var pointCount:int;// = 0 public var normal:b2Vec2; public var points:Array; public function b2Manifold(){ points = new Array(b2Settings.b2_maxManifoldPoints); var _local1:int; while (_local1 < b2Settings.b2_maxManifoldPoints) { points[_local1] = new b2ManifoldPoint(); _local1++; }; normal = new b2Vec2(); } public function Set(_arg1:b2Manifold):void{ pointCount = _arg1.pointCount; var _local2:int; while (_local2 < b2Settings.b2_maxManifoldPoints) { (points[_local2] as b2ManifoldPoint).Set(_arg1.points[_local2]); _local2++; }; normal.SetV(_arg1.normal); } public function Reset():void{ var _local1:int; while (_local1 < b2Settings.b2_maxManifoldPoints) { (points[_local1] as b2ManifoldPoint).Reset(); _local1++; }; normal.SetZero(); pointCount = 0; } } }//package Box2D.Collision
Section 19
//b2ManifoldPoint (Box2D.Collision.b2ManifoldPoint) package Box2D.Collision { import Box2D.Common.Math.*; public class b2ManifoldPoint { public var separation:Number; public var localPoint2:b2Vec2; public var normalImpulse:Number; public var tangentImpulse:Number; public var localPoint1:b2Vec2; public var id:b2ContactID; public function b2ManifoldPoint(){ localPoint1 = new b2Vec2(); localPoint2 = new b2Vec2(); id = new b2ContactID(); super(); } public function Set(_arg1:b2ManifoldPoint):void{ localPoint1.SetV(_arg1.localPoint1); localPoint2.SetV(_arg1.localPoint2); separation = _arg1.separation; normalImpulse = _arg1.normalImpulse; tangentImpulse = _arg1.tangentImpulse; id.key = _arg1.id.key; } public function Reset():void{ localPoint1.SetZero(); localPoint2.SetZero(); separation = 0; normalImpulse = 0; tangentImpulse = 0; id.key = 0; } } }//package Box2D.Collision
Section 20
//b2OBB (Box2D.Collision.b2OBB) package Box2D.Collision { import Box2D.Common.Math.*; public class b2OBB { public var R:b2Mat22; public var center:b2Vec2; public var extents:b2Vec2; public function b2OBB(){ R = new b2Mat22(); center = new b2Vec2(); extents = new b2Vec2(); super(); } } }//package Box2D.Collision
Section 21
//b2Pair (Box2D.Collision.b2Pair) package Box2D.Collision { import Box2D.Common.*; public class b2Pair { public var proxyId1:uint; public var userData;// = null public var proxyId2:uint; public var status:uint; public var next:uint; public static var e_pairFinal:uint = 4; public static var b2_tableMask:int = (b2_tableCapacity - 1); public static var e_pairRemoved:uint = 2; public static var b2_nullPair:uint = b2Settings.USHRT_MAX; public static var e_pairBuffered:uint = 1; public static var b2_nullProxy:uint = b2Settings.USHRT_MAX; public static var b2_tableCapacity:int = b2Settings.b2_maxPairs; public function SetBuffered():void{ status = (status | e_pairBuffered); } public function IsBuffered():Boolean{ return (((status & e_pairBuffered) == e_pairBuffered)); } public function IsFinal():Boolean{ return (((status & e_pairFinal) == e_pairFinal)); } public function ClearRemoved():void{ status = (status & ~(e_pairRemoved)); } public function SetFinal():void{ status = (status | e_pairFinal); } public function IsRemoved():Boolean{ return (((status & e_pairRemoved) == e_pairRemoved)); } public function ClearBuffered():void{ status = (status & ~(e_pairBuffered)); } public function SetRemoved():void{ status = (status | e_pairRemoved); } } }//package Box2D.Collision
Section 22
//b2PairCallback (Box2D.Collision.b2PairCallback) package Box2D.Collision { public class b2PairCallback { public function PairRemoved(_arg1, _arg2, _arg3):void{ } public function PairAdded(_arg1, _arg2){ return (null); } } }//package Box2D.Collision
Section 23
//b2PairManager (Box2D.Collision.b2PairManager) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2PairManager { public var m_pairCount:int; public var m_pairBuffer:Array; public var m_hashTable:Array; public var m_callback:b2PairCallback; public var m_pairs:Array; public var m_pairBufferCount:int; public var m_broadPhase:b2BroadPhase; public var m_freePair:uint; public function b2PairManager(){ var _local1:uint; super(); m_hashTable = new Array(b2Pair.b2_tableCapacity); _local1 = 0; while (_local1 < b2Pair.b2_tableCapacity) { m_hashTable[_local1] = b2Pair.b2_nullPair; _local1++; }; m_pairs = new Array(b2Settings.b2_maxPairs); _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairs[_local1] = new b2Pair(); _local1++; }; m_pairBuffer = new Array(b2Settings.b2_maxPairs); _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairBuffer[_local1] = new b2BufferedPair(); _local1++; }; _local1 = 0; while (_local1 < b2Settings.b2_maxPairs) { m_pairs[_local1].proxyId1 = b2Pair.b2_nullProxy; m_pairs[_local1].proxyId2 = b2Pair.b2_nullProxy; m_pairs[_local1].userData = null; m_pairs[_local1].status = 0; m_pairs[_local1].next = (_local1 + 1); _local1++; }; m_pairs[int((b2Settings.b2_maxPairs - 1))].next = b2Pair.b2_nullPair; m_pairCount = 0; m_pairBufferCount = 0; } private function FindHash(_arg1:uint, _arg2:uint, _arg3:uint):b2Pair{ var _local4:b2Pair; var _local5:uint = m_hashTable[_arg3]; _local4 = m_pairs[_local5]; while (((!((_local5 == b2Pair.b2_nullPair))) && ((Equals(_local4, _arg1, _arg2) == false)))) { _local5 = _local4.next; _local4 = m_pairs[_local5]; }; if (_local5 == b2Pair.b2_nullPair){ return (null); }; return (_local4); } private function Find(_arg1:uint, _arg2:uint):b2Pair{ var _local4:uint; if (_arg1 > _arg2){ _local4 = _arg1; _arg1 = _arg2; _arg2 = _local4; }; var _local3:uint = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); return (FindHash(_arg1, _arg2, _local3)); } private function ValidateBuffer():void{ } public function Commit():void{ var _local1:b2BufferedPair; var _local2:int; var _local5:b2Pair; var _local6:b2Proxy; var _local7:b2Proxy; var _local3:int; var _local4:Array = m_broadPhase.m_proxyPool; _local2 = 0; while (_local2 < m_pairBufferCount) { _local1 = m_pairBuffer[_local2]; _local5 = Find(_local1.proxyId1, _local1.proxyId2); _local5.ClearBuffered(); _local6 = _local4[_local5.proxyId1]; _local7 = _local4[_local5.proxyId2]; if (_local5.IsRemoved()){ if (_local5.IsFinal() == true){ m_callback.PairRemoved(_local6.userData, _local7.userData, _local5.userData); }; _local1 = m_pairBuffer[_local3]; _local1.proxyId1 = _local5.proxyId1; _local1.proxyId2 = _local5.proxyId2; _local3++; } else { if (_local5.IsFinal() == false){ _local5.userData = m_callback.PairAdded(_local6.userData, _local7.userData); _local5.SetFinal(); }; }; _local2++; }; _local2 = 0; while (_local2 < _local3) { _local1 = m_pairBuffer[_local2]; RemovePair(_local1.proxyId1, _local1.proxyId2); _local2++; }; m_pairBufferCount = 0; if (b2BroadPhase.s_validate){ ValidateTable(); }; } public function RemoveBufferedPair(_arg1:int, _arg2:int):void{ var _local3:b2BufferedPair; var _local4:b2Pair = Find(_arg1, _arg2); if (_local4 == null){ return; }; if (_local4.IsBuffered() == false){ _local4.SetBuffered(); _local3 = m_pairBuffer[m_pairBufferCount]; _local3.proxyId1 = _local4.proxyId1; _local3.proxyId2 = _local4.proxyId2; m_pairBufferCount++; }; _local4.SetRemoved(); if (b2BroadPhase.s_validate){ ValidateBuffer(); }; } private function RemovePair(_arg1:uint, _arg2:uint){ var _local3:b2Pair; var _local7:uint; var _local8:uint; var _local9:*; if (_arg1 > _arg2){ _local7 = _arg1; _arg1 = _arg2; _arg2 = _local7; }; var _local4:uint = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); var _local5:uint = m_hashTable[_local4]; var _local6:b2Pair; while (_local5 != b2Pair.b2_nullPair) { if (Equals(m_pairs[_local5], _arg1, _arg2)){ _local8 = _local5; _local3 = m_pairs[_local5]; if (_local6){ _local6.next = _local3.next; } else { m_hashTable[_local4] = _local3.next; }; _local3 = m_pairs[_local8]; _local9 = _local3.userData; _local3.next = m_freePair; _local3.proxyId1 = b2Pair.b2_nullProxy; _local3.proxyId2 = b2Pair.b2_nullProxy; _local3.userData = null; _local3.status = 0; m_freePair = _local8; m_pairCount--; return (_local9); } else { _local6 = m_pairs[_local5]; _local5 = _local6.next; }; }; return (null); } public function Initialize(_arg1:b2BroadPhase, _arg2:b2PairCallback):void{ m_broadPhase = _arg1; m_callback = _arg2; } public function AddBufferedPair(_arg1:int, _arg2:int):void{ var _local3:b2BufferedPair; var _local4:b2Pair = AddPair(_arg1, _arg2); if (_local4.IsBuffered() == false){ _local4.SetBuffered(); _local3 = m_pairBuffer[m_pairBufferCount]; _local3.proxyId1 = _local4.proxyId1; _local3.proxyId2 = _local4.proxyId2; m_pairBufferCount++; }; _local4.ClearRemoved(); if (b2BroadPhase.s_validate){ ValidateBuffer(); }; } private function AddPair(_arg1:uint, _arg2:uint):b2Pair{ var _local6:uint; if (_arg1 > _arg2){ _local6 = _arg1; _arg1 = _arg2; _arg2 = _local6; }; var _local3:uint = (Hash(_arg1, _arg2) & b2Pair.b2_tableMask); var _local4 = FindHash(_arg1, _arg2, _local3); if (_local4 != null){ return (_local4); }; var _local5:uint = m_freePair; _local4 = m_pairs[_local5]; m_freePair = _local4.next; _local4.proxyId1 = _arg1; _local4.proxyId2 = _arg2; _local4.status = 0; _local4.userData = null; _local4.next = m_hashTable[_local3]; m_hashTable[_local3] = _local5; m_pairCount++; return (_local4); } private function ValidateTable():void{ } public static function EqualsPair(_arg1:b2BufferedPair, _arg2:b2BufferedPair):Boolean{ return ((((_arg1.proxyId1 == _arg2.proxyId1)) && ((_arg1.proxyId2 == _arg2.proxyId2)))); } public static function Hash(_arg1:uint, _arg2:uint):uint{ var _local3:uint = (((_arg2 << 16) & 4294901760) | _arg1); _local3 = (~(_local3) + ((_local3 << 15) & 4294934528)); _local3 = (_local3 ^ ((_local3 >> 12) & 1048575)); _local3 = (_local3 + ((_local3 << 2) & 4294967292)); _local3 = (_local3 ^ ((_local3 >> 4) & 268435455)); _local3 = (_local3 * 2057); _local3 = (_local3 ^ ((_local3 >> 16) & 0xFFFF)); return (_local3); } public static function Equals(_arg1:b2Pair, _arg2:uint, _arg3:uint):Boolean{ return ((((_arg1.proxyId1 == _arg2)) && ((_arg1.proxyId2 == _arg3)))); } } }//package Box2D.Collision
Section 24
//b2Point (Box2D.Collision.b2Point) package Box2D.Collision { import Box2D.Common.Math.*; public class b2Point { public var p:b2Vec2; public function b2Point(){ p = new b2Vec2(); super(); } public function GetFirstVertex(_arg1:b2XForm):b2Vec2{ return (p); } public function Support(_arg1:b2XForm, _arg2:Number, _arg3:Number):b2Vec2{ return (p); } } }//package Box2D.Collision
Section 25
//b2Proxy (Box2D.Collision.b2Proxy) package Box2D.Collision { public class b2Proxy { public var overlapCount:uint; public var userData;// = null public var lowerBounds:Array; public var upperBounds:Array; public var timeStamp:uint; public function b2Proxy(){ lowerBounds = [uint(0), uint(0)]; upperBounds = [uint(0), uint(0)]; super(); } public function GetNext():uint{ return (lowerBounds[0]); } public function IsValid():Boolean{ return (!((overlapCount == b2BroadPhase.b2_invalid))); } public function SetNext(_arg1:uint):void{ lowerBounds[0] = (_arg1 & 0xFFFF); } } }//package Box2D.Collision
Section 26
//b2Segment (Box2D.Collision.b2Segment) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; public class b2Segment { public var p1:b2Vec2; public var p2:b2Vec2; public function b2Segment(){ p1 = new b2Vec2(); p2 = new b2Vec2(); super(); } public function TestSegment(_arg1:Array, _arg2:b2Vec2, _arg3:b2Segment, _arg4:Number):Boolean{ var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local5:b2Vec2 = _arg3.p1; var _local6:Number = (_arg3.p2.x - _local5.x); var _local7:Number = (_arg3.p2.y - _local5.y); var _local8:Number = (p2.x - p1.x); var _local9:Number = (p2.y - p1.y); var _local10:Number = _local9; var _local11:Number = -(_local8); var _local12:Number = (100 * Number.MIN_VALUE); var _local13:Number = -(((_local6 * _local10) + (_local7 * _local11))); if (_local13 > _local12){ _local14 = (_local5.x - p1.x); _local15 = (_local5.y - p1.y); _local16 = ((_local14 * _local10) + (_local15 * _local11)); if ((((0 <= _local16)) && ((_local16 <= (_arg4 * _local13))))){ _local17 = ((-(_local6) * _local15) + (_local7 * _local14)); if (((((-(_local12) * _local13) <= _local17)) && ((_local17 <= (_local13 * (1 + _local12)))))){ _local16 = (_local16 / _local13); _local18 = Math.sqrt(((_local10 * _local10) + (_local11 * _local11))); _local10 = (_local10 / _local18); _local11 = (_local11 / _local18); _arg1[0] = _local16; _arg2.Set(_local10, _local11); return (true); }; }; }; return (false); } } }//package Box2D.Collision
Section 27
//b2TimeOfImpact (Box2D.Collision.b2TimeOfImpact) package Box2D.Collision { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.Shapes.*; public class b2TimeOfImpact { public static var s_xf1:b2XForm = new b2XForm(); public static var s_xf2:b2XForm = new b2XForm(); public static var s_p1:b2Vec2 = new b2Vec2(); public static var s_p2:b2Vec2 = new b2Vec2(); public static function TimeOfImpact(_arg1:b2Shape, _arg2:b2Sweep, _arg3:b2Shape, _arg4:b2Sweep):Number{ var _local5:Number; var _local6:Number; var _local25:Number; var _local26:b2XForm; var _local27:b2XForm; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local7:Number = _arg1.m_sweepRadius; var _local8:Number = _arg3.m_sweepRadius; var _local9:Number = _arg2.t0; var _local10:Number = (_arg2.c.x - _arg2.c0.x); var _local11:Number = (_arg2.c.y - _arg2.c0.y); var _local12:Number = (_arg4.c.x - _arg4.c0.x); var _local13:Number = (_arg4.c.y - _arg4.c0.y); var _local14:Number = (_arg2.a - _arg2.a0); var _local15:Number = (_arg4.a - _arg4.a0); var _local16:Number = 0; var _local17:b2Vec2 = s_p1; var _local18:b2Vec2 = s_p2; var _local19 = 20; var _local20:int; var _local21:Number = 0; var _local22:Number = 0; var _local23:Number = 0; var _local24:Number = 0; while (true) { _local25 = (((1 - _local16) * _local9) + _local16); _local26 = s_xf1; _local27 = s_xf2; _arg2.GetXForm(_local26, _local25); _arg4.GetXForm(_local27, _local25); _local23 = b2Distance.Distance(_local17, _local18, _arg1, _local26, _arg3, _local27); if (_local20 == 0){ if (_local23 > (2 * b2Settings.b2_toiSlop)){ _local24 = (1.5 * b2Settings.b2_toiSlop); } else { _local5 = (0.05 * b2Settings.b2_toiSlop); _local6 = (_local23 - (0.5 * b2Settings.b2_toiSlop)); _local24 = ((_local5 > _local6)) ? _local5 : _local6; }; }; if (((((_local23 - _local24) < (0.05 * b2Settings.b2_toiSlop))) || ((_local20 == _local19)))){ break; }; _local21 = (_local18.x - _local17.x); _local22 = (_local18.y - _local17.y); _local28 = Math.sqrt(((_local21 * _local21) + (_local22 * _local22))); _local21 = (_local21 / _local28); _local22 = (_local22 / _local28); _local29 = ((((_local21 * (_local10 - _local12)) + (_local22 * (_local11 - _local13))) + (((_local14 < 0)) ? -(_local14) : _local14 * _local7)) + (((_local15 < 0)) ? -(_local15) : _local15 * _local8)); if (_local29 == 0){ _local16 = 1; break; }; _local30 = ((_local23 - _local24) / _local29); _local31 = (_local16 + _local30); if ((((_local31 < 0)) || ((1 < _local31)))){ _local16 = 1; break; }; if (_local31 < ((1 + (100 * Number.MIN_VALUE)) * _local16)){ break; }; _local16 = _local31; _local20++; }; return (_local16); } } }//package Box2D.Collision
Section 28
//ClipVertex (Box2D.Collision.ClipVertex) package Box2D.Collision { import Box2D.Common.Math.*; public class ClipVertex { public var id:b2ContactID; public var v:b2Vec2; public function ClipVertex(){ v = new b2Vec2(); id = new b2ContactID(); super(); } } }//package Box2D.Collision
Section 29
//Features (Box2D.Collision.Features) package Box2D.Collision { public class Features { public var _referenceEdge:int; public var _incidentEdge:int; public var _flip:int; public var _incidentVertex:int; public var _m_id:b2ContactID; public function get referenceEdge():int{ return (_referenceEdge); } public function set incidentVertex(_arg1:int):void{ _incidentVertex = _arg1; _m_id._key = ((_m_id._key & 4278255615) | ((_incidentVertex << 16) & 0xFF0000)); } public function get flip():int{ return (_flip); } public function get incidentEdge():int{ return (_incidentEdge); } public function set referenceEdge(_arg1:int):void{ _referenceEdge = _arg1; _m_id._key = ((_m_id._key & 4294967040) | (_referenceEdge & 0xFF)); } public function get incidentVertex():int{ return (_incidentVertex); } public function set flip(_arg1:int):void{ _flip = _arg1; _m_id._key = ((_m_id._key & 0xFFFFFF) | ((_flip << 24) & 4278190080)); } public function set incidentEdge(_arg1:int):void{ _incidentEdge = _arg1; _m_id._key = ((_m_id._key & 4294902015) | ((_incidentEdge << 8) & 0xFF00)); } } }//package Box2D.Collision
Section 30
//b2Mat22 (Box2D.Common.Math.b2Mat22) package Box2D.Common.Math { public class b2Mat22 { public var col1:b2Vec2; public var col2:b2Vec2; public function b2Mat22(_arg1:Number=0, _arg2:b2Vec2=null, _arg3:b2Vec2=null){ var _local4:Number; var _local5:Number; col1 = new b2Vec2(); col2 = new b2Vec2(); super(); if (((!((_arg2 == null))) && (!((_arg3 == null))))){ col1.SetV(_arg2); col2.SetV(_arg3); } else { _local4 = Math.cos(_arg1); _local5 = Math.sin(_arg1); col1.x = _local4; col2.x = -(_local5); col1.y = _local5; col2.y = _local4; }; } public function SetIdentity():void{ col1.x = 1; col2.x = 0; col1.y = 0; col2.y = 1; } public function SetVV(_arg1:b2Vec2, _arg2:b2Vec2):void{ col1.SetV(_arg1); col2.SetV(_arg2); } public function Set(_arg1:Number):void{ var _local2:Number; _local2 = Math.cos(_arg1); var _local3:Number = Math.sin(_arg1); col1.x = _local2; col2.x = -(_local3); col1.y = _local3; col2.y = _local2; } public function SetZero():void{ col1.x = 0; col2.x = 0; col1.y = 0; col2.y = 0; } public function SetM(_arg1:b2Mat22):void{ col1.SetV(_arg1.col1); col2.SetV(_arg1.col2); } public function AddM(_arg1:b2Mat22):void{ col1.x = (col1.x + _arg1.col1.x); col1.y = (col1.y + _arg1.col1.y); col2.x = (col2.x + _arg1.col2.x); col2.y = (col2.y + _arg1.col2.y); } public function Abs():void{ col1.Abs(); col2.Abs(); } public function Copy():b2Mat22{ return (new b2Mat22(0, col1, col2)); } public function Invert(_arg1:b2Mat22):b2Mat22{ var _local2:Number; var _local4:Number; var _local6:Number; _local2 = col1.x; var _local3:Number = col2.x; _local4 = col1.y; var _local5:Number = col2.y; _local6 = ((_local2 * _local5) - (_local3 * _local4)); _local6 = (1 / _local6); _arg1.col1.x = (_local6 * _local5); _arg1.col2.x = (-(_local6) * _local3); _arg1.col1.y = (-(_local6) * _local4); _arg1.col2.y = (_local6 * _local2); return (_arg1); } public function GetAngle():Number{ return (Math.atan2(col1.y, col1.x)); } public function Solve(_arg1:b2Vec2, _arg2:Number, _arg3:Number):b2Vec2{ var _local4:Number = col1.x; var _local5:Number = col2.x; var _local6:Number = col1.y; var _local7:Number = col2.y; var _local8:Number = ((_local4 * _local7) - (_local5 * _local6)); _local8 = (1 / _local8); _arg1.x = (_local8 * ((_local7 * _arg2) - (_local5 * _arg3))); _arg1.y = (_local8 * ((_local4 * _arg3) - (_local6 * _arg2))); return (_arg1); } } }//package Box2D.Common.Math
Section 31
//b2Math (Box2D.Common.Math.b2Math) package Box2D.Common.Math { public class b2Math { public static const b2Mat22_identity:b2Mat22 = new b2Mat22(0, new b2Vec2(1, 0), new b2Vec2(0, 1)); public static const b2XForm_identity:b2XForm = new b2XForm(b2Vec2_zero, b2Mat22_identity); public static const b2Vec2_zero:b2Vec2 = new b2Vec2(0, 0); public static function b2CrossVF(_arg1:b2Vec2, _arg2:Number):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg2 * _arg1.y), (-(_arg2) * _arg1.x)); return (_local3); } public static function AddVV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg1.x + _arg2.x), (_arg1.y + _arg2.y)); return (_local3); } public static function b2IsValid(_arg1:Number):Boolean{ return (isFinite(_arg1)); } public static function b2MinV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(b2Min(_arg1.x, _arg2.x), b2Min(_arg1.y, _arg2.y)); return (_local3); } public static function b2MulX(_arg1:b2XForm, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; _local3 = b2MulMV(_arg1.R, _arg2); _local3.x = (_local3.x + _arg1.position.x); _local3.y = (_local3.y + _arg1.position.y); return (_local3); } public static function b2DistanceSquared(_arg1:b2Vec2, _arg2:b2Vec2):Number{ var _local3:Number = (_arg1.x - _arg2.x); var _local4:Number = (_arg1.y - _arg2.y); return (((_local3 * _local3) + (_local4 * _local4))); } public static function b2Swap(_arg1:Array, _arg2:Array):void{ var _local3:* = _arg1[0]; _arg1[0] = _arg2[0]; _arg2[0] = _local3; } public static function b2AbsM(_arg1:b2Mat22):b2Mat22{ var _local2:b2Mat22 = new b2Mat22(0, b2AbsV(_arg1.col1), b2AbsV(_arg1.col2)); return (_local2); } public static function SubtractVV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg1.x - _arg2.x), (_arg1.y - _arg2.y)); return (_local3); } public static function b2MulXT(_arg1:b2XForm, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2; var _local4:Number; _local3 = SubtractVV(_arg2, _arg1.position); _local4 = ((_local3.x * _arg1.R.col1.x) + (_local3.y * _arg1.R.col1.y)); _local3.y = ((_local3.x * _arg1.R.col2.x) + (_local3.y * _arg1.R.col2.y)); _local3.x = _local4; return (_local3); } public static function b2Abs(_arg1:Number):Number{ return (((_arg1 > 0)) ? _arg1 : -(_arg1)); } public static function b2Clamp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ return (b2Max(_arg2, b2Min(_arg1, _arg3))); } public static function b2AbsV(_arg1:b2Vec2):b2Vec2{ var _local2:b2Vec2 = new b2Vec2(b2Abs(_arg1.x), b2Abs(_arg1.y)); return (_local2); } public static function MulFV(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((_arg1 * _arg2.x), (_arg1 * _arg2.y)); return (_local3); } public static function b2CrossVV(_arg1:b2Vec2, _arg2:b2Vec2):Number{ return (((_arg1.x * _arg2.y) - (_arg1.y * _arg2.x))); } public static function b2Dot(_arg1:b2Vec2, _arg2:b2Vec2):Number{ return (((_arg1.x * _arg2.x) + (_arg1.y * _arg2.y))); } public static function b2CrossFV(_arg1:Number, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2((-(_arg1) * _arg2.y), (_arg1 * _arg2.x)); return (_local3); } public static function AddMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Mat22 = new b2Mat22(0, AddVV(_arg1.col1, _arg2.col1), AddVV(_arg1.col2, _arg2.col2)); return (_local3); } public static function b2Distance(_arg1:b2Vec2, _arg2:b2Vec2):Number{ var _local3:Number = (_arg1.x - _arg2.x); var _local4:Number = (_arg1.y - _arg2.y); return (Math.sqrt(((_local3 * _local3) + (_local4 * _local4)))); } public static function b2MulTMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Vec2 = new b2Vec2(b2Dot(_arg1.col1, _arg2.col1), b2Dot(_arg1.col2, _arg2.col1)); var _local4:b2Vec2 = new b2Vec2(b2Dot(_arg1.col1, _arg2.col2), b2Dot(_arg1.col2, _arg2.col2)); var _local5:b2Mat22 = new b2Mat22(0, _local3, _local4); return (_local5); } public static function b2MaxV(_arg1:b2Vec2, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(b2Max(_arg1.x, _arg2.x), b2Max(_arg1.y, _arg2.y)); return (_local3); } public static function b2IsPowerOfTwo(_arg1:uint):Boolean{ var _local2:Boolean = (((_arg1 > 0)) && (((_arg1 & (_arg1 - 1)) == 0))); return (_local2); } public static function b2ClampV(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Vec2):b2Vec2{ return (b2MaxV(_arg2, b2MinV(_arg1, _arg3))); } public static function b2RandomRange(_arg1:Number, _arg2:Number):Number{ var _local3:Number = Math.random(); _local3 = (((_arg2 - _arg1) * _local3) + _arg1); return (_local3); } public static function b2MulTMV(_arg1:b2Mat22, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(b2Dot(_arg2, _arg1.col1), b2Dot(_arg2, _arg1.col2)); return (_local3); } public static function b2Min(_arg1:Number, _arg2:Number):Number{ return (((_arg1 < _arg2)) ? _arg1 : _arg2); } public static function b2Random():Number{ return (((Math.random() * 2) - 1)); } public static function b2MulMM(_arg1:b2Mat22, _arg2:b2Mat22):b2Mat22{ var _local3:b2Mat22 = new b2Mat22(0, b2MulMV(_arg1, _arg2.col1), b2MulMV(_arg1, _arg2.col2)); return (_local3); } public static function b2NextPowerOfTwo(_arg1:uint):uint{ _arg1 = (_arg1 | ((_arg1 >> 1) & 2147483647)); _arg1 = (_arg1 | ((_arg1 >> 2) & 1073741823)); _arg1 = (_arg1 | ((_arg1 >> 4) & 268435455)); _arg1 = (_arg1 | ((_arg1 >> 8) & 0xFFFFFF)); _arg1 = (_arg1 | ((_arg1 >> 16) & 0xFFFF)); return ((_arg1 + 1)); } public static function b2Max(_arg1:Number, _arg2:Number):Number{ return (((_arg1 > _arg2)) ? _arg1 : _arg2); } public static function b2MulMV(_arg1:b2Mat22, _arg2:b2Vec2):b2Vec2{ var _local3:b2Vec2 = new b2Vec2(((_arg1.col1.x * _arg2.x) + (_arg1.col2.x * _arg2.y)), ((_arg1.col1.y * _arg2.x) + (_arg1.col2.y * _arg2.y))); return (_local3); } } }//package Box2D.Common.Math
Section 32
//b2Sweep (Box2D.Common.Math.b2Sweep) package Box2D.Common.Math { public class b2Sweep { public var localCenter:b2Vec2; public var a:Number; public var c:b2Vec2; public var a0:Number; public var c0:b2Vec2; public var t0:Number; public function b2Sweep(){ localCenter = new b2Vec2(); c0 = new b2Vec2(); c = new b2Vec2(); super(); } public function Advance(_arg1:Number):void{ var _local2:Number; if ((((t0 < _arg1)) && (((1 - t0) > Number.MIN_VALUE)))){ _local2 = ((_arg1 - t0) / (1 - t0)); c0.x = (((1 - _local2) * c0.x) + (_local2 * c.x)); c0.y = (((1 - _local2) * c0.y) + (_local2 * c.y)); a0 = (((1 - _local2) * a0) + (_local2 * a)); t0 = _arg1; }; } public function GetXForm(_arg1:b2XForm, _arg2:Number):void{ var _local4:Number; var _local5:Number; if ((1 - t0) > Number.MIN_VALUE){ _local4 = ((_arg2 - t0) / (1 - t0)); _arg1.position.x = (((1 - _local4) * c0.x) + (_local4 * c.x)); _arg1.position.y = (((1 - _local4) * c0.y) + (_local4 * c.y)); _local5 = (((1 - _local4) * a0) + (_local4 * a)); _arg1.R.Set(_local5); } else { _arg1.position.SetV(c); _arg1.R.Set(a); }; var _local3:b2Mat22 = _arg1.R; _arg1.position.x = (_arg1.position.x - ((_local3.col1.x * localCenter.x) + (_local3.col2.x * localCenter.y))); _arg1.position.y = (_arg1.position.y - ((_local3.col1.y * localCenter.x) + (_local3.col2.y * localCenter.y))); } } }//package Box2D.Common.Math
Section 33
//b2Vec2 (Box2D.Common.Math.b2Vec2) package Box2D.Common.Math { public class b2Vec2 { public var y:Number; public var x:Number; public function b2Vec2(_arg1:Number=0, _arg2:Number=0):void{ x = _arg1; y = _arg2; } public function Add(_arg1:b2Vec2):void{ x = (x + _arg1.x); y = (y + _arg1.y); } public function Set(_arg1:Number=0, _arg2:Number=0):void{ x = _arg1; y = _arg2; } public function Multiply(_arg1:Number):void{ x = (x * _arg1); y = (y * _arg1); } public function Length():Number{ return (Math.sqrt(((x * x) + (y * y)))); } public function LengthSquared():Number{ return (((x * x) + (y * y))); } public function MulM(_arg1:b2Mat22):void{ var _local2:Number = x; x = ((_arg1.col1.x * _local2) + (_arg1.col2.x * y)); y = ((_arg1.col1.y * _local2) + (_arg1.col2.y * y)); } public function SetZero():void{ x = 0; y = 0; } public function MinV(_arg1:b2Vec2):void{ x = ((x < _arg1.x)) ? x : _arg1.x; y = ((y < _arg1.y)) ? y : _arg1.y; } public function Normalize():Number{ var _local1:Number = Math.sqrt(((x * x) + (y * y))); if (_local1 < Number.MIN_VALUE){ return (0); }; var _local2:Number = (1 / _local1); x = (x * _local2); y = (y * _local2); return (_local1); } public function CrossVF(_arg1:Number):void{ var _local2:Number = x; x = (_arg1 * y); y = (-(_arg1) * _local2); } public function MaxV(_arg1:b2Vec2):void{ x = ((x > _arg1.x)) ? x : _arg1.x; y = ((y > _arg1.y)) ? y : _arg1.y; } public function SetV(_arg1:b2Vec2):void{ x = _arg1.x; y = _arg1.y; } public function Negative():b2Vec2{ return (new b2Vec2(-(x), -(y))); } public function CrossFV(_arg1:Number):void{ var _local2:Number = x; x = (-(_arg1) * y); y = (_arg1 * _local2); } public function Abs():void{ if (x < 0){ x = -(x); }; if (y < 0){ y = -(y); }; } public function Subtract(_arg1:b2Vec2):void{ x = (x - _arg1.x); y = (y - _arg1.y); } public function Copy():b2Vec2{ return (new b2Vec2(x, y)); } public function MulTM(_arg1:b2Mat22):void{ var _local2:Number = b2Math.b2Dot(this, _arg1.col1); y = b2Math.b2Dot(this, _arg1.col2); x = _local2; } public function IsValid():Boolean{ return (((b2Math.b2IsValid(x)) && (b2Math.b2IsValid(y)))); } public static function Make(_arg1:Number, _arg2:Number):b2Vec2{ return (new b2Vec2(_arg1, _arg2)); } } }//package Box2D.Common.Math
Section 34
//b2XForm (Box2D.Common.Math.b2XForm) package Box2D.Common.Math { public class b2XForm { public var position:b2Vec2; public var R:b2Mat22; public function b2XForm(_arg1:b2Vec2=null, _arg2:b2Mat22=null):void{ position = new b2Vec2(); R = new b2Mat22(); super(); if (_arg1){ position.SetV(_arg1); R.SetM(_arg2); }; } public function Initialize(_arg1:b2Vec2, _arg2:b2Mat22):void{ position.SetV(_arg1); R.SetM(_arg2); } public function Set(_arg1:b2XForm):void{ position.SetV(_arg1.position); R.SetM(_arg1.R); } public function SetIdentity():void{ position.SetZero(); R.SetIdentity(); } } }//package Box2D.Common.Math
Section 35
//b2Color (Box2D.Common.b2Color) package Box2D.Common { import Box2D.Common.Math.*; public class b2Color { private var _r:uint;// = 0 private var _g:uint;// = 0 private var _b:uint;// = 0 public function b2Color(_arg1:Number, _arg2:Number, _arg3:Number){ _r = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); _g = uint((0xFF * b2Math.b2Clamp(_arg2, 0, 1))); _b = uint((0xFF * b2Math.b2Clamp(_arg3, 0, 1))); } public function Set(_arg1:Number, _arg2:Number, _arg3:Number):void{ _r = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); _g = uint((0xFF * b2Math.b2Clamp(_arg2, 0, 1))); _b = uint((0xFF * b2Math.b2Clamp(_arg3, 0, 1))); } public function set b(_arg1:Number):void{ _b = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); } public function get color():uint{ return (((_r | (_g << 8)) | (_b << 16))); } public function set r(_arg1:Number):void{ _r = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); } public function set g(_arg1:Number):void{ _g = uint((0xFF * b2Math.b2Clamp(_arg1, 0, 1))); } } }//package Box2D.Common
Section 36
//b2Settings (Box2D.Common.b2Settings) package Box2D.Common { import Box2D.Common.Math.*; public class b2Settings { public static const b2_angularSleepTolerance:Number = 0.0111111111111111; public static const b2_linearSleepTolerance:Number = 0.01; public static const b2_angularSlop:Number = 0.0349065850398866; public static const b2_linearSlop:Number = 0.005; public static const b2_pi:Number = 3.14159265358979; public static const b2_maxProxies:int = 0x0200; public static const b2_maxAngularVelocitySquared:Number = 62500; public static const b2_maxPolygonVertices:int = 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.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; public class b2CircleContact extends b2Contact { private var m_manifolds:Array; public var m_manifold:b2Manifold; private var m0:b2Manifold; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2CircleContact(_arg1:b2Shape, _arg2:b2Shape){ m_manifolds = [new b2Manifold()]; m0 = new b2Manifold(); super(_arg1, _arg2); m_manifold = m_manifolds[0]; m_manifold.pointCount = 0; var _local3:b2ManifoldPoint = m_manifold.points[0]; _local3.normalImpulse = 0; _local3.tangentImpulse = 0; } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2ManifoldPoint; var _local8:b2ManifoldPoint; var _local5:b2Body = m_shape1.m_body; var _local6:b2Body = m_shape2.m_body; m0.Set(m_manifold); b2Collision.b2CollideCircles(m_manifold, (m_shape1 as b2CircleShape), _local5.m_xf, (m_shape2 as b2CircleShape), _local6.m_xf); var _local7:b2ContactPoint = s_evalCP; _local7.shape1 = m_shape1; _local7.shape2 = m_shape2; _local7.friction = m_friction; _local7.restitution = m_restitution; if (m_manifold.pointCount > 0){ m_manifoldCount = 1; _local8 = m_manifold.points[0]; if (m0.pointCount == 0){ _local8.normalImpulse = 0; _local8.tangentImpulse = 0; if (_arg1){ _local7.position = _local5.GetWorldPoint(_local8.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local8.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local8.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local8.separation; _local7.id.key = _local8.id._key; _arg1.Add(_local7); }; } else { _local4 = m0.points[0]; _local8.normalImpulse = _local4.normalImpulse; _local8.tangentImpulse = _local4.tangentImpulse; if (_arg1){ _local7.position = _local5.GetWorldPoint(_local8.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local8.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local8.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local8.separation; _local7.id.key = _local8.id._key; _arg1.Persist(_local7); }; }; } else { m_manifoldCount = 0; if ((((m0.pointCount > 0)) && (_arg1))){ _local4 = m0.points[0]; _local7.position = _local5.GetWorldPoint(_local4.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local4.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local4.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m0.normal); _local7.separation = _local4.separation; _local7.id.key = _local4.id._key; _arg1.Remove(_local7); }; }; } override public function GetManifolds():Array{ return (m_manifolds); } public static function Destroy(_arg1:b2Contact, _arg2):void{ } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ return (new b2CircleContact(_arg1, _arg2)); } } }//package Box2D.Dynamics.Contacts
Section 38
//b2Contact (Box2D.Dynamics.Contacts.b2Contact) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; public class b2Contact { public var m_shape1:b2Shape; public var m_shape2:b2Shape; public var m_prev:b2Contact; public var m_toi:Number; public var m_next:b2Contact; public var m_friction:Number; public var m_manifoldCount:int; public var m_node1:b2ContactEdge; public var m_node2:b2ContactEdge; public var m_restitution:Number; public var m_flags:uint; public static var e_toiFlag:uint = 8; public static var e_nonSolidFlag:uint = 1; public static var e_slowFlag:uint = 2; public static var e_islandFlag:uint = 4; public static var s_registers:Array; public static var s_initialized:Boolean = false; public function b2Contact(_arg1:b2Shape=null, _arg2:b2Shape=null){ m_node1 = new b2ContactEdge(); m_node2 = new b2ContactEdge(); super(); m_flags = 0; if (((!(_arg1)) || (!(_arg2)))){ m_shape1 = null; m_shape2 = null; return; }; if (((_arg1.IsSensor()) || (_arg2.IsSensor()))){ m_flags = (m_flags | e_nonSolidFlag); }; m_shape1 = _arg1; m_shape2 = _arg2; m_manifoldCount = 0; m_friction = Math.sqrt((m_shape1.m_friction * m_shape2.m_friction)); m_restitution = b2Math.b2Max(m_shape1.m_restitution, m_shape2.m_restitution); m_prev = null; m_next = null; m_node1.contact = null; m_node1.prev = null; m_node1.next = null; m_node1.other = null; m_node2.contact = null; m_node2.prev = null; m_node2.next = null; m_node2.other = null; } public function IsSolid():Boolean{ return (((m_flags & e_nonSolidFlag) == 0)); } public function GetShape1():b2Shape{ return (m_shape1); } public function GetShape2():b2Shape{ return (m_shape2); } public function GetNext():b2Contact{ return (m_next); } public function GetManifoldCount():int{ return (m_manifoldCount); } public function GetManifolds():Array{ return (null); } public function Update(_arg1:b2ContactListener):void{ var _local2:int = m_manifoldCount; Evaluate(_arg1); var _local3:int = m_manifoldCount; var _local4:b2Body = m_shape1.m_body; var _local5:b2Body = m_shape2.m_body; if ((((_local3 == 0)) && ((_local2 > 0)))){ _local4.WakeUp(); _local5.WakeUp(); }; if (((((((_local4.IsStatic()) || (_local4.IsBullet()))) || (_local5.IsStatic()))) || (_local5.IsBullet()))){ m_flags = (m_flags & ~(e_slowFlag)); } else { m_flags = (m_flags | e_slowFlag); }; } public function Evaluate(_arg1:b2ContactListener):void{ } public static function InitializeRegisters():void{ var _local2:int; s_registers = new Array(b2Shape.e_shapeTypeCount); var _local1:int; while (_local1 < b2Shape.e_shapeTypeCount) { s_registers[_local1] = new Array(b2Shape.e_shapeTypeCount); _local2 = 0; while (_local2 < b2Shape.e_shapeTypeCount) { s_registers[_local1][_local2] = new b2ContactRegister(); _local2++; }; _local1++; }; AddType(b2CircleContact.Create, b2CircleContact.Destroy, b2Shape.e_circleShape, b2Shape.e_circleShape); AddType(b2PolyAndCircleContact.Create, b2PolyAndCircleContact.Destroy, b2Shape.e_polygonShape, b2Shape.e_circleShape); AddType(b2PolygonContact.Create, b2PolygonContact.Destroy, b2Shape.e_polygonShape, b2Shape.e_polygonShape); } public static function Destroy(_arg1:b2Contact, _arg2):void{ if (_arg1.m_manifoldCount > 0){ _arg1.m_shape1.m_body.WakeUp(); _arg1.m_shape2.m_body.WakeUp(); }; var _local3:int = _arg1.m_shape1.m_type; var _local4:int = _arg1.m_shape2.m_type; var _local5:b2ContactRegister = s_registers[_local3][_local4]; var _local6:Function = _local5.destroyFcn; _local6(_arg1, _arg2); } public static function AddType(_arg1:Function, _arg2:Function, _arg3:int, _arg4:int):void{ s_registers[_arg3][_arg4].createFcn = _arg1; s_registers[_arg3][_arg4].destroyFcn = _arg2; s_registers[_arg3][_arg4].primary = true; if (_arg3 != _arg4){ s_registers[_arg4][_arg3].createFcn = _arg1; s_registers[_arg4][_arg3].destroyFcn = _arg2; s_registers[_arg4][_arg3].primary = false; }; } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ var _local8:b2Contact; var _local9:int; var _local10:b2Manifold; if (s_initialized == false){ InitializeRegisters(); s_initialized = true; }; var _local4:int = _arg1.m_type; var _local5:int = _arg2.m_type; var _local6:b2ContactRegister = s_registers[_local4][_local5]; var _local7:Function = _local6.createFcn; if (_local7 != null){ if (_local6.primary){ return (_local7(_arg1, _arg2, _arg3)); }; _local8 = _local7(_arg2, _arg1, _arg3); _local9 = 0; while (_local9 < _local8.m_manifoldCount) { _local10 = _local8.GetManifolds()[_local9]; _local8.GetManifolds()[_local9].normal = _local10.normal.Negative(); _local9++; }; return (_local8); //unresolved jump }; return (null); } } }//package Box2D.Dynamics.Contacts
Section 39
//b2ContactConstraint (Box2D.Dynamics.Contacts.b2ContactConstraint) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.*; public class b2ContactConstraint { public var points:Array; public var normal:b2Vec2; public var restitution:Number; public var body1:b2Body; public var manifold:b2Manifold; public var body2:b2Body; public var friction:Number; public var pointCount:int; public function b2ContactConstraint(){ normal = new b2Vec2(); super(); points = new Array(b2Settings.b2_maxManifoldPoints); var _local1:int; while (_local1 < b2Settings.b2_maxManifoldPoints) { points[_local1] = new b2ContactConstraintPoint(); _local1++; }; } } }//package Box2D.Dynamics.Contacts
Section 40
//b2ContactConstraintPoint (Box2D.Dynamics.Contacts.b2ContactConstraintPoint) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; public class b2ContactConstraintPoint { public var r2:b2Vec2; public var separation:Number; public var positionImpulse:Number; public var normalImpulse:Number; public var tangentMass:Number; public var equalizedMass:Number; public var tangentImpulse:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var normalMass:Number; public var velocityBias:Number; public var r1:b2Vec2; public function b2ContactConstraintPoint(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); r1 = new b2Vec2(); r2 = new b2Vec2(); super(); } } }//package Box2D.Dynamics.Contacts
Section 41
//b2ContactEdge (Box2D.Dynamics.Contacts.b2ContactEdge) package Box2D.Dynamics.Contacts { import Box2D.Dynamics.*; public class b2ContactEdge { public var other:b2Body; public var prev:b2ContactEdge; public var contact:b2Contact; public var next:b2ContactEdge; } }//package Box2D.Dynamics.Contacts
Section 42
//b2ContactRegister (Box2D.Dynamics.Contacts.b2ContactRegister) package Box2D.Dynamics.Contacts { public class b2ContactRegister { public var primary:Boolean; public var createFcn:Function; public var destroyFcn:Function; } }//package Box2D.Dynamics.Contacts
Section 43
//b2ContactResult (Box2D.Dynamics.Contacts.b2ContactResult) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Collision.*; import Box2D.Collision.Shapes.*; public class b2ContactResult { public var position:b2Vec2; public var shape1:b2Shape; public var shape2:b2Shape; public var normalImpulse:Number; public var normal:b2Vec2; public var tangentImpulse:Number; public var id:b2ContactID; public function b2ContactResult(){ position = new b2Vec2(); normal = new b2Vec2(); id = new b2ContactID(); super(); } } }//package Box2D.Dynamics.Contacts
Section 44
//b2ContactSolver (Box2D.Dynamics.Contacts.b2ContactSolver) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.*; public class b2ContactSolver { public var m_constraintCount:int; public var m_constraints:Array; public var m_allocator; public var m_step:b2TimeStep; public function b2ContactSolver(_arg1:b2TimeStep, _arg2:Array, _arg3:int, _arg4){ var _local5:b2Contact; var _local6:int; var _local7:b2Vec2; var _local8:b2Mat22; var _local10:b2Body; var _local11:b2Body; var _local12:int; var _local13:Array; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:int; var _local23:b2Manifold; var _local24:Number; var _local25:Number; var _local26:b2ContactConstraint; var _local27:uint; var _local28:b2ManifoldPoint; var _local29:b2ContactConstraintPoint; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:Number; var _local38:Number; var _local39:Number; var _local40:Number; var _local41:Number; var _local42:Number; var _local43:Number; var _local44:Number; var _local45:Number; var _local46:Number; var _local47:Number; m_step = new b2TimeStep(); m_constraints = new Array(); super(); m_step.dt = _arg1.dt; m_step.inv_dt = _arg1.inv_dt; m_step.maxIterations = _arg1.maxIterations; m_allocator = _arg4; m_constraintCount = 0; _local6 = 0; while (_local6 < _arg3) { _local5 = _arg2[_local6]; m_constraintCount = (m_constraintCount + _local5.m_manifoldCount); _local6++; }; _local6 = 0; while (_local6 < m_constraintCount) { m_constraints[_local6] = new b2ContactConstraint(); _local6++; }; var _local9:int; _local6 = 0; while (_local6 < _arg3) { _local5 = _arg2[_local6]; _local10 = _local5.m_shape1.m_body; _local11 = _local5.m_shape2.m_body; _local12 = _local5.m_manifoldCount; _local13 = _local5.GetManifolds(); _local14 = _local5.m_friction; _local15 = _local5.m_restitution; _local16 = _local10.m_linearVelocity.x; _local17 = _local10.m_linearVelocity.y; _local18 = _local11.m_linearVelocity.x; _local19 = _local11.m_linearVelocity.y; _local20 = _local10.m_angularVelocity; _local21 = _local11.m_angularVelocity; _local22 = 0; while (_local22 < _local12) { _local23 = _local13[_local22]; _local24 = _local23.normal.x; _local25 = _local23.normal.y; _local26 = m_constraints[_local9]; _local26.body1 = _local10; _local26.body2 = _local11; _local26.manifold = _local23; _local26.normal.x = _local24; _local26.normal.y = _local25; _local26.pointCount = _local23.pointCount; _local26.friction = _local14; _local26.restitution = _local15; _local27 = 0; while (_local27 < _local26.pointCount) { _local28 = _local23.points[_local27]; _local29 = _local26.points[_local27]; _local29.normalImpulse = _local28.normalImpulse; _local29.tangentImpulse = _local28.tangentImpulse; _local29.separation = _local28.separation; _local29.positionImpulse = 0; _local29.localAnchor1.SetV(_local28.localPoint1); _local29.localAnchor2.SetV(_local28.localPoint2); _local8 = _local10.m_xf.R; _local32 = (_local28.localPoint1.x - _local10.m_sweep.localCenter.x); _local33 = (_local28.localPoint1.y - _local10.m_sweep.localCenter.y); _local30 = ((_local8.col1.x * _local32) + (_local8.col2.x * _local33)); _local33 = ((_local8.col1.y * _local32) + (_local8.col2.y * _local33)); _local32 = _local30; _local29.r1.Set(_local32, _local33); _local8 = _local11.m_xf.R; _local34 = (_local28.localPoint2.x - _local11.m_sweep.localCenter.x); _local35 = (_local28.localPoint2.y - _local11.m_sweep.localCenter.y); _local30 = ((_local8.col1.x * _local34) + (_local8.col2.x * _local35)); _local35 = ((_local8.col1.y * _local34) + (_local8.col2.y * _local35)); _local34 = _local30; _local29.r2.Set(_local34, _local35); _local36 = ((_local32 * _local32) + (_local33 * _local33)); _local37 = ((_local34 * _local34) + (_local35 * _local35)); _local38 = ((_local32 * _local24) + (_local33 * _local25)); _local39 = ((_local34 * _local24) + (_local35 * _local25)); _local40 = (_local10.m_invMass + _local11.m_invMass); _local40 = (_local40 + ((_local10.m_invI * (_local36 - (_local38 * _local38))) + (_local11.m_invI * (_local37 - (_local39 * _local39))))); _local29.normalMass = (1 / _local40); _local41 = ((_local10.m_mass * _local10.m_invMass) + (_local11.m_mass * _local11.m_invMass)); _local41 = (_local41 + (((_local10.m_mass * _local10.m_invI) * (_local36 - (_local38 * _local38))) + ((_local11.m_mass * _local11.m_invI) * (_local37 - (_local39 * _local39))))); _local29.equalizedMass = (1 / _local41); _local42 = _local25; _local43 = -(_local24); _local44 = ((_local32 * _local42) + (_local33 * _local43)); _local45 = ((_local34 * _local42) + (_local35 * _local43)); _local46 = (_local10.m_invMass + _local11.m_invMass); _local46 = (_local46 + ((_local10.m_invI * (_local36 - (_local44 * _local44))) + (_local11.m_invI * (_local37 - (_local45 * _local45))))); _local29.tangentMass = (1 / _local46); _local29.velocityBias = 0; if (_local29.separation > 0){ _local29.velocityBias = (-60 * _local29.separation); }; _local30 = (((_local18 + (-(_local21) * _local35)) - _local16) - (-(_local20) * _local33)); _local31 = (((_local19 + (_local21 * _local34)) - _local17) - (_local20 * _local32)); _local47 = ((_local26.normal.x * _local30) + (_local26.normal.y * _local31)); if (_local47 < -(b2Settings.b2_velocityThreshold)){ _local29.velocityBias = (_local29.velocityBias + (-(_local26.restitution) * _local47)); }; _local27++; }; _local9++; _local22++; }; _local6++; }; } public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2Mat22; var _local6:b2ContactConstraint; var _local7:b2Body; var _local8:b2Body; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:int; var _local19:int; var _local20:b2ContactConstraintPoint; var _local21:Number; var _local22:Number; var _local23:b2ContactConstraintPoint; var _local5:int; while (_local5 < m_constraintCount) { _local6 = m_constraints[_local5]; _local7 = _local6.body1; _local8 = _local6.body2; _local9 = _local7.m_invMass; _local10 = _local7.m_invI; _local11 = _local8.m_invMass; _local12 = _local8.m_invI; _local13 = _local6.normal.x; _local14 = _local6.normal.y; _local15 = _local14; _local16 = -(_local13); if (_arg1.warmStarting){ _local19 = _local6.pointCount; _local18 = 0; while (_local18 < _local19) { _local20 = _local6.points[_local18]; _local6.points[_local18].normalImpulse = (_local20.normalImpulse * _arg1.dtRatio); _local20.tangentImpulse = (_local20.tangentImpulse * _arg1.dtRatio); _local21 = ((_local20.normalImpulse * _local13) + (_local20.tangentImpulse * _local15)); _local22 = ((_local20.normalImpulse * _local14) + (_local20.tangentImpulse * _local16)); _local7.m_angularVelocity = (_local7.m_angularVelocity - (_local10 * ((_local20.r1.x * _local22) - (_local20.r1.y * _local21)))); _local7.m_linearVelocity.x = (_local7.m_linearVelocity.x - (_local9 * _local21)); _local7.m_linearVelocity.y = (_local7.m_linearVelocity.y - (_local9 * _local22)); _local8.m_angularVelocity = (_local8.m_angularVelocity + (_local12 * ((_local20.r2.x * _local22) - (_local20.r2.y * _local21)))); _local8.m_linearVelocity.x = (_local8.m_linearVelocity.x + (_local11 * _local21)); _local8.m_linearVelocity.y = (_local8.m_linearVelocity.y + (_local11 * _local22)); _local18++; }; } else { _local19 = _local6.pointCount; _local18 = 0; while (_local18 < _local19) { _local23 = _local6.points[_local18]; _local23.normalImpulse = 0; _local23.tangentImpulse = 0; _local18++; }; }; _local5++; }; } public function SolvePositionConstraints(_arg1:Number):Boolean{ var _local3:b2Mat22; var _local4:b2Vec2; var _local6:b2ContactConstraint; var _local7:b2Body; var _local8:b2Body; var _local9:b2Vec2; var _local10:Number; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:int; var _local20:int; var _local21:b2ContactConstraintPoint; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:Number; var _local38:Number; var _local2:Number = 0; var _local5:int; while (_local5 < m_constraintCount) { _local6 = m_constraints[_local5]; _local7 = _local6.body1; _local8 = _local6.body2; _local9 = _local7.m_sweep.c; _local10 = _local7.m_sweep.a; _local11 = _local8.m_sweep.c; _local12 = _local8.m_sweep.a; _local13 = (_local7.m_mass * _local7.m_invMass); _local14 = (_local7.m_mass * _local7.m_invI); _local15 = (_local8.m_mass * _local8.m_invMass); _local16 = (_local8.m_mass * _local8.m_invI); _local17 = _local6.normal.x; _local18 = _local6.normal.y; _local19 = _local6.pointCount; _local20 = 0; while (_local20 < _local19) { _local21 = _local6.points[_local20]; _local3 = _local7.m_xf.R; _local4 = _local7.m_sweep.localCenter; _local22 = (_local21.localAnchor1.x - _local4.x); _local23 = (_local21.localAnchor1.y - _local4.y); _local26 = ((_local3.col1.x * _local22) + (_local3.col2.x * _local23)); _local23 = ((_local3.col1.y * _local22) + (_local3.col2.y * _local23)); _local22 = _local26; _local3 = _local8.m_xf.R; _local4 = _local8.m_sweep.localCenter; _local24 = (_local21.localAnchor2.x - _local4.x); _local25 = (_local21.localAnchor2.y - _local4.y); _local26 = ((_local3.col1.x * _local24) + (_local3.col2.x * _local25)); _local25 = ((_local3.col1.y * _local24) + (_local3.col2.y * _local25)); _local24 = _local26; _local27 = (_local9.x + _local22); _local28 = (_local9.y + _local23); _local29 = (_local11.x + _local24); _local30 = (_local11.y + _local25); _local31 = (_local29 - _local27); _local32 = (_local30 - _local28); _local33 = (((_local31 * _local17) + (_local32 * _local18)) + _local21.separation); _local2 = b2Math.b2Min(_local2, _local33); _local34 = (_arg1 * b2Math.b2Clamp((_local33 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0)); _local35 = (-(_local21.equalizedMass) * _local34); _local36 = _local21.positionImpulse; _local21.positionImpulse = b2Math.b2Max((_local36 + _local35), 0); _local35 = (_local21.positionImpulse - _local36); _local37 = (_local35 * _local17); _local38 = (_local35 * _local18); _local9.x = (_local9.x - (_local13 * _local37)); _local9.y = (_local9.y - (_local13 * _local38)); _local10 = (_local10 - (_local14 * ((_local22 * _local38) - (_local23 * _local37)))); _local7.m_sweep.a = _local10; _local7.SynchronizeTransform(); _local11.x = (_local11.x + (_local15 * _local37)); _local11.y = (_local11.y + (_local15 * _local38)); _local12 = (_local12 + (_local16 * ((_local24 * _local38) - (_local25 * _local37)))); _local8.m_sweep.a = _local12; _local8.SynchronizeTransform(); _local20++; }; _local5++; }; return ((_local2 >= (-1.5 * b2Settings.b2_linearSlop))); } public function SolveVelocityConstraints():void{ var _local1:int; var _local2:b2ContactConstraintPoint; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:b2Mat22; var _local18:b2Vec2; var _local20:b2ContactConstraint; var _local21:b2Body; var _local22:b2Body; var _local23:Number; var _local24:Number; var _local25:b2Vec2; var _local26:b2Vec2; var _local27:Number; var _local28:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local33:Number; var _local34:Number; var _local35:Number; var _local36:Number; var _local37:int; var _local38:Number; var _local19:int; while (_local19 < m_constraintCount) { _local20 = m_constraints[_local19]; _local21 = _local20.body1; _local22 = _local20.body2; _local23 = _local21.m_angularVelocity; _local24 = _local22.m_angularVelocity; _local25 = _local21.m_linearVelocity; _local26 = _local22.m_linearVelocity; _local27 = _local21.m_invMass; _local28 = _local21.m_invI; _local29 = _local22.m_invMass; _local30 = _local22.m_invI; _local31 = _local20.normal.x; _local32 = _local20.normal.y; _local33 = _local32; _local34 = -(_local31); _local35 = _local20.friction; _local37 = _local20.pointCount; _local1 = 0; while (_local1 < _local37) { _local2 = _local20.points[_local1]; _local7 = (((_local26.x + (-(_local24) * _local2.r2.y)) - _local25.x) - (-(_local23) * _local2.r1.y)); _local8 = (((_local26.y + (_local24 * _local2.r2.x)) - _local25.y) - (_local23 * _local2.r1.x)); _local9 = ((_local7 * _local31) + (_local8 * _local32)); _local11 = (-(_local2.normalMass) * (_local9 - _local2.velocityBias)); _local10 = ((_local7 * _local33) + (_local8 * _local34)); _local12 = (_local2.tangentMass * -(_local10)); _local13 = b2Math.b2Max((_local2.normalImpulse + _local11), 0); _local11 = (_local13 - _local2.normalImpulse); _local38 = (_local35 * _local2.normalImpulse); _local14 = b2Math.b2Clamp((_local2.tangentImpulse + _local12), -(_local38), _local38); _local12 = (_local14 - _local2.tangentImpulse); _local15 = ((_local11 * _local31) + (_local12 * _local33)); _local16 = ((_local11 * _local32) + (_local12 * _local34)); _local25.x = (_local25.x - (_local27 * _local15)); _local25.y = (_local25.y - (_local27 * _local16)); _local23 = (_local23 - (_local28 * ((_local2.r1.x * _local16) - (_local2.r1.y * _local15)))); _local26.x = (_local26.x + (_local29 * _local15)); _local26.y = (_local26.y + (_local29 * _local16)); _local24 = (_local24 + (_local30 * ((_local2.r2.x * _local16) - (_local2.r2.y * _local15)))); _local2.normalImpulse = _local13; _local2.tangentImpulse = _local14; _local1++; }; _local21.m_angularVelocity = _local23; _local22.m_angularVelocity = _local24; _local19++; }; } public function FinalizeVelocityConstraints():void{ var _local2:b2ContactConstraint; var _local3:b2Manifold; var _local4:int; var _local5:b2ManifoldPoint; var _local6:b2ContactConstraintPoint; var _local1:int; while (_local1 < m_constraintCount) { _local2 = m_constraints[_local1]; _local3 = _local2.manifold; _local4 = 0; while (_local4 < _local2.pointCount) { _local5 = _local3.points[_local4]; _local6 = _local2.points[_local4]; _local5.normalImpulse = _local6.normalImpulse; _local5.tangentImpulse = _local6.tangentImpulse; _local4++; }; _local1++; }; } } }//package Box2D.Dynamics.Contacts
Section 45
//b2NullContact (Box2D.Dynamics.Contacts.b2NullContact) package Box2D.Dynamics.Contacts { import Box2D.Dynamics.*; public class b2NullContact extends b2Contact { override public function Evaluate(_arg1:b2ContactListener):void{ } override public function GetManifolds():Array{ return (null); } } }//package Box2D.Dynamics.Contacts
Section 46
//b2PolyAndCircleContact (Box2D.Dynamics.Contacts.b2PolyAndCircleContact) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; public class b2PolyAndCircleContact extends b2Contact { private var m_manifolds:Array; public var m_manifold:b2Manifold; private var m0:b2Manifold; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2PolyAndCircleContact(_arg1:b2Shape, _arg2:b2Shape){ m_manifolds = [new b2Manifold()]; m0 = new b2Manifold(); super(_arg1, _arg2); m_manifold = m_manifolds[0]; b2Settings.b2Assert((m_shape1.m_type == b2Shape.e_polygonShape)); b2Settings.b2Assert((m_shape2.m_type == b2Shape.e_circleShape)); m_manifold.pointCount = 0; var _local3:b2ManifoldPoint = m_manifold.points[0]; _local3.normalImpulse = 0; _local3.tangentImpulse = 0; } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:int; var _local3:b2Vec2; var _local4:b2Vec2; var _local5:b2ManifoldPoint; var _local10:b2ManifoldPoint; var _local11:Boolean; var _local12:uint; var _local13:int; var _local6:b2Body = m_shape1.m_body; var _local7:b2Body = m_shape2.m_body; m0.Set(m_manifold); b2Collision.b2CollidePolygonAndCircle(m_manifold, (m_shape1 as b2PolygonShape), _local6.m_xf, (m_shape2 as b2CircleShape), _local7.m_xf); var _local8:Array = [false, false]; var _local9:b2ContactPoint = s_evalCP; _local9.shape1 = m_shape1; _local9.shape2 = m_shape2; _local9.friction = m_friction; _local9.restitution = m_restitution; if (m_manifold.pointCount > 0){ _local2 = 0; while (_local2 < m_manifold.pointCount) { _local10 = m_manifold.points[_local2]; _local10.normalImpulse = 0; _local10.tangentImpulse = 0; _local11 = false; _local12 = _local10.id._key; _local13 = 0; while (_local13 < m0.pointCount) { if (_local8[_local13] == true){ } else { _local5 = m0.points[_local13]; if (_local5.id._key == _local12){ _local8[_local13] = true; _local10.normalImpulse = _local5.normalImpulse; _local10.tangentImpulse = _local5.tangentImpulse; _local11 = true; if (_arg1 != null){ _local9.position = _local6.GetWorldPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local4 = _local7.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local9.velocity.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal.SetV(m_manifold.normal); _local9.separation = _local10.separation; _local9.id.key = _local12; _arg1.Persist(_local9); }; break; }; }; _local13++; }; if ((((_local11 == false)) && (!((_arg1 == null))))){ _local9.position = _local6.GetWorldPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local4 = _local7.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local9.velocity.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal.SetV(m_manifold.normal); _local9.separation = _local10.separation; _local9.id.key = _local12; _arg1.Add(_local9); }; _local2++; }; m_manifoldCount = 1; } else { m_manifoldCount = 0; }; if (_arg1 == null){ return; }; _local2 = 0; while (_local2 < m0.pointCount) { if (_local8[_local2]){ } else { _local5 = m0.points[_local2]; _local9.position = _local6.GetWorldPoint(_local5.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local5.localPoint1); _local4 = _local7.GetLinearVelocityFromLocalPoint(_local5.localPoint2); _local9.velocity.Set((_local4.x - _local3.x), (_local4.y - _local3.y)); _local9.normal.SetV(m0.normal); _local9.separation = _local5.separation; _local9.id.key = _local5.id._key; _arg1.Remove(_local9); }; _local2++; }; } override public function GetManifolds():Array{ return (m_manifolds); } public static function Destroy(_arg1:b2Contact, _arg2):void{ } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ return (new b2PolyAndCircleContact(_arg1, _arg2)); } } }//package Box2D.Dynamics.Contacts
Section 47
//b2PolygonContact (Box2D.Dynamics.Contacts.b2PolygonContact) package Box2D.Dynamics.Contacts { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; public class b2PolygonContact extends b2Contact { private var m_manifolds:Array; private var m0:b2Manifold; public var m_manifold:b2Manifold; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2PolygonContact(_arg1:b2Shape, _arg2:b2Shape):void{ m0 = new b2Manifold(); m_manifolds = [new b2Manifold()]; super(_arg1, _arg2); m_manifold = m_manifolds[0]; m_manifold.pointCount = 0; } override public function Evaluate(_arg1:b2ContactListener):void{ var _local2:b2Vec2; var _local3:b2Vec2; var _local4:b2ManifoldPoint; var _local7:b2ContactPoint; var _local8:int; var _local10:b2ManifoldPoint; var _local11:Boolean; var _local12:uint; var _local13:int; var _local5:b2Body = m_shape1.m_body; var _local6:b2Body = m_shape2.m_body; m0.Set(m_manifold); b2Collision.b2CollidePolygons(m_manifold, (m_shape1 as b2PolygonShape), _local5.m_xf, (m_shape2 as b2PolygonShape), _local6.m_xf); var _local9:Array = [false, false]; _local7 = s_evalCP; _local7.shape1 = m_shape1; _local7.shape2 = m_shape2; _local7.friction = m_friction; _local7.restitution = m_restitution; if (m_manifold.pointCount > 0){ _local8 = 0; while (_local8 < m_manifold.pointCount) { _local10 = m_manifold.points[_local8]; _local10.normalImpulse = 0; _local10.tangentImpulse = 0; _local11 = false; _local12 = _local10.id._key; _local13 = 0; while (_local13 < m0.pointCount) { if (_local9[_local13] == true){ } else { _local4 = m0.points[_local13]; if (_local4.id._key == _local12){ _local9[_local13] = true; _local10.normalImpulse = _local4.normalImpulse; _local10.tangentImpulse = _local4.tangentImpulse; _local11 = true; if (_arg1 != null){ _local7.position = _local5.GetWorldPoint(_local10.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local10.separation; _local7.id.key = _local12; _arg1.Persist(_local7); }; break; }; }; _local13++; }; if ((((_local11 == false)) && (!((_arg1 == null))))){ _local7.position = _local5.GetWorldPoint(_local10.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local10.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local10.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m_manifold.normal); _local7.separation = _local10.separation; _local7.id.key = _local12; _arg1.Add(_local7); }; _local8++; }; m_manifoldCount = 1; } else { m_manifoldCount = 0; }; if (_arg1 == null){ return; }; _local8 = 0; while (_local8 < m0.pointCount) { if (_local9[_local8]){ } else { _local4 = m0.points[_local8]; _local7.position = _local5.GetWorldPoint(_local4.localPoint1); _local2 = _local5.GetLinearVelocityFromLocalPoint(_local4.localPoint1); _local3 = _local6.GetLinearVelocityFromLocalPoint(_local4.localPoint2); _local7.velocity.Set((_local3.x - _local2.x), (_local3.y - _local2.y)); _local7.normal.SetV(m0.normal); _local7.separation = _local4.separation; _local7.id.key = _local4.id._key; _arg1.Remove(_local7); }; _local8++; }; } override public function GetManifolds():Array{ return (m_manifolds); } public static function Destroy(_arg1:b2Contact, _arg2):void{ } public static function Create(_arg1:b2Shape, _arg2:b2Shape, _arg3):b2Contact{ return (new b2PolygonContact(_arg1, _arg2)); } } }//package Box2D.Dynamics.Contacts
Section 48
//b2DistanceJoint (Box2D.Dynamics.Joints.b2DistanceJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Dynamics.*; public class b2DistanceJoint extends b2Joint { public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_bias:Number; public var m_gamma:Number; public var m_u:b2Vec2; public var m_mass:Number; public var m_impulse:Number; public var m_dampingRatio:Number; public var m_frequencyHz:Number; public var m_length:Number; public function b2DistanceJoint(_arg1:b2DistanceJointDef){ var _local2:b2Mat22; var _local3:Number; var _local4:Number; m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_u = new b2Vec2(); super(_arg1); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_length = _arg1.length; m_frequencyHz = _arg1.frequencyHz; m_dampingRatio = _arg1.dampingRatio; m_impulse = 0; m_gamma = 0; m_bias = 0; m_inv_dt = 0; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Mat22; var _local3:Number; var _local4:b2Body; var _local5:b2Body; var _local6:Number; var _local8:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; m_inv_dt = _arg1.inv_dt; _local4 = m_body1; _local5 = m_body2; _local2 = _local4.m_xf.R; _local6 = (m_localAnchor1.x - _local4.m_sweep.localCenter.x); var _local7:Number = (m_localAnchor1.y - _local4.m_sweep.localCenter.y); _local3 = ((_local2.col1.x * _local6) + (_local2.col2.x * _local7)); _local7 = ((_local2.col1.y * _local6) + (_local2.col2.y * _local7)); _local6 = _local3; _local2 = _local5.m_xf.R; _local8 = (m_localAnchor2.x - _local5.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local5.m_sweep.localCenter.y); _local3 = ((_local2.col1.x * _local8) + (_local2.col2.x * _local9)); _local9 = ((_local2.col1.y * _local8) + (_local2.col2.y * _local9)); _local8 = _local3; m_u.x = (((_local5.m_sweep.c.x + _local8) - _local4.m_sweep.c.x) - _local6); m_u.y = (((_local5.m_sweep.c.y + _local9) - _local4.m_sweep.c.y) - _local7); var _local10:Number = Math.sqrt(((m_u.x * m_u.x) + (m_u.y * m_u.y))); if (_local10 > b2Settings.b2_linearSlop){ m_u.Multiply((1 / _local10)); } else { m_u.SetZero(); }; var _local11:Number = ((_local6 * m_u.y) - (_local7 * m_u.x)); var _local12:Number = ((_local8 * m_u.y) - (_local9 * m_u.x)); var _local13:Number = (((_local4.m_invMass + ((_local4.m_invI * _local11) * _local11)) + _local5.m_invMass) + ((_local5.m_invI * _local12) * _local12)); m_mass = (1 / _local13); if (m_frequencyHz > 0){ _local14 = (_local10 - m_length); _local15 = ((2 * Math.PI) * m_frequencyHz); _local16 = (((2 * m_mass) * m_dampingRatio) * _local15); _local17 = ((m_mass * _local15) * _local15); m_gamma = (1 / (_arg1.dt * (_local16 + (_arg1.dt * _local17)))); m_bias = (((_local14 * _arg1.dt) * _local17) * m_gamma); m_mass = (1 / (_local13 + m_gamma)); }; if (_arg1.warmStarting){ m_impulse = (m_impulse * _arg1.dtRatio); _local18 = (m_impulse * m_u.x); _local19 = (m_impulse * m_u.y); _local4.m_linearVelocity.x = (_local4.m_linearVelocity.x - (_local4.m_invMass * _local18)); _local4.m_linearVelocity.y = (_local4.m_linearVelocity.y - (_local4.m_invMass * _local19)); _local4.m_angularVelocity = (_local4.m_angularVelocity - (_local4.m_invI * ((_local6 * _local19) - (_local7 * _local18)))); _local5.m_linearVelocity.x = (_local5.m_linearVelocity.x + (_local5.m_invMass * _local18)); _local5.m_linearVelocity.y = (_local5.m_linearVelocity.y + (_local5.m_invMass * _local19)); _local5.m_angularVelocity = (_local5.m_angularVelocity + (_local5.m_invI * ((_local8 * _local19) - (_local9 * _local18)))); } else { m_impulse = 0; }; } override public function GetReactionTorque():Number{ return (0); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = new b2Vec2(); _local1.SetV(m_u); _local1.Multiply((m_inv_dt * m_impulse)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local1:b2Mat22; if (m_frequencyHz > 0){ return (true); }; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; _local1 = _local2.m_xf.R; var _local4:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); var _local5:Number = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); var _local6:Number = ((_local1.col1.x * _local4) + (_local1.col2.x * _local5)); _local5 = ((_local1.col1.y * _local4) + (_local1.col2.y * _local5)); _local4 = _local6; _local1 = _local3.m_xf.R; var _local7:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local8:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local6 = ((_local1.col1.x * _local7) + (_local1.col2.x * _local8)); _local8 = ((_local1.col1.y * _local7) + (_local1.col2.y * _local8)); _local7 = _local6; var _local9:Number = (((_local3.m_sweep.c.x + _local7) - _local2.m_sweep.c.x) - _local4); var _local10:Number = (((_local3.m_sweep.c.y + _local8) - _local2.m_sweep.c.y) - _local5); var _local11:Number = Math.sqrt(((_local9 * _local9) + (_local10 * _local10))); _local9 = (_local9 / _local11); _local10 = (_local10 / _local11); var _local12:Number = (_local11 - m_length); _local12 = b2Math.b2Clamp(_local12, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); var _local13:Number = (-(m_mass) * _local12); m_u.Set(_local9, _local10); var _local14:Number = (_local13 * m_u.x); var _local15:Number = (_local13 * m_u.y); _local2.m_sweep.c.x = (_local2.m_sweep.c.x - (_local2.m_invMass * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y - (_local2.m_invMass * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a - (_local2.m_invI * ((_local4 * _local15) - (_local5 * _local14)))); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + (_local3.m_invMass * _local14)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + (_local3.m_invMass * _local15)); _local3.m_sweep.a = (_local3.m_sweep.a + (_local3.m_invI * ((_local7 * _local15) - (_local8 * _local14)))); _local2.SynchronizeTransform(); _local3.SynchronizeTransform(); return ((b2Math.b2Abs(_local12) < b2Settings.b2_linearSlop)); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Mat22; var _local3:b2Body = m_body1; var _local4:b2Body = m_body2; _local2 = _local3.m_xf.R; var _local5:Number = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); var _local6:Number = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); var _local7:Number = ((_local2.col1.x * _local5) + (_local2.col2.x * _local6)); _local6 = ((_local2.col1.y * _local5) + (_local2.col2.y * _local6)); _local5 = _local7; _local2 = _local4.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local7 = ((_local2.col1.x * _local8) + (_local2.col2.x * _local9)); _local9 = ((_local2.col1.y * _local8) + (_local2.col2.y * _local9)); _local8 = _local7; var _local10:Number = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local6)); var _local11:Number = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local5)); var _local12:Number = (_local4.m_linearVelocity.x + (-(_local4.m_angularVelocity) * _local9)); var _local13:Number = (_local4.m_linearVelocity.y + (_local4.m_angularVelocity * _local8)); var _local14:Number = ((m_u.x * (_local12 - _local10)) + (m_u.y * (_local13 - _local11))); var _local15:Number = (-(m_mass) * ((_local14 + m_bias) + (m_gamma * m_impulse))); m_impulse = (m_impulse + _local15); var _local16:Number = (_local15 * m_u.x); var _local17:Number = (_local15 * m_u.y); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x - (_local3.m_invMass * _local16)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y - (_local3.m_invMass * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity - (_local3.m_invI * ((_local5 * _local17) - (_local6 * _local16)))); _local4.m_linearVelocity.x = (_local4.m_linearVelocity.x + (_local4.m_invMass * _local16)); _local4.m_linearVelocity.y = (_local4.m_linearVelocity.y + (_local4.m_invMass * _local17)); _local4.m_angularVelocity = (_local4.m_angularVelocity + (_local4.m_invI * ((_local8 * _local17) - (_local9 * _local16)))); } } }//package Box2D.Dynamics.Joints
Section 49
//b2DistanceJointDef (Box2D.Dynamics.Joints.b2DistanceJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2DistanceJointDef extends b2JointDef { public var localAnchor1:b2Vec2; public var length:Number; public var dampingRatio:Number; public var localAnchor2:b2Vec2; public var frequencyHz:Number; public function b2DistanceJointDef(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); super(); type = b2Joint.e_distanceJoint; length = 1; frequencyHz = 0; dampingRatio = 0; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2, _arg4:b2Vec2):void{ body1 = _arg1; body2 = _arg2; localAnchor1.SetV(body1.GetLocalPoint(_arg3)); localAnchor2.SetV(body2.GetLocalPoint(_arg4)); var _local5:Number = (_arg4.x - _arg3.x); var _local6:Number = (_arg4.y - _arg3.y); length = Math.sqrt(((_local5 * _local5) + (_local6 * _local6))); frequencyHz = 0; dampingRatio = 0; } } }//package Box2D.Dynamics.Joints
Section 50
//b2GearJoint (Box2D.Dynamics.Joints.b2GearJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Dynamics.*; public class b2GearJoint extends b2Joint { public var m_ground2:b2Body; public var m_groundAnchor1:b2Vec2; public var m_groundAnchor2:b2Vec2; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_ratio:Number; public var m_revolute2:b2RevoluteJoint; public var m_force:Number; public var m_mass:Number; public var m_prismatic2:b2PrismaticJoint; public var m_ground1:b2Body; public var m_revolute1:b2RevoluteJoint; public var m_prismatic1:b2PrismaticJoint; public var m_constant:Number; public var m_J:b2Jacobian; public function b2GearJoint(_arg1:b2GearJointDef){ var _local4:Number; var _local5:Number; m_groundAnchor1 = new b2Vec2(); m_groundAnchor2 = new b2Vec2(); m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_J = new b2Jacobian(); super(_arg1); var _local2:int = _arg1.joint1.m_type; var _local3:int = _arg1.joint2.m_type; m_revolute1 = null; m_prismatic1 = null; m_revolute2 = null; m_prismatic2 = null; m_ground1 = _arg1.joint1.m_body1; m_body1 = _arg1.joint1.m_body2; if (_local2 == b2Joint.e_revoluteJoint){ m_revolute1 = (_arg1.joint1 as b2RevoluteJoint); m_groundAnchor1.SetV(m_revolute1.m_localAnchor1); m_localAnchor1.SetV(m_revolute1.m_localAnchor2); _local4 = m_revolute1.GetJointAngle(); } else { m_prismatic1 = (_arg1.joint1 as b2PrismaticJoint); m_groundAnchor1.SetV(m_prismatic1.m_localAnchor1); m_localAnchor1.SetV(m_prismatic1.m_localAnchor2); _local4 = m_prismatic1.GetJointTranslation(); }; m_ground2 = _arg1.joint2.m_body1; m_body2 = _arg1.joint2.m_body2; if (_local3 == b2Joint.e_revoluteJoint){ m_revolute2 = (_arg1.joint2 as b2RevoluteJoint); m_groundAnchor2.SetV(m_revolute2.m_localAnchor1); m_localAnchor2.SetV(m_revolute2.m_localAnchor2); _local5 = m_revolute2.GetJointAngle(); } else { m_prismatic2 = (_arg1.joint2 as b2PrismaticJoint); m_groundAnchor2.SetV(m_prismatic2.m_localAnchor1); m_localAnchor2.SetV(m_prismatic2.m_localAnchor2); _local5 = m_prismatic2.GetJointTranslation(); }; m_ratio = _arg1.ratio; m_constant = (_local4 + (m_ratio * _local5)); m_force = 0; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:b2Mat22; var _local11:b2Vec2; var _local12:Number; var _local13:Number; var _local15:Number; var _local2:b2Body = m_ground1; var _local3:b2Body = m_ground2; var _local4:b2Body = m_body1; var _local5:b2Body = m_body2; var _local14:Number = 0; m_J.SetZero(); if (m_revolute1){ m_J.angular1 = -1; _local14 = (_local14 + _local4.m_invI); } else { _local10 = _local2.m_xf.R; _local11 = m_prismatic1.m_localXAxis1; _local6 = ((_local10.col1.x * _local11.x) + (_local10.col2.x * _local11.y)); _local7 = ((_local10.col1.y * _local11.x) + (_local10.col2.y * _local11.y)); _local10 = _local4.m_xf.R; _local8 = (m_localAnchor1.x - _local4.m_sweep.localCenter.x); _local9 = (m_localAnchor1.y - _local4.m_sweep.localCenter.y); _local13 = ((_local10.col1.x * _local8) + (_local10.col2.x * _local9)); _local9 = ((_local10.col1.y * _local8) + (_local10.col2.y * _local9)); _local8 = _local13; _local12 = ((_local8 * _local7) - (_local9 * _local6)); m_J.linear1.Set(-(_local6), -(_local7)); m_J.angular1 = -(_local12); _local14 = (_local14 + (_local4.m_invMass + ((_local4.m_invI * _local12) * _local12))); }; if (m_revolute2){ m_J.angular2 = -(m_ratio); _local14 = (_local14 + ((m_ratio * m_ratio) * _local5.m_invI)); } else { _local10 = _local3.m_xf.R; _local11 = m_prismatic2.m_localXAxis1; _local6 = ((_local10.col1.x * _local11.x) + (_local10.col2.x * _local11.y)); _local7 = ((_local10.col1.y * _local11.x) + (_local10.col2.y * _local11.y)); _local10 = _local5.m_xf.R; _local8 = (m_localAnchor2.x - _local5.m_sweep.localCenter.x); _local9 = (m_localAnchor2.y - _local5.m_sweep.localCenter.y); _local13 = ((_local10.col1.x * _local8) + (_local10.col2.x * _local9)); _local9 = ((_local10.col1.y * _local8) + (_local10.col2.y * _local9)); _local8 = _local13; _local12 = ((_local8 * _local7) - (_local9 * _local6)); m_J.linear2.Set((-(m_ratio) * _local6), (-(m_ratio) * _local7)); m_J.angular2 = (-(m_ratio) * _local12); _local14 = (_local14 + ((m_ratio * m_ratio) * (_local5.m_invMass + ((_local5.m_invI * _local12) * _local12)))); }; m_mass = (1 / _local14); if (_arg1.warmStarting){ _local15 = (_arg1.dt * m_force); _local4.m_linearVelocity.x = (_local4.m_linearVelocity.x + ((_local4.m_invMass * _local15) * m_J.linear1.x)); _local4.m_linearVelocity.y = (_local4.m_linearVelocity.y + ((_local4.m_invMass * _local15) * m_J.linear1.y)); _local4.m_angularVelocity = (_local4.m_angularVelocity + ((_local4.m_invI * _local15) * m_J.angular1)); _local5.m_linearVelocity.x = (_local5.m_linearVelocity.x + ((_local5.m_invMass * _local15) * m_J.linear2.x)); _local5.m_linearVelocity.y = (_local5.m_linearVelocity.y + ((_local5.m_invMass * _local15) * m_J.linear2.y)); _local5.m_angularVelocity = (_local5.m_angularVelocity + ((_local5.m_invI * _local15) * m_J.angular2)); } else { m_force = 0; }; } override public function GetReactionTorque():Number{ var _local1:b2Mat22 = m_body2.m_xf.R; var _local2:Number = (m_localAnchor1.x - m_body2.m_sweep.localCenter.x); var _local3:Number = (m_localAnchor1.y - m_body2.m_sweep.localCenter.y); var _local4:Number = ((_local1.col1.x * _local2) + (_local1.col2.x * _local3)); _local3 = ((_local1.col1.y * _local2) + (_local1.col2.y * _local3)); _local2 = _local4; _local4 = ((m_force * m_J.angular2) - ((_local2 * (m_force * m_J.linear2.y)) - (_local3 * (m_force * m_J.linear2.x)))); return (_local4); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = new b2Vec2((m_force * m_J.linear2.x), (m_force * m_J.linear2.y)); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local4:Number; var _local5:Number; var _local1:Number = 0; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; if (m_revolute1){ _local4 = m_revolute1.GetJointAngle(); } else { _local4 = m_prismatic1.GetJointTranslation(); }; if (m_revolute2){ _local5 = m_revolute2.GetJointAngle(); } else { _local5 = m_prismatic2.GetJointTranslation(); }; var _local6:Number = (m_constant - (_local4 + (m_ratio * _local5))); var _local7:Number = (-(m_mass) * _local6); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + ((_local2.m_invMass * _local7) * m_J.linear1.x)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + ((_local2.m_invMass * _local7) * m_J.linear1.y)); _local2.m_sweep.a = (_local2.m_sweep.a + ((_local2.m_invI * _local7) * m_J.angular1)); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local3.m_invMass * _local7) * m_J.linear2.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local3.m_invMass * _local7) * m_J.linear2.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local3.m_invI * _local7) * m_J.angular2)); _local2.SynchronizeTransform(); _local3.SynchronizeTransform(); return ((_local1 < b2Settings.b2_linearSlop)); } public function GetRatio():Number{ return (m_ratio); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; var _local4:Number = m_J.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); var _local5:Number = ((-(_arg1.inv_dt) * m_mass) * _local4); m_force = (m_force + _local5); var _local6:Number = (_arg1.dt * _local5); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local2.m_invMass * _local6) * m_J.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local2.m_invMass * _local6) * m_J.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local2.m_invI * _local6) * m_J.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local3.m_invMass * _local6) * m_J.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local3.m_invMass * _local6) * m_J.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3.m_invI * _local6) * m_J.angular2)); } } }//package Box2D.Dynamics.Joints
Section 51
//b2GearJointDef (Box2D.Dynamics.Joints.b2GearJointDef) package Box2D.Dynamics.Joints { public class b2GearJointDef extends b2JointDef { public var joint1:b2Joint; public var joint2:b2Joint; public var ratio:Number; public function b2GearJointDef(){ type = b2Joint.e_gearJoint; joint1 = null; joint2 = null; ratio = 1; } } }//package Box2D.Dynamics.Joints
Section 52
//b2Jacobian (Box2D.Dynamics.Joints.b2Jacobian) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; public class b2Jacobian { public var linear1:b2Vec2; public var linear2:b2Vec2; public var angular1:Number; public var angular2:Number; public function b2Jacobian(){ linear1 = new b2Vec2(); linear2 = new b2Vec2(); super(); } public function Set(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):void{ linear1.SetV(_arg1); angular1 = _arg2; linear2.SetV(_arg3); angular2 = _arg4; } public function SetZero():void{ linear1.SetZero(); angular1 = 0; linear2.SetZero(); angular2 = 0; } public function Compute(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:Number):Number{ return ((((((linear1.x * _arg1.x) + (linear1.y * _arg1.y)) + (angular1 * _arg2)) + ((linear2.x * _arg3.x) + (linear2.y * _arg3.y))) + (angular2 * _arg4))); } } }//package Box2D.Dynamics.Joints
Section 53
//b2Joint (Box2D.Dynamics.Joints.b2Joint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2Joint { public var m_islandFlag:Boolean; public var m_body1:b2Body; public var m_prev:b2Joint; public var m_next:b2Joint; public var m_type:int; public var m_collideConnected:Boolean; public var m_node1:b2JointEdge; public var m_node2:b2JointEdge; public var m_inv_dt:Number; public var m_userData; public var m_body2:b2Body; public static const e_unknownJoint:int = 0; public static const e_inactiveLimit:int = 0; public static const e_atUpperLimit:int = 2; public static const e_atLowerLimit:int = 1; public static const e_gearJoint:int = 6; public static const e_revoluteJoint:int = 1; public static const e_equalLimits:int = 3; public static const e_distanceJoint:int = 3; public static const e_pulleyJoint:int = 4; public static const e_prismaticJoint:int = 2; public static const e_mouseJoint:int = 5; public function b2Joint(_arg1:b2JointDef){ m_node1 = new b2JointEdge(); m_node2 = new b2JointEdge(); super(); m_type = _arg1.type; m_prev = null; m_next = null; m_body1 = _arg1.body1; m_body2 = _arg1.body2; m_collideConnected = _arg1.collideConnected; m_islandFlag = false; m_userData = _arg1.userData; } public function GetBody2():b2Body{ return (m_body2); } public function GetAnchor1():b2Vec2{ return (null); } public function GetAnchor2():b2Vec2{ return (null); } public function GetNext():b2Joint{ return (m_next); } public function GetType():int{ return (m_type); } public function InitVelocityConstraints(_arg1:b2TimeStep):void{ } public function GetReactionTorque():Number{ return (0); } public function GetUserData(){ return (m_userData); } public function GetReactionForce():b2Vec2{ return (null); } public function SolvePositionConstraints():Boolean{ return (false); } public function SetUserData(_arg1):void{ m_userData = _arg1; } public function GetBody1():b2Body{ return (m_body1); } public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ } public function InitPositionConstraints():void{ } public static function Destroy(_arg1:b2Joint, _arg2):void{ } public static function Create(_arg1:b2JointDef, _arg2):b2Joint{ var _local3:b2Joint; switch (_arg1.type){ case e_distanceJoint: _local3 = new b2DistanceJoint((_arg1 as b2DistanceJointDef)); break; case e_mouseJoint: _local3 = new b2MouseJoint((_arg1 as b2MouseJointDef)); break; case e_prismaticJoint: _local3 = new b2PrismaticJoint((_arg1 as b2PrismaticJointDef)); break; case e_revoluteJoint: _local3 = new b2RevoluteJoint((_arg1 as b2RevoluteJointDef)); break; case e_pulleyJoint: _local3 = new b2PulleyJoint((_arg1 as b2PulleyJointDef)); break; case e_gearJoint: _local3 = new b2GearJoint((_arg1 as b2GearJointDef)); break; default: break; }; return (_local3); } } }//package Box2D.Dynamics.Joints
Section 54
//b2JointDef (Box2D.Dynamics.Joints.b2JointDef) package Box2D.Dynamics.Joints { import Box2D.Dynamics.*; public class b2JointDef { public var body2:b2Body; public var type:int; public var userData; public var collideConnected:Boolean; public var body1:b2Body; public function b2JointDef(){ type = b2Joint.e_unknownJoint; userData = null; body1 = null; body2 = null; collideConnected = false; } } }//package Box2D.Dynamics.Joints
Section 55
//b2JointEdge (Box2D.Dynamics.Joints.b2JointEdge) package Box2D.Dynamics.Joints { import Box2D.Dynamics.*; public class b2JointEdge { public var other:b2Body; public var next:b2JointEdge; public var prev:b2JointEdge; public var joint:b2Joint; } }//package Box2D.Dynamics.Joints
Section 56
//b2MouseJoint (Box2D.Dynamics.Joints.b2MouseJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Dynamics.*; public class b2MouseJoint extends b2Joint { private var K1:b2Mat22; private var K:b2Mat22; public var m_beta:Number; public var m_mass:b2Mat22; private var K2:b2Mat22; public var m_target:b2Vec2; public var m_gamma:Number; public var m_impulse:b2Vec2; public var m_C:b2Vec2; public var m_localAnchor:b2Vec2; public var m_maxForce:Number; public function b2MouseJoint(_arg1:b2MouseJointDef){ var _local3:Number; K = new b2Mat22(); K1 = new b2Mat22(); K2 = new b2Mat22(); m_localAnchor = new b2Vec2(); m_target = new b2Vec2(); m_impulse = new b2Vec2(); m_mass = new b2Mat22(); m_C = new b2Vec2(); super(_arg1); m_target.SetV(_arg1.target); var _local2:Number = (m_target.x - m_body2.m_xf.position.x); _local3 = (m_target.y - m_body2.m_xf.position.y); var _local4:b2Mat22 = m_body2.m_xf.R; m_localAnchor.x = ((_local2 * _local4.col1.x) + (_local3 * _local4.col1.y)); m_localAnchor.y = ((_local2 * _local4.col2.x) + (_local3 * _local4.col2.y)); m_maxForce = _arg1.maxForce; m_impulse.SetZero(); var _local5:Number = m_body2.m_mass; var _local6:Number = ((2 * b2Settings.b2_pi) * _arg1.frequencyHz); var _local7:Number = (((2 * _local5) * _arg1.dampingRatio) * _local6); var _local8:Number = ((_arg1.timeStep * _local5) * (_local6 * _local6)); m_gamma = (1 / (_local7 + _local8)); m_beta = (_local8 / (_local7 + _local8)); } public function SetTarget(_arg1:b2Vec2):void{ if (m_body2.IsSleeping()){ m_body2.WakeUp(); }; m_target = _arg1; } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local7:Number; var _local8:Number; _local2 = m_body2; _local3 = _local2.m_xf.R; _local4 = (m_localAnchor.x - _local2.m_sweep.localCenter.x); _local5 = (m_localAnchor.y - _local2.m_sweep.localCenter.y); var _local6:Number = ((_local3.col1.x * _local4) + (_local3.col2.x * _local5)); _local5 = ((_local3.col1.y * _local4) + (_local3.col2.y * _local5)); _local4 = _local6; _local7 = _local2.m_invMass; _local8 = _local2.m_invI; K1.col1.x = _local7; K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = _local7; K2.col1.x = ((_local8 * _local5) * _local5); K2.col2.x = ((-(_local8) * _local4) * _local5); K2.col1.y = ((-(_local8) * _local4) * _local5); K2.col2.y = ((_local8 * _local4) * _local4); K.SetM(K1); K.AddM(K2); K.col1.x = (K.col1.x + m_gamma); K.col2.y = (K.col2.y + m_gamma); K.Invert(m_mass); m_C.x = ((_local2.m_sweep.c.x + _local4) - m_target.x); m_C.y = ((_local2.m_sweep.c.y + _local5) - m_target.y); _local2.m_angularVelocity = (_local2.m_angularVelocity * 0.98); var _local9:Number = (_arg1.dt * m_impulse.x); var _local10:Number = (_arg1.dt * m_impulse.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local7 * _local9)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local7 * _local10)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local8 * ((_local4 * _local10) - (_local5 * _local9)))); } override public function GetAnchor1():b2Vec2{ return (m_target); } override public function GetReactionTorque():Number{ return (0); } override public function GetReactionForce():b2Vec2{ return (m_impulse); } override public function SolvePositionConstraints():Boolean{ return (true); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local3:b2Mat22; var _local4:Number; var _local5:Number; var _local2:b2Body = m_body2; _local3 = _local2.m_xf.R; var _local6:Number = (m_localAnchor.x - _local2.m_sweep.localCenter.x); var _local7:Number = (m_localAnchor.y - _local2.m_sweep.localCenter.y); _local4 = ((_local3.col1.x * _local6) + (_local3.col2.x * _local7)); _local7 = ((_local3.col1.y * _local6) + (_local3.col2.y * _local7)); _local6 = _local4; var _local8:Number = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local7)); var _local9:Number = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local6)); _local3 = m_mass; _local4 = ((_local8 + ((m_beta * _arg1.inv_dt) * m_C.x)) + ((m_gamma * _arg1.dt) * m_impulse.x)); _local5 = ((_local9 + ((m_beta * _arg1.inv_dt) * m_C.y)) + ((m_gamma * _arg1.dt) * m_impulse.y)); var _local10:Number = (-(_arg1.inv_dt) * ((_local3.col1.x * _local4) + (_local3.col2.x * _local5))); var _local11:Number = (-(_arg1.inv_dt) * ((_local3.col1.y * _local4) + (_local3.col2.y * _local5))); var _local12:Number = m_impulse.x; var _local13:Number = m_impulse.y; m_impulse.x = (m_impulse.x + _local10); m_impulse.y = (m_impulse.y + _local11); var _local14:Number = m_impulse.Length(); if (_local14 > m_maxForce){ m_impulse.Multiply((m_maxForce / _local14)); }; _local10 = (m_impulse.x - _local12); _local11 = (m_impulse.y - _local13); var _local15:Number = (_arg1.dt * _local10); var _local16:Number = (_arg1.dt * _local11); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local15)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local16)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local6 * _local16) - (_local7 * _local15)))); } } }//package Box2D.Dynamics.Joints
Section 57
//b2MouseJointDef (Box2D.Dynamics.Joints.b2MouseJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; public class b2MouseJointDef extends b2JointDef { public var timeStep:Number; public var target:b2Vec2; public var maxForce:Number; public var dampingRatio:Number; public var frequencyHz:Number; public function b2MouseJointDef(){ target = new b2Vec2(); super(); type = b2Joint.e_mouseJoint; maxForce = 0; frequencyHz = 5; dampingRatio = 0.7; timeStep = (1 / 60); } } }//package Box2D.Dynamics.Joints
Section 58
//b2PrismaticJoint (Box2D.Dynamics.Joints.b2PrismaticJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Dynamics.*; public class b2PrismaticJoint extends b2Joint { public var m_limitForce:Number; public var m_lowerTranslation:Number; public var m_localXAxis1:b2Vec2; public var m_refAngle:Number; public var m_torque:Number; public var m_motorForce:Number; public var m_enableLimit:Boolean; public var m_angularMass:Number; public var m_maxMotorForce:Number; public var m_localYAxis1:b2Vec2; public var m_force:Number; public var m_motorMass:Number; public var m_upperTranslation:Number; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_limitState:int; public var m_linearMass:Number; public var m_motorJacobian:b2Jacobian; public var m_limitPositionImpulse:Number; public var m_motorSpeed:Number; public var m_enableMotor:Boolean; public var m_linearJacobian:b2Jacobian; public function b2PrismaticJoint(_arg1:b2PrismaticJointDef){ var _local2:b2Mat22; var _local3:Number; var _local4:Number; m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_localXAxis1 = new b2Vec2(); m_localYAxis1 = new b2Vec2(); m_linearJacobian = new b2Jacobian(); m_motorJacobian = new b2Jacobian(); super(_arg1); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_localXAxis1.SetV(_arg1.localAxis1); m_localYAxis1.x = -(m_localXAxis1.y); m_localYAxis1.y = m_localXAxis1.x; m_refAngle = _arg1.referenceAngle; m_linearJacobian.SetZero(); m_linearMass = 0; m_force = 0; m_angularMass = 0; m_torque = 0; m_motorJacobian.SetZero(); m_motorMass = 0; m_motorForce = 0; m_limitForce = 0; m_limitPositionImpulse = 0; m_lowerTranslation = _arg1.lowerTranslation; m_upperTranslation = _arg1.upperTranslation; m_maxMotorForce = _arg1.maxMotorForce; m_motorSpeed = _arg1.motorSpeed; m_enableLimit = _arg1.enableLimit; m_enableMotor = _arg1.enableMotor; } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local8:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; var _local4:Number = _local2.m_invMass; var _local5:Number = _local3.m_invMass; var _local6:Number = _local2.m_invI; var _local7:Number = _local3.m_invI; var _local9:Number = m_linearJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); var _local10:Number = ((-(_arg1.inv_dt) * m_linearMass) * _local9); m_force = (m_force + _local10); var _local11:Number = (_arg1.dt * _local10); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local11) * m_linearJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local11) * m_linearJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * m_linearJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local11) * m_linearJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local11) * m_linearJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * m_linearJacobian.angular2)); var _local12:Number = (_local3.m_angularVelocity - _local2.m_angularVelocity); var _local13:Number = ((-(_arg1.inv_dt) * m_angularMass) * _local12); m_torque = (m_torque + _local13); var _local14:Number = (_arg1.dt * _local13); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local6 * _local14)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local7 * _local14)); if (((m_enableMotor) && (!((m_limitState == e_equalLimits))))){ _local15 = (m_motorJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity) - m_motorSpeed); _local16 = ((-(_arg1.inv_dt) * m_motorMass) * _local15); _local17 = m_motorForce; m_motorForce = b2Math.b2Clamp((m_motorForce + _local16), -(m_maxMotorForce), m_maxMotorForce); _local16 = (m_motorForce - _local17); _local11 = (_arg1.dt * _local16); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local11) * m_motorJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local11) * m_motorJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * m_motorJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local11) * m_motorJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local11) * m_motorJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * m_motorJacobian.angular2)); }; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local18 = m_motorJacobian.Compute(_local2.m_linearVelocity, _local2.m_angularVelocity, _local3.m_linearVelocity, _local3.m_angularVelocity); _local19 = ((-(_arg1.inv_dt) * m_motorMass) * _local18); if (m_limitState == e_equalLimits){ m_limitForce = (m_limitForce + _local19); } else { if (m_limitState == e_atLowerLimit){ _local8 = m_limitForce; m_limitForce = b2Math.b2Max((m_limitForce + _local19), 0); _local19 = (m_limitForce - _local8); } else { if (m_limitState == e_atUpperLimit){ _local8 = m_limitForce; m_limitForce = b2Math.b2Min((m_limitForce + _local19), 0); _local19 = (m_limitForce - _local8); }; }; }; _local11 = (_arg1.dt * _local19); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + ((_local4 * _local11) * m_motorJacobian.linear1.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + ((_local4 * _local11) * m_motorJacobian.linear1.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity + ((_local6 * _local11) * m_motorJacobian.angular1)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_local5 * _local11) * m_motorJacobian.linear2.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_local5 * _local11) * m_motorJacobian.linear2.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local7 * _local11) * m_motorJacobian.angular2)); }; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } public function GetUpperLimit():Number{ return (m_upperTranslation); } public function GetLowerLimit():Number{ return (m_lowerTranslation); } public function EnableMotor(_arg1:Boolean):void{ m_enableMotor = _arg1; } public function GetJointTranslation():Number{ var _local3:b2Mat22; var _local1:b2Body = m_body1; var _local2:b2Body = m_body2; var _local4:b2Vec2 = _local1.GetWorldPoint(m_localAnchor1); var _local5:b2Vec2 = _local2.GetWorldPoint(m_localAnchor2); var _local6:Number = (_local5.x - _local4.x); var _local7:Number = (_local5.y - _local4.y); var _local8:b2Vec2 = _local1.GetWorldVector(m_localXAxis1); var _local9:Number = ((_local8.x * _local6) + (_local8.y * _local7)); return (_local9); } public function GetMotorSpeed():Number{ return (m_motorSpeed); } override public function GetReactionForce():b2Vec2{ var _local1:b2Mat22 = m_body1.m_xf.R; var _local2:Number = (m_limitForce * ((_local1.col1.x * m_localXAxis1.x) + (_local1.col2.x * m_localXAxis1.y))); var _local3:Number = (m_limitForce * ((_local1.col1.y * m_localXAxis1.x) + (_local1.col2.y * m_localXAxis1.y))); var _local4:Number = (m_force * ((_local1.col1.x * m_localYAxis1.x) + (_local1.col2.x * m_localYAxis1.y))); var _local5:Number = (m_force * ((_local1.col1.y * m_localYAxis1.x) + (_local1.col2.y * m_localYAxis1.y))); return (new b2Vec2(((m_limitForce * _local2) + (m_force * _local4)), ((m_limitForce * _local3) + (m_force * _local5)))); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local9:b2Mat22; var _local10:Number; var _local29:Number; var _local30:Number; var _local31:Number; var _local32:Number; var _local3:b2Body = m_body1; var _local4:b2Body = m_body2; var _local5:Number = _local3.m_invMass; var _local6:Number = _local4.m_invMass; var _local7:Number = _local3.m_invI; var _local8:Number = _local4.m_invI; _local9 = _local3.m_xf.R; var _local11:Number = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); var _local12:Number = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local11) + (_local9.col2.x * _local12)); _local12 = ((_local9.col1.y * _local11) + (_local9.col2.y * _local12)); _local11 = _local10; _local9 = _local4.m_xf.R; var _local13:Number = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); var _local14:Number = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local13) + (_local9.col2.x * _local14)); _local14 = ((_local9.col1.y * _local13) + (_local9.col2.y * _local14)); _local13 = _local10; var _local15:Number = (_local3.m_sweep.c.x + _local11); var _local16:Number = (_local3.m_sweep.c.y + _local12); var _local17:Number = (_local4.m_sweep.c.x + _local13); var _local18:Number = (_local4.m_sweep.c.y + _local14); var _local19:Number = (_local17 - _local15); var _local20:Number = (_local18 - _local16); _local9 = _local3.m_xf.R; var _local21:Number = ((_local9.col1.x * m_localYAxis1.x) + (_local9.col2.x * m_localYAxis1.y)); var _local22:Number = ((_local9.col1.y * m_localYAxis1.x) + (_local9.col2.y * m_localYAxis1.y)); var _local23:Number = ((_local21 * _local19) + (_local22 * _local20)); _local23 = b2Math.b2Clamp(_local23, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); var _local24:Number = (-(m_linearMass) * _local23); _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local5 * _local24) * m_linearJacobian.linear1.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local5 * _local24) * m_linearJacobian.linear1.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local7 * _local24) * m_linearJacobian.angular1)); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + ((_local6 * _local24) * m_linearJacobian.linear2.x)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + ((_local6 * _local24) * m_linearJacobian.linear2.y)); _local4.m_sweep.a = (_local4.m_sweep.a + ((_local8 * _local24) * m_linearJacobian.angular2)); var _local25:Number = b2Math.b2Abs(_local23); var _local26:Number = ((_local4.m_sweep.a - _local3.m_sweep.a) - m_refAngle); _local26 = b2Math.b2Clamp(_local26, -(b2Settings.b2_maxAngularCorrection), b2Settings.b2_maxAngularCorrection); var _local27:Number = (-(m_angularMass) * _local26); _local3.m_sweep.a = (_local3.m_sweep.a - (_local3.m_invI * _local27)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4.m_invI * _local27)); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); var _local28:Number = b2Math.b2Abs(_local26); if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local9 = _local3.m_xf.R; _local11 = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); _local12 = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local11) + (_local9.col2.x * _local12)); _local12 = ((_local9.col1.y * _local11) + (_local9.col2.y * _local12)); _local11 = _local10; _local9 = _local4.m_xf.R; _local13 = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); _local14 = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local10 = ((_local9.col1.x * _local13) + (_local9.col2.x * _local14)); _local14 = ((_local9.col1.y * _local13) + (_local9.col2.y * _local14)); _local13 = _local10; _local15 = (_local3.m_sweep.c.x + _local11); _local16 = (_local3.m_sweep.c.y + _local12); _local17 = (_local4.m_sweep.c.x + _local13); _local18 = (_local4.m_sweep.c.y + _local14); _local19 = (_local17 - _local15); _local20 = (_local18 - _local16); _local9 = _local3.m_xf.R; _local29 = ((_local9.col1.x * m_localXAxis1.x) + (_local9.col2.x * m_localXAxis1.y)); _local30 = ((_local9.col1.y * m_localXAxis1.x) + (_local9.col2.y * m_localXAxis1.y)); _local31 = ((_local29 * _local19) + (_local30 * _local20)); _local32 = 0; if (m_limitState == e_equalLimits){ _local1 = b2Math.b2Clamp(_local31, -(b2Settings.b2_maxLinearCorrection), b2Settings.b2_maxLinearCorrection); _local32 = (-(m_motorMass) * _local1); _local25 = b2Math.b2Max(_local25, b2Math.b2Abs(_local26)); } else { if (m_limitState == e_atLowerLimit){ _local1 = (_local31 - m_lowerTranslation); _local25 = b2Math.b2Max(_local25, -(_local1)); _local1 = b2Math.b2Clamp((_local1 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local32 = (-(m_motorMass) * _local1); _local2 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Max((m_limitPositionImpulse + _local32), 0); _local32 = (m_limitPositionImpulse - _local2); } else { if (m_limitState == e_atUpperLimit){ _local1 = (_local31 - m_upperTranslation); _local25 = b2Math.b2Max(_local25, _local1); _local1 = b2Math.b2Clamp((_local1 - b2Settings.b2_linearSlop), 0, b2Settings.b2_maxLinearCorrection); _local32 = (-(m_motorMass) * _local1); _local2 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Min((m_limitPositionImpulse + _local32), 0); _local32 = (m_limitPositionImpulse - _local2); }; }; }; _local3.m_sweep.c.x = (_local3.m_sweep.c.x + ((_local5 * _local32) * m_motorJacobian.linear1.x)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y + ((_local5 * _local32) * m_motorJacobian.linear1.y)); _local3.m_sweep.a = (_local3.m_sweep.a + ((_local7 * _local32) * m_motorJacobian.angular1)); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + ((_local6 * _local32) * m_motorJacobian.linear2.x)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + ((_local6 * _local32) * m_motorJacobian.linear2.y)); _local4.m_sweep.a = (_local4.m_sweep.a + ((_local8 * _local32) * m_motorJacobian.angular2)); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); }; return ((((_local25 <= b2Settings.b2_linearSlop)) && ((_local28 <= b2Settings.b2_angularSlop)))); } public function SetMotorSpeed(_arg1:Number):void{ m_motorSpeed = _arg1; } public function GetJointSpeed():Number{ var _local3:b2Mat22; var _local1:b2Body = m_body1; var _local2:b2Body = m_body2; _local3 = _local1.m_xf.R; var _local4:Number = (m_localAnchor1.x - _local1.m_sweep.localCenter.x); var _local5:Number = (m_localAnchor1.y - _local1.m_sweep.localCenter.y); var _local6:Number = ((_local3.col1.x * _local4) + (_local3.col2.x * _local5)); _local5 = ((_local3.col1.y * _local4) + (_local3.col2.y * _local5)); _local4 = _local6; _local3 = _local2.m_xf.R; var _local7:Number = (m_localAnchor2.x - _local2.m_sweep.localCenter.x); var _local8:Number = (m_localAnchor2.y - _local2.m_sweep.localCenter.y); _local6 = ((_local3.col1.x * _local7) + (_local3.col2.x * _local8)); _local8 = ((_local3.col1.y * _local7) + (_local3.col2.y * _local8)); _local7 = _local6; var _local9:Number = (_local1.m_sweep.c.x + _local4); var _local10:Number = (_local1.m_sweep.c.y + _local5); var _local11:Number = (_local2.m_sweep.c.x + _local7); var _local12:Number = (_local2.m_sweep.c.y + _local8); var _local13:Number = (_local11 - _local9); var _local14:Number = (_local12 - _local10); var _local15:b2Vec2 = _local1.GetWorldVector(m_localXAxis1); var _local16:b2Vec2 = _local1.m_linearVelocity; var _local17:b2Vec2 = _local2.m_linearVelocity; var _local18:Number = _local1.m_angularVelocity; var _local19:Number = _local2.m_angularVelocity; var _local20:Number = (((_local13 * (-(_local18) * _local15.y)) + (_local14 * (_local18 * _local15.x))) + ((_local15.x * (((_local17.x + (-(_local19) * _local8)) - _local16.x) - (-(_local18) * _local5))) + (_local15.y * (((_local17.y + (_local19 * _local7)) - _local16.y) - (_local18 * _local4))))); return (_local20); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local4:b2Mat22; var _local5:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local27:Number; var _local28:Number; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; _local4 = _local2.m_xf.R; var _local6:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); var _local7:Number = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local6) + (_local4.col2.x * _local7)); _local7 = ((_local4.col1.y * _local6) + (_local4.col2.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local5; var _local10:Number = _local2.m_invMass; var _local11:Number = _local3.m_invMass; var _local12:Number = _local2.m_invI; var _local13:Number = _local3.m_invI; _local4 = _local2.m_xf.R; var _local14:Number = ((_local4.col1.x * m_localYAxis1.x) + (_local4.col2.x * m_localYAxis1.y)); var _local15:Number = ((_local4.col1.y * m_localYAxis1.x) + (_local4.col2.y * m_localYAxis1.y)); var _local16:Number = ((_local3.m_sweep.c.x + _local8) - _local2.m_sweep.c.x); var _local17:Number = ((_local3.m_sweep.c.y + _local9) - _local2.m_sweep.c.y); m_linearJacobian.linear1.x = -(_local14); m_linearJacobian.linear1.y = -(_local15); m_linearJacobian.linear2.x = _local14; m_linearJacobian.linear2.y = _local15; m_linearJacobian.angular1 = -(((_local16 * _local15) - (_local17 * _local14))); m_linearJacobian.angular2 = ((_local8 * _local15) - (_local9 * _local14)); m_linearMass = (((_local10 + ((_local12 * m_linearJacobian.angular1) * m_linearJacobian.angular1)) + _local11) + ((_local13 * m_linearJacobian.angular2) * m_linearJacobian.angular2)); m_linearMass = (1 / m_linearMass); m_angularMass = (_local12 + _local13); if (m_angularMass > Number.MIN_VALUE){ m_angularMass = (1 / m_angularMass); }; if (((m_enableLimit) || (m_enableMotor))){ _local4 = _local2.m_xf.R; _local18 = ((_local4.col1.x * m_localXAxis1.x) + (_local4.col2.x * m_localXAxis1.y)); _local19 = ((_local4.col1.y * m_localXAxis1.x) + (_local4.col2.y * m_localXAxis1.y)); m_motorJacobian.linear1.x = -(_local18); m_motorJacobian.linear1.y = -(_local19); m_motorJacobian.linear2.x = _local18; m_motorJacobian.linear2.y = _local19; m_motorJacobian.angular1 = -(((_local16 * _local19) - (_local17 * _local18))); m_motorJacobian.angular2 = ((_local8 * _local19) - (_local9 * _local18)); m_motorMass = (((_local10 + ((_local12 * m_motorJacobian.angular1) * m_motorJacobian.angular1)) + _local11) + ((_local13 * m_motorJacobian.angular2) * m_motorJacobian.angular2)); m_motorMass = (1 / m_motorMass); if (m_enableLimit){ _local20 = (_local16 - _local6); _local21 = (_local17 - _local7); _local22 = ((_local18 * _local20) + (_local19 * _local21)); if (b2Math.b2Abs((m_upperTranslation - m_lowerTranslation)) < (2 * b2Settings.b2_linearSlop)){ m_limitState = e_equalLimits; } else { if (_local22 <= m_lowerTranslation){ if (m_limitState != e_atLowerLimit){ m_limitForce = 0; }; m_limitState = e_atLowerLimit; } else { if (_local22 >= m_upperTranslation){ if (m_limitState != e_atUpperLimit){ m_limitForce = 0; }; m_limitState = e_atUpperLimit; } else { m_limitState = e_inactiveLimit; m_limitForce = 0; }; }; }; }; }; if (m_enableMotor == false){ m_motorForce = 0; }; if (m_enableLimit == false){ m_limitForce = 0; }; if (_arg1.warmStarting){ _local23 = (_arg1.dt * ((m_force * m_linearJacobian.linear1.x) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear1.x))); _local24 = (_arg1.dt * ((m_force * m_linearJacobian.linear1.y) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear1.y))); _local25 = (_arg1.dt * ((m_force * m_linearJacobian.linear2.x) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear2.x))); _local26 = (_arg1.dt * ((m_force * m_linearJacobian.linear2.y) + ((m_motorForce + m_limitForce) * m_motorJacobian.linear2.y))); _local27 = (_arg1.dt * (((m_force * m_linearJacobian.angular1) - m_torque) + ((m_motorForce + m_limitForce) * m_motorJacobian.angular1))); _local28 = (_arg1.dt * (((m_force * m_linearJacobian.angular2) + m_torque) + ((m_motorForce + m_limitForce) * m_motorJacobian.angular2))); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local10 * _local23)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local10 * _local24)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local12 * _local27)); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local11 * _local25)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local11 * _local26)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local13 * _local28)); } else { m_force = 0; m_torque = 0; m_limitForce = 0; m_motorForce = 0; }; m_limitPositionImpulse = 0; } public function GetMotorForce():Number{ return (m_motorForce); } public function EnableLimit(_arg1:Boolean):void{ m_enableLimit = _arg1; } public function SetMaxMotorForce(_arg1:Number):void{ m_maxMotorForce = _arg1; } override public function GetReactionTorque():Number{ return (m_torque); } public function IsLimitEnabled():Boolean{ return (m_enableLimit); } public function IsMotorEnabled():Boolean{ return (m_enableMotor); } public function SetLimits(_arg1:Number, _arg2:Number):void{ m_lowerTranslation = _arg1; m_upperTranslation = _arg2; } } }//package Box2D.Dynamics.Joints
Section 59
//b2PrismaticJointDef (Box2D.Dynamics.Joints.b2PrismaticJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2PrismaticJointDef extends b2JointDef { public var motorSpeed:Number; public var localAxis1:b2Vec2; public var referenceAngle:Number; public var upperTranslation:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var enableLimit:Boolean; public var enableMotor:Boolean; public var maxMotorForce:Number; public var lowerTranslation:Number; public function b2PrismaticJointDef(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); localAxis1 = new b2Vec2(); super(); type = b2Joint.e_prismaticJoint; localAxis1.Set(1, 0); referenceAngle = 0; enableLimit = false; lowerTranslation = 0; upperTranslation = 0; enableMotor = false; maxMotorForce = 0; motorSpeed = 0; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2, _arg4:b2Vec2):void{ body1 = _arg1; body2 = _arg2; localAnchor1 = body1.GetLocalPoint(_arg3); localAnchor2 = body2.GetLocalPoint(_arg3); localAxis1 = body1.GetLocalVector(_arg4); referenceAngle = (body2.GetAngle() - body1.GetAngle()); } } }//package Box2D.Dynamics.Joints
Section 60
//b2PulleyJoint (Box2D.Dynamics.Joints.b2PulleyJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Dynamics.*; public class b2PulleyJoint extends b2Joint { public var m_limitState1:int; public var m_limitState2:int; public var m_ground:b2Body; public var m_maxLength2:Number; public var m_maxLength1:Number; public var m_limitPositionImpulse1:Number; public var m_limitPositionImpulse2:Number; public var m_force:Number; public var m_constant:Number; public var m_positionImpulse:Number; public var m_state:int; public var m_ratio:Number; public var m_groundAnchor1:b2Vec2; public var m_groundAnchor2:b2Vec2; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; public var m_limitMass1:Number; public var m_limitMass2:Number; public var m_pulleyMass:Number; public var m_u1:b2Vec2; public var m_limitForce1:Number; public var m_limitForce2:Number; public var m_u2:b2Vec2; public static const b2_minPulleyLength:Number = 2; public function b2PulleyJoint(_arg1:b2PulleyJointDef){ var _local2:b2Mat22; var _local3:Number; var _local4:Number; m_groundAnchor1 = new b2Vec2(); m_groundAnchor2 = new b2Vec2(); m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_u1 = new b2Vec2(); m_u2 = new b2Vec2(); super(_arg1); m_ground = m_body1.m_world.m_groundBody; m_groundAnchor1.x = (_arg1.groundAnchor1.x - m_ground.m_xf.position.x); m_groundAnchor1.y = (_arg1.groundAnchor1.y - m_ground.m_xf.position.y); m_groundAnchor2.x = (_arg1.groundAnchor2.x - m_ground.m_xf.position.x); m_groundAnchor2.y = (_arg1.groundAnchor2.y - m_ground.m_xf.position.y); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_ratio = _arg1.ratio; m_constant = (_arg1.length1 + (m_ratio * _arg1.length2)); m_maxLength1 = b2Math.b2Min(_arg1.maxLength1, (m_constant - (m_ratio * b2_minPulleyLength))); m_maxLength2 = b2Math.b2Min(_arg1.maxLength2, ((m_constant - b2_minPulleyLength) / m_ratio)); m_force = 0; m_limitForce1 = 0; m_limitForce2 = 0; } public function GetGroundAnchor2():b2Vec2{ var _local1:b2Vec2 = m_ground.m_xf.position.Copy(); _local1.Add(m_groundAnchor2); return (_local1); } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } override public function GetReactionForce():b2Vec2{ var _local1:b2Vec2 = m_u2.Copy(); _local1.Multiply(m_force); return (_local1); } override public function SolvePositionConstraints():Boolean{ var _local3:b2Mat22; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:Number; var _local1:b2Body = m_body1; var _local2:b2Body = m_body2; var _local4:Number = (m_ground.m_xf.position.x + m_groundAnchor1.x); var _local5:Number = (m_ground.m_xf.position.y + m_groundAnchor1.y); var _local6:Number = (m_ground.m_xf.position.x + m_groundAnchor2.x); var _local7:Number = (m_ground.m_xf.position.y + m_groundAnchor2.y); var _local23:Number = 0; if (m_state == e_atUpperLimit){ _local3 = _local1.m_xf.R; _local8 = (m_localAnchor1.x - _local1.m_sweep.localCenter.x); _local9 = (m_localAnchor1.y - _local1.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local8) + (_local3.col2.x * _local9)); _local9 = ((_local3.col1.y * _local8) + (_local3.col2.y * _local9)); _local8 = _local22; _local3 = _local2.m_xf.R; _local10 = (m_localAnchor2.x - _local2.m_sweep.localCenter.x); _local11 = (m_localAnchor2.y - _local2.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local10) + (_local3.col2.x * _local11)); _local11 = ((_local3.col1.y * _local10) + (_local3.col2.y * _local11)); _local10 = _local22; _local12 = (_local1.m_sweep.c.x + _local8); _local13 = (_local1.m_sweep.c.y + _local9); _local14 = (_local2.m_sweep.c.x + _local10); _local15 = (_local2.m_sweep.c.y + _local11); m_u1.Set((_local12 - _local4), (_local13 - _local5)); m_u2.Set((_local14 - _local6), (_local15 - _local7)); _local16 = m_u1.Length(); _local17 = m_u2.Length(); if (_local16 > b2Settings.b2_linearSlop){ m_u1.Multiply((1 / _local16)); } else { m_u1.SetZero(); }; if (_local17 > b2Settings.b2_linearSlop){ m_u2.Multiply((1 / _local17)); } else { m_u2.SetZero(); }; _local18 = ((m_constant - _local16) - (m_ratio * _local17)); _local23 = b2Math.b2Max(_local23, -(_local18)); _local18 = b2Math.b2Clamp((_local18 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local19 = (-(m_pulleyMass) * _local18); _local20 = m_positionImpulse; m_positionImpulse = b2Math.b2Max(0, (m_positionImpulse + _local19)); _local19 = (m_positionImpulse - _local20); _local12 = (-(_local19) * m_u1.x); _local13 = (-(_local19) * m_u1.y); _local14 = ((-(m_ratio) * _local19) * m_u2.x); _local15 = ((-(m_ratio) * _local19) * m_u2.y); _local1.m_sweep.c.x = (_local1.m_sweep.c.x + (_local1.m_invMass * _local12)); _local1.m_sweep.c.y = (_local1.m_sweep.c.y + (_local1.m_invMass * _local13)); _local1.m_sweep.a = (_local1.m_sweep.a + (_local1.m_invI * ((_local8 * _local13) - (_local9 * _local12)))); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + (_local2.m_invMass * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + (_local2.m_invMass * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a + (_local2.m_invI * ((_local10 * _local15) - (_local11 * _local14)))); _local1.SynchronizeTransform(); _local2.SynchronizeTransform(); }; if (m_limitState1 == e_atUpperLimit){ _local3 = _local1.m_xf.R; _local8 = (m_localAnchor1.x - _local1.m_sweep.localCenter.x); _local9 = (m_localAnchor1.y - _local1.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local8) + (_local3.col2.x * _local9)); _local9 = ((_local3.col1.y * _local8) + (_local3.col2.y * _local9)); _local8 = _local22; _local12 = (_local1.m_sweep.c.x + _local8); _local13 = (_local1.m_sweep.c.y + _local9); m_u1.Set((_local12 - _local4), (_local13 - _local5)); _local16 = m_u1.Length(); if (_local16 > b2Settings.b2_linearSlop){ m_u1.x = (m_u1.x * (1 / _local16)); m_u1.y = (m_u1.y * (1 / _local16)); } else { m_u1.SetZero(); }; _local18 = (m_maxLength1 - _local16); _local23 = b2Math.b2Max(_local23, -(_local18)); _local18 = b2Math.b2Clamp((_local18 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local19 = (-(m_limitMass1) * _local18); _local21 = m_limitPositionImpulse1; m_limitPositionImpulse1 = b2Math.b2Max(0, (m_limitPositionImpulse1 + _local19)); _local19 = (m_limitPositionImpulse1 - _local21); _local12 = (-(_local19) * m_u1.x); _local13 = (-(_local19) * m_u1.y); _local1.m_sweep.c.x = (_local1.m_sweep.c.x + (_local1.m_invMass * _local12)); _local1.m_sweep.c.y = (_local1.m_sweep.c.y + (_local1.m_invMass * _local13)); _local1.m_sweep.a = (_local1.m_sweep.a + (_local1.m_invI * ((_local8 * _local13) - (_local9 * _local12)))); _local1.SynchronizeTransform(); }; if (m_limitState2 == e_atUpperLimit){ _local3 = _local2.m_xf.R; _local10 = (m_localAnchor2.x - _local2.m_sweep.localCenter.x); _local11 = (m_localAnchor2.y - _local2.m_sweep.localCenter.y); _local22 = ((_local3.col1.x * _local10) + (_local3.col2.x * _local11)); _local11 = ((_local3.col1.y * _local10) + (_local3.col2.y * _local11)); _local10 = _local22; _local14 = (_local2.m_sweep.c.x + _local10); _local15 = (_local2.m_sweep.c.y + _local11); m_u2.Set((_local14 - _local6), (_local15 - _local7)); _local17 = m_u2.Length(); if (_local17 > b2Settings.b2_linearSlop){ m_u2.x = (m_u2.x * (1 / _local17)); m_u2.y = (m_u2.y * (1 / _local17)); } else { m_u2.SetZero(); }; _local18 = (m_maxLength2 - _local17); _local23 = b2Math.b2Max(_local23, -(_local18)); _local18 = b2Math.b2Clamp((_local18 + b2Settings.b2_linearSlop), -(b2Settings.b2_maxLinearCorrection), 0); _local19 = (-(m_limitMass2) * _local18); _local21 = m_limitPositionImpulse2; m_limitPositionImpulse2 = b2Math.b2Max(0, (m_limitPositionImpulse2 + _local19)); _local19 = (m_limitPositionImpulse2 - _local21); _local14 = (-(_local19) * m_u2.x); _local15 = (-(_local19) * m_u2.y); _local2.m_sweep.c.x = (_local2.m_sweep.c.x + (_local2.m_invMass * _local14)); _local2.m_sweep.c.y = (_local2.m_sweep.c.y + (_local2.m_invMass * _local15)); _local2.m_sweep.a = (_local2.m_sweep.a + (_local2.m_invI * ((_local10 * _local15) - (_local11 * _local14)))); _local2.SynchronizeTransform(); }; return ((_local23 < b2Settings.b2_linearSlop)); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local4:b2Mat22; var _local23:Number; var _local24:Number; var _local25:Number; var _local26:Number; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; _local4 = _local2.m_xf.R; var _local5:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); var _local6:Number = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); var _local7:Number = ((_local4.col1.x * _local5) + (_local4.col2.x * _local6)); _local6 = ((_local4.col1.y * _local5) + (_local4.col2.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local7 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local7; var _local10:Number = (_local2.m_sweep.c.x + _local5); var _local11:Number = (_local2.m_sweep.c.y + _local6); var _local12:Number = (_local3.m_sweep.c.x + _local8); var _local13:Number = (_local3.m_sweep.c.y + _local9); var _local14:Number = (m_ground.m_xf.position.x + m_groundAnchor1.x); var _local15:Number = (m_ground.m_xf.position.y + m_groundAnchor1.y); var _local16:Number = (m_ground.m_xf.position.x + m_groundAnchor2.x); var _local17:Number = (m_ground.m_xf.position.y + m_groundAnchor2.y); m_u1.Set((_local10 - _local14), (_local11 - _local15)); m_u2.Set((_local12 - _local16), (_local13 - _local17)); var _local18:Number = m_u1.Length(); var _local19:Number = m_u2.Length(); if (_local18 > b2Settings.b2_linearSlop){ m_u1.Multiply((1 / _local18)); } else { m_u1.SetZero(); }; if (_local19 > b2Settings.b2_linearSlop){ m_u2.Multiply((1 / _local19)); } else { m_u2.SetZero(); }; var _local20:Number = ((m_constant - _local18) - (m_ratio * _local19)); if (_local20 > 0){ m_state = e_inactiveLimit; m_force = 0; } else { m_state = e_atUpperLimit; m_positionImpulse = 0; }; if (_local18 < m_maxLength1){ m_limitState1 = e_inactiveLimit; m_limitForce1 = 0; } else { m_limitState1 = e_atUpperLimit; m_limitPositionImpulse1 = 0; }; if (_local19 < m_maxLength2){ m_limitState2 = e_inactiveLimit; m_limitForce2 = 0; } else { m_limitState2 = e_atUpperLimit; m_limitPositionImpulse2 = 0; }; var _local21:Number = ((_local5 * m_u1.y) - (_local6 * m_u1.x)); var _local22:Number = ((_local8 * m_u2.y) - (_local9 * m_u2.x)); m_limitMass1 = (_local2.m_invMass + ((_local2.m_invI * _local21) * _local21)); m_limitMass2 = (_local3.m_invMass + ((_local3.m_invI * _local22) * _local22)); m_pulleyMass = (m_limitMass1 + ((m_ratio * m_ratio) * m_limitMass2)); m_limitMass1 = (1 / m_limitMass1); m_limitMass2 = (1 / m_limitMass2); m_pulleyMass = (1 / m_pulleyMass); if (_arg1.warmStarting){ _local23 = ((_arg1.dt * (-(m_force) - m_limitForce1)) * m_u1.x); _local24 = ((_arg1.dt * (-(m_force) - m_limitForce1)) * m_u1.y); _local25 = ((_arg1.dt * ((-(m_ratio) * m_force) - m_limitForce2)) * m_u2.x); _local26 = ((_arg1.dt * ((-(m_ratio) * m_force) - m_limitForce2)) * m_u2.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local23)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local24)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local5 * _local24) - (_local6 * _local23)))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local25)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local26)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local8 * _local26) - (_local9 * _local25)))); } else { m_force = 0; m_limitForce1 = 0; m_limitForce2 = 0; }; } override public function GetReactionTorque():Number{ return (0); } public function GetRatio():Number{ return (m_ratio); } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local4:b2Mat22; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; _local4 = _local2.m_xf.R; var _local5:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); var _local6:Number = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); var _local7:Number = ((_local4.col1.x * _local5) + (_local4.col2.x * _local6)); _local6 = ((_local4.col1.y * _local5) + (_local4.col2.y * _local6)); _local5 = _local7; _local4 = _local3.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local7 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local7; if (m_state == e_atUpperLimit){ _local10 = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local6)); _local11 = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local5)); _local12 = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local9)); _local13 = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local8)); _local18 = (-(((m_u1.x * _local10) + (m_u1.y * _local11))) - (m_ratio * ((m_u2.x * _local12) + (m_u2.y * _local13)))); _local19 = ((-(_arg1.inv_dt) * m_pulleyMass) * _local18); _local20 = m_force; m_force = b2Math.b2Max(0, (m_force + _local19)); _local19 = (m_force - _local20); _local14 = ((-(_arg1.dt) * _local19) * m_u1.x); _local15 = ((-(_arg1.dt) * _local19) * m_u1.y); _local16 = (((-(_arg1.dt) * m_ratio) * _local19) * m_u2.x); _local17 = (((-(_arg1.dt) * m_ratio) * _local19) * m_u2.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local14)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local15)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local5 * _local15) - (_local6 * _local14)))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local16)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local8 * _local17) - (_local9 * _local16)))); }; if (m_limitState1 == e_atUpperLimit){ _local10 = (_local2.m_linearVelocity.x + (-(_local2.m_angularVelocity) * _local6)); _local11 = (_local2.m_linearVelocity.y + (_local2.m_angularVelocity * _local5)); _local18 = -(((m_u1.x * _local10) + (m_u1.y * _local11))); _local19 = ((-(_arg1.inv_dt) * m_limitMass1) * _local18); _local20 = m_limitForce1; m_limitForce1 = b2Math.b2Max(0, (m_limitForce1 + _local19)); _local19 = (m_limitForce1 - _local20); _local14 = ((-(_arg1.dt) * _local19) * m_u1.x); _local15 = ((-(_arg1.dt) * _local19) * m_u1.y); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x + (_local2.m_invMass * _local14)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y + (_local2.m_invMass * _local15)); _local2.m_angularVelocity = (_local2.m_angularVelocity + (_local2.m_invI * ((_local5 * _local15) - (_local6 * _local14)))); }; if (m_limitState2 == e_atUpperLimit){ _local12 = (_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local9)); _local13 = (_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local8)); _local18 = -(((m_u2.x * _local12) + (m_u2.y * _local13))); _local19 = ((-(_arg1.inv_dt) * m_limitMass2) * _local18); _local20 = m_limitForce2; m_limitForce2 = b2Math.b2Max(0, (m_limitForce2 + _local19)); _local19 = (m_limitForce2 - _local20); _local16 = ((-(_arg1.dt) * _local19) * m_u2.x); _local17 = ((-(_arg1.dt) * _local19) * m_u2.y); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local16)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local17)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local8 * _local17) - (_local9 * _local16)))); }; } public function GetLength1():Number{ var _local1:b2Vec2 = m_body1.GetWorldPoint(m_localAnchor1); var _local2:Number = (m_ground.m_xf.position.x + m_groundAnchor1.x); var _local3:Number = (m_ground.m_xf.position.y + m_groundAnchor1.y); var _local4:Number = (_local1.x - _local2); var _local5:Number = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } public function GetLength2():Number{ var _local1:b2Vec2 = m_body2.GetWorldPoint(m_localAnchor2); var _local2:Number = (m_ground.m_xf.position.x + m_groundAnchor2.x); var _local3:Number = (m_ground.m_xf.position.y + m_groundAnchor2.y); var _local4:Number = (_local1.x - _local2); var _local5:Number = (_local1.y - _local3); return (Math.sqrt(((_local4 * _local4) + (_local5 * _local5)))); } public function GetGroundAnchor1():b2Vec2{ var _local1:b2Vec2 = m_ground.m_xf.position.Copy(); _local1.Add(m_groundAnchor1); return (_local1); } } }//package Box2D.Dynamics.Joints
Section 61
//b2PulleyJointDef (Box2D.Dynamics.Joints.b2PulleyJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2PulleyJointDef extends b2JointDef { public var maxLength1:Number; public var maxLength2:Number; public var length1:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var groundAnchor1:b2Vec2; public var groundAnchor2:b2Vec2; public var ratio:Number; public var length2:Number; public function b2PulleyJointDef(){ groundAnchor1 = new b2Vec2(); groundAnchor2 = new b2Vec2(); localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); super(); type = b2Joint.e_pulleyJoint; groundAnchor1.Set(-1, 1); groundAnchor2.Set(1, 1); localAnchor1.Set(-1, 0); localAnchor2.Set(1, 0); length1 = 0; maxLength1 = 0; length2 = 0; maxLength2 = 0; ratio = 1; collideConnected = true; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2, _arg4:b2Vec2, _arg5:b2Vec2, _arg6:b2Vec2, _arg7:Number):void{ body1 = _arg1; body2 = _arg2; groundAnchor1.SetV(_arg3); groundAnchor2.SetV(_arg4); localAnchor1 = body1.GetLocalPoint(_arg5); localAnchor2 = body2.GetLocalPoint(_arg6); var _local8:Number = (_arg5.x - _arg3.x); var _local9:Number = (_arg5.y - _arg3.y); length1 = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); var _local10:Number = (_arg6.x - _arg4.x); var _local11:Number = (_arg6.y - _arg4.y); length2 = Math.sqrt(((_local10 * _local10) + (_local11 * _local11))); ratio = _arg7; var _local12:Number = (length1 + (ratio * length2)); maxLength1 = (_local12 - (ratio * b2PulleyJoint.b2_minPulleyLength)); maxLength2 = ((_local12 - b2PulleyJoint.b2_minPulleyLength) / ratio); } } }//package Box2D.Dynamics.Joints
Section 62
//b2RevoluteJoint (Box2D.Dynamics.Joints.b2RevoluteJoint) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Dynamics.*; public class b2RevoluteJoint extends b2Joint { public var m_limitForce:Number; public var m_pivotMass:b2Mat22; public var m_motorForce:Number; public var m_enableLimit:Boolean; public var m_limitState:int; public var m_motorMass:Number; public var m_localAnchor1:b2Vec2; public var m_localAnchor2:b2Vec2; private var K1:b2Mat22; private var K2:b2Mat22; private var K3:b2Mat22; private var K:b2Mat22; public var m_pivotForce:b2Vec2; public var m_enableMotor:Boolean; public var m_referenceAngle:Number; public var m_limitPositionImpulse:Number; public var m_motorSpeed:Number; public var m_upperAngle:Number; public var m_lowerAngle:Number; public var m_maxMotorTorque:Number; public static var tImpulse:b2Vec2 = new b2Vec2(); public function b2RevoluteJoint(_arg1:b2RevoluteJointDef){ K = new b2Mat22(); K1 = new b2Mat22(); K2 = new b2Mat22(); K3 = new b2Mat22(); m_localAnchor1 = new b2Vec2(); m_localAnchor2 = new b2Vec2(); m_pivotForce = new b2Vec2(); m_pivotMass = new b2Mat22(); super(_arg1); m_localAnchor1.SetV(_arg1.localAnchor1); m_localAnchor2.SetV(_arg1.localAnchor2); m_referenceAngle = _arg1.referenceAngle; m_pivotForce.Set(0, 0); m_motorForce = 0; m_limitForce = 0; m_limitPositionImpulse = 0; m_lowerAngle = _arg1.lowerAngle; m_upperAngle = _arg1.upperAngle; m_maxMotorTorque = _arg1.maxMotorTorque; m_motorSpeed = _arg1.motorSpeed; m_enableLimit = _arg1.enableLimit; m_enableMotor = _arg1.enableMotor; } override public function SolveVelocityConstraints(_arg1:b2TimeStep):void{ var _local4:b2Mat22; var _local5:Number; var _local10:Number; var _local16:Number; var _local17:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local2:b2Body = m_body1; var _local3:b2Body = m_body2; _local4 = _local2.m_xf.R; var _local6:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); var _local7:Number = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local6) + (_local4.col2.x * _local7)); _local7 = ((_local4.col1.y * _local6) + (_local4.col2.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local5; var _local11:Number = (((_local3.m_linearVelocity.x + (-(_local3.m_angularVelocity) * _local9)) - _local2.m_linearVelocity.x) - (-(_local2.m_angularVelocity) * _local7)); var _local12:Number = (((_local3.m_linearVelocity.y + (_local3.m_angularVelocity * _local8)) - _local2.m_linearVelocity.y) - (_local2.m_angularVelocity * _local6)); var _local13:Number = (-(_arg1.inv_dt) * ((m_pivotMass.col1.x * _local11) + (m_pivotMass.col2.x * _local12))); var _local14:Number = (-(_arg1.inv_dt) * ((m_pivotMass.col1.y * _local11) + (m_pivotMass.col2.y * _local12))); m_pivotForce.x = (m_pivotForce.x + _local13); m_pivotForce.y = (m_pivotForce.y + _local14); var _local15:Number = (_arg1.dt * _local13); _local16 = (_arg1.dt * _local14); _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x - (_local2.m_invMass * _local15)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y - (_local2.m_invMass * _local16)); _local2.m_angularVelocity = (_local2.m_angularVelocity - (_local2.m_invI * ((_local6 * _local16) - (_local7 * _local15)))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + (_local3.m_invMass * _local15)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + (_local3.m_invMass * _local16)); _local3.m_angularVelocity = (_local3.m_angularVelocity + (_local3.m_invI * ((_local8 * _local16) - (_local9 * _local15)))); if (((m_enableMotor) && (!((m_limitState == e_equalLimits))))){ _local17 = ((_local3.m_angularVelocity - _local2.m_angularVelocity) - m_motorSpeed); _local18 = ((-(_arg1.inv_dt) * m_motorMass) * _local17); _local19 = m_motorForce; m_motorForce = b2Math.b2Clamp((m_motorForce + _local18), -(m_maxMotorTorque), m_maxMotorTorque); _local18 = (m_motorForce - _local19); _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_local2.m_invI * _arg1.dt) * _local18)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3.m_invI * _arg1.dt) * _local18)); }; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local20 = (_local3.m_angularVelocity - _local2.m_angularVelocity); _local21 = ((-(_arg1.inv_dt) * m_motorMass) * _local20); if (m_limitState == e_equalLimits){ m_limitForce = (m_limitForce + _local21); } else { if (m_limitState == e_atLowerLimit){ _local10 = m_limitForce; m_limitForce = b2Math.b2Max((m_limitForce + _local21), 0); _local21 = (m_limitForce - _local10); } else { if (m_limitState == e_atUpperLimit){ _local10 = m_limitForce; m_limitForce = b2Math.b2Min((m_limitForce + _local21), 0); _local21 = (m_limitForce - _local10); }; }; }; _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_local2.m_invI * _arg1.dt) * _local21)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_local3.m_invI * _arg1.dt) * _local21)); }; } override public function GetAnchor1():b2Vec2{ return (m_body1.GetWorldPoint(m_localAnchor1)); } override public function GetAnchor2():b2Vec2{ return (m_body2.GetWorldPoint(m_localAnchor2)); } public function GetUpperLimit():Number{ return (m_upperAngle); } public function GetLowerLimit():Number{ return (m_lowerAngle); } public function EnableMotor(_arg1:Boolean):void{ m_enableMotor = _arg1; } public function GetMotorSpeed():Number{ return (m_motorSpeed); } override public function GetReactionForce():b2Vec2{ return (m_pivotForce); } override public function SolvePositionConstraints():Boolean{ var _local1:Number; var _local2:Number; var _local6:b2Mat22; var _local25:Number; var _local26:Number; var _local3:b2Body = m_body1; var _local4:b2Body = m_body2; var _local5:Number = 0; _local6 = _local3.m_xf.R; var _local7:Number = (m_localAnchor1.x - _local3.m_sweep.localCenter.x); var _local8:Number = (m_localAnchor1.y - _local3.m_sweep.localCenter.y); var _local9:Number = ((_local6.col1.x * _local7) + (_local6.col2.x * _local8)); _local8 = ((_local6.col1.y * _local7) + (_local6.col2.y * _local8)); _local7 = _local9; _local6 = _local4.m_xf.R; var _local10:Number = (m_localAnchor2.x - _local4.m_sweep.localCenter.x); var _local11:Number = (m_localAnchor2.y - _local4.m_sweep.localCenter.y); _local9 = ((_local6.col1.x * _local10) + (_local6.col2.x * _local11)); _local11 = ((_local6.col1.y * _local10) + (_local6.col2.y * _local11)); _local10 = _local9; var _local12:Number = (_local3.m_sweep.c.x + _local7); var _local13:Number = (_local3.m_sweep.c.y + _local8); var _local14:Number = (_local4.m_sweep.c.x + _local10); var _local15:Number = (_local4.m_sweep.c.y + _local11); var _local16:Number = (_local14 - _local12); var _local17:Number = (_local15 - _local13); _local5 = Math.sqrt(((_local16 * _local16) + (_local17 * _local17))); var _local18:Number = _local3.m_invMass; var _local19:Number = _local4.m_invMass; var _local20:Number = _local3.m_invI; var _local21:Number = _local4.m_invI; K1.col1.x = (_local18 + _local19); K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = (_local18 + _local19); K2.col1.x = ((_local20 * _local8) * _local8); K2.col2.x = ((-(_local20) * _local7) * _local8); K2.col1.y = ((-(_local20) * _local7) * _local8); K2.col2.y = ((_local20 * _local7) * _local7); K3.col1.x = ((_local21 * _local11) * _local11); K3.col2.x = ((-(_local21) * _local10) * _local11); K3.col1.y = ((-(_local21) * _local10) * _local11); K3.col2.y = ((_local21 * _local10) * _local10); K.SetM(K1); K.AddM(K2); K.AddM(K3); K.Solve(tImpulse, -(_local16), -(_local17)); var _local22:Number = tImpulse.x; var _local23:Number = tImpulse.y; _local3.m_sweep.c.x = (_local3.m_sweep.c.x - (_local3.m_invMass * _local22)); _local3.m_sweep.c.y = (_local3.m_sweep.c.y - (_local3.m_invMass * _local23)); _local3.m_sweep.a = (_local3.m_sweep.a - (_local3.m_invI * ((_local7 * _local23) - (_local8 * _local22)))); _local4.m_sweep.c.x = (_local4.m_sweep.c.x + (_local4.m_invMass * _local22)); _local4.m_sweep.c.y = (_local4.m_sweep.c.y + (_local4.m_invMass * _local23)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4.m_invI * ((_local10 * _local23) - (_local11 * _local22)))); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); var _local24:Number = 0; if (((m_enableLimit) && (!((m_limitState == e_inactiveLimit))))){ _local25 = ((_local4.m_sweep.a - _local3.m_sweep.a) - m_referenceAngle); _local26 = 0; if (m_limitState == e_equalLimits){ _local2 = b2Math.b2Clamp(_local25, -(b2Settings.b2_maxAngularCorrection), b2Settings.b2_maxAngularCorrection); _local26 = (-(m_motorMass) * _local2); _local24 = b2Math.b2Abs(_local2); } else { if (m_limitState == e_atLowerLimit){ _local2 = (_local25 - m_lowerAngle); _local24 = b2Math.b2Max(0, -(_local2)); _local2 = b2Math.b2Clamp((_local2 + b2Settings.b2_angularSlop), -(b2Settings.b2_maxAngularCorrection), 0); _local26 = (-(m_motorMass) * _local2); _local1 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Max((m_limitPositionImpulse + _local26), 0); _local26 = (m_limitPositionImpulse - _local1); } else { if (m_limitState == e_atUpperLimit){ _local2 = (_local25 - m_upperAngle); _local24 = b2Math.b2Max(0, _local2); _local2 = b2Math.b2Clamp((_local2 - b2Settings.b2_angularSlop), 0, b2Settings.b2_maxAngularCorrection); _local26 = (-(m_motorMass) * _local2); _local1 = m_limitPositionImpulse; m_limitPositionImpulse = b2Math.b2Min((m_limitPositionImpulse + _local26), 0); _local26 = (m_limitPositionImpulse - _local1); }; }; }; _local3.m_sweep.a = (_local3.m_sweep.a - (_local3.m_invI * _local26)); _local4.m_sweep.a = (_local4.m_sweep.a + (_local4.m_invI * _local26)); _local3.SynchronizeTransform(); _local4.SynchronizeTransform(); }; return ((((_local5 <= b2Settings.b2_linearSlop)) && ((_local24 <= b2Settings.b2_angularSlop)))); } public function SetMotorSpeed(_arg1:Number):void{ m_motorSpeed = _arg1; } public function GetJointSpeed():Number{ return ((m_body2.m_angularVelocity - m_body1.m_angularVelocity)); } public function SetMaxMotorTorque(_arg1:Number):void{ m_maxMotorTorque = _arg1; } public function GetJointAngle():Number{ return (((m_body2.m_sweep.a - m_body1.m_sweep.a) - m_referenceAngle)); } public function GetMotorTorque():Number{ return (m_motorForce); } override public function InitVelocityConstraints(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Body; var _local4:b2Mat22; var _local5:Number; var _local7:Number; var _local14:Number; _local2 = m_body1; _local3 = m_body2; _local4 = _local2.m_xf.R; var _local6:Number = (m_localAnchor1.x - _local2.m_sweep.localCenter.x); _local7 = (m_localAnchor1.y - _local2.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local6) + (_local4.col2.x * _local7)); _local7 = ((_local4.col1.y * _local6) + (_local4.col2.y * _local7)); _local6 = _local5; _local4 = _local3.m_xf.R; var _local8:Number = (m_localAnchor2.x - _local3.m_sweep.localCenter.x); var _local9:Number = (m_localAnchor2.y - _local3.m_sweep.localCenter.y); _local5 = ((_local4.col1.x * _local8) + (_local4.col2.x * _local9)); _local9 = ((_local4.col1.y * _local8) + (_local4.col2.y * _local9)); _local8 = _local5; var _local10:Number = _local2.m_invMass; var _local11:Number = _local3.m_invMass; var _local12:Number = _local2.m_invI; var _local13:Number = _local3.m_invI; K1.col1.x = (_local10 + _local11); K1.col2.x = 0; K1.col1.y = 0; K1.col2.y = (_local10 + _local11); K2.col1.x = ((_local12 * _local7) * _local7); K2.col2.x = ((-(_local12) * _local6) * _local7); K2.col1.y = ((-(_local12) * _local6) * _local7); K2.col2.y = ((_local12 * _local6) * _local6); K3.col1.x = ((_local13 * _local9) * _local9); K3.col2.x = ((-(_local13) * _local8) * _local9); K3.col1.y = ((-(_local13) * _local8) * _local9); K3.col2.y = ((_local13 * _local8) * _local8); K.SetM(K1); K.AddM(K2); K.AddM(K3); K.Invert(m_pivotMass); m_motorMass = (1 / (_local12 + _local13)); if (m_enableMotor == false){ m_motorForce = 0; }; if (m_enableLimit){ _local14 = ((_local3.m_sweep.a - _local2.m_sweep.a) - m_referenceAngle); if (b2Math.b2Abs((m_upperAngle - m_lowerAngle)) < (2 * b2Settings.b2_angularSlop)){ m_limitState = e_equalLimits; } else { if (_local14 <= m_lowerAngle){ if (m_limitState != e_atLowerLimit){ m_limitForce = 0; }; m_limitState = e_atLowerLimit; } else { if (_local14 >= m_upperAngle){ if (m_limitState != e_atUpperLimit){ m_limitForce = 0; }; m_limitState = e_atUpperLimit; } else { m_limitState = e_inactiveLimit; m_limitForce = 0; }; }; }; } else { m_limitForce = 0; }; if (_arg1.warmStarting){ _local2.m_linearVelocity.x = (_local2.m_linearVelocity.x - ((_arg1.dt * _local10) * m_pivotForce.x)); _local2.m_linearVelocity.y = (_local2.m_linearVelocity.y - ((_arg1.dt * _local10) * m_pivotForce.y)); _local2.m_angularVelocity = (_local2.m_angularVelocity - ((_arg1.dt * _local12) * ((((_local6 * m_pivotForce.y) - (_local7 * m_pivotForce.x)) + m_motorForce) + m_limitForce))); _local3.m_linearVelocity.x = (_local3.m_linearVelocity.x + ((_arg1.dt * _local11) * m_pivotForce.x)); _local3.m_linearVelocity.y = (_local3.m_linearVelocity.y + ((_arg1.dt * _local11) * m_pivotForce.y)); _local3.m_angularVelocity = (_local3.m_angularVelocity + ((_arg1.dt * _local13) * ((((_local8 * m_pivotForce.y) - (_local9 * m_pivotForce.x)) + m_motorForce) + m_limitForce))); } else { m_pivotForce.SetZero(); m_motorForce = 0; m_limitForce = 0; }; m_limitPositionImpulse = 0; } public function EnableLimit(_arg1:Boolean):void{ m_enableLimit = _arg1; } override public function GetReactionTorque():Number{ return (m_limitForce); } public function IsLimitEnabled():Boolean{ return (m_enableLimit); } public function IsMotorEnabled():Boolean{ return (m_enableMotor); } public function SetLimits(_arg1:Number, _arg2:Number):void{ m_lowerAngle = _arg1; m_upperAngle = _arg2; } } }//package Box2D.Dynamics.Joints
Section 63
//b2RevoluteJointDef (Box2D.Dynamics.Joints.b2RevoluteJointDef) package Box2D.Dynamics.Joints { import Box2D.Common.Math.*; import Box2D.Dynamics.*; public class b2RevoluteJointDef extends b2JointDef { public var upperAngle:Number; public var enableMotor:Boolean; public var referenceAngle:Number; public var motorSpeed:Number; public var localAnchor1:b2Vec2; public var localAnchor2:b2Vec2; public var enableLimit:Boolean; public var lowerAngle:Number; public var maxMotorTorque:Number; public function b2RevoluteJointDef(){ localAnchor1 = new b2Vec2(); localAnchor2 = new b2Vec2(); super(); type = b2Joint.e_revoluteJoint; localAnchor1.Set(0, 0); localAnchor2.Set(0, 0); referenceAngle = 0; lowerAngle = 0; upperAngle = 0; maxMotorTorque = 0; motorSpeed = 0; enableLimit = false; enableMotor = false; } public function Initialize(_arg1:b2Body, _arg2:b2Body, _arg3:b2Vec2):void{ body1 = _arg1; body2 = _arg2; localAnchor1 = body1.GetLocalPoint(_arg3); localAnchor2 = body2.GetLocalPoint(_arg3); referenceAngle = (body2.GetAngle() - body1.GetAngle()); } } }//package Box2D.Dynamics.Joints
Section 64
//b2Body (Box2D.Dynamics.b2Body) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Dynamics.Contacts.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; public class b2Body { public var m_next:b2Body; public var m_xf:b2XForm; 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_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_shapeCount:int; public var m_angularDamping:Number; public var m_invI:Number; public var m_linearVelocity:b2Vec2; public var m_sleepTime:Number; 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){ 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); var _local3:b2Mat22 = m_xf.R; var _local4:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); m_sweep.c.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); m_jointList = null; m_contactList = null; m_prev = null; m_next = null; m_linearDamping = _arg1.linearDamping; m_angularDamping = _arg1.angularDamping; m_force.Set(0, 0); m_torque = 0; m_linearVelocity.SetZero(); m_angularVelocity = 0; m_sleepTime = 0; m_invMass = 0; m_I = 0; m_invI = 0; m_mass = _arg1.massData.mass; if (m_mass > 0){ m_invMass = (1 / m_mass); }; if ((m_flags & b2Body.e_fixedRotationFlag) == 0){ m_I = _arg1.massData.I; }; if (m_I > 0){ m_invI = (1 / m_I); }; if ((((m_invMass == 0)) && ((m_invI == 0)))){ m_type = e_staticType; } else { m_type = e_dynamicType; }; m_userData = _arg1.userData; m_shapeList = null; m_shapeCount = 0; } public function GetLinearVelocityFromWorldPoint(_arg1:b2Vec2):b2Vec2{ return (new b2Vec2((m_linearVelocity.x - (m_angularVelocity * (_arg1.y - m_sweep.c.y))), (m_linearVelocity.y + (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{ m_xf.R.Set(m_sweep.a); var _local1:b2Mat22 = m_xf.R; var _local2:b2Vec2 = m_sweep.localCenter; m_xf.position.x = (m_sweep.c.x - ((_local1.col1.x * _local2.x) + (_local1.col2.x * _local2.y))); m_xf.position.y = (m_sweep.c.y - ((_local1.col1.y * _local2.x) + (_local1.col2.y * _local2.y))); } public function GetInertia():Number{ return (m_I); } public function IsSleeping():Boolean{ return (((m_flags & e_sleepFlag) == e_sleepFlag)); } public function SetMassFromShapes():void{ var _local1:b2Shape; if (m_world.m_lock == true){ return; }; m_mass = 0; m_invMass = 0; m_I = 0; m_invI = 0; var _local2:Number = 0; var _local3:Number = 0; var _local4:b2MassData = s_massData; _local1 = m_shapeList; while (_local1) { _local1.ComputeMass(_local4); m_mass = (m_mass + _local4.mass); _local2 = (_local2 + (_local4.mass * _local4.center.x)); _local3 = (_local3 + (_local4.mass * _local4.center.y)); m_I = (m_I + _local4.I); _local1 = _local1.m_next; }; if (m_mass > 0){ m_invMass = (1 / m_mass); _local2 = (_local2 * m_invMass); _local3 = (_local3 * m_invMass); }; if ((((m_I > 0)) && (((m_flags & e_fixedRotationFlag) == 0)))){ m_I = (m_I - (m_mass * ((_local2 * _local2) + (_local3 * _local3)))); m_invI = (1 / m_I); } else { m_I = 0; m_invI = 0; }; m_sweep.localCenter.Set(_local2, _local3); var _local5:b2Mat22 = m_xf.R; var _local6:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local5.col1.x * _local6.x) + (_local5.col2.x * _local6.y)); m_sweep.c.y = ((_local5.col1.y * _local6.x) + (_local5.col2.y * _local6.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); _local1 = m_shapeList; while (_local1) { _local1.UpdateSweepRadius(m_sweep.localCenter); _local1 = _local1.m_next; }; var _local7:int = m_type; if ((((m_invMass == 0)) && ((m_invI == 0)))){ m_type = e_staticType; } else { m_type = e_dynamicType; }; if (_local7 != m_type){ _local1 = m_shapeList; while (_local1) { _local1.RefilterProxy(m_world.m_broadPhase, m_xf); _local1 = _local1.m_next; }; }; } public function PutToSleep():void{ m_flags = (m_flags | e_sleepFlag); m_sleepTime = 0; m_linearVelocity.SetZero(); m_angularVelocity = 0; m_force.SetZero(); m_torque = 0; } public function GetJointList():b2JointEdge{ return (m_jointList); } public function SetXForm(_arg1:b2Vec2, _arg2:Number):Boolean{ var _local3:b2Shape; var _local7:Boolean; if (m_world.m_lock == true){ return (true); }; if (IsFrozen()){ return (false); }; m_xf.R.Set(_arg2); m_xf.position.SetV(_arg1); var _local4:b2Mat22 = m_xf.R; var _local5:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local4.col1.x * _local5.x) + (_local4.col2.x * _local5.y)); m_sweep.c.y = ((_local4.col1.y * _local5.x) + (_local4.col2.y * _local5.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); m_sweep.a0 = (m_sweep.a = _arg2); var _local6:Boolean; _local3 = m_shapeList; while (_local3) { _local7 = _local3.Synchronize(m_world.m_broadPhase, m_xf, m_xf); if (_local7 == false){ _local6 = true; break; }; _local3 = _local3.m_next; }; if (_local6 == true){ m_flags = (m_flags | e_frozenFlag); m_linearVelocity.SetZero(); m_angularVelocity = 0; _local3 = m_shapeList; while (_local3) { _local3.DestroyProxy(m_world.m_broadPhase); _local3 = _local3.m_next; }; return (false); }; m_world.m_broadPhase.Commit(); return (true); } public function GetLocalPoint(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulXT(m_xf, _arg1)); } public function ApplyForce(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping()){ WakeUp(); }; m_force.x = (m_force.x + _arg1.x); m_force.y = (m_force.y + _arg1.y); m_torque = (m_torque + (((_arg2.x - m_sweep.c.x) * _arg1.y) - ((_arg2.y - m_sweep.c.y) * _arg1.x))); } public function SynchronizeShapes():Boolean{ var _local4:b2Shape; var _local1:b2XForm = s_xf1; _local1.R.Set(m_sweep.a0); var _local2:b2Mat22 = _local1.R; var _local3:b2Vec2 = m_sweep.localCenter; _local1.position.x = (m_sweep.c0.x - ((_local2.col1.x * _local3.x) + (_local2.col2.x * _local3.y))); _local1.position.y = (m_sweep.c0.y - ((_local2.col1.y * _local3.x) + (_local2.col2.y * _local3.y))); var _local5:Boolean; _local4 = m_shapeList; while (_local4) { _local5 = _local4.Synchronize(m_world.m_broadPhase, _local1, m_xf); if (_local5 == false){ break; }; _local4 = _local4.m_next; }; if (_local5 == false){ m_flags = (m_flags | e_frozenFlag); m_linearVelocity.SetZero(); m_angularVelocity = 0; _local4 = m_shapeList; while (_local4) { _local4.DestroyProxy(m_world.m_broadPhase); _local4 = _local4.m_next; }; return (false); }; return (true); } public function GetAngle():Number{ return (m_sweep.a); } public function GetXForm():b2XForm{ return (m_xf); } public function GetLinearVelocityFromLocalPoint(_arg1:b2Vec2):b2Vec2{ var _local2:b2Mat22 = m_xf.R; var _local3:b2Vec2 = new b2Vec2(((_local2.col1.x * _arg1.x) + (_local2.col2.x * _arg1.y)), ((_local2.col1.y * _arg1.x) + (_local2.col2.y * _arg1.y))); _local3.x = (_local3.x + m_xf.position.x); _local3.y = (_local3.y + m_xf.position.y); return (new b2Vec2((m_linearVelocity.x + (m_angularVelocity * (_local3.y - m_sweep.c.y))), (m_linearVelocity.x - (m_angularVelocity * (_local3.x - m_sweep.c.x))))); } public function GetNext():b2Body{ return (m_next); } public function GetMass():Number{ return (m_mass); } public function ApplyImpulse(_arg1:b2Vec2, _arg2:b2Vec2):void{ if (IsSleeping()){ WakeUp(); }; m_linearVelocity.x = (m_linearVelocity.x + (m_invMass * _arg1.x)); m_linearVelocity.y = (m_linearVelocity.y + (m_invMass * _arg1.y)); m_angularVelocity = (m_angularVelocity + (m_invI * (((_arg2.x - m_sweep.c.x) * _arg1.y) - ((_arg2.y - m_sweep.c.y) * _arg1.x)))); } public function GetAngularVelocity():Number{ return (m_angularVelocity); } public function SetAngularVelocity(_arg1:Number):void{ m_angularVelocity = _arg1; } public function SetMass(_arg1:b2MassData):void{ var _local2:b2Shape; if (m_world.m_lock == true){ return; }; m_invMass = 0; m_I = 0; m_invI = 0; m_mass = _arg1.mass; if (m_mass > 0){ m_invMass = (1 / m_mass); }; if ((m_flags & b2Body.e_fixedRotationFlag) == 0){ m_I = _arg1.I; }; if (m_I > 0){ m_invI = (1 / m_I); }; m_sweep.localCenter.SetV(_arg1.center); var _local3:b2Mat22 = m_xf.R; var _local4:b2Vec2 = m_sweep.localCenter; m_sweep.c.x = ((_local3.col1.x * _local4.x) + (_local3.col2.x * _local4.y)); m_sweep.c.y = ((_local3.col1.y * _local4.x) + (_local3.col2.y * _local4.y)); m_sweep.c.x = (m_sweep.c.x + m_xf.position.x); m_sweep.c.y = (m_sweep.c.y + m_xf.position.y); m_sweep.c0.SetV(m_sweep.c); _local2 = m_shapeList; while (_local2) { _local2.UpdateSweepRadius(m_sweep.localCenter); _local2 = _local2.m_next; }; var _local5:int = m_type; if ((((m_invMass == 0)) && ((m_invI == 0)))){ m_type = e_staticType; } else { m_type = e_dynamicType; }; if (_local5 != m_type){ _local2 = m_shapeList; while (_local2) { _local2.RefilterProxy(m_world.m_broadPhase, m_xf); _local2 = _local2.m_next; }; }; } public function IsStatic():Boolean{ return ((m_type == e_staticType)); } public function GetWorldVector(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulMV(m_xf.R, _arg1)); } public function GetShapeList():b2Shape{ return (m_shapeList); } public function Advance(_arg1:Number):void{ m_sweep.Advance(_arg1); m_sweep.c.SetV(m_sweep.c0); m_sweep.a = m_sweep.a0; SynchronizeTransform(); } public function SetBullet(_arg1:Boolean):void{ if (_arg1){ m_flags = (m_flags | e_bulletFlag); } else { m_flags = (m_flags & ~(e_bulletFlag)); }; } public function CreateShape(_arg1:b2ShapeDef):b2Shape{ var _local2:b2Shape; if (m_world.m_lock == true){ return (null); }; _local2 = b2Shape.Create(_arg1, m_world.m_blockAllocator); _local2.m_next = m_shapeList; m_shapeList = _local2; m_shapeCount++; _local2.m_body = this; _local2.CreateProxy(m_world.m_broadPhase, m_xf); _local2.UpdateSweepRadius(m_sweep.localCenter); return (_local2); } public function IsConnected(_arg1:b2Body):Boolean{ var _local2:b2JointEdge = m_jointList; while (_local2) { if (_local2.other == _arg1){ return ((_local2.joint.m_collideConnected == false)); }; _local2 = _local2.next; }; return (false); } public function DestroyShape(_arg1:b2Shape):void{ if (m_world.m_lock == true){ return; }; _arg1.DestroyProxy(m_world.m_broadPhase); var _local2:b2Shape = m_shapeList; var _local3:b2Shape; var _local4:Boolean; while (_local2 != null) { if (_local2 == _arg1){ if (_local3){ _local3.m_next = _arg1.m_next; } else { m_shapeList = _arg1.m_next; }; _local4 = true; break; }; _local3 = _local2; _local2 = _local2.m_next; }; _arg1.m_body = null; _arg1.m_next = null; m_shapeCount--; b2Shape.Destroy(_arg1, m_world.m_blockAllocator); } public function GetUserData(){ return (m_userData); } public function IsBullet():Boolean{ return (((m_flags & e_bulletFlag) == e_bulletFlag)); } public function GetWorldCenter():b2Vec2{ return (m_sweep.c); } public function AllowSleeping(_arg1:Boolean):void{ if (_arg1){ m_flags = (m_flags | e_allowSleepFlag); } else { m_flags = (m_flags & ~(e_allowSleepFlag)); WakeUp(); }; } public function SetUserData(_arg1):void{ m_userData = _arg1; } public function GetLocalVector(_arg1:b2Vec2):b2Vec2{ return (b2Math.b2MulTMV(m_xf.R, _arg1)); } public function GetWorldPoint(_arg1:b2Vec2):b2Vec2{ var _local2:b2Mat22 = m_xf.R; var _local3:b2Vec2 = new b2Vec2(((_local2.col1.x * _arg1.x) + (_local2.col2.x * _arg1.y)), ((_local2.col1.y * _arg1.x) + (_local2.col2.y * _arg1.y))); _local3.x = (_local3.x + m_xf.position.x); _local3.y = (_local3.y + m_xf.position.y); return (_local3); } public function GetWorld():b2World{ return (m_world); } public function GetPosition():b2Vec2{ return (m_xf.position); } } }//package Box2D.Dynamics
Section 65
//b2BodyDef (Box2D.Dynamics.b2BodyDef) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Collision.Shapes.*; public class b2BodyDef { public var angularDamping:Number; public var angle:Number; public var isSleeping:Boolean; public var position:b2Vec2; public var isBullet:Boolean; public var allowSleep:Boolean; public var userData; public var fixedRotation:Boolean; public var linearDamping:Number; public var massData:b2MassData; public function b2BodyDef(){ massData = new b2MassData(); position = new b2Vec2(); super(); massData.center.SetZero(); massData.mass = 0; massData.I = 0; userData = null; position.Set(0, 0); angle = 0; linearDamping = 0; angularDamping = 0; allowSleep = true; isSleeping = false; fixedRotation = false; isBullet = false; } } }//package Box2D.Dynamics
Section 66
//b2BoundaryListener (Box2D.Dynamics.b2BoundaryListener) package Box2D.Dynamics { public class b2BoundaryListener { public function Violation(_arg1:b2Body):void{ } } }//package Box2D.Dynamics
Section 67
//b2ContactFilter (Box2D.Dynamics.b2ContactFilter) package Box2D.Dynamics { import Box2D.Collision.Shapes.*; public class b2ContactFilter { public static var b2_defaultFilter:b2ContactFilter = new (b2ContactFilter); ; public function ShouldCollide(_arg1:b2Shape, _arg2:b2Shape):Boolean{ var _local3:b2FilterData = _arg1.GetFilterData(); var _local4:b2FilterData = _arg2.GetFilterData(); if ((((_local3.groupIndex == _local4.groupIndex)) && (!((_local3.groupIndex == 0))))){ return ((_local3.groupIndex > 0)); }; var _local5:Boolean = ((!(((_local3.maskBits & _local4.categoryBits) == 0))) && (!(((_local3.categoryBits & _local4.maskBits) == 0)))); return (_local5); } } }//package Box2D.Dynamics
Section 68
//b2ContactListener (Box2D.Dynamics.b2ContactListener) package Box2D.Dynamics { import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; 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.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; import Box2D.Collision.Shapes.*; public class b2ContactManager extends b2PairCallback { public var m_world:b2World; public var m_destroyImmediate:Boolean; public var m_nullContact:b2NullContact; private static const s_evalCP:b2ContactPoint = new b2ContactPoint(); public function b2ContactManager(){ m_nullContact = new b2NullContact(); super(); m_world = null; m_destroyImmediate = false; } override public function PairRemoved(_arg1, _arg2, _arg3):void{ if (_arg3 == null){ return; }; var _local4:b2Contact = (_arg3 as b2Contact); if (_local4 == m_nullContact){ return; }; Destroy(_local4); } public function Destroy(_arg1:b2Contact):void{ var _local7:b2Body; var _local8:b2Body; var _local9:Array; var _local10:b2ContactPoint; var _local11:int; var _local12:b2Manifold; var _local13:int; var _local14:b2ManifoldPoint; var _local15:b2Vec2; var _local16:b2Vec2; var _local2:b2Shape = _arg1.m_shape1; var _local3:b2Shape = _arg1.m_shape2; var _local4:int = _arg1.m_manifoldCount; if ((((_local4 > 0)) && (m_world.m_contactListener))){ _local7 = _local2.m_body; _local8 = _local3.m_body; _local9 = _arg1.GetManifolds(); _local10 = s_evalCP; _local10.shape1 = _arg1.m_shape1; _local10.shape2 = _arg1.m_shape2; _local10.friction = _arg1.m_friction; _local10.restitution = _arg1.m_restitution; _local11 = 0; while (_local11 < _local4) { _local12 = _local9[_local11]; _local10.normal.SetV(_local12.normal); _local13 = 0; while (_local13 < _local12.pointCount) { _local14 = _local12.points[_local13]; _local10.position = _local7.GetWorldPoint(_local14.localPoint1); _local15 = _local7.GetLinearVelocityFromLocalPoint(_local14.localPoint1); _local16 = _local8.GetLinearVelocityFromLocalPoint(_local14.localPoint2); _local10.velocity.Set((_local16.x - _local15.x), (_local16.y - _local15.y)); _local10.separation = _local14.separation; _local10.id.key = _local14.id._key; m_world.m_contactListener.Remove(_local10); _local13++; }; _local11++; }; }; if (_arg1.m_prev){ _arg1.m_prev.m_next = _arg1.m_next; }; if (_arg1.m_next){ _arg1.m_next.m_prev = _arg1.m_prev; }; if (_arg1 == m_world.m_contactList){ m_world.m_contactList = _arg1.m_next; }; var _local5:b2Body = _local2.m_body; var _local6:b2Body = _local3.m_body; if (_arg1.m_node1.prev){ _arg1.m_node1.prev.next = _arg1.m_node1.next; }; if (_arg1.m_node1.next){ _arg1.m_node1.next.prev = _arg1.m_node1.prev; }; if (_arg1.m_node1 == _local5.m_contactList){ _local5.m_contactList = _arg1.m_node1.next; }; if (_arg1.m_node2.prev){ _arg1.m_node2.prev.next = _arg1.m_node2.next; }; if (_arg1.m_node2.next){ _arg1.m_node2.next.prev = _arg1.m_node2.prev; }; if (_arg1.m_node2 == _local6.m_contactList){ _local6.m_contactList = _arg1.m_node2.next; }; b2Contact.Destroy(_arg1, m_world.m_blockAllocator); m_world.m_contactCount--; } override public function PairAdded(_arg1, _arg2){ var _local3:b2Shape = (_arg1 as b2Shape); var _local4:b2Shape = (_arg2 as b2Shape); var _local5:b2Body = _local3.m_body; var _local6:b2Body = _local4.m_body; if (((_local5.IsStatic()) && (_local6.IsStatic()))){ return (m_nullContact); }; if (_local3.m_body == _local4.m_body){ return (m_nullContact); }; if (_local6.IsConnected(_local5)){ return (m_nullContact); }; if (((!((m_world.m_contactFilter == null))) && ((m_world.m_contactFilter.ShouldCollide(_local3, _local4) == false)))){ return (m_nullContact); }; var _local7:b2Contact = b2Contact.Create(_local3, _local4, m_world.m_blockAllocator); if (_local7 == null){ return (m_nullContact); }; _local3 = _local7.m_shape1; _local4 = _local7.m_shape2; _local5 = _local3.m_body; _local6 = _local4.m_body; _local7.m_prev = null; _local7.m_next = m_world.m_contactList; if (m_world.m_contactList != null){ m_world.m_contactList.m_prev = _local7; }; m_world.m_contactList = _local7; _local7.m_node1.contact = _local7; _local7.m_node1.other = _local6; _local7.m_node1.prev = null; _local7.m_node1.next = _local5.m_contactList; if (_local5.m_contactList != null){ _local5.m_contactList.prev = _local7.m_node1; }; _local5.m_contactList = _local7.m_node1; _local7.m_node2.contact = _local7; _local7.m_node2.other = _local5; _local7.m_node2.prev = null; _local7.m_node2.next = _local6.m_contactList; if (_local6.m_contactList != null){ _local6.m_contactList.prev = _local7.m_node2; }; _local6.m_contactList = _local7.m_node2; m_world.m_contactCount++; return (_local7); } public function Collide():void{ var _local2:b2Body; var _local3:b2Body; var _local1:b2Contact = m_world.m_contactList; while (_local1) { _local2 = _local1.m_shape1.m_body; _local3 = _local1.m_shape2.m_body; if (((_local2.IsSleeping()) && (_local3.IsSleeping()))){ } else { _local1.Update(m_world.m_contactListener); }; _local1 = _local1.m_next; }; } } }//package Box2D.Dynamics
Section 70
//b2DebugDraw (Box2D.Dynamics.b2DebugDraw) package Box2D.Dynamics { import flash.display.*; import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; import Box2D.Collision.Shapes.*; public class b2DebugDraw { public var m_xformScale:Number;// = 1 public var m_fillAlpha:Number;// = 1 public var m_alpha:Number;// = 1 public var m_drawFlags:uint; public var m_lineThickness:Number;// = 1 public var m_drawScale:Number;// = 1 public var m_sprite:Sprite; public static var e_coreShapeBit:uint = 4; public static var e_shapeBit:uint = 1; public static var e_centerOfMassBit:uint = 64; public static var e_aabbBit:uint = 8; public static var e_obbBit:uint = 16; public static var e_pairBit:uint = 32; public static var e_jointBit:uint = 2; public function b2DebugDraw(){ m_drawFlags = 0; } public function ClearFlags(_arg1:uint):void{ m_drawFlags = (m_drawFlags & ~(_arg1)); } public function SetFlags(_arg1:uint):void{ m_drawFlags = _arg1; } public function AppendFlags(_arg1:uint):void{ m_drawFlags = (m_drawFlags | _arg1); } public function DrawSegment(_arg1:b2Vec2, _arg2:b2Vec2, _arg3:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.moveTo((_arg1.x * m_drawScale), (_arg1.y * m_drawScale)); m_sprite.graphics.lineTo((_arg2.x * m_drawScale), (_arg2.y * m_drawScale)); } public function DrawSolidPolygon(_arg1:Array, _arg2:int, _arg3:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.moveTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); m_sprite.graphics.beginFill(_arg3.color, m_fillAlpha); var _local4 = 1; while (_local4 < _arg2) { m_sprite.graphics.lineTo((_arg1[_local4].x * m_drawScale), (_arg1[_local4].y * m_drawScale)); _local4++; }; m_sprite.graphics.lineTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); m_sprite.graphics.endFill(); } public function DrawCircle(_arg1:b2Vec2, _arg2:Number, _arg3:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.drawCircle((_arg1.x * m_drawScale), (_arg1.y * m_drawScale), (_arg2 * m_drawScale)); } public function DrawPolygon(_arg1:Array, _arg2:int, _arg3:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg3.color, m_alpha); m_sprite.graphics.moveTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); var _local4 = 1; while (_local4 < _arg2) { m_sprite.graphics.lineTo((_arg1[_local4].x * m_drawScale), (_arg1[_local4].y * m_drawScale)); _local4++; }; m_sprite.graphics.lineTo((_arg1[0].x * m_drawScale), (_arg1[0].y * m_drawScale)); } public function DrawSolidCircle(_arg1:b2Vec2, _arg2:Number, _arg3:b2Vec2, _arg4:b2Color):void{ m_sprite.graphics.lineStyle(m_lineThickness, _arg4.color, m_alpha); m_sprite.graphics.moveTo(0, 0); m_sprite.graphics.beginFill(_arg4.color, m_fillAlpha); m_sprite.graphics.drawCircle((_arg1.x * m_drawScale), (_arg1.y * m_drawScale), (_arg2 * m_drawScale)); m_sprite.graphics.endFill(); m_sprite.graphics.moveTo((_arg1.x * m_drawScale), (_arg1.y * m_drawScale)); m_sprite.graphics.lineTo(((_arg1.x + (_arg3.x * _arg2)) * m_drawScale), ((_arg1.y + (_arg3.y * _arg2)) * m_drawScale)); } public function GetFlags():uint{ return (m_drawFlags); } public function DrawXForm(_arg1:b2XForm):void{ m_sprite.graphics.lineStyle(m_lineThickness, 0xFF0000, m_alpha); m_sprite.graphics.moveTo((_arg1.position.x * m_drawScale), (_arg1.position.y * m_drawScale)); m_sprite.graphics.lineTo(((_arg1.position.x + (m_xformScale * _arg1.R.col1.x)) * m_drawScale), ((_arg1.position.y + (m_xformScale * _arg1.R.col1.y)) * m_drawScale)); m_sprite.graphics.lineStyle(m_lineThickness, 0xFF00, m_alpha); m_sprite.graphics.moveTo((_arg1.position.x * m_drawScale), (_arg1.position.y * m_drawScale)); m_sprite.graphics.lineTo(((_arg1.position.x + (m_xformScale * _arg1.R.col2.x)) * m_drawScale), ((_arg1.position.y + (m_xformScale * _arg1.R.col2.y)) * m_drawScale)); } } }//package Box2D.Dynamics
Section 71
//b2DestructionListener (Box2D.Dynamics.b2DestructionListener) package Box2D.Dynamics { import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; public class b2DestructionListener { public function SayGoodbyeShape(_arg1:b2Shape):void{ } public function SayGoodbyeJoint(_arg1:b2Joint):void{ } } }//package Box2D.Dynamics
Section 72
//b2Island (Box2D.Dynamics.b2Island) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; import Box2D.Dynamics.Joints.*; public class b2Island { public var m_listener:b2ContactListener; public var m_positionIterationCount:int; public var m_bodyCapacity:int; public var m_bodies:Array; public var m_joints:Array; public var m_jointCapacity:int; public var m_contactCount:int; public var m_contacts:Array; public var m_contactCapacity:int; public var m_jointCount:int; public var m_allocator; public var m_bodyCount:int; private static var s_reportCR:b2ContactResult = new b2ContactResult(); public function b2Island(_arg1:int, _arg2:int, _arg3:int, _arg4, _arg5:b2ContactListener){ var _local6:int; super(); m_bodyCapacity = _arg1; m_contactCapacity = _arg2; m_jointCapacity = _arg3; m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; m_allocator = _arg4; m_listener = _arg5; m_bodies = new Array(_arg1); _local6 = 0; while (_local6 < _arg1) { m_bodies[_local6] = null; _local6++; }; m_contacts = new Array(_arg2); _local6 = 0; while (_local6 < _arg2) { m_contacts[_local6] = null; _local6++; }; m_joints = new Array(_arg3); _local6 = 0; while (_local6 < _arg3) { m_joints[_local6] = null; _local6++; }; m_positionIterationCount = 0; } public function AddBody(_arg1:b2Body):void{ var _local2 = m_bodyCount++; m_bodies[_local2] = _arg1; } public function AddJoint(_arg1:b2Joint):void{ var _local2 = m_jointCount++; m_joints[_local2] = _arg1; } public function Report(_arg1:Array):void{ var _local2:b2Mat22; var _local3:b2Vec2; var _local5:b2Contact; var _local6:b2ContactConstraint; var _local7:b2ContactResult; var _local8:b2Body; var _local9:int; var _local10:Array; var _local11:int; var _local12:b2Manifold; var _local13:int; var _local14:b2ManifoldPoint; var _local15:b2ContactConstraintPoint; if (m_listener == null){ return; }; var _local4:int; while (_local4 < m_contactCount) { _local5 = m_contacts[_local4]; _local6 = _arg1[_local4]; _local7 = s_reportCR; _local7.shape1 = _local5.m_shape1; _local7.shape2 = _local5.m_shape2; _local8 = _local7.shape1.m_body; _local9 = _local5.m_manifoldCount; _local10 = _local5.GetManifolds(); _local11 = 0; while (_local11 < _local9) { _local12 = _local10[_local11]; _local7.normal.SetV(_local12.normal); _local13 = 0; while (_local13 < _local12.pointCount) { _local14 = _local12.points[_local13]; _local15 = _local6.points[_local13]; _local7.position = _local8.GetWorldPoint(_local14.localPoint1); _local7.normalImpulse = _local15.normalImpulse; _local7.tangentImpulse = _local15.tangentImpulse; _local7.id.key = _local14.id.key; m_listener.Result(_local7); _local13++; }; _local11++; }; _local4++; }; } public function AddContact(_arg1:b2Contact):void{ var _local2 = m_contactCount++; m_contacts[_local2] = _arg1; } public function Solve(_arg1:b2TimeStep, _arg2:b2Vec2, _arg3:Boolean, _arg4:Boolean):void{ var _local5:int; var _local6:b2Body; var _local7:b2Joint; var _local9:int; var _local10:Boolean; var _local11:Boolean; var _local12:Boolean; var _local13:Number; var _local14:Number; var _local15:Number; _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; if (_local6.IsStatic()){ } else { _local6.m_linearVelocity.x = (_local6.m_linearVelocity.x + (_arg1.dt * (_arg2.x + (_local6.m_invMass * _local6.m_force.x)))); _local6.m_linearVelocity.y = (_local6.m_linearVelocity.y + (_arg1.dt * (_arg2.y + (_local6.m_invMass * _local6.m_force.y)))); _local6.m_angularVelocity = (_local6.m_angularVelocity + ((_arg1.dt * _local6.m_invI) * _local6.m_torque)); _local6.m_force.SetZero(); _local6.m_torque = 0; _local6.m_linearVelocity.Multiply(b2Math.b2Clamp((1 - (_arg1.dt * _local6.m_linearDamping)), 0, 1)); _local6.m_angularVelocity = (_local6.m_angularVelocity * b2Math.b2Clamp((1 - (_arg1.dt * _local6.m_angularDamping)), 0, 1)); if (_local6.m_linearVelocity.LengthSquared() > b2Settings.b2_maxLinearVelocitySquared){ _local6.m_linearVelocity.Normalize(); _local6.m_linearVelocity.x = (_local6.m_linearVelocity.x * b2Settings.b2_maxLinearVelocity); _local6.m_linearVelocity.y = (_local6.m_linearVelocity.y * b2Settings.b2_maxLinearVelocity); }; if ((_local6.m_angularVelocity * _local6.m_angularVelocity) > b2Settings.b2_maxAngularVelocitySquared){ if (_local6.m_angularVelocity < 0){ _local6.m_angularVelocity = -(b2Settings.b2_maxAngularVelocity); } else { _local6.m_angularVelocity = b2Settings.b2_maxAngularVelocity; }; }; }; _local5++; }; var _local8:b2ContactSolver = new b2ContactSolver(_arg1, m_contacts, m_contactCount, m_allocator); _local8.InitVelocityConstraints(_arg1); _local5 = 0; while (_local5 < m_jointCount) { _local7 = m_joints[_local5]; _local7.InitVelocityConstraints(_arg1); _local5++; }; _local5 = 0; while (_local5 < _arg1.maxIterations) { _local8.SolveVelocityConstraints(); _local9 = 0; while (_local9 < m_jointCount) { _local7 = m_joints[_local9]; _local7.SolveVelocityConstraints(_arg1); _local9++; }; _local5++; }; _local8.FinalizeVelocityConstraints(); _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; if (_local6.IsStatic()){ } else { _local6.m_sweep.c0.SetV(_local6.m_sweep.c); _local6.m_sweep.a0 = _local6.m_sweep.a; _local6.m_sweep.c.x = (_local6.m_sweep.c.x + (_arg1.dt * _local6.m_linearVelocity.x)); _local6.m_sweep.c.y = (_local6.m_sweep.c.y + (_arg1.dt * _local6.m_linearVelocity.y)); _local6.m_sweep.a = (_local6.m_sweep.a + (_arg1.dt * _local6.m_angularVelocity)); _local6.SynchronizeTransform(); }; _local5++; }; if (_arg3){ _local5 = 0; while (_local5 < m_jointCount) { _local7 = m_joints[_local5]; _local7.InitPositionConstraints(); _local5++; }; m_positionIterationCount = 0; while (m_positionIterationCount < _arg1.maxIterations) { _local10 = _local8.SolvePositionConstraints(b2Settings.b2_contactBaumgarte); _local11 = true; _local5 = 0; while (_local5 < m_jointCount) { _local7 = m_joints[_local5]; _local12 = _local7.SolvePositionConstraints(); _local11 = ((_local11) && (_local12)); _local5++; }; if (((_local10) && (_local11))){ break; }; m_positionIterationCount++; }; }; Report(_local8.m_constraints); if (_arg4){ _local13 = Number.MAX_VALUE; _local14 = (b2Settings.b2_linearSleepTolerance * b2Settings.b2_linearSleepTolerance); _local15 = (b2Settings.b2_angularSleepTolerance * b2Settings.b2_angularSleepTolerance); _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; if (_local6.m_invMass == 0){ } else { if ((_local6.m_flags & b2Body.e_allowSleepFlag) == 0){ _local6.m_sleepTime = 0; _local13 = 0; }; if (((((((_local6.m_flags & b2Body.e_allowSleepFlag) == 0)) || (((_local6.m_angularVelocity * _local6.m_angularVelocity) > _local15)))) || ((b2Math.b2Dot(_local6.m_linearVelocity, _local6.m_linearVelocity) > _local14)))){ _local6.m_sleepTime = 0; _local13 = 0; } else { _local6.m_sleepTime = (_local6.m_sleepTime + _arg1.dt); _local13 = b2Math.b2Min(_local13, _local6.m_sleepTime); }; }; _local5++; }; if (_local13 >= b2Settings.b2_timeToSleep){ _local5 = 0; while (_local5 < m_bodyCount) { _local6 = m_bodies[_local5]; m_bodies[_local5].m_flags = (_local6.m_flags | b2Body.e_sleepFlag); _local6.m_linearVelocity.SetZero(); _local6.m_angularVelocity = 0; _local5++; }; }; }; } public function Clear():void{ m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; } public function SolveTOI(_arg1:b2TimeStep):void{ var _local2:int; var _local5:b2Body; var _local6:Boolean; var _local3:b2ContactSolver = new b2ContactSolver(_arg1, m_contacts, m_contactCount, m_allocator); _local2 = 0; while (_local2 < _arg1.maxIterations) { _local3.SolveVelocityConstraints(); _local2++; }; _local2 = 0; while (_local2 < m_bodyCount) { _local5 = m_bodies[_local2]; if (_local5.IsStatic()){ } else { _local5.m_sweep.c0.SetV(_local5.m_sweep.c); _local5.m_sweep.a0 = _local5.m_sweep.a; _local5.m_sweep.c.x = (_local5.m_sweep.c.x + (_arg1.dt * _local5.m_linearVelocity.x)); _local5.m_sweep.c.y = (_local5.m_sweep.c.y + (_arg1.dt * _local5.m_linearVelocity.y)); _local5.m_sweep.a = (_local5.m_sweep.a + (_arg1.dt * _local5.m_angularVelocity)); _local5.SynchronizeTransform(); }; _local2++; }; var _local4:Number = 0.75; _local2 = 0; while (_local2 < _arg1.maxIterations) { _local6 = _local3.SolvePositionConstraints(_local4); if (_local6){ break; }; _local2++; }; Report(_local3.m_constraints); } } }//package Box2D.Dynamics
Section 73
//b2TimeStep (Box2D.Dynamics.b2TimeStep) package Box2D.Dynamics { public class b2TimeStep { public var warmStarting:Boolean; public var positionCorrection:Boolean; public var dt:Number; public var maxIterations:int; public var dtRatio:Number; public var inv_dt:Number; } }//package Box2D.Dynamics
Section 74
//b2World (Box2D.Dynamics.b2World) package Box2D.Dynamics { import Box2D.Common.Math.*; import Box2D.Common.*; import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; import Box2D.Dynamics.Joints.*; import Box2D.Collision.Shapes.*; public class b2World { public var m_inv_dt0:Number; public var m_boundaryListener:b2BoundaryListener; public var m_contactList:b2Contact; public var m_blockAllocator; public var m_contactListener:b2ContactListener; public var m_allowSleep:Boolean; public var m_broadPhase:b2BroadPhase; public var m_destructionListener:b2DestructionListener; public var m_jointCount:int; public var m_bodyCount:int; public var m_lock:Boolean; public var m_positionIterationCount:int; public var m_groundBody:b2Body; public var m_contactCount:int; public var m_debugDraw:b2DebugDraw; public var m_contactFilter:b2ContactFilter; public var m_bodyList:b2Body; public var m_stackAllocator; public var m_jointList:b2Joint; public var m_gravity:b2Vec2; public var m_contactManager:b2ContactManager; private static var s_jointColor:b2Color = new b2Color(0.5, 0.8, 0.8); public static var m_continuousPhysics:Boolean; public static var m_warmStarting:Boolean; private static var s_coreColor:b2Color = new b2Color(0.9, 0.6, 0.6); public static var m_positionCorrection:Boolean; private static var s_xf:b2XForm = new b2XForm(); public function b2World(_arg1:b2AABB, _arg2:b2Vec2, _arg3:Boolean){ m_contactManager = new b2ContactManager(); super(); m_destructionListener = null; m_boundaryListener = null; m_contactFilter = b2ContactFilter.b2_defaultFilter; m_contactListener = null; m_debugDraw = null; m_bodyList = null; m_contactList = null; m_jointList = null; m_bodyCount = 0; m_contactCount = 0; m_jointCount = 0; m_positionCorrection = true; m_warmStarting = true; m_continuousPhysics = true; m_allowSleep = _arg3; m_gravity = _arg2; m_lock = false; m_inv_dt0 = 0; m_contactManager.m_world = this; m_broadPhase = new b2BroadPhase(_arg1, m_contactManager); var _local4:b2BodyDef = new b2BodyDef(); m_groundBody = CreateBody(_local4); } public function DrawJoint(_arg1:b2Joint):void{ var _local11:b2PulleyJoint; var _local12:b2Vec2; var _local13:b2Vec2; var _local2:b2Body = _arg1.m_body1; var _local3:b2Body = _arg1.m_body2; var _local4:b2XForm = _local2.m_xf; var _local5:b2XForm = _local3.m_xf; var _local6:b2Vec2 = _local4.position; var _local7:b2Vec2 = _local5.position; var _local8:b2Vec2 = _arg1.GetAnchor1(); var _local9:b2Vec2 = _arg1.GetAnchor2(); var _local10:b2Color = s_jointColor; switch (_arg1.m_type){ case b2Joint.e_distanceJoint: m_debugDraw.DrawSegment(_local8, _local9, _local10); break; case b2Joint.e_pulleyJoint: _local11 = (_arg1 as b2PulleyJoint); _local12 = _local11.GetGroundAnchor1(); _local13 = _local11.GetGroundAnchor2(); m_debugDraw.DrawSegment(_local12, _local8, _local10); m_debugDraw.DrawSegment(_local13, _local9, _local10); m_debugDraw.DrawSegment(_local12, _local13, _local10); break; case b2Joint.e_mouseJoint: m_debugDraw.DrawSegment(_local8, _local9, _local10); break; default: if (_local2 != m_groundBody){ m_debugDraw.DrawSegment(_local6, _local8, _local10); }; m_debugDraw.DrawSegment(_local8, _local9, _local10); if (_local3 != m_groundBody){ m_debugDraw.DrawSegment(_local7, _local9, _local10); }; }; } public function Refilter(_arg1:b2Shape):void{ _arg1.RefilterProxy(m_broadPhase, _arg1.m_body.m_xf); } public function SetDebugDraw(_arg1:b2DebugDraw):void{ m_debugDraw = _arg1; } public function SetContinuousPhysics(_arg1:Boolean):void{ m_continuousPhysics = _arg1; } public function GetProxyCount():int{ return (m_broadPhase.m_proxyCount); } public function DrawDebugData():void{ var _local2:int; var _local3:b2Body; var _local4:b2Shape; var _local5:b2Joint; var _local6:b2BroadPhase; var _local11:b2XForm; var _local15:Boolean; var _local16:uint; var _local17:b2Pair; var _local18:b2Proxy; var _local19:b2Proxy; var _local20:b2Vec2; var _local21:b2Vec2; var _local22:b2Proxy; var _local23:b2PolygonShape; var _local24:b2OBB; var _local25:b2Vec2; var _local26:b2Mat22; var _local27:b2Vec2; var _local28:Number; if (m_debugDraw == null){ return; }; m_debugDraw.m_sprite.graphics.clear(); var _local1:uint = m_debugDraw.GetFlags(); var _local7:b2Vec2 = new b2Vec2(); var _local8:b2Vec2 = new b2Vec2(); var _local9:b2Vec2 = new b2Vec2(); var _local10:b2Color = new b2Color(0, 0, 0); var _local12:b2AABB = new b2AABB(); var _local13:b2AABB = new b2AABB(); var _local14:Array = [new b2Vec2(), new b2Vec2(), new b2Vec2(), new b2Vec2()]; if ((_local1 & b2DebugDraw.e_shapeBit)){ _local15 = ((_local1 & b2DebugDraw.e_coreShapeBit) == b2DebugDraw.e_coreShapeBit); _local3 = m_bodyList; while (_local3) { _local11 = _local3.m_xf; _local4 = _local3.GetShapeList(); while (_local4) { if (_local3.IsStatic()){ DrawShape(_local4, _local11, new b2Color(0.5, 0.9, 0.5), _local15); } else { if (_local3.IsSleeping()){ DrawShape(_local4, _local11, new b2Color(0.5, 0.5, 0.9), _local15); } else { DrawShape(_local4, _local11, new b2Color(0.9, 0.9, 0.9), _local15); }; }; _local4 = _local4.m_next; }; _local3 = _local3.m_next; }; }; if ((_local1 & b2DebugDraw.e_jointBit)){ _local5 = m_jointList; while (_local5) { DrawJoint(_local5); _local5 = _local5.m_next; }; }; if ((_local1 & b2DebugDraw.e_pairBit)){ _local6 = m_broadPhase; _local7.Set((1 / _local6.m_quantizationFactor.x), (1 / _local6.m_quantizationFactor.y)); _local10.Set(0.9, 0.9, 0.3); _local2 = 0; while (_local2 < b2Pair.b2_tableCapacity) { _local16 = _local6.m_pairManager.m_hashTable[_local2]; while (_local16 != b2Pair.b2_nullPair) { _local17 = _local6.m_pairManager.m_pairs[_local16]; _local18 = _local6.m_proxyPool[_local17.proxyId1]; _local19 = _local6.m_proxyPool[_local17.proxyId2]; _local12.lowerBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local18.lowerBounds[0]].value)); _local12.lowerBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local18.lowerBounds[1]].value)); _local12.upperBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local18.upperBounds[0]].value)); _local12.upperBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local18.upperBounds[1]].value)); _local13.lowerBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local19.lowerBounds[0]].value)); _local13.lowerBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local19.lowerBounds[1]].value)); _local13.upperBound.x = (_local6.m_worldAABB.lowerBound.x + (_local7.x * _local6.m_bounds[0][_local19.upperBounds[0]].value)); _local13.upperBound.y = (_local6.m_worldAABB.lowerBound.y + (_local7.y * _local6.m_bounds[1][_local19.upperBounds[1]].value)); _local8.x = (0.5 * (_local12.lowerBound.x + _local12.upperBound.x)); _local8.y = (0.5 * (_local12.lowerBound.y + _local12.upperBound.y)); _local9.x = (0.5 * (_local13.lowerBound.x + _local13.upperBound.x)); _local9.y = (0.5 * (_local13.lowerBound.y + _local13.upperBound.y)); m_debugDraw.DrawSegment(_local8, _local9, _local10); _local16 = _local17.next; }; _local2++; }; }; if ((_local1 & b2DebugDraw.e_aabbBit)){ _local6 = m_broadPhase; _local20 = _local6.m_worldAABB.lowerBound; _local21 = _local6.m_worldAABB.upperBound; _local7.Set((1 / _local6.m_quantizationFactor.x), (1 / _local6.m_quantizationFactor.y)); _local10.Set(0.9, 0.3, 0.9); _local2 = 0; while (_local2 < b2Settings.b2_maxProxies) { _local22 = _local6.m_proxyPool[_local2]; if (_local22.IsValid() == false){ } else { _local12.lowerBound.x = (_local20.x + (_local7.x * _local6.m_bounds[0][_local22.lowerBounds[0]].value)); _local12.lowerBound.y = (_local20.y + (_local7.y * _local6.m_bounds[1][_local22.lowerBounds[1]].value)); _local12.upperBound.x = (_local20.x + (_local7.x * _local6.m_bounds[0][_local22.upperBounds[0]].value)); _local12.upperBound.y = (_local20.y + (_local7.y * _local6.m_bounds[1][_local22.upperBounds[1]].value)); _local14[0].Set(_local12.lowerBound.x, _local12.lowerBound.y); _local14[1].Set(_local12.upperBound.x, _local12.lowerBound.y); _local14[2].Set(_local12.upperBound.x, _local12.upperBound.y); _local14[3].Set(_local12.lowerBound.x, _local12.upperBound.y); m_debugDraw.DrawPolygon(_local14, 4, _local10); }; _local2++; }; _local14[0].Set(_local20.x, _local20.y); _local14[1].Set(_local21.x, _local20.y); _local14[2].Set(_local21.x, _local21.y); _local14[3].Set(_local20.x, _local21.y); m_debugDraw.DrawPolygon(_local14, 4, new b2Color(0.3, 0.9, 0.9)); }; if ((_local1 & b2DebugDraw.e_obbBit)){ _local10.Set(0.5, 0.3, 0.5); _local3 = m_bodyList; while (_local3) { _local11 = _local3.m_xf; _local4 = _local3.GetShapeList(); while (_local4) { if (_local4.m_type != b2Shape.e_polygonShape){ } else { _local23 = (_local4 as b2PolygonShape); _local24 = _local23.GetOBB(); _local25 = _local24.extents; _local14[0].Set(-(_local25.x), -(_local25.y)); _local14[1].Set(_local25.x, -(_local25.y)); _local14[2].Set(_local25.x, _local25.y); _local14[3].Set(-(_local25.x), _local25.y); _local2 = 0; while (_local2 < 4) { _local26 = _local24.R; _local27 = _local14[_local2]; _local28 = (_local24.center.x + ((_local26.col1.x * _local27.x) + (_local26.col2.x * _local27.y))); _local14[_local2].y = (_local24.center.y + ((_local26.col1.y * _local27.x) + (_local26.col2.y * _local27.y))); _local14[_local2].x = _local28; _local26 = _local11.R; _local28 = (_local11.position.x + ((_local26.col1.x * _local27.x) + (_local26.col2.x * _local27.y))); _local14[_local2].y = (_local11.position.y + ((_local26.col1.y * _local27.x) + (_local26.col2.y * _local27.y))); _local14[_local2].x = _local28; _local2++; }; m_debugDraw.DrawPolygon(_local14, 4, _local10); }; _local4 = _local4.m_next; }; _local3 = _local3.m_next; }; }; if ((_local1 & b2DebugDraw.e_centerOfMassBit)){ _local3 = m_bodyList; while (_local3) { _local11 = s_xf; _local11.R = _local3.m_xf.R; _local11.position = _local3.GetWorldCenter(); m_debugDraw.DrawXForm(_local11); _local3 = _local3.m_next; }; }; } public function DestroyBody(_arg1:b2Body):void{ var _local4:b2JointEdge; var _local5:b2Shape; if (m_lock == true){ return; }; var _local2:b2JointEdge = _arg1.m_jointList; while (_local2) { _local4 = _local2; _local2 = _local2.next; if (m_destructionListener){ m_destructionListener.SayGoodbyeJoint(_local4.joint); }; DestroyJoint(_local4.joint); }; var _local3:b2Shape = _arg1.m_shapeList; while (_local3) { _local5 = _local3; _local3 = _local3.m_next; if (m_destructionListener){ m_destructionListener.SayGoodbyeShape(_local5); }; _local5.DestroyProxy(m_broadPhase); b2Shape.Destroy(_local5, m_blockAllocator); }; if (_arg1.m_prev){ _arg1.m_prev.m_next = _arg1.m_next; }; if (_arg1.m_next){ _arg1.m_next.m_prev = _arg1.m_prev; }; if (_arg1 == m_bodyList){ m_bodyList = _arg1.m_next; }; m_bodyCount--; } public function SetContactFilter(_arg1:b2ContactFilter):void{ m_contactFilter = _arg1; } public function GetGroundBody():b2Body{ return (m_groundBody); } public function DrawShape(_arg1:b2Shape, _arg2:b2XForm, _arg3:b2Color, _arg4:Boolean):void{ var _local6:b2CircleShape; var _local7:b2Vec2; var _local8:Number; var _local9:b2Vec2; var _local10:int; var _local11:b2PolygonShape; var _local12:int; var _local13:Array; var _local14:Array; var _local15:Array; var _local5:b2Color = s_coreColor; switch (_arg1.m_type){ case b2Shape.e_circleShape: _local6 = (_arg1 as b2CircleShape); _local7 = b2Math.b2MulX(_arg2, _local6.m_localPosition); _local8 = _local6.m_radius; _local9 = _arg2.R.col1; m_debugDraw.DrawSolidCircle(_local7, _local8, _local9, _arg3); if (_arg4){ m_debugDraw.DrawCircle(_local7, (_local8 - b2Settings.b2_toiSlop), _local5); }; break; case b2Shape.e_polygonShape: _local11 = (_arg1 as b2PolygonShape); _local12 = _local11.GetVertexCount(); _local13 = _local11.GetVertices(); _local14 = new Array(b2Settings.b2_maxPolygonVertices); _local10 = 0; while (_local10 < _local12) { _local14[_local10] = b2Math.b2MulX(_arg2, _local13[_local10]); _local10++; }; m_debugDraw.DrawSolidPolygon(_local14, _local12, _arg3); if (_arg4){ _local15 = _local11.GetCoreVertices(); _local10 = 0; while (_local10 < _local12) { _local14[_local10] = b2Math.b2MulX(_arg2, _local15[_local10]); _local10++; }; m_debugDraw.DrawPolygon(_local14, _local12, _local5); }; break; }; } public function GetContactCount():int{ return (m_contactCount); } public function Solve(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local9:int; var _local10:int; var _local11:b2Body; var _local12:b2ContactEdge; var _local13:b2JointEdge; var _local14:Boolean; m_positionIterationCount = 0; var _local3:b2Island = new b2Island(m_bodyCount, m_contactCount, m_jointCount, m_stackAllocator, m_contactListener); _local2 = m_bodyList; while (_local2) { _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); _local2 = _local2.m_next; }; var _local4:b2Contact = m_contactList; while (_local4) { _local4.m_flags = (_local4.m_flags & ~(b2Contact.e_islandFlag)); _local4 = _local4.m_next; }; var _local5:b2Joint = m_jointList; while (_local5) { _local5.m_islandFlag = false; _local5 = _local5.m_next; }; var _local6:int = m_bodyCount; var _local7:Array = new Array(_local6); var _local8:b2Body = m_bodyList; while (_local8) { if ((_local8.m_flags & ((b2Body.e_islandFlag | b2Body.e_sleepFlag) | b2Body.e_frozenFlag))){ } else { if (_local8.IsStatic()){ } else { _local3.Clear(); _local9 = 0; var _temp1 = _local9; _local9 = (_local9 + 1); var _local15 = _temp1; _local7[_local15] = _local8; _local8.m_flags = (_local8.m_flags | b2Body.e_islandFlag); while (_local9 > 0) { --_local9; _local2 = _local7[_local9]; _local3.AddBody(_local2); _local2.m_flags = (_local2.m_flags & ~(b2Body.e_sleepFlag)); if (_local2.IsStatic()){ } else { _local12 = _local2.m_contactList; while (_local12) { if ((_local12.contact.m_flags & (b2Contact.e_islandFlag | b2Contact.e_nonSolidFlag))){ } else { if (_local12.contact.m_manifoldCount == 0){ } else { _local3.AddContact(_local12.contact); _local12.contact.m_flags = (_local12.contact.m_flags | b2Contact.e_islandFlag); _local11 = _local12.other; if ((_local11.m_flags & b2Body.e_islandFlag)){ } else { var _temp2 = _local9; _local9 = (_local9 + 1); var _local16 = _temp2; _local7[_local16] = _local11; _local11.m_flags = (_local11.m_flags | b2Body.e_islandFlag); }; }; }; _local12 = _local12.next; }; _local13 = _local2.m_jointList; while (_local13) { if (_local13.joint.m_islandFlag == true){ } else { _local3.AddJoint(_local13.joint); _local13.joint.m_islandFlag = true; _local11 = _local13.other; if ((_local11.m_flags & b2Body.e_islandFlag)){ } else { var _temp3 = _local9; _local9 = (_local9 + 1); _local16 = _temp3; _local7[_local16] = _local11; _local11.m_flags = (_local11.m_flags | b2Body.e_islandFlag); }; }; _local13 = _local13.next; }; }; }; _local3.Solve(_arg1, m_gravity, m_positionCorrection, m_allowSleep); if (_local3.m_positionIterationCount > m_positionIterationCount){ m_positionIterationCount = _local3.m_positionIterationCount; }; _local10 = 0; while (_local10 < _local3.m_bodyCount) { _local2 = _local3.m_bodies[_local10]; if (_local2.IsStatic()){ _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); }; _local10++; }; }; }; _local8 = _local8.m_next; }; _local2 = m_bodyList; while (_local2) { if ((_local2.m_flags & (b2Body.e_sleepFlag | b2Body.e_frozenFlag))){ } else { if (_local2.IsStatic()){ } else { _local14 = _local2.SynchronizeShapes(); if ((((_local14 == false)) && (!((m_boundaryListener == null))))){ m_boundaryListener.Violation(_local2); }; }; }; _local2 = _local2.m_next; }; m_broadPhase.Commit(); } public function Query(_arg1:b2AABB, _arg2:Array, _arg3:int):int{ var _local4:Array = new Array(_arg3); var _local5:int = m_broadPhase.QueryAABB(_arg1, _local4, _arg3); var _local6:int; while (_local6 < _local5) { _arg2[_local6] = _local4[_local6]; _local6++; }; return (_local5); } public function SetGravity(_arg1:b2Vec2):void{ m_gravity = _arg1; } public function SolveTOI(_arg1:b2TimeStep):void{ var _local2:b2Body; var _local3:b2Shape; var _local4:b2Shape; var _local5:b2Body; var _local6:b2Body; var _local7:b2ContactEdge; var _local11:b2Contact; var _local12:b2Contact; var _local13:Number; var _local14:b2Body; var _local15:int; var _local16:b2TimeStep; var _local17:int; var _local18:Number; var _local19:Number; var _local20:b2Body; var _local21:Boolean; var _local8:b2Island = new b2Island(m_bodyCount, b2Settings.b2_maxTOIContactsPerIsland, 0, m_stackAllocator, m_contactListener); var _local9:int = m_bodyCount; var _local10:Array = new Array(_local9); _local2 = m_bodyList; while (_local2) { _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); _local2.m_sweep.t0 = 0; _local2 = _local2.m_next; }; _local11 = m_contactList; while (_local11) { _local11.m_flags = (_local11.m_flags & ~((b2Contact.e_toiFlag | b2Contact.e_islandFlag))); _local11 = _local11.m_next; }; while (true) { _local12 = null; _local13 = 1; _local11 = m_contactList; for (;_local11;(_local11 = _local11.m_next)) { if ((_local11.m_flags & (b2Contact.e_slowFlag | b2Contact.e_nonSolidFlag))){ } else { _local18 = 1; if ((_local11.m_flags & b2Contact.e_toiFlag)){ _local18 = _local11.m_toi; } else { _local3 = _local11.m_shape1; _local4 = _local11.m_shape2; _local5 = _local3.m_body; _local6 = _local4.m_body; if (((((_local5.IsStatic()) || (_local5.IsSleeping()))) && (((_local6.IsStatic()) || (_local6.IsSleeping()))))){ continue; }; _local19 = _local5.m_sweep.t0; if (_local5.m_sweep.t0 < _local6.m_sweep.t0){ _local19 = _local6.m_sweep.t0; _local5.m_sweep.Advance(_local19); } else { if (_local6.m_sweep.t0 < _local5.m_sweep.t0){ _local19 = _local5.m_sweep.t0; _local6.m_sweep.Advance(_local19); }; }; _local18 = b2TimeOfImpact.TimeOfImpact(_local11.m_shape1, _local5.m_sweep, _local11.m_shape2, _local6.m_sweep); if ((((_local18 > 0)) && ((_local18 < 1)))){ _local18 = (((1 - _local18) * _local19) + _local18); if (_local18 > 1){ _local18 = 1; }; }; _local11.m_toi = _local18; _local11.m_flags = (_local11.m_flags | b2Contact.e_toiFlag); }; if ((((Number.MIN_VALUE < _local18)) && ((_local18 < _local13)))){ _local12 = _local11; _local13 = _local18; }; }; }; if ((((_local12 == null)) || (((1 - (100 * Number.MIN_VALUE)) < _local13)))){ break; }; _local3 = _local12.m_shape1; _local4 = _local12.m_shape2; _local5 = _local3.m_body; _local6 = _local4.m_body; _local5.Advance(_local13); _local6.Advance(_local13); _local12.Update(m_contactListener); _local12.m_flags = (_local12.m_flags & ~(b2Contact.e_toiFlag)); if (_local12.m_manifoldCount == 0){ } else { _local14 = _local5; if (_local14.IsStatic()){ _local14 = _local6; }; _local8.Clear(); _local15 = 0; var _temp1 = _local15; _local15 = (_local15 + 1); var _local22 = _temp1; _local10[_local22] = _local14; _local14.m_flags = (_local14.m_flags | b2Body.e_islandFlag); while (_local15 > 0) { --_local15; _local2 = _local10[_local15]; _local8.AddBody(_local2); _local2.m_flags = (_local2.m_flags & ~(b2Body.e_sleepFlag)); if (_local2.IsStatic()){ } else { _local7 = _local2.m_contactList; while (_local7) { if (_local8.m_contactCount == _local8.m_contactCapacity){ } else { if ((_local7.contact.m_flags & ((b2Contact.e_islandFlag | b2Contact.e_slowFlag) | b2Contact.e_nonSolidFlag))){ } else { if (_local7.contact.m_manifoldCount == 0){ } else { _local8.AddContact(_local7.contact); _local7.contact.m_flags = (_local7.contact.m_flags | b2Contact.e_islandFlag); _local20 = _local7.other; if ((_local20.m_flags & b2Body.e_islandFlag)){ } else { if (_local20.IsStatic() == false){ _local20.Advance(_local13); _local20.WakeUp(); }; var _temp2 = _local15; _local15 = (_local15 + 1); var _local23 = _temp2; _local10[_local23] = _local20; _local20.m_flags = (_local20.m_flags | b2Body.e_islandFlag); }; }; }; }; _local7 = _local7.next; }; }; }; _local16 = new b2TimeStep(); _local16.dt = ((1 - _local13) * _arg1.dt); _local16.inv_dt = (1 / _local16.dt); _local16.maxIterations = _arg1.maxIterations; _local8.SolveTOI(_local16); _local17 = 0; while (_local17 < _local8.m_bodyCount) { _local2 = _local8.m_bodies[_local17]; _local2.m_flags = (_local2.m_flags & ~(b2Body.e_islandFlag)); if ((_local2.m_flags & (b2Body.e_sleepFlag | b2Body.e_frozenFlag))){ } else { if (_local2.IsStatic()){ } else { _local21 = _local2.SynchronizeShapes(); if ((((_local21 == false)) && (!((m_boundaryListener == null))))){ m_boundaryListener.Violation(_local2); }; _local7 = _local2.m_contactList; while (_local7) { _local7.contact.m_flags = (_local7.contact.m_flags & ~(b2Contact.e_toiFlag)); _local7 = _local7.next; }; }; }; _local17++; }; _local17 = 0; while (_local17 < _local8.m_contactCount) { _local11 = _local8.m_contacts[_local17]; _local8.m_contacts[_local17].m_flags = (_local11.m_flags & ~((b2Contact.e_toiFlag | b2Contact.e_islandFlag))); _local17++; }; m_broadPhase.Commit(); }; }; } public function GetJointList():b2Joint{ return (m_jointList); } public function GetBodyList():b2Body{ return (m_bodyList); } public function GetPairCount():int{ return (m_broadPhase.m_pairManager.m_pairCount); } public function Validate():void{ m_broadPhase.Validate(); } public function SetWarmStarting(_arg1:Boolean):void{ m_warmStarting = _arg1; } public function SetPositionCorrection(_arg1:Boolean):void{ m_positionCorrection = _arg1; } public function CreateJoint(_arg1:b2JointDef):b2Joint{ var _local3:b2Body; var _local4:b2Shape; var _local2:b2Joint = b2Joint.Create(_arg1, m_blockAllocator); _local2.m_prev = null; _local2.m_next = m_jointList; if (m_jointList){ m_jointList.m_prev = _local2; }; m_jointList = _local2; m_jointCount++; _local2.m_node1.joint = _local2; _local2.m_node1.other = _local2.m_body2; _local2.m_node1.prev = null; _local2.m_node1.next = _local2.m_body1.m_jointList; if (_local2.m_body1.m_jointList){ _local2.m_body1.m_jointList.prev = _local2.m_node1; }; _local2.m_body1.m_jointList = _local2.m_node1; _local2.m_node2.joint = _local2; _local2.m_node2.other = _local2.m_body1; _local2.m_node2.prev = null; _local2.m_node2.next = _local2.m_body2.m_jointList; if (_local2.m_body2.m_jointList){ _local2.m_body2.m_jointList.prev = _local2.m_node2; }; _local2.m_body2.m_jointList = _local2.m_node2; if (_arg1.collideConnected == false){ _local3 = ((_arg1.body1.m_shapeCount < _arg1.body2.m_shapeCount)) ? _arg1.body1 : _arg1.body2; _local4 = _local3.m_shapeList; while (_local4) { _local4.RefilterProxy(m_broadPhase, _local3.m_xf); _local4 = _local4.m_next; }; }; return (_local2); } public function DestroyJoint(_arg1:b2Joint):void{ var _local5:b2Body; var _local6:b2Shape; var _local2:Boolean = _arg1.m_collideConnected; if (_arg1.m_prev){ _arg1.m_prev.m_next = _arg1.m_next; }; if (_arg1.m_next){ _arg1.m_next.m_prev = _arg1.m_prev; }; if (_arg1 == m_jointList){ m_jointList = _arg1.m_next; }; var _local3:b2Body = _arg1.m_body1; var _local4:b2Body = _arg1.m_body2; _local3.WakeUp(); _local4.WakeUp(); if (_arg1.m_node1.prev){ _arg1.m_node1.prev.next = _arg1.m_node1.next; }; if (_arg1.m_node1.next){ _arg1.m_node1.next.prev = _arg1.m_node1.prev; }; if (_arg1.m_node1 == _local3.m_jointList){ _local3.m_jointList = _arg1.m_node1.next; }; _arg1.m_node1.prev = null; _arg1.m_node1.next = null; if (_arg1.m_node2.prev){ _arg1.m_node2.prev.next = _arg1.m_node2.next; }; if (_arg1.m_node2.next){ _arg1.m_node2.next.prev = _arg1.m_node2.prev; }; if (_arg1.m_node2 == _local4.m_jointList){ _local4.m_jointList = _arg1.m_node2.next; }; _arg1.m_node2.prev = null; _arg1.m_node2.next = null; b2Joint.Destroy(_arg1, m_blockAllocator); m_jointCount--; if (_local2 == false){ _local5 = ((_local3.m_shapeCount < _local4.m_shapeCount)) ? _local3 : _local4; _local6 = _local5.m_shapeList; while (_local6) { _local6.RefilterProxy(m_broadPhase, _local5.m_xf); _local6 = _local6.m_next; }; }; } public function SetContactListener(_arg1:b2ContactListener):void{ m_contactListener = _arg1; } public function CreateBody(_arg1:b2BodyDef):b2Body{ if (m_lock == true){ return (null); }; var _local2:b2Body = new b2Body(_arg1, this); _local2.m_prev = null; _local2.m_next = m_bodyList; if (m_bodyList){ m_bodyList.m_prev = _local2; }; m_bodyList = _local2; m_bodyCount++; return (_local2); } public function SetBoundaryListener(_arg1:b2BoundaryListener):void{ m_boundaryListener = _arg1; } public function SetDestructionListener(_arg1:b2DestructionListener):void{ m_destructionListener = _arg1; } public function Step(_arg1:Number, _arg2:int):void{ m_lock = true; var _local3:b2TimeStep = new b2TimeStep(); _local3.dt = _arg1; _local3.maxIterations = _arg2; if (_arg1 > 0){ _local3.inv_dt = (1 / _arg1); } else { _local3.inv_dt = 0; }; _local3.dtRatio = (m_inv_dt0 * _arg1); _local3.positionCorrection = m_positionCorrection; _local3.warmStarting = m_warmStarting; m_contactManager.Collide(); if (_local3.dt > 0){ Solve(_local3); }; if (((m_continuousPhysics) && ((_local3.dt > 0)))){ SolveTOI(_local3); }; DrawDebugData(); m_inv_dt0 = _local3.inv_dt; m_lock = false; } public function GetBodyCount():int{ return (m_bodyCount); } public function GetJointCount():int{ return (m_jointCount); } } }//package Box2D.Dynamics
Section 75
//MD5 (com.adobe.crypto.MD5) package com.adobe.crypto { import flash.utils.*; import com.adobe.utils.*; public class MD5 { public static var digest:ByteArray; private static function ff(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(f, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function f(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg2) | (~(_arg1) & _arg3))); } private static function g(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg3) | (_arg2 & ~(_arg3)))); } private static function h(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 ^ _arg2) ^ _arg3)); } private static function i(_arg1:int, _arg2:int, _arg3:int):int{ return ((_arg2 ^ (_arg1 | ~(_arg3)))); } private static function transform(_arg1:Function, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int):int{ var _local9:int = (((_arg2 + int(_arg1(_arg3, _arg4, _arg5))) + _arg6) + _arg8); return ((IntUtil.rol(_local9, _arg7) + _arg3)); } private static function hh(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(h, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } public static function hash(_arg1:String):String{ var _local2:ByteArray = new ByteArray(); _local2.writeUTFBytes(_arg1); return (hashBinary(_local2)); } private static function createBlocks(_arg1:ByteArray):Array{ var _local2:Array = new Array(); var _local3:int = (_arg1.length * 8); var _local4 = 0xFF; var _local5:int; while (_local5 < _local3) { _local2[int((_local5 >> 5))] = (_local2[int((_local5 >> 5))] | ((_arg1[(_local5 / 8)] & _local4) << (_local5 % 32))); _local5 = (_local5 + 8); }; _local2[int((_local3 >> 5))] = (_local2[int((_local3 >> 5))] | (128 << (_local3 % 32))); _local2[int(((((_local3 + 64) >>> 9) << 4) + 14))] = _local3; return (_local2); } public static function hashBinary(_arg1:ByteArray):String{ var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local2 = 1732584193; var _local3 = -271733879; var _local4 = -1732584194; var _local5 = 271733878; var _local10:Array = createBlocks(_arg1); var _local11:int = _local10.length; var _local12:int; while (_local12 < _local11) { _local6 = _local2; _local7 = _local3; _local8 = _local4; _local9 = _local5; _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 0))], 7, -680876936); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 1))], 12, -389564586); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 2))], 17, 606105819); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 3))], 22, -1044525330); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 4))], 7, -176418897); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 5))], 12, 1200080426); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 6))], 17, -1473231341); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 7))], 22, -45705983); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 8))], 7, 1770035416); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 9))], 12, -1958414417); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 10))], 17, -42063); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 11))], 22, -1990404162); _local2 = ff(_local2, _local3, _local4, _local5, _local10[int((_local12 + 12))], 7, 1804603682); _local5 = ff(_local5, _local2, _local3, _local4, _local10[int((_local12 + 13))], 12, -40341101); _local4 = ff(_local4, _local5, _local2, _local3, _local10[int((_local12 + 14))], 17, -1502002290); _local3 = ff(_local3, _local4, _local5, _local2, _local10[int((_local12 + 15))], 22, 1236535329); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 1))], 5, -165796510); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 6))], 9, -1069501632); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 11))], 14, 643717713); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 0))], 20, -373897302); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 5))], 5, -701558691); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 10))], 9, 38016083); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 15))], 14, -660478335); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 4))], 20, -405537848); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 9))], 5, 568446438); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 14))], 9, -1019803690); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 3))], 14, -187363961); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 8))], 20, 1163531501); _local2 = gg(_local2, _local3, _local4, _local5, _local10[int((_local12 + 13))], 5, -1444681467); _local5 = gg(_local5, _local2, _local3, _local4, _local10[int((_local12 + 2))], 9, -51403784); _local4 = gg(_local4, _local5, _local2, _local3, _local10[int((_local12 + 7))], 14, 1735328473); _local3 = gg(_local3, _local4, _local5, _local2, _local10[int((_local12 + 12))], 20, -1926607734); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 5))], 4, -378558); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 8))], 11, -2022574463); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 11))], 16, 1839030562); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 14))], 23, -35309556); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 1))], 4, -1530992060); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 4))], 11, 1272893353); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 7))], 16, -155497632); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 10))], 23, -1094730640); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 13))], 4, 681279174); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 0))], 11, -358537222); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 3))], 16, -722521979); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 6))], 23, 76029189); _local2 = hh(_local2, _local3, _local4, _local5, _local10[int((_local12 + 9))], 4, -640364487); _local5 = hh(_local5, _local2, _local3, _local4, _local10[int((_local12 + 12))], 11, -421815835); _local4 = hh(_local4, _local5, _local2, _local3, _local10[int((_local12 + 15))], 16, 530742520); _local3 = hh(_local3, _local4, _local5, _local2, _local10[int((_local12 + 2))], 23, -995338651); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 0))], 6, -198630844); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 7))], 10, 1126891415); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 14))], 15, -1416354905); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 5))], 21, -57434055); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 12))], 6, 1700485571); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 3))], 10, -1894986606); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 10))], 15, -1051523); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 1))], 21, -2054922799); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 8))], 6, 1873313359); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 15))], 10, -30611744); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 6))], 15, -1560198380); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 13))], 21, 1309151649); _local2 = ii(_local2, _local3, _local4, _local5, _local10[int((_local12 + 4))], 6, -145523070); _local5 = ii(_local5, _local2, _local3, _local4, _local10[int((_local12 + 11))], 10, -1120210379); _local4 = ii(_local4, _local5, _local2, _local3, _local10[int((_local12 + 2))], 15, 718787259); _local3 = ii(_local3, _local4, _local5, _local2, _local10[int((_local12 + 9))], 21, -343485551); _local2 = (_local2 + _local6); _local3 = (_local3 + _local7); _local4 = (_local4 + _local8); _local5 = (_local5 + _local9); _local12 = (_local12 + 16); }; digest = new ByteArray(); digest.writeInt(_local2); digest.writeInt(_local3); digest.writeInt(_local4); digest.writeInt(_local5); digest.position = 0; return ((((IntUtil.toHex(_local2) + IntUtil.toHex(_local3)) + IntUtil.toHex(_local4)) + IntUtil.toHex(_local5))); } private static function gg(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(g, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function ii(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(i, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } public static function hashBytes(_arg1:ByteArray):String{ return (hashBinary(_arg1)); } } }//package com.adobe.crypto
Section 76
//BitString (com.adobe.images.BitString) package com.adobe.images { public class BitString { public var val:int;// = 0 public var len:int;// = 0 } }//package com.adobe.images
Section 77
//JPGEncoder (com.adobe.images.JPGEncoder) package com.adobe.images { import flash.display.*; import flash.utils.*; import flash.geom.*; public class JPGEncoder { private var fdtbl_UV:Array; private var std_ac_chrominance_values:Array; private var std_dc_chrominance_values:Array; private var ZigZag:Array; private var YDC_HT:Array; private var YAC_HT:Array; private var bytenew:int;// = 0 private var fdtbl_Y:Array; private var std_ac_chrominance_nrcodes:Array; private var DU:Array; private var std_ac_luminance_values:Array; private var std_dc_chrominance_nrcodes:Array; private var UVTable:Array; private var YDU:Array; private var UDU:Array; private var byteout:ByteArray; private var UVAC_HT:Array; private var UVDC_HT:Array; private var bytepos:int;// = 7 private var VDU:Array; private var std_ac_luminance_nrcodes:Array; private var std_dc_luminance_values:Array; private var YTable:Array; private var std_dc_luminance_nrcodes:Array; private var bitcode:Array; private var category:Array; public function JPGEncoder(_arg1:Number=50){ ZigZag = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63]; YTable = new Array(64); UVTable = new Array(64); fdtbl_Y = new Array(64); fdtbl_UV = new Array(64); std_dc_luminance_nrcodes = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0]; std_dc_luminance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; std_ac_luminance_nrcodes = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125]; std_ac_luminance_values = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250]; std_dc_chrominance_nrcodes = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0]; std_dc_chrominance_values = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; std_ac_chrominance_nrcodes = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119]; std_ac_chrominance_values = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250]; bitcode = new Array(0xFFFF); category = new Array(0xFFFF); DU = new Array(64); YDU = new Array(64); UDU = new Array(64); VDU = new Array(64); super(); if (_arg1 <= 0){ _arg1 = 1; }; if (_arg1 > 100){ _arg1 = 100; }; var _local2:int; if (_arg1 < 50){ _local2 = int((5000 / _arg1)); } else { _local2 = int((200 - (_arg1 * 2))); }; initHuffmanTbl(); initCategoryNumber(); initQuantTables(_local2); } private function initHuffmanTbl():void{ YDC_HT = computeHuffmanTbl(std_dc_luminance_nrcodes, std_dc_luminance_values); UVDC_HT = computeHuffmanTbl(std_dc_chrominance_nrcodes, std_dc_chrominance_values); YAC_HT = computeHuffmanTbl(std_ac_luminance_nrcodes, std_ac_luminance_values); UVAC_HT = computeHuffmanTbl(std_ac_chrominance_nrcodes, std_ac_chrominance_values); } private function RGB2YUV(_arg1:BitmapData, _arg2:int, _arg3:int):void{ var _local6:int; var _local7:uint; var _local8:Number; var _local9:Number; var _local10:Number; var _local4:int; var _local5:int; while (_local5 < 8) { _local6 = 0; while (_local6 < 8) { _local7 = _arg1.getPixel32((_arg2 + _local6), (_arg3 + _local5)); _local8 = Number(((_local7 >> 16) & 0xFF)); _local9 = Number(((_local7 >> 8) & 0xFF)); _local10 = Number((_local7 & 0xFF)); YDU[_local4] = ((((0.299 * _local8) + (0.587 * _local9)) + (0.114 * _local10)) - 128); UDU[_local4] = (((-0.16874 * _local8) + (-0.33126 * _local9)) + (0.5 * _local10)); VDU[_local4] = (((0.5 * _local8) + (-0.41869 * _local9)) + (-0.08131 * _local10)); _local4++; _local6++; }; _local5++; }; } private function writeBits(_arg1:BitString):void{ var _local2:int = _arg1.val; var _local3:int = (_arg1.len - 1); while (_local3 >= 0) { if ((_local2 & uint((1 << _local3)))){ bytenew = (bytenew | uint((1 << bytepos))); }; _local3--; bytepos--; if (bytepos < 0){ if (bytenew == 0xFF){ writeByte(0xFF); writeByte(0); } else { writeByte(bytenew); }; bytepos = 7; bytenew = 0; }; }; } private function writeWord(_arg1:int):void{ writeByte(((_arg1 >> 8) & 0xFF)); writeByte((_arg1 & 0xFF)); } private function writeByte(_arg1:int):void{ byteout.writeByte(_arg1); } private function writeDHT():void{ var _local1:int; writeWord(65476); writeWord(418); writeByte(0); _local1 = 0; while (_local1 < 16) { writeByte(std_dc_luminance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 11) { writeByte(std_dc_luminance_values[_local1]); _local1++; }; writeByte(16); _local1 = 0; while (_local1 < 16) { writeByte(std_ac_luminance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 161) { writeByte(std_ac_luminance_values[_local1]); _local1++; }; writeByte(1); _local1 = 0; while (_local1 < 16) { writeByte(std_dc_chrominance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 11) { writeByte(std_dc_chrominance_values[_local1]); _local1++; }; writeByte(17); _local1 = 0; while (_local1 < 16) { writeByte(std_ac_chrominance_nrcodes[(_local1 + 1)]); _local1++; }; _local1 = 0; while (_local1 <= 161) { writeByte(std_ac_chrominance_values[_local1]); _local1++; }; } public function encode(_arg1:BitmapData):ByteArray{ var _local6:int; var _local7:BitString; byteout = new ByteArray(); bytenew = 0; bytepos = 7; writeWord(65496); writeAPP0(); writeDQT(); writeSOF0(_arg1.width, _arg1.height); writeDHT(); writeSOS(); var _local2:Number = 0; var _local3:Number = 0; var _local4:Number = 0; bytenew = 0; bytepos = 7; var _local5:int; while (_local5 < _arg1.height) { _local6 = 0; while (_local6 < _arg1.width) { RGB2YUV(_arg1, _local6, _local5); _local2 = processDU(YDU, fdtbl_Y, _local2, YDC_HT, YAC_HT); _local3 = processDU(UDU, fdtbl_UV, _local3, UVDC_HT, UVAC_HT); _local4 = processDU(VDU, fdtbl_UV, _local4, UVDC_HT, UVAC_HT); _local6 = (_local6 + 8); }; _local5 = (_local5 + 8); }; if (bytepos >= 0){ _local7 = new BitString(); _local7.len = (bytepos + 1); _local7.val = ((1 << (bytepos + 1)) - 1); writeBits(_local7); }; writeWord(65497); return (byteout); } private function initCategoryNumber():void{ var _local3:int; var _local1 = 1; var _local2 = 2; var _local4 = 1; while (_local4 <= 15) { _local3 = _local1; while (_local3 < _local2) { category[(32767 + _local3)] = _local4; bitcode[(32767 + _local3)] = new BitString(); bitcode[(32767 + _local3)].len = _local4; bitcode[(32767 + _local3)].val = _local3; _local3++; }; _local3 = -((_local2 - 1)); while (_local3 <= -(_local1)) { category[(32767 + _local3)] = _local4; bitcode[(32767 + _local3)] = new BitString(); bitcode[(32767 + _local3)].len = _local4; bitcode[(32767 + _local3)].val = ((_local2 - 1) + _local3); _local3++; }; _local1 = (_local1 << 1); _local2 = (_local2 << 1); _local4++; }; } private function writeDQT():void{ var _local1:int; writeWord(65499); writeWord(132); writeByte(0); _local1 = 0; while (_local1 < 64) { writeByte(YTable[_local1]); _local1++; }; writeByte(1); _local1 = 0; while (_local1 < 64) { writeByte(UVTable[_local1]); _local1++; }; } private function writeAPP0():void{ writeWord(65504); writeWord(16); writeByte(74); writeByte(70); writeByte(73); writeByte(70); writeByte(0); writeByte(1); writeByte(1); writeByte(0); writeWord(1); writeWord(1); writeByte(0); writeByte(0); } private function writeSOS():void{ writeWord(65498); writeWord(12); writeByte(3); writeByte(1); writeByte(0); writeByte(2); writeByte(17); writeByte(3); writeByte(17); writeByte(0); writeByte(63); writeByte(0); } private function processDU(_arg1:Array, _arg2:Array, _arg3:Number, _arg4:Array, _arg5:Array):Number{ var _local8:int; var _local12:int; var _local13:int; var _local14:int; var _local6:BitString = _arg5[0]; var _local7:BitString = _arg5[240]; var _local9:Array = fDCTQuant(_arg1, _arg2); _local8 = 0; while (_local8 < 64) { DU[ZigZag[_local8]] = _local9[_local8]; _local8++; }; var _local10:int = (DU[0] - _arg3); _arg3 = DU[0]; if (_local10 == 0){ writeBits(_arg4[0]); } else { writeBits(_arg4[category[(32767 + _local10)]]); writeBits(bitcode[(32767 + _local10)]); }; var _local11 = 63; while ((((_local11 > 0)) && ((DU[_local11] == 0)))) { _local11--; }; if (_local11 == 0){ writeBits(_local6); return (_arg3); }; _local8 = 1; while (_local8 <= _local11) { _local12 = _local8; while ((((DU[_local8] == 0)) && ((_local8 <= _local11)))) { _local8++; }; _local13 = (_local8 - _local12); if (_local13 >= 16){ _local14 = 1; while (_local14 <= (_local13 / 16)) { writeBits(_local7); _local14++; }; _local13 = int((_local13 & 15)); }; writeBits(_arg5[((_local13 * 16) + category[(32767 + DU[_local8])])]); writeBits(bitcode[(32767 + DU[_local8])]); _local8++; }; if (_local11 != 63){ writeBits(_local6); }; return (_arg3); } private function initQuantTables(_arg1:int):void{ var _local2:int; var _local3:Number; var _local8:int; var _local4:Array = [16, 11, 10, 16, 24, 40, 51, 61, 12, 12, 14, 19, 26, 58, 60, 55, 14, 13, 16, 24, 40, 57, 69, 56, 14, 17, 22, 29, 51, 87, 80, 62, 18, 22, 37, 56, 68, 109, 103, 77, 24, 35, 55, 64, 81, 104, 113, 92, 49, 64, 78, 87, 103, 121, 120, 101, 72, 92, 95, 98, 112, 100, 103, 99]; _local2 = 0; while (_local2 < 64) { _local3 = Math.floor((((_local4[_local2] * _arg1) + 50) / 100)); if (_local3 < 1){ _local3 = 1; } else { if (_local3 > 0xFF){ _local3 = 0xFF; }; }; YTable[ZigZag[_local2]] = _local3; _local2++; }; var _local5:Array = [17, 18, 24, 47, 99, 99, 99, 99, 18, 21, 26, 66, 99, 99, 99, 99, 24, 26, 56, 99, 99, 99, 99, 99, 47, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99]; _local2 = 0; while (_local2 < 64) { _local3 = Math.floor((((_local5[_local2] * _arg1) + 50) / 100)); if (_local3 < 1){ _local3 = 1; } else { if (_local3 > 0xFF){ _local3 = 0xFF; }; }; UVTable[ZigZag[_local2]] = _local3; _local2++; }; var _local6:Array = [1, 1.387039845, 1.306562965, 1.175875602, 1, 0.785694958, 0.5411961, 0.275899379]; _local2 = 0; var _local7:int; while (_local7 < 8) { _local8 = 0; while (_local8 < 8) { fdtbl_Y[_local2] = (1 / (((YTable[ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8)); fdtbl_UV[_local2] = (1 / (((UVTable[ZigZag[_local2]] * _local6[_local7]) * _local6[_local8]) * 8)); _local2++; _local8++; }; _local7++; }; } private function writeSOF0(_arg1:int, _arg2:int):void{ writeWord(65472); writeWord(17); writeByte(8); writeWord(_arg2); writeWord(_arg1); writeByte(3); writeByte(1); writeByte(17); writeByte(0); writeByte(2); writeByte(17); writeByte(1); writeByte(3); writeByte(17); writeByte(1); } private function computeHuffmanTbl(_arg1:Array, _arg2:Array):Array{ var _local7:int; var _local3:int; var _local4:int; var _local5:Array = new Array(); var _local6 = 1; while (_local6 <= 16) { _local7 = 1; while (_local7 <= _arg1[_local6]) { _local5[_arg2[_local4]] = new BitString(); _local5[_arg2[_local4]].val = _local3; _local5[_arg2[_local4]].len = _local6; _local4++; _local3++; _local7++; }; _local3 = (_local3 * 2); _local6++; }; return (_local5); } private function fDCTQuant(_arg1:Array, _arg2:Array):Array{ 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:Number; var _local18:Number; var _local19:Number; var _local20:Number; var _local21:Number; var _local22:int; var _local23:int; _local22 = 0; while (_local22 < 8) { _local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 7)]); _local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 7)]); _local4 = (_arg1[(_local23 + 1)] + _arg1[(_local23 + 6)]); _local9 = (_arg1[(_local23 + 1)] - _arg1[(_local23 + 6)]); _local5 = (_arg1[(_local23 + 2)] + _arg1[(_local23 + 5)]); _local8 = (_arg1[(_local23 + 2)] - _arg1[(_local23 + 5)]); _local6 = (_arg1[(_local23 + 3)] + _arg1[(_local23 + 4)]); _local7 = (_arg1[(_local23 + 3)] - _arg1[(_local23 + 4)]); _local11 = (_local3 + _local6); _local14 = (_local3 - _local6); _local12 = (_local4 + _local5); _local13 = (_local4 - _local5); _arg1[(_local23 + 0)] = (_local11 + _local12); _arg1[(_local23 + 4)] = (_local11 - _local12); _local15 = ((_local13 + _local14) * 0.707106781); _arg1[(_local23 + 2)] = (_local14 + _local15); _arg1[(_local23 + 6)] = (_local14 - _local15); _local11 = (_local7 + _local8); _local12 = (_local8 + _local9); _local13 = (_local9 + _local10); _local19 = ((_local11 - _local13) * 0.382683433); _local16 = ((0.5411961 * _local11) + _local19); _local18 = ((1.306562965 * _local13) + _local19); _local17 = (_local12 * 0.707106781); _local20 = (_local10 + _local17); _local21 = (_local10 - _local17); _arg1[(_local23 + 5)] = (_local21 + _local16); _arg1[(_local23 + 3)] = (_local21 - _local16); _arg1[(_local23 + 1)] = (_local20 + _local18); _arg1[(_local23 + 7)] = (_local20 - _local18); _local23 = (_local23 + 8); _local22++; }; _local23 = 0; _local22 = 0; while (_local22 < 8) { _local3 = (_arg1[(_local23 + 0)] + _arg1[(_local23 + 56)]); _local10 = (_arg1[(_local23 + 0)] - _arg1[(_local23 + 56)]); _local4 = (_arg1[(_local23 + 8)] + _arg1[(_local23 + 48)]); _local9 = (_arg1[(_local23 + 8)] - _arg1[(_local23 + 48)]); _local5 = (_arg1[(_local23 + 16)] + _arg1[(_local23 + 40)]); _local8 = (_arg1[(_local23 + 16)] - _arg1[(_local23 + 40)]); _local6 = (_arg1[(_local23 + 24)] + _arg1[(_local23 + 32)]); _local7 = (_arg1[(_local23 + 24)] - _arg1[(_local23 + 32)]); _local11 = (_local3 + _local6); _local14 = (_local3 - _local6); _local12 = (_local4 + _local5); _local13 = (_local4 - _local5); _arg1[(_local23 + 0)] = (_local11 + _local12); _arg1[(_local23 + 32)] = (_local11 - _local12); _local15 = ((_local13 + _local14) * 0.707106781); _arg1[(_local23 + 16)] = (_local14 + _local15); _arg1[(_local23 + 48)] = (_local14 - _local15); _local11 = (_local7 + _local8); _local12 = (_local8 + _local9); _local13 = (_local9 + _local10); _local19 = ((_local11 - _local13) * 0.382683433); _local16 = ((0.5411961 * _local11) + _local19); _local18 = ((1.306562965 * _local13) + _local19); _local17 = (_local12 * 0.707106781); _local20 = (_local10 + _local17); _local21 = (_local10 - _local17); _arg1[(_local23 + 40)] = (_local21 + _local16); _arg1[(_local23 + 24)] = (_local21 - _local16); _arg1[(_local23 + 8)] = (_local20 + _local18); _arg1[(_local23 + 56)] = (_local20 - _local18); _local23++; _local22++; }; _local22 = 0; while (_local22 < 64) { _arg1[_local22] = Math.round((_arg1[_local22] * _arg2[_local22])); _local22++; }; return (_arg1); } } }//package com.adobe.images
Section 78
//PNGEncoder (com.adobe.images.PNGEncoder) package com.adobe.images { import flash.display.*; import flash.utils.*; import flash.geom.*; public class PNGEncoder { private static var crcTableComputed:Boolean = false; private static var crcTable:Array; private static function writeChunk(_arg1:ByteArray, _arg2:uint, _arg3:ByteArray):void{ var _local8:uint; var _local9:uint; var _local10:uint; if (!crcTableComputed){ crcTableComputed = true; crcTable = []; _local9 = 0; while (_local9 < 0x0100) { _local8 = _local9; _local10 = 0; while (_local10 < 8) { if ((_local8 & 1)){ _local8 = uint((uint(3988292384) ^ uint((_local8 >>> 1)))); } else { _local8 = uint((_local8 >>> 1)); }; _local10++; }; crcTable[_local9] = _local8; _local9++; }; }; var _local4:uint; if (_arg3 != null){ _local4 = _arg3.length; }; _arg1.writeUnsignedInt(_local4); var _local5:uint = _arg1.position; _arg1.writeUnsignedInt(_arg2); if (_arg3 != null){ _arg1.writeBytes(_arg3); }; var _local6:uint = _arg1.position; _arg1.position = _local5; _local8 = 4294967295; var _local7:int; while (_local7 < (_local6 - _local5)) { _local8 = uint((crcTable[((_local8 ^ _arg1.readUnsignedByte()) & uint(0xFF))] ^ uint((_local8 >>> 8)))); _local7++; }; _local8 = uint((_local8 ^ uint(4294967295))); _arg1.position = _local6; _arg1.writeUnsignedInt(_local8); } public static function encode(_arg1:BitmapData):ByteArray{ var _local6:uint; var _local7:int; var _local2:ByteArray = new ByteArray(); _local2.writeUnsignedInt(2303741511); _local2.writeUnsignedInt(218765834); var _local3:ByteArray = new ByteArray(); _local3.writeInt(_arg1.width); _local3.writeInt(_arg1.height); _local3.writeUnsignedInt(134610944); _local3.writeByte(0); writeChunk(_local2, 1229472850, _local3); var _local4:ByteArray = new ByteArray(); var _local5:int; while (_local5 < _arg1.height) { _local4.writeByte(0); if (!_arg1.transparent){ _local7 = 0; while (_local7 < _arg1.width) { _local6 = _arg1.getPixel(_local7, _local5); _local4.writeUnsignedInt(uint((((_local6 & 0xFFFFFF) << 8) | 0xFF))); _local7++; }; } else { _local7 = 0; while (_local7 < _arg1.width) { _local6 = _arg1.getPixel32(_local7, _local5); _local4.writeUnsignedInt(uint((((_local6 & 0xFFFFFF) << 8) | (_local6 >>> 24)))); _local7++; }; }; _local5++; }; _local4.compress(); writeChunk(_local2, 1229209940, _local4); writeChunk(_local2, 1229278788, null); return (_local2); } } }//package com.adobe.images
Section 79
//JSON (com.adobe.serialization.json.JSON) package com.adobe.serialization.json { public class JSON { public static function decode(_arg1:String){ var _local2:JSONDecoder = new JSONDecoder(_arg1); return (_local2.getValue()); } public static function encode(_arg1:Object):String{ var _local2:JSONEncoder = new JSONEncoder(_arg1); return (_local2.getString()); } } }//package com.adobe.serialization.json
Section 80
//JSONDecoder (com.adobe.serialization.json.JSONDecoder) package com.adobe.serialization.json { public class JSONDecoder { private var value; private var tokenizer:JSONTokenizer; private var token:JSONToken; public function JSONDecoder(_arg1:String){ tokenizer = new JSONTokenizer(_arg1); nextToken(); value = parseValue(); } private function parseObject():Object{ var _local2:String; var _local1:Object = new Object(); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACE){ return (_local1); }; while (true) { if (token.type == JSONTokenType.STRING){ _local2 = String(token.value); nextToken(); if (token.type == JSONTokenType.COLON){ nextToken(); _local1[_local2] = parseValue(); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACE){ return (_local1); }; if (token.type == JSONTokenType.COMMA){ nextToken(); } else { tokenizer.parseError(("Expecting } or , but found " + token.value)); }; } else { tokenizer.parseError(("Expecting : but found " + token.value)); }; } else { tokenizer.parseError(("Expecting string but found " + token.value)); }; }; return (null); } private function parseValue():Object{ if (token == null){ tokenizer.parseError("Unexpected end of input"); }; switch (token.type){ case JSONTokenType.LEFT_BRACE: return (parseObject()); case JSONTokenType.LEFT_BRACKET: return (parseArray()); case JSONTokenType.STRING: case JSONTokenType.NUMBER: case JSONTokenType.TRUE: case JSONTokenType.FALSE: case JSONTokenType.NULL: return (token.value); default: tokenizer.parseError(("Unexpected " + token.value)); }; return (null); } private function nextToken():JSONToken{ return ((token = tokenizer.getNextToken())); } public function getValue(){ return (value); } private function parseArray():Array{ var _local1:Array = new Array(); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACKET){ return (_local1); }; while (true) { _local1.push(parseValue()); nextToken(); if (token.type == JSONTokenType.RIGHT_BRACKET){ return (_local1); }; if (token.type == JSONTokenType.COMMA){ nextToken(); } else { tokenizer.parseError(("Expecting ] or , but found " + token.value)); }; }; return (null); } } }//package com.adobe.serialization.json
Section 81
//JSONEncoder (com.adobe.serialization.json.JSONEncoder) package com.adobe.serialization.json { import flash.utils.*; public class JSONEncoder { private var jsonString:String; public function JSONEncoder(_arg1){ jsonString = convertToString(_arg1); } private function escapeString(_arg1:String):String{ var _local3:String; var _local6:String; var _local7:String; var _local2 = ""; var _local4:Number = _arg1.length; var _local5:int; while (_local5 < _local4) { _local3 = _arg1.charAt(_local5); switch (_local3){ case "\"": _local2 = (_local2 + "\\\""); break; case "\\": _local2 = (_local2 + "\\\\"); break; case "\b": _local2 = (_local2 + "\\b"); break; case "\f": _local2 = (_local2 + "\\f"); break; case "\n": _local2 = (_local2 + "\\n"); break; case "\r": _local2 = (_local2 + "\\r"); break; case "\t": _local2 = (_local2 + "\\t"); break; default: if (_local3 < " "){ _local6 = _local3.charCodeAt(0).toString(16); _local7 = ((_local6.length == 2)) ? "00" : "000"; _local2 = (_local2 + (("\\u" + _local7) + _local6)); } else { _local2 = (_local2 + _local3); }; }; _local5++; }; return ((("\"" + _local2) + "\"")); } private function arrayToString(_arg1:Array):String{ var _local2 = ""; var _local3:int; while (_local3 < _arg1.length) { if (_local2.length > 0){ _local2 = (_local2 + ","); }; _local2 = (_local2 + convertToString(_arg1[_local3])); _local3++; }; return ((("[" + _local2) + "]")); } public function getString():String{ return (jsonString); } private function objectToString(_arg1:Object):String{ var value:Object; var key:String; var v:XML; var o = _arg1; var s = ""; var classInfo:XML = describeType(o); if (classInfo.@name.toString() == "Object"){ for (key in o) { value = o[key]; if ((value is Function)){ } else { if (s.length > 0){ s = (s + ","); }; s = (s + ((escapeString(key) + ":") + convertToString(value))); }; }; } else { for each (v in classInfo..*.(((name() == "variable")) || ((name() == "accessor")))) { if (s.length > 0){ s = (s + ","); }; s = (s + ((escapeString(v.@name.toString()) + ":") + convertToString(o[v.@name]))); }; }; return ((("{" + s) + "}")); } private function convertToString(_arg1):String{ if ((_arg1 is String)){ return (escapeString((_arg1 as String))); }; if ((_arg1 is Number)){ return ((isFinite((_arg1 as Number))) ? _arg1.toString() : "null"); } else { if ((_arg1 is Boolean)){ return ((_arg1) ? "true" : "false"); } else { if ((_arg1 is Array)){ return (arrayToString((_arg1 as Array))); }; if ((((_arg1 is Object)) && (!((_arg1 == null))))){ return (objectToString(_arg1)); }; }; }; return ("null"); } } }//package com.adobe.serialization.json
Section 82
//JSONParseError (com.adobe.serialization.json.JSONParseError) package com.adobe.serialization.json { public class JSONParseError extends Error { private var _location:int; private var _text:String; public function JSONParseError(_arg1:String="", _arg2:int=0, _arg3:String=""){ super(_arg1); name = "JSONParseError"; _location = _arg2; _text = _arg3; } public function get location():int{ return (_location); } public function get text():String{ return (_text); } } }//package com.adobe.serialization.json
Section 83
//JSONToken (com.adobe.serialization.json.JSONToken) package com.adobe.serialization.json { public class JSONToken { private var _value:Object; private var _type:int; public function JSONToken(_arg1:int=-1, _arg2:Object=null){ _type = _arg1; _value = _arg2; } public function get value():Object{ return (_value); } public function get type():int{ return (_type); } public function set type(_arg1:int):void{ _type = _arg1; } public function set value(_arg1:Object):void{ _value = _arg1; } } }//package com.adobe.serialization.json
Section 84
//JSONTokenizer (com.adobe.serialization.json.JSONTokenizer) package com.adobe.serialization.json { public class JSONTokenizer { private var loc:int; private var ch:String; private var obj:Object; private var jsonString:String; public function JSONTokenizer(_arg1:String){ jsonString = _arg1; loc = 0; nextChar(); } private function skipComments():void{ if (ch == "/"){ nextChar(); switch (ch){ case "/": do { nextChar(); } while (((!((ch == "\n"))) && (!((ch == ""))))); nextChar(); break; case "*": nextChar(); while (true) { if (ch == "*"){ nextChar(); if (ch == "/"){ nextChar(); break; }; } else { nextChar(); }; if (ch == ""){ parseError("Multi-line comment not closed"); }; }; break; default: parseError((("Unexpected " + ch) + " encountered (expecting '/' or '*' )")); }; }; } private function isDigit(_arg1:String):Boolean{ return ((((_arg1 >= "0")) && ((_arg1 <= "9")))); } private function readString():JSONToken{ var _local3:String; var _local4:int; var _local1:JSONToken = new JSONToken(); _local1.type = JSONTokenType.STRING; var _local2 = ""; nextChar(); while (((!((ch == "\""))) && (!((ch == ""))))) { if (ch == "\\"){ nextChar(); switch (ch){ case "\"": _local2 = (_local2 + "\""); break; case "/": _local2 = (_local2 + "/"); break; case "\\": _local2 = (_local2 + "\\"); break; case "b": _local2 = (_local2 + "\b"); break; case "f": _local2 = (_local2 + "\f"); break; case "n": _local2 = (_local2 + "\n"); break; case "r": _local2 = (_local2 + "\r"); break; case "t": _local2 = (_local2 + "\t"); break; case "u": _local3 = ""; _local4 = 0; while (_local4 < 4) { if (!isHexDigit(nextChar())){ parseError((" Excepted a hex digit, but found: " + ch)); }; _local3 = (_local3 + ch); _local4++; }; _local2 = (_local2 + String.fromCharCode(parseInt(_local3, 16))); break; default: _local2 = (_local2 + ("\\" + ch)); }; } else { _local2 = (_local2 + ch); }; nextChar(); }; if (ch == ""){ parseError("Unterminated string literal"); }; nextChar(); _local1.value = _local2; return (_local1); } private function nextChar():String{ return ((ch = jsonString.charAt(loc++))); } public function getNextToken():JSONToken{ var _local2:String; var _local3:String; var _local4:String; var _local1:JSONToken = new JSONToken(); skipIgnored(); switch (ch){ case "{": _local1.type = JSONTokenType.LEFT_BRACE; _local1.value = "{"; nextChar(); break; case "}": _local1.type = JSONTokenType.RIGHT_BRACE; _local1.value = "}"; nextChar(); break; case "[": _local1.type = JSONTokenType.LEFT_BRACKET; _local1.value = "["; nextChar(); break; case "]": _local1.type = JSONTokenType.RIGHT_BRACKET; _local1.value = "]"; nextChar(); break; case ",": _local1.type = JSONTokenType.COMMA; _local1.value = ","; nextChar(); break; case ":": _local1.type = JSONTokenType.COLON; _local1.value = ":"; nextChar(); break; case "t": _local2 = ((("t" + nextChar()) + nextChar()) + nextChar()); if (_local2 == "true"){ _local1.type = JSONTokenType.TRUE; _local1.value = true; nextChar(); } else { parseError(("Expecting 'true' but found " + _local2)); }; break; case "f": _local3 = (((("f" + nextChar()) + nextChar()) + nextChar()) + nextChar()); if (_local3 == "false"){ _local1.type = JSONTokenType.FALSE; _local1.value = false; nextChar(); } else { parseError(("Expecting 'false' but found " + _local3)); }; break; case "n": _local4 = ((("n" + nextChar()) + nextChar()) + nextChar()); if (_local4 == "null"){ _local1.type = JSONTokenType.NULL; _local1.value = null; nextChar(); } else { parseError(("Expecting 'null' but found " + _local4)); }; break; case "\"": _local1 = readString(); break; default: if (((isDigit(ch)) || ((ch == "-")))){ _local1 = readNumber(); } else { if (ch == ""){ return (null); }; parseError((("Unexpected " + ch) + " encountered")); }; }; return (_local1); } private function skipWhite():void{ while (isWhiteSpace(ch)) { nextChar(); }; } public function parseError(_arg1:String):void{ throw (new JSONParseError(_arg1, loc, jsonString)); } private function isWhiteSpace(_arg1:String):Boolean{ return ((((((((_arg1 == " ")) || ((_arg1 == "\t")))) || ((_arg1 == "\n")))) || ((_arg1 == "\r")))); } private function skipIgnored():void{ var _local1:int; do { _local1 = loc; skipWhite(); skipComments(); } while (_local1 != loc); } private function isHexDigit(_arg1:String):Boolean{ var _local2:String = _arg1.toUpperCase(); return (((isDigit(_arg1)) || ((((_local2 >= "A")) && ((_local2 <= "F")))))); } private function readNumber():JSONToken{ var _local1:JSONToken = new JSONToken(); _local1.type = JSONTokenType.NUMBER; var _local2 = ""; if (ch == "-"){ _local2 = (_local2 + "-"); nextChar(); }; if (!isDigit(ch)){ parseError("Expecting a digit"); }; if (ch == "0"){ _local2 = (_local2 + ch); nextChar(); if (isDigit(ch)){ parseError("A digit cannot immediately follow 0"); }; } else { while (isDigit(ch)) { _local2 = (_local2 + ch); nextChar(); }; }; if (ch == "."){ _local2 = (_local2 + "."); nextChar(); if (!isDigit(ch)){ parseError("Expecting a digit"); }; while (isDigit(ch)) { _local2 = (_local2 + ch); nextChar(); }; }; if ((((ch == "e")) || ((ch == "E")))){ _local2 = (_local2 + "e"); nextChar(); if ((((ch == "+")) || ((ch == "-")))){ _local2 = (_local2 + ch); nextChar(); }; if (!isDigit(ch)){ parseError("Scientific notation number needs exponent value"); }; while (isDigit(ch)) { _local2 = (_local2 + ch); nextChar(); }; }; var _local3:Number = Number(_local2); if (((isFinite(_local3)) && (!(isNaN(_local3))))){ _local1.value = _local3; return (_local1); }; parseError((("Number " + _local3) + " is not valid!")); return (null); } } }//package com.adobe.serialization.json
Section 85
//JSONTokenType (com.adobe.serialization.json.JSONTokenType) package com.adobe.serialization.json { public class JSONTokenType { public static const NUMBER:int = 11; public static const FALSE:int = 8; public static const RIGHT_BRACKET:int = 4; public static const NULL:int = 9; public static const TRUE:int = 7; public static const RIGHT_BRACE:int = 2; public static const UNKNOWN:int = -1; public static const COMMA:int = 0; public static const LEFT_BRACKET:int = 3; public static const STRING:int = 10; public static const LEFT_BRACE:int = 1; public static const COLON:int = 6; } }//package com.adobe.serialization.json
Section 86
//IntUtil (com.adobe.utils.IntUtil) package com.adobe.utils { public class IntUtil { private static var hexChars:String = "0123456789abcdef"; public static function toHex(_arg1:int, _arg2:Boolean=false):String{ var _local4:int; var _local5:int; var _local3 = ""; if (_arg2){ _local4 = 0; while (_local4 < 4) { _local3 = (_local3 + (hexChars.charAt(((_arg1 >> (((3 - _local4) * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> ((3 - _local4) * 8)) & 15)))); _local4++; }; } else { _local5 = 0; while (_local5 < 4) { _local3 = (_local3 + (hexChars.charAt(((_arg1 >> ((_local5 * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> (_local5 * 8)) & 15)))); _local5++; }; }; return (_local3); } public static function ror(_arg1:int, _arg2:int):uint{ var _local3:int = (32 - _arg2); return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3)))); } public static function rol(_arg1:int, _arg2:int):int{ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } } }//package com.adobe.utils
Section 87
//CreateToken (com.facebook.commands.auth.CreateToken) package com.facebook.commands.auth { import com.facebook.net.*; public class CreateToken extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "auth.createToken"; public function CreateToken(){ super(METHOD_NAME); } } }//package com.facebook.commands.auth
Section 88
//ExpireSession (com.facebook.commands.auth.ExpireSession) package com.facebook.commands.auth { import com.facebook.net.*; public class ExpireSession extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "auth.expireSession"; public function ExpireSession(){ super(METHOD_NAME); } } }//package com.facebook.commands.auth
Section 89
//GetSession (com.facebook.commands.auth.GetSession) package com.facebook.commands.auth { import com.facebook.net.*; import com.facebook.*; public class GetSession extends FacebookCall { public var auth_token:String; public static const SCHEMA:Array = ["auth_token"]; public static const METHOD_NAME:String = "auth.getSession"; public function GetSession(_arg1:String){ super(METHOD_NAME); this.auth_token = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, auth_token); super.initialize(); } } }//package com.facebook.commands.auth
Section 90
//GetCookiesData (com.facebook.commands.data.GetCookiesData) package com.facebook.commands.data { import com.facebook.data.*; public class GetCookiesData extends FacebookData { public var uid:String; public var value:String; public var expires:Number; public var path:String; public var name:String; } }//package com.facebook.commands.data
Section 91
//UploadPhoto (com.facebook.commands.photos.UploadPhoto) package com.facebook.commands.photos { import com.facebook.net.*; import com.facebook.data.photos.*; import com.facebook.*; public class UploadPhoto extends FacebookCall implements IUploadPhoto { public var aid:String; protected var _data:Object; public var uid:String; public var caption:String; public var uploadedPhoto:FacebookPhoto; protected var _uploadType:String;// = "png" protected var _uploadQuality:uint;// = 80 public static const SCHEMA:Array = ["data", "aid", "caption", "uid"]; public static const METHOD_NAME:String = "photos.upload"; public function UploadPhoto(_arg1:Object, _arg2:String=null, _arg3:String=null, _arg4:String=null){ super(METHOD_NAME); this.data = _arg1; this.aid = _arg2; this.caption = _arg3; this.uid = _arg4; } override facebook_internal function initialize():void{ applySchema(SCHEMA, data, aid, caption, uid); super.initialize(); } public function get uploadType():String{ return (_uploadType); } public function set data(_arg1:Object):void{ _data = _arg1; } public function get data():Object{ return (_data); } public function set uploadType(_arg1:String):void{ _uploadType = _arg1; } public function set uploadQuality(_arg1:uint):void{ _uploadQuality = _arg1; } public function get uploadQuality():uint{ return (_uploadQuality); } } }//package com.facebook.commands.photos
Section 92
//UploadPhotoTypes (com.facebook.commands.photos.UploadPhotoTypes) package com.facebook.commands.photos { public class UploadPhotoTypes { public static const JPEG:String = "jpeg"; public static const PNG:String = "png"; } }//package com.facebook.commands.photos
Section 93
//PublishPost (com.facebook.commands.stream.PublishPost) package com.facebook.commands.stream { import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.*; public class PublishPost extends FacebookCall { public var action_links:Array; public var attachment:Object; public var uid:String; public var target_id:String; public var message:String; public static const SCHEMA:Array = ["message", "attachment", "action_links", "target_id", "uid"]; public static const METHOD_NAME:String = "stream.publish"; public function PublishPost(_arg1:String=null, _arg2:Object=null, _arg3:Array=null, _arg4:String=null, _arg5:String=null){ super(METHOD_NAME); this.message = _arg1; this.attachment = _arg2; this.action_links = _arg3; this.target_id = _arg4; this.uid = _arg5; } override facebook_internal function initialize():void{ var _local1:String = JSON.encode(action_links); applySchema(SCHEMA, message, JSON.encode(attachment), ((_local1)!="null") ? _local1 : null, target_id, uid); super.initialize(); } } }//package com.facebook.commands.stream
Section 94
//GetLoggedInUser (com.facebook.commands.users.GetLoggedInUser) package com.facebook.commands.users { import com.facebook.net.*; public class GetLoggedInUser extends FacebookCall { public static const SCHEMA:Array = []; public static const METHOD_NAME:String = "users.getLoggedInUser"; public function GetLoggedInUser(){ super(METHOD_NAME); } } }//package com.facebook.commands.users
Section 95
//UploadVideo (com.facebook.commands.video.UploadVideo) package com.facebook.commands.video { import com.facebook.net.*; import com.facebook.*; public class UploadVideo extends FacebookCall implements IUploadVideo { protected var _title:String; protected var _ext:String; protected var _data:Object; protected var _description:String; public static const SCHEMA:Array = ["data", "title", "description"]; public static const METHOD_NAME:String = "video.upload"; public function UploadVideo(_arg1:String, _arg2:Object, _arg3:String=null, _arg4:String=null){ super(METHOD_NAME); this.ext = _arg1; this.data = _arg2; this.title = _arg3; this.description = _arg4; } public function get ext():String{ return (_ext); } public function set description(_arg1:String):void{ _description = _arg1; } public function get data():Object{ return (_data); } public function set title(_arg1:String):void{ _title = _arg1; } public function set ext(_arg1:String):void{ _ext = _arg1; } public function set data(_arg1:Object):void{ _data = _arg1; } override facebook_internal function initialize():void{ applySchema(SCHEMA, data, title, description); super.initialize(); } public function get title():String{ return (_title); } public function get description():String{ return (_description); } } }//package com.facebook.commands.video
Section 96
//GetAllocationData (com.facebook.data.admin.GetAllocationData) package com.facebook.data.admin { import com.facebook.data.*; import mx.events.*; public class GetAllocationData extends FacebookData { private var _376596805allocationLimit:Number; public function get allocationLimit():Number{ return (this._376596805allocationLimit); } public function set allocationLimit(_arg1:Number):void{ var _local2:Object = this._376596805allocationLimit; if (_local2 !== _arg1){ this._376596805allocationLimit = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "allocationLimit", _local2, _arg1)); }; } } }//package com.facebook.data.admin
Section 97
//GetAppPropertiesData (com.facebook.data.admin.GetAppPropertiesData) package com.facebook.data.admin { import com.facebook.data.*; import mx.events.*; public class GetAppPropertiesData extends FacebookData { private var _554397236appProperties:Object; public function set appProperties(_arg1:Object):void{ var _local2:Object = this._554397236appProperties; if (_local2 !== _arg1){ this._554397236appProperties = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "appProperties", _local2, _arg1)); }; } public function get appProperties():Object{ return (this._554397236appProperties); } } }//package com.facebook.data.admin
Section 98
//GetMetricsData (com.facebook.data.admin.GetMetricsData) package com.facebook.data.admin { import com.facebook.data.*; import mx.events.*; public class GetMetricsData extends FacebookData { private var _1648653249metricsCollection:MetricsDataCollection; public function get metricsCollection():MetricsDataCollection{ return (this._1648653249metricsCollection); } public function set metricsCollection(_arg1:MetricsDataCollection):void{ var _local2:Object = this._1648653249metricsCollection; if (_local2 !== _arg1){ this._1648653249metricsCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "metricsCollection", _local2, _arg1)); }; } } }//package com.facebook.data.admin
Section 99
//MetricsData (com.facebook.data.admin.MetricsData) package com.facebook.data.admin { import flash.events.*; import mx.events.*; public class MetricsData implements IEventDispatcher { private var _1725551537end_time:Date; private var _1769771919active_users:Number; private var _bindingEventDispatcher:EventDispatcher; private var _652996091canvas_page_views:Number; public function MetricsData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function get canvas_page_views():Number{ return (this._652996091canvas_page_views); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function set end_time(_arg1:Date):void{ var _local2:Object = this._1725551537end_time; if (_local2 !== _arg1){ this._1725551537end_time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "end_time", _local2, _arg1)); }; } public function set canvas_page_views(_arg1:Number):void{ var _local2:Object = this._652996091canvas_page_views; if (_local2 !== _arg1){ this._652996091canvas_page_views = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "canvas_page_views", _local2, _arg1)); }; } public function get active_users():Number{ return (this._1769771919active_users); } public function get end_time():Date{ return (this._1725551537end_time); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function set active_users(_arg1:Number):void{ var _local2:Object = this._1769771919active_users; if (_local2 !== _arg1){ this._1769771919active_users = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "active_users", _local2, _arg1)); }; } } }//package com.facebook.data.admin
Section 100
//MetricsDataCollection (com.facebook.data.admin.MetricsDataCollection) package com.facebook.data.admin { import com.facebook.utils.*; public class MetricsDataCollection extends FacebookArrayCollection { public function MetricsDataCollection(){ super(null, MetricsData); } } }//package com.facebook.data.admin
Section 101
//GetPublicInfoData (com.facebook.data.application.GetPublicInfoData) package com.facebook.data.application { import com.facebook.data.*; import mx.events.*; public class GetPublicInfoData extends FacebookData { private var _737588055icon_url:String; private var _1793855977developers:String; private var _1615086568display_name:String; private var _1872800494canvas_name:String; private var _1724546052description:String; private var _2027875547logo_url:String; private var _171158145monthly_active_users:Number; private var _1429880077company_name:String; private var _650176883weekly_active_users:Number; private var _800085318api_key:String; private var _1411074055app_id:String; private var _1957597173daily_active_users:Number; public function set app_id(_arg1:String):void{ var _local2:Object = this._1411074055app_id; if (_local2 !== _arg1){ this._1411074055app_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "app_id", _local2, _arg1)); }; } public function set monthly_active_users(_arg1:Number):void{ var _local2:Object = this._171158145monthly_active_users; if (_local2 !== _arg1){ this._171158145monthly_active_users = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "monthly_active_users", _local2, _arg1)); }; } public function set api_key(_arg1:String):void{ var _local2:Object = this._800085318api_key; if (_local2 !== _arg1){ this._800085318api_key = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "api_key", _local2, _arg1)); }; } public function get monthly_active_users():Number{ return (this._171158145monthly_active_users); } public function get developers():String{ return (this._1793855977developers); } public function set display_name(_arg1:String):void{ var _local2:Object = this._1615086568display_name; if (_local2 !== _arg1){ this._1615086568display_name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "display_name", _local2, _arg1)); }; } public function set company_name(_arg1:String):void{ var _local2:Object = this._1429880077company_name; if (_local2 !== _arg1){ this._1429880077company_name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "company_name", _local2, _arg1)); }; } public function get company_name():String{ return (this._1429880077company_name); } public function set developers(_arg1:String):void{ var _local2:Object = this._1793855977developers; if (_local2 !== _arg1){ this._1793855977developers = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "developers", _local2, _arg1)); }; } public function get logo_url():String{ return (this._2027875547logo_url); } public function get weekly_active_users():Number{ return (this._650176883weekly_active_users); } public function get description():String{ return (this._1724546052description); } public function set weekly_active_users(_arg1:Number):void{ var _local2:Object = this._650176883weekly_active_users; if (_local2 !== _arg1){ this._650176883weekly_active_users = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "weekly_active_users", _local2, _arg1)); }; } public function get canvas_name():String{ return (this._1872800494canvas_name); } public function set canvas_name(_arg1:String):void{ var _local2:Object = this._1872800494canvas_name; if (_local2 !== _arg1){ this._1872800494canvas_name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "canvas_name", _local2, _arg1)); }; } public function set description(_arg1:String):void{ var _local2:Object = this._1724546052description; if (_local2 !== _arg1){ this._1724546052description = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "description", _local2, _arg1)); }; } public function get icon_url():String{ return (this._737588055icon_url); } public function set icon_url(_arg1:String):void{ var _local2:Object = this._737588055icon_url; if (_local2 !== _arg1){ this._737588055icon_url = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "icon_url", _local2, _arg1)); }; } public function get display_name():String{ return (this._1615086568display_name); } public function set daily_active_users(_arg1:Number):void{ var _local2:Object = this._1957597173daily_active_users; if (_local2 !== _arg1){ this._1957597173daily_active_users = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "daily_active_users", _local2, _arg1)); }; } public function get daily_active_users():Number{ return (this._1957597173daily_active_users); } public function get app_id():String{ return (this._1411074055app_id); } public function get api_key():String{ return (this._800085318api_key); } public function set logo_url(_arg1:String):void{ var _local2:Object = this._2027875547logo_url; if (_local2 !== _arg1){ this._2027875547logo_url = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "logo_url", _local2, _arg1)); }; } } }//package com.facebook.data.application
Section 102
//GetSessionData (com.facebook.data.auth.GetSessionData) package com.facebook.data.auth { import com.facebook.data.*; import mx.events.*; public class GetSessionData extends FacebookData { private var _1309235404expires:Date; private var _22145738session_key:String; private var _906277200secret:String; private var _115792uid:String; public function set uid(_arg1:String):void{ var _local2:Object = this._115792uid; if (_local2 !== _arg1){ this._115792uid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "uid", _local2, _arg1)); }; } public function set expires(_arg1:Date):void{ var _local2:Object = this._1309235404expires; if (_local2 !== _arg1){ this._1309235404expires = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "expires", _local2, _arg1)); }; } public function set secret(_arg1:String):void{ var _local2:Object = this._906277200secret; if (_local2 !== _arg1){ this._906277200secret = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "secret", _local2, _arg1)); }; } public function get expires():Date{ return (this._1309235404expires); } public function get uid():String{ return (this._115792uid); } public function set session_key(_arg1:String):void{ var _local2:Object = this._22145738session_key; if (_local2 !== _arg1){ this._22145738session_key = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "session_key", _local2, _arg1)); }; } public function get session_key():String{ return (this._22145738session_key); } public function get secret():String{ return (this._906277200secret); } } }//package com.facebook.data.auth
Section 103
//BatchResult (com.facebook.data.batch.BatchResult) package com.facebook.data.batch { import com.facebook.data.*; import mx.events.*; public class BatchResult extends FacebookData { private var _1097546742results:Array; public function set results(_arg1:Array):void{ var _local2:Object = this._1097546742results; if (_local2 !== _arg1){ this._1097546742results = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "results", _local2, _arg1)); }; } public function get results():Array{ return (this._1097546742results); } } }//package com.facebook.data.batch
Section 104
//GetObjectTypeData (com.facebook.data.data.GetObjectTypeData) package com.facebook.data.data { import com.facebook.data.*; import mx.events.*; public class GetObjectTypeData extends FacebookData { private var _747164295index_type:Number; private var _3373707name:String; private var _363359569data_type:Number; public function get index_type():Number{ return (this._747164295index_type); } public function get name():String{ return (this._3373707name); } public function get data_type():Number{ return (this._363359569data_type); } public function set index_type(_arg1:Number):void{ var _local2:Object = this._747164295index_type; if (_local2 !== _arg1){ this._747164295index_type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "index_type", _local2, _arg1)); }; } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function set data_type(_arg1:Number):void{ var _local2:Object = this._363359569data_type; if (_local2 !== _arg1){ this._363359569data_type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "data_type", _local2, _arg1)); }; } } }//package com.facebook.data.data
Section 105
//GetObjectTypesData (com.facebook.data.data.GetObjectTypesData) package com.facebook.data.data { import com.facebook.data.*; import mx.events.*; public class GetObjectTypesData extends FacebookData { private var _1481977495objectTypeCollection:ObjectTypesCollection; public function set objectTypeCollection(_arg1:ObjectTypesCollection):void{ var _local2:Object = this._1481977495objectTypeCollection; if (_local2 !== _arg1){ this._1481977495objectTypeCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "objectTypeCollection", _local2, _arg1)); }; } public function get objectTypeCollection():ObjectTypesCollection{ return (this._1481977495objectTypeCollection); } } }//package com.facebook.data.data
Section 106
//GetUserPreferencesData (com.facebook.data.data.GetUserPreferencesData) package com.facebook.data.data { import com.facebook.data.*; import mx.events.*; public class GetUserPreferencesData extends FacebookData { private var _1984973153perferenceCollection:PreferenceCollection; public function set perferenceCollection(_arg1:PreferenceCollection):void{ var _local2:Object = this._1984973153perferenceCollection; if (_local2 !== _arg1){ this._1984973153perferenceCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "perferenceCollection", _local2, _arg1)); }; } public function get perferenceCollection():PreferenceCollection{ return (this._1984973153perferenceCollection); } } }//package com.facebook.data.data
Section 107
//ObjectTypesCollection (com.facebook.data.data.ObjectTypesCollection) package com.facebook.data.data { import com.facebook.utils.*; public class ObjectTypesCollection extends FacebookArrayCollection { public function ObjectTypesCollection(){ super(null, ObjectTypesData); } } }//package com.facebook.data.data
Section 108
//ObjectTypesData (com.facebook.data.data.ObjectTypesData) package com.facebook.data.data { import flash.events.*; import mx.events.*; public class ObjectTypesData implements IEventDispatcher { private var _3373707name:String; private var _953875336object_class:String; private var _bindingEventDispatcher:EventDispatcher; public function ObjectTypesData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get name():String{ return (this._3373707name); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function set object_class(_arg1:String):void{ var _local2:Object = this._953875336object_class; if (_local2 !== _arg1){ this._953875336object_class = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "object_class", _local2, _arg1)); }; } public function get object_class():String{ return (this._953875336object_class); } } }//package com.facebook.data.data
Section 109
//PreferenceCollection (com.facebook.data.data.PreferenceCollection) package com.facebook.data.data { import com.facebook.utils.*; public class PreferenceCollection extends FacebookArrayCollection { public function PreferenceCollection(){ super(null, PreferenceData); } } }//package com.facebook.data.data
Section 110
//PreferenceData (com.facebook.data.data.PreferenceData) package com.facebook.data.data { import flash.events.*; import mx.events.*; public class PreferenceData implements IEventDispatcher { private var _111972721value:String; private var _bindingEventDispatcher:EventDispatcher; private var _318670665pref_id:Number; public function PreferenceData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function set value(_arg1:String):void{ var _local2:Object = this._111972721value; if (_local2 !== _arg1){ this._111972721value = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "value", _local2, _arg1)); }; } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set pref_id(_arg1:Number):void{ var _local2:Object = this._318670665pref_id; if (_local2 !== _arg1){ this._318670665pref_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pref_id", _local2, _arg1)); }; } public function get value():String{ return (this._111972721value); } public function get pref_id():Number{ return (this._318670665pref_id); } } }//package com.facebook.data.data
Section 111
//EventCollection (com.facebook.data.events.EventCollection) package com.facebook.data.events { import com.facebook.utils.*; public class EventCollection extends FacebookArrayCollection { public function EventCollection(){ super(null, EventData); } } }//package com.facebook.data.events
Section 112
//EventData (com.facebook.data.events.EventData) package com.facebook.data.events { import flash.events.*; import com.facebook.data.*; import mx.events.*; public class EventData implements IEventDispatcher { private var _984376767event_type:String; private var _3373707name:String; private var _1725551537end_time:Date; private var _112093807venue:FacebookLocation; private var _1028554796creator:Number; private var _1573145462start_time:Date; private var _109065nid:Number; private var _1762076142pic_small:String; private var _bindingEventDispatcher:EventDispatcher; private var _3208616host:String; private var _110986pic:String; private var _578385717pic_big:String; private var _1901043637location:String; private var _573446013update_time:Date; private var _1724546052description:String; private var _1482814251event_subtype:String; private var _1548283250tagline:String; private var _100416eid:String; public function EventData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function set eid(_arg1:String):void{ var _local2:Object = this._100416eid; if (_local2 !== _arg1){ this._100416eid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "eid", _local2, _arg1)); }; } public function get update_time():Date{ return (this._573446013update_time); } public function set update_time(_arg1:Date):void{ var _local2:Object = this._573446013update_time; if (_local2 !== _arg1){ this._573446013update_time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "update_time", _local2, _arg1)); }; } public function get nid():Number{ return (this._109065nid); } public function get pic():String{ return (this._110986pic); } public function get name():String{ return (this._3373707name); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get tagline():String{ return (this._1548283250tagline); } public function get start_time():Date{ return (this._1573145462start_time); } public function set nid(_arg1:Number):void{ var _local2:Object = this._109065nid; if (_local2 !== _arg1){ this._109065nid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "nid", _local2, _arg1)); }; } public function set pic(_arg1:String):void{ var _local2:Object = this._110986pic; if (_local2 !== _arg1){ this._110986pic = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic", _local2, _arg1)); }; } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function get pic_small():String{ return (this._1762076142pic_small); } public function set tagline(_arg1:String):void{ var _local2:Object = this._1548283250tagline; if (_local2 !== _arg1){ this._1548283250tagline = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "tagline", _local2, _arg1)); }; } public function set pic_small(_arg1:String):void{ var _local2:Object = this._1762076142pic_small; if (_local2 !== _arg1){ this._1762076142pic_small = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_small", _local2, _arg1)); }; } public function set pic_big(_arg1:String):void{ var _local2:Object = this._578385717pic_big; if (_local2 !== _arg1){ this._578385717pic_big = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_big", _local2, _arg1)); }; } public function set event_subtype(_arg1:String):void{ var _local2:Object = this._1482814251event_subtype; if (_local2 !== _arg1){ this._1482814251event_subtype = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "event_subtype", _local2, _arg1)); }; } public function get creator():Number{ return (this._1028554796creator); } public function get host():String{ return (this._3208616host); } public function get location():String{ return (this._1901043637location); } public function get event_type():String{ return (this._984376767event_type); } public function get eid():String{ return (this._100416eid); } public function set start_time(_arg1:Date):void{ var _local2:Object = this._1573145462start_time; if (_local2 !== _arg1){ this._1573145462start_time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "start_time", _local2, _arg1)); }; } public function get end_time():Date{ return (this._1725551537end_time); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get pic_big():String{ return (this._578385717pic_big); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function set host(_arg1:String):void{ var _local2:Object = this._3208616host; if (_local2 !== _arg1){ this._3208616host = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "host", _local2, _arg1)); }; } public function set creator(_arg1:Number):void{ var _local2:Object = this._1028554796creator; if (_local2 !== _arg1){ this._1028554796creator = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "creator", _local2, _arg1)); }; } public function get event_subtype():String{ return (this._1482814251event_subtype); } public function set venue(_arg1:FacebookLocation):void{ var _local2:Object = this._112093807venue; if (_local2 !== _arg1){ this._112093807venue = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "venue", _local2, _arg1)); }; } public function set end_time(_arg1:Date):void{ var _local2:Object = this._1725551537end_time; if (_local2 !== _arg1){ this._1725551537end_time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "end_time", _local2, _arg1)); }; } public function get venue():FacebookLocation{ return (this._112093807venue); } public function set location(_arg1:String):void{ var _local2:Object = this._1901043637location; if (_local2 !== _arg1){ this._1901043637location = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "location", _local2, _arg1)); }; } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function set description(_arg1:String):void{ var _local2:Object = this._1724546052description; if (_local2 !== _arg1){ this._1724546052description = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "description", _local2, _arg1)); }; } public function get description():String{ return (this._1724546052description); } public function set event_type(_arg1:String):void{ var _local2:Object = this._984376767event_type; if (_local2 !== _arg1){ this._984376767event_type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "event_type", _local2, _arg1)); }; } } }//package com.facebook.data.events
Section 113
//GetEventsData (com.facebook.data.events.GetEventsData) package com.facebook.data.events { import com.facebook.data.*; import mx.events.*; public class GetEventsData extends FacebookData { private var _2121991384eventCollection:EventCollection; public function get eventCollection():EventCollection{ return (this._2121991384eventCollection); } public function set eventCollection(_arg1:EventCollection):void{ var _local2:Object = this._2121991384eventCollection; if (_local2 !== _arg1){ this._2121991384eventCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "eventCollection", _local2, _arg1)); }; } } }//package com.facebook.data.events
Section 114
//GetMembersData (com.facebook.data.events.GetMembersData) package com.facebook.data.events { import com.facebook.data.*; import mx.events.*; public class GetMembersData extends FacebookData { private var _354428152attending:Array; private var _568196142declined:Array; private var _840227282unsure:Array; private var _487874675not_replied:Array; public function set declined(_arg1:Array):void{ var _local2:Object = this._568196142declined; if (_local2 !== _arg1){ this._568196142declined = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "declined", _local2, _arg1)); }; } public function get attending():Array{ return (this._354428152attending); } public function set not_replied(_arg1:Array):void{ var _local2:Object = this._487874675not_replied; if (_local2 !== _arg1){ this._487874675not_replied = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "not_replied", _local2, _arg1)); }; } public function get not_replied():Array{ return (this._487874675not_replied); } public function get unsure():Array{ return (this._840227282unsure); } public function set attending(_arg1:Array):void{ var _local2:Object = this._354428152attending; if (_local2 !== _arg1){ this._354428152attending = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "attending", _local2, _arg1)); }; } public function set unsure(_arg1:Array):void{ var _local2:Object = this._840227282unsure; if (_local2 !== _arg1){ this._840227282unsure = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "unsure", _local2, _arg1)); }; } public function get declined():Array{ return (this._568196142declined); } } }//package com.facebook.data.events
Section 115
//AbstractTagData (com.facebook.data.fbml.AbstractTagData) package com.facebook.data.fbml { import flash.events.*; import mx.events.*; public class AbstractTagData implements IEventDispatcher { private var _513384674is_public:String; private var _1183728077header_fbml:String; private var _3373707name:String; private var _3575610type:String; private var _1098131327footer_fbml:String; private var _405645655attributes:AttributeCollection; private var _1724546052description:String; private var _bindingEventDispatcher:EventDispatcher; public function AbstractTagData(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String="", _arg6:String="", _arg7:AttributeCollection=null){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); this.name = _arg1; this.type = _arg4; this.description = _arg5; this.is_public = _arg6; this.header_fbml = _arg2; this.footer_fbml = _arg3; this.attributes = _arg7; } public function set is_public(_arg1:String):void{ var _local2:Object = this._513384674is_public; if (_local2 !== _arg1){ this._513384674is_public = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "is_public", _local2, _arg1)); }; } public function set footer_fbml(_arg1:String):void{ var _local2:Object = this._1098131327footer_fbml; if (_local2 !== _arg1){ this._1098131327footer_fbml = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "footer_fbml", _local2, _arg1)); }; } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get name():String{ return (this._3373707name); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function get header_fbml():String{ return (this._1183728077header_fbml); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function get attributes():AttributeCollection{ return (this._405645655attributes); } public function set header_fbml(_arg1:String):void{ var _local2:Object = this._1183728077header_fbml; if (_local2 !== _arg1){ this._1183728077header_fbml = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "header_fbml", _local2, _arg1)); }; } public function get is_public():String{ return (this._513384674is_public); } public function set attributes(_arg1:AttributeCollection):void{ var _local2:Object = this._405645655attributes; if (_local2 !== _arg1){ this._405645655attributes = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "attributes", _local2, _arg1)); }; } public function set type(_arg1:String):void{ var _local2:Object = this._3575610type; if (_local2 !== _arg1){ this._3575610type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "type", _local2, _arg1)); }; } public function set description(_arg1:String):void{ var _local2:Object = this._1724546052description; if (_local2 !== _arg1){ this._1724546052description = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "description", _local2, _arg1)); }; } public function get type():String{ return (this._3575610type); } public function get description():String{ return (this._1724546052description); } public function get footer_fbml():String{ return (this._1098131327footer_fbml); } } }//package com.facebook.data.fbml
Section 116
//AttributeCollection (com.facebook.data.fbml.AttributeCollection) package com.facebook.data.fbml { import com.facebook.utils.*; public class AttributeCollection extends FacebookArrayCollection { public function AttributeCollection(){ super(null, AttributeData); } } }//package com.facebook.data.fbml
Section 117
//AttributeData (com.facebook.data.fbml.AttributeData) package com.facebook.data.fbml { import flash.events.*; import mx.events.*; public class AttributeData implements IEventDispatcher { private var _1318671859default_value:String; private var _3373707name:String; private var _bindingEventDispatcher:EventDispatcher; private var _1724546052description:String; public function AttributeData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get name():String{ return (this._3373707name); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function set default_value(_arg1:String):void{ var _local2:Object = this._1318671859default_value; if (_local2 !== _arg1){ this._1318671859default_value = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "default_value", _local2, _arg1)); }; } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function set description(_arg1:String):void{ var _local2:Object = this._1724546052description; if (_local2 !== _arg1){ this._1724546052description = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "description", _local2, _arg1)); }; } public function get default_value():String{ return (this._1318671859default_value); } public function get description():String{ return (this._1724546052description); } } }//package com.facebook.data.fbml
Section 118
//ContainerTagData (com.facebook.data.fbml.ContainerTagData) package com.facebook.data.fbml { import mx.events.*; public class ContainerTagData extends AbstractTagData { private var _1772097351close_tag_fbml:String; private var _1445528373open_tag_fbml:String; public function ContainerTagData(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String, _arg7:String="", _arg8:String="", _arg9:AttributeCollection=null){ this.open_tag_fbml = _arg5; this.close_tag_fbml = _arg6; super(_arg1, _arg2, _arg3, _arg4, _arg7, _arg8, _arg9); } public function get open_tag_fbml():String{ return (this._1445528373open_tag_fbml); } public function get close_tag_fbml():String{ return (this._1772097351close_tag_fbml); } public function set open_tag_fbml(_arg1:String):void{ var _local2:Object = this._1445528373open_tag_fbml; if (_local2 !== _arg1){ this._1445528373open_tag_fbml = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "open_tag_fbml", _local2, _arg1)); }; } public function set close_tag_fbml(_arg1:String):void{ var _local2:Object = this._1772097351close_tag_fbml; if (_local2 !== _arg1){ this._1772097351close_tag_fbml = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "close_tag_fbml", _local2, _arg1)); }; } } }//package com.facebook.data.fbml
Section 119
//GetCustomTagsData (com.facebook.data.fbml.GetCustomTagsData) package com.facebook.data.fbml { import com.facebook.data.*; import mx.events.*; public class GetCustomTagsData extends FacebookData { private var _189132328tagCollection:TagCollection; public function set tagCollection(_arg1:TagCollection):void{ var _local2:Object = this._189132328tagCollection; if (_local2 !== _arg1){ this._189132328tagCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "tagCollection", _local2, _arg1)); }; } public function get tagCollection():TagCollection{ return (this._189132328tagCollection); } } }//package com.facebook.data.fbml
Section 120
//LeafTagData (com.facebook.data.fbml.LeafTagData) package com.facebook.data.fbml { import mx.events.*; public class LeafTagData extends AbstractTagData { private var _3136347fbml:String; public function LeafTagData(_arg1:String, _arg2:String, _arg3:String, _arg4:String, _arg5:String, _arg6:String="", _arg7:String="", _arg8:AttributeCollection=null){ super(_arg1, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); this.fbml = _arg2; } public function get fbml():String{ return (this._3136347fbml); } public function set fbml(_arg1:String):void{ var _local2:Object = this._3136347fbml; if (_local2 !== _arg1){ this._3136347fbml = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "fbml", _local2, _arg1)); }; } } }//package com.facebook.data.fbml
Section 121
//TagCollection (com.facebook.data.fbml.TagCollection) package com.facebook.data.fbml { import com.facebook.utils.*; public class TagCollection extends FacebookArrayCollection { public function TagCollection(){ super(null, AbstractTagData); } } }//package com.facebook.data.fbml
Section 122
//GetRegisteredTemplateBundleByIDData (com.facebook.data.feed.GetRegisteredTemplateBundleByIDData) package com.facebook.data.feed { import com.facebook.data.*; import mx.events.*; public class GetRegisteredTemplateBundleByIDData extends FacebookData { private var _858818232templateCollection:TemplateCollection; public function get templateCollection():TemplateCollection{ return (this._858818232templateCollection); } public function set templateCollection(_arg1:TemplateCollection):void{ var _local2:Object = this._858818232templateCollection; if (_local2 !== _arg1){ this._858818232templateCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "templateCollection", _local2, _arg1)); }; } } }//package com.facebook.data.feed
Section 123
//GetRegisteredTemplateBundleData (com.facebook.data.feed.GetRegisteredTemplateBundleData) package com.facebook.data.feed { import com.facebook.data.*; import mx.events.*; public class GetRegisteredTemplateBundleData extends FacebookData { private var _1345486656bundleCollection:TemplateCollection; public function get bundleCollection():TemplateCollection{ return (this._1345486656bundleCollection); } public function set bundleCollection(_arg1:TemplateCollection):void{ var _local2:Object = this._1345486656bundleCollection; if (_local2 !== _arg1){ this._1345486656bundleCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "bundleCollection", _local2, _arg1)); }; } } }//package com.facebook.data.feed
Section 124
//TemplateBundleCollection (com.facebook.data.feed.TemplateBundleCollection) package com.facebook.data.feed { import com.facebook.utils.*; public class TemplateBundleCollection extends FacebookArrayCollection { public function TemplateBundleCollection(){ super(null, TemplateData); } } }//package com.facebook.data.feed
Section 125
//TemplateCollection (com.facebook.data.feed.TemplateCollection) package com.facebook.data.feed { import mx.events.*; import com.facebook.utils.*; public class TemplateCollection extends FacebookArrayCollection { private var _630236298time_created:Date; private var _1933135987template_bundle_id:Number; public function TemplateCollection(){ super(null, TemplateData); } public function addTemplateData(_arg1:TemplateData):void{ this.addItem(_arg1); } public function set template_bundle_id(_arg1:Number):void{ var _local2:Object = this._1933135987template_bundle_id; if (_local2 !== _arg1){ this._1933135987template_bundle_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "template_bundle_id", _local2, _arg1)); }; } public function get template_bundle_id():Number{ return (this._1933135987template_bundle_id); } public function set time_created(_arg1:Date):void{ var _local2:Object = this._630236298time_created; if (_local2 !== _arg1){ this._630236298time_created = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "time_created", _local2, _arg1)); }; } public function get time_created():Date{ return (this._630236298time_created); } } }//package com.facebook.data.feed
Section 126
//TemplateData (com.facebook.data.feed.TemplateData) package com.facebook.data.feed { import flash.events.*; import mx.events.*; public class TemplateData implements IEventDispatcher { private var _1285910957template_title:String; private var _180559289template_body:String; private var _3575610type:String; private var _bindingEventDispatcher:EventDispatcher; public function TemplateData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function set template_title(_arg1:String):void{ var _local2:Object = this._1285910957template_title; if (_local2 !== _arg1){ this._1285910957template_title = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "template_title", _local2, _arg1)); }; } public function get template_body():String{ return (this._180559289template_body); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get template_title():String{ return (this._1285910957template_title); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function set template_body(_arg1:String):void{ var _local2:Object = this._180559289template_body; if (_local2 !== _arg1){ this._180559289template_body = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "template_body", _local2, _arg1)); }; } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function set type(_arg1:String):void{ var _local2:Object = this._3575610type; if (_local2 !== _arg1){ this._3575610type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "type", _local2, _arg1)); }; } public function get type():String{ return (this._3575610type); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } } }//package com.facebook.data.feed
Section 127
//AreFriendsData (com.facebook.data.friends.AreFriendsData) package com.facebook.data.friends { import com.facebook.data.*; import mx.events.*; public class AreFriendsData extends FacebookData { private var _40395245friendsCollection:FriendsCollection; public function get friendsCollection():FriendsCollection{ return (this._40395245friendsCollection); } public function set friendsCollection(_arg1:FriendsCollection):void{ var _local2:Object = this._40395245friendsCollection; if (_local2 !== _arg1){ this._40395245friendsCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "friendsCollection", _local2, _arg1)); }; } } }//package com.facebook.data.friends
Section 128
//FriendsCollection (com.facebook.data.friends.FriendsCollection) package com.facebook.data.friends { import com.facebook.utils.*; public class FriendsCollection extends FacebookArrayCollection { public function FriendsCollection(){ super(null, FriendsData); } } }//package com.facebook.data.friends
Section 129
//FriendsData (com.facebook.data.friends.FriendsData) package com.facebook.data.friends { import flash.events.*; import mx.events.*; public class FriendsData implements IEventDispatcher { private var _3589601uid1:Number; private var _455530154are_friends:Boolean; private var _3589602uid2:Number; private var _bindingEventDispatcher:EventDispatcher; public function FriendsData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function get uid1():Number{ return (this._3589601uid1); } public function set uid1(_arg1:Number):void{ var _local2:Object = this._3589601uid1; if (_local2 !== _arg1){ this._3589601uid1 = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "uid1", _local2, _arg1)); }; } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function set uid2(_arg1:Number):void{ var _local2:Object = this._3589602uid2; if (_local2 !== _arg1){ this._3589602uid2 = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "uid2", _local2, _arg1)); }; } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get uid2():Number{ return (this._3589602uid2); } public function get are_friends():Boolean{ return (this._455530154are_friends); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function set are_friends(_arg1:Boolean):void{ var _local2:Object = this._455530154are_friends; if (_local2 !== _arg1){ this._455530154are_friends = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "are_friends", _local2, _arg1)); }; } } }//package com.facebook.data.friends
Section 130
//GetAppUserData (com.facebook.data.friends.GetAppUserData) package com.facebook.data.friends { import com.facebook.data.*; import mx.events.*; public class GetAppUserData extends FacebookData { private var _3589667uids:Array; public function get uids():Array{ return (this._3589667uids); } public function set uids(_arg1:Array):void{ var _local2:Object = this._3589667uids; if (_local2 !== _arg1){ this._3589667uids = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "uids", _local2, _arg1)); }; } } }//package com.facebook.data.friends
Section 131
//GetFriendsData (com.facebook.data.friends.GetFriendsData) package com.facebook.data.friends { import com.facebook.data.*; import mx.events.*; import com.facebook.data.users.*; public class GetFriendsData extends FacebookData { private var _600094315friends:FacebookUserCollection; public function set friends(_arg1:FacebookUserCollection):void{ var _local2:Object = this._600094315friends; if (_local2 !== _arg1){ this._600094315friends = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "friends", _local2, _arg1)); }; } public function get friends():FacebookUserCollection{ return (this._600094315friends); } } }//package com.facebook.data.friends
Section 132
//GetListsData (com.facebook.data.friends.GetListsData) package com.facebook.data.friends { import com.facebook.data.*; import mx.events.*; public class GetListsData extends FacebookData { private var _102982549lists:Array; public function set lists(_arg1:Array):void{ var _local2:Object = this._102982549lists; if (_local2 !== _arg1){ this._102982549lists = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "lists", _local2, _arg1)); }; } public function get lists():Array{ return (this._102982549lists); } } }//package com.facebook.data.friends
Section 133
//ListsData (com.facebook.data.friends.ListsData) package com.facebook.data.friends { import flash.events.*; import mx.events.*; public class ListsData implements IEventDispatcher { private var _3373707name:String; private var _bindingEventDispatcher:EventDispatcher; private var _3145825flid:Number; public function ListsData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function get flid():Number{ return (this._3145825flid); } public function set flid(_arg1:Number):void{ var _local2:Object = this._3145825flid; if (_local2 !== _arg1){ this._3145825flid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "flid", _local2, _arg1)); }; } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get name():String{ return (this._3373707name); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } } }//package com.facebook.data.friends
Section 134
//GetGroupData (com.facebook.data.groups.GetGroupData) package com.facebook.data.groups { import com.facebook.data.*; import mx.events.*; public class GetGroupData extends FacebookData { private var _1237460524groups:GroupCollection; public function set groups(_arg1:GroupCollection):void{ var _local2:Object = this._1237460524groups; if (_local2 !== _arg1){ this._1237460524groups = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "groups", _local2, _arg1)); }; } public function get groups():GroupCollection{ return (this._1237460524groups); } } }//package com.facebook.data.groups
Section 135
//GetMemberData (com.facebook.data.groups.GetMemberData) package com.facebook.data.groups { import com.facebook.data.*; import mx.events.*; public class GetMemberData extends FacebookData { private var _138904922notReplied:Array; private var _1422235900admins:Array; private var _948881689members:Array; private var _765293059officers:Array; public function get admins():Array{ return (this._1422235900admins); } public function get notReplied():Array{ return (this._138904922notReplied); } public function set admins(_arg1:Array):void{ var _local2:Object = this._1422235900admins; if (_local2 !== _arg1){ this._1422235900admins = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "admins", _local2, _arg1)); }; } public function set notReplied(_arg1:Array):void{ var _local2:Object = this._138904922notReplied; if (_local2 !== _arg1){ this._138904922notReplied = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "notReplied", _local2, _arg1)); }; } public function set members(_arg1:Array):void{ var _local2:Object = this._948881689members; if (_local2 !== _arg1){ this._948881689members = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "members", _local2, _arg1)); }; } public function get members():Array{ return (this._948881689members); } public function set officers(_arg1:Array):void{ var _local2:Object = this._765293059officers; if (_local2 !== _arg1){ this._765293059officers = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "officers", _local2, _arg1)); }; } public function get officers():Array{ return (this._765293059officers); } } }//package com.facebook.data.groups
Section 136
//GroupCollection (com.facebook.data.groups.GroupCollection) package com.facebook.data.groups { import com.facebook.utils.*; public class GroupCollection extends FacebookArrayCollection { public function GroupCollection(){ super(null, GroupData); } public function addGroup(_arg1:GroupData):void{ this.addItem(_arg1); } } }//package com.facebook.data.groups
Section 137
//GroupData (com.facebook.data.groups.GroupData) package com.facebook.data.groups { import flash.events.*; import com.facebook.data.*; import mx.events.*; public class GroupData implements IEventDispatcher { private var _1282509050group_type:String; private var _1019789636office:String; private var _3373707name:String; private var _314498168privacy:String; private var _102338gid:String; private var _2022916553recent_news:String; private var _112093807venue:FacebookLocation; private var _1028554796creator:String; private var _1816339526group_subtype:String; private var _1762076142pic_small:String; private var _1224335515website:String; private var _bindingEventDispatcher:EventDispatcher; private var _109065nid:Number; private var _110986pic:String; private var _578385717pic_big:String; private var _573446013update_time:Date; private var _1724546052description:String; public function GroupData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function set gid(_arg1:String):void{ var _local2:Object = this._102338gid; if (_local2 !== _arg1){ this._102338gid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "gid", _local2, _arg1)); }; } public function get nid():Number{ return (this._109065nid); } public function get pic():String{ return (this._110986pic); } public function get name():String{ return (this._3373707name); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function set update_time(_arg1:Date):void{ var _local2:Object = this._573446013update_time; if (_local2 !== _arg1){ this._573446013update_time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "update_time", _local2, _arg1)); }; } public function get privacy():String{ return (this._314498168privacy); } public function set privacy(_arg1:String):void{ var _local2:Object = this._314498168privacy; if (_local2 !== _arg1){ this._314498168privacy = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "privacy", _local2, _arg1)); }; } public function set nid(_arg1:Number):void{ var _local2:Object = this._109065nid; if (_local2 !== _arg1){ this._109065nid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "nid", _local2, _arg1)); }; } public function set pic(_arg1:String):void{ var _local2:Object = this._110986pic; if (_local2 !== _arg1){ this._110986pic = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic", _local2, _arg1)); }; } public function set pic_big(_arg1:String):void{ var _local2:Object = this._578385717pic_big; if (_local2 !== _arg1){ this._578385717pic_big = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_big", _local2, _arg1)); }; } public function get pic_small():String{ return (this._1762076142pic_small); } public function get update_time():Date{ return (this._573446013update_time); } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function set pic_small(_arg1:String):void{ var _local2:Object = this._1762076142pic_small; if (_local2 !== _arg1){ this._1762076142pic_small = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_small", _local2, _arg1)); }; } public function get creator():String{ return (this._1028554796creator); } public function set website(_arg1:String):void{ var _local2:Object = this._1224335515website; if (_local2 !== _arg1){ this._1224335515website = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "website", _local2, _arg1)); }; } public function get recent_news():String{ return (this._2022916553recent_news); } public function get group_subtype():String{ return (this._1816339526group_subtype); } public function get website():String{ return (this._1224335515website); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function get gid():String{ return (this._102338gid); } public function get pic_big():String{ return (this._578385717pic_big); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get office():String{ return (this._1019789636office); } public function set creator(_arg1:String):void{ var _local2:Object = this._1028554796creator; if (_local2 !== _arg1){ this._1028554796creator = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "creator", _local2, _arg1)); }; } public function set venue(_arg1:FacebookLocation):void{ var _local2:Object = this._112093807venue; if (_local2 !== _arg1){ this._112093807venue = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "venue", _local2, _arg1)); }; } public function set recent_news(_arg1:String):void{ var _local2:Object = this._2022916553recent_news; if (_local2 !== _arg1){ this._2022916553recent_news = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "recent_news", _local2, _arg1)); }; } public function get venue():FacebookLocation{ return (this._112093807venue); } public function set group_type(_arg1:String):void{ var _local2:Object = this._1282509050group_type; if (_local2 !== _arg1){ this._1282509050group_type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "group_type", _local2, _arg1)); }; } public function set description(_arg1:String):void{ var _local2:Object = this._1724546052description; if (_local2 !== _arg1){ this._1724546052description = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "description", _local2, _arg1)); }; } public function get group_type():String{ return (this._1282509050group_type); } public function set group_subtype(_arg1:String):void{ var _local2:Object = this._1816339526group_subtype; if (_local2 !== _arg1){ this._1816339526group_subtype = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "group_subtype", _local2, _arg1)); }; } public function get description():String{ return (this._1724546052description); } public function set office(_arg1:String):void{ var _local2:Object = this._1019789636office; if (_local2 !== _arg1){ this._1019789636office = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "office", _local2, _arg1)); }; } } }//package com.facebook.data.groups
Section 138
//GetNotesData (com.facebook.data.notes.GetNotesData) package com.facebook.data.notes { import com.facebook.data.*; import mx.events.*; public class GetNotesData extends FacebookData { private var _1716839361notesCollection:NotesCollection; public function set notesCollection(_arg1:NotesCollection):void{ var _local2:Object = this._1716839361notesCollection; if (_local2 !== _arg1){ this._1716839361notesCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "notesCollection", _local2, _arg1)); }; } public function get notesCollection():NotesCollection{ return (this._1716839361notesCollection); } } }//package com.facebook.data.notes
Section 139
//NoteData (com.facebook.data.notes.NoteData) package com.facebook.data.notes { import flash.events.*; import mx.events.*; public class NoteData implements IEventDispatcher { private var _2129224840note_id:String; private var _2003148228created_time:Date; private var _bindingEventDispatcher:EventDispatcher; private var _115792uid:String; private var _951530617content:String; private var _472881199updated_time:Date; private var _110371416title:String; public function NoteData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function get created_time():Date{ return (this._2003148228created_time); } public function get note_id():String{ return (this._2129224840note_id); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set created_time(_arg1:Date):void{ var _local2:Object = this._2003148228created_time; if (_local2 !== _arg1){ this._2003148228created_time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "created_time", _local2, _arg1)); }; } public function set note_id(_arg1:String):void{ var _local2:Object = this._2129224840note_id; if (_local2 !== _arg1){ this._2129224840note_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "note_id", _local2, _arg1)); }; } public function get updated_time():Date{ return (this._472881199updated_time); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get uid():String{ return (this._115792uid); } public function get title():String{ return (this._110371416title); } public function set uid(_arg1:String):void{ var _local2:Object = this._115792uid; if (_local2 !== _arg1){ this._115792uid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "uid", _local2, _arg1)); }; } public function set updated_time(_arg1:Date):void{ var _local2:Object = this._472881199updated_time; if (_local2 !== _arg1){ this._472881199updated_time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "updated_time", _local2, _arg1)); }; } public function set title(_arg1:String):void{ var _local2:Object = this._110371416title; if (_local2 !== _arg1){ this._110371416title = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "title", _local2, _arg1)); }; } public function set content(_arg1:String):void{ var _local2:Object = this._951530617content; if (_local2 !== _arg1){ this._951530617content = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "content", _local2, _arg1)); }; } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get content():String{ return (this._951530617content); } } }//package com.facebook.data.notes
Section 140
//NotesCollection (com.facebook.data.notes.NotesCollection) package com.facebook.data.notes { import com.facebook.utils.*; public class NotesCollection extends FacebookArrayCollection { public function NotesCollection(){ super(null, NoteData); } } }//package com.facebook.data.notes
Section 141
//GetNotificationData (com.facebook.data.notifications.GetNotificationData) package com.facebook.data.notifications { import com.facebook.data.*; import mx.events.*; public class GetNotificationData extends FacebookData { private var _2011259082group_invites:Array; private var _757115001friendsRequests:Array; private var _823645719notificationCollection:NotificationCollection; private var _1950182939event_invites:Array; public function get event_invites():Array{ return (this._1950182939event_invites); } public function get notificationCollection():NotificationCollection{ return (this._823645719notificationCollection); } public function get group_invites():Array{ return (this._2011259082group_invites); } public function set event_invites(_arg1:Array):void{ var _local2:Object = this._1950182939event_invites; if (_local2 !== _arg1){ this._1950182939event_invites = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "event_invites", _local2, _arg1)); }; } public function set friendsRequests(_arg1:Array):void{ var _local2:Object = this._757115001friendsRequests; if (_local2 !== _arg1){ this._757115001friendsRequests = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "friendsRequests", _local2, _arg1)); }; } public function set group_invites(_arg1:Array):void{ var _local2:Object = this._2011259082group_invites; if (_local2 !== _arg1){ this._2011259082group_invites = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "group_invites", _local2, _arg1)); }; } public function get friendsRequests():Array{ return (this._757115001friendsRequests); } public function set notificationCollection(_arg1:NotificationCollection):void{ var _local2:Object = this._823645719notificationCollection; if (_local2 !== _arg1){ this._823645719notificationCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "notificationCollection", _local2, _arg1)); }; } } }//package com.facebook.data.notifications
Section 142
//NotificationCollection (com.facebook.data.notifications.NotificationCollection) package com.facebook.data.notifications { import com.facebook.utils.*; public class NotificationCollection extends FacebookArrayCollection { public function NotificationCollection(){ super(null, null); } } }//package com.facebook.data.notifications
Section 143
//NotificationMessageData (com.facebook.data.notifications.NotificationMessageData) package com.facebook.data.notifications { import flash.events.*; import mx.events.*; public class NotificationMessageData implements IEventDispatcher { private var _1739890327most_recent:Number; private var _840272977unread:Number; private var _bindingEventDispatcher:EventDispatcher; public function NotificationMessageData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set most_recent(_arg1:Number):void{ var _local2:Object = this._1739890327most_recent; if (_local2 !== _arg1){ this._1739890327most_recent = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "most_recent", _local2, _arg1)); }; } public function get unread():Number{ return (this._840272977unread); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get most_recent():Number{ return (this._1739890327most_recent); } public function set unread(_arg1:Number):void{ var _local2:Object = this._840272977unread; if (_local2 !== _arg1){ this._840272977unread = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "unread", _local2, _arg1)); }; } } }//package com.facebook.data.notifications
Section 144
//NotificationPokeData (com.facebook.data.notifications.NotificationPokeData) package com.facebook.data.notifications { import flash.events.*; import mx.events.*; public class NotificationPokeData implements IEventDispatcher { private var _1739890327most_recent:Number; private var _840272977unread:Number; private var _bindingEventDispatcher:EventDispatcher; public function NotificationPokeData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set most_recent(_arg1:Number):void{ var _local2:Object = this._1739890327most_recent; if (_local2 !== _arg1){ this._1739890327most_recent = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "most_recent", _local2, _arg1)); }; } public function get unread():Number{ return (this._840272977unread); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get most_recent():Number{ return (this._1739890327most_recent); } public function set unread(_arg1:Number):void{ var _local2:Object = this._840272977unread; if (_local2 !== _arg1){ this._840272977unread = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "unread", _local2, _arg1)); }; } } }//package com.facebook.data.notifications
Section 145
//NotificationShareData (com.facebook.data.notifications.NotificationShareData) package com.facebook.data.notifications { import flash.events.*; import mx.events.*; public class NotificationShareData implements IEventDispatcher { private var _1739890327most_recent:Number; private var _840272977unread:Number; private var _bindingEventDispatcher:EventDispatcher; public function NotificationShareData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set most_recent(_arg1:Number):void{ var _local2:Object = this._1739890327most_recent; if (_local2 !== _arg1){ this._1739890327most_recent = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "most_recent", _local2, _arg1)); }; } public function get unread():Number{ return (this._840272977unread); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get most_recent():Number{ return (this._1739890327most_recent); } public function set unread(_arg1:Number):void{ var _local2:Object = this._840272977unread; if (_local2 !== _arg1){ this._840272977unread = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "unread", _local2, _arg1)); }; } } }//package com.facebook.data.notifications
Section 146
//GetPageInfoData (com.facebook.data.pages.GetPageInfoData) package com.facebook.data.pages { import com.facebook.data.*; import mx.events.*; public class GetPageInfoData extends FacebookData { private var _1492481627pageInfoCollection:PageInfoCollection; public function get pageInfoCollection():PageInfoCollection{ return (this._1492481627pageInfoCollection); } public function set pageInfoCollection(_arg1:PageInfoCollection):void{ var _local2:Object = this._1492481627pageInfoCollection; if (_local2 !== _arg1){ this._1492481627pageInfoCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pageInfoCollection", _local2, _arg1)); }; } } }//package com.facebook.data.pages
Section 147
//PageInfoCollection (com.facebook.data.pages.PageInfoCollection) package com.facebook.data.pages { import com.facebook.utils.*; public class PageInfoCollection extends FacebookArrayCollection { public function PageInfoCollection(){ super(null, PageInfoData); } public function addPageInfo(_arg1:PageInfoData):void{ this.addItem(_arg1); } } }//package com.facebook.data.pages
Section 148
//PageInfoData (com.facebook.data.pages.PageInfoData) package com.facebook.data.pages { import flash.events.*; import com.facebook.data.*; import mx.events.*; public class PageInfoData extends EventDispatcher { private var _485238799hometown:String; private var _3575610type:String; private var _1405038154awards:String; private var _99469071hours:String; private var _1635870290directed_by:String; private var _1224335515website:String; private var _1768882106pic_large:String; private var _2002886397has_added_app:Boolean; private var _578385717pic_big:String; private var _1817326876plot_outline:String; private var _1214494066pic_square:String; private var _697920873schedule:String; private var _1965855514release_date:String; private var _97544bio:String; private var _1774829598influences:String; private var _2116416122record_label:String; private var _1843485230network:String; private var _3373707name:String; private var _1762076142pic_small:String; private var _68251919band_members:String; private var _1316747138starring:String; private var _1901043637location:FacebookLocation; private var _906335517season:String; private var _674640991founded:String; private var _803548981page_id:Number; private var _915840763company_overview:String; private var _98240899genre:String; private var _891901482studio:String; private var _1505017102produced_by:String; private var _1003761308products:String; private var _1069449612mission:String; private var _201317249written_by:String; public function set starring(_arg1:String):void{ var _local2:Object = this._1316747138starring; if (_local2 !== _arg1){ this._1316747138starring = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "starring", _local2, _arg1)); }; } public function get season():String{ return (this._906335517season); } public function get bio():String{ return (this._97544bio); } public function set record_label(_arg1:String):void{ var _local2:Object = this._2116416122record_label; if (_local2 !== _arg1){ this._2116416122record_label = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "record_label", _local2, _arg1)); }; } public function set genre(_arg1:String):void{ var _local2:Object = this._98240899genre; if (_local2 !== _arg1){ this._98240899genre = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "genre", _local2, _arg1)); }; } public function get hours():String{ return (this._99469071hours); } public function get pic_small():String{ return (this._1762076142pic_small); } public function set bio(_arg1:String):void{ var _local2:Object = this._97544bio; if (_local2 !== _arg1){ this._97544bio = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "bio", _local2, _arg1)); }; } public function set hours(_arg1:String):void{ var _local2:Object = this._99469071hours; if (_local2 !== _arg1){ this._99469071hours = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "hours", _local2, _arg1)); }; } public function set mission(_arg1:String):void{ var _local2:Object = this._1069449612mission; if (_local2 !== _arg1){ this._1069449612mission = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "mission", _local2, _arg1)); }; } public function set pic_small(_arg1:String):void{ var _local2:Object = this._1762076142pic_small; if (_local2 !== _arg1){ this._1762076142pic_small = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_small", _local2, _arg1)); }; } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function get band_members():String{ return (this._68251919band_members); } public function set band_members(_arg1:String):void{ var _local2:Object = this._68251919band_members; if (_local2 !== _arg1){ this._68251919band_members = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "band_members", _local2, _arg1)); }; } public function get network():String{ return (this._1843485230network); } public function set website(_arg1:String):void{ var _local2:Object = this._1224335515website; if (_local2 !== _arg1){ this._1224335515website = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "website", _local2, _arg1)); }; } public function get type():String{ return (this._3575610type); } public function set influences(_arg1:String):void{ var _local2:Object = this._1774829598influences; if (_local2 !== _arg1){ this._1774829598influences = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "influences", _local2, _arg1)); }; } public function set schedule(_arg1:String):void{ var _local2:Object = this._697920873schedule; if (_local2 !== _arg1){ this._697920873schedule = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "schedule", _local2, _arg1)); }; } public function get influences():String{ return (this._1774829598influences); } public function set founded(_arg1:String):void{ var _local2:Object = this._674640991founded; if (_local2 !== _arg1){ this._674640991founded = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "founded", _local2, _arg1)); }; } public function get pic_large():String{ return (this._1768882106pic_large); } public function set directed_by(_arg1:String):void{ var _local2:Object = this._1635870290directed_by; if (_local2 !== _arg1){ this._1635870290directed_by = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "directed_by", _local2, _arg1)); }; } public function set network(_arg1:String):void{ var _local2:Object = this._1843485230network; if (_local2 !== _arg1){ this._1843485230network = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "network", _local2, _arg1)); }; } public function get products():String{ return (this._1003761308products); } public function set location(_arg1:FacebookLocation):void{ var _local2:Object = this._1901043637location; if (_local2 !== _arg1){ this._1901043637location = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "location", _local2, _arg1)); }; } public function get pic_square():String{ return (this._1214494066pic_square); } public function set awards(_arg1:String):void{ var _local2:Object = this._1405038154awards; if (_local2 !== _arg1){ this._1405038154awards = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "awards", _local2, _arg1)); }; } public function set type(_arg1:String):void{ var _local2:Object = this._3575610type; if (_local2 !== _arg1){ this._3575610type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "type", _local2, _arg1)); }; } public function get written_by():String{ return (this._201317249written_by); } public function get starring():String{ return (this._1316747138starring); } public function get genre():String{ return (this._98240899genre); } public function set pic_large(_arg1:String):void{ var _local2:Object = this._1768882106pic_large; if (_local2 !== _arg1){ this._1768882106pic_large = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_large", _local2, _arg1)); }; } public function get mission():String{ return (this._1069449612mission); } public function set page_id(_arg1:Number):void{ var _local2:Object = this._803548981page_id; if (_local2 !== _arg1){ this._803548981page_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "page_id", _local2, _arg1)); }; } public function get schedule():String{ return (this._697920873schedule); } public function get name():String{ return (this._3373707name); } public function get website():String{ return (this._1224335515website); } public function set pic_big(_arg1:String):void{ var _local2:Object = this._578385717pic_big; if (_local2 !== _arg1){ this._578385717pic_big = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_big", _local2, _arg1)); }; } public function get record_label():String{ return (this._2116416122record_label); } public function get founded():String{ return (this._674640991founded); } public function get directed_by():String{ return (this._1635870290directed_by); } public function get location():FacebookLocation{ return (this._1901043637location); } public function set studio(_arg1:String):void{ var _local2:Object = this._891901482studio; if (_local2 !== _arg1){ this._891901482studio = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "studio", _local2, _arg1)); }; } public function get awards():String{ return (this._1405038154awards); } public function set season(_arg1:String):void{ var _local2:Object = this._906335517season; if (_local2 !== _arg1){ this._906335517season = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "season", _local2, _arg1)); }; } public function get page_id():Number{ return (this._803548981page_id); } public function set release_date(_arg1:String):void{ var _local2:Object = this._1965855514release_date; if (_local2 !== _arg1){ this._1965855514release_date = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "release_date", _local2, _arg1)); }; } public function set products(_arg1:String):void{ var _local2:Object = this._1003761308products; if (_local2 !== _arg1){ this._1003761308products = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "products", _local2, _arg1)); }; } public function set plot_outline(_arg1:String):void{ var _local2:Object = this._1817326876plot_outline; if (_local2 !== _arg1){ this._1817326876plot_outline = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "plot_outline", _local2, _arg1)); }; } public function get studio():String{ return (this._891901482studio); } public function get pic_big():String{ return (this._578385717pic_big); } public function set pic_square(_arg1:String):void{ var _local2:Object = this._1214494066pic_square; if (_local2 !== _arg1){ this._1214494066pic_square = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_square", _local2, _arg1)); }; } public function get release_date():String{ return (this._1965855514release_date); } public function set hometown(_arg1:String):void{ var _local2:Object = this._485238799hometown; if (_local2 !== _arg1){ this._485238799hometown = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "hometown", _local2, _arg1)); }; } public function set produced_by(_arg1:String):void{ var _local2:Object = this._1505017102produced_by; if (_local2 !== _arg1){ this._1505017102produced_by = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "produced_by", _local2, _arg1)); }; } public function get hometown():String{ return (this._485238799hometown); } public function get produced_by():String{ return (this._1505017102produced_by); } public function get plot_outline():String{ return (this._1817326876plot_outline); } public function set company_overview(_arg1:String):void{ var _local2:Object = this._915840763company_overview; if (_local2 !== _arg1){ this._915840763company_overview = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "company_overview", _local2, _arg1)); }; } public function set has_added_app(_arg1:Boolean):void{ var _local2:Object = this._2002886397has_added_app; if (_local2 !== _arg1){ this._2002886397has_added_app = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "has_added_app", _local2, _arg1)); }; } public function get company_overview():String{ return (this._915840763company_overview); } public function get has_added_app():Boolean{ return (this._2002886397has_added_app); } public function set written_by(_arg1:String):void{ var _local2:Object = this._201317249written_by; if (_local2 !== _arg1){ this._201317249written_by = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "written_by", _local2, _arg1)); }; } } }//package com.facebook.data.pages
Section 149
//AlbumCollection (com.facebook.data.photos.AlbumCollection) package com.facebook.data.photos { import com.facebook.utils.*; public class AlbumCollection extends FacebookArrayCollection { public function AlbumCollection(){ super(null, AlbumData); } public function addAlbum(_arg1:AlbumData):void{ this.addItem(_arg1); } } }//package com.facebook.data.photos
Section 150
//AlbumData (com.facebook.data.photos.AlbumData) package com.facebook.data.photos { import flash.events.*; import mx.events.*; public class AlbumData implements IEventDispatcher { private var _1028554472created:Date; private var _3373707name:String; private var _3321850link:String; private var _3575610type:String; private var _466743410visible:String; private var _96572aid:String; private var _106164915owner:String; private var _483729603modified_major:Date; private var _3530753size:Number; private var _bindingEventDispatcher:EventDispatcher; private var _615513399modified:Date; private var _1980072195cover_pid:String; private var _1901043637location:String; private var _1724546052description:String; private var _1866256113edit_link:String; public function AlbumData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function get size():Number{ return (this._3530753size); } public function set size(_arg1:Number):void{ var _local2:Object = this._3530753size; if (_local2 !== _arg1){ this._3530753size = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "size", _local2, _arg1)); }; } public function get cover_pid():String{ return (this._1980072195cover_pid); } public function set cover_pid(_arg1:String):void{ var _local2:Object = this._1980072195cover_pid; if (_local2 !== _arg1){ this._1980072195cover_pid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "cover_pid", _local2, _arg1)); }; } public function get name():String{ return (this._3373707name); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function set modified_major(_arg1:Date):void{ var _local2:Object = this._483729603modified_major; if (_local2 !== _arg1){ this._483729603modified_major = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "modified_major", _local2, _arg1)); }; } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function set modified(_arg1:Date):void{ var _local2:Object = this._615513399modified; if (_local2 !== _arg1){ this._615513399modified = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "modified", _local2, _arg1)); }; } public function set edit_link(_arg1:String):void{ var _local2:Object = this._1866256113edit_link; if (_local2 !== _arg1){ this._1866256113edit_link = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "edit_link", _local2, _arg1)); }; } public function get edit_link():String{ return (this._1866256113edit_link); } public function get location():String{ return (this._1901043637location); } public function get owner():String{ return (this._106164915owner); } public function get aid():String{ return (this._96572aid); } public function get type():String{ return (this._3575610type); } public function get modified_major():Date{ return (this._483729603modified_major); } public function get modified():Date{ return (this._615513399modified); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function set created(_arg1:Date):void{ var _local2:Object = this._1028554472created; if (_local2 !== _arg1){ this._1028554472created = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "created", _local2, _arg1)); }; } public function set visible(_arg1:String):void{ var _local2:Object = this._466743410visible; if (_local2 !== _arg1){ this._466743410visible = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "visible", _local2, _arg1)); }; } public function set owner(_arg1:String):void{ var _local2:Object = this._106164915owner; if (_local2 !== _arg1){ this._106164915owner = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "owner", _local2, _arg1)); }; } public function get created():Date{ return (this._1028554472created); } public function set location(_arg1:String):void{ var _local2:Object = this._1901043637location; if (_local2 !== _arg1){ this._1901043637location = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "location", _local2, _arg1)); }; } public function get visible():String{ return (this._466743410visible); } public function set link(_arg1:String):void{ var _local2:Object = this._3321850link; if (_local2 !== _arg1){ this._3321850link = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "link", _local2, _arg1)); }; } public function set description(_arg1:String):void{ var _local2:Object = this._1724546052description; if (_local2 !== _arg1){ this._1724546052description = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "description", _local2, _arg1)); }; } public function get link():String{ return (this._3321850link); } public function set type(_arg1:String):void{ var _local2:Object = this._3575610type; if (_local2 !== _arg1){ this._3575610type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "type", _local2, _arg1)); }; } public function get description():String{ return (this._1724546052description); } public function set aid(_arg1:String):void{ var _local2:Object = this._96572aid; if (_local2 !== _arg1){ this._96572aid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "aid", _local2, _arg1)); }; } } }//package com.facebook.data.photos
Section 151
//FacebookPhoto (com.facebook.data.photos.FacebookPhoto) package com.facebook.data.photos { import com.facebook.data.*; import mx.events.*; public class FacebookPhoto extends FacebookData { private var _1028554472created:Date; private var _552573414caption:String; private var _89081108src_small:String; private var _1953179611src_big:String; private var _3321850link:String; private var _110987pid:String; private var _3552281tags:Array; private var _96572aid:String; private var _114148src:String; private var _106164915owner:Number; public function FacebookPhoto(){ tags = []; super(); } public function get link():String{ return (this._3321850link); } public function get owner():Number{ return (this._106164915owner); } public function get src():String{ return (this._114148src); } public function set src_big(_arg1:String):void{ var _local2:Object = this._1953179611src_big; if (_local2 !== _arg1){ this._1953179611src_big = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "src_big", _local2, _arg1)); }; } public function get pid():String{ return (this._110987pid); } public function set caption(_arg1:String):void{ var _local2:Object = this._552573414caption; if (_local2 !== _arg1){ this._552573414caption = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "caption", _local2, _arg1)); }; } public function set pid(_arg1:String):void{ var _local2:Object = this._110987pid; if (_local2 !== _arg1){ this._110987pid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pid", _local2, _arg1)); }; } public function set src(_arg1:String):void{ var _local2:Object = this._114148src; if (_local2 !== _arg1){ this._114148src = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "src", _local2, _arg1)); }; } public function set src_small(_arg1:String):void{ var _local2:Object = this._89081108src_small; if (_local2 !== _arg1){ this._89081108src_small = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "src_small", _local2, _arg1)); }; } public function get tags():Array{ return (this._3552281tags); } public function set created(_arg1:Date):void{ var _local2:Object = this._1028554472created; if (_local2 !== _arg1){ this._1028554472created = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "created", _local2, _arg1)); }; } public function get src_big():String{ return (this._1953179611src_big); } public function get created():Date{ return (this._1028554472created); } public function set tags(_arg1:Array):void{ var _local2:Object = this._3552281tags; if (_local2 !== _arg1){ this._3552281tags = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "tags", _local2, _arg1)); }; } public function set link(_arg1:String):void{ var _local2:Object = this._3321850link; if (_local2 !== _arg1){ this._3321850link = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "link", _local2, _arg1)); }; } public function set owner(_arg1:Number):void{ var _local2:Object = this._106164915owner; if (_local2 !== _arg1){ this._106164915owner = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "owner", _local2, _arg1)); }; } public function get src_small():String{ return (this._89081108src_small); } public function get aid():String{ return (this._96572aid); } public function get caption():String{ return (this._552573414caption); } public function set aid(_arg1:String):void{ var _local2:Object = this._96572aid; if (_local2 !== _arg1){ this._96572aid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "aid", _local2, _arg1)); }; } } }//package com.facebook.data.photos
Section 152
//GetAlbumsData (com.facebook.data.photos.GetAlbumsData) package com.facebook.data.photos { import com.facebook.data.*; import mx.events.*; public class GetAlbumsData extends FacebookData { private var _1670051219albumCollection:AlbumCollection; public function set albumCollection(_arg1:AlbumCollection):void{ var _local2:Object = this._1670051219albumCollection; if (_local2 !== _arg1){ this._1670051219albumCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "albumCollection", _local2, _arg1)); }; } public function get albumCollection():AlbumCollection{ return (this._1670051219albumCollection); } } }//package com.facebook.data.photos
Section 153
//GetCreateAlbumData (com.facebook.data.photos.GetCreateAlbumData) package com.facebook.data.photos { import com.facebook.data.*; import mx.events.*; public class GetCreateAlbumData extends FacebookData { private var _248976057albumData:AlbumData; public function get albumData():AlbumData{ return (this._248976057albumData); } public function set albumData(_arg1:AlbumData):void{ var _local2:Object = this._248976057albumData; if (_local2 !== _arg1){ this._248976057albumData = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "albumData", _local2, _arg1)); }; } } }//package com.facebook.data.photos
Section 154
//GetPhotosData (com.facebook.data.photos.GetPhotosData) package com.facebook.data.photos { import com.facebook.data.*; import mx.events.*; public class GetPhotosData extends FacebookData { private var _1751633296photoCollection:PhotoCollection; public function get photoCollection():PhotoCollection{ return (this._1751633296photoCollection); } public function set photoCollection(_arg1:PhotoCollection):void{ var _local2:Object = this._1751633296photoCollection; if (_local2 !== _arg1){ this._1751633296photoCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "photoCollection", _local2, _arg1)); }; } } }//package com.facebook.data.photos
Section 155
//GetTagsData (com.facebook.data.photos.GetTagsData) package com.facebook.data.photos { import com.facebook.data.*; import mx.events.*; public class GetTagsData extends FacebookData { private var _2107998615photoTagsCollection:PhotoTagCollection; public function get photoTagsCollection():PhotoTagCollection{ return (this._2107998615photoTagsCollection); } public function set photoTagsCollection(_arg1:PhotoTagCollection):void{ var _local2:Object = this._2107998615photoTagsCollection; if (_local2 !== _arg1){ this._2107998615photoTagsCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "photoTagsCollection", _local2, _arg1)); }; } } }//package com.facebook.data.photos
Section 156
//PhotoCollection (com.facebook.data.photos.PhotoCollection) package com.facebook.data.photos { import com.facebook.utils.*; public class PhotoCollection extends FacebookArrayCollection { public function PhotoCollection(){ super(null, PhotoData); } public function addPhoto(_arg1:PhotoData):void{ this.addItem(_arg1); } } }//package com.facebook.data.photos
Section 157
//PhotoData (com.facebook.data.photos.PhotoData) package com.facebook.data.photos { import flash.events.*; import mx.events.*; public class PhotoData implements IEventDispatcher { private var _bindingEventDispatcher:EventDispatcher; private var _1028554472created:Date; private var _552573414caption:String; private var _89081108src_small:String; private var _1953179611src_big:String; private var _3321850link:String; private var _110987pid:String; private var _96572aid:String; private var _114148src:String; private var _106164915owner:String; public function PhotoData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function get src():String{ return (this._114148src); } public function set src_big(_arg1:String):void{ var _local2:Object = this._1953179611src_big; if (_local2 !== _arg1){ this._1953179611src_big = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "src_big", _local2, _arg1)); }; } public function get pid():String{ return (this._110987pid); } public function set caption(_arg1:String):void{ var _local2:Object = this._552573414caption; if (_local2 !== _arg1){ this._552573414caption = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "caption", _local2, _arg1)); }; } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function set pid(_arg1:String):void{ var _local2:Object = this._110987pid; if (_local2 !== _arg1){ this._110987pid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pid", _local2, _arg1)); }; } public function set src(_arg1:String):void{ var _local2:Object = this._114148src; if (_local2 !== _arg1){ this._114148src = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "src", _local2, _arg1)); }; } public function set src_small(_arg1:String):void{ var _local2:Object = this._89081108src_small; if (_local2 !== _arg1){ this._89081108src_small = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "src_small", _local2, _arg1)); }; } public function set created(_arg1:Date):void{ var _local2:Object = this._1028554472created; if (_local2 !== _arg1){ this._1028554472created = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "created", _local2, _arg1)); }; } public function set owner(_arg1:String):void{ var _local2:Object = this._106164915owner; if (_local2 !== _arg1){ this._106164915owner = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "owner", _local2, _arg1)); }; } public function get link():String{ return (this._3321850link); } public function get src_big():String{ return (this._1953179611src_big); } public function get created():Date{ return (this._1028554472created); } public function get owner():String{ return (this._106164915owner); } public function set link(_arg1:String):void{ var _local2:Object = this._3321850link; if (_local2 !== _arg1){ this._3321850link = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "link", _local2, _arg1)); }; } public function get caption():String{ return (this._552573414caption); } public function get src_small():String{ return (this._89081108src_small); } public function get aid():String{ return (this._96572aid); } public function set aid(_arg1:String):void{ var _local2:Object = this._96572aid; if (_local2 !== _arg1){ this._96572aid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "aid", _local2, _arg1)); }; } } }//package com.facebook.data.photos
Section 158
//PhotoTagCollection (com.facebook.data.photos.PhotoTagCollection) package com.facebook.data.photos { import com.facebook.utils.*; public class PhotoTagCollection extends FacebookArrayCollection { public function PhotoTagCollection(_arg1:Array=null){ super(_arg1, TagData); } public function addPhotoTag(_arg1:TagData):void{ this.addItem(_arg1); } } }//package com.facebook.data.photos
Section 159
//TagData (com.facebook.data.photos.TagData) package com.facebook.data.photos { import flash.events.*; import mx.events.*; public class TagData implements IEventDispatcher { protected var _actualText:String; private var _1867885268subject:String; private var _1028554472created:Date; private var _110987pid:String; private var _bindingEventDispatcher:EventDispatcher; protected var _actualX:Number; protected var _actualY:Number; private var _1548659157tag_uid:String; public function TagData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function get pid():String{ return (this._110987pid); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } private function set _120x(_arg1:Number):void{ _actualX = _arg1; } public function get ycoord():Number{ return (_actualY); } public function set pid(_arg1:String):void{ var _local2:Object = this._110987pid; if (_local2 !== _arg1){ this._110987pid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pid", _local2, _arg1)); }; } private function set _735994340ycoord(_arg1:Number):void{ _actualY = _arg1; } public function get tag_uid():String{ return (this._1548659157tag_uid); } public function get subject():String{ return (this._1867885268subject); } public function get text():String{ return (_actualText); } public function get tag_text():String{ return (_actualText); } public function set ycoord(_arg1:Number):void{ var _local2:Object = this.ycoord; if (_local2 !== _arg1){ this._735994340ycoord = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "ycoord", _local2, _arg1)); }; } private function set _3556653text(_arg1:String):void{ _actualText = _arg1; } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } private function set _764623491xcoord(_arg1:Number):void{ _actualX = _arg1; } public function set created(_arg1:Date):void{ var _local2:Object = this._1028554472created; if (_local2 !== _arg1){ this._1028554472created = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "created", _local2, _arg1)); }; } public function set subject(_arg1:String):void{ var _local2:Object = this._1867885268subject; if (_local2 !== _arg1){ this._1867885268subject = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "subject", _local2, _arg1)); }; } public function set text(_arg1:String):void{ var _local2:Object = this.text; if (_local2 !== _arg1){ this._3556653text = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "text", _local2, _arg1)); }; } public function set tag_uid(_arg1:String):void{ var _local2:Object = this._1548659157tag_uid; if (_local2 !== _arg1){ this._1548659157tag_uid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "tag_uid", _local2, _arg1)); }; } private function set _121y(_arg1:Number):void{ _actualY = _arg1; } public function set tag_text(_arg1:String):void{ var _local2:Object = this.tag_text; if (_local2 !== _arg1){ this._763826510tag_text = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "tag_text", _local2, _arg1)); }; } public function get created():Date{ return (this._1028554472created); } public function set x(_arg1:Number):void{ var _local2:Object = this.x; if (_local2 !== _arg1){ this._120x = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "x", _local2, _arg1)); }; } public function set y(_arg1:Number):void{ var _local2:Object = this.y; if (_local2 !== _arg1){ this._121y = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "y", _local2, _arg1)); }; } public function get x():Number{ return (_actualX); } public function get y():Number{ return (_actualY); } public function set xcoord(_arg1:Number):void{ var _local2:Object = this.xcoord; if (_local2 !== _arg1){ this._764623491xcoord = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "xcoord", _local2, _arg1)); }; } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function get xcoord():Number{ return (_actualX); } private function set _763826510tag_text(_arg1:String):void{ _actualText = _arg1; } } }//package com.facebook.data.photos
Section 160
//GetStatusData (com.facebook.data.status.GetStatusData) package com.facebook.data.status { import com.facebook.data.*; import mx.events.*; public class GetStatusData extends FacebookData { private var _892481550status:Array; public function get status():Array{ return (this._892481550status); } public function set status(_arg1:Array):void{ var _local2:Object = this._892481550status; if (_local2 !== _arg1){ this._892481550status = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "status", _local2, _arg1)); }; } } }//package com.facebook.data.status
Section 161
//Status (com.facebook.data.status.Status) package com.facebook.data.status { import flash.events.*; import mx.events.*; public class Status implements IEventDispatcher { private var _954925063message:String; private var _115792uid:String; private var _2070199160status_id:String; private var _3560141time:Date; private var _bindingEventDispatcher:EventDispatcher; private var _896505829source:String; public function Status(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function set source(_arg1:String):void{ var _local2:Object = this._896505829source; if (_local2 !== _arg1){ this._896505829source = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "source", _local2, _arg1)); }; } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get message():String{ return (this._954925063message); } public function get status_id():String{ return (this._2070199160status_id); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get time():Date{ return (this._3560141time); } public function set message(_arg1:String):void{ var _local2:Object = this._954925063message; if (_local2 !== _arg1){ this._954925063message = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "message", _local2, _arg1)); }; } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function get uid():String{ return (this._115792uid); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set status_id(_arg1:String):void{ var _local2:Object = this._2070199160status_id; if (_local2 !== _arg1){ this._2070199160status_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "status_id", _local2, _arg1)); }; } public function set time(_arg1:Date):void{ var _local2:Object = this._3560141time; if (_local2 !== _arg1){ this._3560141time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "time", _local2, _arg1)); }; } public function get source():String{ return (this._896505829source); } public function set uid(_arg1:String):void{ var _local2:Object = this._115792uid; if (_local2 !== _arg1){ this._115792uid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "uid", _local2, _arg1)); }; } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } } }//package com.facebook.data.status
Section 162
//ActionLinkData (com.facebook.data.stream.ActionLinkData) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class ActionLinkData implements IEventDispatcher { private var _3211051href:String; private var _bindingEventDispatcher:EventDispatcher; private var _3556653text:String; public function ActionLinkData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get href():String{ return (this._3211051href); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function get text():String{ return (this._3556653text); } public function set text(_arg1:String):void{ var _local2:Object = this._3556653text; if (_local2 !== _arg1){ this._3556653text = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "text", _local2, _arg1)); }; } public function set href(_arg1:String):void{ var _local2:Object = this._3211051href; if (_local2 !== _arg1){ this._3211051href = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "href", _local2, _arg1)); }; } } }//package com.facebook.data.stream
Section 163
//AttachmentData (com.facebook.data.stream.AttachmentData) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class AttachmentData implements IEventDispatcher { private var _3373707name:String; private var _103772132media:Array; private var _3211051href:String; private var _bindingEventDispatcher:EventDispatcher; private var _102727412label:String; private var _3029410body:String; private var _552573414caption:String; private var _926053069properties:Array; private var _1724546052description:String; private var _3556653text:String; private var _3226745icon:String; private var _110371416title:String; public function AttachmentData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get name():String{ return (this._3373707name); } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function get body():String{ return (this._3029410body); } public function get href():String{ return (this._3211051href); } public function get text():String{ return (this._3556653text); } public function set title(_arg1:String):void{ var _local2:Object = this._110371416title; if (_local2 !== _arg1){ this._110371416title = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "title", _local2, _arg1)); }; } public function get properties():Array{ return (this._926053069properties); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function set body(_arg1:String):void{ var _local2:Object = this._3029410body; if (_local2 !== _arg1){ this._3029410body = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "body", _local2, _arg1)); }; } public function set media(_arg1:Array):void{ var _local2:Object = this._103772132media; if (_local2 !== _arg1){ this._103772132media = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "media", _local2, _arg1)); }; } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function set caption(_arg1:String):void{ var _local2:Object = this._552573414caption; if (_local2 !== _arg1){ this._552573414caption = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "caption", _local2, _arg1)); }; } public function get title():String{ return (this._110371416title); } public function set text(_arg1:String):void{ var _local2:Object = this._3556653text; if (_local2 !== _arg1){ this._3556653text = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "text", _local2, _arg1)); }; } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set href(_arg1:String):void{ var _local2:Object = this._3211051href; if (_local2 !== _arg1){ this._3211051href = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "href", _local2, _arg1)); }; } public function get media():Array{ return (this._103772132media); } public function set properties(_arg1:Array):void{ var _local2:Object = this._926053069properties; if (_local2 !== _arg1){ this._926053069properties = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "properties", _local2, _arg1)); }; } public function set label(_arg1:String):void{ var _local2:Object = this._102727412label; if (_local2 !== _arg1){ this._102727412label = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "label", _local2, _arg1)); }; } public function get caption():String{ return (this._552573414caption); } public function set icon(_arg1:String):void{ var _local2:Object = this._3226745icon; if (_local2 !== _arg1){ this._3226745icon = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "icon", _local2, _arg1)); }; } public function get label():String{ return (this._102727412label); } public function set description(_arg1:String):void{ var _local2:Object = this._1724546052description; if (_local2 !== _arg1){ this._1724546052description = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "description", _local2, _arg1)); }; } public function get icon():String{ return (this._3226745icon); } public function get description():String{ return (this._1724546052description); } } }//package com.facebook.data.stream
Section 164
//CommentsData (com.facebook.data.stream.CommentsData) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class CommentsData implements IEventDispatcher { private var _126536785can_post:Boolean; private var _bindingEventDispatcher:EventDispatcher; private var _1294922797can_remove:Boolean; private var _94851343count:uint; private var _106855379posts:Array; public function CommentsData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get count():uint{ return (this._94851343count); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get posts():Array{ return (this._106855379posts); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function get can_remove():Boolean{ return (this._1294922797can_remove); } public function set can_post(_arg1:Boolean):void{ var _local2:Object = this._126536785can_post; if (_local2 !== _arg1){ this._126536785can_post = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "can_post", _local2, _arg1)); }; } public function set count(_arg1:uint):void{ var _local2:Object = this._94851343count; if (_local2 !== _arg1){ this._94851343count = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "count", _local2, _arg1)); }; } public function set can_remove(_arg1:Boolean):void{ var _local2:Object = this._1294922797can_remove; if (_local2 !== _arg1){ this._1294922797can_remove = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "can_remove", _local2, _arg1)); }; } public function set posts(_arg1:Array):void{ var _local2:Object = this._106855379posts; if (_local2 !== _arg1){ this._106855379posts = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "posts", _local2, _arg1)); }; } public function get can_post():Boolean{ return (this._126536785can_post); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } } }//package com.facebook.data.stream
Section 165
//FlashMedia (com.facebook.data.stream.FlashMedia) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class FlashMedia implements IEventDispatcher { private var _1111107765source_url:String; private var _1290893620preview_img:String; private var _bindingEventDispatcher:EventDispatcher; public function FlashMedia(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get source_url():String{ return (this._1111107765source_url); } public function get preview_img():String{ return (this._1290893620preview_img); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function set preview_img(_arg1:String):void{ var _local2:Object = this._1290893620preview_img; if (_local2 !== _arg1){ this._1290893620preview_img = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "preview_img", _local2, _arg1)); }; } public function set source_url(_arg1:String):void{ var _local2:Object = this._1111107765source_url; if (_local2 !== _arg1){ this._1111107765source_url = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "source_url", _local2, _arg1)); }; } } }//package com.facebook.data.stream
Section 166
//GetCommentsData (com.facebook.data.stream.GetCommentsData) package com.facebook.data.stream { import com.facebook.data.*; import mx.events.*; public class GetCommentsData extends FacebookData { private var _602415628comments:Array; public function set comments(_arg1:Array):void{ var _local2:Object = this._602415628comments; if (_local2 !== _arg1){ this._602415628comments = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "comments", _local2, _arg1)); }; } public function get comments():Array{ return (this._602415628comments); } } }//package com.facebook.data.stream
Section 167
//GetFiltersData (com.facebook.data.stream.GetFiltersData) package com.facebook.data.stream { import com.facebook.data.*; import mx.events.*; public class GetFiltersData extends FacebookData { private var _854547461filters:StreamFilterCollection; public function get filters():StreamFilterCollection{ return (this._854547461filters); } public function set filters(_arg1:StreamFilterCollection):void{ var _local2:Object = this._854547461filters; if (_local2 !== _arg1){ this._854547461filters = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "filters", _local2, _arg1)); }; } } }//package com.facebook.data.stream
Section 168
//GetStreamData (com.facebook.data.stream.GetStreamData) package com.facebook.data.stream { import com.facebook.data.*; import mx.events.*; import com.facebook.data.photos.*; public class GetStreamData extends FacebookData { private var _1884266413stories:StreamStoryCollection; private var _1415163932albums:AlbumCollection; private var _1002263574profiles:ProfileCollection; public function get albums():AlbumCollection{ return (this._1415163932albums); } public function set stories(_arg1:StreamStoryCollection):void{ var _local2:Object = this._1884266413stories; if (_local2 !== _arg1){ this._1884266413stories = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "stories", _local2, _arg1)); }; } public function get profiles():ProfileCollection{ return (this._1002263574profiles); } public function set albums(_arg1:AlbumCollection):void{ var _local2:Object = this._1415163932albums; if (_local2 !== _arg1){ this._1415163932albums = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "albums", _local2, _arg1)); }; } public function get stories():StreamStoryCollection{ return (this._1884266413stories); } public function set profiles(_arg1:ProfileCollection):void{ var _local2:Object = this._1002263574profiles; if (_local2 !== _arg1){ this._1002263574profiles = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "profiles", _local2, _arg1)); }; } } }//package com.facebook.data.stream
Section 169
//LikesData (com.facebook.data.stream.LikesData) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class LikesData implements IEventDispatcher { private var _600094315friends:Array; private var _3211051href:String; private var _126661978can_like:Boolean; private var _909675094sample:Array; private var _94851343count:uint; private var _bindingEventDispatcher:EventDispatcher; private var _1928023624user_likes:Boolean; public function LikesData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function set can_like(_arg1:Boolean):void{ var _local2:Object = this._126661978can_like; if (_local2 !== _arg1){ this._126661978can_like = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "can_like", _local2, _arg1)); }; } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function get count():uint{ return (this._94851343count); } public function set user_likes(_arg1:Boolean):void{ var _local2:Object = this._1928023624user_likes; if (_local2 !== _arg1){ this._1928023624user_likes = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "user_likes", _local2, _arg1)); }; } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function set sample(_arg1:Array):void{ var _local2:Object = this._909675094sample; if (_local2 !== _arg1){ this._909675094sample = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "sample", _local2, _arg1)); }; } public function get friends():Array{ return (this._600094315friends); } public function set href(_arg1:String):void{ var _local2:Object = this._3211051href; if (_local2 !== _arg1){ this._3211051href = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "href", _local2, _arg1)); }; } public function get user_likes():Boolean{ return (this._1928023624user_likes); } public function set count(_arg1:uint):void{ var _local2:Object = this._94851343count; if (_local2 !== _arg1){ this._94851343count = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "count", _local2, _arg1)); }; } public function get can_like():Boolean{ return (this._126661978can_like); } public function get sample():Array{ return (this._909675094sample); } public function set friends(_arg1:Array):void{ var _local2:Object = this._600094315friends; if (_local2 !== _arg1){ this._600094315friends = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "friends", _local2, _arg1)); }; } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function get href():String{ return (this._3211051href); } } }//package com.facebook.data.stream
Section 170
//MusicMedia (com.facebook.data.stream.MusicMedia) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class MusicMedia implements IEventDispatcher { private var _bindingEventDispatcher:EventDispatcher; private var _1111107765source_url:String; private var _110371416title:String; private var _1409097913artist:String; public function MusicMedia(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get artist():String{ return (this._1409097913artist); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get source_url():String{ return (this._1111107765source_url); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set artist(_arg1:String):void{ var _local2:Object = this._1409097913artist; if (_local2 !== _arg1){ this._1409097913artist = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "artist", _local2, _arg1)); }; } public function set title(_arg1:String):void{ var _local2:Object = this._110371416title; if (_local2 !== _arg1){ this._110371416title = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "title", _local2, _arg1)); }; } public function get title():String{ return (this._110371416title); } public function set source_url(_arg1:String):void{ var _local2:Object = this._1111107765source_url; if (_local2 !== _arg1){ this._1111107765source_url = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "source_url", _local2, _arg1)); }; } } }//package com.facebook.data.stream
Section 171
//PhotoMedia (com.facebook.data.stream.PhotoMedia) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class PhotoMedia implements IEventDispatcher { private var _bindingEventDispatcher:EventDispatcher; private var _110987pid:String; private var _100346066index:uint; private var _96572aid:String; private var _106164915owner:String; public function PhotoMedia(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get pid():String{ return (this._110987pid); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get index():uint{ return (this._100346066index); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set pid(_arg1:String):void{ var _local2:Object = this._110987pid; if (_local2 !== _arg1){ this._110987pid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pid", _local2, _arg1)); }; } public function set owner(_arg1:String):void{ var _local2:Object = this._106164915owner; if (_local2 !== _arg1){ this._106164915owner = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "owner", _local2, _arg1)); }; } public function set index(_arg1:uint):void{ var _local2:Object = this._100346066index; if (_local2 !== _arg1){ this._100346066index = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "index", _local2, _arg1)); }; } public function get owner():String{ return (this._106164915owner); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function set aid(_arg1:String):void{ var _local2:Object = this._96572aid; if (_local2 !== _arg1){ this._96572aid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "aid", _local2, _arg1)); }; } public function get aid():String{ return (this._96572aid); } } }//package com.facebook.data.stream
Section 172
//PostCommentData (com.facebook.data.stream.PostCommentData) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class PostCommentData implements IEventDispatcher { private var _1266097595fromid:String; private var _3556653text:String; private var _3560141time:Date; private var _3355id:String; private var _bindingEventDispatcher:EventDispatcher; public function PostCommentData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function get fromid():String{ return (this._1266097595fromid); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function set fromid(_arg1:String):void{ var _local2:Object = this._1266097595fromid; if (_local2 !== _arg1){ this._1266097595fromid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "fromid", _local2, _arg1)); }; } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get time():Date{ return (this._3560141time); } public function set time(_arg1:Date):void{ var _local2:Object = this._3560141time; if (_local2 !== _arg1){ this._3560141time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "time", _local2, _arg1)); }; } public function get id():String{ return (this._3355id); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set text(_arg1:String):void{ var _local2:Object = this._3556653text; if (_local2 !== _arg1){ this._3556653text = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "text", _local2, _arg1)); }; } public function get text():String{ return (this._3556653text); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function set id(_arg1:String):void{ var _local2:Object = this._3355id; if (_local2 !== _arg1){ this._3355id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "id", _local2, _arg1)); }; } } }//package com.facebook.data.stream
Section 173
//ProfileCollection (com.facebook.data.stream.ProfileCollection) package com.facebook.data.stream { import com.facebook.utils.*; public class ProfileCollection extends FacebookArrayCollection { public function ProfileCollection(){ super(null, ProfileData); } } }//package com.facebook.data.stream
Section 174
//ProfileData (com.facebook.data.stream.ProfileData) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class ProfileData implements IEventDispatcher { private var _bindingEventDispatcher:EventDispatcher; private var _116079url:String; private var _3373707name:String; private var _1214494066pic_square:String; private var _3355id:String; public function ProfileData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get name():String{ return (this._3373707name); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function get id():String{ return (this._3355id); } public function set url(_arg1:String):void{ var _local2:Object = this._116079url; if (_local2 !== _arg1){ this._116079url = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "url", _local2, _arg1)); }; } public function set pic_square(_arg1:String):void{ var _local2:Object = this._1214494066pic_square; if (_local2 !== _arg1){ this._1214494066pic_square = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_square", _local2, _arg1)); }; } public function get url():String{ return (this._116079url); } public function get pic_square():String{ return (this._1214494066pic_square); } public function set id(_arg1:String):void{ var _local2:Object = this._3355id; if (_local2 !== _arg1){ this._3355id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "id", _local2, _arg1)); }; } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } } }//package com.facebook.data.stream
Section 175
//StreamFilterCollection (com.facebook.data.stream.StreamFilterCollection) package com.facebook.data.stream { import com.facebook.utils.*; public class StreamFilterCollection extends FacebookArrayCollection { public function StreamFilterCollection(){ super(null, StreamFilterData); } } }//package com.facebook.data.stream
Section 176
//StreamFilterData (com.facebook.data.stream.StreamFilterData) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class StreamFilterData implements IEventDispatcher { private var _737588055icon_url:String; private var _bindingEventDispatcher:EventDispatcher; private var _3373707name:String; private var _1967053405is_visible:Boolean; private var _3575610type:String; private var _115792uid:String; private var _1552737000filter_key:String; private var _3492908rank:uint; private var _111972721value:String; public function StreamFilterData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function set is_visible(_arg1:Boolean):void{ var _local2:Object = this._1967053405is_visible; if (_local2 !== _arg1){ this._1967053405is_visible = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "is_visible", _local2, _arg1)); }; } public function set type(_arg1:String):void{ var _local2:Object = this._3575610type; if (_local2 !== _arg1){ this._3575610type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "type", _local2, _arg1)); }; } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get type():String{ return (this._3575610type); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get name():String{ return (this._3373707name); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function set icon_url(_arg1:String):void{ var _local2:Object = this._737588055icon_url; if (_local2 !== _arg1){ this._737588055icon_url = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "icon_url", _local2, _arg1)); }; } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function get filter_key():String{ return (this._1552737000filter_key); } public function set rank(_arg1:uint):void{ var _local2:Object = this._3492908rank; if (_local2 !== _arg1){ this._3492908rank = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "rank", _local2, _arg1)); }; } public function set uid(_arg1:String):void{ var _local2:Object = this._115792uid; if (_local2 !== _arg1){ this._115792uid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "uid", _local2, _arg1)); }; } public function set value(_arg1:String):void{ var _local2:Object = this._111972721value; if (_local2 !== _arg1){ this._111972721value = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "value", _local2, _arg1)); }; } public function get is_visible():Boolean{ return (this._1967053405is_visible); } public function get icon_url():String{ return (this._737588055icon_url); } public function set filter_key(_arg1:String):void{ var _local2:Object = this._1552737000filter_key; if (_local2 !== _arg1){ this._1552737000filter_key = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "filter_key", _local2, _arg1)); }; } public function get value():String{ return (this._111972721value); } public function get uid():String{ return (this._115792uid); } public function get rank():uint{ return (this._3492908rank); } } }//package com.facebook.data.stream
Section 177
//StreamMediaData (com.facebook.data.stream.StreamMediaData) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class StreamMediaData implements IEventDispatcher { private var _104263205music:MusicMedia; private var _3575610type:String; private var _bindingEventDispatcher:EventDispatcher; private var _96681alt:String; private var _3211051href:String; private var _106642994photo:PhotoMedia; private var _114148src:String; private var _112202875video:VideoMedia; private var _97513456flash:FlashMedia; public function StreamMediaData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function get video():VideoMedia{ return (this._112202875video); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function toString():String{ return ([("type: " + type), ("href: " + href), ("src: " + src), ("alt: " + alt), ("photo: " + photo), ("video: " + video), ("flash: " + flash)].join(": ")); } public function set photo(_arg1:PhotoMedia):void{ var _local2:Object = this._106642994photo; if (_local2 !== _arg1){ this._106642994photo = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "photo", _local2, _arg1)); }; } public function set music(_arg1:MusicMedia):void{ var _local2:Object = this._104263205music; if (_local2 !== _arg1){ this._104263205music = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "music", _local2, _arg1)); }; } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set src(_arg1:String):void{ var _local2:Object = this._114148src; if (_local2 !== _arg1){ this._114148src = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "src", _local2, _arg1)); }; } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function set alt(_arg1:String):void{ var _local2:Object = this._96681alt; if (_local2 !== _arg1){ this._96681alt = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "alt", _local2, _arg1)); }; } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function set href(_arg1:String):void{ var _local2:Object = this._3211051href; if (_local2 !== _arg1){ this._3211051href = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "href", _local2, _arg1)); }; } public function get music():MusicMedia{ return (this._104263205music); } public function set flash(_arg1:FlashMedia):void{ var _local2:Object = this._97513456flash; if (_local2 !== _arg1){ this._97513456flash = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "flash", _local2, _arg1)); }; } public function get alt():String{ return (this._96681alt); } public function get href():String{ return (this._3211051href); } public function get flash():FlashMedia{ return (this._97513456flash); } public function set type(_arg1:String):void{ var _local2:Object = this._3575610type; if (_local2 !== _arg1){ this._3575610type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "type", _local2, _arg1)); }; } public function set video(_arg1:VideoMedia):void{ var _local2:Object = this._112202875video; if (_local2 !== _arg1){ this._112202875video = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "video", _local2, _arg1)); }; } public function get photo():PhotoMedia{ return (this._106642994photo); } public function get type():String{ return (this._3575610type); } public function get src():String{ return (this._114148src); } } }//package com.facebook.data.stream
Section 178
//StreamStoryCollection (com.facebook.data.stream.StreamStoryCollection) package com.facebook.data.stream { import com.facebook.utils.*; public class StreamStoryCollection extends FacebookArrayCollection { public function StreamStoryCollection(){ super(null, StreamStoryData); } } }//package com.facebook.data.stream
Section 179
//StreamStoryData (com.facebook.data.stream.StreamStoryData) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class StreamStoryData implements IEventDispatcher { private var _1650554971actor_id:String; private var _954925063message:String; private var _3575610type:uint; private var _314498168privacy:String; private var _753448353is_hidden:Boolean; private var _1698410561source_id:String; private var _668433131permalink:String; private var _bindingEventDispatcher:EventDispatcher; private var _1963501277attachment:AttachmentData; private var _815576439target_id:String; private var _2003148228created_time:Date; private var _1698418180sourceXML:XML; private var _1411074055app_id:String; private var _391211750post_id:String; private var _602415628comments:CommentsData; private var _102974396likes:LikesData; private var _450004177metadata:Object; private var _309882753attribution:String; private var _472881199updated_time:Date; private var _1552737000filter_key:String; private var _1843998832action_links:Array; private var _1567543704viewer_id:String; public function StreamStoryData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function set attribution(_arg1:String):void{ var _local2:Object = this._309882753attribution; if (_local2 !== _arg1){ this._309882753attribution = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "attribution", _local2, _arg1)); }; } public function get message():String{ return (this._954925063message); } public function set created_time(_arg1:Date):void{ var _local2:Object = this._2003148228created_time; if (_local2 !== _arg1){ this._2003148228created_time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "created_time", _local2, _arg1)); }; } public function get target_id():String{ return (this._815576439target_id); } public function get sourceXML():XML{ return (this._1698418180sourceXML); } public function get privacy():String{ return (this._314498168privacy); } public function set target_id(_arg1:String):void{ var _local2:Object = this._815576439target_id; if (_local2 !== _arg1){ this._815576439target_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "target_id", _local2, _arg1)); }; } public function set message(_arg1:String):void{ var _local2:Object = this._954925063message; if (_local2 !== _arg1){ this._954925063message = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "message", _local2, _arg1)); }; } public function get filter_key():String{ return (this._1552737000filter_key); } public function get post_id():String{ return (this._391211750post_id); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get comments():CommentsData{ return (this._602415628comments); } public function get actor_id():String{ return (this._1650554971actor_id); } public function set privacy(_arg1:String):void{ var _local2:Object = this._314498168privacy; if (_local2 !== _arg1){ this._314498168privacy = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "privacy", _local2, _arg1)); }; } public function get attachment():AttachmentData{ return (this._1963501277attachment); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function get metadata():Object{ return (this._450004177metadata); } public function set filter_key(_arg1:String):void{ var _local2:Object = this._1552737000filter_key; if (_local2 !== _arg1){ this._1552737000filter_key = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "filter_key", _local2, _arg1)); }; } public function set updated_time(_arg1:Date):void{ var _local2:Object = this._472881199updated_time; if (_local2 !== _arg1){ this._472881199updated_time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "updated_time", _local2, _arg1)); }; } public function set post_id(_arg1:String):void{ var _local2:Object = this._391211750post_id; if (_local2 !== _arg1){ this._391211750post_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "post_id", _local2, _arg1)); }; } public function get type():uint{ return (this._3575610type); } public function get likes():LikesData{ return (this._102974396likes); } public function get source_id():String{ return (this._1698410561source_id); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function get created_time():Date{ return (this._2003148228created_time); } public function set actor_id(_arg1:String):void{ var _local2:Object = this._1650554971actor_id; if (_local2 !== _arg1){ this._1650554971actor_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "actor_id", _local2, _arg1)); }; } public function set sourceXML(_arg1:XML):void{ var _local2:Object = this._1698418180sourceXML; if (_local2 !== _arg1){ this._1698418180sourceXML = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "sourceXML", _local2, _arg1)); }; } public function set viewer_id(_arg1:String):void{ var _local2:Object = this._1567543704viewer_id; if (_local2 !== _arg1){ this._1567543704viewer_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "viewer_id", _local2, _arg1)); }; } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set permalink(_arg1:String):void{ var _local2:Object = this._668433131permalink; if (_local2 !== _arg1){ this._668433131permalink = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "permalink", _local2, _arg1)); }; } public function get updated_time():Date{ return (this._472881199updated_time); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function set attachment(_arg1:AttachmentData):void{ var _local2:Object = this._1963501277attachment; if (_local2 !== _arg1){ this._1963501277attachment = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "attachment", _local2, _arg1)); }; } public function set is_hidden(_arg1:Boolean):void{ var _local2:Object = this._753448353is_hidden; if (_local2 !== _arg1){ this._753448353is_hidden = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "is_hidden", _local2, _arg1)); }; } public function set metadata(_arg1:Object):void{ var _local2:Object = this._450004177metadata; if (_local2 !== _arg1){ this._450004177metadata = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "metadata", _local2, _arg1)); }; } public function get is_hidden():Boolean{ return (this._753448353is_hidden); } public function set action_links(_arg1:Array):void{ var _local2:Object = this._1843998832action_links; if (_local2 !== _arg1){ this._1843998832action_links = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "action_links", _local2, _arg1)); }; } public function get permalink():String{ return (this._668433131permalink); } public function get viewer_id():String{ return (this._1567543704viewer_id); } public function get action_links():Array{ return (this._1843998832action_links); } public function set app_id(_arg1:String):void{ var _local2:Object = this._1411074055app_id; if (_local2 !== _arg1){ this._1411074055app_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "app_id", _local2, _arg1)); }; } public function set comments(_arg1:CommentsData):void{ var _local2:Object = this._602415628comments; if (_local2 !== _arg1){ this._602415628comments = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "comments", _local2, _arg1)); }; } public function set likes(_arg1:LikesData):void{ var _local2:Object = this._102974396likes; if (_local2 !== _arg1){ this._102974396likes = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "likes", _local2, _arg1)); }; } public function get app_id():String{ return (this._1411074055app_id); } public function set type(_arg1:uint):void{ var _local2:Object = this._3575610type; if (_local2 !== _arg1){ this._3575610type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "type", _local2, _arg1)); }; } public function set source_id(_arg1:String):void{ var _local2:Object = this._1698410561source_id; if (_local2 !== _arg1){ this._1698410561source_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "source_id", _local2, _arg1)); }; } public function get attribution():String{ return (this._309882753attribution); } } }//package com.facebook.data.stream
Section 180
//VideoMedia (com.facebook.data.stream.VideoMedia) package com.facebook.data.stream { import flash.events.*; import mx.events.*; public class VideoMedia implements IEventDispatcher { private var _1714674802display_url:String; private var _1111107765source_url:String; private var _106164915owner:String; private var _668433131permalink:String; private var _1290893620preview_img:String; private var _bindingEventDispatcher:EventDispatcher; public function VideoMedia(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get source_url():String{ return (this._1111107765source_url); } public function get preview_img():String{ return (this._1290893620preview_img); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function set source_url(_arg1:String):void{ var _local2:Object = this._1111107765source_url; if (_local2 !== _arg1){ this._1111107765source_url = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "source_url", _local2, _arg1)); }; } public function set preview_img(_arg1:String):void{ var _local2:Object = this._1290893620preview_img; if (_local2 !== _arg1){ this._1290893620preview_img = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "preview_img", _local2, _arg1)); }; } public function set permalink(_arg1:String):void{ var _local2:Object = this._668433131permalink; if (_local2 !== _arg1){ this._668433131permalink = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "permalink", _local2, _arg1)); }; } public function set display_url(_arg1:String):void{ var _local2:Object = this._1714674802display_url; if (_local2 !== _arg1){ this._1714674802display_url = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "display_url", _local2, _arg1)); }; } public function get permalink():String{ return (this._668433131permalink); } public function get display_url():String{ return (this._1714674802display_url); } public function get owner():String{ return (this._106164915owner); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function set owner(_arg1:String):void{ var _local2:Object = this._106164915owner; if (_local2 !== _arg1){ this._106164915owner = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "owner", _local2, _arg1)); }; } } }//package com.facebook.data.stream
Section 181
//AffiliationCollection (com.facebook.data.users.AffiliationCollection) package com.facebook.data.users { import com.facebook.utils.*; public class AffiliationCollection extends FacebookArrayCollection { public function AffiliationCollection(){ super(null, AffiliationData); } public function addAffiliation(_arg1:AffiliationData):void{ this.addItem(_arg1); } } }//package com.facebook.data.users
Section 182
//AffiliationData (com.facebook.data.users.AffiliationData) package com.facebook.data.users { import flash.events.*; import mx.events.*; public class AffiliationData implements IEventDispatcher { private var _892481550status:String; private var _3575610type:String; private var _3373707name:String; private var _3704893year:String; private var _109065nid:Number; private var _bindingEventDispatcher:EventDispatcher; public function AffiliationData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function get type():String{ return (this._3575610type); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get nid():Number{ return (this._109065nid); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get name():String{ return (this._3373707name); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set nid(_arg1:Number):void{ var _local2:Object = this._109065nid; if (_local2 !== _arg1){ this._109065nid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "nid", _local2, _arg1)); }; } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function set status(_arg1:String):void{ var _local2:Object = this._892481550status; if (_local2 !== _arg1){ this._892481550status = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "status", _local2, _arg1)); }; } public function get status():String{ return (this._892481550status); } public function set type(_arg1:String):void{ var _local2:Object = this._3575610type; if (_local2 !== _arg1){ this._3575610type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "type", _local2, _arg1)); }; } public function set year(_arg1:String):void{ var _local2:Object = this._3704893year; if (_local2 !== _arg1){ this._3704893year = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "year", _local2, _arg1)); }; } public function get year():String{ return (this._3704893year); } } }//package com.facebook.data.users
Section 183
//FacebookUser (com.facebook.data.users.FacebookUser) package com.facebook.data.users { import com.facebook.data.*; import mx.events.*; public class FacebookUser extends FacebookData { private var _160985414first_name:String;// = "" private var _1194426210hs_info:String; private var _1458126743pic_small_with_logo:String; private var _113766sex:String; private var _2076227591timezone:int; private var _883056542meeting_sex:Array; private var _213573361pic_with_logo:String; private var _578385717pic_big:String; private var _883068731meeting_for:Array; private var _948399753quotes:String; private var _2013122196last_name:String;// = "" private var _1391670531education_history:Array; private var _178029017profile_url:String; private var _2082876945notes_count:int; private var _1807033469affiliations:Array; private var _1068259517movies:String; private var _1678075120pic_big_with_logo:String; private var _547435215religion:String; private var _1762076142pic_small:String; private var _1341293220hs1_name:String; private var _432843422is_app_user:Boolean; private var _1168278276isLoggedInUser:Boolean; private var _1126443963current_location:FacebookLocation; private var _1369922371hs2_name:String; private var _776713425networkAffiliations:Array; private var _2002886397has_added_app:Boolean; private var _104263205music:String; private var _2512963hometown_location:FacebookLocation; private var _2025166887relationship_status:String; private var _1214494066pic_square:String; private var _1209746477hs2_id:int; private var _1069376125birthday:String; private var _3714tv:String; private var _1478774426work_history:Array; private var _1413913325profile_update_time:Date; private var _1097462182locale:String; private var _103846849email_hashes:Array; private var _892481550status:StatusData; private var _3373707name:String;// = "" private var _1182884599pic_square_with_logo:String; private var _115792uid:String; private var _1209776268hs1_id:int; private var _210452739political:String; private var _110986pic:String; private var _172288934proxied_email:String; private var _1524435058grad_year:String; private var _1332014026significant_other_id:int; private var _2048605165activities:String; private var _2059518005birthdayDate:Date; private var _93921962books:String; private var _2013968806wall_count:int; private var _1619363722about_me:String; private var _502611593interests:String; public function FacebookUser():void{ } public function get timezone():int{ return (this._2076227591timezone); } public function set education_history(_arg1:Array):void{ var _local2:Object = this._1391670531education_history; if (_local2 !== _arg1){ this._1391670531education_history = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "education_history", _local2, _arg1)); }; } public function set has_added_app(_arg1:Boolean):void{ var _local2:Object = this._2002886397has_added_app; if (_local2 !== _arg1){ this._2002886397has_added_app = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "has_added_app", _local2, _arg1)); }; } public function get pic_small():String{ return (this._1762076142pic_small); } public function get notes_count():int{ return (this._2082876945notes_count); } public function set pic_big_with_logo(_arg1:String):void{ var _local2:Object = this._1678075120pic_big_with_logo; if (_local2 !== _arg1){ this._1678075120pic_big_with_logo = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_big_with_logo", _local2, _arg1)); }; } public function set pic_small(_arg1:String):void{ var _local2:Object = this._1762076142pic_small; if (_local2 !== _arg1){ this._1762076142pic_small = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_small", _local2, _arg1)); }; } public function get music():String{ return (this._104263205music); } public function set notes_count(_arg1:int):void{ var _local2:Object = this._2082876945notes_count; if (_local2 !== _arg1){ this._2082876945notes_count = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "notes_count", _local2, _arg1)); }; } public function set pic_with_logo(_arg1:String):void{ var _local2:Object = this._213573361pic_with_logo; if (_local2 !== _arg1){ this._213573361pic_with_logo = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_with_logo", _local2, _arg1)); }; } public function get significant_other_id():int{ return (this._1332014026significant_other_id); } public function get email_hashes():Array{ return (this._103846849email_hashes); } public function get hometown_location():FacebookLocation{ return (this._2512963hometown_location); } public function set music(_arg1:String):void{ var _local2:Object = this._104263205music; if (_local2 !== _arg1){ this._104263205music = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "music", _local2, _arg1)); }; } public function get uid():String{ return (this._115792uid); } public function get wall_count():int{ return (this._2013968806wall_count); } public function get proxied_email():String{ return (this._172288934proxied_email); } public function set religion(_arg1:String):void{ var _local2:Object = this._547435215religion; if (_local2 !== _arg1){ this._547435215religion = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "religion", _local2, _arg1)); }; } public function get sex():String{ return (this._113766sex); } public function set significant_other_id(_arg1:int):void{ var _local2:Object = this._1332014026significant_other_id; if (_local2 !== _arg1){ this._1332014026significant_other_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "significant_other_id", _local2, _arg1)); }; } public function get meeting_sex():Array{ return (this._883056542meeting_sex); } public function get locale():String{ return (this._1097462182locale); } public function get birthday():String{ return (this._1069376125birthday); } public function get tv():String{ return (this._3714tv); } public function set email_hashes(_arg1:Array):void{ var _local2:Object = this._103846849email_hashes; if (_local2 !== _arg1){ this._103846849email_hashes = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "email_hashes", _local2, _arg1)); }; } public function get interests():String{ return (this._502611593interests); } public function get name():String{ return (this._3373707name); } public function set movies(_arg1:String):void{ var _local2:Object = this._1068259517movies; if (_local2 !== _arg1){ this._1068259517movies = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "movies", _local2, _arg1)); }; } public function get last_name():String{ return (this._2013122196last_name); } public function get is_app_user():Boolean{ return (this._432843422is_app_user); } public function get hs1_name():String{ return (this._1341293220hs1_name); } public function set uid(_arg1:String):void{ var _local2:Object = this._115792uid; if (_local2 !== _arg1){ this._115792uid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "uid", _local2, _arg1)); }; } public function set hometown_location(_arg1:FacebookLocation):void{ var _local2:Object = this._2512963hometown_location; if (_local2 !== _arg1){ this._2512963hometown_location = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "hometown_location", _local2, _arg1)); }; } public function set hs2_name(_arg1:String):void{ var _local2:Object = this._1369922371hs2_name; if (_local2 !== _arg1){ this._1369922371hs2_name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "hs2_name", _local2, _arg1)); }; } public function set wall_count(_arg1:int):void{ var _local2:Object = this._2013968806wall_count; if (_local2 !== _arg1){ this._2013968806wall_count = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "wall_count", _local2, _arg1)); }; } public function get books():String{ return (this._93921962books); } public function get first_name():String{ return (this._160985414first_name); } public function set proxied_email(_arg1:String):void{ var _local2:Object = this._172288934proxied_email; if (_local2 !== _arg1){ this._172288934proxied_email = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "proxied_email", _local2, _arg1)); }; } public function set locale(_arg1:String):void{ var _local2:Object = this._1097462182locale; if (_local2 !== _arg1){ this._1097462182locale = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "locale", _local2, _arg1)); }; } public function set meeting_sex(_arg1:Array):void{ var _local2:Object = this._883056542meeting_sex; if (_local2 !== _arg1){ this._883056542meeting_sex = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "meeting_sex", _local2, _arg1)); }; } public function get meeting_for():Array{ return (this._883068731meeting_for); } public function get pic_big():String{ return (this._578385717pic_big); } public function set work_history(_arg1:Array):void{ var _local2:Object = this._1478774426work_history; if (_local2 !== _arg1){ this._1478774426work_history = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "work_history", _local2, _arg1)); }; } public function get networkAffiliations():Array{ return (this._776713425networkAffiliations); } public function set sex(_arg1:String):void{ var _local2:Object = this._113766sex; if (_local2 !== _arg1){ this._113766sex = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "sex", _local2, _arg1)); }; } public function set pic_square(_arg1:String):void{ var _local2:Object = this._1214494066pic_square; if (_local2 !== _arg1){ this._1214494066pic_square = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_square", _local2, _arg1)); }; } public function set hs_info(_arg1:String):void{ var _local2:Object = this._1194426210hs_info; if (_local2 !== _arg1){ this._1194426210hs_info = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "hs_info", _local2, _arg1)); }; } public function set hs1_id(_arg1:int):void{ var _local2:Object = this._1209776268hs1_id; if (_local2 !== _arg1){ this._1209776268hs1_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "hs1_id", _local2, _arg1)); }; } public function get profile_update_time():Date{ return (this._1413913325profile_update_time); } public function set quotes(_arg1:String):void{ var _local2:Object = this._948399753quotes; if (_local2 !== _arg1){ this._948399753quotes = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "quotes", _local2, _arg1)); }; } public function get pic_square_with_logo():String{ return (this._1182884599pic_square_with_logo); } public function set birthday(_arg1:String):void{ var _local2:Object = this._1069376125birthday; if (_local2 !== _arg1){ this._1069376125birthday = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "birthday", _local2, _arg1)); }; } public function get isLoggedInUser():Boolean{ return (this._1168278276isLoggedInUser); } public function get political():String{ return (this._210452739political); } public function set tv(_arg1:String):void{ var _local2:Object = this._3714tv; if (_local2 !== _arg1){ this._3714tv = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "tv", _local2, _arg1)); }; } public function set affiliations(_arg1:Array):void{ var _local2:Object = this._1807033469affiliations; if (_local2 !== _arg1){ this._1807033469affiliations = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "affiliations", _local2, _arg1)); }; } public function get education_history():Array{ return (this._1391670531education_history); } public function get pic_with_logo():String{ return (this._213573361pic_with_logo); } public function set interests(_arg1:String):void{ var _local2:Object = this._502611593interests; if (_local2 !== _arg1){ this._502611593interests = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "interests", _local2, _arg1)); }; } public function get has_added_app():Boolean{ return (this._2002886397has_added_app); } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function get pic_big_with_logo():String{ return (this._1678075120pic_big_with_logo); } public function set pic(_arg1:String):void{ var _local2:Object = this._110986pic; if (_local2 !== _arg1){ this._110986pic = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic", _local2, _arg1)); }; } public function set last_name(_arg1:String):void{ var _local2:Object = this._2013122196last_name; if (_local2 !== _arg1){ this._2013122196last_name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "last_name", _local2, _arg1)); }; } public function set grad_year(_arg1:String):void{ var _local2:Object = this._1524435058grad_year; if (_local2 !== _arg1){ this._1524435058grad_year = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "grad_year", _local2, _arg1)); }; } public function set pic_small_with_logo(_arg1:String):void{ var _local2:Object = this._1458126743pic_small_with_logo; if (_local2 !== _arg1){ this._1458126743pic_small_with_logo = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_small_with_logo", _local2, _arg1)); }; } public function get religion():String{ return (this._547435215religion); } public function set is_app_user(_arg1:Boolean):void{ var _local2:Object = this._432843422is_app_user; if (_local2 !== _arg1){ this._432843422is_app_user = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "is_app_user", _local2, _arg1)); }; } public function set about_me(_arg1:String):void{ var _local2:Object = this._1619363722about_me; if (_local2 !== _arg1){ this._1619363722about_me = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "about_me", _local2, _arg1)); }; } public function set hs1_name(_arg1:String):void{ var _local2:Object = this._1341293220hs1_name; if (_local2 !== _arg1){ this._1341293220hs1_name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "hs1_name", _local2, _arg1)); }; } public function get movies():String{ return (this._1068259517movies); } public function get hs2_name():String{ return (this._1369922371hs2_name); } public function set books(_arg1:String):void{ var _local2:Object = this._93921962books; if (_local2 !== _arg1){ this._93921962books = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "books", _local2, _arg1)); }; } public function get work_history():Array{ return (this._1478774426work_history); } public function get hs_info():String{ return (this._1194426210hs_info); } public function get pic_square():String{ return (this._1214494066pic_square); } public function set first_name(_arg1:String):void{ var _local2:Object = this._160985414first_name; if (_local2 !== _arg1){ this._160985414first_name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "first_name", _local2, _arg1)); }; } public function set current_location(_arg1:FacebookLocation):void{ var _local2:Object = this._1126443963current_location; if (_local2 !== _arg1){ this._1126443963current_location = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "current_location", _local2, _arg1)); }; } public function get hs1_id():int{ return (this._1209776268hs1_id); } public function get affiliations():Array{ return (this._1807033469affiliations); } public function get quotes():String{ return (this._948399753quotes); } public function get grad_year():String{ return (this._1524435058grad_year); } public function get pic_small_with_logo():String{ return (this._1458126743pic_small_with_logo); } public function get pic():String{ return (this._110986pic); } public function set pic_big(_arg1:String):void{ var _local2:Object = this._578385717pic_big; if (_local2 !== _arg1){ this._578385717pic_big = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_big", _local2, _arg1)); }; } public function set networkAffiliations(_arg1:Array):void{ var _local2:Object = this._776713425networkAffiliations; if (_local2 !== _arg1){ this._776713425networkAffiliations = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "networkAffiliations", _local2, _arg1)); }; } public function set birthdayDate(_arg1:Date):void{ var _local2:Object = this._2059518005birthdayDate; if (_local2 !== _arg1){ this._2059518005birthdayDate = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "birthdayDate", _local2, _arg1)); }; } public function set hs2_id(_arg1:int):void{ var _local2:Object = this._1209746477hs2_id; if (_local2 !== _arg1){ this._1209746477hs2_id = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "hs2_id", _local2, _arg1)); }; } public function get about_me():String{ return (this._1619363722about_me); } public function set relationship_status(_arg1:String):void{ var _local2:Object = this._2025166887relationship_status; if (_local2 !== _arg1){ this._2025166887relationship_status = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "relationship_status", _local2, _arg1)); }; } public function set meeting_for(_arg1:Array):void{ var _local2:Object = this._883068731meeting_for; if (_local2 !== _arg1){ this._883068731meeting_for = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "meeting_for", _local2, _arg1)); }; } public function set profile_url(_arg1:String):void{ var _local2:Object = this._178029017profile_url; if (_local2 !== _arg1){ this._178029017profile_url = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "profile_url", _local2, _arg1)); }; } public function get current_location():FacebookLocation{ return (this._1126443963current_location); } public function get birthdayDate():Date{ return (this._2059518005birthdayDate); } public function get hs2_id():int{ return (this._1209746477hs2_id); } public function get relationship_status():String{ return (this._2025166887relationship_status); } public function set profile_update_time(_arg1:Date):void{ var _local2:Object = this._1413913325profile_update_time; if (_local2 !== _arg1){ this._1413913325profile_update_time = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "profile_update_time", _local2, _arg1)); }; } public function get profile_url():String{ return (this._178029017profile_url); } public function set activities(_arg1:String):void{ var _local2:Object = this._2048605165activities; if (_local2 !== _arg1){ this._2048605165activities = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "activities", _local2, _arg1)); }; } public function set status(_arg1:StatusData):void{ var _local2:Object = this._892481550status; if (_local2 !== _arg1){ this._892481550status = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "status", _local2, _arg1)); }; } public function get activities():String{ return (this._2048605165activities); } public function set pic_square_with_logo(_arg1:String):void{ var _local2:Object = this._1182884599pic_square_with_logo; if (_local2 !== _arg1){ this._1182884599pic_square_with_logo = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "pic_square_with_logo", _local2, _arg1)); }; } public function set timezone(_arg1:int):void{ var _local2:Object = this._2076227591timezone; if (_local2 !== _arg1){ this._2076227591timezone = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "timezone", _local2, _arg1)); }; } public function set isLoggedInUser(_arg1:Boolean):void{ var _local2:Object = this._1168278276isLoggedInUser; if (_local2 !== _arg1){ this._1168278276isLoggedInUser = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "isLoggedInUser", _local2, _arg1)); }; } public function get status():StatusData{ return (this._892481550status); } public function set political(_arg1:String):void{ var _local2:Object = this._210452739political; if (_local2 !== _arg1){ this._210452739political = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "political", _local2, _arg1)); }; } } }//package com.facebook.data.users
Section 184
//FacebookUserCollection (com.facebook.data.users.FacebookUserCollection) package com.facebook.data.users { import com.facebook.utils.*; public class FacebookUserCollection extends FacebookArrayCollection { public function FacebookUserCollection(){ super(null, FacebookUser); } public function getUserById(_arg1:String):FacebookUser{ return ((findItemByProperty("uid", _arg1) as FacebookUser)); } public function addUser(_arg1:FacebookUser):void{ addItem(_arg1); } } }//package com.facebook.data.users
Section 185
//GetInfoData (com.facebook.data.users.GetInfoData) package com.facebook.data.users { import com.facebook.data.*; import mx.events.*; public class GetInfoData extends FacebookData { private var _986811191userCollection:FacebookUserCollection; public function get userCollection():FacebookUserCollection{ return (this._986811191userCollection); } public function set userCollection(_arg1:FacebookUserCollection):void{ var _local2:Object = this._986811191userCollection; if (_local2 !== _arg1){ this._986811191userCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "userCollection", _local2, _arg1)); }; } } }//package com.facebook.data.users
Section 186
//GetStandardInfoData (com.facebook.data.users.GetStandardInfoData) package com.facebook.data.users { import com.facebook.data.*; import mx.events.*; public class GetStandardInfoData extends FacebookData { private var _986811191userCollection:UserCollection; public function get userCollection():UserCollection{ return (this._986811191userCollection); } public function set userCollection(_arg1:UserCollection):void{ var _local2:Object = this._986811191userCollection; if (_local2 !== _arg1){ this._986811191userCollection = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "userCollection", _local2, _arg1)); }; } } }//package com.facebook.data.users
Section 187
//StatusData (com.facebook.data.users.StatusData) package com.facebook.data.users { public class StatusData { public var time:Date; public var message:String; } }//package com.facebook.data.users
Section 188
//UserCollection (com.facebook.data.users.UserCollection) package com.facebook.data.users { import com.facebook.utils.*; public class UserCollection extends FacebookArrayCollection { public function UserCollection(_arg1:Array=null){ super(null, UserData); } } }//package com.facebook.data.users
Section 189
//UserData (com.facebook.data.users.UserData) package com.facebook.data.users { import flash.events.*; import mx.events.*; public class UserData implements IEventDispatcher { private var _bindingEventDispatcher:EventDispatcher; private var _160985414first_name:String; private var _3373707name:String; private var _2013122196last_name:String; private var _2076227591timezone:Number; private var _115792uid:String; private var _1700293062affiations:AffiliationCollection; public function UserData(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function set timezone(_arg1:Number):void{ var _local2:Object = this._2076227591timezone; if (_local2 !== _arg1){ this._2076227591timezone = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "timezone", _local2, _arg1)); }; } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function get affiations():AffiliationCollection{ return (this._1700293062affiations); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get name():String{ return (this._3373707name); } public function set affiations(_arg1:AffiliationCollection):void{ var _local2:Object = this._1700293062affiations; if (_local2 !== _arg1){ this._1700293062affiations = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "affiations", _local2, _arg1)); }; } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function get uid():String{ return (this._115792uid); } public function get last_name():String{ return (this._2013122196last_name); } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function set uid(_arg1:String):void{ var _local2:Object = this._115792uid; if (_local2 !== _arg1){ this._115792uid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "uid", _local2, _arg1)); }; } public function set last_name(_arg1:String):void{ var _local2:Object = this._2013122196last_name; if (_local2 !== _arg1){ this._2013122196last_name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "last_name", _local2, _arg1)); }; } public function set first_name(_arg1:String):void{ var _local2:Object = this._160985414first_name; if (_local2 !== _arg1){ this._160985414first_name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "first_name", _local2, _arg1)); }; } public function get timezone():Number{ return (this._2076227591timezone); } public function get first_name():String{ return (this._160985414first_name); } public function toString():String{ return ((((((((((((("[ UserData uid: " + uid) + " affiation:") + affiations) + " first_name:") + first_name) + " last_name:") + last_name) + " name:") + name) + " timezone: ") + timezone) + "]")); } } }//package com.facebook.data.users
Section 190
//ArrayResultData (com.facebook.data.ArrayResultData) package com.facebook.data { import mx.events.*; public class ArrayResultData extends FacebookData { private var _682377174arrayResult:Array; public function set arrayResult(_arg1:Array):void{ var _local2:Object = this._682377174arrayResult; if (_local2 !== _arg1){ this._682377174arrayResult = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "arrayResult", _local2, _arg1)); }; } public function get arrayResult():Array{ return (this._682377174arrayResult); } } }//package com.facebook.data
Section 191
//BooleanResultData (com.facebook.data.BooleanResultData) package com.facebook.data { import mx.events.*; public class BooleanResultData extends FacebookData { private var _111972721value:Boolean; public function get value():Boolean{ return (this._111972721value); } public function set value(_arg1:Boolean):void{ var _local2:Object = this._111972721value; if (_local2 !== _arg1){ this._111972721value = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "value", _local2, _arg1)); }; } } }//package com.facebook.data
Section 192
//FacebookData (com.facebook.data.FacebookData) package com.facebook.data { import flash.events.*; public class FacebookData extends EventDispatcher { public var rawResult:String; } }//package com.facebook.data
Section 193
//FacebookEducationInfo (com.facebook.data.FacebookEducationInfo) package com.facebook.data { import flash.events.*; import mx.events.*; public class FacebookEducationInfo implements IEventDispatcher { private var _3373707name:String; private var _1335595316degree:String; private var _3704893year:String; private var _157624742concentrations:Array; private var _bindingEventDispatcher:EventDispatcher; public function FacebookEducationInfo(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); concentrations = []; } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get name():String{ return (this._3373707name); } public function set concentrations(_arg1:Array):void{ var _local2:Object = this._157624742concentrations; if (_local2 !== _arg1){ this._157624742concentrations = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "concentrations", _local2, _arg1)); }; } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function get degree():String{ return (this._1335595316degree); } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function set degree(_arg1:String):void{ var _local2:Object = this._1335595316degree; if (_local2 !== _arg1){ this._1335595316degree = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "degree", _local2, _arg1)); }; } public function get concentrations():Array{ return (this._157624742concentrations); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function set year(_arg1:String):void{ var _local2:Object = this._3704893year; if (_local2 !== _arg1){ this._3704893year = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "year", _local2, _arg1)); }; } public function get year():String{ return (this._3704893year); } } }//package com.facebook.data
Section 194
//FacebookErrorCodes (com.facebook.data.FacebookErrorCodes) package com.facebook.data { import flash.events.*; public class FacebookErrorCodes implements IEventDispatcher { private var _bindingEventDispatcher:EventDispatcher; public static const API_EC_VERSION:Number = 12; public static const API_EC_PERMISSION_DENIED:Number = 10; public static const API_EC_HOST_UP:Number = 7; public static const API_EC_SERVICE:Number = 2; public static const API_EC_RATE:Number = 9; public static const API_EC_METHOD:Number = 3; public static const API_EC_HOST_API:Number = 6; public static const API_EC_SUCCESS:Number = 0; public static const SERVER_ERROR:Number = -1; public static const API_EC_UNKNOWN:Number = 1; public static const API_EC_DEPRECATED:Number = 11; public static const API_EC_SECURE:Number = 8; public static const API_EC_TOO_MANY_CALLS:Number = 4; public static const API_EC_BAD_IP:Number = 5; public function FacebookErrorCodes(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } } }//package com.facebook.data
Section 195
//FacebookLocation (com.facebook.data.FacebookLocation) package com.facebook.data { import mx.events.*; public class FacebookLocation extends FacebookData { private var _957831062country:String; private var _3053931city:String; private var _120609zip:String; private var _891990013street:String; private var _109757585state:String; public function get zip():String{ return (this._120609zip); } public function set state(_arg1:String):void{ var _local2:Object = this._109757585state; if (_local2 !== _arg1){ this._109757585state = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "state", _local2, _arg1)); }; } public function get street():String{ return (this._891990013street); } public function set city(_arg1:String):void{ var _local2:Object = this._3053931city; if (_local2 !== _arg1){ this._3053931city = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "city", _local2, _arg1)); }; } public function set street(_arg1:String):void{ var _local2:Object = this._891990013street; if (_local2 !== _arg1){ this._891990013street = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "street", _local2, _arg1)); }; } public function set zip(_arg1:String):void{ var _local2:Object = this._120609zip; if (_local2 !== _arg1){ this._120609zip = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "zip", _local2, _arg1)); }; } public function get city():String{ return (this._3053931city); } public function get country():String{ return (this._957831062country); } public function get state():String{ return (this._109757585state); } public function set country(_arg1:String):void{ var _local2:Object = this._957831062country; if (_local2 !== _arg1){ this._957831062country = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "country", _local2, _arg1)); }; } } }//package com.facebook.data
Section 196
//FacebookNetwork (com.facebook.data.FacebookNetwork) package com.facebook.data { import flash.events.*; import mx.events.*; public class FacebookNetwork implements IEventDispatcher { private var _892481550status:String; private var _3575610type:String; private var _3373707name:String; private var _3704893year:String; private var _109065nid:int; private var _bindingEventDispatcher:EventDispatcher; public function FacebookNetwork(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function get type():String{ return (this._3575610type); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function get nid():int{ return (this._109065nid); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get name():String{ return (this._3373707name); } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function set nid(_arg1:int):void{ var _local2:Object = this._109065nid; if (_local2 !== _arg1){ this._109065nid = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "nid", _local2, _arg1)); }; } public function set name(_arg1:String):void{ var _local2:Object = this._3373707name; if (_local2 !== _arg1){ this._3373707name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "name", _local2, _arg1)); }; } public function set status(_arg1:String):void{ var _local2:Object = this._892481550status; if (_local2 !== _arg1){ this._892481550status = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "status", _local2, _arg1)); }; } public function get status():String{ return (this._892481550status); } public function set type(_arg1:String):void{ var _local2:Object = this._3575610type; if (_local2 !== _arg1){ this._3575610type = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "type", _local2, _arg1)); }; } public function set year(_arg1:String):void{ var _local2:Object = this._3704893year; if (_local2 !== _arg1){ this._3704893year = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "year", _local2, _arg1)); }; } public function get year():String{ return (this._3704893year); } } }//package com.facebook.data
Section 197
//FacebookWorkInfo (com.facebook.data.FacebookWorkInfo) package com.facebook.data { import flash.events.*; import mx.events.*; public class FacebookWorkInfo implements IEventDispatcher { private var _1901043637location:FacebookLocation; private var _1725067410end_date:Date; private var _1724546052description:String; private var _1573629589start_date:Date; private var _747804969position:String; private var _1429880077company_name:String; private var _bindingEventDispatcher:EventDispatcher; public function FacebookWorkInfo(){ _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this)); super(); } public function dispatchEvent(_arg1:Event):Boolean{ return (_bindingEventDispatcher.dispatchEvent(_arg1)); } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ _bindingEventDispatcher.removeEventListener(_arg1, _arg2, _arg3); } public function get company_name():String{ return (this._1429880077company_name); } public function set end_date(_arg1:Date):void{ var _local2:Object = this._1725067410end_date; if (_local2 !== _arg1){ this._1725067410end_date = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "end_date", _local2, _arg1)); }; } public function set position(_arg1:String):void{ var _local2:Object = this._747804969position; if (_local2 !== _arg1){ this._747804969position = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "position", _local2, _arg1)); }; } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ _bindingEventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function willTrigger(_arg1:String):Boolean{ return (_bindingEventDispatcher.willTrigger(_arg1)); } public function set start_date(_arg1:Date):void{ var _local2:Object = this._1573629589start_date; if (_local2 !== _arg1){ this._1573629589start_date = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "start_date", _local2, _arg1)); }; } public function get end_date():Date{ return (this._1725067410end_date); } public function set company_name(_arg1:String):void{ var _local2:Object = this._1429880077company_name; if (_local2 !== _arg1){ this._1429880077company_name = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "company_name", _local2, _arg1)); }; } public function get position():String{ return (this._747804969position); } public function set location(_arg1:FacebookLocation):void{ var _local2:Object = this._1901043637location; if (_local2 !== _arg1){ this._1901043637location = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "location", _local2, _arg1)); }; } public function get start_date():Date{ return (this._1573629589start_date); } public function hasEventListener(_arg1:String):Boolean{ return (_bindingEventDispatcher.hasEventListener(_arg1)); } public function get location():FacebookLocation{ return (this._1901043637location); } public function set description(_arg1:String):void{ var _local2:Object = this._1724546052description; if (_local2 !== _arg1){ this._1724546052description = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "description", _local2, _arg1)); }; } public function get description():String{ return (this._1724546052description); } } }//package com.facebook.data
Section 198
//JSONResultData (com.facebook.data.JSONResultData) package com.facebook.data { import mx.events.*; public class JSONResultData extends FacebookData { private var _934426595result:Object; public function set result(_arg1:Object):void{ var _local2:Object = this._934426595result; if (_local2 !== _arg1){ this._934426595result = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "result", _local2, _arg1)); }; } public function get result():Object{ return (this._934426595result); } } }//package com.facebook.data
Section 199
//NumberResultData (com.facebook.data.NumberResultData) package com.facebook.data { import mx.events.*; public class NumberResultData extends FacebookData { private var _111972721value:Number; public function get value():Number{ return (this._111972721value); } public function set value(_arg1:Number):void{ var _local2:Object = this._111972721value; if (_local2 !== _arg1){ this._111972721value = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "value", _local2, _arg1)); }; } } }//package com.facebook.data
Section 200
//StringResultData (com.facebook.data.StringResultData) package com.facebook.data { import mx.events.*; public class StringResultData extends FacebookData { private var _111972721value:String; public function get value():String{ return (this._111972721value); } public function set value(_arg1:String):void{ var _local2:Object = this._111972721value; if (_local2 !== _arg1){ this._111972721value = _arg1; this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "value", _local2, _arg1)); }; } } }//package com.facebook.data
Section 201
//XMLDataParser (com.facebook.data.XMLDataParser) package com.facebook.data { import flash.events.*; import com.facebook.errors.*; import com.adobe.serialization.json.*; import com.facebook.data.status.*; import com.facebook.data.users.*; import com.facebook.data.fbml.*; import com.facebook.data.data.*; import com.facebook.data.notes.*; import com.facebook.commands.data.*; import com.facebook.data.application.*; import com.facebook.data.feed.*; import com.facebook.data.admin.*; import com.facebook.data.events.*; import com.facebook.data.friends.*; import com.facebook.data.photos.*; import com.facebook.data.pages.*; import com.facebook.data.notifications.*; import com.facebook.data.groups.*; import com.facebook.utils.*; import com.facebook.data.auth.*; import com.facebook.data.batch.*; public class XMLDataParser implements IFacebookResultParser { protected var fb_namespace:Namespace; public function XMLDataParser(){ fb_namespace = new Namespace("http://api.facebook.com/1.0/"); } protected function parseSendEmail(_arg1:XML):ArrayResultData{ var _local2:ArrayResultData = new ArrayResultData(); _local2.arrayResult = FacebookXMLParserUtils.toArray(_arg1); return (_local2); } protected function parseGetPhotos(_arg1:XML):GetPhotosData{ var _local4:*; var _local5:PhotoData; var _local2:GetPhotosData = new GetPhotosData(); var _local3:PhotoCollection = new PhotoCollection(); for each (_local4 in _arg1..fb_namespace::photo) { _local5 = new PhotoData(); _local5.pid = _local4.fb_namespace::pid; _local5.aid = _local4.fb_namespace::aid; _local5.owner = _local4.fb_namespace::owner; _local5.src = _local4.fb_namespace::src; _local5.src_big = _local4.fb_namespace::src_big; _local5.src_small = _local4.fb_namespace::src_small; _local5.caption = _local4.fb_namespace::caption; _local5.created = FacebookXMLParserUtils.toDate(_local4.fb_namespace::created); _local3.addPhoto(_local5); }; _local2.photoCollection = _local3; return (_local2); } protected function parseGetNotifications(_arg1:XML):GetNotificationData{ var _local4:*; var _local5:*; var _local6:*; var _local7:NotificationMessageData; var _local8:NotificationPokeData; var _local9:NotificationShareData; var _local2:GetNotificationData = new GetNotificationData(); var _local3:NotificationCollection = new NotificationCollection(); for each (_local4 in _arg1.fb_namespace::messages) { _local7 = new NotificationMessageData(); _local7.unread = _local4.fb_namespace::unread; _local7.most_recent = _local4.fb_namespace::most_recent; _local3.addItem(_local7); }; for each (_local5 in _arg1.fb_namespace::pokes) { _local8 = new NotificationPokeData(); _local8.unread = _local5.fb_namespace::unread; _local8.most_recent = _local5.fb_namespace::most_recent; _local3.addItem(_local8); }; for each (_local6 in _arg1.fb_namespace::shares) { _local9 = new NotificationShareData(); _local9.unread = _local6.fb_namespace::unread; _local9.most_recent = _local6.fb_namespace::most_recent; _local3.addItem(_local9); }; _local2.friendsRequests = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::friend_requests[0]); _local2.group_invites = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::group_invites[0]); _local2.event_invites = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::event_invites[0]); _local2.notificationCollection = _local3; return (_local2); } public function createFacebookError(_arg1:Object, _arg2:String):FacebookError{ var _local3:FacebookError = new FacebookError(); _local3.rawResult = _arg2; _local3.errorCode = FacebookErrorCodes.SERVER_ERROR; if ((_arg1 is Error)){ _local3.error = (_arg1 as Error); } else { _local3.errorEvent = (_arg1 as ErrorEvent); }; return (_local3); } protected function getAffiliation(_arg1:XML):AffiliationCollection{ var _local3:*; var _local4:AffiliationData; var _local2:AffiliationCollection = new AffiliationCollection(); for each (_local3 in _arg1..fb_namespace::afflication) { _local4 = new AffiliationData(); _local4.nid = _local3.fb_namespace::nid; _local4.name = _local3.fb_namespace::name; _local4.type = _local3.fb_namespace::type; _local4.status = _local3.fb_namespace::status; _local4.year = _local3.fb_namespace::year; _local2.addAffiliation(_local4); }; return (_local2); } protected function parseGetUserPreferences(_arg1:XML):GetUserPreferencesData{ var _local4:*; var _local5:PreferenceData; var _local2:GetUserPreferencesData = new GetUserPreferencesData(); var _local3:PreferenceCollection = new PreferenceCollection(); for each (_local4 in _arg1..fb_namespace::preference) { _local5 = new PreferenceData(); _local5.pref_id = _local4.fb_namespace::pref_id; _local5.value = _local4.fb_namespace::value; _local3.addItem(_local5); }; _local2.perferenceCollection = _local3; return (_local2); } public function parse(_arg1:String, _arg2:String):FacebookData{ var _local3:FacebookData; var _local4:XML = new XML(_arg1); switch (_arg2){ case "application.getPublicInfo": _local3 = parseGetPublicInfo(_local4); break; case "data.getCookies": _local3 = parseGetCookies(_local4); break; case "admin.getAllocation": _local3 = parseGetAllocation(_local4); break; case "admin.getAppProperties": _local3 = parseGetAppProperties(_local4); break; case "admin.getMetrics": _local3 = parseGetMetrics(_local4); break; case "auth.getSession": _local3 = new GetSessionData(); (_local3 as GetSessionData).expires = FacebookXMLParserUtils.toDate(_local4.fb_namespace::expires); (_local3 as GetSessionData).uid = FacebookXMLParserUtils.toStringValue(_local4.fb_namespace::uid[0]); (_local3 as GetSessionData).session_key = _local4.fb_namespace::session_key.toString(); (_local3 as GetSessionData).secret = String(_local4.fb_namespace::secret); break; case "feed.getRegisteredTemplateBundles": _local3 = parseGetRegisteredTemplateBundles(_local4); break; case "friends.areFriends": _local3 = parseAreFriends(_local4); break; case "notes.get": _local3 = parseGetNotes(_local4); break; case "friends.get": _local3 = parseGetFriends(_local4); break; case "friends.getAppUsers": _local3 = parseGetAppUsersData(_local4); break; case "friends.getLists": _local3 = parseGetLists(_local4); break; case "groups.get": _local3 = parseGetGroups(_local4); break; case "data.getAssociationDefinitions": _local3 = new FacebookData(); break; case "data.getAssociationDefinition": _local3 = new FacebookData(); break; case "data.getObject": case "data.getObjects": _local3 = new FacebookData(); break; case "groups.getMembers": _local3 = parseGetGroupMembers(_local4); break; case "users.getInfo": _local3 = parseGetInfo(_local4); break; case "data.createObject": case "data.setHashValue": case "connect.getUnconnectedFriendsCount": case "feed.registerTemplateBundle": _local3 = new NumberResultData(); (_local3 as NumberResultData).value = FacebookXMLParserUtils.toNumber(_local4); break; case "notifications.get": _local3 = parseGetNotifications(_local4); break; case "feed.getRegisteredTemplateBundleByID": _local3 = parseGetRegisteredTemplateBundleByID(_local4); break; case "users.getStandardInfo": _local3 = parseGetStandardInfo(_local4); break; case "feed.getRegisteredTemplateBundles": _local3 = parseGetRegisteredTemplateBundles(_local4); break; case "data.getUserPreferences": _local3 = parseGetUserPreferences(_local4); break; case "users.isAppUser": case "users.hasAppPermission": case "users.setStatus": case "pages.isFan": case "pages.isAppAdded": case "pages.isAdmin": case "admin.setAppProperties": case "auth.expireSession": case "auth.revokeAuthorization": case "events.cancel": case "events.edit": case "events.rsvp": case "liveMessage.send": case "data.undefineAssociation": case "data.defineAssociation": case "data.removeHashKeys": case "data.removeHashKey": case "data.incHashValue": case "data.updateObject": case "data.deleteObject": case "data.deleteObjects": case "data.renameAssociation": case "data.setObjectProperty": case "profile.setInfo": case "profile.setInfoOptions": case "feed.deactivateTemplateBundleByID": case "feed.publishTemplatizedAction": case "admin.setRestrictionInfo": case "data.setCookie": case "data.createObjectType": case "notes.delete": case "notes.edit": case "data.setUserPreference": case "data.dropObjectType": case "data.renameObjectType": case "fbml.registerCustomTags": case "fbml.deleteCustomTags": case "fbml.refreshRefUrl": case "fbml.refreshImgSrc": case "fbml.setRefHandle": case "data.setUserPreferences": case "data.defineObjectProperty": case "photos.addTag": case "stream.addLike": case "stream.removeLike": case "stream.removeComment": case "sms.canSend": _local3 = new BooleanResultData(); (_local3 as BooleanResultData).value = FacebookXMLParserUtils.toBoolean(_local4); break; case "feed.publishUserAction": _local3 = new BooleanResultData(); (_local3 as BooleanResultData).value = FacebookXMLParserUtils.toBoolean(_local4.children()[0]); break; case "notifications.sendEmail": _local3 = parseSendEmail(_local4); break; case "data.getObjectTypes": _local3 = parseGetObjectTypes(_local4); break; case "users.getStandardInfo": _local3 = parseGetStandardInfo(_local4); break; case "data.getObjectType": _local3 = parseGetObjectType(_local4); break; case "events.get": _local3 = parseGetEvent(_local4); break; case "events.getMembers": _local3 = parseGetMembers(_local4); break; case "fql.multiquery": _local3 = new FacebookData(); break; case "fql.query": _local3 = new FacebookData(); break; case "photos.createAlbum": _local3 = parseCreateAlbum(_local4); break; case "photos.get": _local3 = parseGetPhotos(_local4); break; case "photos.getTags": _local3 = parseGetTags(_local4); break; case "photos.getAlbums": _local3 = parseGetAlbums(_local4); break; case "photos.upload": _local3 = parseFacebookPhoto(_local4); break; case "pages.getInfo": _local3 = parsePageGetInfo(_local4); break; case "batch.run": _local3 = parseBatchRun(_local4); break; case "fbml.getCustomTags": _local3 = parseGetCustomTags(_local4); break; case "connect.unregisterUsers": case "connect.registerUsers": _local3 = new ArrayResultData(); (_local3 as ArrayResultData).arrayResult = FacebookXMLParserUtils.toArray(_local4); break; case "status.get": _local3 = parseGetStatus(_local4); break; case "stream.get": _local3 = FacebookStreamXMLParser.createStream(_local4, fb_namespace); break; case "stream.getComments": _local3 = FacebookStreamXMLParser.createGetCommentsData(_local4, fb_namespace); break; case "stream.getFilters": _local3 = FacebookStreamXMLParser.createStreamFilterCollection(_local4, fb_namespace); break; case "auth.createToken": case "events.create": case "links.post": case "auth.promoteSession": case "admin.getRestrictionInfo": case "data.getObjectProperty": case "notifications.send": case "notes.create": case "data.getUserPreference": case "profile.setFBML": case "users.getLoggedInUser": case "stream.addComment": default: _local3 = new StringResultData(); (_local3 as StringResultData).value = FacebookXMLParserUtils.toStringValue(_local4); break; }; _local3.rawResult = _arg1; return (_local3); } protected function parseGetStandardInfo(_arg1:XML):GetStandardInfoData{ var _local4:*; var _local5:UserData; var _local2:GetStandardInfoData = new GetStandardInfoData(); var _local3:UserCollection = new UserCollection(); for each (_local4 in _arg1..fb_namespace::user) { _local5 = new UserData(); _local5.uid = _local4.fb_namespace::uid; _local5.affiations = getAffiliation(XML(_local4.fb_namespace::affiliations.toXMLString())); _local5.first_name = _local4.fb_namespace::first_name; _local5.last_name = _local4.fb_namespace::last_name; _local5.name = _local4.fb_namespace::name; _local5.timezone = _local4.fb_namespace::timezone; _local3.addItem(_local5); }; _local2.userCollection = _local3; return (_local2); } protected function parseGetAppProperties(_arg1:XML):GetAppPropertiesData{ var _local2:GetAppPropertiesData = new GetAppPropertiesData(); _local2.appProperties = JSON.decode(_arg1.toString()); return (_local2); } protected function parseGetRegisteredTemplateBundles(_arg1:XML):GetRegisteredTemplateBundleData{ var _local5:*; var _local2:GetRegisteredTemplateBundleData = new GetRegisteredTemplateBundleData(); var _local3:TemplateBundleCollection = new TemplateBundleCollection(); var _local4:TemplateCollection = new TemplateCollection(); for each (_local5 in _arg1..fb_namespace::template_bundle) { getTemplate(_local5.fb_namespace::one_line_story_template, _local4); getTemplate(_local5.fb_namespace::short_story_templates, _local4); getTemplate(_local5.fb_namespace::full_story_template, _local4); _local4.template_bundle_id = _local5.fb_namespace::template_bundle_id; _local4.time_created = FacebookXMLParserUtils.toDate(_local5.fb_namespace::time_created); }; _local2.bundleCollection = _local4; return (_local2); } protected function parseGetRegisteredTemplateBundleByID(_arg1:XML):GetRegisteredTemplateBundleByIDData{ var _local2:GetRegisteredTemplateBundleByIDData = new GetRegisteredTemplateBundleByIDData(); var _local3:TemplateCollection = new TemplateCollection(); getTemplate(_arg1.fb_namespace::one_line_story_template, _local3); getTemplate(_arg1.fb_namespace::short_story_templates, _local3); getTemplate(_arg1.fb_namespace::full_story_template, _local3); _local3.template_bundle_id = _arg1.fb_namespace::template_bundle_id; _local3.time_created = FacebookXMLParserUtils.toDate(_arg1.fb_namespace::time_created); _local2.templateCollection = _local3; return (_local2); } protected function responseNodeNameToMethodName(_arg1:String):String{ var _local2:Array = _arg1.split("_"); _local2.pop(); return (_local2.join(".")); } protected function parseGetObjectTypes(_arg1:XML):GetObjectTypesData{ var _local4:*; var _local5:ObjectTypesData; var _local2:GetObjectTypesData = new GetObjectTypesData(); var _local3:ObjectTypesCollection = new ObjectTypesCollection(); for each (_local4 in _arg1..fb_namespace::object_type_info) { _local5 = new ObjectTypesData(); _local5.name = _local4.fb_namespace::name; _local5.object_class = _local4.fb_namespace::object_class; _local3.addItem(_local5); }; _local2.objectTypeCollection = _local3; return (_local2); } protected function parseFacebookPhoto(_arg1:XML):FacebookPhoto{ var _local2:FacebookPhoto = new FacebookPhoto(); _local2.pid = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::pid[0]); _local2.aid = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::aid[0]); _local2.owner = FacebookXMLParserUtils.toNumber(_arg1.fb_namespace::owner[0]); _local2.src = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::src[0]); _local2.src_big = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::src_big[0]); _local2.src_small = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::src_small[0]); _local2.link = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::link[0]); _local2.caption = FacebookXMLParserUtils.toStringValue(_arg1.fb_namespace::caption[0]); return (_local2); } protected function parseGetObjectType(_arg1:XML):GetObjectTypeData{ var _local2:GetObjectTypeData = new GetObjectTypeData(); _local2.name = _arg1.fb_namespace::name; _local2.data_type = _arg1.fb_namespace::data_type; _local2.index_type = _arg1.fb_namespace::index_type; return (_local2); } protected function createTagObject(_arg1:XML, _arg2:Array){ var _local5:AbstractTagData; var _local7:Object; var _local3:Number = _arg1.children().length(); var _local4:String = _arg1.children()[0].toLowerCase(); if (_local4 == "leaf"){ _local5 = new LeafTagData(null, null, null, null, null); (_local5 as LeafTagData).fbml = _arg1.children()[9]; } else { _local5 = new ContainerTagData(null, null, null, null, null, null, null); (_local5 as ContainerTagData).open_tag_fbml = _arg1.children()[2]; (_local5 as ContainerTagData).close_tag_fbml = _arg1.children()[4]; }; var _local6:Number = 0; while (_local6 < _local3) { _local7 = _arg1.children()[_local6]; switch (_arg2[_local6]){ case "name": case "type": case "description": case "is_public": case "header_fbml": case "footer_fbml": _local5[_arg2[_local6]] = _local7.text(); break; case "attributes": if ((_local7.children() is XMLList)){ if (_local7.children().length() == 0){ _local5[_arg2[_local6]] = null; }; }; break; }; _local6++; }; return (_local5); } protected function parseGetNotes(_arg1:XML):GetNotesData{ var _local4:*; var _local5:NoteData; var _local2:GetNotesData = new GetNotesData(); var _local3:NotesCollection = new NotesCollection(); for each (_local4 in _arg1..fb_namespace::note) { _local5 = new NoteData(); _local5.note_id = _local4.fb_namespace::note_id; _local5.title = _local4.fb_namespace::title; _local5.content = _local4.fb_namespace::content; _local5.created_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::created_time); _local5.updated_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::updated_time); _local5.uid = _local4.fb_namespace::uid; _local3.addItem(_local5); }; _local2.notesCollection = _local3; return (_local2); } protected function parseGetMetrics(_arg1:XML):GetMetricsData{ var _local4:*; var _local5:MetricsData; var _local2:GetMetricsData = new GetMetricsData(); var _local3:MetricsDataCollection = new MetricsDataCollection(); for each (_local4 in _arg1..fb_namespace::metrics) { _local5 = new MetricsData(); _local5.end_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::end_time); _local5.active_users = _local4.fb_namespace::active_users; _local5.canvas_page_views = _local4.fb_namespace::canvas_page_views; _local3.addItem(_local5); }; _local2.metricsCollection = _local3; return (_local2); } protected function parsePageGetInfo(_arg1:XML):GetPageInfoData{ var _local5:Object; var _local6:PageInfoData; var _local2:GetPageInfoData = new GetPageInfoData(); var _local3:PageInfoCollection = new PageInfoCollection(); var _local4:XMLList = _arg1.fb_namespace::page; for each (_local5 in _local4) { _local6 = new PageInfoData(); _local6.page_id = _local5.fb_namespace::page_id; _local6.name = _local5.fb_namespace::name; _local6.pic_small = _local5.fb_namespace::pic_small; _local6.pic_big = _local5.fb_namespace::pic_big; _local6.pic_square = _local5.fb_namespace::pic_square; _local6.pic_large = _local5.fb_namespace::pic_large; _local6.type = _local5.fb_namespace::type; _local6.website = _local5.fb_namespace::website; _local6.location = FacebookXMLParserUtils.createLocation(_local5.fb_namespace::location[0], fb_namespace); _local6.hours = _local5.fb_namespace::hours; _local6.band_members = _local5.fb_namespace::band_members; _local6.bio = _local5.fb_namespace::bio; _local6.hometown = _local5.fb_namespace::hometown; _local6.genre = FacebookXMLParserUtils.toStringValue(_local5.fb_namespace::genre[0]); _local6.record_label = _local5.fb_namespace::record_label; _local6.influences = _local5.fb_namespace::influences; _local6.has_added_app = FacebookXMLParserUtils.toBoolean(_local5.fb_namespace::has_added_app[0]); _local6.founded = _local5.fb_namespace::founded; _local6.company_overview = _local5.fb_namespace::company_overview; _local6.mission = _local5.fb_namespace::mission; _local6.products = _local5.fb_namespace::products; _local6.release_date = _local5.fb_namespace::release_date; _local6.starring = _local5.fb_namespace::starring; _local6.written_by = _local5.fb_namespace::written_by; _local6.directed_by = _local5.fb_namespace::directed_by; _local6.produced_by = _local5.fb_namespace::produced_by; _local6.studio = _local5.fb_namespace::studio; _local6.awards = _local5.fb_namespace::awards; _local6.plot_outline = _local5.fb_namespace::plot_outline; _local6.network = _local5.fb_namespace::network; _local6.season = _local5.fb_namespace::season; _local6.schedule = _local5.fb_namespace::schedule; _local3.addPageInfo(_local6); }; _local2.pageInfoCollection = _local3; return (_local2); } protected function parseGetTags(_arg1:XML):GetTagsData{ var _local4:*; var _local5:TagData; var _local2:GetTagsData = new GetTagsData(); var _local3:PhotoTagCollection = new PhotoTagCollection(); for each (_local4 in _arg1..fb_namespace::photo_tag) { _local5 = new TagData(); _local5.text = _local4.fb_namespace::text; _local5.pid = _local4.fb_namespace::pid; _local5.subject = _local4.fb_namespace::subject; _local5.xcoord = _local4.fb_namespace::xcoord; _local5.ycoord = _local4.fb_namespace::ycoord; _local5.created = FacebookXMLParserUtils.toDate(_local4.fb_namespace::created); _local3.addPhotoTag(_local5); }; _local2.photoTagsCollection = _local3; return (_local2); } protected function parseGetGroupMembers(_arg1:XML):GetMemberData{ var _local2:GetMemberData = new GetMemberData(); _local2.members = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::members[0]); _local2.admins = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::admins[0]); _local2.officers = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::officers[0]); _local2.notReplied = FacebookXMLParserUtils.toUIDArray(_arg1.fb_namespace::not_replied[0]); return (_local2); } protected function parseGetGroups(_arg1:XML):GetGroupData{ var _local4:*; var _local5:GroupData; var _local2:GetGroupData = new GetGroupData(); var _local3:GroupCollection = new GroupCollection(); for each (_local4 in _arg1..fb_namespace::group) { _local5 = new GroupData(); _local5.gid = _local4.fb_namespace::gid; _local5.name = _local4.fb_namespace::name; _local5.nid = _local4.fb_namespace::nid; _local5.description = _local4.fb_namespace::description; _local5.group_type = _local4.fb_namespace::group_type; _local5.group_subtype = _local4.fb_namespace::group_subtype; _local5.recent_news = _local4.fb_namespace::recent_news; _local5.pic = _local4.fb_namespace::pic; _local5.pic_big = _local4.fb_namespace::pic_big; _local5.pic_small = _local4.fb_namespace::pic_small; _local5.creator = _local4.fb_namespace::creator; _local5.update_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::update_time); _local5.office = _local4.fb_namespace::office; _local5.website = _local4.fb_namespace::website; _local5.venue = FacebookXMLParserUtils.createLocation(_local4.fb_namespace::venue[0], fb_namespace); _local5.privacy = _local4.fb_namespace::privacy; _local3.addGroup(_local5); }; _local2.groups = _local3; return (_local2); } protected function parseCreateAlbum(_arg1:XML):GetCreateAlbumData{ var _local2:GetCreateAlbumData = new GetCreateAlbumData(); var _local3:AlbumData = new AlbumData(); _local3.aid = _arg1.fb_namespace::aid; _local3.cover_pid = _arg1.fb_namespace::cover_pid; _local3.owner = _arg1.fb_namespace::owner; _local3.name = _arg1.fb_namespace::name; _local3.created = FacebookXMLParserUtils.toDate(_arg1.fb_namespace::created); _local3.modified = FacebookXMLParserUtils.toDate(_arg1.fb_namespace::modified); _local3.description = _arg1.fb_namespace::description; _local3.location = _arg1.fb_namespace::location; _local3.link = _arg1.fb_namespace::link; _local3.size = _arg1.fb_namespace::size; _local3.visible = _arg1.fb_namespace::visible; _local2.albumData = _local3; return (_local2); } protected function parseGetAllocation(_arg1:XML):GetAllocationData{ var _local2:GetAllocationData = new GetAllocationData(); _local2.allocationLimit = Number(_arg1.toString()); return (_local2); } protected function parseGetCookies(_arg1:XML):GetCookiesData{ var _local2:GetCookiesData = new GetCookiesData(); _local2.uid = _arg1.fb_namespace::uid; _local2.name = _arg1.fb_namespace::name; _local2.value = _arg1.fb_namespace::value; _local2.expires = _arg1.fb_namespace::expires; _local2.path = _arg1.fb_namespace::path; return (_local2); } protected function parseGetCustomTags(_arg1:XML):GetCustomTagsData{ var _local5:*; var _local2:Array = ["type", "name", "open_tag_fbml", "description", "close_tag_fbml", "is_public", "attributes", "header_fbml", "footer_fbml", "fbml"]; var _local3:GetCustomTagsData = new GetCustomTagsData(); var _local4:TagCollection = new TagCollection(); for each (_local5 in _arg1..fb_namespace::custom_tag) { _local4.addItem(createTagObject(_local5, _local2)); }; _local3.tagCollection = _local4; return (_local3); } protected function parseGetAlbums(_arg1:XML):GetAlbumsData{ var _local2:GetAlbumsData = new GetAlbumsData(); _local2.albumCollection = FacebookXMLParserUtils.createAlbumCollection(_arg1, fb_namespace); return (_local2); } protected function parseGetInfo(_arg1:XML):GetInfoData{ var _local7:FacebookUser; var _local2:FacebookUserCollection = new FacebookUserCollection(); var _local3:XMLList = _arg1..fb_namespace::user; var _local4:uint = _local3.length(); var _local5:uint; while (_local5 < _local4) { _local7 = FacebookUserXMLParser.createFacebookUser(_local3[_local5], fb_namespace); _local2.addItem(_local7); _local5++; }; var _local6:GetInfoData = new GetInfoData(); _local6.userCollection = _local2; return (_local6); } protected function parseGetLists(_arg1:XML):GetListsData{ var _local4:*; var _local5:ListsData; var _local2:GetListsData = new GetListsData(); var _local3:Array = []; for each (_local4 in _arg1..fb_namespace::friendlist) { _local5 = new ListsData(); _local5.flid = _local4.fb_namespace::flid; _local5.name = _local4.fb_namespace::name; _local3.push(_local5); }; _local2.lists = _local3; return (_local2); } protected function parseGetAppUsersData(_arg1:XML):GetAppUserData{ var _local2:Array = FacebookXMLParserUtils.toUIDArray(_arg1); var _local3:GetAppUserData = new GetAppUserData(); _local3.uids = _local2; return (_local3); } protected function parseGetStatus(_arg1:XML):GetStatusData{ var _local7:XML; var _local8:Status; var _local2:GetStatusData = new GetStatusData(); var _local3:Array = []; var _local4:XMLList = _arg1.children(); var _local5:uint = _local4.length(); var _local6:uint; while (_local6 < _local5) { _local7 = _local4[_local6]; _local8 = new Status(); _local8.uid = FacebookXMLParserUtils.toStringValue(_local7.fb_namespace::uid[0]); _local8.status_id = FacebookXMLParserUtils.toStringValue(_local7.fb_namespace::status_id[0]); _local8.time = FacebookXMLParserUtils.toDate(_local7.fb_namespace::time[0]); _local8.source = FacebookXMLParserUtils.toStringValue(_local7.fb_namespace::source[0]); _local8.message = FacebookXMLParserUtils.toStringValue(_local7.fb_namespace::message[0]); _local3.push(_local8); _local6++; }; _local2.status = _local3; return (_local2); } protected function parseGetMembers(_arg1:XML):GetMembersData{ var _local2:GetMembersData = new GetMembersData(); _local2.attending = FacebookXMLParserUtils.toUIDArray(_arg1..fb_namespace::attending[0]); _local2.unsure = FacebookXMLParserUtils.toUIDArray(_arg1..fb_namespace::unsure[0]); _local2.declined = FacebookXMLParserUtils.toUIDArray(_arg1..fb_namespace::declined[0]); _local2.not_replied = FacebookXMLParserUtils.toUIDArray(_arg1..fb_namespace::not_replied[0]); return (_local2); } protected function parseGetEvent(_arg1:XML):GetEventsData{ var _local4:*; var _local5:EventData; var _local2:GetEventsData = new GetEventsData(); var _local3:EventCollection = new EventCollection(); for each (_local4 in _arg1..fb_namespace::event) { _local5 = new EventData(); _local5.eid = _local4.fb_namespace::eid; _local5.name = _local4.fb_namespace::name; _local5.tagline = _local4.fb_namespace::tagline; _local5.nid = _local4.fb_namespace::nid; _local5.pic = _local4.fb_namespace::pic; _local5.pic_big = _local4.fb_namespace::pic_big; _local5.pic_small = _local4.fb_namespace::pic_small; _local5.host = _local4.fb_namespace::host; _local5.description = _local4.fb_namespace::description; _local5.event_type = _local4.fb_namespace::event_type; _local5.event_subtype = _local4.fb_namespace::event_subtype; _local5.start_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::start_time); _local5.end_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::end_time); _local5.creator = _local4.fb_namespace::end_time; _local5.update_time = FacebookXMLParserUtils.toDate(_local4.fb_namespace::update_time); _local5.location = _local4.fb_namespace::location; _local5.venue = FacebookXMLParserUtils.createLocation(_local4.fb_namespace::venue[0], fb_namespace); _local3.addItem(_local5); }; _local2.eventCollection = _local3; return (_local2); } protected function parseGetFriends(_arg1:XML):GetFriendsData{ var _local4:*; var _local5:FacebookUser; var _local2:GetFriendsData = new GetFriendsData(); var _local3:FacebookUserCollection = new FacebookUserCollection(); for each (_local4 in _arg1..fb_namespace::uid) { _local5 = new FacebookUser(); _local5.uid = _local4; _local3.addItem(_local5); }; _local2.friends = _local3; return (_local2); } protected function parseGetPublicInfo(_arg1:XML):GetPublicInfoData{ var _local2:GetPublicInfoData = new GetPublicInfoData(); _local2.app_id = _arg1.fb_namespace::app_id; _local2.api_key = _arg1.fb_namespace::api_key; _local2.canvas_name = _arg1.fb_namespace::canvas_name; _local2.display_name = _arg1.fb_namespace::display_name; _local2.icon_url = _arg1.fb_namespace::icon_url; _local2.logo_url = _arg1.fb_namespace::logo_url; _local2.developers = _arg1.fb_namespace::developers; _local2.company_name = _arg1.fb_namespace::company_name; _local2.developers = _arg1.fb_namespace::developers; _local2.daily_active_users = _arg1.fb_namespace::daily_active_users; _local2.weekly_active_users = _arg1.fb_namespace::weekly_active_users; _local2.monthly_active_users = _arg1.fb_namespace::monthly_active_users; _local2.description = _arg1.fb_namespace::description; return (_local2); } protected function parseAreFriends(_arg1:XML):AreFriendsData{ var _local4:*; var _local5:FriendsData; var _local2:AreFriendsData = new AreFriendsData(); var _local3:FriendsCollection = new FriendsCollection(); for each (_local4 in _arg1..fb_namespace::friend_info) { _local5 = new FriendsData(); _local5.uid1 = _local4.fb_namespace::uid1; _local5.uid2 = _local4.fb_namespace::uid2; _local5.are_friends = FacebookXMLParserUtils.toBoolean(XML(_local4.fb_namespace::are_friends.toXMLString())); _local3.addItem(_local5); }; _local2.friendsCollection = _local3; return (_local2); } public function validateFacebookResponce(_arg1:String):FacebookError{ var xml:XML; var xmlError:Error; var result = _arg1; var error:FacebookError; var hasXMLError:Boolean; try { xml = new XML(result); } catch(e) { xmlError = e; hasXMLError = true; }; if (hasXMLError == false){ if (xml.localName() == "error_response"){ error = new FacebookError(); error.rawResult = result; error.errorCode = Number(xml.fb_namespace::error_code); error.errorMsg = xml.fb_namespace::error_msg; error.requestArgs = FacebookXMLParserUtils.xmlToUrlVariables(xml..arg); }; return (error); }; if (hasXMLError == true){ error = new FacebookError(); error.error = xmlError; error.errorCode = -1; }; return (error); } protected function parseBatchRun(_arg1:XML):FacebookData{ var _local7:String; var _local8:XML; var _local9:FacebookError; var _local10:String; var _local11:FacebookData; var _local2:XMLList = _arg1..fb_namespace::batch_run_response_elt; var _local3:uint = _local2.length(); var _local4:Array = []; var _local5:uint; while (_local5 < _local3) { _local7 = _local2[_local5].toString(); _local8 = new XML(_local7); _local9 = validateFacebookResponce(_local7); if (_local9 === null){ _local10 = responseNodeNameToMethodName(_local8.localName().toString()); _local11 = parse(_local7, _local10); _local4.push(_local11); } else { _local4.push(_local9); }; _local5++; }; var _local6:BatchResult = new BatchResult(); _local6.results = _local4; return (_local6); } protected function getTemplate(_arg1:XMLList, _arg2:TemplateCollection):void{ var _local3:*; var _local4:TemplateData; for each (_local3 in _arg1) { _local4 = new TemplateData(); _local4.type = _local3.localName(); _local4.template_body = _local3.fb_namespace::template_body; _local4.template_title = _local3.fb_namespace::template_title; _arg2.addTemplateData(_local4); }; } } }//package com.facebook.data
Section 202
//AbstractFileUploadDelegate (com.facebook.delegates.AbstractFileUploadDelegate) package com.facebook.delegates { import flash.events.*; import flash.net.*; import com.facebook.session.*; import com.facebook.net.*; import flash.utils.*; import com.facebook.utils.*; public class AbstractFileUploadDelegate extends WebDelegate { protected var ba:ByteArray; public function AbstractFileUploadDelegate(_arg1:FacebookCall, _arg2:WebSession){ super(_arg1, _arg2); ba = new ByteArray(); } protected function uploadByteArray(_arg1:ByteArray):void{ var _local3:String; var _local4:URLRequest; var _local2:PostRequest = new PostRequest(); for (_local3 in call.args) { if (_local3 != "data"){ _local2.writePostData(_local3, call.args[_local3]); }; }; _local2.writeFileData(((("fn" + call.args["call_id"]) + ".") + getExt()), _arg1, getContentType()); _local2.close(); _local4 = new URLRequest(); _local4.method = URLRequestMethod.POST; _local4.contentType = ("multipart/form-data; boundary=" + _local2.boundary); _local4.data = _local2.getPostData(); _local4.url = _session.rest_url; createURLLoader(); loader.dataFormat = URLLoaderDataFormat.BINARY; loader.load(_local4); } protected function onFileRefComplete(_arg1:Event):void{ fileRef = (call.args.data as FileReference); uploadByteArray(fileRef["data"]); } override protected function onDataComplete(_arg1:Event):void{ var _local3:String; var _local2:ByteArray = (_arg1.target.data as ByteArray); if (_local2 == null){ super.onDataComplete(_arg1); } else { _local3 = _local2.readUTFBytes(_local2.length); _local2.length = 0; _local2 = null; handleResult(_local3); }; } protected function getExt():String{ return (null); } protected function getContentType():String{ return (null); } } }//package com.facebook.delegates
Section 203
//DesktopDelegate (com.facebook.delegates.DesktopDelegate) package com.facebook.delegates { import com.facebook.session.*; import com.facebook.net.*; public class DesktopDelegate extends WebDelegate { public function DesktopDelegate(_arg1:FacebookCall, _arg2:DesktopSession){ super(_arg1, _arg2); } override protected function addOptionalArguments():void{ } } }//package com.facebook.delegates
Section 204
//IFacebookCallDelegate (com.facebook.delegates.IFacebookCallDelegate) package com.facebook.delegates { import flash.events.*; import com.facebook.session.*; import com.facebook.net.*; public interface IFacebookCallDelegate extends IEventDispatcher { function get session():IFacebookSession; function close():void; function set call(_arg1:FacebookCall):void; function set session(_arg1:IFacebookSession):void; function get call():FacebookCall; } }//package com.facebook.delegates
Section 205
//JSDelegate (com.facebook.delegates.JSDelegate) package com.facebook.delegates { import flash.events.*; import com.facebook.data.*; import com.facebook.errors.*; import com.facebook.session.*; import com.facebook.net.*; import com.adobe.serialization.json.*; import com.facebook.utils.*; import com.facebook.*; import flash.external.*; public class JSDelegate extends EventDispatcher implements IFacebookCallDelegate { protected var _call:FacebookCall; protected var _session:JSSession; protected static var externalInterfaceCalls:Object = {}; protected static var externalInterfaceCallId:Number = 0; public function JSDelegate(_arg1:FacebookCall, _arg2:JSSession){ this.call = _arg1; this.session = _arg2; execute(); } public function set call(_arg1:FacebookCall):void{ this._call = _arg1; } protected function onReceiveError(_arg1:ErrorEvent):void{ var _local2:FacebookError = new FacebookError(); _local2.errorEvent = _arg1; var _local3 = call; _local3.facebook_internal::handleError(_local2); } public function get call():FacebookCall{ return (_call); } protected function postBridgeAsyncReply(_arg1:Object, _arg2:Object, _arg3:uint):void{ var _local5:JSONResultData; var _local6:FacebookError; var _local4:FacebookCall = externalInterfaceCalls[_arg3]; if (_arg1){ _local5 = new JSONResultData(); _local5.result = _arg1; var _local7 = _local4; _local7.facebook_internal::handleResult(_local5); } else { _local6 = new FacebookError(); _local6.rawResult = JSON.encode(_arg2); _local7 = _local4; _local7.facebook_internal::handleError(_local6); }; delete externalInterfaceCalls[_arg3]; } protected function buildCall():String{ var _local3:String; var _local4:String; var _local1:String = ("bridgeFacebookCall_" + externalInterfaceCallId); RequestHelper.formatRequest(call); var _local2:Object = {}; for (_local3 in call.args) { _local2[_local3] = call.args[_local3]; }; _local4 = (((((((((((((((("function " + _local1) + "() { ") + "FB.Facebook.apiClient.callMethod(\"") + call.method) + "\", ") + JavascriptRequestHelper.formatURLVariables(call.args)) + ", ") + "function(result, exception) {") + "document.") + (_session as JSSession).as_swf_name) + ".bridgeFacebookReply(result, exception, ") + externalInterfaceCallId) + ")") + "}") + ");") + "}"); return (_local4); } protected function execute():void{ var _local2:Object; var _local3:String; var _local1:Array = []; for each (_local2 in call.args) { _local1.push(_local2); }; var _local4 = ++externalInterfaceCallId; externalInterfaceCalls[_local4] = call; _local3 = buildCall(); ExternalInterface.addCallback("bridgeFacebookReply", postBridgeAsyncReply); ExternalInterface.call(_local3); } protected function onReceiveStatus(_arg1:StatusEvent):void{ var _local2:FacebookError; switch ((_arg1.level == "error")){ case "error": _local2 = new FacebookError(); _local2.rawResult = _arg1.level; var _local3 = call; _local3.facebook_internal::handleError(_local2); break; case "warning": case "status": break; }; } public function set session(_arg1:IFacebookSession):void{ this._session = (_arg1 as JSSession); } public function get session():IFacebookSession{ return (_session); } public function close():void{ } } }//package com.facebook.delegates
Section 206
//RequestHelper (com.facebook.delegates.RequestHelper) package com.facebook.delegates { import flash.display.*; import flash.net.*; import com.facebook.session.*; import com.facebook.net.*; import flash.utils.*; import com.adobe.crypto.*; public class RequestHelper { protected static var callID:int = 0; public static function formatRequest(_arg1:FacebookCall):void{ var _local2:IFacebookSession = _arg1.session; _arg1.setRequestArgument("v", _local2.api_version); if (_local2.api_key != null){ _arg1.setRequestArgument("api_key", _local2.api_key); }; if (((!((_local2.session_key == null))) && (_arg1.useSession))){ _arg1.setRequestArgument("session_key", _local2.session_key); }; var _local3:String = (new Date().time.toString() + callID++.toString()); _arg1.setRequestArgument("call_id", _local3); _arg1.setRequestArgument("method", _arg1.method); _arg1.setRequestArgument("sig", formatSig(_arg1)); } public static function formatSig(_arg1:FacebookCall):String{ var _local4:String; var _local5:String; var _local6:*; var _local2:IFacebookSession = _arg1.session; var _local3:Array = []; for (_local4 in _arg1.args) { _local6 = _arg1.args[_local4]; if (((((((((!((_local4 === "sig"))) && (!((_local6 is ByteArray))))) && (!((_local6 is FileReference))))) && (!((_local6 is BitmapData))))) && (!((_local6 is Bitmap))))){ _local3.push(((_local4 + "=") + _local6.toString())); }; }; _local3.sort(); _local5 = _local3.join(""); if (_local2.secret != null){ _local5 = (_local5 + _local2.secret); }; return (MD5.hash(_local5)); } } }//package com.facebook.delegates
Section 207
//WebDelegate (com.facebook.delegates.WebDelegate) package com.facebook.delegates { import flash.events.*; import com.facebook.events.*; import com.facebook.data.*; import com.facebook.errors.*; import flash.net.*; import com.facebook.session.*; import com.facebook.net.*; public class WebDelegate extends EventDispatcher implements IFacebookCallDelegate { protected var _call:FacebookCall; protected var loader:URLLoader; protected var _session:WebSession; protected var parser:XMLDataParser; protected var fileRef:FileReference; public function WebDelegate(_arg1:FacebookCall, _arg2:WebSession){ this.call = _arg1; this.session = _arg2; parser = new XMLDataParser(); execute(); } protected function onDataComplete(_arg1:Event):void{ handleResult((_arg1.target.data as String)); } public function set call(_arg1:FacebookCall):void{ _call = _arg1; } protected function createURLLoader():void{ loader = new URLLoader(); loader.addEventListener(Event.COMPLETE, onDataComplete); loader.addEventListener(HTTPStatusEvent.HTTP_STATUS, onHTTPStatus); loader.addEventListener(IOErrorEvent.IO_ERROR, onError); loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onError); } protected function clean():void{ if (loader == null){ return; }; loader.removeEventListener(Event.COMPLETE, onDataComplete); loader.removeEventListener(IOErrorEvent.IO_ERROR, onError); loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, onError); } protected function addOptionalArguments():void{ call.setRequestArgument("ss", true); } public function get session():IFacebookSession{ return (_session); } public function get call():FacebookCall{ return (_call); } protected function post():void{ addOptionalArguments(); RequestHelper.formatRequest(call); sendRequest(); } protected function sendRequest():void{ createURLLoader(); var _local1:URLRequest = new URLRequest(_session.rest_url); _local1.contentType = "application/x-www-form-urlencoded"; _local1.method = URLRequestMethod.POST; _local1.data = call.args; trace(((_local1.url + "?") + unescape(call.args.toString()))); loader.dataFormat = URLLoaderDataFormat.TEXT; loader.load(_local1); } protected function onError(_arg1:ErrorEvent):void{ clean(); var _local2:FacebookError = parser.createFacebookError(_arg1, loader.data); call.handleError(_local2); dispatchEvent(new FacebookEvent(FacebookEvent.COMPLETE, false, false, false, null, _local2)); } public function set session(_arg1:IFacebookSession):void{ _session = (_arg1 as WebSession); } protected function handleResult(_arg1:String):void{ var _local3:FacebookData; clean(); var _local2:FacebookError = parser.validateFacebookResponce(_arg1); if (_local2 == null){ _local3 = parser.parse(_arg1, call.method); call.handleResult(_local3); } else { call.handleError(_local2); }; } protected function execute():void{ if (call == null){ throw (new Error("No call defined.")); }; post(); } public function close():void{ try { loader.close(); } catch(e) { }; } protected function onHTTPStatus(_arg1:HTTPStatusEvent):void{ } } }//package com.facebook.delegates
Section 208
//WebImageUploadDelegate (com.facebook.delegates.WebImageUploadDelegate) package com.facebook.delegates { import flash.events.*; import flash.display.*; import flash.net.*; import com.facebook.session.*; import com.facebook.net.*; import flash.utils.*; import com.adobe.images.*; import com.facebook.utils.*; import com.facebook.commands.photos.*; public class WebImageUploadDelegate extends AbstractFileUploadDelegate { public function WebImageUploadDelegate(_arg1:FacebookCall, _arg2:WebSession){ super(_arg1, _arg2); } override protected function getExt():String{ return ((((call as IUploadPhoto).uploadType == UploadPhotoTypes.JPEG)) ? "jpeg" : "png"); } override protected function getContentType():String{ return ("Content-Type: image/jpg"); } override protected function sendRequest():void{ var _local1:ByteArray; var _local4:JPGEncoder; var _local2:URLRequest = new URLRequest(_session.rest_url); var _local3:Object = call.args.data; if (_local3 == null){ super.sendRequest(); return; }; if ((((PlayerUtils.majorVersion == 9)) && ((_local3 is FileReference)))){ throw (new TypeError("Uploading FileReference with Player 9 is unsupported. Use either an BitmapData or ByteArray.")); }; if ((_local3 is Bitmap)){ _local3 = (_local3 as Bitmap).bitmapData; }; if ((((PlayerUtils.majorVersion == 10)) && ((_local3 is FileReference)))){ _local1 = (_local3 as FileReference)["load"](); fileRef = (_local3 as FileReference); fileRef.addEventListener(Event.COMPLETE, onFileRefComplete); } else { if ((_local3 is ByteArray)){ uploadByteArray((_local3 as ByteArray)); } else { if ((_local3 is BitmapData)){ switch ((call as UploadPhoto).uploadType){ case UploadPhotoTypes.JPEG: _local4 = new JPGEncoder((call as UploadPhoto).uploadQuality); ba = _local4.encode((_local3 as BitmapData)); break; case UploadPhotoTypes.PNG: ba = PNGEncoder.encode((_local3 as BitmapData)); break; }; uploadByteArray(ba); } else { throw (new Error((("Error data type " + call.args.data) + " is not supported. Please use one of the following types: FileReference, ByteArray, BitmapData or Bitmap."))); }; }; }; } } }//package com.facebook.delegates
Section 209
//VideoUploadDelegate (com.facebook.delegates.VideoUploadDelegate) package com.facebook.delegates { import flash.events.*; import flash.net.*; import com.facebook.session.*; import com.facebook.net.*; import flash.utils.*; import com.facebook.utils.*; import com.facebook.commands.video.*; public class VideoUploadDelegate extends AbstractFileUploadDelegate { public function VideoUploadDelegate(_arg1:FacebookCall, _arg2:WebSession){ super(_arg1, _arg2); } override protected function getExt():String{ return ((call as UploadVideo).ext); } override protected function getContentType():String{ return (("Content-Type: video/" + (call as UploadVideo).ext)); } override protected function sendRequest():void{ var _local1:ByteArray; var _local2:URLRequest = new URLRequest(_session.rest_url); var _local3:Object = call.args.data; if ((((PlayerUtils.majorVersion == 9)) && ((_local3 is FileReference)))){ throw (new TypeError("Uploading FileReference with Player 9 is unsupported. Use ByteArray.")); }; if ((((PlayerUtils.majorVersion == 10)) && ((_local3 is FileReference)))){ _local1 = (_local3 as FileReference)["load"](); fileRef = (_local3 as FileReference); fileRef.addEventListener(Event.COMPLETE, onFileRefComplete); } else { if ((_local3 is ByteArray)){ uploadByteArray((_local3 as ByteArray)); } else { throw (new Error((("Error data type " + call.args.data) + " is not supported. Please use one of the following types: FileReference or ByteArray."))); }; }; } } }//package com.facebook.delegates
Section 210
//FacebookError (com.facebook.errors.FacebookError) package com.facebook.errors { import flash.events.*; import com.facebook.data.*; import flash.net.*; public class FacebookError extends FacebookData { public var errorMsg:String; public var reason:String; public var error:Error; public var requestArgs:URLVariables; public var errorCode:Number; public var errorEvent:ErrorEvent; } }//package com.facebook.errors
Section 211
//FacebookEvent (com.facebook.events.FacebookEvent) package com.facebook.events { import flash.events.*; import com.facebook.data.*; import com.facebook.errors.*; public class FacebookEvent extends Event { public var success:Boolean; public var error:FacebookError; public var hasPermission:Boolean; public var data:FacebookData; public var permission:String; public static const PERMISSIONS_LOADED:String = "permissionsLoaded"; public static const LOGOUT:String = "logout"; public static const CONNECT:String = "connect"; public static const VERIFYING_SESSION:String = "verifyingSession"; public static const WAITING_FOR_LOGIN:String = "waitingForLogin"; public static const PERMISSION_CHANGE:String = "permissionChanged"; public static const PERMISSION_STATUS:String = "permissionStatus"; public static const LOGIN_SUCCESS:String = "loginSuccess"; public static const ERROR:String = "facebookEventError"; public static const PERMISSIONS_WINDOW_SHOW:String = "permissionsWindowShow"; public static const LOGIN_FAILURE:String = "loginFailure"; public static const LOGIN_WINDOW_SHOW:String = "loginWindoShow"; public static const COMPLETE:String = "complete"; public function FacebookEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:Boolean=false, _arg5:FacebookData=null, _arg6:FacebookError=null, _arg7:String="", _arg8:Boolean=false){ this.success = _arg4; this.data = _arg5; this.error = _arg6; this.permission = _arg7; this.hasPermission = _arg8; super(_arg1, _arg2, _arg3); } override public function toString():String{ return (formatToString("FacebookEvent", "type", "success", "data", "error")); } override public function clone():Event{ return (new FacebookEvent(type, bubbles, cancelable, success, data, error)); } } }//package com.facebook.events
Section 212
//FacebookCall (com.facebook.net.FacebookCall) package com.facebook.net { import flash.events.*; import com.facebook.events.*; import com.facebook.data.*; import com.facebook.errors.*; import flash.net.*; import com.facebook.session.*; import com.facebook.delegates.*; import com.facebook.*; public class FacebookCall extends EventDispatcher { public var method:String; public var success:Boolean;// = false public var args:URLVariables; public var delegate:IFacebookCallDelegate; public var error:FacebookError; public var useSession:Boolean;// = true public var session:IFacebookSession; public var result:FacebookData; public function FacebookCall(_arg1:String="no_method_required", _arg2:URLVariables=null){ this.method = _arg1; this.args = ((_arg2)!=null) ? _arg2 : new URLVariables(); } facebook_internal function handleError(_arg1:FacebookError):void{ this.error = _arg1; success = false; dispatchEvent(new FacebookEvent(FacebookEvent.COMPLETE, false, false, false, null, _arg1)); } facebook_internal function handleResult(_arg1:FacebookData):void{ this.result = _arg1; success = true; dispatchEvent(new FacebookEvent(FacebookEvent.COMPLETE, false, false, true, _arg1)); } facebook_internal function setRequestArgument(_arg1:String, _arg2:Object):void{ if ((((_arg2 is Number)) && (isNaN((_arg2 as Number))))){ return; }; if (((((_arg1) && (!((_arg2 == null))))) && ((String(_arg2).length > 0)))){ this.args[_arg1] = _arg2; }; } facebook_internal function clearRequestArguments():void{ this.args = new URLVariables(); } facebook_internal function initialize():void{ } protected function applySchema(_arg1:Array, ... _args):void{ var _local3:uint = _arg1.length; var _local4:uint; while (_local4 < _local3) { setRequestArgument(_arg1[_local4], _args[_local4]); _local4++; }; } } }//package com.facebook.net
Section 213
//IUploadPhoto (com.facebook.net.IUploadPhoto) package com.facebook.net { public interface IUploadPhoto { function set data(_arg1:Object):void; function set uploadType(_arg1:String):void; function get data():Object; function get uploadType():String; function set uploadQuality(_arg1:uint):void; function get uploadQuality():uint; } }//package com.facebook.net
Section 214
//IUploadVideo (com.facebook.net.IUploadVideo) package com.facebook.net { public interface IUploadVideo { function set title(_arg1:String):void; function get ext():String; function set ext(_arg1:String):void; function set description(_arg1:String):void; function get description():String; function get title():String; } }//package com.facebook.net
Section 215
//DesktopSession (com.facebook.session.DesktopSession) package com.facebook.session { import com.facebook.events.*; import com.facebook.data.*; import com.facebook.errors.*; import flash.net.*; import com.facebook.net.*; import com.facebook.delegates.*; import com.facebook.*; import com.facebook.commands.auth.*; import com.facebook.commands.users.*; import com.facebook.data.auth.*; public class DesktopSession extends WebSession implements IFacebookSession { protected var _auth_token:String; protected var loginRequest:IFacebookCallDelegate; protected var _waiting_for_login:Boolean;// = false protected var _offline_access:Boolean;// = false public function DesktopSession(_arg1:String, _arg2:String=null, _arg3:String=null){ super(_arg1, null); this._is_connected = false; this._secret = _arg2; if (_arg3){ this._session_key = _arg3; }; } override public function post(_arg1:FacebookCall):IFacebookCallDelegate{ rest_url = REST_URL; if ((_arg1 is IUploadPhoto)){ return (new WebImageUploadDelegate(_arg1, this)); }; if ((_arg1 is IUploadVideo)){ rest_url = VIDEO_URL; return (new VideoUploadDelegate(_arg1, this)); }; return (new DesktopDelegate(_arg1, this)); } override public function get waiting_for_login():Boolean{ return (_waiting_for_login); } protected function onLogin(_arg1:FacebookEvent):void{ var _local2:URLRequest; var _local3:String; _arg1.target.removeEventListener(FacebookEvent.COMPLETE, onLogin); if (_arg1.success){ _auth_token = (_arg1.data as StringResultData).value; _local2 = new URLRequest(); _local3 = "?"; if (_offline_access){ _local3 = (_local3 + "ext_perm=offline_access&"); }; _local2.url = (((((((login_url + _local3) + "api_key=") + api_key) + "&v=") + api_version) + "&auth_token=") + _auth_token); navigateToURL(_local2, "_blank"); _waiting_for_login = true; dispatchEvent(new FacebookEvent(FacebookEvent.WAITING_FOR_LOGIN)); } else { onConnectionError(_arg1.error); }; } protected function onConnectionError(_arg1:FacebookError):void{ _is_connected = false; dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, false, null, _arg1)); } protected function tokenCreated():void{ navigateToURL(new URLRequest(login_url)); } override public function login(_arg1:Boolean):void{ _offline_access = _arg1; _session_key = null; var _local2:FacebookCall = new CreateToken(); _local2.session = this; var _local3 = _local2; _local3.facebook_internal::initialize(); _local2.addEventListener(FacebookEvent.COMPLETE, onLogin); post(_local2); } protected function onVerifyLogin(_arg1:FacebookEvent):void{ var _local2:FacebookEvent = new FacebookEvent(FacebookEvent.CONNECT); _local2.success = _arg1.success; if (_arg1.success){ facebook_internal::_uid = (_arg1.data as StringResultData).value; _local2.data = _arg1.data; _is_connected = true; } else { _local2.error = _arg1.error; _is_connected = false; }; dispatchEvent(_local2); } override public function verifySession():void{ var _local1:FacebookCall; if (_session_key){ _local1 = new GetLoggedInUser(); _local1.session = this; var _local2 = _local1; _local2.facebook_internal::initialize(); _local1.addEventListener(FacebookEvent.COMPLETE, onVerifyLogin, false, 0, true); post(_local1); dispatchEvent(new FacebookEvent(FacebookEvent.VERIFYING_SESSION)); } else { _is_connected = false; dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT)); }; } protected function validateSessionReply(_arg1:FacebookEvent):void{ var _local2:GetSessionData; if (_arg1.success){ _local2 = (_arg1.data as GetSessionData); facebook_internal::_uid = _local2.uid; this._session_key = _local2.session_key; this._expires = _local2.expires; this._secret = ((((_local2.secret == null)) || ((_local2.secret == "")))) ? this._secret : _local2.secret; _is_connected = true; dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, true, _local2)); } else { onConnectionError(_arg1.error); }; } override public function refreshSession():void{ _waiting_for_login = false; var _local1:GetSession = new GetSession(_auth_token); _local1.session = this; var _local2 = _local1; _local2.facebook_internal::initialize(); _local1.addEventListener(FacebookEvent.COMPLETE, validateSessionReply); post(_local1); } } }//package com.facebook.session
Section 216
//IFacebookSession (com.facebook.session.IFacebookSession) package com.facebook.session { import flash.events.*; import com.facebook.net.*; import com.facebook.delegates.*; public interface IFacebookSession extends IEventDispatcher { function set secret(_arg1:String):void; function get waiting_for_login():Boolean; function refreshSession():void; function get rest_url():String; function post(_arg1:FacebookCall):IFacebookCallDelegate; function set rest_url(_arg1:String):void; function login(_arg1:Boolean):void; function set session_key(_arg1:String):void; function get secret():String; function get api_version():String; function get expires():Date; function get session_key():String; function get uid():String; function get api_key():String; function get is_connected():Boolean; function verifySession():void; } }//package com.facebook.session
Section 217
//JSSession (com.facebook.session.JSSession) package com.facebook.session { import flash.events.*; import com.facebook.events.*; import com.facebook.net.*; import com.facebook.delegates.*; import com.facebook.*; import com.facebook.commands.users.*; public class JSSession extends EventDispatcher implements IFacebookSession { public var _api_key:String; public var as_swf_name:String; protected var _session_key:String; public function JSSession(_arg1:String, _arg2:String){ this._api_key = _arg1; this.as_swf_name = _arg2; } public function get waiting_for_login():Boolean{ return (true); } public function get expires():Date{ return (null); } public function get rest_url():String{ return (null); } public function get session_key():String{ return (_session_key); } public function set rest_url(_arg1:String):void{ } public function refreshSession():void{ } protected function onVerifyLogin(_arg1:FacebookEvent):void{ if (_arg1.success){ dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, true)); } else { dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, false)); }; } public function get uid():String{ return (null); } public function get is_sessionless():Boolean{ return (true); } public function verifySession():void{ var _local1:FacebookCall = new GetLoggedInUser(); _local1.addEventListener(FacebookEvent.COMPLETE, onVerifyLogin); _local1.session = this; var _local2 = _local1; _local2.facebook_internal::initialize(); post(_local1); } public function set secret(_arg1:String):void{ } public function login(_arg1:Boolean):void{ } public function set session_key(_arg1:String):void{ _session_key = _arg1; } public function post(_arg1:FacebookCall):IFacebookCallDelegate{ return (new JSDelegate(_arg1, this)); } public function get secret():String{ return (null); } public function get api_version():String{ return ("1.0"); } public function get api_key():String{ return (_api_key); } public function get is_connected():Boolean{ return (true); } } }//package com.facebook.session
Section 218
//WebSession (com.facebook.session.WebSession) package com.facebook.session { import flash.events.*; import com.facebook.events.*; import com.facebook.net.*; import com.facebook.delegates.*; import com.facebook.*; public class WebSession extends EventDispatcher implements IFacebookSession { facebook_internal var _uid:String; protected var _is_connected:Boolean;// = false public var login_url:String;// = "http://www.facebook.com/login.php" protected var _secret:String; protected var _rest_url:String;// = "http://api.facebook.com/restserver.php" protected var _api_version:String;// = "1.0" protected var _expires:Date; protected var _session_key:String; protected var _api_key:String; public static const VIDEO_URL:String = "http://api-video.facebook.com/restserver.php"; public static const REST_URL:String = "http://api.facebook.com/restserver.php"; public function WebSession(_arg1:String, _arg2:String, _arg3:String=null){ this._api_key = _arg1; this._session_key = _arg3; this.secret = _arg2; } public function get waiting_for_login():Boolean{ return (false); } public function get rest_url():String{ return (_rest_url); } public function set rest_url(_arg1:String):void{ _rest_url = _arg1; } public function post(_arg1:FacebookCall):IFacebookCallDelegate{ rest_url = REST_URL; if ((_arg1 is IUploadPhoto)){ return (new WebImageUploadDelegate(_arg1, this)); }; if ((_arg1 is IUploadVideo)){ rest_url = VIDEO_URL; return (new VideoUploadDelegate(_arg1, this)); }; return (new WebDelegate(_arg1, this)); } public function get secret():String{ return (_secret); } public function get expires():Date{ return (_expires); } public function get api_key():String{ return (_api_key); } public function refreshSession():void{ } public function get session_key():String{ return (_session_key); } public function get uid():String{ return (facebook_internal::_uid); } public function get api_version():String{ return (this._api_version); } public function get is_connected():Boolean{ return (_is_connected); } public function set secret(_arg1:String):void{ _secret = _arg1; } public function verifySession():void{ if (_session_key){ _is_connected = true; dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, true)); } else { _is_connected = false; dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, false)); }; } public function set api_version(_arg1:String):void{ this._api_version = _arg1; } public function login(_arg1:Boolean):void{ } public function set session_key(_arg1:String):void{ _session_key = _arg1; } } }//package com.facebook.session
Section 219
//FacebookArrayCollection (com.facebook.utils.FacebookArrayCollection) package com.facebook.utils { import flash.events.*; import flash.utils.*; public class FacebookArrayCollection extends EventDispatcher { protected var _source:Array; protected var hash:Dictionary; protected var _type:Class; public function FacebookArrayCollection(_arg1:Array=null, _arg2:Class=null){ reset(); _type = _arg2; initilizeSource(_arg1); } protected function verifyIndex(_arg1:uint):void{ if (_source.length < _arg1){ throw (new RangeError((("Index: " + _arg1) + ", is out of range."))); }; } public function addItem(_arg1:Object):void{ addItemAt(_arg1, length); } public function get length():int{ return (_source.length); } public function addItemAt(_arg1:Object, _arg2:uint):void{ if (hash[_arg1] != null){ throw (new Error("Item already exists.")); }; if (((!((_type === null))) && (!((_arg1 is _type))))){ throw (new TypeError((("This collection requires " + _type) + " as the type."))); }; hash[_arg1] = true; _source.splice(_arg2, 0, _arg1); } public function indexOf(_arg1:Object):int{ return (_source.indexOf(_arg1)); } public function removeItemAt(_arg1:uint):void{ verifyIndex(_arg1); var _local2:Object = _source[_arg1]; delete hash[_local2]; _source.splice(_arg1, 1); } public function getItemAt(_arg1:uint):Object{ verifyIndex(_arg1); return (_source[_arg1]); } override public function toString():String{ return (_source.join(", ")); } public function reset():void{ hash = new Dictionary(true); _source = []; } protected function initilizeSource(_arg1:Array):void{ _source = []; if (_arg1 == null){ return; }; var _local2:uint = _arg1.length; var _local3:uint; while (_local3 < _local2) { addItem(_arg1[_local3]); _local3++; }; } public function findItemByProperty(_arg1:String, _arg2:Object, _arg3:Boolean=false):Object{ var _local4:Object; for (_local4 in hash) { if (((((_arg3) && ((_arg1 in _local4)))) && ((_local4[_arg1] === _arg2)))){ return (_local4); }; if (((((!(_arg3)) && ((_arg1 in _local4)))) && ((_local4[_arg1] == _arg2)))){ return (_local4); }; }; return (null); } public function get type():Class{ return (_type); } public function get source():Array{ return (_source); } public function toArray():Array{ var _local1:Array = []; var _local2:uint = length; var _local3:uint; while (_local3 < _local2) { _local1.push(getItemAt(_local3)); _local3++; }; return (_local1); } public function contains(_arg1:Object):Boolean{ return ((hash[_arg1] === true)); } } }//package com.facebook.utils
Section 220
//FacebookDataUtils (com.facebook.utils.FacebookDataUtils) package com.facebook.utils { import com.adobe.serialization.json.*; public class FacebookDataUtils { public static function toJSONValuesArray(_arg1:Array):String{ if (_arg1 == null){ return (null); }; var _local2:Array = []; var _local3:Number = _arg1.length; var _local4:Number = 0; while (_local4 < _local3) { _local2.push(JSON.encode(_arg1[_local4])); _local4++; }; return (_local2.join(",")); } public static function formatDate(_arg1:String):Date{ var _local4:Array; var _local5:Array; if ((((_arg1 == "")) || ((_arg1 == null)))){ return (null); }; var _local2:Date = new Date(); var _local3:Array = _arg1.split(" "); if (_local3.length == 2){ _local4 = _local3[0].split("-"); _local5 = _local3[1].split(":"); _local2.setFullYear(_local4[0]); _local2.setMonth((_local4[1] - 1)); _local2.setDate(_local4[2]); _local2.setHours(_local5[0]); _local2.setMinutes(_local5[1]); _local2.setSeconds(_local5[2]); } else { _local2.setTime((parseInt(_arg1) * 1000)); }; return (_local2); } public static function facebookCollectionToJSONArray(_arg1:FacebookArrayCollection):String{ if (_arg1 == null){ return (null); }; return (JSON.encode(_arg1.toArray())); } public static function toDateString(_arg1:Date):String{ if (_arg1 == null){ return (null); }; _arg1.setDate((_arg1.date + 1)); return (((_arg1 == null)) ? null : _arg1.getTime().toString().slice(0, 10)); } public static function supplantString(_arg1:String, _arg2:Object):String{ var _local4:String; var _local3:String = _arg1; for (_local4 in _arg2) { _local3 = _local3.replace(new RegExp((("\\{" + _local4) + "\\}"), "g"), _arg2[_local4]); }; return (_local3); } public static function toArrayString(_arg1:Array):String{ return (((_arg1 == null)) ? null : _arg1.join(",")); } } }//package com.facebook.utils
Section 221
//FacebookSessionUtil (com.facebook.utils.FacebookSessionUtil) package com.facebook.utils { import flash.events.*; import com.facebook.events.*; import flash.display.*; import flash.net.*; import com.facebook.session.*; import com.facebook.*; import flash.system.*; public class FacebookSessionUtil extends EventDispatcher { protected var loaderInfo:LoaderInfo; public var facebook:Facebook; protected var secret:String; protected var _activeSession:IFacebookSession; protected var session_key:String; protected var api_key:String; public function FacebookSessionUtil(_arg1:String, _arg2:String, _arg3:LoaderInfo){ this.secret = ((_arg2 == null)) ? _arg3.parameters.fb_sig_ss : _arg2; this.api_key = _arg1; this.loaderInfo = _arg3; var _local4:SharedObject = getStoredSession(); if (_local4.data.session_key){ session_key = _local4.data.session_key; }; var _local5:Object = ((_arg3)!=null) ? _arg3.parameters : {}; if (_local5.fb_sig_session_key != null){ session_key = _local5.fb_sig_session_key; }; if ((((_arg3.url.slice(0, 5) == "file:")) || ((Capabilities.playerType == "Desktop")))){ _activeSession = new DesktopSession(_arg1, this.secret); } else { if (((((_local5.fb_sig_ss) && (_local5.fb_sig_api_key))) && (_local5.fb_sig_session_key))){ _activeSession = new WebSession(_local5.fb_sig_api_key, _local5.fb_sig_ss, _local5.fb_sig_session_key); (_activeSession as WebSession).facebook_internal::_uid = _local5.fb_sig_user; } else { if (_local5.as_app_name){ _activeSession = new JSSession(_arg1, _local5.as_app_name); } else { _activeSession = new DesktopSession(_arg1, _arg2); }; }; }; _activeSession.session_key = session_key; _activeSession.addEventListener(FacebookEvent.VERIFYING_SESSION, onVerifyingSession); facebook = new Facebook(); facebook.addEventListener(FacebookEvent.WAITING_FOR_LOGIN, handleWaitingForLogin); facebook.addEventListener(FacebookEvent.CONNECT, onFacebookReady); facebook.startSession(_activeSession); } protected function getStoredSession():SharedObject{ return (SharedObject.getLocal((api_key + "_stored_session"))); } protected function handleWaitingForLogin(_arg1:FacebookEvent):void{ dispatchEvent(_arg1); } public function logout():void{ getStoredSession().clear(); getStoredSession().flush(); facebook.logout(); } protected function onFacebookReady(_arg1:FacebookEvent):void{ var _local2:SharedObject; if (facebook.session_key){ _local2 = getStoredSession(); _local2.data.session_key = facebook.session_key; _local2.data.stored_secret = facebook.secret; _local2.flush(3000); }; if (_arg1){ dispatchEvent(_arg1); }; } protected function onWaitingForLogin(_arg1:FacebookEvent):void{ dispatchEvent(_arg1); } public function validateLogin():void{ facebook.refreshSession(); } public function get activeSession():IFacebookSession{ return (_activeSession); } public function login(_arg1:Boolean=true):void{ facebook.login(_arg1); } public function onVerifyingSession(_arg1:FacebookEvent):void{ dispatchEvent(_arg1); } public function verifySession():void{ _activeSession.verifySession(); } protected function onVerifyLogin(_arg1:FacebookEvent):void{ _activeSession.removeEventListener(FacebookEvent.CONNECT, onVerifyLogin); if (_arg1.success){ onFacebookReady(null); dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, true)); } else { dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, false)); }; } } }//package com.facebook.utils
Section 222
//FacebookStreamXMLParser (com.facebook.utils.FacebookStreamXMLParser) package com.facebook.utils { import com.facebook.data.stream.*; public class FacebookStreamXMLParser { public static function createCommentsArray(_arg1:XMLList, _arg2:Namespace):Array{ var _local6:XML; var _local7:PostCommentData; var _local3:Array = []; var _local4:uint = _arg1.length(); var _local5:uint; while (_local5 < _local4) { _local6 = _arg1[_local5]; _local7 = new PostCommentData(); _local7.fromid = FacebookXMLParserUtils.toStringValue(_local6._arg2::fromid[0]); _local7.id = FacebookXMLParserUtils.toStringValue(_local6._arg2::id[0]); _local7.text = FacebookXMLParserUtils.toStringValue(_local6._arg2::text[0]); _local7.time = FacebookXMLParserUtils.toDate(_local6._arg2::time[0]); _local3.push(_local7); _local5++; }; return (_local3); } protected static function createMediaArray(_arg1:XML, _arg2:Namespace):Array{ var _local7:XML; var _local8:StreamMediaData; if (_arg1 == null){ return (null); }; var _local3:Array = []; var _local4:XMLList = _arg1.children(); var _local5:uint = _local4.length(); var _local6:uint; while (_local6 < _local5) { _local7 = _local4[_local6]; _local8 = new StreamMediaData(); _local8.type = FacebookXMLParserUtils.toStringValue(_local7._arg2::type[0]); _local8.alt = FacebookXMLParserUtils.toStringValue(_local7._arg2::alt[0]); _local8.href = FacebookXMLParserUtils.toStringValue(_local7._arg2::href[0]); _local8.src = FacebookXMLParserUtils.toStringValue(_local7._arg2::src[0]); _local8.video = createVideoMedia(_local7._arg2::video[0], _arg2); _local8.photo = createPhotoMedia(_local7._arg2::photo[0], _arg2); _local8.flash = createFlashMedia(_local7._arg2::swf[0], _arg2); _local8.music = createMusicMedia(_local7._arg2::music[0], _arg2); _local3.push(_local8); _local6++; }; return (_local3); } public static function createStreamFilterCollection(_arg1:XML, _arg2:Namespace):GetFiltersData{ var _local8:XML; var _local9:StreamFilterData; var _local3:GetFiltersData = new GetFiltersData(); var _local4:StreamFilterCollection = new StreamFilterCollection(); var _local5:XMLList = _arg1.._arg2::stream_filter; var _local6:uint = _local5.length(); var _local7:uint; while (_local7 < _local6) { _local8 = _local5[_local7]; _local9 = new StreamFilterData(); _local9.filter_key = FacebookXMLParserUtils.toStringValue(_local8._arg2::filter_key[0]); _local9.icon_url = FacebookXMLParserUtils.toStringValue(_local8._arg2::icon_url[0]); _local9.is_visible = FacebookXMLParserUtils.toBoolean(_local8._arg2::is_visible[0]); _local9.name = FacebookXMLParserUtils.toStringValue(_local8._arg2::name[0]); _local9.rank = FacebookXMLParserUtils.toNumber(_local8._arg2::rank[0]); _local9.type = FacebookXMLParserUtils.toStringValue(_local8._arg2::type[0]); _local9.uid = FacebookXMLParserUtils.toStringValue(_local8._arg2::uid[0]); _local9.value = FacebookXMLParserUtils.toStringValue(_local8._arg2::value[0]); _local4.addItem(_local9); _local7++; }; _local3.filters = _local4; return (_local3); } protected static function createVideoMedia(_arg1:XML, _arg2:Namespace):VideoMedia{ if (_arg1 == null){ return (null); }; var _local3:VideoMedia = new VideoMedia(); _local3.display_url = FacebookXMLParserUtils.toStringValue(_arg1._arg2::display_url[0]); _local3.owner = FacebookXMLParserUtils.toStringValue(_arg1._arg2::owner[0]); _local3.permalink = FacebookXMLParserUtils.toStringValue(_arg1._arg2::permalink[0]); _local3.source_url = FacebookXMLParserUtils.toStringValue(_arg1._arg2::source_url[0]); _local3.preview_img = FacebookXMLParserUtils.toStringValue(_arg1._arg2::preview_img[0]); return (_local3); } protected static function createFlashMedia(_arg1:XML, _arg2:Namespace):FlashMedia{ if (_arg1 == null){ return (null); }; var _local3:FlashMedia = new FlashMedia(); _local3.source_url = FacebookXMLParserUtils.toStringValue(_arg1._arg2::source_url[0]); _local3.preview_img = FacebookXMLParserUtils.toStringValue(_arg1._arg2::preview_img[0]); return (_local3); } public static function createGetCommentsData(_arg1:XML, _arg2:Namespace):GetCommentsData{ var _local3:XMLList = _arg1.._arg2::comment; var _local4:GetCommentsData = new GetCommentsData(); _local4.comments = createCommentsArray(_local3, _arg2); return (_local4); } protected static function createActionLinksArray(_arg1:XML, _arg2:Namespace):Array{ var _local7:XML; var _local8:ActionLinkData; if (_arg1 == null){ return (null); }; var _local3:Array = []; var _local4:XMLList = _arg1.children(); var _local5:uint = _local4.length(); var _local6:uint; while (_local6 < _local5) { _local7 = _local4[_local6]; _local8 = new ActionLinkData(); _local8.text = FacebookXMLParserUtils.toStringValue(_local7._arg2::text[0]); _local8.href = FacebookXMLParserUtils.toStringValue(_local7._arg2::href[0]); _local3.push(_local8); _local6++; }; return (_local3); } protected static function createMusicMedia(_arg1:XML, _arg2:Namespace):MusicMedia{ if (_arg1 == null){ return (null); }; var _local3:MusicMedia = new MusicMedia(); _local3.source_url = FacebookXMLParserUtils.toStringValue(_arg1._arg2::source_url[0]); _local3.artist = FacebookXMLParserUtils.toStringValue(_arg1._arg2::artist[0]); _local3.title = FacebookXMLParserUtils.toStringValue(_arg1._arg2::title[0]); return (_local3); } public static function createStream(_arg1:XML, _arg2:Namespace):GetStreamData{ var _local6:uint; var _local7:uint; var _local10:XML; var _local11:StreamStoryData; var _local12:XML; var _local13:AttachmentData; var _local14:LikesData; var _local15:XML; var _local16:XML; var _local17:ProfileData; var _local18:XML; var _local3:GetStreamData = new GetStreamData(); var _local4:StreamStoryCollection = new StreamStoryCollection(); var _local5:ProfileCollection = new ProfileCollection(); _local3.stories = _local4; _local3.profiles = _local5; var _local8:XMLList = _arg1._arg2::posts.children(); _local6 = _local8.length(); _local7 = 0; while (_local7 < _local6) { _local10 = _local8[_local7]; _local11 = new StreamStoryData(); _local11.sourceXML = _local10; _local12 = _local10._arg2::attachment[0]; _local13 = new AttachmentData(); _local13.name = FacebookXMLParserUtils.toStringValue(_local12._arg2::name[0]); _local13.text = FacebookXMLParserUtils.toStringValue(_local12._arg2::text[0]); _local13.body = FacebookXMLParserUtils.toStringValue(_local12._arg2::body[0]); _local13.icon = FacebookXMLParserUtils.toStringValue(_local12._arg2::icon[0]); _local13.label = FacebookXMLParserUtils.toStringValue(_local12._arg2::label[0]); _local13.media = createMediaArray(_local12._arg2::media[0], _arg2); _local13.title = FacebookXMLParserUtils.toStringValue(_local12._arg2::title[0]); _local13.href = FacebookXMLParserUtils.toStringValue(_local12._arg2::href[0]); _local13.caption = FacebookXMLParserUtils.toStringValue(_local12._arg2::caption[0]); _local13.description = FacebookXMLParserUtils.toStringValue(_local12._arg2::description[0]); _local13.properties = FacebookXMLParserUtils.xmlListToObjectArray(_local12.._arg2::stream_property); _local11.attachment = _local13; _local11.actor_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::actor_id[0]); _local11.comments = createComments(_local10._arg2::comments[0], _arg2); _local14 = new LikesData(); _local15 = _local10._arg2::likes[0]; _local14.can_like = FacebookXMLParserUtils.toBoolean(_local15._arg2::can_like[0]); _local14.user_likes = FacebookXMLParserUtils.toBoolean(_local15._arg2::user_likes[0]); _local14.count = FacebookXMLParserUtils.toNumber(_local15._arg2::count[0]); _local14.friends = FacebookXMLParserUtils.toUIDArray(_local15._arg2::friends[0]); _local14.sample = FacebookXMLParserUtils.toUIDArray(_local15._arg2::sample[0]); _local14.href = FacebookXMLParserUtils.toStringValue(_local15._arg2::href[0]); _local11.likes = _local14; _local11.attribution = FacebookXMLParserUtils.toStringValue(_local10._arg2::attribution[0]); _local11.app_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::app_id[0]); _local11.metadata = FacebookXMLParserUtils.nodeToObject(_local10._arg2::metadata); _local11.message = FacebookXMLParserUtils.toStringValue(_local10._arg2::message[0]); _local11.source_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::source_id[0]); _local11.target_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::target_id[0]); _local11.post_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::post_id[0]); _local11.updated_time = FacebookXMLParserUtils.toDate(_local10._arg2::updated_time[0]); _local11.created_time = FacebookXMLParserUtils.toDate(_local10._arg2::created_time[0]); _local11.type = FacebookXMLParserUtils.toNumber(_local10._arg2::type[0]); _local11.viewer_id = FacebookXMLParserUtils.toStringValue(_local10._arg2::viewer_id[0]); _local16 = _local10._arg2::privacy[0]; _local11.privacy = FacebookXMLParserUtils.toStringValue(_local16._arg2::value[0]); _local11.filter_key = FacebookXMLParserUtils.toStringValue(_local10._arg2::filter_key[0]); _local11.permalink = FacebookXMLParserUtils.toStringValue(_local10._arg2::permalink[0]); _local11.is_hidden = FacebookXMLParserUtils.toBoolean(_local10._arg2::is_hidden[0]); _local11.action_links = createActionLinksArray(_local10._arg2::action_links[0], _arg2); _local4.addItem(_local11); _local7++; }; var _local9:XMLList = _arg1._arg2::profiles.children(); _local6 = _local9.length(); _local7 = 0; while (_local7 < _local6) { _local17 = new ProfileData(); _local18 = _local9[_local7]; _local17.id = FacebookXMLParserUtils.toStringValue(_local18._arg2::id[0]); _local17.name = FacebookXMLParserUtils.toStringValue(_local18._arg2::name[0]); _local17.pic_square = FacebookXMLParserUtils.toStringValue(_local18._arg2::pic_square[0]); _local17.url = FacebookXMLParserUtils.toStringValue(_local18._arg2::url[0]); _local5.addItem(_local17); _local7++; }; _local3.albums = FacebookXMLParserUtils.createAlbumCollection(_arg1._arg2::albums[0], _arg2); return (_local3); } protected static function createPhotoMedia(_arg1:XML, _arg2:Namespace):PhotoMedia{ if (_arg1 == null){ return (null); }; var _local3:PhotoMedia = new PhotoMedia(); _local3.aid = FacebookXMLParserUtils.toStringValue(_arg1._arg2::aid[0]); _local3.index = FacebookXMLParserUtils.toNumber(_arg1._arg2::index[0]); _local3.owner = FacebookXMLParserUtils.toStringValue(_arg1._arg2::owner[0]); _local3.pid = FacebookXMLParserUtils.toStringValue(_arg1._arg2::pid[0]); return (_local3); } protected static function createComments(_arg1:XML, _arg2:Namespace):CommentsData{ var _local3:CommentsData = new CommentsData(); _local3.can_remove = FacebookXMLParserUtils.toBoolean(_arg1._arg2::can_remove[0]); _local3.can_post = FacebookXMLParserUtils.toBoolean(_arg1._arg2::can_post[0]); _local3.count = FacebookXMLParserUtils.toNumber(_arg1._arg2::count[0]); var _local4:XMLList = _arg1._arg2::comment_list.children(); _local3.posts = createCommentsArray(_local4, _arg2); return (_local3); } } }//package com.facebook.utils
Section 223
//FacebookUserXMLParser (com.facebook.utils.FacebookUserXMLParser) package com.facebook.utils { import com.facebook.data.*; import com.facebook.data.users.*; public class FacebookUserXMLParser { protected static function parseWorkHistory(_arg1:XML, _arg2:Namespace):Array{ var _local5:Object; var _local6:FacebookWorkInfo; var _local3:Array = []; var _local4:XMLList = _arg1.children(); for each (_local5 in _local4) { _local6 = new FacebookWorkInfo(); _local6.location = FacebookXMLParserUtils.createLocation(_local5._arg2::location[0], _arg2); _local6.company_name = String(_local5._arg2::company_name); _local6.description = String(_local5._arg2::description); _local6.position = String(_local5._arg2::position); _local6.start_date = FacebookDataUtils.formatDate(_local5._arg2::start_date); _local6.end_date = FacebookDataUtils.formatDate(_local5._arg2::end_date); _local3.push(_local6); }; return (_local3); } protected static function createStatus(_arg1:XML, _arg2:Namespace):StatusData{ var _local3:StatusData = new StatusData(); _local3.message = String(_arg1._arg2::message); _local3.time = FacebookDataUtils.formatDate(String(_arg1._arg2::time)); return (_local3); } protected static function parseEducationHistory(_arg1:XML, _arg2:Namespace):Array{ var _local5:Object; var _local6:FacebookEducationInfo; var _local7:XML; var _local3:Array = []; var _local4:XMLList = _arg1.children(); for each (_local5 in _local4) { _local6 = new FacebookEducationInfo(); _local6.name = String(_local5._arg2::name); _local6.year = String(_local5._arg2::year); _local6.degree = String(_local5._arg2::degree); _local6.concentrations = []; for each (_local7 in _local5.concentration) { _local6.concentrations.push(_local7); }; _local3.push(_local6); }; return (_local3); } public static function createFacebookUser(_arg1:XML, _arg2:Namespace):FacebookUser{ var _local6:XML; var _local7:String; var _local3:FacebookUser = new FacebookUser(); var _local4:XMLList = _arg1.children(); var _local5:uint = _local4.length(); var _local8:uint; while (_local8 < _local5) { _local6 = _local4[_local8]; _local7 = _local6.localName().toString(); switch (_local7){ case "status": _local3[_local7] = createStatus(_local6, _arg2); break; case "affiliations": _local3[_local7] = createAffiliations(_local6.children(), _arg2); break; case "hometown_location": case "current_location": _local3[_local7] = FacebookXMLParserUtils.createLocation(_local6, _arg2); break; case "profile_update_time": _local3[_local7] = FacebookDataUtils.formatDate(_local6.toString()); break; case "hs_info": _local3.hs1_id = parseInt(_local6._arg2::hs1_id); _local3.hs1_name = String(_local6._arg2::hs1_name); _local3.hs2_id = parseInt(_local6._arg2::hs2_id); _local3.hs2_name = String(_local6._arg2::hs2_name); _local3.grad_year = String(_local6._arg2::grad_year); break; case "education_history": _local3[_local7] = parseEducationHistory(_local6, _arg2); break; case "work_history": _local3[_local7] = parseWorkHistory(_local6, _arg2); break; case "timezone": case "notes_count": case "wall_count": _local3[_local7] = Number(_local6.toString()); break; case "has_added_app": case "is_app_user": _local3[_local7] = FacebookXMLParserUtils.toBoolean(_local6); break; case "meeting_sex": case "meeting_for": case "email_hashes": _local3[_local7] = toArray(_local6, _arg2); break; default: if ((_local7 in _local3)){ _local3[_local7] = String(_local6); }; }; _local8++; }; return (_local3); } protected static function toArray(_arg1:XML, _arg2:Namespace):Array{ var _local3:Array = []; var _local4:XMLList = _arg1.children(); var _local5:uint = _local4.length(); var _local6:uint; while (_local6 < _local5) { _local3.push(_local4[_local6].toString()); _local6++; }; return (_local3); } protected static function createAffiliations(_arg1:XMLList, _arg2:Namespace):Array{ var _local4:*; var _local5:FacebookNetwork; var _local3:Array = []; for each (_local4 in _arg1) { _local5 = new FacebookNetwork(); _local5.nid = parseInt(_local4._arg2::nid); _local5.name = String(_local4._arg2::name); _local5.type = String(_local4._arg2::type); _local5.status = String(_local4._arg2::status); _local5.year = String(_local4._arg2::year); _local3.push(_local5); }; return (_local3); } } }//package com.facebook.utils
Section 224
//FacebookXMLParserUtils (com.facebook.utils.FacebookXMLParserUtils) package com.facebook.utils { import com.facebook.data.*; import flash.net.*; import com.facebook.data.photos.*; public class FacebookXMLParserUtils { public static function createAlbumCollection(_arg1:XML, _arg2:Namespace):AlbumCollection{ var _local4:*; var _local5:AlbumData; var _local3:AlbumCollection = new AlbumCollection(); for each (_local4 in _arg1.._arg2::album) { _local5 = new AlbumData(); _local5.aid = FacebookXMLParserUtils.toStringValue(_local4._arg2::aid[0]); _local5.cover_pid = FacebookXMLParserUtils.toStringValue(_local4._arg2::cover_pid[0]); _local5.owner = _local4._arg2::owner; _local5.name = _local4._arg2::name; _local5.created = FacebookXMLParserUtils.toDate(_local4._arg2::created); _local5.modified = FacebookXMLParserUtils.toDate(_local4._arg2::modified); _local5.description = _local4._arg2::description; _local5.location = _local4._arg2::location; _local5.link = _local4._arg2::link; _local5.size = _local4._arg2::size; _local5.visible = _local4._arg2::visible; _local5.modified_major = FacebookXMLParserUtils.toDate(_local4._arg2::modified_major); _local5.edit_link = _local4._arg2::edit_link; _local5.type = _local4._arg2::type; _local3.addAlbum(_local5); }; return (_local3); } public static function toNumber(_arg1:XML):Number{ if (_arg1 == null){ return (NaN); }; return (Number(_arg1.toString())); } public static function toStringValue(_arg1:XML):String{ if (_arg1 == null){ return (null); }; return (_arg1.toString()); } public static function toDate(_arg1:String):Date{ if (_arg1 == null){ return (null); }; var _local2:String = _arg1; while (_local2.length < 13) { _local2 = (_local2 + "0"); }; var _local3:Date = new Date(Number(_local2)); return (_local3); } public static function xmlListToObjectArray(_arg1:XMLList):Array{ var _local2:Array = []; if (_arg1 == null){ return (_local2); }; var _local3:uint = _arg1.length(); var _local4:uint; while (_local4 < _local3) { _local2.push(xmlToObject(_arg1[_local4])); _local4++; }; return (_local2); } public static function toUIDArray(_arg1:XML):Array{ var _local2:Array = []; if (_arg1 == null){ return (_local2); }; var _local3:XMLList = _arg1.children(); var _local4:uint = _local3.length(); var _local5:uint; while (_local5 < _local4) { _local2.push(toNumber(_local3[_local5])); _local5++; }; return (_local2); } public static function toBoolean(_arg1:XML):Boolean{ if (_arg1 == null){ return (false); }; return ((_arg1.toString() == "1")); } public static function createLocation(_arg1:XML, _arg2:Namespace):FacebookLocation{ var _local3:FacebookLocation = new FacebookLocation(); if (_arg1 == null){ return (_local3); }; _local3.city = String(_arg1._arg2::city); _local3.state = String(_arg1._arg2::state); _local3.country = String(_arg1._arg2::country); _local3.zip = String(_arg1._arg2::zip); _local3.street = String(_arg1._arg2::street); return (_local3); } public static function xmlToObject(_arg1:XML):Object{ var _local6:XML; var _local2:Object = {}; var _local3:XMLList = _arg1.children(); var _local4:uint = _local3.length(); var _local5:uint; while (_local5 < _local4) { _local6 = _local3[_local5]; _local2[_local6.localName()] = _local6.toString(); _local5++; }; return (_local2); } public static function xmlToUrlVariables(_arg1:XMLList):URLVariables{ var _local3:XML; var _local2:URLVariables = new URLVariables(); for each (_local3 in _arg1) { _local2[_local3.key.valueOf()] = _local3.value.valueOf(); }; return (_local2); } public static function nodeToObject(_arg1:XMLList):Object{ var _local3:XML; var _local2:Object = {}; for each (_local3 in _arg1) { _local2[_local3.key.valueOf()] = _local3.value.valueOf(); }; return (_local2); } public static function toArray(_arg1:XML):Array{ if (_arg1 == null){ return (null); }; return (_arg1.toString().split(",")); } } }//package com.facebook.utils
Section 225
//IFacebookResultParser (com.facebook.utils.IFacebookResultParser) package com.facebook.utils { import com.facebook.data.*; import com.facebook.errors.*; public interface IFacebookResultParser { function parse(_arg1:String, _arg2:String):FacebookData; function validateFacebookResponce(_arg1:String):FacebookError; } }//package com.facebook.utils
Section 226
//JavascriptRequestHelper (com.facebook.utils.JavascriptRequestHelper) package com.facebook.utils { import flash.net.*; import flash.utils.*; public class JavascriptRequestHelper { public static function objectToString(_arg1:Object):String{ var _local3:String; var _local2:Array = []; for (_local3 in _arg1) { _local2.push((((_local3 + ": ") + quote(_arg1[_local3])) + "")); }; return ((("{" + _local2.join(", ")) + " }")); } public static function quote(_arg1:String):String{ var _local2:RegExp = /[\\"\r\n]/g; return ((("\"" + _arg1.replace(_local2, _quote)) + "\"")); } public static function formatParams(_arg1:Array):String{ var _local5:Object; var _local6:String; var _local2:Array = []; var _local3:uint = _arg1.length; var _local4:uint; while (_local4 < _local3) { _local5 = _arg1[_local4]; _local6 = getQualifiedClassName(_local5); switch (_local6){ case "Array": _local5 = (("[" + _local5.join(", ")) + "]"); break; case "Object": _local5 = objectToString(_local5); break; case "String": default: _local5 = (("\"" + _local5) + "\""); break; }; _local2.push(_local5); _local4++; }; return (_local2.join(", ")); } protected static function _quote(_arg1:String, ... _args):String{ switch (_arg1){ case "\\": return ("\\\\"); case "\r": return ("\\r"); case "\n": return ("\\n"); case "\"": return ("\\\""); }; return (null); } public static function formatURLVariables(_arg1:URLVariables):String{ var _local5:String; var _local2:Object = {method:true, sig:true, api_key:true, call_id:true}; var _local3:Boolean; var _local4:Object = {}; for (_local5 in _arg1) { if (_local2[_local5]){ } else { _local3 = true; _local4[_local5] = _arg1[_local5]; }; }; return ((_local3) ? objectToString(_local4) : "null"); } } }//package com.facebook.utils
Section 227
//PlayerUtils (com.facebook.utils.PlayerUtils) package com.facebook.utils { import flash.system.*; public class PlayerUtils { protected static var versionObj:Object; public static function get internalBuildNumber():Number{ return (parseVersionString().internalBuildNumber); } public static function get platform():String{ return (parseVersionString().platform); } public static function get buildNumber():Number{ return (parseVersionString().buildNumber); } public static function get minorVersion():Number{ return (parseVersionString().minorVersion); } public static function parseVersionString():Object{ if (versionObj != null){ return (versionObj); }; var _local1:String = Capabilities.version; versionObj = {}; var _local2:Array = _local1.split(" "); versionObj.platform = _local2[0]; _local2.shift(); _local2 = _local2[0].split(","); versionObj.majorVersion = Number(_local2[0]); versionObj.minorVersion = Number(_local2[1]); versionObj.buildNumber = Number(_local2[2]); versionObj.internalBuildNumber = Number(_local2[3]); return (versionObj); } public static function get majorVersion():Number{ return (parseVersionString().majorVersion); } } }//package com.facebook.utils
Section 228
//PostRequest (com.facebook.utils.PostRequest) package com.facebook.utils { import flash.utils.*; public class PostRequest { protected var _boundary:String;// = "-----" protected var postData:ByteArray; public function PostRequest(){ createPostData(); } public function getPostData():ByteArray{ postData.position = 0; return (postData); } protected function writeBoundary():void{ writeDoubleDash(); var _local1:Number = 0; while (_local1 < boundary.length) { postData.writeByte(boundary.charCodeAt(_local1)); _local1++; }; } protected function writeDoubleDash():void{ postData.writeShort(0x2D2D); } public function writeFileData(_arg1:String, _arg2:ByteArray, _arg3:String):void{ var _local4:String; writeBoundary(); writeLineBreak(); _local4 = "Content-Disposition: form-data; filename=\""; var _local5:Number = 0; while (_local5 < _local4.length) { postData.writeByte(_local4.charCodeAt(_local5)); _local5++; }; postData.writeUTFBytes(_arg1); writeQuotationMark(); writeLineBreak(); _local4 = _arg3; _local5 = 0; while (_local5 < _local4.length) { postData.writeByte(_local4.charCodeAt(_local5)); _local5++; }; writeLineBreak(); writeLineBreak(); _arg2.position = 0; postData.writeBytes(_arg2, 0, _arg2.length); writeLineBreak(); } public function createPostData():void{ postData = new ByteArray(); postData.endian = Endian.BIG_ENDIAN; } public function writePostData(_arg1:String, _arg2:String):void{ var _local3:String; writeBoundary(); writeLineBreak(); _local3 = (("Content-Disposition: form-data; name=\"" + _arg1) + "\""); var _local4:uint = _local3.length; var _local5:Number = 0; while (_local5 < _local4) { postData.writeByte(_local3.charCodeAt(_local5)); _local5++; }; writeLineBreak(); writeLineBreak(); postData.writeUTFBytes(_arg2); writeLineBreak(); } public function get boundary():String{ return (_boundary); } protected function writeLineBreak():void{ postData.writeShort(3338); } public function close():void{ writeBoundary(); writeDoubleDash(); } protected function writeQuotationMark():void{ postData.writeByte(34); } public function set boundary(_arg1:String):void{ _boundary = _arg1; } } }//package com.facebook.utils
Section 229
//Facebook (com.facebook.Facebook) package com.facebook { import flash.events.*; import com.facebook.events.*; import flash.net.*; import com.facebook.session.*; import com.facebook.net.*; import com.facebook.delegates.*; import com.facebook.commands.auth.*; public class Facebook extends EventDispatcher { public var waiting_for_login:Boolean; protected var _currentSession:IFacebookSession; public var connectionErrorMessage:String; public function Facebook():void{ } public function post(_arg1:FacebookCall):FacebookCall{ var _local2:IFacebookCallDelegate; if (_currentSession){ _arg1.session = _currentSession; _arg1.initialize(); _local2 = _currentSession.post(_arg1); _arg1.delegate = _local2; } else { throw (new Error("Cannot post a call; no session has been set.")); }; return (_arg1); } public function startSession(_arg1:IFacebookSession):void{ _currentSession = _arg1; if (_currentSession.is_connected){ dispatchEvent(new FacebookEvent(FacebookEvent.CONNECT, false, false, true)); } else { _currentSession.addEventListener(FacebookEvent.CONNECT, onSessionConnected); _currentSession.addEventListener(FacebookEvent.WAITING_FOR_LOGIN, onWaitingForLogin); }; } public function grantExtendedPermission(_arg1:String):void{ navigateToURL(new URLRequest(((((("http://www.facebook.com/authorize.php?api_key=" + api_key) + "&v=") + api_version) + "&ext_perm=") + _arg1)), "_blank"); } public function refreshSession():void{ _currentSession.refreshSession(); } public function logout():void{ var _local1:ExpireSession = new ExpireSession(); _local1.addEventListener(FacebookEvent.COMPLETE, onLoggedOut, false, 0, true); post(_local1); } public function get api_version():String{ return ((_currentSession) ? this._currentSession.api_version : null); } protected function onLoggedOut(_arg1:FacebookEvent):void{ if (_arg1.success == true){ _currentSession.session_key = null; }; dispatchEvent(new FacebookEvent(FacebookEvent.LOGOUT, false, false, _arg1.success, _arg1.data, _arg1.error)); } protected function onWaitingForLogin(_arg1:FacebookEvent):void{ waiting_for_login = true; dispatchEvent(new FacebookEvent(FacebookEvent.WAITING_FOR_LOGIN)); } public function login(_arg1:Boolean):void{ _currentSession.login(_arg1); } public function get secret():String{ return ((_currentSession) ? this._currentSession.secret : null); } public function grantPermission(_arg1:Boolean):void{ var _local2:String = ((("http://www.facebook.com/login.php?return_session=" + (_arg1) ? 1 : 0) + "&api_key=") + api_key); navigateToURL(new URLRequest(_local2), "_blank"); } public function get is_connected():Boolean{ return ((_currentSession) ? this._currentSession.is_connected : false); } public function get session_key():String{ return ((_currentSession) ? this._currentSession.session_key : null); } public function get uid():String{ return ((_currentSession) ? this._currentSession.uid : null); } protected function onSessionConnected(_arg1:FacebookEvent):void{ var _local2:IFacebookSession = (_arg1.target as IFacebookSession); dispatchEvent(_arg1); } public function get api_key():String{ return ((_currentSession) ? this._currentSession.api_key : null); } public function get expires():Date{ return ((_currentSession) ? this._currentSession.expires : new Date()); } } }//package com.facebook
Section 230
//facebook_internal (com.facebook.facebook_internal) package com.facebook { public namespace facebook_internal = "http://api.facebook.com/1.0/"; }//package com.facebook
Section 231
//RC4 (com.meychi.ascrypt.RC4) package com.meychi.ascrypt { public class RC4 { private static var mykey:Array = new Array(0xFF); private static var sbox:Array = new Array(0xFF); private static function charsToHex(_arg1:Array):String{ var _local2:String = new String(""); var _local3:Array = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"); var _local4:Number = 0; while (_local4 < _arg1.length) { _local2 = (_local2 + (_local3[(_arg1[_local4] >> 4)] + _local3[(_arg1[_local4] & 15)])); _local4++; }; return (_local2); } public static function encrypt(_arg1:String, _arg2:String):String{ var _local3:Array = strToChars(_arg1); var _local4:Array = strToChars(_arg2); var _local5:Array = calculate(_local3, _local4); return (charsToHex(_local5)); } private static function hexToChars(_arg1:String):Array{ var _local2:Array = new Array(); var _local3:Number = ((_arg1.substr(0, 2))=="0x") ? 2 : 0; while (_local3 < _arg1.length) { _local2.push(parseInt(_arg1.substr(_local3, 2), 16)); _local3 = (_local3 + 2); }; return (_local2); } public static function decrypt(_arg1:String, _arg2:String):String{ var _local3:Array = hexToChars(_arg1); var _local4:Array = strToChars(_arg2); var _local5:Array = calculate(_local3, _local4); return (charsToStr(_local5)); } private static function strToChars(_arg1:String):Array{ var _local2:Array = new Array(); var _local3:Number = 0; while (_local3 < _arg1.length) { _local2.push(_arg1.charCodeAt(_local3)); _local3++; }; return (_local2); } private static function calculate(_arg1:Array, _arg2:Array):Array{ var _local6:Number; var _local7:Number; var _local8:Number; var _local10:Number; initialize(_arg2); var _local3:Number = 0; var _local4:Number = 0; var _local5:Array = new Array(); var _local9:Number = 0; while (_local9 < _arg1.length) { _local3 = ((_local3 + 1) % 0x0100); _local4 = ((_local4 + sbox[_local3]) % 0x0100); _local7 = sbox[_local3]; sbox[_local3] = sbox[_local4]; sbox[_local4] = _local7; _local10 = ((sbox[_local3] + sbox[_local4]) % 0x0100); _local6 = sbox[_local10]; _local8 = (_arg1[_local9] ^ _local6); _local5.push(_local8); _local9++; }; return (_local5); } private static function initialize(_arg1:Array):void{ var _local3:Number; var _local2:Number = 0; var _local4:Number = _arg1.length; var _local5:Number = 0; while (_local5 <= 0xFF) { mykey[_local5] = _arg1[(_local5 % _local4)]; sbox[_local5] = _local5; _local5++; }; _local5 = 0; while (_local5 <= 0xFF) { _local2 = (((_local2 + sbox[_local5]) + mykey[_local5]) % 0x0100); _local3 = sbox[_local5]; sbox[_local5] = sbox[_local2]; sbox[_local2] = _local3; _local5++; }; } private static function charsToStr(_arg1:Array):String{ var _local2:String = new String(""); var _local3:Number = 0; while (_local3 < _arg1.length) { _local2 = (_local2 + String.fromCharCode(_arg1[_local3])); _local3++; }; return (_local2); } } }//package com.meychi.ascrypt
Section 232
//AdLoader (CPMStar.AdLoader) package CPMStar { import flash.events.*; import flash.display.*; import flash.system.*; import flash.net.*; public class AdLoader extends Sprite { private var cpmstarLoader:Loader; private var contentspotid:String; public function AdLoader(_arg1:String){ this.contentspotid = _arg1; addEventListener(Event.ADDED, addedHandler); } private function dispatchHandler(_arg1:Event):void{ dispatchEvent(_arg1); } private function addedHandler(_arg1:Event):void{ removeEventListener(Event.ADDED, addedHandler); Security.allowDomain("server.cpmstar.com"); var _local2 = "http://server.cpmstar.com/adviewas3.swf"; var _local3:DisplayObjectContainer = parent; cpmstarLoader = new Loader(); cpmstarLoader.contentLoaderInfo.addEventListener(Event.INIT, dispatchHandler); cpmstarLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dispatchHandler); cpmstarLoader.load(new URLRequest(((_local2 + "?contentspotid=") + contentspotid))); addChild(cpmstarLoader); } } }//package CPMStar
Section 233
//Back (gs.easing.Back) package gs.easing { public class Back { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 1)) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{ _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_arg5 + 1) * _arg1) - _arg5)) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _arg5 = (_arg5 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) - _arg5))) + _arg2)); }; _arg1 = (_arg1 - 2); _arg5 = (_arg5 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 2)) + _arg2)); } } }//package gs.easing
Section 234
//Bounce (gs.easing.Bounce) package gs.easing { public class Bounce { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); if (_arg1 < (1 / 2.75)){ return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2)); }; if (_arg1 < (2 / 2.75)){ _arg1 = (_arg1 - (1.5 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2)); }; if (_arg1 < (2.5 / 2.75)){ _arg1 = (_arg1 - (2.25 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2)); }; _arg1 = (_arg1 - (2.625 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (((_arg3 - easeOut((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ if (_arg1 < (_arg4 / 2)){ return (((easeIn((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2)); }; return ((((easeOut(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2)); } } }//package gs.easing
Section 235
//TweenLite (gs.TweenLite) package gs { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.geom.*; public class TweenLite { public var started:Boolean; public var delay:Number; protected var _hasUpdate:Boolean; protected var _subTweens:Array; public var initted:Boolean; public var active:Boolean; public var startTime:Number; public var target:Object; public var duration:Number; protected var _hst:Boolean; public var gc:Boolean; protected var _isDisplayObject:Boolean; public var tweens:Array; public var vars:Object; public var ease:Function; protected var _specialVars:Object; public var initTime:Number; public var combinedTimeScale:Number; private static var _timer:Timer = new Timer(2000); private static var _classInitted:Boolean; public static var defaultEase:Function = TweenLite.easeOut; public static var version:Number = 9.291; public static var masterList:Dictionary = new Dictionary(false); public static var currentTime:uint; public static var overwriteManager:Object; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; public static var timingSprite:Sprite = new Sprite(); public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){ if (_arg1 == null){ return; }; if (!_classInitted){ currentTime = getTimer(); timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true); if (overwriteManager == null){ overwriteManager = {mode:1, enabled:false}; }; _timer.addEventListener("timer", killGarbage, false, 0, true); _timer.start(); _classInitted = true; }; this.vars = _arg3; this.duration = ((_arg2) || (0.001)); this.delay = ((_arg3.delay) || (0)); this.combinedTimeScale = ((_arg3.timeScale) || (1)); this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0)))); this.target = _arg1; _isDisplayObject = Boolean((_arg1 is DisplayObject)); if (!(this.vars.ease is Function)){ this.vars.ease = defaultEase; }; if (this.vars.easeParams != null){ this.vars.proxiedEase = this.vars.ease; this.vars.ease = easeProxy; }; this.ease = this.vars.ease; if (!isNaN(Number(this.vars.autoAlpha))){ this.vars.alpha = Number(this.vars.autoAlpha); this.vars.visible = Boolean((this.vars.alpha > 0)); }; _specialVars = ((this.vars.isTV)==true) ? this.vars.exposedProps : this.vars; this.tweens = []; _subTweens = []; _hst = (this.initted = false); this.initTime = currentTime; this.startTime = (this.initTime + (this.delay * 1000)); var _local4:int = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite); if ((((masterList[_arg1] == undefined)) || (((!((_arg1 == null))) && ((_local4 == 1)))))){ masterList[_arg1] = []; }; masterList[_arg1].push(this); if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){ initTweenVals(); if (this.active){ render((this.startTime + 1)); } else { render(this.startTime); }; if (((((!((_specialVars.visible == null))) && ((this.vars.runBackwards == true)))) && (_isDisplayObject))){ this.target.visible = _specialVars.visible; }; }; } public function get enabled():Boolean{ return ((this.gc) ? false : true); } public function render(_arg1:uint):void{ var _local3:Number; var _local4:Object; var _local5:int; var _local2:Number = ((_arg1 - this.startTime) * 0.001); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { _local3 = this.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4[0][_local4[1]] = (_local4[2] + (_local3 * _local4[3])); _local5--; }; if (_hst){ _local5 = (_subTweens.length - 1); while (_local5 > -1) { _subTweens[_local5].proxy(_subTweens[_local5], _local2); _local5--; }; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } public function set enabled(_arg1:Boolean):void{ var _local2:Array; var _local3:Boolean; var _local4:int; if (_arg1){ if (masterList[this.target] == undefined){ masterList[this.target] = [this]; } else { _local2 = masterList[this.target]; _local4 = (_local2.length - 1); while (_local4 > -1) { if (_local2[_local4] == this){ _local3 = true; break; }; _local4--; }; if (!_local3){ masterList[this.target].push(this); }; }; }; this.gc = (_arg1) ? false : true; if (this.gc){ this.active = false; } else { this.active = this.started; }; } public function activate():void{ this.started = (this.active = true); if (!this.initted){ initTweenVals(); }; if (this.vars.onStart != null){ this.vars.onStart.apply(null, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; } public function clear():void{ this.tweens = []; _subTweens = []; this.vars = {}; _hst = (_hasUpdate = false); } protected function addSubTween(_arg1:String, _arg2:Function, _arg3:Object, _arg4:Object, _arg5:Object=null):void{ var _local6:String; _subTweens[_subTweens.length] = {name:_arg1, proxy:_arg2, target:_arg3, info:_arg5}; for (_local6 in _arg4) { if (typeof(_arg4[_local6]) == "number"){ this.tweens[this.tweens.length] = [_arg3, _local6, _arg3[_local6], (_arg4[_local6] - _arg3[_local6]), _arg1]; } else { this.tweens[this.tweens.length] = [_arg3, _local6, _arg3[_local6], Number(_arg4[_local6]), _arg1]; }; }; _hst = true; } public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{ var _local3:String; var _local4:int; var _local5:Array; var _local6:ColorTransform; var _local7:ColorTransform; var _local8:Object; if (((!(_arg1)) && (overwriteManager.enabled))){ overwriteManager.manageOverwrites(this, masterList[this.target]); }; if ((this.target is Array)){ _local5 = ((this.vars.endArray) || ([])); _local4 = 0; while (_local4 < _local5.length) { if (((!((this.target[_local4] == _local5[_local4]))) && (!((this.target[_local4] == undefined))))){ this.tweens[this.tweens.length] = [this.target, _local4.toString(), this.target[_local4], (_local5[_local4] - this.target[_local4]), _local4.toString()]; }; _local4++; }; } else { if (((((!((typeof(_specialVars.tint) == "undefined"))) || ((this.vars.removeTint == true)))) && (_isDisplayObject))){ _local6 = this.target.transform.colorTransform; _local7 = new ColorTransform(); if (_specialVars.alpha != undefined){ _local7.alphaMultiplier = _specialVars.alpha; delete _specialVars.alpha; } else { _local7.alphaMultiplier = this.target.alpha; }; if (((!((this.vars.removeTint == true))) && (((((!((_specialVars.tint == null))) && (!((_specialVars.tint == ""))))) || ((_specialVars.tint == 0)))))){ _local7.color = _specialVars.tint; }; addSubTween("tint", tintProxy, {progress:0}, {progress:1}, {target:this.target, color:_local6, endColor:_local7}); }; if (((!((_specialVars.frame == null))) && (_isDisplayObject))){ addSubTween("frame", frameProxy, {frame:this.target.currentFrame}, {frame:_specialVars.frame}, {target:this.target}); }; if (((!(isNaN(this.vars.volume))) && (this.target.hasOwnProperty("soundTransform")))){ addSubTween("volume", volumeProxy, this.target.soundTransform, {volume:this.vars.volume}, {target:this.target}); }; if (((!((_specialVars.visible == null))) && (_isDisplayObject))){ addSubTween("visible", visibleProxy, {}, {}, {tween:this}); }; for (_local3 in _specialVars) { if ((((((((((((((((((((((((((((((((((((_local3 == "ease")) || ((_local3 == "delay")))) || ((_local3 == "overwrite")))) || ((_local3 == "onComplete")))) || ((_local3 == "onCompleteParams")))) || ((_local3 == "runBackwards")))) || ((_local3 == "visible")))) || ((_local3 == "autoOverwrite")))) || ((_local3 == "persist")))) || ((_local3 == "onUpdate")))) || ((_local3 == "onUpdateParams")))) || ((_local3 == "autoAlpha")))) || ((_local3 == "onStart")))) || ((_local3 == "onStartParams")))) || ((_local3 == "renderOnStart")))) || ((_local3 == "proxiedEase")))) || ((_local3 == "easeParams")))) || (((_arg1) && (!((_arg2.indexOf(((" " + _local3) + " ")) == -1))))))){ } else { if (((!(((_isDisplayObject) && ((((((_local3 == "tint")) || ((_local3 == "removeTint")))) || ((_local3 == "frame"))))))) && (!((((_local3 == "volume")) && (this.target.hasOwnProperty("soundTransform"))))))){ if (typeof(_specialVars[_local3]) == "number"){ this.tweens[this.tweens.length] = [this.target, _local3, this.target[_local3], (_specialVars[_local3] - this.target[_local3]), _local3]; } else { this.tweens[this.tweens.length] = [this.target, _local3, this.target[_local3], Number(_specialVars[_local3]), _local3]; }; }; }; }; }; if (this.vars.runBackwards == true){ _local4 = (this.tweens.length - 1); while (_local4 > -1) { _local8 = this.tweens[_local4]; _local8[2] = (_local8[2] + _local8[3]); _local8[3] = (_local8[3] * -1); _local4--; }; }; if (this.vars.onUpdate != null){ _hasUpdate = true; }; this.initted = true; } protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } public function killVars(_arg1:Object):void{ if (overwriteManager.enabled){ overwriteManager.killVars(_arg1, this.vars, this.tweens, _subTweens, []); }; } public function complete(_arg1:Boolean=false):void{ if (!_arg1){ if (!this.initted){ initTweenVals(); }; this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale)); render(currentTime); return; }; if (this.vars.persist != true){ this.enabled = false; }; if (this.vars.onComplete != null){ this.vars.onComplete.apply(null, this.vars.onCompleteParams); }; } public static function frameProxy(_arg1:Object, _arg2:Number=0):void{ _arg1.info.target.gotoAndStop(Math.round(_arg1.target.frame)); } public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{ if (_arg1 != null){ if (_arg2){ _arg1.clear(); }; _arg1.enabled = false; }; } public static function visibleProxy(_arg1:Object, _arg2:Number):void{ var _local3:TweenLite = _arg1.info.tween; if (_local3.duration == _arg2){ if (((!((_local3.vars.runBackwards == true))) && ((_local3.ease == _local3.vars.ease)))){ _local3.target.visible = _local3.vars.visible; }; } else { if (_local3.target.visible != true){ _local3.target.visible = true; }; }; } public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{ var _local3:Array; var _local4:int; var _local5:TweenLite; if (((!((_arg1 == null))) && (!((masterList[_arg1] == undefined))))){ _local3 = masterList[_arg1]; _local4 = (_local3.length - 1); while (_local4 > -1) { _local5 = _local3[_local4]; if (((_arg2) && (!(_local5.gc)))){ _local5.complete(false); }; _local5.clear(); _local4--; }; delete masterList[_arg1]; }; } public static function updateAll(_arg1:Event=null):void{ var _local4:Array; var _local5:int; var _local6:TweenLite; var _local2:uint = (currentTime = getTimer()); var _local3:Dictionary = masterList; for each (_local4 in _local3) { _local5 = (_local4.length - 1); while (_local5 > -1) { _local6 = _local4[_local5]; if (_local6 == null){ } else { if (_local6.active){ _local6.render(_local2); } else { if (_local6.gc){ _local4.splice(_local5, 1); } else { if (_local2 >= _local6.startTime){ _local6.activate(); _local6.render(_local2); }; }; }; }; _local5--; }; }; } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{ return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0})); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ _arg3.runBackwards = true; return (new TweenLite(_arg1, _arg2, _arg3)); } public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function tintProxy(_arg1:Object, _arg2:Number=0):void{ var _local3:Number = _arg1.target.progress; var _local4:Number = (1 - _local3); var _local5:Object = _arg1.info.color; var _local6:Object = _arg1.info.endColor; _arg1.info.target.transform.colorTransform = new ColorTransform(((_local5.redMultiplier * _local4) + (_local6.redMultiplier * _local3)), ((_local5.greenMultiplier * _local4) + (_local6.greenMultiplier * _local3)), ((_local5.blueMultiplier * _local4) + (_local6.blueMultiplier * _local3)), ((_local5.alphaMultiplier * _local4) + (_local6.alphaMultiplier * _local3)), ((_local5.redOffset * _local4) + (_local6.redOffset * _local3)), ((_local5.greenOffset * _local4) + (_local6.greenOffset * _local3)), ((_local5.blueOffset * _local4) + (_local6.blueOffset * _local3)), ((_local5.alphaOffset * _local4) + (_local6.alphaOffset * _local3))); } public static function volumeProxy(_arg1:Object, _arg2:Number=0):void{ _arg1.info.target.soundTransform = _arg1.target; } protected static function killGarbage(_arg1:TimerEvent):void{ var _local3:Object; var _local4:Array; var _local2:Dictionary = masterList; for (_local3 in _local2) { if (_local2[_local3].length == 0){ delete _local2[_local3]; }; }; } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ return (new TweenLite(_arg1, _arg2, _arg3)); } } }//package gs
Section 236
//EdgeMetrics (mx.core.EdgeMetrics) package mx.core { public class EdgeMetrics { public var top:Number; public var left:Number; public var bottom:Number; public var right:Number; mx_internal static const VERSION:String = "3.5.0.12683"; public static const EMPTY:EdgeMetrics = new EdgeMetrics(0, 0, 0, 0); ; public function EdgeMetrics(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0){ this.left = _arg1; this.top = _arg2; this.right = _arg3; this.bottom = _arg4; } public function clone():EdgeMetrics{ return (new EdgeMetrics(left, top, right, bottom)); } } }//package mx.core
Section 237
//FlexMovieClip (mx.core.FlexMovieClip) package mx.core { import flash.display.*; import mx.utils.*; public class FlexMovieClip extends MovieClip { mx_internal static const VERSION:String = "3.5.0.12683"; public function FlexMovieClip(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 238
//FlexSprite (mx.core.FlexSprite) package mx.core { import flash.display.*; import mx.utils.*; public class FlexSprite extends Sprite { mx_internal static const VERSION:String = "3.5.0.12683"; public function FlexSprite(){ super(); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 239
//IBorder (mx.core.IBorder) package mx.core { public interface IBorder { function get borderMetrics():EdgeMetrics; } }//package mx.core
Section 240
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 241
//IFlexDisplayObject (mx.core.IFlexDisplayObject) package mx.core { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.accessibility.*; public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher { function get visible():Boolean; function get rotation():Number; function localToGlobal(_arg1:Point):Point; function get name():String; function set width(_arg1:Number):void; function get measuredHeight():Number; function get blendMode():String; function get scale9Grid():Rectangle; function set name(_arg1:String):void; function set scaleX(_arg1:Number):void; function set scaleY(_arg1:Number):void; function get measuredWidth():Number; function get accessibilityProperties():AccessibilityProperties; function set scrollRect(_arg1:Rectangle):void; function get cacheAsBitmap():Boolean; function globalToLocal(_arg1:Point):Point; function get height():Number; function set blendMode(_arg1:String):void; function get parent():DisplayObjectContainer; function getBounds(_arg1:DisplayObject):Rectangle; function get opaqueBackground():Object; function set scale9Grid(_arg1:Rectangle):void; function setActualSize(_arg1:Number, _arg2:Number):void; function set alpha(_arg1:Number):void; function set accessibilityProperties(_arg1:AccessibilityProperties):void; function get width():Number; function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean; function set cacheAsBitmap(_arg1:Boolean):void; function get scaleX():Number; function get scaleY():Number; function get scrollRect():Rectangle; function get mouseX():Number; function get mouseY():Number; function set height(_arg1:Number):void; function set mask(_arg1:DisplayObject):void; function getRect(_arg1:DisplayObject):Rectangle; function get alpha():Number; function set transform(_arg1:Transform):void; function move(_arg1:Number, _arg2:Number):void; function get loaderInfo():LoaderInfo; function get root():DisplayObject; function hitTestObject(_arg1:DisplayObject):Boolean; function set opaqueBackground(_arg1:Object):void; function set visible(_arg1:Boolean):void; function get mask():DisplayObject; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function get transform():Transform; function set filters(_arg1:Array):void; function get x():Number; function get y():Number; function get filters():Array; function set rotation(_arg1:Number):void; function get stage():Stage; } }//package mx.core
Section 242
//IRepeaterClient (mx.core.IRepeaterClient) package mx.core { public interface IRepeaterClient { function get instanceIndices():Array; function set instanceIndices(_arg1:Array):void; function get isDocument():Boolean; function set repeaters(_arg1:Array):void; function initializeRepeaterArrays(_arg1:IRepeaterClient):void; function get repeaters():Array; function set repeaterIndices(_arg1:Array):void; function get repeaterIndices():Array; } }//package mx.core
Section 243
//MovieClipAsset (mx.core.MovieClipAsset) package mx.core { public class MovieClipAsset extends FlexMovieClip implements IFlexAsset, IFlexDisplayObject, IBorder { private var _measuredHeight:Number; private var _measuredWidth:Number; mx_internal static const VERSION:String = "3.5.0.12683"; public function MovieClipAsset(){ _measuredWidth = width; _measuredHeight = height; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get measuredHeight():Number{ return (_measuredHeight); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get borderMetrics():EdgeMetrics{ if (scale9Grid == null){ return (EdgeMetrics.EMPTY); }; return (new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil((measuredWidth - scale9Grid.right)), Math.ceil((measuredHeight - scale9Grid.bottom)))); } } }//package mx.core
Section 244
//mx_internal (mx.core.mx_internal) package mx.core { public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal"; }//package mx.core
Section 245
//SoundAsset (mx.core.SoundAsset) package mx.core { import flash.media.*; public class SoundAsset extends Sound implements IFlexAsset { mx_internal static const VERSION:String = "3.5.0.12683"; } }//package mx.core
Section 246
//SpriteAsset (mx.core.SpriteAsset) package mx.core { public class SpriteAsset extends FlexSprite implements IFlexAsset, IFlexDisplayObject, IBorder { private var _measuredHeight:Number; private var _measuredWidth:Number; mx_internal static const VERSION:String = "3.5.0.12683"; public function SpriteAsset(){ _measuredWidth = width; _measuredHeight = height; } public function get measuredWidth():Number{ return (_measuredWidth); } public function get measuredHeight():Number{ return (_measuredHeight); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } public function get borderMetrics():EdgeMetrics{ if (scale9Grid == null){ return (EdgeMetrics.EMPTY); }; return (new EdgeMetrics(scale9Grid.left, scale9Grid.top, Math.ceil((measuredWidth - scale9Grid.right)), Math.ceil((measuredHeight - scale9Grid.bottom)))); } } }//package mx.core
Section 247
//PropertyChangeEvent (mx.events.PropertyChangeEvent) package mx.events { import flash.events.*; public class PropertyChangeEvent extends Event { public var newValue:Object; public var kind:String; public var property:Object; public var oldValue:Object; public var source:Object; mx_internal static const VERSION:String = "3.5.0.12683"; public static const PROPERTY_CHANGE:String = "propertyChange"; public function PropertyChangeEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:String=null, _arg5:Object=null, _arg6:Object=null, _arg7:Object=null, _arg8:Object=null){ super(_arg1, _arg2, _arg3); this.kind = _arg4; this.property = _arg5; this.oldValue = _arg6; this.newValue = _arg7; this.source = _arg8; } override public function clone():Event{ return (new PropertyChangeEvent(type, bubbles, cancelable, kind, property, oldValue, newValue, source)); } public static function createUpdateEvent(_arg1:Object, _arg2:Object, _arg3:Object, _arg4:Object):PropertyChangeEvent{ var _local5:PropertyChangeEvent = new PropertyChangeEvent(PROPERTY_CHANGE); _local5.kind = PropertyChangeEventKind.UPDATE; _local5.oldValue = _arg3; _local5.newValue = _arg4; _local5.source = _arg1; _local5.property = _arg2; return (_local5); } } }//package mx.events
Section 248
//PropertyChangeEventKind (mx.events.PropertyChangeEventKind) package mx.events { public final class PropertyChangeEventKind { mx_internal static const VERSION:String = "3.5.0.12683"; public static const UPDATE:String = "update"; public static const DELETE:String = "delete"; } }//package mx.events
Section 249
//NameUtil (mx.utils.NameUtil) package mx.utils { import flash.display.*; import mx.core.*; import flash.utils.*; public class NameUtil { mx_internal static const VERSION:String = "3.5.0.12683"; private static var counter:int = 0; public static function displayObjectToString(_arg1:DisplayObject):String{ var result:String; var o:DisplayObject; var s:String; var indices:Array; var displayObject = _arg1; try { o = displayObject; while (o != null) { if (((((o.parent) && (o.stage))) && ((o.parent == o.stage)))){ break; }; s = o.name; if ((o is IRepeaterClient)){ indices = IRepeaterClient(o).instanceIndices; if (indices){ s = (s + (("[" + indices.join("][")) + "]")); }; }; result = ((result == null)) ? s : ((s + ".") + result); o = o.parent; }; } catch(e:SecurityError) { }; return (result); } public static function createUniqueName(_arg1:Object):String{ if (!_arg1){ return (null); }; var _local2:String = getQualifiedClassName(_arg1); var _local3:int = _local2.indexOf("::"); if (_local3 != -1){ _local2 = _local2.substr((_local3 + 2)); }; var _local4:int = _local2.charCodeAt((_local2.length - 1)); if ((((_local4 >= 48)) && ((_local4 <= 57)))){ _local2 = (_local2 + "_"); }; return ((_local2 + counter++)); } } }//package mx.utils
Section 250
//BaseEntity (shockwood.control.entities.BaseEntity) package shockwood.control.entities { import flash.display.*; import shockwood.control.*; import shockwood.control.sim.*; import Box2D.Common.Math.*; import Box2D.Dynamics.*; import Box2D.Collision.Shapes.*; import flash.utils.*; import shockwood.utils.*; public class BaseEntity extends Sprite { public var startRotation:Number; private var lastX:Number;// = -100000 public var bodyDef:b2BodyDef; private var boosted:Boolean; private var lastY:Number;// = -100000 public var heroCollideCount:int;// = 0 public var isForceMoving:Boolean; private var lastRotate:Number;// = 0 public var distanceYTravelled:Number;// = 0 public var distanceXHeroTravelled:Number;// = 0 public var bounceDistance:Number;// = 0 public var shape:b2Shape; public var body:b2Body; public var shapeDef:b2ShapeDef; public var firstCollidedComplete:Boolean;// = false public var maxHeight:Number;// = 0 public var landingDistance:Number;// = 0 public var forceMove:Number;// = 0 private var _maxHeight:Number;// = 0 public var groundColliding:Boolean;// = false private var forceMoveX:Number;// = -100000 public var startX:Number; public var startY:Number; public var longestBounce:Number;// = 0 public var screenHeight:Number; public var screenWidth:Number; public var maxSpeed:Number;// = 0 private var _maxDistance:Number;// = 0 public var distanceYHeroTravelled:Number;// = 0 protected var isBullet:Boolean;// = false public var rotationTravelled:Number;// = 0 public var worldWidth:Number; private var lastCollisionCount:int;// = 0 public var worldHeight:Number; public var totalCollisionCount:Number;// = 0 public var art:DisplayObject; public var groundCollisionCount:Number;// = 0 public var distanceXTravelled:Number;// = 0 public var heroCurrentlyColliding:Boolean;// = false public var rotateCount:int;// = 0 public var simObject:BaseSimObject; public var maxDistance:Number;// = 0 protected var isSleeping:Boolean;// = false public var ridingEntity:BaseEntity; public function forceMoved():void{ heroCurrentlyColliding = true; } public function getScreenY():Number{ return (Helper.convertMetersToPixels(body.GetPosition().y)); } private function setProps():void{ if (lastX == -100000){ lastX = x; lastY = y; }; var _local1:Number = Helper.convertPixelsToMeters((x - lastX)); var _local2:Number = Helper.convertPixelsToMeters((y - lastY)); if (heroCurrentlyColliding){ distanceXHeroTravelled = _local1; distanceYHeroTravelled = _local2; }; if (_local1 < 0.1){ _local1 = 0; }; if (_local2 < 0.1){ _local2 = 0; }; distanceXTravelled = _local1; distanceYTravelled = _local2; if (((!((ridingEntity == null))) && ((((distanceXTravelled > 0.1)) && ((distanceYTravelled > 0.1)))))){ ridingEntity = null; }; rotationTravelled = (rotationTravelled + Math.abs((lastRotate - rotation))); if (rotationTravelled >= 360){ rotationTravelled = (rotationTravelled - 360); rotateCount++; }; if ((((((totalCollisionCount > 0)) && ((totalCollisionCount == lastCollisionCount)))) && ((distanceYTravelled > 0.5)))){ bounceDistance = (bounceDistance + ((_local1 + _local2) / 2)); longestBounce = Math.max(longestBounce, bounceDistance); } else { bounceDistance = 0; }; lastX = x; lastY = y; lastCollisionCount = totalCollisionCount; lastRotate = rotation; if ((((heroCollideCount > 0)) && ((simObject is Obstacle)))){ }; if (((((!(boosted)) && (!((simObject == null))))) && (simObject.boost))){ boosted = true; GameController.instance.chicken.booster(simObject.boost); }; maxSpeed = Math.max(maxSpeed, ((body.GetLinearVelocity().x + body.GetLinearVelocity().y) / 2)); _maxHeight = Math.min(_maxHeight, body.GetPosition().y); maxHeight = Math.abs(_maxHeight); _maxDistance = Math.max(_maxDistance, body.GetPosition().x); maxDistance = Math.abs(_maxDistance); if ((simObject is Obstacle)){ GameController.instance.score.updateObstacleProperties(this); } else { if ((simObject is Chicken)){ GameController.instance.score.updateHeroProperties(this); }; }; if (heroCurrentlyColliding){ firstCollidedComplete = true; }; } public function getScreenX():Number{ return (Helper.convertMetersToPixels(body.GetPosition().x)); } protected function createBody(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:BaseSimObject, _arg5:Sprite):void{ var _local7:String; var _local8:Class; bodyDef = new b2BodyDef(); bodyDef.position.Set(_arg1, _arg2); bodyDef.isBullet = isBullet; bodyDef.isSleeping = isSleeping; if (((!((_arg4 == null))) && (!(isSleeping)))){ bodyDef.isSleeping = _arg4.startSleep; }; bodyDef.angle = (_arg3 * (Math.PI / 180)); bodyDef.userData = this; body = GameController.instance.world.world.CreateBody(bodyDef); startX = _arg1; startY = _arg2; startRotation = _arg3; this.simObject = _arg4; var _local6:DisplayObject = (_arg5.getChildByName("artwork") as DisplayObject); if (((!((_arg5 == null))) && (!((_local6 == null))))){ _local7 = getQualifiedClassName(_local6); _local8 = (getDefinitionByName(_local7) as Class); art = new (_local8); if ((art is MovieClip)){ MovieClip(art).stop(); }; if (art != null){ art.scaleX = _local6.scaleX; art.scaleY = _local6.scaleY; art.rotation = _local6.rotation; art.cacheAsBitmap = true; this.addChild(art); }; }; } public function getWorldX():Number{ return (body.GetPosition().x); } public function positionedByWorld():void{ lastX = -100000; lastY = -100000; } public function paint():void{ var _local1:b2Vec2 = body.GetPosition(); var _local2:Number = body.GetAngle(); x = Helper.convertMetersToPixels(_local1.x); y = Helper.convertMetersToPixels(_local1.y); rotation = (_local2 * (180 / Math.PI)); if (GameController.instance.world.launched){ setProps(); }; } public function destroy():void{ GameController.instance.world.world.DestroyBody(body); body = null; } public function getWorldY():Number{ return (body.GetPosition().y); } } }//package shockwood.control.entities
Section 251
//BaseJoint (shockwood.control.entities.BaseJoint) package shockwood.control.entities { import shockwood.control.*; import Box2D.Dynamics.Joints.*; public class BaseJoint { public var body2:BaseEntity; public var joint:b2Joint; public var jointDef:b2JointDef; public var body1:BaseEntity; public function destroy():void{ GameController.instance.world.world.DestroyJoint(joint); joint = null; } protected function createJoint():void{ joint = GameController.instance.world.world.CreateJoint(jointDef); } public function initialise(_arg1:Number):void{ } } }//package shockwood.control.entities
Section 252
//Box (shockwood.control.entities.Box) package shockwood.control.entities { import flash.display.*; import shockwood.control.sim.*; import Box2D.Collision.Shapes.*; import shockwood.utils.*; public class Box extends BaseEntity { public function init(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Sprite, _arg7:BaseSimObject=null, _arg8:Boolean=true, _arg9:Boolean=false):void{ this.isSleeping = _arg8; createBody(Helper.convertPixelsToMeters(_arg1), Helper.convertPixelsToMeters(_arg2), _arg5, _arg7, _arg6); shapeDef = new b2PolygonDef(); if (_arg7 == null){ if (!_arg8){ shapeDef.density = 3; shapeDef.friction = 0.1; shapeDef.restitution = 1.75; } else { shapeDef.friction = 0.6; }; if (_arg9){ shapeDef.restitution = 1.75; }; } else { shapeDef.restitution = _arg7.restitution; shapeDef.friction = _arg7.friction; shapeDef.density = _arg7.density; }; screenHeight = _arg4; screenWidth = _arg3; worldHeight = Helper.convertPixelsToMeters(_arg4); worldWidth = Helper.convertPixelsToMeters(_arg3); b2PolygonDef(shapeDef).SetAsBox((Helper.convertPixelsToMeters(_arg3) / 2), (Helper.convertPixelsToMeters(_arg4) / 2)); shape = body.CreateShape(shapeDef); body.SetMassFromShapes(); } } }//package shockwood.control.entities
Section 253
//Circle (shockwood.control.entities.Circle) package shockwood.control.entities { import flash.display.*; import shockwood.control.sim.*; import Box2D.Collision.Shapes.*; import shockwood.utils.*; public class Circle extends BaseEntity { private var playSound:Boolean;// = true private var density:Number;// = 0 private var restitution:Number;// = 0.65 private var radius:Number;// = 10 private var _isStopped:Boolean;// = false private var _firing:Boolean;// = false private var friction:Number;// = 0.2 public var caught:Boolean;// = false private function resetProperties():void{ shapeDef.restitution = restitution; shapeDef.friction = friction; shapeDef.density = density; } public function init(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Sprite, _arg5:BaseSimObject, _arg6:Boolean=false):void{ this.isSleeping = _arg6; createBody(Helper.convertPixelsToMeters(_arg1), Helper.convertPixelsToMeters(_arg2), 0, _arg5, _arg4); shapeDef = new b2CircleDef(); screenHeight = _arg3; screenWidth = _arg3; worldHeight = Helper.convertPixelsToMeters(_arg3); worldWidth = Helper.convertPixelsToMeters(_arg3); b2CircleDef(shapeDef).radius = Helper.convertPixelsToMeters(_arg3); shapeDef.restitution = _arg5.restitution; shapeDef.friction = _arg5.friction; shapeDef.density = _arg5.density; shape = body.CreateShape(shapeDef); body.SetMassFromShapes(); } } }//package shockwood.control.entities
Section 254
//HingeJoint (shockwood.control.entities.HingeJoint) package shockwood.control.entities { import Box2D.Dynamics.Joints.*; public class HingeJoint extends BaseJoint { override public function initialise(_arg1:Number):void{ if (((!((body1 == null))) && (!((body2 == null))))){ jointDef = new b2RevoluteJointDef(); b2RevoluteJointDef(jointDef).Initialize(body1.body, body2.body, body1.body.GetWorldCenter()); createJoint(); }; } } }//package shockwood.control.entities
Section 255
//Polygon (shockwood.control.entities.Polygon) package shockwood.control.entities { import flash.display.*; import shockwood.control.sim.*; import Box2D.Collision.Shapes.*; import shockwood.utils.*; public class Polygon extends BaseEntity { private var _firing:Boolean;// = false private var playSound:Boolean;// = true private var assetDefinition:Sprite; private var _isStopped:Boolean;// = false private var density:Number;// = 0.1 private var restitution:Number;// = 0.1 private var vertices:Array; private var friction:Number;// = 0.8 public var caught:Boolean;// = false private function resetProperties():void{ shapeDef.restitution = restitution; shapeDef.friction = friction; shapeDef.density = density; } public function init(_arg1:Number, _arg2:Number, _arg3:Sprite, _arg4:BaseSimObject, _arg5:Boolean=true):void{ this.isSleeping = _arg5; createBody(Helper.convertPixelsToMeters(_arg1), Helper.convertPixelsToMeters(_arg2), 0, _arg4, _arg3); shapeDef = new b2PolygonDef(); vertices = []; trace(_arg3.numChildren); var _local6:int; while (_local6 < _arg3.numChildren) { if ((_arg3.getChildAt(_local6) is Sprite)){ if (String(_arg3.getChildAt(_local6).name).indexOf("vertex_") > -1){ trace(_arg3.getChildAt(_local6).x, _arg3.getChildAt(_local6).y); vertices.push(_arg3.getChildAt(_local6)); }; }; _local6++; }; vertices.sortOn("name"); b2PolygonDef(shapeDef).vertexCount = vertices.length; _local6 = 0; while (_local6 < vertices.length) { b2PolygonDef(shapeDef).vertices[_local6].Set(Helper.convertPixelsToMeters(vertices[_local6].x), Helper.convertPixelsToMeters(vertices[_local6].y)); _local6++; }; screenHeight = _arg3.height; screenWidth = _arg3.width; worldHeight = Helper.convertPixelsToMeters(_arg3.height); worldWidth = Helper.convertPixelsToMeters(_arg3.width); shapeDef.restitution = _arg4.restitution; shapeDef.friction = _arg4.friction; shapeDef.density = _arg4.density; shape = body.CreateShape(shapeDef); body.SetMassFromShapes(); } } }//package shockwood.control.entities
Section 256
//MessageEvent (shockwood.control.events.MessageEvent) package shockwood.control.events { import flash.events.*; public class MessageEvent extends Event { public var message:String; public static const MESSAGE_HIDE:String = "messageHide"; public static const MESSAGE_SHOW:String = "messageShow"; public function MessageEvent(_arg1:String, _arg2:String){ super(_arg1); this.message = _arg2; } } }//package shockwood.control.events
Section 257
//BaseDataObject (shockwood.control.sim.BaseDataObject) package shockwood.control.sim { public class BaseDataObject { public function BaseDataObject(_arg1:Object){ var _local2:String; super(); if (_arg1 != null){ for (_local2 in _arg1) { this[_local2] = _arg1[_local2]; }; }; } } }//package shockwood.control.sim
Section 258
//BaseSimObject (shockwood.control.sim.BaseSimObject) package shockwood.control.sim { import shockwood.control.*; public class BaseSimObject { public var isFixed:Boolean; public var data:Object; public function BaseSimObject(_arg1:Boolean=false, _arg2:String=null){ this.isFixed = _arg1; data = GameController.instance.data.getDataByName(_arg2); } public function get type():int{ if (((!((data == null))) && (data.type))){ return (data.type); }; return (-1); } public function get torque():Number{ if (data != null){ return (data.torque); }; return (0); } public function get boost():Number{ if (((!((data == null))) && (!((data.boost == null))))){ return (data.boost); }; return (0); } public function get density():Number{ if (data != null){ return (data.density); }; return (0); } public function get manouverTorque():Number{ if (data != null){ return (data.manouverTorque); }; return (0); } public function get restitution():Number{ if (data != null){ return (data.restitution); }; return (0); } public function get airRotationTorque():Number{ if (data != null){ return (data.airRotationTorque); }; return (0); } public function get startSleep():Boolean{ if (((!((data == null))) && (!((data.startSleep == null))))){ return (data.startSleep); }; return (false); } public function get forceMoveable():Boolean{ if (data != null){ return (data.forceMoveable); }; return (false); } public function get friction():Number{ if (data != null){ return (data.friction); }; return (0); } } }//package shockwood.control.sim
Section 259
//Chicken (shockwood.control.sim.Chicken) package shockwood.control.sim { import shockwood.control.*; import Box2D.Common.Math.*; import shockwood.utils.*; public class Chicken extends BaseSimObject { private var _boostForward:Number; public var level:int;// = 1 private var _forwardForce:b2Vec2; private var _downForce:b2Vec2; public var numFlights:int;// = 0 public var stability:int;// = 1 public var personalBestScore:Number;// = 0 public var totalScore:Number;// = 0 public var money:Number;// = 0 public var inventoryItems:Array; private var _backForce:b2Vec2; private var _upForce:b2Vec2; private var _boostUp:Number; public var paddle:InventoryItem; public var motor:InventoryItem; public static const FORCE_FORWARD_UP:int = 4; public static const FORCE_FORWARD:int = 3; public static const FORCE_DOWN:int = 1; public static const FORCE_BACK:int = 2; public static const FORCE_UP:int = 0; public function Chicken(_arg1:Boolean=false, _arg2:String=null){ super(_arg1, _arg2); } private function getUpRating():Number{ var _local2:InventoryItem; var _local1:Number = 1; if (_boostUp > 0){ _local1 = (_local1 * _boostUp); _boostUp = 0; }; for each (_local2 in inventoryItems) { if ((((_local2.group == null)) && (_local2.inUse))){ if (_local2.effect == Chicken.FORCE_UP){ _local1 = (_local1 * _local2.effectRating); } else { if (_local2.effect == Chicken.FORCE_FORWARD_UP){ _local1 = (_local1 * (_local2.effectRating / 2)); }; }; }; }; _local1 = (_local1 * (1 + (stability / 10))); return (Math.max(0, _local1)); } public function booster(_arg1:Number):void{ _boostUp = (_arg1 / 2); _boostForward = (_arg1 / 2); } override public function get airRotationTorque():Number{ return (((6 * getInventoryAirRotationMultiplier()) / stability)); } private function getForwardRating():Number{ var _local1:Number = 1; return (Math.max(0, _local1)); } public function hasJacket():Boolean{ return (((!((getInventoryItemByItemType(InventoryItem.ITEM_JACKET) == null))) && (getInventoryItemByItemType(InventoryItem.ITEM_JACKET).inUse))); } public function get upForce():b2Vec2{ if (_upForce == null){ _upForce = new b2Vec2(0, 0); }; _upForce.y = -(getUpRating()); _upForce.x = (getUpRating() / 10); return (_upForce); } private function getInventoryFrictionMultiplier():Number{ var _local2:InventoryItem; var _local1:Number = 1; for each (_local2 in inventoryItems) { if ((((_local2.group == null)) && (_local2.inUse))){ _local1 = (_local1 * _local2.heroFrictionMultiplier); }; }; return (Math.max(0, _local1)); } public function getInventoryItemByItemType(_arg1:int):InventoryItem{ var _local2:InventoryItem; for each (_local2 in inventoryItems) { if (_local2.itemType == _arg1){ return (_local2); }; }; return (null); } public function get forwardForce():b2Vec2{ if (_forwardForce == null){ _forwardForce = new b2Vec2(0, 0); }; _forwardForce.x = getForwardRating(); return (_forwardForce); } public function hasHelmet():Boolean{ return (((!((getInventoryItemByItemType(InventoryItem.ITEM_HELMET) == null))) && (getInventoryItemByItemType(InventoryItem.ITEM_HELMET).inUse))); } public function buyInventoryItem(_arg1:InventoryItem):void{ inventoryItems.push(_arg1); money = (money - _arg1.cost); } public function getStatCost(_arg1:int):int{ return (((Constants.STAT_INCREASE_BASE_COST * Constants.STAT_INCREASE_MULTIPLIER) * _arg1)); } public function getInventoryItemByName(_arg1:String):InventoryItem{ var _local2:InventoryItem; for each (_local2 in inventoryItems) { if (_local2.name == _arg1){ return (_local2); }; }; return (null); } public function hasStabilisers():Boolean{ return (((!((getInventoryItemByItemType(InventoryItem.ITEM_STABILISERS) == null))) && (getInventoryItemByItemType(InventoryItem.ITEM_STABILISERS).inUse))); } public function initialise(_arg1:Object=null):void{ var _local2:int; var _local3:String; var _local4:Boolean; if (_arg1 == null){ inventoryItems = new Array(Data.instance.getInventoryItemByName("motor1"), Data.instance.getInventoryItemByName("paddle1")); paddle = inventoryItems[1]; motor = inventoryItems[0]; } else { stability = _arg1.stability; level = _arg1.level; money = _arg1.money; totalScore = _arg1.totalScore; personalBestScore = _arg1.personalBestScore; numFlights = _arg1.numFlights; paddle = new InventoryItem(_arg1.paddle); motor = new InventoryItem(_arg1.motor); inventoryItems = _arg1.inventoryItems; _local2 = 0; while (_local2 < inventoryItems.length) { _local3 = inventoryItems[_local2].name; _local4 = inventoryItems[_local2].inUse; inventoryItems[_local2] = Data.instance.getInventoryItemByName(_local3); inventoryItems[_local2].inUse = _local4; if ((((InventoryItem(inventoryItems[_local2]).group == InventoryItem.GROUP_MOTORS)) && ((motor.name == inventoryItems[_local2].name)))){ motor = inventoryItems[_local2]; }; if ((((InventoryItem(inventoryItems[_local2]).group == InventoryItem.GROUP_PADDLES)) && ((paddle.name == inventoryItems[_local2].name)))){ paddle = inventoryItems[_local2]; }; _local2++; }; }; } private function getInventoryDensityMultiplier():Number{ var _local2:InventoryItem; var _local1:Number = 1; for each (_local2 in inventoryItems) { if ((((_local2.group == null)) && (_local2.inUse))){ _local1 = (_local1 * _local2.heroDensityMultiplier); }; }; return (Math.max(0, _local1)); } private function getInventoryAirRotationMultiplier():Number{ var _local2:InventoryItem; var _local1:Number = 1; for each (_local2 in inventoryItems) { if ((((_local2.group == null)) && (_local2.inUse))){ _local1 = (_local1 * _local2.heroAirRotationMultiplier); }; }; return (Math.max(0, _local1)); } public function get backForce():b2Vec2{ if (_backForce == null){ _backForce = new b2Vec2(0, 0); }; _backForce.x = -(getBackRating()); return (_backForce); } private function getInventoryRestitutionMultiplier():Number{ var _local2:InventoryItem; var _local1:Number = 1; for each (_local2 in inventoryItems) { if ((((_local2.group == null)) && (_local2.inUse))){ _local1 = (_local1 * _local2.heroRestitutionMultiplier); }; }; return (Math.max(0, _local1)); } override public function get manouverTorque():Number{ return ((getInventoryManouverMultiplier() * (0.5 + (stability / 10)))); } public function getInventoryItemsByGroup(_arg1:String):Array{ var _local3:InventoryItem; var _local2:Array = new Array(); for each (_local3 in inventoryItems) { if (_local3.group == _arg1){ _local2.push(_local3); }; }; return (_local2); } public function hasBreastPlate():Boolean{ return (((!((getInventoryItemByItemType(InventoryItem.ITEM_BREASTPLATE) == null))) && (getInventoryItemByItemType(InventoryItem.ITEM_BREASTPLATE).inUse))); } public function hasWings():Boolean{ return (((!((getInventoryItemByItemType(InventoryItem.ITEM_WINGS) == null))) && (getInventoryItemByItemType(InventoryItem.ITEM_WINGS).inUse))); } public function hasGoggles():Boolean{ return (((!((getInventoryItemByItemType(InventoryItem.ITEM_GOGGLES) == null))) && (getInventoryItemByItemType(InventoryItem.ITEM_GOGGLES).inUse))); } private function getInventoryManouverMultiplier():Number{ var _local2:InventoryItem; var _local1:Number = 1; for each (_local2 in inventoryItems) { if ((((_local2.group == null)) && (_local2.inUse))){ _local1 = (_local1 * _local2.heroManouverMultiplier); }; }; return (Math.max(0, _local1)); } private function getBackRating():Number{ var _local2:InventoryItem; var _local1:Number = 1; if (paddle.effect == Chicken.FORCE_BACK){ _local1 = (_local1 * paddle.effectRating); }; for each (_local2 in inventoryItems) { if ((((_local2.group == null)) && (_local2.inUse))){ if (_local2.effect == Chicken.FORCE_BACK){ _local1 = (_local1 * _local2.effectRating); }; }; }; return (Math.max(0, (_local1 - 1))); } private function getDownRating():Number{ var _local2:InventoryItem; var _local1:Number = 1; if (paddle.effect == Chicken.FORCE_DOWN){ _local1 = (_local1 * paddle.effectRating); }; for each (_local2 in inventoryItems) { if ((((_local2.group == null)) && (_local2.inUse))){ if (_local2.effect == Chicken.FORCE_DOWN){ _local1 = (_local1 * _local2.effectRating); }; }; }; return (Math.max(0, _local1)); } override public function get density():Number{ return (Math.abs((1.25 * getInventoryDensityMultiplier()))); } public function get downForce():b2Vec2{ if (_downForce == null){ _downForce = new b2Vec2(0, 0); }; _downForce.y = getDownRating(); return (_downForce); } override public function get restitution():Number{ return ((0.175 * getInventoryRestitutionMultiplier())); } public function newUpgrade():Boolean{ var _local2:InventoryItem; var _local1:int; while (_local1 < GameController.instance.data.items.length) { _local2 = (GameController.instance.data.items[_local1] as InventoryItem); if (((!(getInventoryItemByName(_local2.name))) && ((_local2.cost <= money)))){ return (true); }; _local1++; }; return (false); } public function addScore(_arg1:Number):void{ var _local2:int; totalScore = (totalScore + _arg1); money = (money + (_arg1 / 3)); if (personalBestScore < _arg1){ personalBestScore = _arg1; GameController.instance.score.personalBest = true; }; if (_arg1 >= (stability * 400)){ if (stability < 10){ GameController.instance.score.newRating = true; stability++; }; }; if (_arg1 >= (level * 800)){ _local2 = 5; if (!Helper.isSiteLock()){ _local2 = 2; }; if (level < _local2){ GameController.instance.score.newLevel = true; level++; GameController.instance.updateLevels(); }; }; } override public function get friction():Number{ return (Math.abs((3 * getInventoryFrictionMultiplier()))); } } }//package shockwood.control.sim
Section 260
//Data (shockwood.control.sim.Data) package shockwood.control.sim { public class Data { public var obstacles:Object; public var items:Array; public var achievementsObject:Object; public var achievements:Array; public var levelsObject:Object; public var subLevels:Array; public var subLevelsObject:Object; public var levels:Array; public var itemsObject:Object; private static var _instance:Data; public function getDataByName(_arg1:String):Object{ return (obstacles[_arg1]); } private function init():void{ obstacles = new Object(); obstacles.ball = {density:0.1, friction:0.3, restitution:0.15, type:Obstacle.TYPE_MOVE_MIN, startSleep:false}; obstacles.barrel = {density:0.25, friction:0.25, restitution:0, type:Obstacle.TYPE_MOVE_MAX, startSleep:false}; obstacles.beetle = {density:0, friction:0.3, restitution:0.2, type:Obstacle.TYPE_MOVE_MAX_LAND, startSleep:false}; obstacles.bush = {density:0, friction:0.3, restitution:0.4, type:Obstacle.TYPE_AVOID, startSleep:false}; obstacles.cactus = {density:0, friction:0.3, restitution:0.2, type:Obstacle.TYPE_AVOID, startSleep:false}; obstacles.cone = {density:0.1, friction:0.3, restitution:0.3, type:Obstacle.TYPE_MOVE_MAX, startSleep:false}; obstacles.fence = {density:0, friction:0.3, restitution:0.15, type:Obstacle.TYPE_AVOID, startSleep:false}; obstacles.hay = {density:0.25, friction:1, restitution:0.05, type:Obstacle.TYPE_MOVE_MAX, startSleep:false}; obstacles.lounger = {density:20, friction:0.5, restitution:0.1, type:Obstacle.TYPE_MOVE_MAX_LAND, startSleep:false}; obstacles.morrisMinor = {density:0, friction:0.3, restitution:0.2, type:Obstacle.TYPE_MOVE_MAX_LAND, startSleep:false}; obstacles.platform = {density:0, friction:0.25, restitution:0, type:Obstacle.TYPE_MOVE_MAX_LAND, startSleep:false}; obstacles.rock = {density:0, friction:0.8, restitution:0.4, type:Obstacle.TYPE_AVOID, startSleep:false}; obstacles.scorpion = {density:0.1, friction:0.3, restitution:0.1, type:Obstacle.TYPE_AVOID, startSleep:false}; obstacles.skateboard = {density:0.45, friction:0.2, restitution:0, forceMoveable:true, type:Obstacle.TYPE_MOVE_MAX_LAND, startSleep:false}; obstacles.sledge = {density:0.45, friction:0.2, restitution:0, forceMoveable:true, type:Obstacle.TYPE_MOVE_MAX_LAND, startSleep:false}; obstacles.snowboard = {density:0.45, friction:0.2, restitution:0, forceMoveable:true, type:Obstacle.TYPE_MOVE_MAX_LAND, startSleep:false}; obstacles.tent = {density:0, friction:0.15, restitution:0.2, type:Obstacle.TYPE_AVOID, startSleep:false}; obstacles.twoCv = {density:0, friction:0.3, restitution:0.2, type:Obstacle.TYPE_MOVE_MAX_LAND, startSleep:false}; obstacles.umbrella = {density:0.1, friction:0.3, restitution:0.01, type:Obstacle.TYPE_AVOID, startSleep:false}; obstacles.balloon = {density:1E-10, friction:0.3, restitution:1.3, type:Obstacle.TYPE_COLLECT, startSleep:true, boost:100}; itemsObject = new Object(); itemsObject.motor1 = new InventoryItem({name:"motor1", title:"Archaic 300 Motor", description:"A basic 2-stroke motor. Don't hang anything too heavy on this.", cost:200, group:InventoryItem.GROUP_MOTORS, frame:1, itemType:InventoryItem.ITEM_MOTOR, torque:10, inGameFrame:1}); itemsObject.motor2 = new InventoryItem({name:"motor2", title:"Demi-mot Delux Motor", description:"A work-horse engine, strong and reliable but not that fast.", cost:1200, group:InventoryItem.GROUP_MOTORS, frame:2, itemType:InventoryItem.ITEM_MOTOR, torque:60, inGameFrame:2}); itemsObject.motor3 = new InventoryItem({name:"motor3", title:"Excel 9000 Motor", description:"This is the daddy motor, swinging the heaviest of paddles at speed!", cost:3000, group:InventoryItem.GROUP_MOTORS, frame:3, itemType:InventoryItem.ITEM_MOTOR, torque:150, inGameFrame:3}); itemsObject.paddle1 = new InventoryItem({name:"paddle1", title:"Splinter-Butt Paddle", description:"The poor fowl's paddle, heavy, slow and painful!", cost:300, group:InventoryItem.GROUP_PADDLES, frame:4, itemType:InventoryItem.ITEM_PADDLE, friction:10, restitution:4, density:10, inGameFrame:1.2}); itemsObject.paddle2 = new InventoryItem({name:"paddle2", title:"Luminous Alloy Paddle", description:"This is a good all-round paddle, gives a good bounce but is a little heavy.", cost:1500, group:InventoryItem.GROUP_PADDLES, frame:5, itemType:InventoryItem.ITEM_PADDLE, friction:5, restitution:50, density:15, inGameFrame:2}); itemsObject.paddle3 = new InventoryItem({name:"paddle3", title:"Super Bounce X Paddle", siteLock:true, description:"Next generation paddle. Light rubber compound - minimum friction & awesome bounce!", cost:3000, group:InventoryItem.GROUP_PADDLES, frame:6, itemType:InventoryItem.ITEM_PADDLE, friction:2, restitution:120, density:25, inGameFrame:3}); itemsObject.item1 = new InventoryItem({name:"item1", title:"Goggles", cost:400, description:"A must-have for any chick, keeps you seeing clearly at high-speed.", frame:7, itemType:InventoryItem.ITEM_GOGGLES, effectRating:1.1, effect:Chicken.FORCE_UP, heroManouverMultiplier:1.2}); itemsObject.item2 = new InventoryItem({name:"item2", title:"Breast Plate", cost:800, description:"Eliminate nasty breast bruising with this light-weight protector", frame:9, itemType:InventoryItem.ITEM_BREASTPLATE, heroFrictionMultiplier:0.8, heroRestitutionMultiplier:1.2}); itemsObject.item3 = new InventoryItem({name:"item3", title:"Stabilisers", siteLock:true, cost:1150, description:"Struggling to stay up-right? These will help you keep the right way up.", frame:8, itemType:InventoryItem.ITEM_STABILISERS, heroAirRotationMultiplier:0.4, heroManouverMultiplier:1.5}); itemsObject.item4 = new InventoryItem({name:"item4", title:"Aero Helmet", cost:1500, description:"Keeps your crown under wraps and gives you super aero-dynamics!", frame:10, itemType:InventoryItem.ITEM_HELMET, effectRating:1.2, effect:Chicken.FORCE_UP}); itemsObject.item5 = new InventoryItem({name:"item5", title:"Lycra 'Slick' Wing Jackets", cost:900, description:"Glide through the air with minimum resistance with these super slick wing jackets.", frame:12, itemType:InventoryItem.ITEM_JACKET, effectRating:1.3, effect:Chicken.FORCE_UP}); itemsObject.item6 = new InventoryItem({name:"item6", title:"Glider Wings", siteLock:true, cost:3500, description:"These wings really do make chickens fly!", frame:11, itemType:InventoryItem.ITEM_WINGS, effectRating:1.5, effect:Chicken.FORCE_UP}); items = new Array(itemsObject.motor1, itemsObject.motor2, itemsObject.motor3, itemsObject.paddle1, itemsObject.paddle2, itemsObject.paddle3, itemsObject.item1, itemsObject.item2, itemsObject.item3, itemsObject.item4, itemsObject.item5, itemsObject.item6); levelsObject = new Object(); levelsObject.level1 = new Level({id:1, name:"Beach", groundRestitution:0.1, groundFriction:15, minWind:0, maxWind:0, frame:1, mapId:1, enabled:true, isCurrent:false}); levelsObject.level2 = new Level({id:2, name:"Country", groundRestitution:0.25, groundFriction:5, minWind:0, maxWind:0, frame:5, mapId:3, enabled:true, isCurrent:false}); levelsObject.level3 = new Level({id:3, name:"City", groundRestitution:0.5, groundFriction:4, minWind:0, maxWind:0, frame:2, mapId:4, enabled:true, isCurrent:false}); levelsObject.level4 = new Level({id:4, name:"Desert", groundRestitution:0.1, groundFriction:15, minWind:0, maxWind:0, frame:3, mapId:2, enabled:true, isCurrent:false}); levelsObject.level5 = new Level({id:5, name:"Snow", groundRestitution:0.35, groundFriction:1, minWind:0, maxWind:0, frame:4, mapId:5, enabled:true, isCurrent:false}); levels = new Array(levelsObject.level1, levelsObject.level2, levelsObject.level3, levelsObject.level4, levelsObject.level5); subLevelsObject = new Object(); subLevelsObject.subLevel1 = new SubLevel({level:1, enabled:true, index:1}); subLevelsObject.subLevel2 = new SubLevel({level:1, enabled:true, index:2}); subLevelsObject.subLevel3 = new SubLevel({level:1, enabled:true, index:3}); subLevelsObject.subLevel4 = new SubLevel({level:2, enabled:true, index:4}); subLevelsObject.subLevel5 = new SubLevel({level:2, enabled:false, index:5}); subLevelsObject.subLevel6 = new SubLevel({level:2, enabled:true, index:6}); subLevelsObject.subLevel7 = new SubLevel({level:3, enabled:true, index:7}); subLevelsObject.subLevel8 = new SubLevel({level:3, enabled:true, index:8}); subLevelsObject.subLevel9 = new SubLevel({level:3, enabled:true, index:9}); subLevelsObject.subLevel10 = new SubLevel({level:4, enabled:true, index:10}); subLevelsObject.subLevel11 = new SubLevel({level:4, enabled:false, index:11}); subLevelsObject.subLevel12 = new SubLevel({level:4, enabled:true, index:12}); subLevelsObject.subLevel13 = new SubLevel({level:5, enabled:true, index:13}); subLevelsObject.subLevel14 = new SubLevel({level:5, enabled:true, index:14}); subLevelsObject.subLevel15 = new SubLevel({level:5, enabled:true, index:15}); subLevels = new Array(subLevelsObject.subLevel1, subLevelsObject.subLevel2, subLevelsObject.subLevel3, subLevelsObject.subLevel4, subLevelsObject.subLevel5, subLevelsObject.subLevel6, subLevelsObject.subLevel7, subLevelsObject.subLevel8, subLevelsObject.subLevel9, subLevelsObject.subLevel10, subLevelsObject.subLevel11, subLevelsObject.subLevel12, subLevelsObject.subLevel13, subLevelsObject.subLevel14, subLevelsObject.subLevel15); achievementsObject = new Object(); achievementsObject.achievement1 = {title:"Single bounce distance bonus."}; achievementsObject.achievement2 = {title:"Double bounce distance bonus."}; achievementsObject.achievement3 = {title:"Multi bounce distance bonus."}; achievementsObject.achievement4 = {title:"Obstacle slide distance bonus."}; achievementsObject.achievement5 = {title:"Free slide distance bonus."}; achievementsObject.achievement6 = {title:"Obstacle land accuracy bonus."}; achievementsObject.achievement7 = {title:"Good height bonus."}; achievementsObject.achievement8 = {title:"Awesome height bonus."}; achievementsObject.achievement9 = {title:"Extreme height bonus."}; achievementsObject.achievement10 = {title:"Good distance bonus."}; achievementsObject.achievement11 = {title:"Awesome distance bonus."}; achievementsObject.achievement12 = {title:"Extreme distance bonus."}; achievementsObject.achievement13 = {title:"Super stability bonus."}; achievementsObject.achievement14 = {title:"Extreme rotation bonus."}; achievementsObject.achievement15 = {title:"Obstacle destruction bonus."}; achievementsObject.achievement16 = {title:"Obstacle mayhem bonus."}; achievementsObject.achievement17 = {title:"Fabulous style bonus."}; } public function getSubLevelsForLevel(_arg1:int):Array{ var _local3:SubLevel; var _local2:Array = new Array(); for each (_local3 in subLevels) { if (_local3.level == _arg1){ _local2.push(_local3); }; }; return (_local2); } public function getInventoryItemByName(_arg1:String):InventoryItem{ return (itemsObject[_arg1]); } public static function get instance():Data{ if (_instance == null){ _instance = new (Data); _instance.init(); }; return (_instance); } } }//package shockwood.control.sim
Section 261
//InventoryItem (shockwood.control.sim.InventoryItem) package shockwood.control.sim { public class InventoryItem extends BaseDataObject { public var heroRestitutionMultiplier:Number;// = 1 public var heroAirRotationMultiplier:Number;// = 1 public var torque:Number;// = 1 public var name:String; public var cost:Number; public var effectRating:Number;// = 1 public var effect:int;// = -1 public var siteLock:Boolean; public var heroManouverMultiplier:Number;// = 1 public var title:String; public var inUse:Boolean; public var density:Number;// = 1 public var restitution:Number;// = 1 public var itemType:int; public var heroDensityMultiplier:Number;// = 1 public var frame:int; public var heroFrictionMultiplier:Number;// = 1 public var inGameFrame:int; public var friction:Number;// = 1 public var description:String; public var group:String; public static const ITEM_WINGS:int = 6; public static const ITEM_PADDLE:int = 8; public static const ITEM_GOGGLES:int = 1; public static const ITEM_JACKET:int = 5; public static const GROUP_PADDLES:String = "groupPaddles"; public static const ITEM_STABILISERS:int = 3; public static const ITEM_MOTOR:int = 7; public static const ITEM_HELMET:int = 4; public static const ITEM_BREASTPLATE:int = 2; public static const GROUP_MOTORS:String = "groupMotors"; public function InventoryItem(_arg1:Object){ super(_arg1); } } }//package shockwood.control.sim
Section 262
//Level (shockwood.control.sim.Level) package shockwood.control.sim { public class Level extends BaseDataObject { public var groundFriction:Number; public var groundRestitution:Number; public var enabled:Boolean; public var name:String; public var maxWind:Number; public var frame:Number; public var isCurrent:Boolean; public var siteLock:Boolean; public var mapId:Number; public var minWind:Number; public var id:int; public function Level(_arg1:Object){ super(_arg1); } public function getSimObject():BaseSimObject{ var _local1:BaseSimObject = new BaseSimObject(true); _local1.data = {restitution:groundRestitution, friction:groundFriction, density:0}; return (_local1); } public function get subLevels():Array{ return (Data.instance.getSubLevelsForLevel(id)); } } }//package shockwood.control.sim
Section 263
//Obstacle (shockwood.control.sim.Obstacle) package shockwood.control.sim { public class Obstacle extends BaseSimObject { public static const TYPE_MOVE_MIN_LAND:int = 4; public static const TYPE_COLLECT:int = 5; public static const TYPE_MOVE_MIN:int = 6; public static const TYPE_MOVE_MAX_LAND:int = 2; public static const TYPE_AVOID:int = 3; public static const TYPE_MOVE_MAX:int = 1; public function Obstacle(_arg1:Boolean=false, _arg2:String=null){ super(_arg1, _arg2); } override public function get friction():Number{ if (data == null){ return (0.01); }; return (data.friction); } override public function get airRotationTorque():Number{ return (0); } override public function get density():Number{ if (isFixed){ return (0); }; if (data == null){ return (0.1); }; return (data.density); } override public function get restitution():Number{ if (data == null){ return (0.05); }; return (data.restitution); } override public function get manouverTorque():Number{ return (0); } } }//package shockwood.control.sim
Section 264
//Score (shockwood.control.sim.Score) package shockwood.control.sim { import shockwood.control.*; import shockwood.control.entities.*; import shockwood.utils.*; import shockwood.*; public class Score { public var maxDistance:Number;// = 0 private var maxSpeedShown:Boolean; public var powerBonus:Number;// = 0 public var heroRotateCount:Number;// = 0 public var obstaclesMaxDistanceTravelled:Number;// = 0 private var maxHeightShown:Boolean; public var maxHeight:Number;// = 0 public var landingDistance:Number;// = 0 public var obstaclesLandedDistanceTravelled:Number;// = 0 public var longestBounce:Number;// = 0 public var obstacleLanded:Number;// = 0 public var maxSpeed:Number;// = 0 public var total:Number;// = 0 private var landingDistanceShown:Boolean; public var personalBest:Boolean;// = false public var newLevel:Boolean;// = false private var rideOnShown:Boolean; public var newRating:Boolean;// = false public var currentBounce:Number;// = 0 public var obstaclesCollected:Number;// = 0 private var stabilityShown:Boolean; public var obstaclesMinDistanceTravelled:Number;// = 0 public var obstaclesAvoided:Number;// = -1 public var stabilityBonus:Number;// = 100 private var longestBounceShown:Boolean; public function updateObstacleProperties(_arg1:BaseEntity):void{ switch (Obstacle(_arg1.simObject).type){ case Obstacle.TYPE_COLLECT: if (((_arg1.heroCurrentlyColliding) && (!(_arg1.firstCollidedComplete)))){ obstaclesCollected++; GameController.instance.showMessage("Caught a floater!"); SoundManager.instance.playSound(new AllAssets.sound_collect()); }; break; case Obstacle.TYPE_MOVE_MAX_LAND: if (((((_arg1.heroCurrentlyColliding) && ((_arg1.distanceXHeroTravelled > 0)))) && ((_arg1.distanceYHeroTravelled > 0)))){ }; if (((((_arg1.heroCurrentlyColliding) && ((Math.abs(GameController.instance.world.getXSpeed()) < 3)))) && ((Math.abs(GameController.instance.world.getYSpeed()) < 3)))){ }; break; case Obstacle.TYPE_MOVE_MAX: if (((_arg1.visible) && ((((((_arg1.distanceXTravelled > 0)) || ((_arg1.distanceYTravelled > 0)))) || ((_arg1.rotationTravelled > 0)))))){ obstaclesMaxDistanceTravelled = (obstaclesMaxDistanceTravelled + _arg1.rotateCount); if (_arg1.distanceXTravelled > 2){ obstaclesMaxDistanceTravelled = (obstaclesMaxDistanceTravelled + ((_arg1.distanceXTravelled / Constants.DISTANCEDIVIDER) / 10)); }; if (_arg1.distanceYTravelled > 2){ obstaclesMaxDistanceTravelled = (obstaclesMaxDistanceTravelled + ((_arg1.distanceYTravelled / Constants.DISTANCEDIVIDER) / 10)); }; }; break; case Obstacle.TYPE_MOVE_MIN: if ((((_arg1.distanceXTravelled >= 0.1)) || ((_arg1.distanceYTravelled >= 0.1)))){ obstaclesMinDistanceTravelled = (obstaclesMinDistanceTravelled + ((_arg1.distanceXTravelled / Constants.DISTANCEDIVIDER) + (_arg1.distanceYTravelled / Constants.DISTANCEDIVIDER))); }; break; }; if (Obstacle(_arg1.simObject).type != Obstacle.TYPE_COLLECT){ if (((_arg1.heroCurrentlyColliding) && (!(_arg1.firstCollidedComplete)))){ if (obstaclesAvoided == -1){ obstaclesAvoided = GameController.instance.world.numAvoidObstacles; }; obstaclesAvoided--; }; }; } public function process():void{ if (maxDistance > 0){ if (obstaclesAvoided == -1){ obstaclesAvoided = GameController.instance.world.numAvoidObstacles; }; stabilityBonus = Math.max(0, (stabilityBonus - (heroRotateCount * 10))); obstaclesAvoided = (obstaclesAvoided * 20); obstaclesCollected = (obstaclesCollected * 40); obstaclesMaxDistanceTravelled = (obstaclesMaxDistanceTravelled / 10); maxHeight = (maxHeight * 5); maxSpeed = (maxSpeed * 5); powerBonus = Math.round((GameController.instance.world.powerRating * GameController.instance.selectedLevel.mapId)); total = (total + powerBonus); total = (total + stabilityBonus); total = (total + maxHeight); total = (total + maxSpeed); total = (total + maxDistance); total = (total + longestBounce); total = (total + obstaclesLandedDistanceTravelled); total = (total + landingDistance); total = Math.round(total); } else { obstaclesAvoided = 0; }; GameController.instance.chicken.addScore(total); } public function resetMessaging():void{ } public function updateHeroProperties(_arg1:BaseEntity):void{ heroRotateCount = _arg1.rotateCount; maxDistance = (_arg1.maxDistance / Constants.DISTANCEDIVIDER); maxHeight = (_arg1.maxHeight / Constants.DISTANCEDIVIDER); maxSpeed = (_arg1.maxSpeed / Constants.DISTANCEDIVIDER); currentBounce = (_arg1.bounceDistance / Constants.DISTANCEDIVIDER); longestBounce = (_arg1.longestBounce / Constants.DISTANCEDIVIDER); if (((((((!((_arg1.ridingEntity == null))) && ((_arg1.ridingEntity.distanceXTravelled > 0)))) && (_arg1.ridingEntity.visible))) && (_arg1.ridingEntity.simObject.forceMoveable))){ obstaclesLandedDistanceTravelled = (obstaclesLandedDistanceTravelled + ((_arg1.distanceXTravelled / Constants.DISTANCEDIVIDER) * 20)); SoundManager.instance.playSkid(); }; if (_arg1.groundColliding){ landingDistance = (landingDistance + ((_arg1.distanceXTravelled / Constants.DISTANCEDIVIDER) * 5)); }; if ((((((longestBounce > 15)) && (!(longestBounceShown)))) && ((maxDistance > 10)))){ GameController.instance.showMessage("Good bounce!"); longestBounceShown = true; SoundManager.instance.playSound(new AllAssets.sound_bounce()); }; if ((((((heroRotateCount > 5)) && (!(stabilityShown)))) && ((maxDistance > 10)))){ GameController.instance.showMessage("He's all over the place!"); stabilityShown = true; }; if ((((((obstaclesLandedDistanceTravelled > 15)) && (!(rideOnShown)))) && ((maxDistance > 10)))){ GameController.instance.showMessage("Great riding!"); rideOnShown = true; }; if ((((((landingDistance > 10)) && (!(landingDistanceShown)))) && ((maxDistance > 10)))){ GameController.instance.showMessage("What a landing!"); landingDistanceShown = true; }; } } }//package shockwood.control.sim
Section 265
//SubLevel (shockwood.control.sim.SubLevel) package shockwood.control.sim { public class SubLevel extends BaseDataObject { public var enabled:Boolean; public var index:int; public var level:int; public function SubLevel(_arg1:Object=null){ super(_arg1); } } }//package shockwood.control.sim
Section 266
//ContactListener (shockwood.control.ContactListener) package shockwood.control { import Box2D.Collision.*; import Box2D.Dynamics.Contacts.*; import Box2D.Dynamics.*; public class ContactListener extends b2ContactListener { public var persistedContactPoints:Array; public var addedContactPoints:Array; override public function Add(_arg1:b2ContactPoint):void{ addedContactPoints.push(_arg1); persistedContactPoints.push(_arg1); } override public function Persist(_arg1:b2ContactPoint):void{ persistedContactPoints.push(_arg1); } override public function Remove(_arg1:b2ContactPoint):void{ } override public function Result(_arg1:b2ContactResult):void{ } } }//package shockwood.control
Section 267
//GameController (shockwood.control.GameController) package shockwood.control { import flash.events.*; import com.facebook.events.*; import shockwood.control.events.*; import flash.display.*; import shockwood.control.sim.*; import com.facebook.data.*; import flash.net.*; import com.facebook.net.*; import flash.utils.*; import com.facebook.utils.*; import com.facebook.*; import shockwood.utils.*; import com.facebook.commands.stream.*; import com.meychi.ascrypt.*; import shockwood.*; import flash.ui.*; public class GameController extends EventDispatcher { public var started:Boolean; private var initialised:Boolean;// = false private var fbCheckInterval:uint; public var world:World; public var score:Score; public var settingVert:SettingVert; public var fbLoggedIn:Boolean; private var fbDescription:String; public var selectedLevel:Level; private var fbError:Function; private var paused:Boolean;// = false public var chicken:Chicken; private var fbSession:FacebookSessionUtil; private var fb:Facebook; public var obstacles:MovieClip; public var setting:Setting; public var scope:Sprite; private var fbSubmitCallback:Function; public var selectedSubLevel:SubLevel; public var worldHolder:Sprite; private var key:KeyObject; public var levels:MovieClip; public var shownHelp:Boolean;// = false private var fbLoginCallback:Function; private var fbTitle:String; private var messageTimer:Timer; private static var _instance:GameController; public function GameController(){ messageTimer = new Timer(1500, 1); messageTimer.addEventListener(TimerEvent.TIMER, clearMessage); } public function loadGame(_arg1:Object):void{ _instance.chicken.initialise(_arg1); } private function onPermissionDisclosed(_arg1:FacebookEvent):void{ if (((_arg1.success) && ((_arg1.data as BooleanResultData).value))){ doFbPost(); } else { fb.grantExtendedPermission("publish_stream"); }; } public function saveGame():void{ StateManager.saveGame(); } public function clearAll():void{ var _local1:int; if (scope != null){ scope.removeEventListener(Event.ENTER_FRAME, step); _local1 = 0; while (_local1 < scope.numChildren) { scope.removeChildAt(_local1); _local1++; }; }; levels = null; levels = setting; levels = settingVert; worldHolder = null; world = null; } public function updateLevels():void{ var _local1:Level; for each (_local1 in data.levels) { if (_local1.mapId <= chicken.level){ _local1.enabled = true; } else { _local1.enabled = false; }; }; } public function shareFacebookStart(_arg1:Function, _arg2:Function):void{ clearInterval(fbCheckInterval); fbLoginCallback = _arg1; fbError = _arg2; var _local3:URLRequest = new URLRequest("http://www.shockwood.com/testbed/fowlthrow/fbShare.html"); _local3.method = URLRequestMethod.POST; var _local4:URLLoader = new URLLoader(_local3); _local4.dataFormat = URLLoaderDataFormat.TEXT; _local4.addEventListener(Event.COMPLETE, keyRetrieve); _local4.addEventListener(IOErrorEvent.IO_ERROR, fbError); } public function get data():Data{ return (Data.instance); } private function mouseUp(_arg1:MouseEvent):void{ if (!started){ started = true; world.launchHero(); chicken.numFlights++; this.scope.parent.removeEventListener(MouseEvent.MOUSE_UP, mouseUp); }; } private function keyDown(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.SPACE){ mouseUp(null); }; } public function clearLevel():void{ reset(); this.scope.removeChild(levels); this.scope.removeChild(setting); this.scope.removeChild(settingVert); } public function newGame():void{ _instance.chicken.initialise(); } private function keyRetrieve(_arg1:Event):void{ var event = _arg1; var secret:String = URLLoader(event.currentTarget).data.split("=")[1]; var api = "41dcfb322c17669aa9cae08efd4a5e7a"; fbSession = new FacebookSessionUtil(api, secret, ScreenManager.instance.stage.loaderInfo); fb = fbSession.facebook; fbSession.addEventListener(FacebookEvent.CONNECT, onFbConnect); fbSession.addEventListener(FacebookEvent.ERROR, fbError); fbSession.login(); fbCheckInterval = setInterval(function ():void{ fbSession.validateLogin(); }, 2000); } public function showMessage(_arg1:String):void{ if (!messageTimer.running){ messageTimer.reset(); this.dispatchEvent(new MessageEvent(MessageEvent.MESSAGE_SHOW, _arg1)); messageTimer.start(); }; } private function step(_arg1:Event):void{ world.step(); setting.step(); settingVert.step(); worldHolder.y = -(world.getYPosition()); if (started){ if (((key.isDown(Keyboard.LEFT)) || (key.isDown(65)))){ world.keyLeft(); } else { if (((key.isDown(Keyboard.RIGHT)) || (key.isDown(68)))){ world.keyRight(); } else { world.keyNone(); }; }; }; this.dispatchEvent(new Event("step")); if (((((started) && (world.allBodiesRested()))) && (shownHelp))){ started = false; this.scope.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDown); this.scope.parent.removeEventListener(MouseEvent.MOUSE_UP, mouseUp); world.end(); this.dispatchEvent(new Event("end")); }; } public function initialise(_arg1:Sprite, _arg2:Boolean=false):void{ this.scope = _arg1; initialised = false; var _local3:SubLevel = selectedSubLevel; while (_local3 == selectedSubLevel) { selectedSubLevel = selectedLevel.subLevels[Math.floor((Math.random() * selectedLevel.subLevels.length))]; }; score = new Score(); levels = MovieClip(new AllAssets.definitionLevels()); levels.gotoAndStop(selectedSubLevel.index); levels.addEventListener(Event.ADDED, levelsAdded); levels.visible = false; this.scope.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDown); this.scope.parent.addEventListener(MouseEvent.MOUSE_UP, mouseUp); key = new KeyObject(this.scope.parent.stage); worldHolder = new Sprite(); setting = new Setting(); var _local4:int = setting.getChildIndex(setting.getChildByName("frontlayer")); setting.addChildAt(worldHolder, _local4); _arg1.addChildAt(setting, 0); settingVert = new SettingVert(); _arg1.addChildAt(settingVert, 0); _arg1.addChildAt(new AllAssets.mainBg(), 0); started = _arg2; _arg1.addChild(levels); } private function levelsAdded(_arg1:Event):void{ var _local2:Boolean; var _local3:int; while (_local3 < levels.numChildren) { if (levels.getChildAt(_local3) == null){ _local2 = false; break; }; _local3++; }; if (((_local2) && (!(initialised)))){ scope.addEventListener(Event.ENTER_FRAME, step); if (world == null){ world = new World(); }; initialised = true; world.initialise(worldHolder); }; } public function reset():void{ started = false; world.reset(); saveGame(); } public function submitScore(_arg1:String, _arg2:Number, _arg3:int, _arg4:Function, _arg5:Function):Boolean{ var _local6:URLRequest = new URLRequest((Constants.BASE_URL + "/games/fowlthrow/submit.php")); _local6.method = URLRequestMethod.POST; var _local7:URLVariables = new URLVariables(); _arg1 = _arg1.replace("|", ""); _arg1 = _arg1.replace(",", ""); var _local8:Number = ((_arg2 * 234) - 324); var _local9 = (_arg1 + "|"); _local9 = (_local9 + (((_arg2 + "|") + Helper.checkSum(_arg2.toString())) + "|")); _local9 = (_local9 + (((_local8 + "|") + Helper.checkSum(_local8.toString())) + "|")); _local9 = (_local9 + ((_arg3 + "|") + Helper.checkSum(_arg3.toString()))); _local7.wo24 = RC4.encrypt(_local9, "awesome"); _local6.data = _local7; var _local10:URLLoader = new URLLoader(_local6); _local10.addEventListener(Event.COMPLETE, _arg4); _local10.addEventListener(IOErrorEvent.IO_ERROR, _arg5); _local10.dataFormat = URLLoaderDataFormat.TEXT; _local10.load(_local6); return (false); } public function shareFacebook(_arg1:String, _arg2:String, _arg3:Function):void{ var title = _arg1; var description = _arg2; var callback = _arg3; var url = (((((((("http://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=" + Constants.BASE_URL) + "/games/fowlthrow/play.php?fbShare&swfurl=http://teagames.com/share/fb.swf&width=1&height=1&title=") + title) + "&description=") + description) + "?&username=teagames&screenshot=") + Constants.BASE_URL) + "/skin2/gamescreenshots/fowlthrow.gif"); var request:URLRequest = new URLRequest(url); try { navigateToURL(request, "_blank"); } catch(e:Error) { trace("Error occurred!"); }; } private function doFbPost():void{ var _local1:Object = new Object(); _local1.name = fbTitle; _local1.description = fbDescription; _local1.href = "http://www.shockwood.com/testbed/fowlthrow/"; _local1.media = []; _local1.media[0] = new Object(); _local1.media[0].type = "image"; _local1.media[0].src = "http://www.shockwood.com/testbed/fowlthrow/fowlthrow.jpg"; _local1.media[0].href = "http://www.shockwood.com/testbed/fowlthrow/"; var _local2:PublishPost = new PublishPost(null, _local1); var _local3:FacebookCall = fb.post(_local2); _local3.addEventListener(FacebookEvent.COMPLETE, fbSubmitCallback); _local3.addEventListener(FacebookEvent.ERROR, fbError); } private function onFbConnect(_arg1:FacebookEvent):void{ fbLoggedIn = _arg1.success; if (_arg1.success){ clearInterval(fbCheckInterval); fb.grantExtendedPermission("publish_stream"); fbLoginCallback(_arg1); }; } public function clearMessage(_arg1:TimerEvent):void{ trace("clearMessage"); this.dispatchEvent(new MessageEvent(MessageEvent.MESSAGE_HIDE, null)); } public static function clearInstance():void{ if (_instance != null){ _instance.clearAll(); _instance = null; }; } public static function get instance():GameController{ if (_instance == null){ _instance = new (GameController); _instance.chicken = new Chicken(); if (StateManager.hasSavedGame()){ _instance.loadGame(StateManager.loadGame()); } else { _instance.newGame(); }; _instance.updateLevels(); }; return (_instance); } } }//package shockwood.control
Section 268
//ScreenManager (shockwood.control.ScreenManager) package shockwood.control { import shockwood.ui.*; public class ScreenManager extends BaseScreen { private var currentScreen:BaseScreen; public var screens:Array; public static const SCREEN_PRELOADER:String = "PreloaderScreen"; public static const SCREEN_GAME:String = "GameScreen"; public static const SCREEN_MAP:String = "MapScreen"; public static const SCREEN_STATS:String = "StatsScreen"; public static const SCREEN_MENU:String = "MenuScreen"; public static var allLevels:Boolean; private static var _instance:ScreenManager; public function ScreenManager(){ screens = new Array(); } public function removeScreen(_arg1:BaseScreen):void{ var _local2:int; while (_local2 < screens.length) { if (screens[_local2] == _arg1){ screens.splice(_local2, 0); break; }; _local2++; }; } public function showScreenByName(_arg1:String):void{ if (((!((currentScreen == null))) && (this.contains(currentScreen)))){ this.removeChild(currentScreen); }; var _local2:int; while (_local2 < screens.length) { if (screens[_local2].name == _arg1){ this.addChild(screens[_local2]); currentScreen = screens[_local2]; currentScreen.render(); }; _local2++; }; } public function addScreen(_arg1:BaseScreen):void{ screens.push(_arg1); } public static function get instance():ScreenManager{ if (_instance == null){ _instance = new (ScreenManager); }; return (_instance); } } }//package shockwood.control
Section 269
//Setting (shockwood.control.Setting) package shockwood.control { import flash.events.*; import flash.display.*; public dynamic class Setting extends MovieClip { private var background1:MovieClip; private var speed:Number; private var midlayer1:MovieClip; private var midlayer:MovieClip; private var dir:int; private var frontlayer:MovieClip; private var frontlayerX:Number;// = 0 private var frontlayer1X:Number;// = 0 private var skyX:Number;// = 0 private var sky:MovieClip; private var midlayer1X:Number;// = 0 private var frontlayer1:MovieClip; private var midlayerX:Number;// = 0 private var backgroundX:Number;// = 0 private var init:Boolean;// = false private var background1X:Number;// = 0 private var background:MovieClip; private var moveCount:Number;// = 0 public function Setting(){ GameController.instance.setting = this; this.addEventListener(Event.ADDED, addedListener); } public function step():void{ if (!init){ init = true; }; speed = GameController.instance.world.xScreenSpeed; if (speed > 0){ dir = 1; } else { dir = -1; }; y = GameController.instance.world.getYPosition(); if (Math.abs(speed) > 0){ moveBackground(speed); moveMidlayer(speed); moveFrontlayer(speed); }; } private function addedListener(_arg1:Event):void{ this.removeEventListener(Event.ADDED, addedListener); background = (this.getChildByName("background") as MovieClip); background1 = (this.getChildByName("background1") as MovieClip); midlayer = (this.getChildByName("midlayer") as MovieClip); midlayer1 = (this.getChildByName("midlayer1") as MovieClip); frontlayer = (this.getChildByName("frontlayer") as MovieClip); frontlayer1 = (this.getChildByName("frontlayer1") as MovieClip); backgroundX = background.x; midlayerX = midlayer.x; frontlayerX = frontlayer.x; background.gotoAndStop(GameController.instance.selectedLevel.frame); background1.gotoAndStop(GameController.instance.selectedLevel.frame); midlayer.gotoAndStop(GameController.instance.selectedLevel.frame); midlayer1.gotoAndStop(GameController.instance.selectedLevel.frame); frontlayer.gotoAndStop(GameController.instance.selectedLevel.frame); frontlayer1.gotoAndStop(GameController.instance.selectedLevel.frame); background1X = (backgroundX + background.width); midlayer1X = (midlayerX + midlayer.width); frontlayer1X = (frontlayerX + frontlayer.width); } public function moveAll(_arg1:Number):void{ moveFrontlayer(_arg1); moveMidlayer(_arg1); moveBackground(_arg1); } private function moveBackground(_arg1:Number):void{ backgroundX = (backgroundX - (_arg1 / 150)); background1X = (background1X - (_arg1 / 150)); if (dir >= 0){ if (backgroundX <= -(background.width)){ backgroundX = ((background1X + background1.width) - 1); }; if (background1X <= -(background1.width)){ background1X = ((backgroundX + background.width) - 1); }; } else { if (backgroundX >= 0){ background1X = ((backgroundX - background1.width) + 1); }; if (background1X >= 0){ backgroundX = ((background1X - background.width) + 1); }; }; background.x = backgroundX; background1.x = background1X; } private function moveFrontlayer(_arg1:Number):void{ frontlayerX = (frontlayerX - (_arg1 / 50)); frontlayer1X = (frontlayer1X - (_arg1 / 50)); if (dir >= 0){ if (frontlayerX <= -(frontlayer.width)){ frontlayerX = ((frontlayer1X + frontlayer1.width) - 1); }; if (frontlayer1X <= -(frontlayer1.width)){ frontlayer1X = ((frontlayerX + frontlayer.width) - 1); }; } else { if (frontlayerX >= 0){ frontlayer1X = ((frontlayerX - frontlayer1.width) + 1); }; if (frontlayer1X >= 0){ frontlayerX = ((frontlayer1X - frontlayer.width) + 1); }; }; frontlayer.x = frontlayerX; frontlayer1.x = frontlayer1X; } private function moveMidlayer(_arg1:Number):void{ midlayerX = (midlayerX - (_arg1 / 50)); midlayer1X = (midlayer1X - (_arg1 / 50)); if (dir >= 0){ if (midlayerX <= -(midlayer.width)){ midlayerX = ((midlayer1X + midlayer1.width) - 1); }; if (midlayer1X <= -(midlayer1.width)){ midlayer1X = ((midlayerX + midlayer.width) - 1); }; } else { if (midlayerX >= 0){ midlayer1X = ((midlayerX - midlayer1.width) + 1); }; if (midlayer1X >= 0){ midlayerX = ((midlayer1X - midlayer.width) + 1); }; }; midlayer.x = midlayerX; midlayer1.x = midlayer1X; } } }//package shockwood.control
Section 270
//SettingVert (shockwood.control.SettingVert) package shockwood.control { import flash.events.*; import flash.display.*; public dynamic class SettingVert extends MovieClip { private var background1:MovieClip; private var speed:Number; private var frontlayer:MovieClip; private var frontlayer1X:Number;// = 0 private var frontlayerY:Number;// = 0 private var frontlayer1Y:Number;// = 0 private var frontlayerX:Number;// = 0 private var sky:MovieClip; private var frontlayer1:MovieClip; private var backgroundX:Number;// = 0 private var backgroundY:Number;// = 0 private var background:MovieClip; private var xSpeed:Number; private var background1X:Number;// = 0 private var background1Y:Number;// = 0 private var moveCount:Number;// = 0 public function SettingVert(){ GameController.instance.settingVert = this; this.addEventListener(Event.ADDED, addedListener); } public function step():void{ speed = GameController.instance.world.yScreenSpeed; xSpeed = GameController.instance.world.xScreenSpeed; if (Math.abs(speed) > 4){ moveFrontlayer(speed, xSpeed); }; } private function addedListener(_arg1:Event):void{ sky = (this.getChildByName("sky") as MovieClip); this.gotoAndStop(1); frontlayer = (this.getChildByName("frontlayer") as MovieClip); frontlayer1 = (this.getChildByName("frontlayer1") as MovieClip); frontlayer1Y = (frontlayerY + frontlayer.height); frontlayer1X = (frontlayerX + frontlayer.width); } private function moveBackground(_arg1:Number, _arg2:Number):void{ backgroundY = (backgroundY - (_arg1 / 700)); background1Y = (background1Y - (_arg1 / 700)); backgroundX = (backgroundX - (_arg2 / 250)); background1X = (background1X - (_arg2 / 250)); if (_arg1 >= 0){ if (backgroundY <= -(background.height)){ backgroundY = ((background1Y + background1.height) - 1); }; if (background1Y <= -(background1.height)){ background1Y = ((backgroundY + background.height) - 1); }; } else { if (backgroundY >= 0){ background1Y = ((backgroundY - background1.height) + 1); }; if (background1Y >= 0){ backgroundY = ((background1Y - background.height) + 1); }; }; if (_arg2 >= 0){ if (backgroundX <= -(background.width)){ backgroundX = ((background1X + background1.width) - 1); }; if (background1X <= -(background1.width)){ background1X = ((backgroundX + background.width) - 1); }; } else { if (backgroundX >= 0){ background1X = ((backgroundX - background1.width) + 1); }; if (background1X >= 0){ backgroundX = ((background1X - background.width) + 1); }; }; background.y = backgroundY; background1.y = background1Y; background.x = backgroundX; background1.x = background1X; } public function moveAll(_arg1:Number, _arg2:Number):void{ moveFrontlayer(_arg1, _arg2); moveBackground(_arg1, _arg2); } private function moveFrontlayer(_arg1:Number, _arg2:Number):void{ frontlayerY = (frontlayerY - (_arg1 / 200)); frontlayer1Y = (frontlayer1Y - (_arg1 / 200)); frontlayerX = (frontlayerX - (_arg2 / 300)); frontlayer1X = (frontlayer1X - (_arg2 / 300)); if (_arg1 >= 0){ if (frontlayerY <= -(frontlayer.height)){ frontlayerY = ((frontlayer1Y + frontlayer1.height) - 1); }; if (frontlayer1Y <= -(frontlayer1.height)){ frontlayer1Y = ((frontlayerY + frontlayer.height) - 1); }; } else { if (frontlayerY >= 0){ frontlayer1Y = ((frontlayerY - frontlayer1.height) + 1); }; if (frontlayer1Y >= 0){ frontlayerY = ((frontlayer1Y - frontlayer.height) + 1); }; }; if (_arg2 >= 0){ if (frontlayerX <= -(frontlayer.width)){ frontlayerX = ((frontlayer1X + frontlayer1.width) - 1); }; if (frontlayer1X <= -(frontlayer1.width)){ frontlayer1X = ((frontlayerX + frontlayer.width) - 1); }; } else { if (frontlayerX >= 0){ frontlayer1X = ((frontlayerX - frontlayer1.width) + 1); }; if (frontlayer1X >= 0){ frontlayerX = ((frontlayer1X - frontlayer.width) + 1); }; }; frontlayer.y = frontlayerY; frontlayer1.y = frontlayer1Y; frontlayer.x = frontlayerX; frontlayer1.x = frontlayer1X; } } }//package shockwood.control
Section 271
//SoundManager (shockwood.control.SoundManager) package shockwood.control { import flash.events.*; import flash.display.*; import flash.media.*; import flash.utils.*; import shockwood.*; public class SoundManager { private var soundSkidChannel:SoundChannel; private var soundBounce:Sound; private var soundLaunchChannel:SoundChannel; private var wait:Boolean;// = false private var waitTimer:Timer; private var soundBounceChannel:SoundChannel; private var volume:Number;// = 1 private var canPlayBounce:Boolean;// = true private var soundSkid:Sound; public var uiButton:MovieClip; private var soundTrackChannel:SoundChannel; private var soundLaunch:Sound; private var canPlaySkid:Boolean;// = true private var soundTrack:Sound; private var canPlayLaunch:Boolean;// = true private static var _instance:SoundManager; public function SoundManager(){ soundTrack = (new AllAssets.sound_soundtrack() as Sound); uiButton = (new AllAssets.soundToggle() as MovieClip); } public function buttonSoft():void{ var _local1:Sound = (new AllAssets.sound_buttonsoft() as Sound); _local1.play(0, 1); } public function playLaunch():void{ if (canPlayLaunch){ soundLaunch = (new AllAssets.sound_launch() as Sound); soundLaunchChannel = soundLaunch.play(0, 1); canPlayLaunch = false; soundLaunchChannel.addEventListener(Event.SOUND_COMPLETE, function (_arg1:Event):void{ canPlayLaunch = true; }); }; } private function waitTimerTime(_arg1:TimerEvent):void{ wait = false; } public function playSkid():void{ if (canPlaySkid){ soundSkid = (new AllAssets.sound_skid() as Sound); soundSkidChannel = soundSkid.play(0, 1); canPlaySkid = false; soundSkidChannel.addEventListener(Event.SOUND_COMPLETE, function (_arg1:Event):void{ canPlaySkid = true; }); }; } public function getVolume():int{ return (volume); } public function setVolume(_arg1:int):void{ this.volume = _arg1; var _local2:SoundTransform = SoundMixer.soundTransform; _local2.volume = _arg1; SoundMixer.soundTransform = _local2; } public function toggleVolume():void{ volume = ((volume - 1) * -1); setVolume(volume); } public function playBounce():void{ if (canPlayBounce){ soundBounce = (new AllAssets.sound_bounce() as Sound); soundBounceChannel = soundBounce.play(0, 1); canPlayBounce = false; soundBounceChannel.addEventListener(Event.SOUND_COMPLETE, function (_arg1:Event):void{ canPlayBounce = true; }); }; } public function start():void{ soundTrackChannel = soundTrack.play(0, 100000); setVolume(volume); } public function buttonClick():void{ var _local1:Sound = (new AllAssets.sound_button() as Sound); _local1.play(0, 1); } public function playSound(_arg1:Sound):void{ _arg1.play(0, 1); } public static function get instance():SoundManager{ if (_instance == null){ _instance = new (SoundManager); }; return (_instance); } } }//package shockwood.control
Section 272
//StateManager (shockwood.control.StateManager) package shockwood.control { import flash.net.*; public class StateManager { public static function clearSO():void{ var _local1:SharedObject = SharedObject.getLocal("FowlThrow"); _local1.clear(); _local1.flush(10000); } public static function newGame():Boolean{ clearSO(); return (true); } public static function hasSavedGame():Boolean{ return (!((StateData.data == null))); } public static function loadGame():Object{ return (StateData.data); } public static function get StateData():Object{ var _local1:SharedObject = SharedObject.getLocal("FowlThrow"); return (_local1.data); } public static function saveGame():Object{ clearSO(); var _local1:Object = new Object(); _local1.stability = GameController.instance.chicken.stability; _local1.level = GameController.instance.chicken.level; _local1.money = GameController.instance.chicken.money; _local1.totalScore = GameController.instance.chicken.totalScore; _local1.personalBestScore = GameController.instance.chicken.personalBestScore; _local1.numFlights = GameController.instance.chicken.numFlights; _local1.paddle = GameController.instance.chicken.paddle; _local1.motor = GameController.instance.chicken.motor; _local1.inventoryItems = GameController.instance.chicken.inventoryItems; StateData.data = _local1; return (StateData.data); } } }//package shockwood.control
Section 273
//World (shockwood.control.World) package shockwood.control { import flash.events.*; import flash.display.*; import shockwood.control.sim.*; import Box2D.Common.Math.*; import shockwood.control.entities.*; import Box2D.Collision.*; import Box2D.Dynamics.*; import flash.utils.*; import shockwood.utils.*; import shockwood.*; import flash.geom.*; public class World { public var yScreenSpeed:Number;// = 0 private var addedContactPoints:Array; public var power:int;// = 0 private var worldContainer:Sprite; private var artChangeTimer:Timer; private var landing:BaseEntity; public var height:Number; private var endTimer:Timer; public var powerRating:Number;// = 100 private var cancelTorque:Boolean; public var paused:Boolean; private var powerDir:int;// = -1 private var platformAdded:Boolean; private var gravity:b2Vec2; private var scope:Sprite; private var obstacleMax:int;// = 10 private var currentXPlace:int;// = 0 private var startHeroX:Number; private var artContainer:Sprite; private var stars:MovieClip; private var startHeroY:Number; private var currentXGap:int;// = 100 private var paddle:BaseEntity; private var artHeroFrame:int;// = 1 private var maxXVelocity:Number;// = 0 private var obstacleEntities:Array; private var persistedContactPoints:Array; private var started:Boolean; private var hitArtChangeTimer:Timer; private var ground:Box; private var dbgDraw:b2DebugDraw; public var world:b2World; public var launched:Boolean;// = false private var badCrash:Boolean; public var xScreenSpeed:Number;// = 0 private var hinges:Array; private var lastHeroY:Number;// = 0 private var lastHeroX:Number;// = 0 private var enterChecker:int; private var obstacleCount:int;// = 0 private var entities:Array; private var obstacles:Array; private var nextMinX:int;// = 0 private var worldBoundary:b2AABB; private var forceCount:int;// = 0 private var rope:Sprite; public var distance:Number; private var debugSprite:Sprite; private var gauge:Sprite; private var hero:Polygon; private var contactListener:ContactListener; public function World(){ artChangeTimer = new Timer(100); artChangeTimer.addEventListener(TimerEvent.TIMER, artChangeTimerTime); endTimer = new Timer(3000); endTimer.addEventListener(TimerEvent.TIMER, endTimerTime); } public function getYPosition():Number{ return (worldContainer.y); } public function keyLeft():void{ if ((((hero.body.GetAngularVelocity() > -(GameController.instance.chicken.manouverTorque))) && (launched))){ hero.body.ApplyTorque(-(GameController.instance.chicken.manouverTorque)); }; } public function getRotation():Number{ return (hero.rotation); } public function get numAvoidObstacles():int{ var _local2:BaseEntity; var _local1:int; for each (_local2 in obstacleEntities) { if (Obstacle(_local2.simObject).type != Obstacle.TYPE_COLLECT){ _local1++; }; }; return (_local1); } private function drawEntities():void{ var _local2:BaseEntity; var _local1:int; while (_local1 < hinges.length) { MovieClip(HingeJoint(hinges[_local1]).body1.art).gotoAndStop(GameController.instance.chicken.motor.inGameFrame); MovieClip(HingeJoint(hinges[_local1]).body1.art).rotation = ((HingeJoint(hinges[_local1]).body2.body.GetAngle() * (180 / Math.PI)) * 3); MovieClip(HingeJoint(hinges[_local1]).body2.art).gotoAndStop(GameController.instance.chicken.paddle.inGameFrame); _local1++; }; for each (_local2 in entities) { _local2.paint(); }; } private function endTimerTime(_arg1:TimerEvent):void{ paused = true; } private function setClipAnimFrame(_arg1:String, _arg2:Object, _arg3:Boolean):void{ var _local4 = 1; while (_local4 <= MovieClip(hero.art).totalFrames) { if (_arg2 != null){ if (_arg3){ MovieClip(MovieClip(hero.art).getChildByName((_arg1 + _local4))).gotoAndStop(_arg2); } else { if ((((_arg2 is String)) && (!((MovieClip(MovieClip(hero.art).getChildByName((_arg1 + _local4))).currentLabel == _arg2))))){ MovieClip(MovieClip(hero.art).getChildByName((_arg1 + _local4))).gotoAndPlay(_arg2); }; }; }; MovieClip(MovieClip(hero.art).getChildByName((_arg1 + _local4))).visible = false; _local4++; }; MovieClip(MovieClip(hero.art).getChildByName((_arg1 + MovieClip(hero.art).currentFrame))).visible = true; } public function keyNone():void{ cancelTorque = false; } private function artEnterFrame(_arg1:Event):void{ MovieClip(hero.art).removeEventListener(Event.ENTER_FRAME, artEnterFrame); setHeroArt(); } private function setHeroArt():void{ var _local1:DisplayObject = DisplayObject(MovieClip(hero.art).getChildByName(("itemGoggles" + MovieClip(hero.art).currentFrame))); var _local2:DisplayObject = DisplayObject(MovieClip(hero.art).getChildByName(("itemHelmet" + MovieClip(hero.art).currentFrame))); var _local3:DisplayObject = DisplayObject(MovieClip(hero.art).getChildByName(("itemWings" + MovieClip(hero.art).currentFrame))); var _local4:DisplayObject = DisplayObject(MovieClip(hero.art).getChildByName(("itemStabilisers" + MovieClip(hero.art).currentFrame))); var _local5:DisplayObject = DisplayObject(MovieClip(hero.art).getChildByName(("itemBreastPlate" + MovieClip(hero.art).currentFrame))); var _local6:DisplayObject = DisplayObject(MovieClip(hero.art).getChildByName(("itemLycraWings" + MovieClip(hero.art).currentFrame))); var _local7:MovieClip = MovieClip(MovieClip(hero.art).getChildByName(("bodyMaskClear" + MovieClip(hero.art).currentFrame))); if (((!((_local7 == null))) && (!(GameController.instance.chicken.hasHelmet())))){ _local7.gotoAndStop(2); } else { _local7.gotoAndStop(1); }; _local2.visible = GameController.instance.chicken.hasHelmet(); _local2.alpha = (GameController.instance.chicken.hasHelmet()) ? 1 : 0; _local3.visible = GameController.instance.chicken.hasWings(); _local3.alpha = (GameController.instance.chicken.hasWings()) ? 1 : 0; _local4.visible = GameController.instance.chicken.hasStabilisers(); _local4.alpha = (GameController.instance.chicken.hasStabilisers()) ? 1 : 0; _local5.visible = GameController.instance.chicken.hasBreastPlate(); _local5.alpha = (GameController.instance.chicken.hasBreastPlate()) ? 1 : 0; _local6.visible = GameController.instance.chicken.hasJacket(); _local6.alpha = (GameController.instance.chicken.hasJacket()) ? 1 : 0; if (MovieClip(hero.art).currentFrame != 3){ _local1.visible = GameController.instance.chicken.hasGoggles(); _local1.alpha = (GameController.instance.chicken.hasGoggles()) ? 1 : 0; } else { _local1.visible = false; }; setClipAnimFrame("eyes", null, false); setClipAnimFrame("crown", null, false); setClipAnimFrame("collar", null, false); } public function getYSpeed():Number{ return (Helper.convertMetersToPixels(hero.body.GetLinearVelocity().y)); } public function reset():void{ var _local1:Sprite; var _local2:BaseEntity; var _local3:BaseJoint; started = false; launched = false; maxXVelocity = 0; endTimer.reset(); persistedContactPoints = new Array(); addedContactPoints = new Array(); if (world != null){ badCrash = false; world.SetContactListener(null); for each (_local1 in obstacles) { scope.removeChild(_local1); }; for each (_local2 in entities) { _local2.destroy(); worldContainer.removeChild(_local2); _local2 = null; }; for each (_local3 in hinges) { _local3.destroy(); _local3 = null; }; }; entities = []; hinges = []; obstacles = []; obstacleEntities = []; worldContainer.x = 0; worldContainer.y = 0; scope.x = 0; scope.y = 0; world = new b2World(worldBoundary, gravity, true); world.SetContactListener(contactListener); addEntitities(); lastHeroX = hero.getScreenX(); lastHeroY = hero.getScreenY(); startHeroY = lastHeroY; startHeroX = lastHeroX; distance = 0; height = 0; MovieClip(hero.art).gotoAndStop(1); paused = false; } public function launchHero():void{ lastHeroX = hero.getScreenX(); lastHeroY = hero.getScreenY(); startHeroY = lastHeroY; startHeroX = lastHeroX; distance = 0; height = 0; started = true; powerRating = (0.99 * (100 - Math.abs(power))); powerRating = (powerRating + 1); var _local1:int; while (_local1 < hinges.length) { BaseJoint(hinges[_local1]).body2.body.ApplyTorque(-(Math.abs((GameController.instance.chicken.motor.torque * powerRating)))); _local1++; }; } private function addObstacle(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Number):void{ var _local9:BaseEntity; var _local11:Sprite; var _local12:Sprite; var _local13:Sprite; var _local5:Class = (getDefinitionByName(_arg1) as Class); var _local6:Sprite = (new (_local5) as Sprite); _local6.visible = false; _local6.x = _arg2; _local6.y = _arg3; scope.addChild(_local6); var _local7:Array = getQualifiedClassName(_local6).split("_"); var _local8:String = getQualifiedClassName(_local6).split("_")[(_local7.length - 1)]; var _local10:int; while (_local10 < _local6.numChildren) { _local11 = (_local6.getChildAt(_local10) as Sprite); if (_local11 != null){ if (_local11.name == "box"){ _local9 = new Box(); _local12 = (_local6.getChildByName("box") as Sprite); Box(_local9).init(_local6.x, _local6.y, _local12.width, _local12.height, 0, _local6, new Obstacle(false, _local8), false); break; } else { if (_local11.name == "circle"){ _local9 = new Circle(); _local13 = (_local6.getChildByName("circle") as Sprite); Circle(_local9).init(_local6.x, _local6.y, (_local13.width / 2), _local6, new Obstacle(false, _local8), false); break; } else { if (_local11.name.indexOf("vertex_") > -1){ _local9 = new Polygon(); Polygon(_local9).init(_local6.x, _local6.y, _local6, new Obstacle(false, _local8), false); break; }; }; }; }; _local10++; }; if (_local9 != null){ _local9.visible = false; obstacles.push(_local6); obstacleEntities.push(_local9); _local6.removeEventListener(Event.ADDED, obstacleAdded); entities.push(_local9); worldContainer.addChild(_local9); if (!_local9.simObject.startSleep){ _local9.body.SetXForm(new b2Vec2(10000, 0), _local9.body.GetAngle()); }; }; } private function moveCamera():void{ worldContainer.x = (worldContainer.x - (hero.getScreenX() - lastHeroX)); worldContainer.y = (worldContainer.y - (hero.getScreenY() - lastHeroY)); xScreenSpeed = ((hero.getScreenX() - lastHeroX) * 40); yScreenSpeed = ((hero.getScreenY() - lastHeroY) * 40); distance = (distance + Helper.convertPixelsToMeters((hero.getScreenX() - lastHeroX))); obstacleCount++; if (worldContainer.y < 0){ worldContainer.y = (worldContainer.y + 10); }; lastHeroX = hero.getScreenX(); lastHeroY = hero.getScreenY(); } public function allBodiesRested():Boolean{ var _local1:BaseEntity; var _local2:Point; var _local3:Point; if (paused){ return (true); }; if ((((((Math.abs(getXSpeed()) < 3)) && ((Math.abs(getYSpeed()) < 3)))) && (launched))){ if (((((!(endTimer.running)) && (!(paused)))) && (launched))){ endTimer.start(); }; for each (_local1 in entities) { _local2 = new Point(hero.body.GetPosition().x, hero.body.GetPosition().y); _local3 = new Point(_local1.body.GetPosition().x, _local1.body.GetPosition().y); if ((((Math.abs(Point.distance(_local2, _local3)) < 25)) && ((((((Math.abs(_local1.body.GetLinearVelocity().x) > 0.5)) || ((Math.abs(_local1.body.GetLinearVelocity().y) > 0.5)))) || ((Math.abs(_local1.body.GetAngularVelocity()) > 0.1)))))){ return (false); }; }; return (true); }; return (false); } private function positionObstacles():void{ var _local1:BaseEntity; var _local2:b2ContactPoint; var _local3:Point; var _local4:Point; var _local5:Number; var _local6:BaseEntity; var _local7:BaseEntity; trace("collisionCount", hero.totalCollisionCount); for each (_local1 in obstacleEntities) { if ((((((((hero.body.GetPosition().y < -2)) && (!(_local1.simObject.startSleep)))) && (started))) && ((hero.totalCollisionCount == 0)))){ _local5 = (_local1.startX - hero.startX); _local1.body.SetXForm(new b2Vec2(((hero.body.GetPosition().x + _local5) + (power / 10)), _local1.startY), _local1.startRotation); _local1.positionedByWorld(); _local1.visible = true; }; _local3 = new Point(hero.body.GetPosition().x, hero.body.GetPosition().y); _local4 = new Point(_local1.body.GetPosition().x, _local1.body.GetPosition().y); if (((((_local1.simObject.forceMoveable) && ((Point.distance(_local3, _local4) < 2.5)))) && (!(hero.body.IsSleeping())))){ _local1.body.SetXForm(new b2Vec2(hero.body.GetPosition().x, _local1.body.GetPosition().y), _local1.body.GetAngle()); if (!_local1.firstCollidedComplete){ hero.totalCollisionCount++; SoundManager.instance.playSound(new AllAssets.sound_cluck2()); _local1.firstCollidedComplete = true; }; _local1.forceMoved(); _local1.visible = true; } else { if (((((((_local1.simObject.forceMoveable) && ((Math.abs(getXSpeed()) > 5)))) && ((hero.body.GetPosition().x >= _local1.body.GetPosition().x)))) && (_local1.firstCollidedComplete))){ _local1.body.SetXForm(new b2Vec2(hero.body.GetPosition().x, _local1.body.GetPosition().y), _local1.startRotation); }; }; }; for each (_local2 in addedContactPoints) { _local6 = (_local2.shape1.GetBody().GetUserData() as BaseEntity); _local7 = (_local2.shape2.GetBody().GetUserData() as BaseEntity); if (((!((_local7 == null))) && (!((_local7.simObject == null))))){ }; if (((!((_local6 == null))) && (!((_local6.simObject == null))))){ }; if ((((((((_local6 == hero)) && (!((_local7 == null))))) && (!((_local7.simObject == null))))) && (_local7.simObject.forceMoveable))){ } else { if ((((((((_local7 == hero)) && (!((_local6 == null))))) && (!((_local6.simObject == null))))) && (_local6.simObject.forceMoveable))){ }; }; }; } private function changeArtFrame(_arg1:int):void{ artHeroFrame = _arg1; if (!artChangeTimer.running){ artChangeTimer.reset(); artChangeTimer.start(); }; } public function getXSpeed():Number{ return (Helper.convertMetersToPixels(hero.body.GetLinearVelocity().x)); } public function getAngularVelocity():Number{ return (hero.body.GetAngularVelocity()); } private function obstacleAdded(_arg1:Event):void{ var _local7:BaseEntity; var _local10:Sprite; var _local11:Sprite; var _local12:Sprite; var _local2:Number = hero.body.GetPosition().x; var _local3:Number = (ground.body.GetPosition().y - (ground.worldHeight / 2)); var _local4:Sprite = Sprite(_arg1.currentTarget); var _local5:Array = getQualifiedClassName(_local4).split("_"); var _local6:String = getQualifiedClassName(_local4).split("_")[(_local5.length - 1)]; var _local8:Boolean; var _local9:int; while (_local9 < _local4.numChildren) { if ((_local4.getChildAt(_local9) as Sprite) == null){ _local8 = false; break; }; _local9++; }; if (_local8){ _local9 = 0; while (_local9 < _local4.numChildren) { _local10 = (_local4.getChildAt(_local9) as Sprite); if (_local10 != null){ if (_local10.name == "box"){ _local7 = new Box(); _local11 = (_local4.getChildByName("box") as Sprite); Box(_local7).init(_local4.x, _local4.y, _local11.width, _local11.height, _local4.rotation, _local10, new Obstacle(false, _local6), false); break; } else { if (_local10.name == "circle"){ _local7 = new Circle(); _local12 = (_local4.getChildByName("circle") as Sprite); Circle(_local7).init(_local4.x, _local4.y, (_local12.width / 2), _local10, new Obstacle(false, _local6), false); break; } else { if (_local10.name.indexOf("vertex_") > -1){ _local7 = new Polygon(); Polygon(_local7).init(_local4.x, _local4.y, _local4, new Obstacle(false, _local6), false); break; }; }; }; }; _local9++; }; if (_local7 != null){ obstacles.push(_local4); obstacleEntities.push(_local7); _local4.removeEventListener(Event.ADDED, obstacleAdded); entities.push(_local7); worldContainer.addChild(_local7); }; }; } public function initialise(_arg1:Sprite):void{ stars = (new AllAssets.stars() as MovieClip); this.scope = _arg1; entities = []; badCrash = false; hinges = []; obstacles = []; obstacleEntities = []; contactListener = new ContactListener(); worldContainer = new Sprite(); _arg1.addChild(worldContainer); worldContainer.addChild(stars); worldBoundary = new b2AABB(); worldBoundary.lowerBound.Set(-(Helper.convertPixelsToMeters((Constants.STAGE_WIDTH * 100))), -(Helper.convertPixelsToMeters((Constants.STAGE_HEIGHT * 1100)))); worldBoundary.upperBound.Set(Helper.convertPixelsToMeters((Constants.STAGE_WIDTH * 1100)), Helper.convertPixelsToMeters((Constants.STAGE_HEIGHT * 30))); gravity = new b2Vec2(0, 10); reset(); } private function addEntitities():void{ var _local2:Sprite; var _local3:int; var _local4:Array; var _local5:BaseEntity; var _local6:Sprite; var _local7:Sprite; var _local1:int; while (_local1 < GameController.instance.levels.numChildren) { _local2 = (GameController.instance.levels.getChildAt(_local1) as Sprite); if (_local2 != null){ _local2.visible = false; _local4 = _local2.name.split("_"); if (getQualifiedClassName(_local2).indexOf("obstacle_") == -1){ switch (_local4[0]){ case "box": _local5 = new Box(); if (_local4[1] == "ground"){ Box(_local5).init(_local2.x, _local2.y, Helper.convertMetersToPixels(Math.abs((worldBoundary.upperBound.x - worldBoundary.lowerBound.x))), _local2.height, _local2.rotation, _local2, GameController.instance.selectedLevel.getSimObject(), (_local4[2] == "fixed"), (_local4[1] == "bounce")); } else { _local7 = (_local2.getChildByName("box") as Sprite); Box(_local5).init(_local2.x, _local2.y, _local7.width, _local7.height, _local2.rotation, _local2, null, (_local4[2] == "fixed"), (_local4[1] == "bounce")); }; break; case "circle": _local5 = new Circle(); _local6 = (_local2.getChildByName("circle") as Sprite); Circle(_local5).init(_local2.x, _local2.y, (_local6.width / 2), _local2, new Obstacle((((_local4[3] == "pivot")) || ((_local4[2] == "fixed")))), true); break; case "hero": _local5 = new Polygon(); Polygon(_local5).init(_local2.x, _local2.y, _local2, GameController.instance.chicken); hero = Polygon(_local5); hero.body.SetBullet(true); rope = new AllAssets.rope(); worldContainer.addChildAt(rope, 0); rope.x = _local5.getScreenX(); rope.y = _local5.getScreenY(); break; case "hinge": _local3 = parseInt(_local4[1]); if (!hinges[_local3]){ hinges[_local3] = new Object(); hinges[_local3].center = new b2Vec2(Helper.convertPixelsToMeters(_local2.x), Helper.convertPixelsToMeters(_local2.y)); }; break; default: break; }; if (_local5 != null){ _local5.x = 10000; _local5.y = 10000; entities.push(_local5); worldContainer.addChild(_local5); }; if ((((_local4.length > 1)) && ((_local4[1] == "landing")))){ landing = Box(_local5); }; if ((((_local4.length > 1)) && ((_local4[1] == "ground")))){ ground = Box(_local5); }; if ((((_local4.length > 2)) && ((_local4[1] == "hinge")))){ _local3 = parseInt(_local4[2]); if (!hinges[_local3]){ hinges[_local3] = new HingeJoint(); }; if (_local4[3] == "pivot"){ HingeJoint(hinges[_local3]).body1 = _local5; gauge = (new AllAssets.gauge() as Sprite); worldContainer.addChildAt(gauge, 0); gauge.x = _local5.getScreenX(); gauge.y = _local5.getScreenY(); gauge.rotation = 180; } else { if (_local4[3] == "body"){ HingeJoint(hinges[_local3]).body2 = _local5; paddle = _local5; }; }; }; } else { addObstacle(getQualifiedClassName(_local2), _local2.x, _local2.y, _local2.rotation); }; }; _local1++; }; _local1 = 0; while (_local1 < hinges.length) { HingeJoint(hinges[_local1]).initialise((GameController.instance.chicken.motor.torque * 500)); _local1++; }; worldContainer.setChildIndex(hero, (worldContainer.numChildren - 1)); setHeroArt(); } public function step():void{ var _local2:Sprite; addedContactPoints = new Array(); persistedContactPoints = new Array(); contactListener.addedContactPoints = addedContactPoints; contactListener.persistedContactPoints = persistedContactPoints; if (!paused){ if (!started){ power = (power + (powerDir * (GameController.instance.selectedLevel.mapId * 2.5))); if (power < -100){ powerDir = 1; } else { if (power > 100){ powerDir = -1; }; }; _local2 = (gauge.getChildByName("arrow") as Sprite); _local2.rotation = (0.9 * power); }; setHeroArt(); world.Step(Constants.WORLD_TIME_STEP, Constants.WORLD_ITERATIONS); if ((((Math.abs(getXSpeed()) > 3)) && (!(launched)))){ launched = true; SoundManager.instance.playLaunch(); SoundManager.instance.playSound(new AllAssets.sound_cluck()); }; if (((!(hero.body.IsSleeping())) && (launched))){ if (!cancelTorque){ if (hero.body.GetAngularVelocity() > GameController.instance.chicken.airRotationTorque){ hero.body.SetAngularVelocity(GameController.instance.chicken.airRotationTorque); } else { if (hero.body.GetAngularVelocity() < -(GameController.instance.chicken.airRotationTorque)){ hero.body.SetAngularVelocity(-(GameController.instance.chicken.airRotationTorque)); }; }; }; if ((((Math.abs(getXSpeed()) > 3)) && ((hero.body.GetPosition().y < 6)))){ hero.body.ApplyForce(GameController.instance.chicken.forwardForce, hero.body.GetPosition()); hero.body.ApplyForce(GameController.instance.chicken.upForce, hero.body.GetPosition()); hero.body.ApplyForce(GameController.instance.chicken.downForce, hero.body.GetPosition()); hero.body.ApplyForce(GameController.instance.chicken.backForce, hero.body.GetPosition()); }; if ((((((Math.abs(hero.rotation) > 45)) && ((Math.abs(hero.rotation) < 135)))) && ((hero.body.GetAngularVelocity() < 1)))){ changeArtFrame(2); } else { changeArtFrame(3); }; if ((((Math.abs(hero.body.GetLinearVelocity().x) > 10)) || ((Math.abs(hero.body.GetLinearVelocity().y) > 10)))){ setClipAnimFrame("crown", "fly", false); setClipAnimFrame("collar", "fly", false); } else { setClipAnimFrame("crown", 1, true); setClipAnimFrame("collar", 1, true); }; if ((((((((Math.abs(hero.body.GetLinearVelocity().x) < 0.5)) && ((Math.abs(hero.body.GetLinearVelocity().y) < 0.5)))) && ((hero.body.GetPosition().y > 6)))) && (allBodiesRested()))){ end(); }; } else { setClipAnimFrame("crown", 1, true); setClipAnimFrame("collar", 1, true); if (!started){ changeArtFrame(1); }; }; height = Math.abs(Math.min(height, hero.body.GetPosition().y)); drawEntities(); manageCollisions(); positionObstacles(); if ((((hero.body.GetPosition().y < 0)) && (!((landing == null))))){ landing.body.SetXForm(new b2Vec2((hero.body.GetPosition().x - (10 + (Math.random() * 30))), landing.body.GetPosition().y), landing.body.GetAngle()); }; if (badCrash){ if (!GameController.instance.chicken.hasGoggles()){ setClipAnimFrame("eyes", "crash", false); }; setClipAnimFrame("crown", "crash", false); stars.visible = true; } else { setClipAnimFrame("eyes", 1, true); stars.visible = false; }; stars.x = hero.x; stars.y = (hero.y - (hero.height / 2)); } else { setClipAnimFrame("crown", 1, true); setClipAnimFrame("collar", 1, true); stars.visible = false; }; moveCamera(); var _local1 = 1; while (_local1 <= MovieClip(hero.art).totalFrames) { MovieClip(MovieClip(hero.art).getChildByName(("crown" + _local1))).alpha = (GameController.instance.chicken.hasHelmet()) ? 0 : 1; _local1++; }; } private function manageCollisions():void{ var _local1:BaseEntity; var _local2:b2ContactPoint; var _local3:b2ContactPoint; var _local4:BaseEntity; var _local5:BaseEntity; var _local6:BaseEntity; for each (_local1 in entities) { _local1.heroCurrentlyColliding = false; _local1.ridingEntity = null; _local1.groundColliding = false; }; for each (_local2 in persistedContactPoints) { if ((((_local2.shape1 == paddle.shape)) || ((_local2.shape2 == paddle.shape)))){ launched = true; }; }; for each (_local3 in addedContactPoints) { if ((((_local3.shape1 == paddle.shape)) || ((_local3.shape2 == paddle.shape)))){ launched = true; }; for each (_local4 in obstacleEntities) { if ((((((((_local3.shape1 == hero.shape)) || ((_local3.shape2 == hero.shape)))) && ((((_local3.shape1 == _local4.shape)) || ((_local3.shape2 == _local4.shape)))))) && ((_local4.simObject.type == Obstacle.TYPE_AVOID)))){ badCrash = true; SoundManager.instance.playSound(new AllAssets.sound_cluck()); SoundManager.instance.playSound(new AllAssets.sound_thud2()); break; }; }; _local5 = (_local3.shape1.GetBody().GetUserData() as BaseEntity); _local6 = (_local3.shape2.GetBody().GetUserData() as BaseEntity); _local5.heroCurrentlyColliding = false; _local6.heroCurrentlyColliding = false; _local5.ridingEntity = null; _local6.ridingEntity = null; if ((((((_local5 == hero)) && (!((_local6 == null))))) && (_local6.visible))){ _local6.heroCollideCount++; _local6.heroCurrentlyColliding = true; if ((((((((_local6.simObject is Obstacle)) && (!((_local6.simObject.type == Obstacle.TYPE_COLLECT))))) || ((_local5 == ground)))) || ((_local6 == ground)))){ _local5.totalCollisionCount++; _local6.totalCollisionCount++; if (_local6 != ground){ SoundManager.instance.playSound(new AllAssets.sound_thud()); _local5.ridingEntity = _local6; }; }; if (_local6 == ground){ _local5.groundCollisionCount++; _local5.groundColliding = true; }; }; if ((((((_local6 == hero)) && (!((_local5 == null))))) && (_local5.visible))){ _local5.heroCollideCount++; _local5.heroCurrentlyColliding = true; if ((((((((_local5.simObject is Obstacle)) && (!((_local5.simObject.type == Obstacle.TYPE_COLLECT))))) || ((_local5 == ground)))) || ((_local6 == ground)))){ _local5.totalCollisionCount++; _local6.totalCollisionCount++; if (_local5 != ground){ SoundManager.instance.playSound(new AllAssets.sound_thud2()); _local5.ridingEntity = _local6; }; }; if (_local5 == ground){ _local6.groundCollisionCount++; _local6.groundColliding = true; }; }; }; } public function end():void{ hero.body.PutToSleep(); hero.body.SetXForm(hero.body.GetPosition(), (90 * (Math.PI / 180))); hero.rotation = -90; changeArtFrame(4); paused = true; } private function setDebugDraw():void{ debugSprite = new Sprite(); scope.addChild(debugSprite); dbgDraw = new b2DebugDraw(); var _local1:Sprite = new Sprite(); debugSprite.addChild(_local1); dbgDraw.m_sprite = debugSprite; dbgDraw.m_drawScale = 30; dbgDraw.m_alpha = 1; dbgDraw.m_fillAlpha = 0.5; dbgDraw.m_lineThickness = 1; dbgDraw.m_drawFlags = ((((((b2DebugDraw.e_shapeBit | b2DebugDraw.e_jointBit) | b2DebugDraw.e_coreShapeBit) | b2DebugDraw.e_aabbBit) | b2DebugDraw.e_obbBit) | b2DebugDraw.e_pairBit) | b2DebugDraw.e_centerOfMassBit); } public function keyRight():void{ if ((((hero.body.GetAngularVelocity() < GameController.instance.chicken.manouverTorque)) && (launched))){ hero.body.ApplyTorque(GameController.instance.chicken.manouverTorque); }; } private function artChangeTimerTime(_arg1:TimerEvent):void{ MovieClip(hero.art).addEventListener(Event.ENTER_FRAME, artEnterFrame); MovieClip(hero.art).gotoAndStop(artHeroFrame); } } }//package shockwood.control
Section 274
//BaseScreen (shockwood.ui.BaseScreen) package shockwood.ui { import flash.events.*; import flash.display.*; import shockwood.control.*; import shockwood.*; public class BaseScreen extends Sprite { private var soundToggle:MovieClip; public var debugEnabled:Boolean;// = false protected var artwork:Sprite; public var debug:BaseScreen; public function BaseScreen(){ this.addEventListener(Event.ADDED_TO_STAGE, added); } private function added(_arg1:Event):void{ } private function setSoundToggle():void{ if (SoundManager.instance.getVolume()){ soundToggle.gotoAndStop(1); } else { soundToggle.gotoAndStop(2); }; } public function render(_arg1:Boolean=true):void{ var _local2:int; while (_local2 < this.numChildren) { this.removeChildAt(_local2); _local2++; }; if (artwork != null){ this.addChild(artwork); }; soundToggle = (new AllAssets.soundToggle() as MovieClip); soundToggle.buttonMode = true; soundToggle.x = 15; soundToggle.y = 15; this.addChild(soundToggle); setSoundToggle(); soundToggle.addEventListener(MouseEvent.CLICK, soundClick); } private function soundClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); SoundManager.instance.toggleVolume(); setSoundToggle(); } } }//package shockwood.ui
Section 275
//GameScreen (shockwood.ui.GameScreen) package shockwood.ui { import flash.events.*; import com.facebook.events.*; import shockwood.control.events.*; import flash.display.*; import shockwood.control.*; import gs.*; import flash.net.*; import flash.text.*; import shockwood.utils.*; import gs.easing.*; import shockwood.*; public class GameScreen extends BaseScreen { private var messageBox:TextField; private var message:Sprite; private var submitScore:MovieClip; private var btnShare:SimpleButton; private var cover:MovieClip; private var btnSubmitFacebook:SimpleButton; private var txtMessage:TextField; public function GameScreen(){ name = ScreenManager.SCREEN_GAME; artwork = (new AllAssets.screenGame() as Sprite); message = (artwork.getChildByName("message") as Sprite); messageBox = (message.getChildByName("message") as TextField); message.alpha = 0; message.scaleX = 0.5; message.scaleY = 0.5; cover = (artwork.getChildByName("cover") as MovieClip); submitScore = (artwork.getChildByName("submitScore") as MovieClip); cover.visible = false; submitScore.visible = false; submitScore.gotoAndStop(1); } private function facebookStartCallBack(_arg1:FacebookEvent):void{ btnShare.visible = false; btnSubmitFacebook.visible = true; var _local2:Sprite = (submitScore.getChildByName("scoreCover") as Sprite); _local2.visible = true; txtMessage.text = "You are now logged into Facebook."; } private function shareFacebookClick(_arg1:MouseEvent):void{ GameController.instance.shareFacebook("Check out my throw!", (("I just flung my rooster " + Helper.roundToPlace(GameController.instance.score.maxDistance, 2).toString()) + " meters!"), facebookCompleteCallBack); } private function scoreSubmit(_arg1:Event):void{ var _local3:Sprite; var _local2:TextField = (submitScore.getChildByName("txtMessage") as TextField); if (URLLoader(_arg1.currentTarget).data == "&msg=Score Added&Loaded=done"){ _local2.text = "Thank you, your score was submitted."; _local3 = (submitScore.getChildByName("scoreCover") as Sprite); _local3.visible = true; btnShare.visible = false; } else { _local2.text = "There was an error submitting your score, please try again."; }; } private function step(_arg1:Event):void{ var _local2:TextField = (artwork.getChildByName("txtHeight") as TextField); var _local3:TextField = (artwork.getChildByName("txtDistance") as TextField); var _local4:TextField = (artwork.getChildByName("txtScore") as TextField); _local2.text = Helper.roundToPlace(GameController.instance.score.maxHeight, 2).toString(); _local3.text = Helper.roundToPlace(GameController.instance.score.maxDistance, 2).toString(); _local4.text = Helper.roundToPlace(GameController.instance.chicken.totalScore, 2).toString(); } private function clearBar():void{ var _local1:Sprite = (artwork.getChildByName("bottomBar") as Sprite); var _local2:Sprite = (_local1.getChildByName("judges") as Sprite); TweenLite.to(_local1, 0.5, {y:820, easing:Bounce.easeInOut}); } private function showMessage(_arg1:MessageEvent):void{ messageBox.text = _arg1.message; TweenLite.to(message, 0.25, {alpha:1, scaleX:1, scaleY:1, easing:Back.easeInOut}); } private function btnSubmitClick(_arg1:MouseEvent):void{ var _local2:TextField = (submitScore.getChildByName("txtUsername") as TextField); if ((((_local2.text == "")) || ((_local2.text == "Please enter username.")))){ _local2.text = "Please enter username."; } else { GameController.instance.submitScore(_local2.text, GameController.instance.score.total, 1, scoreSubmit, scoreError); }; } private function worldAdded(_arg1:Event):void{ } override public function render(_arg1:Boolean=true):void{ super.render(); if (((_arg1) && (!(GameController.instance.shownHelp)))){ GameController.instance.initialise(this, true); helpClick(null); } else { GameController.instance.initialise(this); }; GameController.instance.addEventListener("step", step); GameController.instance.addEventListener("end", end); } private function levelsClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); clearBar(); GameController.instance.clearLevel(); GameController.instance.removeEventListener("step", step); GameController.instance.removeEventListener("end", end); ScreenManager.instance.showScreenByName(ScreenManager.SCREEN_MAP); } private function end(_arg1:Event):void{ var event = _arg1; var bottomBar:Sprite = (artwork.getChildByName("bottomBar") as Sprite); var judges:Sprite = (bottomBar.getChildByName("judges") as Sprite); var btnRestart:SimpleButton = (bottomBar.getChildByName("btnRestart") as SimpleButton); var btnMenu:SimpleButton = (bottomBar.getChildByName("btnMenu") as SimpleButton); var btnHelp:SimpleButton = (bottomBar.getChildByName("btnHelp") as SimpleButton); var btnMoreGames:SimpleButton = (bottomBar.getChildByName("btnMoreGames") as SimpleButton); var btnShare2:SimpleButton = (bottomBar.getChildByName("btnShare") as SimpleButton); btnShare2.visible = true; var btnLevels:SimpleButton = (bottomBar.getChildByName("btnLevels") as SimpleButton); TweenLite.to(bottomBar, 0.5, {y:315, easing:Bounce.easeInOut}); var i:int; while (i < bottomBar.numChildren) { trace(bottomBar.getChildAt(i).name); i = (i + 1); }; var distance:TextField = (bottomBar.getChildByName("distance") as TextField); var maxHeight:TextField = (bottomBar.getChildByName("maxHeight") as TextField); var maxSpeed:TextField = (bottomBar.getChildByName("maxSpeed") as TextField); var bounceBonus:TextField = (bottomBar.getChildByName("bounceBonus") as TextField); var rideOnBonus:TextField = (bottomBar.getChildByName("rideOnBonus") as TextField); var longLandingBonus:TextField = (bottomBar.getChildByName("longLandingBonus") as TextField); var powerBonus:TextField = (bottomBar.getChildByName("powerBonus") as TextField); var stabilityBonus:TextField = (bottomBar.getChildByName("stabilityBonus") as TextField); var totalScore:TextField = (bottomBar.getChildByName("totalScore") as TextField); var personalBest:TextField = (bottomBar.getChildByName("personalBest") as TextField); var levelUnlock:MovieClip = (bottomBar.getChildByName("levelUnlock") as MovieClip); var ratingIncrease:MovieClip = (bottomBar.getChildByName("ratingIncrease") as MovieClip); var newUpgrade:MovieClip = (bottomBar.getChildByName("newUpgrade") as MovieClip); GameController.instance.score.process(); distance.text = Helper.roundToPlace(GameController.instance.score.maxDistance, 2).toString(); maxHeight.text = Helper.roundToPlace(GameController.instance.score.maxHeight, 2).toString(); maxSpeed.text = Helper.roundToPlace(GameController.instance.score.maxSpeed, 2).toString(); bounceBonus.text = Helper.roundToPlace(GameController.instance.score.longestBounce, 2).toString(); rideOnBonus.text = Helper.roundToPlace(GameController.instance.score.obstaclesLandedDistanceTravelled, 2).toString(); longLandingBonus.text = Helper.roundToPlace(GameController.instance.score.landingDistance, 2).toString(); powerBonus.text = GameController.instance.score.powerBonus.toString(); stabilityBonus.text = GameController.instance.score.stabilityBonus.toString(); totalScore.text = GameController.instance.score.total.toString(); btnRestart.addEventListener(MouseEvent.CLICK, restartClick); btnMenu.addEventListener(MouseEvent.CLICK, menuClick); btnHelp.addEventListener(MouseEvent.CLICK, helpClick); btnMoreGames.addEventListener(MouseEvent.CLICK, moreGamesClick); btnShare2.addEventListener(MouseEvent.CLICK, shareClick); btnLevels.addEventListener(MouseEvent.CLICK, levelsClick); personalBest.visible = GameController.instance.score.personalBest; levelUnlock.visible = GameController.instance.score.newLevel; ratingIncrease.visible = GameController.instance.score.newRating; newUpgrade.visible = GameController.instance.chicken.newUpgrade(); if (personalBest.visible){ SoundManager.instance.playSound(new AllAssets.sound_personalbest()); }; if (levelUnlock.visible){ TweenLite.from(levelUnlock, 0.4, {scaleX:0.25, scaleY:0.25, easing:Bounce.easeInOut, onStart:function ():void{ SoundManager.instance.playSound(new AllAssets.sound_highlight()); }}); }; if (ratingIncrease.visible){ TweenLite.from(ratingIncrease, 0.4, {delay:0.5, scaleX:0.25, scaleY:0.25, easing:Bounce.easeInOut, onStart:function ():void{ SoundManager.instance.playSound(new AllAssets.sound_highlight()); }}); }; if (newUpgrade.visible){ TweenLite.from(newUpgrade, 0.4, {delay:1, scaleX:0.25, scaleY:0.25, easing:Bounce.easeInOut, onStart:function ():void{ SoundManager.instance.playSound(new AllAssets.sound_highlight()); }}); }; } private function scoreError(_arg1:IOErrorEvent):void{ var _local2:TextField = (submitScore.getChildByName("txtMessage") as TextField); _local2.text = "There was an error submitting your score, please try again."; } private function helpClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); clearBar(); var _local2:Sprite = (artwork.getChildByName("instructions") as Sprite); TweenLite.to(_local2, 0.5, {y:60, easing:Bounce.easeInOut}); var _local3:SimpleButton = (_local2.getChildByName("btnClose") as SimpleButton); _local3.addEventListener(MouseEvent.CLICK, closeClick); } private function backClick(_arg1:MouseEvent):void{ cover.visible = false; submitScore.visible = false; } private function facebookError(_arg1:IOErrorEvent):void{ btnShare.visible = true; btnSubmitFacebook.visible = false; } private function facebookCompleteCallBack(_arg1:FacebookEvent):void{ var _local2:SimpleButton; var _local3:Sprite; if (_arg1.success){ btnShare.visible = false; btnSubmitFacebook.visible = false; txtMessage.text = "You have posted your score to your wall."; _local2 = (submitScore.getChildByName("btnBack") as SimpleButton); _local2.addEventListener(MouseEvent.CLICK, backClick); _local3 = (submitScore.getChildByName("scoreCover") as Sprite); _local3.visible = true; } else { txtMessage.text = "There was an error posting to your wall."; }; } private function hideMessage(_arg1:MessageEvent):void{ TweenLite.to(message, 0.25, {alpha:0, scaleX:0.5, scaleY:0.5, easing:Back.easeInOut}); } private function shareClick(_arg1:MouseEvent):void{ var event = _arg1; submitScore.gotoAndStop(1); cover.visible = true; submitScore.visible = true; submitScore.visible = true; var txtSubmitTitle:TextField = (submitScore.getChildByName("txtSubmitTitle") as TextField); txtMessage = (submitScore.getChildByName("txtMessage") as TextField); var txtUsername:TextField = (submitScore.getChildByName("txtUsername") as TextField); var txtScore:TextField = (submitScore.getChildByName("txtScore") as TextField); var btnBack:SimpleButton = (submitScore.getChildByName("btnBack") as SimpleButton); var btnSubmit:SimpleButton = (submitScore.getChildByName("btnSubmit") as SimpleButton); btnShare = (submitScore.getChildByName("btnShare") as SimpleButton); btnSubmitFacebook = (submitScore.getChildByName("btnSubmitFacebook") as SimpleButton); btnSubmitFacebook.visible = false; var scoreCover:Sprite = (submitScore.getChildByName("scoreCover") as Sprite); scoreCover.visible = false; txtMessage.text = "Submit this flight score to the Teagames high score table."; txtScore.text = GameController.instance.score.total.toString(); btnBack.addEventListener(MouseEvent.CLICK, backClick); btnSubmit.addEventListener(MouseEvent.CLICK, btnSubmitClick); btnShare.addEventListener(MouseEvent.CLICK, function (_arg1:MouseEvent):void{ GameController.instance.shareFacebookStart(facebookStartCallBack, facebookError); }); btnSubmitFacebook.addEventListener(MouseEvent.CLICK, shareFacebookClick); btnShare.visible = true; btnShare.visible = false; btnSubmitFacebook.visible = true; } private function menuClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); clearBar(); GameController.instance.clearLevel(); GameController.instance.removeEventListener("step", step); GameController.instance.removeEventListener("end", end); ScreenManager.instance.showScreenByName(ScreenManager.SCREEN_STATS); } private function restartClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); clearBar(); GameController.instance.clearLevel(); GameController.instance.removeEventListener("step", step); GameController.instance.removeEventListener("end", end); render(false); } private function moreGamesClick(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(Constants.SPONSOR_MAIN_URL), "_blank"); } private function closeClick(_arg1:MouseEvent):void{ var _local3:Sprite; SoundManager.instance.buttonClick(); var _local2:Sprite = (artwork.getChildByName("instructions") as Sprite); TweenLite.to(_local2, 0.5, {y:0x0200, easing:Bounce.easeInOut}); if (!GameController.instance.shownHelp){ GameController.instance.shownHelp = true; restartClick(null); } else { _local3 = (artwork.getChildByName("bottomBar") as Sprite); TweenLite.to(_local3, 0.5, {y:315, easing:Bounce.easeInOut}); }; } } }//package shockwood.ui
Section 276
//MapScreen (shockwood.ui.MapScreen) package shockwood.ui { import flash.events.*; import flash.display.*; import shockwood.control.*; import shockwood.control.sim.*; import flash.net.*; import flash.text.*; import shockwood.utils.*; import shockwood.*; public class MapScreen extends BaseScreen { private var btnContinue:SimpleButton; private var btnBack:SimpleButton; public function MapScreen(){ name = ScreenManager.SCREEN_MAP; artwork = (new AllAssets.screenMap() as Sprite); } private function btnContinueClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); ScreenManager.instance.showScreenByName(ScreenManager.SCREEN_GAME); } private function locationOver(_arg1:MouseEvent):void{ var _local2:Sprite = (_arg1.currentTarget as Sprite); var _local3:Level = (_arg1.currentTarget["data"] as Level); var _local4:MovieClip = (_local2.getChildByName("bg") as MovieClip); var _local5:MovieClip = (_local2.getChildByName("lock") as MovieClip); if (_local3.enabled){ _local5.visible = false; _local4.alpha = 0.5; } else { _local5.visible = true; _local4.alpha = 1; }; _local2.alpha = 1; } private function btnBackClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); ScreenManager.instance.showScreenByName(ScreenManager.SCREEN_STATS); } private function eventClick(_arg1:MouseEvent):void{ var _local4:MovieClip; SoundManager.instance.buttonSoft(); var _local2:SubLevel = (_arg1.currentTarget["data"] as SubLevel); GameController.instance.selectedSubLevel = _local2; var _local3:int; while (_local3 < GameController.instance.selectedLevel.subLevels.length) { _local4 = (artwork.getChildByName(("event" + (_local3 + 1))) as MovieClip); _local4.gotoAndStop(2); _local3++; }; btnContinue.visible = true; _local4 = (_arg1.currentTarget as MovieClip); _local4.gotoAndStop(3); } private function clearEvents():void{ var _local3:MovieClip; var _local4:TextField; var _local5:MovieClip; var _local1 = 5; if (!Helper.isSiteLock(this)){ _local1 = 2; }; var _local2 = 1; while (_local2 <= _local1) { _local3 = (artwork.getChildByName(("event" + _local2)) as MovieClip); _local3.visible = false; _local3.gotoAndStop(1); _local3.alpha = 0.5; _local4 = (_local3.getChildByName("label") as TextField); _local5 = (_local3.getChildByName("lock") as MovieClip); _local4.visible = false; _local5.visible = false; _local2++; }; } override public function render(_arg1:Boolean=true):void{ var _local3:Level; var _local4:Sprite; var _local5:TextField; var _local6:MovieClip; var _local7:MovieClip; var _local8:TextField; var _local9:MovieClip; super.render(); btnBack = (artwork.getChildByName("btnBack") as SimpleButton); btnBack.addEventListener(MouseEvent.CLICK, btnBackClick); btnContinue = (artwork.getChildByName("btnContinue") as SimpleButton); btnContinue.addEventListener(MouseEvent.CLICK, btnContinueClick); btnContinue.visible = false; (artwork.getChildByName("selectedLevelLabel") as TextField).visible = false; var _local2:Sprite = (artwork.getChildByName("map") as Sprite); clearLevels(); for each (_local3 in GameController.instance.data.levels) { _local4 = (_local2.getChildByName(("location" + _local3.mapId)) as Sprite); _local5 = (_local4.getChildByName("label") as TextField); _local6 = (_local4.getChildByName("bg") as MovieClip); _local7 = (_local4.getChildByName("lock") as MovieClip); if (((((!(Helper.isSiteLock(this))) && (!(_local3.siteLock)))) || (Helper.isSiteLock(this)))){ _local5.text = _local3.name; _local4.alpha = 0; _local4.useHandCursor = true; _local4.buttonMode = true; _local4.mouseChildren = false; _local4["data"] = _local3; _local4.addEventListener(MouseEvent.MOUSE_OVER, locationOver); _local4.addEventListener(MouseEvent.MOUSE_OUT, locationOut); _local4.addEventListener(MouseEvent.CLICK, locationClick); if (_local3 == GameController.instance.selectedLevel){ _local8 = (artwork.getChildByName("selectedLevel") as TextField); _local8.text = _local3.name; _local9 = (_local2.getChildByName("chicken") as MovieClip); _local9.x = (_local4.x - (_local9.width / 2)); _local9.y = (_local4.y - (_local9.height / 2)); btnContinue.visible = true; }; } else { _local5.text = "?"; _local6.alpha = 0.35; _local7.visible = false; _local4.addEventListener(MouseEvent.CLICK, locationClick2); _local4.useHandCursor = true; _local4.buttonMode = true; _local4.mouseChildren = false; }; }; clearEvents(); } private function locationOut(_arg1:MouseEvent):void{ var _local2:Sprite = (_arg1.currentTarget as Sprite); _local2.alpha = 0; } private function locationClick(_arg1:MouseEvent):void{ var _local3:Sprite; var _local4:Sprite; var _local5:TextField; var _local6:MovieClip; SoundManager.instance.buttonSoft(); var _local2:Level = (_arg1.currentTarget["data"] as Level); if (_local2.enabled){ (artwork.getChildByName("selectedLevelLabel") as TextField).visible = true; _local3 = (_arg1.currentTarget as Sprite); _local4 = (artwork.getChildByName("map") as Sprite); GameController.instance.selectedLevel = _local2; GameController.instance.selectedSubLevel = null; clearLevels(); _local2.isCurrent = true; _local5 = (artwork.getChildByName("selectedLevel") as TextField); _local5.text = _local2.name; _local6 = (_local4.getChildByName("chicken") as MovieClip); _local6.x = (_local3.x - (_local6.width / 2)); _local6.y = (_local3.y - (_local6.height / 2)); btnContinue.visible = true; }; } private function clearLevels():void{ var _local3:Level; var _local4:Sprite; var _local1:Sprite = (artwork.getChildByName("map") as Sprite); var _local2:MovieClip = (_local1.getChildByName("chicken") as MovieClip); _local2.x = -10000; _local2.y = 10000; for each (_local3 in GameController.instance.data.levels) { _local4 = (_local1.getChildByName(("location" + _local3.mapId)) as Sprite); }; } private function locationClick2(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(Constants.SPONSOR_GAME_URL), "_blank"); } } }//package shockwood.ui
Section 277
//MenuScreen (shockwood.ui.MenuScreen) package shockwood.ui { import flash.events.*; import flash.display.*; import shockwood.control.*; import flash.net.*; import flash.text.*; import shockwood.utils.*; import shockwood.*; public class MenuScreen extends BaseScreen { private var btnShockwood:Sprite; private var alert:MovieClip; private var credits:MovieClip; private var btnTeagames:Sprite; private var menu1:Sprite; private var menu3:Sprite; private var menu4:Sprite; private var menu2:Sprite; private var cover:MovieClip; public function MenuScreen(){ name = ScreenManager.SCREEN_MENU; artwork = (new AllAssets.screenMenu() as Sprite); menu1 = (artwork.getChildByName("menu1") as Sprite); menu2 = (artwork.getChildByName("menu2") as Sprite); menu3 = (artwork.getChildByName("menu3") as Sprite); menu4 = (artwork.getChildByName("menu4") as Sprite); cover = (artwork.getChildByName("cover") as MovieClip); alert = (artwork.getChildByName("alert") as MovieClip); credits = (artwork.getChildByName("credits") as MovieClip); btnTeagames = (artwork.getChildByName("btnTeagames") as Sprite); btnShockwood = (artwork.getChildByName("btnShockwood") as Sprite); btnTeagames.buttonMode = true; btnTeagames.mouseChildren = false; btnShockwood.buttonMode = true; btnShockwood.mouseChildren = false; btnTeagames.addEventListener(MouseEvent.CLICK, btnTeagamesClick); btnShockwood.addEventListener(MouseEvent.CLICK, btnShockwoodClick); cover.buttonMode = true; cover.mouseChildren = true; cover.useHandCursor = false; render(); } private function btnCreditsClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); cover.buttonMode = true; cover.mouseChildren = true; cover.useHandCursor = false; cover.visible = true; credits.visible = true; } override public function render(_arg1:Boolean=true):void{ super.render(); cover.visible = false; alert.visible = false; credits.visible = false; TextField(menu1.getChildByName("label")).text = "PLAY"; menu1.addEventListener(MouseEvent.CLICK, btnPlayClick); menu1.buttonMode = true; menu1.mouseChildren = false; TextField(menu2.getChildByName("label")).text = "CLEAR DATA"; if (StateManager.hasSavedGame()){ menu2.addEventListener(MouseEvent.CLICK, btnClearClick); menu2.buttonMode = true; menu2.mouseChildren = false; menu2.alpha = 1; } else { menu2.alpha = 0.6; menu2.buttonMode = false; menu2.removeEventListener(MouseEvent.CLICK, btnClearClick); }; TextField(menu3.getChildByName("label")).text = "MORE GAMES"; menu3.addEventListener(MouseEvent.CLICK, btnTeagamesClick); menu3.buttonMode = true; menu3.mouseChildren = false; TextField(menu4.getChildByName("label")).text = "CREDITS"; menu4.addEventListener(MouseEvent.CLICK, btnCreditsClick); menu4.buttonMode = true; menu4.mouseChildren = false; var _local2:SimpleButton = (alert.getChildByName("btnBack") as SimpleButton); var _local3:SimpleButton = (alert.getChildByName("btnContinue") as SimpleButton); var _local4:SimpleButton = (credits.getChildByName("btnBack") as SimpleButton); _local2.addEventListener(MouseEvent.CLICK, btnBackClick); _local4.addEventListener(MouseEvent.CLICK, btnBackClick); _local3.addEventListener(MouseEvent.CLICK, btnContinueClick); } private function btnTeagamesClick(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(Constants.SPONSOR_MAIN_URL), "_blank"); } private function btnBackClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); cover.visible = false; alert.visible = false; credits.visible = false; } private function btnContinueClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); cover.visible = false; alert.visible = false; GameController.clearInstance(); StateManager.newGame(); ScreenManager.instance.showScreenByName(ScreenManager.SCREEN_STATS); } private function btnClearClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); cover.visible = true; alert.visible = true; } private function btnShockwoodClick(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("http://www.shockwood.com?game=fowlthrow"), "_blank"); } private function btnPlayClick(_arg1:MouseEvent):void{ SoundManager.instance.buttonClick(); ScreenManager.instance.showScreenByName(ScreenManager.SCREEN_STATS); } } }//package shockwood.ui
Section 278
//PreloaderScreen (shockwood.ui.PreloaderScreen) package shockwood.ui { import flash.events.*; import flash.display.*; import shockwood.*; import CPMStar.*; import shockwood.utils.*; import flash.utils.*; import flash.net.*; public class PreloaderScreen extends MovieClip { private var btnContinue:SimpleButton; private var btnShockwood:Sprite; private var artwork:Sprite; private var preloader:Preloader; private var btnTeagames:Sprite; public function PreloaderScreen(_arg1:Preloader){ this.preloader = _arg1; artwork = (new AllAssets.screenPreLoader() as Sprite); this.addChild(artwork); btnTeagames = (artwork.getChildByName("btnTeagames") as Sprite); btnShockwood = (artwork.getChildByName("btnShockwood") as Sprite); btnContinue = (artwork.getChildByName("btnContinue") as SimpleButton); btnTeagames.buttonMode = true; btnTeagames.mouseChildren = false; btnShockwood.buttonMode = true; btnShockwood.mouseChildren = false; btnTeagames.addEventListener(MouseEvent.CLICK, btnTeagamesClick); btnShockwood.addEventListener(MouseEvent.CLICK, btnShockwoodClick); btnContinue.addEventListener(MouseEvent.CLICK, btnContinueClick); btnContinue.visible = false; this.addEventListener(Event.ADDED_TO_STAGE, added); } private function added(_arg1:Event):void{ var _local3:DisplayObject; var _local2:Sprite = (artwork.getChildByName("adBox") as Sprite); if (((!(Helper.isSiteLock(this.stage))) && (Helper.adsAllowed(this.stage)))){ _local3 = new AdLoader(Constants.AD_CODE_CPMSTAR); _local2.addChild(_local3); } else { _local2.visible = false; }; } private function btnContinueClick(_arg1:MouseEvent):void{ preloader.startup(); } private function btnShockwoodClick(_arg1:MouseEvent):void{ navigateToURL(new URLRequest("http://www.shockwood.com?game=fowlthrow"), "_blank"); } private function btnTeagamesClick(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(Constants.SPONSOR_MAIN_URL), "_blank"); } public function updateProgress(_arg1:Number):void{ var _local2:Sprite = (artwork.getChildByName("loaderBar") as Sprite); _local2.scaleX = _arg1; } public function loadComplete():void{ setTimeout(function ():void{ btnContinue.visible = true; }, 7000); var loaderBar:Sprite = (artwork.getChildByName("loaderBar") as Sprite); loaderBar.visible = false; } } }//package shockwood.ui
Section 279
//StatsScreen (shockwood.ui.StatsScreen) package shockwood.ui { import flash.events.*; import com.facebook.events.*; import flash.display.*; import shockwood.control.*; import shockwood.control.sim.*; import flash.net.*; import flash.text.*; import shockwood.utils.*; import shockwood.*; import flash.filters.*; public class StatsScreen extends BaseScreen { private var btnSubmitFacebook:SimpleButton; private var btnSubmitTotal:SimpleButton; private var viewer:MovieClip; private var btnSubmit:SimpleButton; private var cash:TextField; private var cover:MovieClip; private var barStability:MovieClip; private var submitScore:MovieClip; private var toolTip:MovieClip; private var btnShare:SimpleButton; private var txtMessage:TextField; public function StatsScreen(){ name = ScreenManager.SCREEN_STATS; artwork = (new AllAssets.screenStats() as Sprite); viewer = (MovieClip(artwork.getChildByName("thumb")).getChildByName("viewer") as MovieClip); var _local1:SimpleButton = (artwork.getChildByName("btnContinue") as SimpleButton); _local1.addEventListener(MouseEvent.CLICK, continueClick); var _local2:SimpleButton = (artwork.getChildByName("btnBack") as SimpleButton); _local2.addEventListener(MouseEvent.CLICK, backClick); cash = (artwork.getChildByName("cash") as TextField); barStability = (artwork.getChildByName("barStability") as MovieClip); barStability.gotoAndStop(1); toolTip = (artwork.getChildByName("toolTip") as MovieClip); cover = (artwork.getChildByName("cover") as MovieClip); submitScore = (artwork.getChildByName("submitScore") as MovieClip); cover.visible = false; submitScore.visible = false; cover.buttonMode = true; cover.mouseChildren = true; cover.useHandCursor = false; btnSubmit = (artwork.getChildByName("btnSubmit") as SimpleButton); btnSubmit.addEventListener(MouseEvent.CLICK, btnSubmitPersonalClick); btnSubmitTotal = (artwork.getChildByName("btnSubmitTotal") as SimpleButton); btnSubmitTotal.addEventListener(MouseEvent.CLICK, btnSubmitTotalClick); } private function btnSubmitPersonalClick(_arg1:MouseEvent):void{ var event = _arg1; cover.visible = true; submitScore.visible = true; var txtSubmitTitle:TextField = (submitScore.getChildByName("txtSubmitTitle") as TextField); txtMessage = (submitScore.getChildByName("txtMessage") as TextField); var txtUsername:TextField = (submitScore.getChildByName("txtUsername") as TextField); var txtScore:TextField = (submitScore.getChildByName("txtScore") as TextField); var btnBack:SimpleButton = (submitScore.getChildByName("btnBack") as SimpleButton); var btnSubmit:SimpleButton = (submitScore.getChildByName("btnSubmit") as SimpleButton); btnShare = (submitScore.getChildByName("btnShare") as SimpleButton); btnSubmitFacebook = (submitScore.getChildByName("btnSubmitFacebook") as SimpleButton); btnSubmitFacebook.visible = false; var scoreCover:Sprite = (submitScore.getChildByName("scoreCover") as Sprite); scoreCover.visible = false; txtMessage.text = "Submit your best score to the Teagames high score table."; txtScore.text = GameController.instance.chicken.personalBestScore.toString(); btnBack.addEventListener(MouseEvent.CLICK, closeSubmit); btnSubmit.removeEventListener(MouseEvent.CLICK, btnSubmitPersonalClick2); btnSubmit.removeEventListener(MouseEvent.CLICK, btnSubmitTotalClick2); btnSubmit.addEventListener(MouseEvent.CLICK, btnSubmitPersonalClick2); btnShare.addEventListener(MouseEvent.CLICK, function (_arg1:MouseEvent):void{ GameController.instance.shareFacebookStart(facebookStartCallBack, facebookError); }); btnSubmitFacebook.addEventListener(MouseEvent.CLICK, shareFacebookPersonalClick); btnShare.visible = false; btnSubmitFacebook.visible = true; } private function inventoryClick(_arg1:MouseEvent):void{ var _local2:MovieClip = (_arg1.currentTarget as MovieClip); var _local3:InventoryItem = (_local2.data as InventoryItem); _local3.inUse = !(_local3.inUse); renderItems(); SoundManager.instance.buttonSoft(); } override public function render(_arg1:Boolean=true):void{ super.render(); var _local2:TextField = (artwork.getChildByName("numFlights") as TextField); var _local3:TextField = (artwork.getChildByName("totalScore") as TextField); var _local4:TextField = (artwork.getChildByName("personalBestScore") as TextField); btnSubmit.visible = (GameController.instance.chicken.personalBestScore > 0); btnSubmitTotal.visible = (GameController.instance.chicken.totalScore > 0); _local2.text = GameController.instance.chicken.numFlights.toString(); _local3.text = GameController.instance.chicken.totalScore.toString(); _local4.text = GameController.instance.chicken.personalBestScore.toString(); renderItems(); } private function scoreError(_arg1:IOErrorEvent):void{ txtMessage.text = "There was an error submitting your score, please try again."; } private function continueClick(_arg1:MouseEvent):void{ ScreenManager.instance.showScreenByName(ScreenManager.SCREEN_MAP); GameController.instance.saveGame(); SoundManager.instance.buttonClick(); } private function buyClick(_arg1:MouseEvent):void{ var _local2:MovieClip = (_arg1.currentTarget as MovieClip); var _local3:InventoryItem = (_local2.data as InventoryItem); _local3.inUse = true; GameController.instance.chicken.buyInventoryItem(_local3); if (_local3.group == InventoryItem.GROUP_MOTORS){ GameController.instance.chicken.motor = _local3; } else { if (_local3.group == InventoryItem.GROUP_PADDLES){ GameController.instance.chicken.paddle = _local3; }; }; renderItems(); _local2.filters = []; SoundManager.instance.buttonSoft(); } private function renderStats():void{ barStability.gotoAndStop(GameController.instance.chicken.stability); } private function facebookCompleteCallBack(_arg1:FacebookEvent):void{ var _local2:SimpleButton; var _local3:Sprite; if (_arg1.success){ btnShare.visible = false; btnSubmitFacebook.visible = false; txtMessage.text = "You have posted your score to your wall."; _local2 = (submitScore.getChildByName("btnBack") as SimpleButton); _local2.addEventListener(MouseEvent.CLICK, closeSubmit); _local3 = (submitScore.getChildByName("scoreCover") as Sprite); _local3.visible = true; } else { txtMessage.text = "There was an error posting to your wall."; }; } private function scrollItemOut(_arg1:MouseEvent):void{ toolTip.stopDrag(); toolTip.visible = false; var _local2:MovieClip = ((_arg1.currentTarget as MovieClip).parent as MovieClip); _local2.filters = []; } private function closeSubmit(_arg1:MouseEvent):void{ cover.visible = false; submitScore.visible = false; } private function btnSubmitPersonalClick2(_arg1:MouseEvent):void{ var _local2:TextField = (submitScore.getChildByName("txtUsername") as TextField); if ((((_local2.text == "")) || ((_local2.text == "Please enter username.")))){ _local2.text = "Please enter username."; } else { GameController.instance.submitScore(_local2.text, GameController.instance.chicken.personalBestScore, 2, scoreSubmit, scoreError); }; } private function facebookStartCallBack(_arg1:FacebookEvent):void{ btnShare.visible = false; btnSubmitFacebook.visible = true; var _local2:Sprite = (submitScore.getChildByName("scoreCover") as Sprite); _local2.visible = true; txtMessage.text = "You are now logged into Facebook."; } private function leftClick(_arg1:MouseEvent):void{ var _local2:MovieClip = ((_arg1.currentTarget as SimpleButton).parent as MovieClip); if (_local2.index == 0){ _local2.index = (_local2.items.length - 1); } else { _local2.index--; }; var _local3:InventoryItem = (_local2.items[_local2.index] as InventoryItem); _local2.item.gotoAndStop(_local3.frame); GameController.instance.chicken[_local2.typeName] = _local3; SoundManager.instance.buttonSoft(); } private function shareFacebookTotalClick(_arg1:MouseEvent):void{ GameController.instance.shareFacebook("Check out my throw!", (("I just made a total score of " + GameController.instance.chicken.totalScore) + " on FowlThrow!"), facebookCompleteCallBack); } private function scoreSubmit(_arg1:Event):void{ var _local2:Sprite; if (URLLoader(_arg1.currentTarget).data == "&msg=Score Added&Loaded=done"){ txtMessage.text = "Thank you, your score was submitted."; _local2 = (submitScore.getChildByName("scoreCover") as Sprite); _local2.visible = true; } else { txtMessage.text = "There was an error submitting your score, please try again."; }; } private function rightClick(_arg1:MouseEvent):void{ var _local2:MovieClip = ((_arg1.currentTarget as SimpleButton).parent as MovieClip); if (_local2.index == (_local2.items.length - 1)){ _local2.index = 0; } else { _local2.index++; }; var _local3:InventoryItem = (_local2.items[_local2.index] as InventoryItem); _local2.item.gotoAndStop(_local3.frame); GameController.instance.chicken[_local2.typeName] = _local3; SoundManager.instance.buttonSoft(); } private function buyClick2(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(Constants.SPONSOR_GAME_URL), "_blank"); } private function renderItems():void{ var _local5:InventoryItem; var _local6:MovieClip; var _local7:TextField; var _local8:MovieClip; toolTip.visible = false; toolTip.stopDrag(); cash.text = ("CASH - " + Helper.formatCost(GameController.instance.chicken.money)); var _local1:int; while (_local1 < GameController.instance.data.items.length) { _local5 = (GameController.instance.data.items[_local1] as InventoryItem); trace(_local5.siteLock); _local6 = (artwork.getChildByName(("buy" + _local1)) as MovieClip); _local7 = (_local6.getChildByName("cost") as TextField); if (((((!(Helper.isSiteLock(this))) && (!(_local5.siteLock)))) || (Helper.isSiteLock(this)))){ _local6.item.gotoAndStop(_local5.frame); _local6.data = _local5; _local7.text = Helper.formatCost(_local5.cost); trace(_local5.name, GameController.instance.chicken.getInventoryItemByName(_local5.name)); _local6.removeEventListener(MouseEvent.CLICK, buyClick); _local6.removeEventListener(MouseEvent.MOUSE_OVER, buyOver); _local6.removeEventListener(MouseEvent.MOUSE_OUT, buyOut); _local6.filters = []; _local6.useHandCursor = false; _local6.buttonMode = false; if (GameController.instance.chicken.getInventoryItemByName(_local5.name) != null){ _local6.item.alpha = 0.4; _local6.lock.visible = false; _local6.owned.alpha = 0.75; _local7.visible = false; _local6.btnBuy.visible = false; _local6.owned.visible = true; } else { _local6.item.alpha = 1; _local6.owned.visible = false; _local7.visible = true; if (_local5.cost > GameController.instance.chicken.money){ _local6.lock.visible = true; _local6.btnBuy.visible = false; _local6.useHandCursor = false; _local6.buttonMode = false; } else { _local6.lock.visible = false; _local6.useHandCursor = true; _local6.buttonMode = true; _local6.addEventListener(MouseEvent.CLICK, buyClick); _local6.btnBuy.visible = true; }; _local6.addEventListener(MouseEvent.MOUSE_OVER, buyOver); _local6.addEventListener(MouseEvent.MOUSE_OUT, buyOut); }; } else { _local6.item.gotoAndStop("locked"); _local6.lock.visible = false; _local7.visible = false; _local6.btnBuy.visible = false; _local6.owned.visible = false; _local6.addEventListener(MouseEvent.CLICK, buyClick2); _local6.useHandCursor = true; _local6.buttonMode = true; }; _local1++; }; MovieClip(viewer.getChildByName("bodyMaskClear")).gotoAndStop(2); _local1 = 0; while (_local1 < 8) { _local8 = (artwork.getChildByName(("inventory" + _local1)) as MovieClip); _local8.item.visible = false; _local8.title.visible = false; _local8.arrowLeft.visible = false; _local8.arrowRight.visible = false; _local8.inUse.visible = false; _local8.alpha = 0.6; _local8.removeEventListener(MouseEvent.CLICK, inventoryClick); _local8.removeEventListener(MouseEvent.MOUSE_OVER, inventoryOver); _local8.removeEventListener(MouseEvent.MOUSE_OUT, inventoryOut); if (viewer.getChildByName(("item" + _local1)) != null){ viewer.getChildByName(("item" + _local1)).visible = false; }; _local1++; }; var _local2:Array = GameController.instance.chicken.getInventoryItemsByGroup(InventoryItem.GROUP_MOTORS); var _local3:Array = GameController.instance.chicken.getInventoryItemsByGroup(InventoryItem.GROUP_PADDLES); var _local4:Array = GameController.instance.chicken.getInventoryItemsByGroup(null); initialiseScrollingInventory((artwork.getChildByName("inventory0") as MovieClip), _local2, "motor"); initialiseScrollingInventory((artwork.getChildByName("inventory1") as MovieClip), _local3, "paddle"); _local1 = 0; while (_local1 < _local4.length) { _local5 = (_local4[_local1] as InventoryItem); _local8 = (artwork.getChildByName(("inventory" + (_local1 + 2))) as MovieClip); _local8.item.visible = true; _local8.item.gotoAndStop(_local5.frame); viewer.getChildByName(_local5.name).visible = _local5.inUse; if ((((_local5.name == "item4")) && (_local5.inUse))){ MovieClip(viewer.getChildByName("bodyMaskClear")).gotoAndStop(1); }; _local8.alpha = 1; _local8.buttonMode = true; _local8.useHandCursor = true; _local8.addEventListener(MouseEvent.CLICK, inventoryClick); _local8.addEventListener(MouseEvent.MOUSE_OVER, inventoryOver); _local8.addEventListener(MouseEvent.MOUSE_OUT, inventoryOut); _local8.inUse.visible = _local5.inUse; _local8.data = _local5; _local1++; }; renderStats(); } private function inventoryOut(_arg1:MouseEvent):void{ toolTip.stopDrag(); toolTip.visible = false; var _local2:MovieClip = (_arg1.currentTarget as MovieClip); _local2.filters = []; } private function inventoryOver(_arg1:MouseEvent):void{ toolTip.visible = true; toolTip.gotoAndStop(1); var _local2:MovieClip = (_arg1.currentTarget as MovieClip); var _local3:InventoryItem = (_local2.data as InventoryItem); toolTip.startDrag(true); var _local4:TextField = (toolTip.getChildByName("titleLabel") as TextField); var _local5:TextField = (toolTip.getChildByName("descriptionLabel") as TextField); _local4.x = -166; _local5.x = -166; _local4.text = _local3.title; _local5.text = _local3.description; _local2.filters = [new GlowFilter(0xCC0000, 1, 10, 10, 3)]; } private function btnSubmitTotalClick(_arg1:MouseEvent):void{ var event = _arg1; cover.visible = true; submitScore.visible = true; var txtSubmitTitle:TextField = (submitScore.getChildByName("txtSubmitTitle") as TextField); txtMessage = (submitScore.getChildByName("txtMessage") as TextField); var txtUsername:TextField = (submitScore.getChildByName("txtUsername") as TextField); var txtScore:TextField = (submitScore.getChildByName("txtScore") as TextField); var btnBack:SimpleButton = (submitScore.getChildByName("btnBack") as SimpleButton); var btnSubmit:SimpleButton = (submitScore.getChildByName("btnSubmit") as SimpleButton); btnShare = (submitScore.getChildByName("btnShare") as SimpleButton); btnSubmitFacebook = (submitScore.getChildByName("btnSubmitFacebook") as SimpleButton); btnSubmitFacebook.visible = false; var scoreCover:Sprite = (submitScore.getChildByName("scoreCover") as Sprite); scoreCover.visible = false; txtMessage.text = "Submit your total score to the Teagames high score table."; txtScore.text = GameController.instance.chicken.totalScore.toString(); btnBack.addEventListener(MouseEvent.CLICK, closeSubmit); btnSubmit.removeEventListener(MouseEvent.CLICK, btnSubmitPersonalClick2); btnSubmit.removeEventListener(MouseEvent.CLICK, btnSubmitTotalClick2); btnSubmit.addEventListener(MouseEvent.CLICK, btnSubmitTotalClick2); btnShare.addEventListener(MouseEvent.CLICK, function (_arg1:MouseEvent):void{ GameController.instance.shareFacebookStart(facebookStartCallBack, facebookError); }); btnSubmitFacebook.addEventListener(MouseEvent.CLICK, shareFacebookTotalClick); btnShare.visible = true; btnShare.visible = false; btnSubmitFacebook.visible = true; } private function backClick(_arg1:MouseEvent):void{ ScreenManager.instance.showScreenByName(ScreenManager.SCREEN_MENU); GameController.instance.saveGame(); SoundManager.instance.buttonClick(); } private function facebookError(_arg1:IOErrorEvent):void{ btnShare.visible = true; btnSubmitFacebook.visible = false; } private function buyOut(_arg1:MouseEvent):void{ toolTip.stopDrag(); toolTip.visible = false; var _local2:MovieClip = (_arg1.currentTarget as MovieClip); _local2.filters = []; var _local3:InventoryItem = (_local2.data as InventoryItem); } private function btnSubmitTotalClick2(_arg1:MouseEvent):void{ var _local2:TextField = (submitScore.getChildByName("txtUsername") as TextField); if ((((_local2.text == "")) || ((_local2.text == "Please enter username.")))){ _local2.text = "Please enter username."; } else { GameController.instance.submitScore(_local2.text, GameController.instance.chicken.totalScore, 0, scoreSubmit, scoreError); }; } private function shareFacebookPersonalClick(_arg1:MouseEvent):void{ GameController.instance.shareFacebook("Check out my throw!", (("I just made a personal best score of " + GameController.instance.chicken.personalBestScore) + " on FowlThrow!"), facebookCompleteCallBack); } private function scrollItemOver(_arg1:MouseEvent):void{ toolTip.visible = true; toolTip.gotoAndStop(2); var _local2:MovieClip = ((_arg1.currentTarget as MovieClip).parent as MovieClip); var _local3:Array = (_local2.items as Array); var _local4:InventoryItem = (_local3[_local2.index] as InventoryItem); toolTip.startDrag(true); var _local5:TextField = (toolTip.getChildByName("titleLabel") as TextField); var _local6:TextField = (toolTip.getChildByName("descriptionLabel") as TextField); _local5.x = 29; _local6.x = 29; _local5.text = _local4.title; _local6.text = _local4.description; _local2.filters = [new GlowFilter(0xCC0000, 1, 10, 10, 3)]; } private function buyOver(_arg1:MouseEvent):void{ toolTip.visible = true; toolTip.gotoAndStop(1); var _local2:MovieClip = (_arg1.currentTarget as MovieClip); var _local3:InventoryItem = (_local2.data as InventoryItem); toolTip.startDrag(true); var _local4:TextField = (toolTip.getChildByName("titleLabel") as TextField); var _local5:TextField = (toolTip.getChildByName("descriptionLabel") as TextField); _local4.x = -166; _local5.x = -166; _local4.text = _local3.title; _local5.text = _local3.description; _local2.filters = [new GlowFilter(0x669900, 1, 10, 10, 3)]; } private function initialiseScrollingInventory(_arg1:MovieClip, _arg2:Array, _arg3:String):void{ _arg1.typeName = _arg3; _arg1.alpha = 1; _arg1.items = _arg2; _arg1.index = 0; var _local4:int; while (_local4 < _arg1.items.length) { if (_arg1.items[_local4] == GameController.instance.chicken[_arg1.typeName]){ _arg1.index = _local4; }; _local4++; }; _arg1.item.visible = true; var _local5:InventoryItem = (_arg1.items[_arg1.index] as InventoryItem); _arg1.item.gotoAndStop(_local5.frame); _arg1.item.addEventListener(MouseEvent.MOUSE_OVER, scrollItemOver); _arg1.item.addEventListener(MouseEvent.MOUSE_OUT, scrollItemOut); if (_arg2.length > 1){ _arg1.arrowLeft.visible = true; _arg1.arrowRight.visible = true; _arg1.arrowLeft.addEventListener(MouseEvent.CLICK, leftClick); _arg1.arrowRight.addEventListener(MouseEvent.CLICK, rightClick); } else { _arg1.arrowLeft.visible = false; _arg1.arrowRight.visible = false; }; } } }//package shockwood.ui
Section 280
//Constants (shockwood.utils.Constants) package shockwood.utils { public class Constants { public static const SITELOCK_URL:String = "www.teagames.com"; public static const STAGE_WIDTH:Number = 640; public static const STAT_INCREASE_BASE_COST:Number = 30; public static const PIXELS_PER_METER:Number = 30; public static const AD_CODE_CPMSTAR:String = "2126QB50CDA11"; public static const BASE_URL:String = "http://www.teagames.com"; public static const WORLD_ITERATIONS:Number = 5; public static const DISTANCEDIVIDER:Number = 0.5; public static const SPONSOR_GAME_URL:String = "http://www.teagames.com/games/fowlthrow/play.php?promo=Newgrounds"; public static const STAGE_HEIGHT:Number = 510; public static const STAT_MAX_VALUE:Number = 10; public static const SPONSOR_MAIN_URL:String = "http://www.teagames.com/?promo=Newgrounds"; public static const WORLD_TIME_STEP:Number = 0.05; public static const STAT_INCREASE_MULTIPLIER:Number = 1.5; } }//package shockwood.utils
Section 281
//Helper (shockwood.utils.Helper) package shockwood.utils { import flash.display.*; public class Helper { private static var stage:DisplayObject; public static function convertMillisecondsToMMSS(_arg1:Number):String{ var _local2:Number; var _local3:Number; var _local4:String; var _local5:String; var _local6:Number = (_arg1 / 1000); if (_local6 <= 0){ return ("00:00"); }; if (_local6 > ((99 * 60) + 59)){ return ("99:59"); }; _local2 = Math.floor((_local6 / 60)); _local3 = Math.round((_local6 % 60)); _local4 = _local2.toString(); _local5 = _local3.toString(); if (_local4.length == 1){ _local4 = ("0" + _local4); } else { if (_local4.length > 2){ _local4 = "99"; }; }; if (_local5.length == 1){ _local5 = ("0" + _local5); } else { if (_local5.length > 2){ _local5 = "59"; }; }; return (((_local4 + ":") + _local5)); } public static function checkSum(_arg1:String):Number{ var _local2:Number = 0; var _local3:int; while (_local3 < _arg1.length) { _local2 = (_local2 + _arg1.charCodeAt(_local3)); _local3++; }; return (_local2); } public static function formatCost(_arg1:Number):String{ var _local2:String = Math.round(_arg1).toString(); var _local3 = ""; var _local4:int; var _local5:int = _local2.length; while (_local5 >= 0) { if (_local4 > 3){ _local3 = ("," + _local3); _local4 = 0; } else { _local4++; }; _local3 = (_local2.charAt(_local5) + _local3); _local5--; }; _local3 = ("$" + _local3); return (_local3); } public static function convertPixelsToMeters(_arg1:Number):Number{ return ((_arg1 / Constants.PIXELS_PER_METER)); } public static function convertSecondsToMMSS(_arg1:Number):String{ return (convertMillisecondsToMMSS((_arg1 * 1000))); } public static function convertMetersToPixels(_arg1:Number):Number{ return ((_arg1 * Constants.PIXELS_PER_METER)); } public static function formatCostPence(_arg1:Number):String{ _arg1 = roundToPlace(_arg1, 2); var _local2:Array = _arg1.toString().split("."); if (_local2[1].length == 1){ return ((("$" + _arg1) + "0")); }; if (_local2[1] == null){ return ((("$" + _arg1) + ".00")); }; return (("$" + _arg1)); } public static function adsAllowed(_arg1:DisplayObject=null):Boolean{ if (stage == null){ stage = _arg1; }; return ((stage.loaderInfo.url.indexOf("kongregate.com") == -1)); } public static function addPercentage(_arg1:Number, _arg2:Number):Number{ var _local3:Number = ((_arg2 / 100) * _arg1); return ((_arg1 + _local3)); } public static function isSiteLock(_arg1:DisplayObject=null):Boolean{ if (stage == null){ stage = _arg1; }; return ((((stage.loaderInfo.url.indexOf(("http://" + Constants.SITELOCK_URL)) > -1)) || ((stage.loaderInfo.url.indexOf(("http://www." + Constants.SITELOCK_URL)) > -1)))); } public static function roundToPlace(_arg1:Number, _arg2:int):Number{ var _local3:Number = Math.pow(10, _arg2); return ((int((_arg1 * _local3)) / _local3)); } } }//package shockwood.utils
Section 282
//KeyObject (shockwood.utils.KeyObject) package shockwood.utils { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.ui.*; public dynamic class KeyObject extends Proxy { private static var keysDown:Object; private static var stage:Stage; public function KeyObject(_arg1:Stage){ construct(_arg1); } private function keyReleased(_arg1:KeyboardEvent):void{ delete keysDown[_arg1.keyCode]; } public function deconstruct():void{ stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyPressed); stage.removeEventListener(KeyboardEvent.KEY_UP, keyReleased); keysDown = new Object(); KeyObject.stage = null; } public function construct(_arg1:Stage):void{ KeyObject.stage = _arg1; keysDown = new Object(); _arg1.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed); _arg1.addEventListener(KeyboardEvent.KEY_UP, keyReleased); } private function keyPressed(_arg1:KeyboardEvent):void{ keysDown[_arg1.keyCode] = true; } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){ return (((_arg1 in Keyboard)) ? Keyboard[_arg1] : -1); } public function isDown(_arg1:uint):Boolean{ return (Boolean((_arg1 in keysDown))); } } }//package shockwood.utils
Section 283
//AllAssets (shockwood.AllAssets) package shockwood { public class AllAssets { public static var gauge:Class = AllAssets_gauge; public static var rope:Class = AllAssets_rope; public static var art_twoCv:Class = AllAssets_art_twoCv; public static var art_barrel:Class = AllAssets_art_barrel; public static var obstacle_rock:Class = AllAssets_obstacle_rock; public static var sponsorSplash:Class = AllAssets_sponsorSplash; public static var obstacle_platform:Class = AllAssets_obstacle_platform; public static var art_morrisMinor:Class = AllAssets_art_morrisMinor; public static var obstacle_twoCv:Class = AllAssets_obstacle_twoCv; public static var sound_thud:Class = AllAssets_sound_thud; public static var soundToggle:Class = AllAssets_soundToggle; public static var art_skateboard:Class = AllAssets_art_skateboard; public static var art_bush:Class = AllAssets_art_bush; public static var obstacle_sledge:Class = AllAssets_obstacle_sledge; public static var screenMap:Class = AllAssets_screenMap; public static var art_tent:Class = AllAssets_art_tent; public static var sound_personalbest:Class = AllAssets_sound_personalbest; public static var art_fence:Class = AllAssets_art_fence; public static var obstacle_barrel:Class = AllAssets_obstacle_barrel; public static var stageCover:Class = AllAssets_stageCover; public static var art_ball:Class = AllAssets_art_ball; public static var sound_thud2:Class = AllAssets_sound_thud2; public static var obstacle_morrisMinor:Class = AllAssets_obstacle_morrisMinor; public static var stars:Class = AllAssets_stars; public static var sound_cluck:Class = AllAssets_sound_cluck; public static var sound_cluck2:Class = AllAssets_sound_cluck2; public static var art_snowboard:Class = AllAssets_art_snowboard; public static var sound_button:Class = AllAssets_sound_button; public static var art_balloon:Class = AllAssets_art_balloon; public static var sound_thud3:Class = AllAssets_sound_thud3; public static var screenGame:Class = AllAssets_screenGame; public static var art_cone:Class = AllAssets_art_cone; public static var obstacle_fence:Class = AllAssets_obstacle_fence; public static var sound_highlight:Class = AllAssets_sound_highlight; public static var obstacle_balloon:Class = AllAssets_obstacle_balloon; public static var art_beetle:Class = AllAssets_art_beetle; public static var art_cactus:Class = AllAssets_art_cactus; public static var screenPreLoader:Class = AllAssets_screenPreLoader; public static var screenStats:Class = AllAssets_screenStats; public static var obstacle_bush:Class = AllAssets_obstacle_bush; public static var art_motor:Class = AllAssets_art_motor; public static var obstacle_snowboard:Class = AllAssets_obstacle_snowboard; public static var obstacle_skateboard:Class = AllAssets_obstacle_skateboard; public static var definitionLevels:Class = AllAssets_definitionLevels; public static var art_lounger:Class = AllAssets_art_lounger; public static var sound_buttonsoft:Class = AllAssets_sound_buttonsoft; public static var obstacle_tent:Class = AllAssets_obstacle_tent; public static var art_scorpion:Class = AllAssets_art_scorpion; public static var obstacle_ball:Class = AllAssets_obstacle_ball; public static var definitionObstacles:Class = AllAssets_definitionObstacles; public static var art_umbrella:Class = AllAssets_art_umbrella; public static var sound_skid:Class = AllAssets_sound_skid; public static var sound_bounce:Class = AllAssets_sound_bounce; public static var art_rock:Class = AllAssets_art_rock; public static var art_hay:Class = AllAssets_art_hay; public static var art_paddle:Class = AllAssets_art_paddle; public static var obstacle_lounger:Class = AllAssets_obstacle_lounger; public static var sound_soundtrack:Class = AllAssets_sound_soundtrack; public static var art_platform:Class = AllAssets_art_platform; public static var obstacle_cone:Class = AllAssets_obstacle_cone; public static var art_chicken:Class = AllAssets_art_chicken; public static var obstacle_beetle:Class = AllAssets_obstacle_beetle; public static var obstacle_cactus:Class = AllAssets_obstacle_cactus; public static var mainBg:Class = AllAssets_mainBg; public static var sound_launch:Class = AllAssets_sound_launch; public static var screenMenu:Class = AllAssets_screenMenu; public static var definitionHero:Class = AllAssets_definitionHero; public static var obstacle_hay:Class = AllAssets_obstacle_hay; public static var art_sledge:Class = AllAssets_art_sledge; public static var obstacle_umbrella:Class = AllAssets_obstacle_umbrella; public static var sound_collect:Class = AllAssets_sound_collect; public static var obstacle_scorpion:Class = AllAssets_obstacle_scorpion; } }//package shockwood
Section 284
//AllAssets_art_ball (shockwood.AllAssets_art_ball) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_ball extends SpriteAsset { public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var collar3:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var totalScore:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var btnMenu:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var itemLycraWings1:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 285
//AllAssets_art_balloon (shockwood.AllAssets_art_balloon) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_balloon extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 286
//AllAssets_art_barrel (shockwood.AllAssets_art_barrel) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_barrel extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 287
//AllAssets_art_beetle (shockwood.AllAssets_art_beetle) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_beetle extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 288
//AllAssets_art_bush (shockwood.AllAssets_art_bush) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_bush extends SpriteAsset { public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var collar3:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var totalScore:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var btnMenu:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var itemLycraWings1:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 289
//AllAssets_art_cactus (shockwood.AllAssets_art_cactus) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_cactus extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 290
//AllAssets_art_chicken (shockwood.AllAssets_art_chicken) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_chicken extends MovieClipAsset { public var itemGoggles3:DisplayObject; public var box:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var eyes3:DisplayObject; public var eyes4:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var collar1:DisplayObject; public var collar2:DisplayObject; public var collar4:DisplayObject; public var collar3:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var vertex_1:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemLycraWings1:DisplayObject; public var itemLycraWings2:DisplayObject; public var crown4:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemWings4:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var itemWings1:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemWings3:DisplayObject; public var crown3:DisplayObject; public var itemWings2:DisplayObject; public var vertex_0:DisplayObject; public var artwork:DisplayObject; public var itemGoggles2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; } }//package shockwood
Section 291
//AllAssets_art_cone (shockwood.AllAssets_art_cone) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_cone extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 292
//AllAssets_art_fence (shockwood.AllAssets_art_fence) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_fence extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 293
//AllAssets_art_hay (shockwood.AllAssets_art_hay) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_hay extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 294
//AllAssets_art_lounger (shockwood.AllAssets_art_lounger) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_lounger extends SpriteAsset { public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var vertex_4:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var inventory4:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var vertex_5:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var itemHelmet2:DisplayObject; public var barStability:DisplayObject; public var event2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var circle:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var map:DisplayObject; public var submitScore:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var titleLabel:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var item6:DisplayObject; public var item3:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var collar3:DisplayObject; public var cover:DisplayObject; public var btnPlay:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var txtHeight:DisplayObject; public var cost:DisplayObject; public var collar4:DisplayObject; public var totalScore:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var btnMenu:DisplayObject; public var toolTip:DisplayObject; public var itemLycraWings3:DisplayObject; public var bottomBar:DisplayObject; public var itemLycraWings1:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; } }//package shockwood
Section 295
//AllAssets_art_morrisMinor (shockwood.AllAssets_art_morrisMinor) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_morrisMinor extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 296
//AllAssets_art_motor (shockwood.AllAssets_art_motor) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_motor extends MovieClipAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 297
//AllAssets_art_paddle (shockwood.AllAssets_art_paddle) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_paddle extends MovieClipAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var vertex_5:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 298
//AllAssets_art_platform (shockwood.AllAssets_art_platform) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_platform extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 299
//AllAssets_art_rock (shockwood.AllAssets_art_rock) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_rock extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event1:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 300
//AllAssets_art_scorpion (shockwood.AllAssets_art_scorpion) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_scorpion extends SpriteAsset { public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var vertex_4:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var inventory4:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var vertex_5:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var itemHelmet2:DisplayObject; public var barStability:DisplayObject; public var event2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var circle:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var map:DisplayObject; public var submitScore:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var titleLabel:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var item6:DisplayObject; public var item3:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var collar3:DisplayObject; public var cover:DisplayObject; public var btnPlay:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var txtHeight:DisplayObject; public var cost:DisplayObject; public var collar4:DisplayObject; public var totalScore:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var btnMenu:DisplayObject; public var toolTip:DisplayObject; public var itemLycraWings3:DisplayObject; public var bottomBar:DisplayObject; public var itemLycraWings1:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; } }//package shockwood
Section 301
//AllAssets_art_skateboard (shockwood.AllAssets_art_skateboard) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_skateboard extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 302
//AllAssets_art_sledge (shockwood.AllAssets_art_sledge) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_sledge extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 303
//AllAssets_art_snowboard (shockwood.AllAssets_art_snowboard) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_snowboard extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 304
//AllAssets_art_tent (shockwood.AllAssets_art_tent) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_tent extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 305
//AllAssets_art_twoCv (shockwood.AllAssets_art_twoCv) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_twoCv extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 306
//AllAssets_art_umbrella (shockwood.AllAssets_art_umbrella) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_art_umbrella extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 307
//AllAssets_definitionHero (shockwood.AllAssets_definitionHero) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_definitionHero extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var vertex_5:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 308
//AllAssets_definitionLevels (shockwood.AllAssets_definitionLevels) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_definitionLevels extends MovieClipAsset { public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var collar3:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var totalScore:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var btnMenu:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var itemLycraWings1:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 309
//AllAssets_definitionObstacles (shockwood.AllAssets_definitionObstacles) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_definitionObstacles extends MovieClipAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 310
//AllAssets_gauge (shockwood.AllAssets_gauge) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_gauge extends SpriteAsset { public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var vertex_4:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var inventory4:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var vertex_5:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var itemHelmet2:DisplayObject; public var barStability:DisplayObject; public var event2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var circle:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var map:DisplayObject; public var submitScore:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var titleLabel:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var item6:DisplayObject; public var item3:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var collar3:DisplayObject; public var cover:DisplayObject; public var btnPlay:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var txtHeight:DisplayObject; public var cost:DisplayObject; public var collar4:DisplayObject; public var totalScore:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var btnMenu:DisplayObject; public var toolTip:DisplayObject; public var itemLycraWings3:DisplayObject; public var bottomBar:DisplayObject; public var itemLycraWings1:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; } }//package shockwood
Section 311
//AllAssets_mainBg (shockwood.AllAssets_mainBg) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_mainBg extends SpriteAsset { public var artwork:DisplayObject; public var vertex_0:DisplayObject; public var vertex_1:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; } }//package shockwood
Section 312
//AllAssets_obstacle_ball (shockwood.AllAssets_obstacle_ball) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_ball extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 313
//AllAssets_obstacle_balloon (shockwood.AllAssets_obstacle_balloon) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_balloon extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 314
//AllAssets_obstacle_barrel (shockwood.AllAssets_obstacle_barrel) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_barrel extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 315
//AllAssets_obstacle_beetle (shockwood.AllAssets_obstacle_beetle) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_beetle extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var vertex_5:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 316
//AllAssets_obstacle_bush (shockwood.AllAssets_obstacle_bush) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_bush extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 317
//AllAssets_obstacle_cactus (shockwood.AllAssets_obstacle_cactus) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_cactus extends SpriteAsset { public var box:DisplayObject; public var artwork:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_1:DisplayObject; } }//package shockwood
Section 318
//AllAssets_obstacle_cone (shockwood.AllAssets_obstacle_cone) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_cone extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var vertex_5:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 319
//AllAssets_obstacle_fence (shockwood.AllAssets_obstacle_fence) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_fence extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 320
//AllAssets_obstacle_hay (shockwood.AllAssets_obstacle_hay) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_hay extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 321
//AllAssets_obstacle_lounger (shockwood.AllAssets_obstacle_lounger) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_lounger extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 322
//AllAssets_obstacle_morrisMinor (shockwood.AllAssets_obstacle_morrisMinor) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_morrisMinor extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var vertex_5:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 323
//AllAssets_obstacle_platform (shockwood.AllAssets_obstacle_platform) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_platform extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event1:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 324
//AllAssets_obstacle_rock (shockwood.AllAssets_obstacle_rock) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_rock extends SpriteAsset { public var artwork:DisplayObject; public var vertex_0:DisplayObject; public var vertex_1:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; } }//package shockwood
Section 325
//AllAssets_obstacle_scorpion (shockwood.AllAssets_obstacle_scorpion) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_scorpion extends SpriteAsset { public var artwork:DisplayObject; public var vertex_0:DisplayObject; public var vertex_1:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; } }//package shockwood
Section 326
//AllAssets_obstacle_skateboard (shockwood.AllAssets_obstacle_skateboard) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_skateboard extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 327
//AllAssets_obstacle_sledge (shockwood.AllAssets_obstacle_sledge) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_sledge extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 328
//AllAssets_obstacle_snowboard (shockwood.AllAssets_obstacle_snowboard) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_snowboard extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 329
//AllAssets_obstacle_tent (shockwood.AllAssets_obstacle_tent) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_tent extends SpriteAsset { public var box:DisplayObject; public var artwork:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var vertex_1:DisplayObject; } }//package shockwood
Section 330
//AllAssets_obstacle_twoCv (shockwood.AllAssets_obstacle_twoCv) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_twoCv extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 331
//AllAssets_obstacle_umbrella (shockwood.AllAssets_obstacle_umbrella) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_obstacle_umbrella extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 332
//AllAssets_rope (shockwood.AllAssets_rope) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_rope extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var vertex_5:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 333
//AllAssets_screenGame (shockwood.AllAssets_screenGame) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_screenGame extends SpriteAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 334
//AllAssets_screenMap (shockwood.AllAssets_screenMap) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_screenMap extends SpriteAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event1:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 335
//AllAssets_screenMenu (shockwood.AllAssets_screenMenu) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_screenMenu extends SpriteAsset { public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var eyes4:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_1:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var itemGoggles2:DisplayObject; public var itemWings1:DisplayObject; public var btnBack:DisplayObject; public var crown3:DisplayObject; public var itemGoggles4:DisplayObject; public var crown4:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var btnPlay:DisplayObject; public var menu3:DisplayObject; public var cover:DisplayObject; public var collar2:DisplayObject; public var box:DisplayObject; public var collar1:DisplayObject; public var myLink:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var itemHelmet3:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var itemHelmet2:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemLycraWings1:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemHelmet4:DisplayObject; public var label:DisplayObject; public var artwork:DisplayObject; } }//package shockwood
Section 336
//AllAssets_screenPreLoader (shockwood.AllAssets_screenPreLoader) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_screenPreLoader extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 337
//AllAssets_screenStats (shockwood.AllAssets_screenStats) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_screenStats extends SpriteAsset { public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var vertex_4:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var inventory4:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var vertex_5:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var itemHelmet2:DisplayObject; public var barStability:DisplayObject; public var event2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var circle:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var map:DisplayObject; public var submitScore:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var titleLabel:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var item6:DisplayObject; public var item3:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var collar3:DisplayObject; public var cover:DisplayObject; public var btnPlay:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var txtHeight:DisplayObject; public var cost:DisplayObject; public var collar4:DisplayObject; public var totalScore:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var btnMenu:DisplayObject; public var toolTip:DisplayObject; public var itemLycraWings3:DisplayObject; public var bottomBar:DisplayObject; public var itemLycraWings1:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; } }//package shockwood
Section 338
//AllAssets_sound_bounce (shockwood.AllAssets_sound_bounce) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_bounce extends SoundAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 339
//AllAssets_sound_button (shockwood.AllAssets_sound_button) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_button extends SoundAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 340
//AllAssets_sound_buttonsoft (shockwood.AllAssets_sound_buttonsoft) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_buttonsoft extends SoundAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var vertex_5:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 341
//AllAssets_sound_cluck (shockwood.AllAssets_sound_cluck) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_cluck extends SoundAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var vertex_5:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 342
//AllAssets_sound_cluck2 (shockwood.AllAssets_sound_cluck2) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_cluck2 extends SoundAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event1:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 343
//AllAssets_sound_collect (shockwood.AllAssets_sound_collect) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_collect extends SoundAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var vertex_5:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 344
//AllAssets_sound_highlight (shockwood.AllAssets_sound_highlight) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_highlight extends SoundAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var circle:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event1:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 345
//AllAssets_sound_launch (shockwood.AllAssets_sound_launch) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_launch extends SoundAsset { public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var collar3:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var totalScore:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var btnMenu:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var itemLycraWings1:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 346
//AllAssets_sound_personalbest (shockwood.AllAssets_sound_personalbest) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_personalbest extends SoundAsset { public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var vertex_4:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var inventory4:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var vertex_5:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var itemHelmet2:DisplayObject; public var barStability:DisplayObject; public var event2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var circle:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var map:DisplayObject; public var submitScore:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var titleLabel:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var item6:DisplayObject; public var item3:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var collar3:DisplayObject; public var cover:DisplayObject; public var btnPlay:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var txtHeight:DisplayObject; public var cost:DisplayObject; public var collar4:DisplayObject; public var totalScore:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var btnMenu:DisplayObject; public var toolTip:DisplayObject; public var itemLycraWings3:DisplayObject; public var bottomBar:DisplayObject; public var itemLycraWings1:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; } }//package shockwood
Section 347
//AllAssets_sound_skid (shockwood.AllAssets_sound_skid) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_skid extends SoundAsset { public var levelUnlock:DisplayObject; public var txtScore:DisplayObject; public var message:DisplayObject; public var arrow:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var personalBest:DisplayObject; public var bg:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var vertex_1:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var txtDistance:DisplayObject; public var txtSubmitTitle:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var menu3:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event1:DisplayObject; public var event2:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var event5:DisplayObject; public var event3:DisplayObject; public var event4:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear3:DisplayObject; public var label:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var lock:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles1:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var btnShockwood:DisplayObject; public var alert:DisplayObject; public var submitScore:DisplayObject; public var map:DisplayObject; public var rideOnBonus:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var btnBack:DisplayObject; public var txtMessage:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var btnSubmit:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var txtHeight:DisplayObject; public var collar2:DisplayObject; public var btnHelp:DisplayObject; public var cover:DisplayObject; public var myLink:DisplayObject; public var box:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemLycraWings1:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; } }//package shockwood
Section 348
//AllAssets_sound_soundtrack (shockwood.AllAssets_sound_soundtrack) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_soundtrack extends SoundAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 349
//AllAssets_sound_thud (shockwood.AllAssets_sound_thud) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_thud extends SoundAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 350
//AllAssets_sound_thud2 (shockwood.AllAssets_sound_thud2) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_thud2 extends SoundAsset { public var bottomBar:DisplayObject; public var txtScore:DisplayObject; public var artwork:DisplayObject; public var arrow:DisplayObject; public var itemHelmet3:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemBreastPlate1:DisplayObject; public var maxSpeed:DisplayObject; public var personalBest:DisplayObject; public var scoreCover:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var submitScore:DisplayObject; public var itemGoggles2:DisplayObject; public var crown3:DisplayObject; public var vertex_1:DisplayObject; public var btnBack:DisplayObject; public var newUpgrade:DisplayObject; public var crown4:DisplayObject; public var txtUsername:DisplayObject; public var rideOnBonus:DisplayObject; public var btnMoreGames:DisplayObject; public var itemWings1:DisplayObject; public var bounceBonus:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var itemGoggles4:DisplayObject; public var txtDistance:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var txtSubmitTitle:DisplayObject; public var btnSubmit:DisplayObject; public var itemStabilisers4:DisplayObject; public var txtMessage:DisplayObject; public var credits:DisplayObject; public var instructions:DisplayObject; public var maxHeight:DisplayObject; public var totalScore:DisplayObject; public var btnPlay:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var collar2:DisplayObject; public var txtHeight:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var bodyMaskClear2:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var collar3:DisplayObject; public var itemHelmet2:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var collar1:DisplayObject; public var itemLycraWings1:DisplayObject; public var btnShare:DisplayObject; public var longLandingBonus:DisplayObject; public var btnLevels:DisplayObject; public var itemHelmet4:DisplayObject; public var box:DisplayObject; public var collar4:DisplayObject; public var myLink:DisplayObject; public var label:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var btnClose:DisplayObject; public var ratingIncrease:DisplayObject; } }//package shockwood
Section 351
//AllAssets_sound_thud3 (shockwood.AllAssets_sound_thud3) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sound_thud3 extends SoundAsset { public var eyes1:DisplayObject; public var eyes2:DisplayObject; public var eyes3:DisplayObject; public var eyes4:DisplayObject; public var btnContinue:DisplayObject; public var btnTeagames:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var itemGoggles3:DisplayObject; public var vertex_0:DisplayObject; public var vertex_1:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; public var vertex_4:DisplayObject; public var crown1:DisplayObject; public var crown2:DisplayObject; public var alert:DisplayObject; public var itemWings2:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var itemGoggles2:DisplayObject; public var itemWings1:DisplayObject; public var btnBack:DisplayObject; public var crown3:DisplayObject; public var itemGoggles4:DisplayObject; public var crown4:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var credits:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var menu4:DisplayObject; public var btnPlay:DisplayObject; public var menu3:DisplayObject; public var cover:DisplayObject; public var collar2:DisplayObject; public var box:DisplayObject; public var collar1:DisplayObject; public var myLink:DisplayObject; public var collar3:DisplayObject; public var collar4:DisplayObject; public var itemHelmet1:DisplayObject; public var bodyMaskClear1:DisplayObject; public var itemHelmet3:DisplayObject; public var bodyMaskClear3:DisplayObject; public var bodyMaskClear4:DisplayObject; public var itemHelmet2:DisplayObject; public var bodyMaskClear2:DisplayObject; public var itemLycraWings1:DisplayObject; public var itemLycraWings2:DisplayObject; public var itemLycraWings3:DisplayObject; public var itemLycraWings4:DisplayObject; public var itemHelmet4:DisplayObject; public var label:DisplayObject; public var artwork:DisplayObject; } }//package shockwood
Section 352
//AllAssets_soundToggle (shockwood.AllAssets_soundToggle) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_soundToggle extends MovieClipAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var vertex_6:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 353
//AllAssets_sponsorSplash (shockwood.AllAssets_sponsorSplash) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_sponsorSplash extends MovieClipAsset { public var artwork:DisplayObject; public var vertex_0:DisplayObject; public var vertex_1:DisplayObject; public var vertex_2:DisplayObject; public var vertex_3:DisplayObject; } }//package shockwood
Section 354
//AllAssets_stageCover (shockwood.AllAssets_stageCover) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_stageCover extends SpriteAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 355
//AllAssets_stars (shockwood.AllAssets_stars) package shockwood { import flash.display.*; import mx.core.*; public class AllAssets_stars extends MovieClipAsset { public var txtScore:DisplayObject; public var arrow:DisplayObject; public var message:DisplayObject; public var eyes1:DisplayObject; public var btnSubmitTotal:DisplayObject; public var eyes3:DisplayObject; public var btnRestart:DisplayObject; public var eyes2:DisplayObject; public var eyes4:DisplayObject; public var powerBonus:DisplayObject; public var viewer:DisplayObject; public var inUse:DisplayObject; public var bg:DisplayObject; public var personalBest:DisplayObject; public var inventory0:DisplayObject; public var inventory1:DisplayObject; public var inventory2:DisplayObject; public var inventory3:DisplayObject; public var title:DisplayObject; public var inventory5:DisplayObject; public var crown2:DisplayObject; public var crown3:DisplayObject; public var crown4:DisplayObject; public var itemWings3:DisplayObject; public var itemWings4:DisplayObject; public var crown1:DisplayObject; public var inventory7:DisplayObject; public var newUpgrade:DisplayObject; public var itemWings2:DisplayObject; public var box_bounce_fixed_3:DisplayObject; public var inventory4:DisplayObject; public var box_bounce_fixed_6:DisplayObject; public var inventory6:DisplayObject; public var buy0:DisplayObject; public var buy1:DisplayObject; public var buy2:DisplayObject; public var buy3:DisplayObject; public var buy4:DisplayObject; public var buy5:DisplayObject; public var buy6:DisplayObject; public var buy7:DisplayObject; public var buy8:DisplayObject; public var buy9:DisplayObject; public var itemWings1:DisplayObject; public var box_bounce_fixed_4:DisplayObject; public var box_bounce_fixed_5:DisplayObject; public var bounceBonus:DisplayObject; public var vertex_2:DisplayObject; public var btnSubmitFacebook:DisplayObject; public var box_bounce_fixed_1:DisplayObject; public var box_bounce_fixed_2:DisplayObject; public var scoreCover:DisplayObject; public var vertex_0:DisplayObject; public var descriptionLabel:DisplayObject; public var vertex_5:DisplayObject; public var btnBuy:DisplayObject; public var txtDistance:DisplayObject; public var vertex_1:DisplayObject; public var txtSubmitTitle:DisplayObject; public var vertex_4:DisplayObject; public var credits:DisplayObject; public var vertex_3:DisplayObject; public var owned:DisplayObject; public var adBox:DisplayObject; public var menu1:DisplayObject; public var menu2:DisplayObject; public var personalBestScore:DisplayObject; public var menu3:DisplayObject; public var menu4:DisplayObject; public var box_ground_fixed:DisplayObject; public var selectedLevelLabel:DisplayObject; public var itemHelmet1:DisplayObject; public var itemHelmet2:DisplayObject; public var itemHelmet3:DisplayObject; public var itemHelmet4:DisplayObject; public var bodyMaskClear4:DisplayObject; public var event2:DisplayObject; public var event3:DisplayObject; public var barStability:DisplayObject; public var event4:DisplayObject; public var bodyMaskClear3:DisplayObject; public var circle:DisplayObject; public var event5:DisplayObject; public var longLandingBonus:DisplayObject; public var event1:DisplayObject; public var btnLevels:DisplayObject; public var bodyMaskClear2:DisplayObject; public var label:DisplayObject; public var ratingIncrease:DisplayObject; public var loaderBar:DisplayObject; public var btnClose:DisplayObject; public var btnShare:DisplayObject; public var bodyMaskClear1:DisplayObject; public var item:DisplayObject; public var location1:DisplayObject; public var location2:DisplayObject; public var location3:DisplayObject; public var location4:DisplayObject; public var location5:DisplayObject; public var btnContinue:DisplayObject; public var buy10:DisplayObject; public var btnTeagames:DisplayObject; public var circle_hinge_0_pivot:DisplayObject; public var lock:DisplayObject; public var cash:DisplayObject; public var buy11:DisplayObject; public var itemBreastPlate1:DisplayObject; public var itemBreastPlate2:DisplayObject; public var itemBreastPlate3:DisplayObject; public var itemBreastPlate4:DisplayObject; public var bodyMaskClear:DisplayObject; public var maxSpeed:DisplayObject; public var itemGoggles2:DisplayObject; public var itemGoggles3:DisplayObject; public var itemGoggles4:DisplayObject; public var itemGoggles1:DisplayObject; public var btnShockwood:DisplayObject; public var submitScore:DisplayObject; public var btnBack:DisplayObject; public var rideOnBonus:DisplayObject; public var alert:DisplayObject; public var txtUsername:DisplayObject; public var btnMoreGames:DisplayObject; public var map:DisplayObject; public var txtMessage:DisplayObject; public var box_post_fixed_1:DisplayObject; public var box_post_fixed_2:DisplayObject; public var item1:DisplayObject; public var item2:DisplayObject; public var item4:DisplayObject; public var item5:DisplayObject; public var titleLabel:DisplayObject; public var item3:DisplayObject; public var item6:DisplayObject; public var itemStabilisers1:DisplayObject; public var itemStabilisers2:DisplayObject; public var itemStabilisers3:DisplayObject; public var itemStabilisers4:DisplayObject; public var arrowRight:DisplayObject; public var btnSubmit:DisplayObject; public var box_platform_fixed:DisplayObject; public var numFlights:DisplayObject; public var instructions:DisplayObject; public var selectedLevel:DisplayObject; public var arrowLeft:DisplayObject; public var collar1:DisplayObject; public var chicken:DisplayObject; public var collar3:DisplayObject; public var maxHeight:DisplayObject; public var collar2:DisplayObject; public var totalScore:DisplayObject; public var cover:DisplayObject; public var btnHelp:DisplayObject; public var myLink:DisplayObject; public var btnPlay:DisplayObject; public var box:DisplayObject; public var cost:DisplayObject; public var box_landing_fixed:DisplayObject; public var txtHeight:DisplayObject; public var btnMenu:DisplayObject; public var itemLycraWings2:DisplayObject; public var thumb:DisplayObject; public var itemLycraWings4:DisplayObject; public var box_hinge_0_body:DisplayObject; public var itemLycraWings1:DisplayObject; public var toolTip:DisplayObject; public var collar4:DisplayObject; public var bottomBar:DisplayObject; public var artwork:DisplayObject; public var distance:DisplayObject; public var stabilityBonus:DisplayObject; public var levelUnlock:DisplayObject; public var hero:DisplayObject; public var itemLycraWings3:DisplayObject; } }//package shockwood
Section 356
//Main (Main) package { import flash.events.*; import flash.display.*; import shockwood.control.*; import shockwood.ui.*; public class Main extends Sprite { private var screenManager:ScreenManager; public function Main():void{ addEventListener(Event.ADDED_TO_STAGE, init); } private function init(_arg1:Event=null):void{ removeEventListener(Event.ADDED_TO_STAGE, init); ScreenManager.instance.addScreen(new MenuScreen()); ScreenManager.instance.addScreen(new StatsScreen()); ScreenManager.instance.addScreen(new MapScreen()); ScreenManager.instance.addScreen(new GameScreen()); this.addChild(ScreenManager.instance); var _local2:Sprite = new Sprite(); _local2.graphics.beginFill(0); _local2.graphics.lineStyle(1); _local2.graphics.drawRect(0, 0, 640, 510); _local2.graphics.endFill(); this.addChild(_local2); ScreenManager.instance.mask = _local2; SoundManager.instance.start(); ScreenManager.instance.showScreenByName(ScreenManager.SCREEN_MENU); } } }//package
Section 357
//MochiBot (MochiBot) package { import flash.display.*; import flash.system.*; import flash.net.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ if (Security.sandboxType == "localWithFile"){ return (null); }; var _local3:MochiBot = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); var _local4 = "http://core.mochibot.com/my/core.swf"; var _local5:URLVariables = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; var _local6:String = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; var _local7:URLRequest = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; var _local8:Loader = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 358
//Preloader (Preloader) package { import flash.events.*; import flash.display.*; import shockwood.ui.*; import shockwood.*; import flash.utils.*; public class Preloader extends MovieClip { private var preloaderScreen:PreloaderScreen; private var splash:MovieClip; public function Preloader(){ addEventListener(Event.ENTER_FRAME, checkFrame); loaderInfo.addEventListener(ProgressEvent.PROGRESS, progress); preloaderScreen = new PreloaderScreen(this); this.addChild(preloaderScreen); MochiBot.track(this, "bc4cad26"); } private function checkFrame(_arg1:Event):void{ if (currentFrame == totalFrames){ removeEventListener(Event.ENTER_FRAME, checkFrame); preloaderScreen.loadComplete(); }; } private function splashEnterFrame(_arg1:Event):void{ var _local2:Class; if (splash.currentFrame == splash.totalFrames){ splash.removeEventListener(Event.ENTER_FRAME, splashEnterFrame); this.removeChild(splash); _local2 = (getDefinitionByName("Main") as Class); this.addChild((new (_local2) as DisplayObject)); }; } public function startup():void{ stop(); this.removeChild(preloaderScreen); loaderInfo.removeEventListener(ProgressEvent.PROGRESS, progress); splash = (new AllAssets.sponsorSplash() as MovieClip); splash.addEventListener(Event.ENTER_FRAME, splashEnterFrame); this.addChild(splash); splash.width = this.stage.stageWidth; splash.height = this.stage.stageHeight; } private function progress(_arg1:ProgressEvent):void{ preloaderScreen.updateProgress((_arg1.bytesLoaded / _arg1.bytesTotal)); } } }//package

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip {shockwood.AllAssets_art_lounger} [art_lounger]Uses:1Used by:5 279 314
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:5 12 102 104 105 108 109 112 115 116 120 121 126 129 131 134 140 141 314
Symbol 5 MovieClip {shockwood.AllAssets_obstacle_lounger} [obstacle_lounger]Uses:2 4Used by:141
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClip {shockwood.AllAssets_art_cone} [art_cone]Uses:6Used by:116 279 314
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClip {shockwood.AllAssets_art_fence} [art_fence]Uses:8Used by:120 279 314
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClip {shockwood.AllAssets_art_umbrella} [art_umbrella]Uses:10Used by:12 279 314
Symbol 12 MovieClip {shockwood.AllAssets_obstacle_umbrella} [obstacle_umbrella]Uses:11 4Used by:141
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip {shockwood.AllAssets_art_platform} [art_platform]Uses:13Used by:122
Symbol 15 ShapeTweeningUsed by:25
Symbol 16 ShapeTweeningUsed by:25
Symbol 17 ShapeTweeningUsed by:25
Symbol 18 ShapeTweeningUsed by:25
Symbol 19 GraphicUsed by:25
Symbol 20 ShapeTweeningUsed by:25
Symbol 21 ShapeTweeningUsed by:25
Symbol 22 ShapeTweeningUsed by:25
Symbol 23 ShapeTweeningUsed by:25
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClip {shockwood.AllAssets_stars} [stars]Uses:15 16 17 18 19 20 21 22 23 24
Symbol 26 Sound {shockwood.AllAssets_sound_thud} [thud.mp3]
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClip {shockwood.AllAssets_art_morrisMinor} [art_morrisMinor]Uses:27Used by:131 279 314
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClip {shockwood.AllAssets_art_bush} [art_bush]Uses:29Used by:130 279 314
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClip {shockwood.AllAssets_art_skateboard} [art_skateboard]Uses:31Used by:126 279 314 377
Symbol 33 GraphicUsed by:35
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:33 34Used by:75 182
Symbol 36 GraphicUsed by:75
Symbol 37 GraphicUsed by:41
Symbol 38 GraphicUsed by:41
Symbol 39 GraphicUsed by:41
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:37 38 39 40Used by:75
Symbol 42 GraphicUsed by:50
Symbol 43 GraphicUsed by:50
Symbol 44 GraphicUsed by:50
Symbol 45 GraphicUsed by:50
Symbol 46 GraphicUsed by:50
Symbol 47 GraphicUsed by:50
Symbol 48 GraphicUsed by:50
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:42 43 44 45 46 47 48 49Used by:75
Symbol 51 GraphicUsed by:55
Symbol 52 GraphicUsed by:55
Symbol 53 ShapeTweeningUsed by:55
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:51 52 53 54Used by:75
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:75 182 215
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:75 178 182 215
Symbol 60 GraphicUsed by:75
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:75 182 215
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:75 182 215
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:75 182 215
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:75 182 215
Symbol 69 GraphicUsed by:75
Symbol 70 GraphicUsed by:75
Symbol 71 GraphicUsed by:75
Symbol 72 GraphicUsed by:75
Symbol 73 GraphicUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken]Uses:35 36 41 50 55 57 59 60 62 64 66 68 69 70 71 72 73 74Used by:102
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClip {shockwood.AllAssets_art_rock} [art_rock]Uses:76Used by:121 279 313 314 383
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:84 215
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:84 215 377
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:84 215
Symbol 84 MovieClip {shockwood.AllAssets_art_motor} [art_motor]Uses:79 81 83Used by:104
Symbol 85 Sound {shockwood.AllAssets_sound_soundtrack} [Purity.mp3]
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClip {shockwood.AllAssets_art_balloon} [art_balloon]Uses:86Used by:105
Symbol 88 Sound {shockwood.AllAssets_sound_launch} [arrow_and_splat.mp3]
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClip {shockwood.AllAssets_art_ball} [art_ball]Uses:89Used by:109 279 314
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:97 215
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:97 215 377
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:97 215
Symbol 97 MovieClip {shockwood.AllAssets_art_paddle} [art_paddle]Uses:92 94 96Used by:103
Symbol 98 Sound {shockwood.AllAssets_sound_collect} [sonar.mp3]
Symbol 99 GraphicUsed by:141
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:103 119 122 125 130 137 141 314
Symbol 102 MovieClip {shockwood.AllAssets_definitionHero} [definitionHero]Uses:75 4Used by:141
Symbol 103 MovieClipUses:101 97Used by:141
Symbol 104 MovieClipUses:84 4Used by:141
Symbol 105 MovieClip {shockwood.AllAssets_obstacle_balloon} [obstacle_balloon]Uses:87 4Used by:141
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClip {shockwood.AllAssets_art_snowboard} [art_snowboard]Uses:106Used by:108 314 377
Symbol 108 MovieClip {shockwood.AllAssets_obstacle_snowboard} [obstacle_snowboard]Uses:107 4Used by:141
Symbol 109 MovieClip {shockwood.AllAssets_obstacle_ball} [obstacle_ball]Uses:90 4Used by:141
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClip {shockwood.AllAssets_art_scorpion} [art_scorpion]Uses:110Used by:112 279 314
Symbol 112 MovieClip {shockwood.AllAssets_obstacle_scorpion} [obstacle_scorpion]Uses:111 4Used by:141
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClip {shockwood.AllAssets_art_beetle} [art_beetle]Uses:113Used by:115 279 314 377
Symbol 115 MovieClip {shockwood.AllAssets_obstacle_beetle} [obstacle_beetle]Uses:114 4Used by:141
Symbol 116 MovieClip {shockwood.AllAssets_obstacle_cone} [obstacle_cone]Uses:7 4Used by:141
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClip {shockwood.AllAssets_art_barrel} [art_barrel]Uses:117Used by:119 279 313 314 383
Symbol 119 MovieClip {shockwood.AllAssets_obstacle_barrel} [obstacle_barrel]Uses:118 101Used by:141
Symbol 120 MovieClip {shockwood.AllAssets_obstacle_fence} [obstacle_fence]Uses:9 4Used by:141
Symbol 121 MovieClip {shockwood.AllAssets_obstacle_rock} [obstacle_rock]Uses:77 4Used by:141
Symbol 122 MovieClip {shockwood.AllAssets_obstacle_platform} [obstacle_platform]Uses:14 101Used by:141
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClip {shockwood.AllAssets_art_hay} [art_hay]Uses:123Used by:125 314
Symbol 125 MovieClip {shockwood.AllAssets_obstacle_hay} [obstacle_hay]Uses:124 101Used by:141
Symbol 126 MovieClip {shockwood.AllAssets_obstacle_skateboard} [obstacle_skateboard]Uses:32 4Used by:141
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClip {shockwood.AllAssets_art_sledge} [art_sledge]Uses:127Used by:129 279 314 377
Symbol 129 MovieClip {shockwood.AllAssets_obstacle_sledge} [obstacle_sledge]Uses:128 4Used by:141
Symbol 130 MovieClip {shockwood.AllAssets_obstacle_bush} [obstacle_bush]Uses:30 101Used by:141
Symbol 131 MovieClip {shockwood.AllAssets_obstacle_morrisMinor} [obstacle_morrisMinor]Uses:28 4Used by:141
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClip {shockwood.AllAssets_art_twoCv} [art_twoCv]Uses:132Used by:134 279 314
Symbol 134 MovieClip {shockwood.AllAssets_obstacle_twoCv} [obstacle_twoCv]Uses:133 4Used by:141
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClip {shockwood.AllAssets_art_cactus} [art_cactus]Uses:135Used by:137 279 314 389 398
Symbol 137 MovieClip {shockwood.AllAssets_obstacle_cactus} [obstacle_cactus]Uses:136 101Used by:141
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClip {shockwood.AllAssets_art_tent} [art_tent]Uses:138Used by:140 279 314
Symbol 140 MovieClip {shockwood.AllAssets_obstacle_tent} [obstacle_tent]Uses:139 4Used by:141
Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels]Uses:99 101 102 103 104 105 108 109 112 115 116 119 5 120 121 12 122 125 126 129 130 131 134 137 140 4
Symbol 142 Sound {shockwood.AllAssets_sound_bounce} [comedy_boing_jews_harp_sprong.mp3]
Symbol 143 Sound {shockwood.AllAssets_sound_button} [button_click_version_26.mp3]
Symbol 144 Sound {shockwood.AllAssets_sound_cluck2} [Cluck2.mp3]
Symbol 145 GraphicUsed by:147
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClip {shockwood.AllAssets_soundToggle} [soundToggle]Uses:145 146
Symbol 148 Sound {shockwood.AllAssets_sound_personalbest} [extraGet.mp3]
Symbol 149 Sound {shockwood.AllAssets_sound_skid} [skid.mp3]
Symbol 150 Sound {shockwood.AllAssets_sound_buttonsoft} [button_soft.mp3]
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClip {shockwood.AllAssets_stageCover} [stageCover]Uses:151
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:153Used by:157
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:155Used by:157
Symbol 157 MovieClip {shockwood.AllAssets_gauge} [gauge]Uses:154 156Used by:377
Symbol 158 GraphicUsed by:167
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:167
Symbol 161 FontUsed by:162 163
Symbol 162 TextUses:161Used by:167
Symbol 163 TextUses:161Used by:167
Symbol 164 BitmapUsed by:165
Symbol 165 GraphicUses:164Used by:167
Symbol 166 GraphicUsed by:167 302
Symbol 167 MovieClip {shockwood.AllAssets_sponsorSplash} [_splash]Uses:158 160 162 163 165 166
Symbol 168 GraphicUsed by:169
Symbol 169 MovieClip {shockwood.AllAssets_mainBg} [mainBg]Uses:168Used by:261 288 313 383
Symbol 170 GraphicUsed by:261 288
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClipUses:171Used by:261 279 288 313 383 398
Symbol 173 GraphicUsed by:261
Symbol 174 FontUsed by:175 184 186 197 199 200 201 204 217 226 235 246 249 252 256 276 280 282 297 300 306 309 321 323 325 327 331 334 337 339 341 344 346 356 359 373
Symbol 175 TextUses:174Used by:261
Symbol 176 GraphicUsed by:178
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClipUses:176 59 177Used by:261 288 313 383
Symbol 179 GraphicUsed by:183
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:180Used by:182 273 285 348
Symbol 182 MovieClipUses:35 181 57 59 62 64 66 68Used by:183
Symbol 183 MovieClipUses:179 182Used by:261
Symbol 184 TextUses:174Used by:261
Symbol 185 GraphicUsed by:187 198 205 298 322 324 340 342 347 374
Symbol 186 TextUses:174Used by:187
Symbol 187 ButtonUses:185 186Used by:261 288 308 383
Symbol 188 GraphicUsed by:193
Symbol 189 GraphicUsed by:193
Symbol 190 ShapeTweeningUsed by:193
Symbol 191 GraphicUsed by:193
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:188 189 190 191 192Used by:261
Symbol 194 FontUsed by:195 202 203 255 257
Symbol 195 EditableTextUses:194Used by:261
Symbol 196 GraphicUsed by:261
Symbol 197 TextUses:174Used by:198
Symbol 198 ButtonUses:185 197Used by:260 261 288 308 312
Symbol 199 TextUses:174Used by:261
Symbol 200 TextUses:174Used by:261
Symbol 201 TextUses:174Used by:261
Symbol 202 EditableTextUses:194Used by:261
Symbol 203 EditableTextUses:194Used by:261
Symbol 204 TextUses:174Used by:205
Symbol 205 ButtonUses:185 204Used by:260 261
Symbol 206 GraphicUsed by:225
Symbol 207 GraphicUsed by:225
Symbol 208 GraphicUsed by:215
Symbol 209 FontUsed by:210 211 212 219 228 239
Symbol 210 TextUses:209Used by:215
Symbol 211 TextUses:209Used by:215
Symbol 212 TextUses:209Used by:215
Symbol 213 FontUsed by:214 221 232 286 287 326 328 329 380
Symbol 214 TextUses:213Used by:215
Symbol 215 MovieClipUses:208 79 210 81 211 83 212 92 94 96 59 66 62 64 57 68 214Used by:225 234
Symbol 216 GraphicUsed by:218
Symbol 217 TextUses:174Used by:218
Symbol 218 ButtonUses:216 217Used by:225
Symbol 219 EditableTextUses:209Used by:225
Symbol 220 GraphicUsed by:222
Symbol 221 TextUses:213Used by:222
Symbol 222 MovieClipUses:220 221Used by:225
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClipUses:223Used by:225 277 285
Symbol 225 MovieClipUses:206 207 215 218 219 222 224Used by:261
Symbol 226 TextUses:174Used by:261
Symbol 227 GraphicUsed by:234
Symbol 228 EditableTextUses:209Used by:234
Symbol 229 GraphicUsed by:230
Symbol 230 ButtonUses:229Used by:234
Symbol 231 GraphicUsed by:233
Symbol 232 TextUses:213Used by:233
Symbol 233 MovieClipUses:231 232Used by:234
Symbol 234 MovieClipUses:227 215 228 230 233Used by:261
Symbol 235 TextUses:174Used by:261
Symbol 236 GraphicUsed by:241
Symbol 237 FontUsed by:238
Symbol 238 EditableTextUses:237Used by:241
Symbol 239 EditableTextUses:209Used by:241
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:236 238 239 240Used by:261
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:242Used by:261 313 378
Symbol 244 GraphicUsed by:260
Symbol 245 GraphicUsed by:247
Symbol 246 TextUses:174Used by:247
Symbol 247 ButtonUses:245 246Used by:260
Symbol 248 GraphicUsed by:250
Symbol 249 TextUses:174Used by:250
Symbol 250 ButtonUses:248 249Used by:260
Symbol 251 GraphicUsed by:260
Symbol 252 EditableTextUses:174Used by:260
Symbol 253 FontUsed by:254 307 310 311 350 351 352 353 354 355
Symbol 254 EditableTextUses:253Used by:260
Symbol 255 EditableTextUses:194Used by:260
Symbol 256 TextUses:174Used by:260
Symbol 257 EditableTextUses:194Used by:260
Symbol 258 GraphicUsed by:259 379 407
Symbol 259 MovieClipUses:258Used by:260
Symbol 260 MovieClipUses:244 198 247 250 251 252 254 205 255 256 257 259Used by:261 378
Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats]Uses:169 170 172 173 175 178 183 184 187 193 195 196 198 199 200 201 202 203 205 225 226 234 235 241 243 260
Symbol 262 GraphicUsed by:279
Symbol 263 GraphicUsed by:279
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClipUses:264Used by:279 398 407
Symbol 266 GraphicUsed by:279 389 398
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClipUses:267Used by:279 314
Symbol 269 GraphicUsed by:270
Symbol 270 MovieClipUses:269Used by:279 313 383 412
Symbol 271 GraphicUsed by:279
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:272 181Used by:279
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274Used by:277
Symbol 276 EditableTextUses:174Used by:277
Symbol 277 MovieClipUses:275 224 276Used by:279
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClipUses:262 263 265 111 139 128 136 266 32 77 28 268 9 270 30 172 133 114 11 2 90 7 118 271 273 277 278Used by:288
Symbol 280 TextUses:174Used by:288
Symbol 281 GraphicUsed by:285
Symbol 282 EditableTextUses:174Used by:285
Symbol 283 GraphicUsed by:285
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:281 282 224 283 284 181Used by:288
Symbol 286 EditableTextUses:213Used by:288
Symbol 287 EditableTextUses:213Used by:288
Symbol 288 MovieClip {shockwood.AllAssets_screenMap} [screenMap]Uses:169 170 279 172 178 280 187 285 286 287 198
Symbol 289 Sound {shockwood.AllAssets_sound_thud3} [thud3.mp3]
Symbol 290 Sound {shockwood.AllAssets_sound_cluck} [Cluck.mp3]
Symbol 291 Sound {shockwood.AllAssets_sound_thud2} [thud2.mp3]
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClipUses:292Used by:313 383
Symbol 294 GraphicUsed by:313 383
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:295Used by:313 383
Symbol 297 TextUses:174Used by:298
Symbol 298 ButtonUses:185 297Used by:313 383
Symbol 299 GraphicUsed by:301
Symbol 300 EditableTextUses:174Used by:301
Symbol 301 MovieClipUses:299 300Used by:313 383
Symbol 302 MovieClipUses:166Used by:313 383
Symbol 303 FontUsed by:304
Symbol 304 EditableTextUses:303Used by:313 383
Symbol 305 GraphicUsed by:308 312
Symbol 306 TextUses:174Used by:308
Symbol 307 TextUses:253Used by:308
Symbol 308 MovieClipUses:305 306 307 187 198Used by:313
Symbol 309 TextUses:174Used by:312
Symbol 310 EditableTextUses:253 366Used by:312
Symbol 311 EditableTextUses:253 366Used by:312
Symbol 312 MovieClipUses:305 309 310 198 311Used by:313
Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu]Uses:169 293 294 118 77 172 296 298 270 178 301 302 304 243 308 312
Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles]Uses:11 4 2 90 133 114 28 136 101 111 9 268 124 77 30 139 7 118 128 32 107
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClip {shockwood.AllAssets_rope} [rope]Uses:315Used by:377
Symbol 317 Sound {shockwood.AllAssets_sound_highlight} [grab.mp3]
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:318Used by:348 378
Symbol 320 GraphicUsed by:348
Symbol 321 TextUses:174Used by:322
Symbol 322 ButtonUses:185 321Used by:348
Symbol 323 TextUses:174Used by:324
Symbol 324 ButtonUses:185 323Used by:348
Symbol 325 TextUses:174Used by:348
Symbol 326 TextUses:213Used by:348
Symbol 327 EditableTextUses:174Used by:348
Symbol 328 EditableTextUses:213Used by:348
Symbol 329 EditableTextUses:213Used by:348
Symbol 330 GraphicUsed by:332
Symbol 331 TextUses:174Used by:332
Symbol 332 MovieClipUses:330 331Used by:348
Symbol 333 GraphicUsed by:335
Symbol 334 TextUses:174Used by:335
Symbol 335 MovieClipUses:333 334Used by:348
Symbol 336 GraphicUsed by:338
Symbol 337 TextUses:174Used by:338
Symbol 338 MovieClipUses:336 337Used by:348
Symbol 339 TextUses:174Used by:340
Symbol 340 ButtonUses:185 339Used by:348
Symbol 341 TextUses:174Used by:342
Symbol 342 ButtonUses:185 341Used by:348
Symbol 343 GraphicUsed by:345
Symbol 344 TextUses:174Used by:345
Symbol 345 ButtonUses:343 344Used by:348
Symbol 346 TextUses:174Used by:347
Symbol 347 ButtonUses:185 346Used by:348
Symbol 348 MovieClipUses:320 319 322 324 325 326 327 181 328 329 332 335 338 340 342 345 347Used by:378
Symbol 349 GraphicUsed by:378
Symbol 350 EditableTextUses:253Used by:378
Symbol 351 TextUses:253Used by:378
Symbol 352 EditableTextUses:253Used by:378
Symbol 353 TextUses:253Used by:378
Symbol 354 EditableTextUses:253Used by:378
Symbol 355 TextUses:253Used by:378
Symbol 356 EditableTextUses:174Used by:357
Symbol 357 MovieClipUses:356Used by:378
Symbol 358 GraphicUsed by:377
Symbol 359 TextUses:174Used by:377
Symbol 360 GraphicUsed by:377
Symbol 361 GraphicUsed by:377
Symbol 362 FontUsed by:363 364
Symbol 363 TextUses:362Used by:377
Symbol 364 TextUses:362Used by:377
Symbol 365 GraphicUsed by:377
Symbol 366 FontUsed by:310 311 367 368 371 372 375 376
Symbol 367 TextUses:366Used by:377
Symbol 368 TextUses:366Used by:377
Symbol 369 GraphicUsed by:377
Symbol 370 GraphicUsed by:377
Symbol 371 TextUses:366Used by:377
Symbol 372 TextUses:366Used by:377
Symbol 373 TextUses:174Used by:374
Symbol 374 ButtonUses:185 373Used by:377
Symbol 375 TextUses:366Used by:377
Symbol 376 TextUses:366Used by:377
Symbol 377 MovieClipUses:358 359 360 94 81 361 363 364 365 367 368 369 114 128 370 371 32 107 372 374 375 157 316 376Used by:378
Symbol 378 MovieClip {shockwood.AllAssets_screenGame} [screenGame]Uses:319 348 349 350 351 352 353 354 355 357 377 243 260
Symbol 379 MovieClipUses:258Used by:383
Symbol 380 TextUses:213Used by:383
Symbol 381 GraphicUsed by:382
Symbol 382 MovieClipUses:381Used by:383
Symbol 383 MovieClip {shockwood.AllAssets_screenPreLoader} [screenPreLoader]Uses:169 293 294 118 77 172 298 296 270 178 301 379 380 187 304 302 382
Symbol 384 GraphicUsed by:389
Symbol 385 GraphicUsed by:389
Symbol 386 GraphicUsed by:389
Symbol 387 GraphicUsed by:389
Symbol 388 GraphicUsed by:389
Symbol 389 MovieClipUses:384 385 136 386 266 387 388Used by:408
Symbol 390 GraphicUsed by:398
Symbol 391 GraphicUsed by:398
Symbol 392 GraphicUsed by:398
Symbol 393 GraphicUsed by:398
Symbol 394 GraphicUsed by:398
Symbol 395 GraphicUsed by:398
Symbol 396 GraphicUsed by:398
Symbol 397 GraphicUsed by:398
Symbol 398 MovieClipUses:390 172 391 392 393 136 394 266 395 396 265 397Used by:408
Symbol 399 GraphicUsed by:407
Symbol 400 GraphicUsed by:407
Symbol 401 GraphicUsed by:407
Symbol 402 GraphicUsed by:403
Symbol 403 MovieClipUses:402Used by:407
Symbol 404 GraphicUsed by:407
Symbol 405 GraphicUsed by:407
Symbol 406 GraphicUsed by:407
Symbol 407 MovieClipUses:399 265 400 401 403 258 404 405 406Used by:408
Symbol 408 MovieClip {shockwood.control.Setting} [setting]Uses:389 398 407
Symbol 409 BitmapUsed by:410
Symbol 410 GraphicUses:409Used by:411
Symbol 411 MovieClipUses:410Used by:414
Symbol 412 MovieClipUses:270Used by:414
Symbol 413 GraphicUsed by:414
Symbol 414 MovieClip {shockwood.control.SettingVert} [settingVert]Uses:411 412 413

Instance Names

"artwork"Symbol 5 MovieClip {shockwood.AllAssets_obstacle_lounger} [obstacle_lounger] Frame 1Symbol 2 MovieClip {shockwood.AllAssets_art_lounger} [art_lounger]
"vertex_2"Symbol 5 MovieClip {shockwood.AllAssets_obstacle_lounger} [obstacle_lounger] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 5 MovieClip {shockwood.AllAssets_obstacle_lounger} [obstacle_lounger] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 5 MovieClip {shockwood.AllAssets_obstacle_lounger} [obstacle_lounger] Frame 1Symbol 4 MovieClip
"vertex_0"Symbol 5 MovieClip {shockwood.AllAssets_obstacle_lounger} [obstacle_lounger] Frame 1Symbol 4 MovieClip
"artwork"Symbol 12 MovieClip {shockwood.AllAssets_obstacle_umbrella} [obstacle_umbrella] Frame 1Symbol 11 MovieClip {shockwood.AllAssets_art_umbrella} [art_umbrella]
"vertex_0"Symbol 12 MovieClip {shockwood.AllAssets_obstacle_umbrella} [obstacle_umbrella] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 12 MovieClip {shockwood.AllAssets_obstacle_umbrella} [obstacle_umbrella] Frame 1Symbol 4 MovieClip
"vertex_2"Symbol 12 MovieClip {shockwood.AllAssets_obstacle_umbrella} [obstacle_umbrella] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 12 MovieClip {shockwood.AllAssets_obstacle_umbrella} [obstacle_umbrella] Frame 1Symbol 4 MovieClip
"vertex_4"Symbol 12 MovieClip {shockwood.AllAssets_obstacle_umbrella} [obstacle_umbrella] Frame 1Symbol 4 MovieClip
"bodyMaskClear1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 35 MovieClip
"collar1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 41 MovieClip
"collar2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 41 MovieClip
"collar3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 41 MovieClip
"collar4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 41 MovieClip
"crown1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 50 MovieClip
"crown2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 50 MovieClip
"crown3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 50 MovieClip
"crown4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 50 MovieClip
"eyes1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 55 MovieClip
"eyes2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 55 MovieClip
"eyes3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 55 MovieClip
"eyes4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 55 MovieClip
"itemWings1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 57 MovieClip
"itemGoggles1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 59 MovieClip
"itemBreastPlate1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 62 MovieClip
"itemHelmet1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 64 MovieClip
"itemStabilisers1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 66 MovieClip
"itemLycraWings1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 1Symbol 68 MovieClip
"bodyMaskClear2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 35 MovieClip
"collar1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 41 MovieClip
"collar2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 41 MovieClip
"collar3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 41 MovieClip
"collar4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 41 MovieClip
"crown1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 50 MovieClip
"crown2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 50 MovieClip
"crown3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 50 MovieClip
"crown4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 50 MovieClip
"itemWings2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 57 MovieClip
"itemGoggles2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 59 MovieClip
"itemBreastPlate2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 62 MovieClip
"itemHelmet2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 64 MovieClip
"itemStabilisers2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 66 MovieClip
"itemLycraWings2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 2Symbol 68 MovieClip
"bodyMaskClear3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 35 MovieClip
"collar1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 41 MovieClip
"collar2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 41 MovieClip
"collar3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 41 MovieClip
"collar4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 41 MovieClip
"crown1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 50 MovieClip
"crown2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 50 MovieClip
"crown3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 50 MovieClip
"crown4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 50 MovieClip
"itemWings3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 57 MovieClip
"itemGoggles3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 59 MovieClip
"itemBreastPlate3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 62 MovieClip
"itemHelmet3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 64 MovieClip
"itemStabilisers3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 66 MovieClip
"itemLycraWings3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 3Symbol 68 MovieClip
"bodyMaskClear4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 35 MovieClip
"collar1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 41 MovieClip
"collar2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 41 MovieClip
"collar3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 41 MovieClip
"collar4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 41 MovieClip
"crown1"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 50 MovieClip
"crown2"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 50 MovieClip
"crown3"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 50 MovieClip
"crown4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 50 MovieClip
"itemWings4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 57 MovieClip
"itemGoggles4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 59 MovieClip
"itemBreastPlate4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 62 MovieClip
"itemHelmet4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 64 MovieClip
"itemStabilisers4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 66 MovieClip
"itemLycraWings4"Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken] Frame 4Symbol 68 MovieClip
"artwork"Symbol 97 MovieClip {shockwood.AllAssets_art_paddle} [art_paddle] Frame 1Symbol 92 MovieClip
"artwork"Symbol 97 MovieClip {shockwood.AllAssets_art_paddle} [art_paddle] Frame 2Symbol 94 MovieClip
"artwork"Symbol 97 MovieClip {shockwood.AllAssets_art_paddle} [art_paddle] Frame 3Symbol 96 MovieClip
"artwork"Symbol 102 MovieClip {shockwood.AllAssets_definitionHero} [definitionHero] Frame 1Symbol 75 MovieClip {shockwood.AllAssets_art_chicken} [art_chicken]
"vertex_2"Symbol 102 MovieClip {shockwood.AllAssets_definitionHero} [definitionHero] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 102 MovieClip {shockwood.AllAssets_definitionHero} [definitionHero] Frame 1Symbol 4 MovieClip
"vertex_0"Symbol 102 MovieClip {shockwood.AllAssets_definitionHero} [definitionHero] Frame 1Symbol 4 MovieClip
"vertex_5"Symbol 102 MovieClip {shockwood.AllAssets_definitionHero} [definitionHero] Frame 1Symbol 4 MovieClip
"vertex_4"Symbol 102 MovieClip {shockwood.AllAssets_definitionHero} [definitionHero] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 102 MovieClip {shockwood.AllAssets_definitionHero} [definitionHero] Frame 1Symbol 4 MovieClip
"box"Symbol 103 MovieClip Frame 1Symbol 101 MovieClip
"artwork"Symbol 103 MovieClip Frame 1Symbol 97 MovieClip {shockwood.AllAssets_art_paddle} [art_paddle]
"artwork"Symbol 104 MovieClip Frame 1Symbol 84 MovieClip {shockwood.AllAssets_art_motor} [art_motor]
"circle"Symbol 104 MovieClip Frame 1Symbol 4 MovieClip
"artwork"Symbol 105 MovieClip {shockwood.AllAssets_obstacle_balloon} [obstacle_balloon] Frame 1Symbol 87 MovieClip {shockwood.AllAssets_art_balloon} [art_balloon]
"circle"Symbol 105 MovieClip {shockwood.AllAssets_obstacle_balloon} [obstacle_balloon] Frame 1Symbol 4 MovieClip
"artwork"Symbol 108 MovieClip {shockwood.AllAssets_obstacle_snowboard} [obstacle_snowboard] Frame 1Symbol 107 MovieClip {shockwood.AllAssets_art_snowboard} [art_snowboard]
"vertex_0"Symbol 108 MovieClip {shockwood.AllAssets_obstacle_snowboard} [obstacle_snowboard] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 108 MovieClip {shockwood.AllAssets_obstacle_snowboard} [obstacle_snowboard] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 108 MovieClip {shockwood.AllAssets_obstacle_snowboard} [obstacle_snowboard] Frame 1Symbol 4 MovieClip
"vertex_4"Symbol 108 MovieClip {shockwood.AllAssets_obstacle_snowboard} [obstacle_snowboard] Frame 1Symbol 4 MovieClip
"artwork"Symbol 109 MovieClip {shockwood.AllAssets_obstacle_ball} [obstacle_ball] Frame 1Symbol 90 MovieClip {shockwood.AllAssets_art_ball} [art_ball]
"circle"Symbol 109 MovieClip {shockwood.AllAssets_obstacle_ball} [obstacle_ball] Frame 1Symbol 4 MovieClip
"artwork"Symbol 112 MovieClip {shockwood.AllAssets_obstacle_scorpion} [obstacle_scorpion] Frame 1Symbol 111 MovieClip {shockwood.AllAssets_art_scorpion} [art_scorpion]
"vertex_0"Symbol 112 MovieClip {shockwood.AllAssets_obstacle_scorpion} [obstacle_scorpion] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 112 MovieClip {shockwood.AllAssets_obstacle_scorpion} [obstacle_scorpion] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 112 MovieClip {shockwood.AllAssets_obstacle_scorpion} [obstacle_scorpion] Frame 1Symbol 4 MovieClip
"vertex_2"Symbol 112 MovieClip {shockwood.AllAssets_obstacle_scorpion} [obstacle_scorpion] Frame 1Symbol 4 MovieClip
"artwork"Symbol 115 MovieClip {shockwood.AllAssets_obstacle_beetle} [obstacle_beetle] Frame 1Symbol 114 MovieClip {shockwood.AllAssets_art_beetle} [art_beetle]
"vertex_5"Symbol 115 MovieClip {shockwood.AllAssets_obstacle_beetle} [obstacle_beetle] Frame 1Symbol 4 MovieClip
"vertex_4"Symbol 115 MovieClip {shockwood.AllAssets_obstacle_beetle} [obstacle_beetle] Frame 1Symbol 4 MovieClip
"vertex_2"Symbol 115 MovieClip {shockwood.AllAssets_obstacle_beetle} [obstacle_beetle] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 115 MovieClip {shockwood.AllAssets_obstacle_beetle} [obstacle_beetle] Frame 1Symbol 4 MovieClip
"vertex_0"Symbol 115 MovieClip {shockwood.AllAssets_obstacle_beetle} [obstacle_beetle] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 115 MovieClip {shockwood.AllAssets_obstacle_beetle} [obstacle_beetle] Frame 1Symbol 4 MovieClip
"artwork"Symbol 116 MovieClip {shockwood.AllAssets_obstacle_cone} [obstacle_cone] Frame 1Symbol 7 MovieClip {shockwood.AllAssets_art_cone} [art_cone]
"vertex_0"Symbol 116 MovieClip {shockwood.AllAssets_obstacle_cone} [obstacle_cone] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 116 MovieClip {shockwood.AllAssets_obstacle_cone} [obstacle_cone] Frame 1Symbol 4 MovieClip
"vertex_2"Symbol 116 MovieClip {shockwood.AllAssets_obstacle_cone} [obstacle_cone] Frame 1Symbol 4 MovieClip
"artwork"Symbol 119 MovieClip {shockwood.AllAssets_obstacle_barrel} [obstacle_barrel] Frame 1Symbol 118 MovieClip {shockwood.AllAssets_art_barrel} [art_barrel]
"box"Symbol 119 MovieClip {shockwood.AllAssets_obstacle_barrel} [obstacle_barrel] Frame 1Symbol 101 MovieClip
"artwork"Symbol 120 MovieClip {shockwood.AllAssets_obstacle_fence} [obstacle_fence] Frame 1Symbol 9 MovieClip {shockwood.AllAssets_art_fence} [art_fence]
"vertex_0"Symbol 120 MovieClip {shockwood.AllAssets_obstacle_fence} [obstacle_fence] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 120 MovieClip {shockwood.AllAssets_obstacle_fence} [obstacle_fence] Frame 1Symbol 4 MovieClip
"vertex_2"Symbol 120 MovieClip {shockwood.AllAssets_obstacle_fence} [obstacle_fence] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 120 MovieClip {shockwood.AllAssets_obstacle_fence} [obstacle_fence] Frame 1Symbol 4 MovieClip
"artwork"Symbol 121 MovieClip {shockwood.AllAssets_obstacle_rock} [obstacle_rock] Frame 1Symbol 77 MovieClip {shockwood.AllAssets_art_rock} [art_rock]
"vertex_0"Symbol 121 MovieClip {shockwood.AllAssets_obstacle_rock} [obstacle_rock] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 121 MovieClip {shockwood.AllAssets_obstacle_rock} [obstacle_rock] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 121 MovieClip {shockwood.AllAssets_obstacle_rock} [obstacle_rock] Frame 1Symbol 4 MovieClip
"vertex_2"Symbol 121 MovieClip {shockwood.AllAssets_obstacle_rock} [obstacle_rock] Frame 1Symbol 4 MovieClip
"artwork"Symbol 122 MovieClip {shockwood.AllAssets_obstacle_platform} [obstacle_platform] Frame 1Symbol 14 MovieClip {shockwood.AllAssets_art_platform} [art_platform]
"box"Symbol 122 MovieClip {shockwood.AllAssets_obstacle_platform} [obstacle_platform] Frame 1Symbol 101 MovieClip
"artwork"Symbol 125 MovieClip {shockwood.AllAssets_obstacle_hay} [obstacle_hay] Frame 1Symbol 124 MovieClip {shockwood.AllAssets_art_hay} [art_hay]
"box"Symbol 125 MovieClip {shockwood.AllAssets_obstacle_hay} [obstacle_hay] Frame 1Symbol 101 MovieClip
"artwork"Symbol 126 MovieClip {shockwood.AllAssets_obstacle_skateboard} [obstacle_skateboard] Frame 1Symbol 32 MovieClip {shockwood.AllAssets_art_skateboard} [art_skateboard]
"vertex_0"Symbol 126 MovieClip {shockwood.AllAssets_obstacle_skateboard} [obstacle_skateboard] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 126 MovieClip {shockwood.AllAssets_obstacle_skateboard} [obstacle_skateboard] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 126 MovieClip {shockwood.AllAssets_obstacle_skateboard} [obstacle_skateboard] Frame 1Symbol 4 MovieClip
"vertex_2"Symbol 126 MovieClip {shockwood.AllAssets_obstacle_skateboard} [obstacle_skateboard] Frame 1Symbol 4 MovieClip
"artwork"Symbol 129 MovieClip {shockwood.AllAssets_obstacle_sledge} [obstacle_sledge] Frame 1Symbol 128 MovieClip {shockwood.AllAssets_art_sledge} [art_sledge]
"vertex_3"Symbol 129 MovieClip {shockwood.AllAssets_obstacle_sledge} [obstacle_sledge] Frame 1Symbol 4 MovieClip
"vertex_2"Symbol 129 MovieClip {shockwood.AllAssets_obstacle_sledge} [obstacle_sledge] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 129 MovieClip {shockwood.AllAssets_obstacle_sledge} [obstacle_sledge] Frame 1Symbol 4 MovieClip
"vertex_0"Symbol 129 MovieClip {shockwood.AllAssets_obstacle_sledge} [obstacle_sledge] Frame 1Symbol 4 MovieClip
"artwork"Symbol 130 MovieClip {shockwood.AllAssets_obstacle_bush} [obstacle_bush] Frame 1Symbol 30 MovieClip {shockwood.AllAssets_art_bush} [art_bush]
"box"Symbol 130 MovieClip {shockwood.AllAssets_obstacle_bush} [obstacle_bush] Frame 1Symbol 101 MovieClip
"artwork"Symbol 131 MovieClip {shockwood.AllAssets_obstacle_morrisMinor} [obstacle_morrisMinor] Frame 1Symbol 28 MovieClip {shockwood.AllAssets_art_morrisMinor} [art_morrisMinor]
"vertex_4"Symbol 131 MovieClip {shockwood.AllAssets_obstacle_morrisMinor} [obstacle_morrisMinor] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 131 MovieClip {shockwood.AllAssets_obstacle_morrisMinor} [obstacle_morrisMinor] Frame 1Symbol 4 MovieClip
"vertex_2"Symbol 131 MovieClip {shockwood.AllAssets_obstacle_morrisMinor} [obstacle_morrisMinor] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 131 MovieClip {shockwood.AllAssets_obstacle_morrisMinor} [obstacle_morrisMinor] Frame 1Symbol 4 MovieClip
"vertex_0"Symbol 131 MovieClip {shockwood.AllAssets_obstacle_morrisMinor} [obstacle_morrisMinor] Frame 1Symbol 4 MovieClip
"artwork"Symbol 134 MovieClip {shockwood.AllAssets_obstacle_twoCv} [obstacle_twoCv] Frame 1Symbol 133 MovieClip {shockwood.AllAssets_art_twoCv} [art_twoCv]
"vertex_4"Symbol 134 MovieClip {shockwood.AllAssets_obstacle_twoCv} [obstacle_twoCv] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 134 MovieClip {shockwood.AllAssets_obstacle_twoCv} [obstacle_twoCv] Frame 1Symbol 4 MovieClip
"vertex_2"Symbol 134 MovieClip {shockwood.AllAssets_obstacle_twoCv} [obstacle_twoCv] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 134 MovieClip {shockwood.AllAssets_obstacle_twoCv} [obstacle_twoCv] Frame 1Symbol 4 MovieClip
"vertex_0"Symbol 134 MovieClip {shockwood.AllAssets_obstacle_twoCv} [obstacle_twoCv] Frame 1Symbol 4 MovieClip
"artwork"Symbol 137 MovieClip {shockwood.AllAssets_obstacle_cactus} [obstacle_cactus] Frame 1Symbol 136 MovieClip {shockwood.AllAssets_art_cactus} [art_cactus]
"box"Symbol 137 MovieClip {shockwood.AllAssets_obstacle_cactus} [obstacle_cactus] Frame 1Symbol 101 MovieClip
"artwork"Symbol 140 MovieClip {shockwood.AllAssets_obstacle_tent} [obstacle_tent] Frame 1Symbol 139 MovieClip {shockwood.AllAssets_art_tent} [art_tent]
"vertex_0"Symbol 140 MovieClip {shockwood.AllAssets_obstacle_tent} [obstacle_tent] Frame 1Symbol 4 MovieClip
"vertex_1"Symbol 140 MovieClip {shockwood.AllAssets_obstacle_tent} [obstacle_tent] Frame 1Symbol 4 MovieClip
"vertex_3"Symbol 140 MovieClip {shockwood.AllAssets_obstacle_tent} [obstacle_tent] Frame 1Symbol 4 MovieClip
"vertex_2"Symbol 140 MovieClip {shockwood.AllAssets_obstacle_tent} [obstacle_tent] Frame 1Symbol 4 MovieClip
"vertex_4"Symbol 140 MovieClip {shockwood.AllAssets_obstacle_tent} [obstacle_tent] Frame 1Symbol 4 MovieClip
"box_ground_fixed"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 1Symbol 101 MovieClip
"hero"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 1Symbol 102 MovieClip {shockwood.AllAssets_definitionHero} [definitionHero]
"box_hinge_0_body"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 1Symbol 103 MovieClip
"circle_hinge_0_pivot"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 1Symbol 104 MovieClip
"box_post_fixed_2"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_post_fixed_1"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_platform_fixed"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_hinge_0_body"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"circle_hinge_0_pivot"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 4 MovieClip
"box_bounce_fixed_2"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_1"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_3"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_4"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_5"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_6"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_2"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_1"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_3"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_4"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_5"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_6"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_2"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_3"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_4"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_5"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_bounce_fixed_6"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 30Symbol 101 MovieClip
"box_landing_fixed"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 31Symbol 101 MovieClip
"arrow"Symbol 157 MovieClip {shockwood.AllAssets_gauge} [gauge] Frame 1Symbol 156 MovieClip
"bodyMaskClear"Symbol 182 MovieClip Frame 1Symbol 35 MovieClip
"item6"Symbol 182 MovieClip Frame 1Symbol 57 MovieClip
"item1"Symbol 182 MovieClip Frame 1Symbol 59 MovieClip
"item2"Symbol 182 MovieClip Frame 1Symbol 62 MovieClip
"item4"Symbol 182 MovieClip Frame 1Symbol 64 MovieClip
"item3"Symbol 182 MovieClip Frame 1Symbol 66 MovieClip
"item5"Symbol 182 MovieClip Frame 1Symbol 68 MovieClip
"viewer"Symbol 183 MovieClip Frame 1Symbol 182 MovieClip
"item"Symbol 225 MovieClip Frame 1Symbol 215 MovieClip
"btnBuy"Symbol 225 MovieClip Frame 1Symbol 218 Button
"cost"Symbol 225 MovieClip Frame 1Symbol 219 EditableText
"owned"Symbol 225 MovieClip Frame 1Symbol 222 MovieClip
"lock"Symbol 225 MovieClip Frame 1Symbol 224 MovieClip
"item"Symbol 234 MovieClip Frame 1Symbol 215 MovieClip
"title"Symbol 234 MovieClip Frame 1Symbol 228 EditableText
"arrowLeft"Symbol 234 MovieClip Frame 1Symbol 230 Button
"arrowRight"Symbol 234 MovieClip Frame 1Symbol 230 Button
"inUse"Symbol 234 MovieClip Frame 1Symbol 233 MovieClip
"descriptionLabel"Symbol 241 MovieClip Frame 1Symbol 238 EditableText
"titleLabel"Symbol 241 MovieClip Frame 1Symbol 239 EditableText
"btnBack"Symbol 260 MovieClip Frame 1Symbol 198 Button
"btnShare"Symbol 260 MovieClip Frame 1Symbol 247 Button
"btnSubmitFacebook"Symbol 260 MovieClip Frame 1Symbol 250 Button
"txtSubmitTitle"Symbol 260 MovieClip Frame 1Symbol 252 EditableText
"txtMessage"Symbol 260 MovieClip Frame 1Symbol 254 EditableText
"btnSubmit"Symbol 260 MovieClip Frame 1Symbol 205 Button
"txtScore"Symbol 260 MovieClip Frame 1Symbol 255 EditableText
"txtUsername"Symbol 260 MovieClip Frame 1Symbol 257 EditableText
"scoreCover"Symbol 260 MovieClip Frame 1Symbol 259 MovieClip
"thumb"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 183 MovieClip
"btnContinue"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 187 Button
"barStability"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 193 MovieClip
"cash"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 195 EditableText
"btnBack"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 198 Button
"numFlights"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 202 EditableText
"totalScore"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 203 EditableText
"personalBestScore"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 203 EditableText
"btnSubmit"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 205 Button
"btnSubmitTotal"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 205 Button
"buy3"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"buy7"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"buy11"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"buy2"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"buy6"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"buy10"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"buy1"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"buy5"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"buy9"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"buy0"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"buy4"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"buy8"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 225 MovieClip
"inventory2"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 234 MovieClip
"inventory3"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 234 MovieClip
"inventory4"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 234 MovieClip
"inventory5"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 234 MovieClip
"inventory6"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 234 MovieClip
"inventory7"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 234 MovieClip
"inventory0"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 234 MovieClip
"inventory1"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 234 MovieClip
"toolTip"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 241 MovieClip
"cover"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 243 MovieClip
"submitScore"Symbol 261 MovieClip {shockwood.AllAssets_screenStats} [screenStats] Frame 1Symbol 260 MovieClip
"chicken"Symbol 273 MovieClip Frame 1Symbol 181 MovieClip
"bg"Symbol 277 MovieClip Frame 1Symbol 275 MovieClip
"lock"Symbol 277 MovieClip Frame 1Symbol 224 MovieClip
"label"Symbol 277 MovieClip Frame 1Symbol 276 EditableText
"chicken"Symbol 279 MovieClip Frame 1Symbol 273 MovieClip
"location4"Symbol 279 MovieClip Frame 1Symbol 277 MovieClip
"location5"Symbol 279 MovieClip Frame 1Symbol 277 MovieClip
"location1"Symbol 279 MovieClip Frame 1Symbol 277 MovieClip
"location3"Symbol 279 MovieClip Frame 1Symbol 277 MovieClip
"location2"Symbol 279 MovieClip Frame 1Symbol 277 MovieClip
"label"Symbol 285 MovieClip Frame 1Symbol 282 EditableText
"lock"Symbol 285 MovieClip Frame 1Symbol 224 MovieClip
"chicken"Symbol 285 MovieClip Frame 3Symbol 181 MovieClip
"map"Symbol 288 MovieClip {shockwood.AllAssets_screenMap} [screenMap] Frame 1Symbol 279 MovieClip
"btnContinue"Symbol 288 MovieClip {shockwood.AllAssets_screenMap} [screenMap] Frame 1Symbol 187 Button
"event1"Symbol 288 MovieClip {shockwood.AllAssets_screenMap} [screenMap] Frame 1Symbol 285 MovieClip
"event5"Symbol 288 MovieClip {shockwood.AllAssets_screenMap} [screenMap] Frame 1Symbol 285 MovieClip
"selectedLevelLabel"Symbol 288 MovieClip {shockwood.AllAssets_screenMap} [screenMap] Frame 1Symbol 286 EditableText
"selectedLevel"Symbol 288 MovieClip {shockwood.AllAssets_screenMap} [screenMap] Frame 1Symbol 287 EditableText
"event4"Symbol 288 MovieClip {shockwood.AllAssets_screenMap} [screenMap] Frame 1Symbol 285 MovieClip
"event3"Symbol 288 MovieClip {shockwood.AllAssets_screenMap} [screenMap] Frame 1Symbol 285 MovieClip
"event2"Symbol 288 MovieClip {shockwood.AllAssets_screenMap} [screenMap] Frame 1Symbol 285 MovieClip
"btnBack"Symbol 288 MovieClip {shockwood.AllAssets_screenMap} [screenMap] Frame 1Symbol 198 Button
"label"Symbol 301 MovieClip Frame 1Symbol 300 EditableText
"btnContinue"Symbol 308 MovieClip Frame 1Symbol 187 Button
"btnBack"Symbol 308 MovieClip Frame 1Symbol 198 Button
"btnBack"Symbol 312 MovieClip Frame 1Symbol 198 Button
"btnShockwood"Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu] Frame 1Symbol 296 MovieClip
"btnPlay"Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu] Frame 1Symbol 298 Button
"myLink"Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu] Frame 1Symbol 296 MovieClip
"menu1"Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu] Frame 1Symbol 301 MovieClip
"menu2"Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu] Frame 1Symbol 301 MovieClip
"menu3"Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu] Frame 1Symbol 301 MovieClip
"btnTeagames"Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu] Frame 1Symbol 302 MovieClip
"menu4"Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu] Frame 1Symbol 301 MovieClip
"cover"Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu] Frame 1Symbol 243 MovieClip
"alert"Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu] Frame 1Symbol 308 MovieClip
"credits"Symbol 313 MovieClip {shockwood.AllAssets_screenMenu} [screenMenu] Frame 1Symbol 312 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 2Symbol 11 MovieClip {shockwood.AllAssets_art_umbrella} [art_umbrella]
"vertex_0"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 2Symbol 4 MovieClip
"vertex_1"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 2Symbol 4 MovieClip
"vertex_2"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 2Symbol 4 MovieClip
"vertex_3"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 2Symbol 4 MovieClip
"vertex_4"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 2Symbol 4 MovieClip
"vertex_6"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 2Symbol 4 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 3Symbol 2 MovieClip {shockwood.AllAssets_art_lounger} [art_lounger]
"vertex_4"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 3Symbol 4 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 4Symbol 90 MovieClip {shockwood.AllAssets_art_ball} [art_ball]
"circle"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 4Symbol 4 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 5Symbol 133 MovieClip {shockwood.AllAssets_art_twoCv} [art_twoCv]
"vertex_0"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 5Symbol 4 MovieClip
"vertex_1"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 5Symbol 4 MovieClip
"vertex_3"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 5Symbol 4 MovieClip
"vertex_4"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 5Symbol 4 MovieClip
"vertex_5"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 5Symbol 4 MovieClip
"vertex_2"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 5Symbol 4 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 6Symbol 114 MovieClip {shockwood.AllAssets_art_beetle} [art_beetle]
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 7Symbol 28 MovieClip {shockwood.AllAssets_art_morrisMinor} [art_morrisMinor]
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 8Symbol 136 MovieClip {shockwood.AllAssets_art_cactus} [art_cactus]
"box"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 8Symbol 101 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 9Symbol 111 MovieClip {shockwood.AllAssets_art_scorpion} [art_scorpion]
"vertex_0"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 9Symbol 4 MovieClip
"vertex_1"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 9Symbol 4 MovieClip
"vertex_3"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 9Symbol 4 MovieClip
"vertex_2"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 9Symbol 4 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 10Symbol 9 MovieClip {shockwood.AllAssets_art_fence} [art_fence]
"box"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 10Symbol 101 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 11Symbol 268 MovieClip
"vertex_0"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 11Symbol 4 MovieClip
"vertex_1"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 11Symbol 4 MovieClip
"vertex_2"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 11Symbol 4 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 12Symbol 124 MovieClip {shockwood.AllAssets_art_hay} [art_hay]
"box"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 12Symbol 101 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 13Symbol 77 MovieClip {shockwood.AllAssets_art_rock} [art_rock]
"vertex_0"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 13Symbol 4 MovieClip
"vertex_1"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 13Symbol 4 MovieClip
"vertex_3"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 13Symbol 4 MovieClip
"vertex_2"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 13Symbol 4 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 14Symbol 30 MovieClip {shockwood.AllAssets_art_bush} [art_bush]
"box"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 14Symbol 101 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 15Symbol 139 MovieClip {shockwood.AllAssets_art_tent} [art_tent]
"vertex_0"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 15Symbol 4 MovieClip
"vertex_1"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 15Symbol 4 MovieClip
"vertex_3"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 15Symbol 4 MovieClip
"vertex_2"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 15Symbol 4 MovieClip
"vertex_4"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 15Symbol 4 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 16Symbol 7 MovieClip {shockwood.AllAssets_art_cone} [art_cone]
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 17Symbol 118 MovieClip {shockwood.AllAssets_art_barrel} [art_barrel]
"box"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 17Symbol 101 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 18Symbol 128 MovieClip {shockwood.AllAssets_art_sledge} [art_sledge]
"vertex_0"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 18Symbol 4 MovieClip
"vertex_1"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 18Symbol 4 MovieClip
"vertex_3"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 18Symbol 4 MovieClip
"vertex_2"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 18Symbol 4 MovieClip
"vertex_4"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 18Symbol 4 MovieClip
"vertex_5"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 18Symbol 4 MovieClip
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 19Symbol 32 MovieClip {shockwood.AllAssets_art_skateboard} [art_skateboard]
"artwork"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 20Symbol 107 MovieClip {shockwood.AllAssets_art_snowboard} [art_snowboard]
"vertex_4"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 20Symbol 4 MovieClip
"btnRestart"Symbol 348 MovieClip Frame 1Symbol 322 Button
"btnMenu"Symbol 348 MovieClip Frame 1Symbol 324 Button
"personalBest"Symbol 348 MovieClip Frame 1Symbol 327 EditableText
"distance"Symbol 348 MovieClip Frame 1Symbol 328 EditableText
"maxHeight"Symbol 348 MovieClip Frame 1Symbol 328 EditableText
"maxSpeed"Symbol 348 MovieClip Frame 1Symbol 328 EditableText
"bounceBonus"Symbol 348 MovieClip Frame 1Symbol 328 EditableText
"rideOnBonus"Symbol 348 MovieClip Frame 1Symbol 328 EditableText
"longLandingBonus"Symbol 348 MovieClip Frame 1Symbol 328 EditableText
"totalScore"Symbol 348 MovieClip Frame 1Symbol 329 EditableText
"stabilityBonus"Symbol 348 MovieClip Frame 1Symbol 328 EditableText
"levelUnlock"Symbol 348 MovieClip Frame 1Symbol 332 MovieClip
"ratingIncrease"Symbol 348 MovieClip Frame 1Symbol 335 MovieClip
"newUpgrade"Symbol 348 MovieClip Frame 1Symbol 338 MovieClip
"btnHelp"Symbol 348 MovieClip Frame 1Symbol 340 Button
"powerBonus"Symbol 348 MovieClip Frame 1Symbol 328 EditableText
"btnMoreGames"Symbol 348 MovieClip Frame 1Symbol 342 Button
"btnShare"Symbol 348 MovieClip Frame 1Symbol 345 Button
"btnLevels"Symbol 348 MovieClip Frame 1Symbol 347 Button
"message"Symbol 357 MovieClip Frame 1Symbol 356 EditableText
"btnClose"Symbol 377 MovieClip Frame 1Symbol 374 Button
"bottomBar"Symbol 378 MovieClip {shockwood.AllAssets_screenGame} [screenGame] Frame 1Symbol 348 MovieClip
"txtHeight"Symbol 378 MovieClip {shockwood.AllAssets_screenGame} [screenGame] Frame 1Symbol 350 EditableText
"txtDistance"Symbol 378 MovieClip {shockwood.AllAssets_screenGame} [screenGame] Frame 1Symbol 352 EditableText
"txtScore"Symbol 378 MovieClip {shockwood.AllAssets_screenGame} [screenGame] Frame 1Symbol 354 EditableText
"message"Symbol 378 MovieClip {shockwood.AllAssets_screenGame} [screenGame] Frame 1Symbol 357 MovieClip
"instructions"Symbol 378 MovieClip {shockwood.AllAssets_screenGame} [screenGame] Frame 1Symbol 377 MovieClip
"cover"Symbol 378 MovieClip {shockwood.AllAssets_screenGame} [screenGame] Frame 1Symbol 243 MovieClip
"submitScore"Symbol 378 MovieClip {shockwood.AllAssets_screenGame} [screenGame] Frame 1Symbol 260 MovieClip
"btnPlay"Symbol 383 MovieClip {shockwood.AllAssets_screenPreLoader} [screenPreLoader] Frame 1Symbol 298 Button
"myLink"Symbol 383 MovieClip {shockwood.AllAssets_screenPreLoader} [screenPreLoader] Frame 1Symbol 296 MovieClip
"menu3"Symbol 383 MovieClip {shockwood.AllAssets_screenPreLoader} [screenPreLoader] Frame 1Symbol 301 MovieClip
"loaderBar"Symbol 383 MovieClip {shockwood.AllAssets_screenPreLoader} [screenPreLoader] Frame 1Symbol 379 MovieClip
"btnContinue"Symbol 383 MovieClip {shockwood.AllAssets_screenPreLoader} [screenPreLoader] Frame 1Symbol 187 Button
"btnShockwood"Symbol 383 MovieClip {shockwood.AllAssets_screenPreLoader} [screenPreLoader] Frame 1Symbol 296 MovieClip
"btnTeagames"Symbol 383 MovieClip {shockwood.AllAssets_screenPreLoader} [screenPreLoader] Frame 1Symbol 302 MovieClip
"adBox"Symbol 383 MovieClip {shockwood.AllAssets_screenPreLoader} [screenPreLoader] Frame 1Symbol 382 MovieClip
"background1"Symbol 408 MovieClip {shockwood.control.Setting} [setting] Frame 1Symbol 389 MovieClip
"background"Symbol 408 MovieClip {shockwood.control.Setting} [setting] Frame 1Symbol 389 MovieClip
"midlayer"Symbol 408 MovieClip {shockwood.control.Setting} [setting] Frame 1Symbol 398 MovieClip
"midlayer1"Symbol 408 MovieClip {shockwood.control.Setting} [setting] Frame 1Symbol 398 MovieClip
"frontlayer"Symbol 408 MovieClip {shockwood.control.Setting} [setting] Frame 1Symbol 407 MovieClip
"frontlayer1"Symbol 408 MovieClip {shockwood.control.Setting} [setting] Frame 1Symbol 407 MovieClip
"sky"Symbol 414 MovieClip {shockwood.control.SettingVert} [settingVert] Frame 1Symbol 411 MovieClip
"frontlayer"Symbol 414 MovieClip {shockwood.control.SettingVert} [settingVert] Frame 1Symbol 412 MovieClip
"frontlayer1"Symbol 414 MovieClip {shockwood.control.SettingVert} [settingVert] Frame 1Symbol 412 MovieClip
"background"Symbol 414 MovieClip {shockwood.control.SettingVert} [settingVert] Frame 2Symbol 412 MovieClip
"background1"Symbol 414 MovieClip {shockwood.control.SettingVert} [settingVert] Frame 2Symbol 412 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1459 bytes "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 1000, ScriptTimeout: 60 seconds
ExportAssets (56)Timeline Frame 1Symbol 5 as "obstacle_lounger"
ExportAssets (56)Timeline Frame 1Symbol 7 as "art_cone"
ExportAssets (56)Timeline Frame 1Symbol 9 as "art_fence"
ExportAssets (56)Timeline Frame 1Symbol 12 as "obstacle_umbrella"
ExportAssets (56)Timeline Frame 1Symbol 14 as "art_platform"
ExportAssets (56)Timeline Frame 1Symbol 25 as "stars"
ExportAssets (56)Timeline Frame 1Symbol 26 as "thud.mp3"
ExportAssets (56)Timeline Frame 1Symbol 28 as "art_morrisMinor"
ExportAssets (56)Timeline Frame 1Symbol 30 as "art_bush"
ExportAssets (56)Timeline Frame 1Symbol 32 as "art_skateboard"
ExportAssets (56)Timeline Frame 1Symbol 75 as "art_chicken"
ExportAssets (56)Timeline Frame 1Symbol 77 as "art_rock"
ExportAssets (56)Timeline Frame 1Symbol 84 as "art_motor"
ExportAssets (56)Timeline Frame 1Symbol 85 as "Purity.mp3"
ExportAssets (56)Timeline Frame 1Symbol 87 as "art_balloon"
ExportAssets (56)Timeline Frame 1Symbol 88 as "arrow_and_splat.mp3"
ExportAssets (56)Timeline Frame 1Symbol 90 as "art_ball"
ExportAssets (56)Timeline Frame 1Symbol 97 as "art_paddle"
ExportAssets (56)Timeline Frame 1Symbol 98 as "sonar.mp3"
ExportAssets (56)Timeline Frame 1Symbol 141 as "definitionLevels"
ExportAssets (56)Timeline Frame 1Symbol 130 as "obstacle_bush"
ExportAssets (56)Timeline Frame 1Symbol 131 as "obstacle_morrisMinor"
ExportAssets (56)Timeline Frame 1Symbol 125 as "obstacle_hay"
ExportAssets (56)Timeline Frame 1Symbol 105 as "obstacle_balloon"
ExportAssets (56)Timeline Frame 1Symbol 142 as "comedy_boing_jews_harp_sprong.mp3"
ExportAssets (56)Timeline Frame 1Symbol 143 as "button_click_version_26.mp3"
ExportAssets (56)Timeline Frame 1Symbol 118 as "art_barrel"
ExportAssets (56)Timeline Frame 1Symbol 120 as "obstacle_fence"
ExportAssets (56)Timeline Frame 1Symbol 121 as "obstacle_rock"
ExportAssets (56)Timeline Frame 1Symbol 144 as "Cluck2.mp3"
ExportAssets (56)Timeline Frame 1Symbol 126 as "obstacle_skateboard"
ExportAssets (56)Timeline Frame 1Symbol 147 as "soundToggle"
ExportAssets (56)Timeline Frame 1Symbol 148 as "extraGet.mp3"
ExportAssets (56)Timeline Frame 1Symbol 149 as "skid.mp3"
ExportAssets (56)Timeline Frame 1Symbol 2 as "art_lounger"
ExportAssets (56)Timeline Frame 1Symbol 150 as "button_soft.mp3"
ExportAssets (56)Timeline Frame 1Symbol 139 as "art_tent"
ExportAssets (56)Timeline Frame 1Symbol 137 as "obstacle_cactus"
ExportAssets (56)Timeline Frame 1Symbol 114 as "art_beetle"
ExportAssets (56)Timeline Frame 1Symbol 152 as "stageCover"
ExportAssets (56)Timeline Frame 1Symbol 140 as "obstacle_tent"
ExportAssets (56)Timeline Frame 1Symbol 133 as "art_twoCv"
ExportAssets (56)Timeline Frame 1Symbol 112 as "obstacle_scorpion"
ExportAssets (56)Timeline Frame 1Symbol 157 as "gauge"
ExportAssets (56)Timeline Frame 1Symbol 167 as "_splash"
ExportAssets (56)Timeline Frame 1Symbol 261 as "screenStats"
ExportAssets (56)Timeline Frame 1Symbol 128 as "art_sledge"
ExportAssets (56)Timeline Frame 1Symbol 119 as "obstacle_barrel"
ExportAssets (56)Timeline Frame 1Symbol 288 as "screenMap"
ExportAssets (56)Timeline Frame 1Symbol 169 as "mainBg"
ExportAssets (56)Timeline Frame 1Symbol 289 as "thud3.mp3"
ExportAssets (56)Timeline Frame 1Symbol 124 as "art_hay"
ExportAssets (56)Timeline Frame 1Symbol 290 as "Cluck.mp3"
ExportAssets (56)Timeline Frame 1Symbol 134 as "obstacle_twoCv"
ExportAssets (56)Timeline Frame 1Symbol 291 as "thud2.mp3"
ExportAssets (56)Timeline Frame 1Symbol 108 as "obstacle_snowboard"
ExportAssets (56)Timeline Frame 1Symbol 313 as "screenMenu"
ExportAssets (56)Timeline Frame 1Symbol 111 as "art_scorpion"
ExportAssets (56)Timeline Frame 1Symbol 314 as "definitionObstacles"
ExportAssets (56)Timeline Frame 1Symbol 129 as "obstacle_sledge"
ExportAssets (56)Timeline Frame 1Symbol 11 as "art_umbrella"
ExportAssets (56)Timeline Frame 1Symbol 116 as "obstacle_cone"
ExportAssets (56)Timeline Frame 1Symbol 122 as "obstacle_platform"
ExportAssets (56)Timeline Frame 1Symbol 109 as "obstacle_ball"
ExportAssets (56)Timeline Frame 1Symbol 102 as "definitionHero"
ExportAssets (56)Timeline Frame 1Symbol 136 as "art_cactus"
ExportAssets (56)Timeline Frame 1Symbol 316 as "rope"
ExportAssets (56)Timeline Frame 1Symbol 115 as "obstacle_beetle"
ExportAssets (56)Timeline Frame 1Symbol 317 as "grab.mp3"
ExportAssets (56)Timeline Frame 1Symbol 107 as "art_snowboard"
ExportAssets (56)Timeline Frame 1Symbol 378 as "screenGame"
ExportAssets (56)Timeline Frame 1Symbol 383 as "screenPreLoader"
ExportAssets (56)Timeline Frame 2Symbol 408 as "setting"
ExportAssets (56)Timeline Frame 2Symbol 414 as "settingVert"
SerialNumber (41)Timeline Frame 1

Labels

"Preloader"Frame 1
"start"Frame 2
"lounger"Symbol 5 MovieClip {shockwood.AllAssets_obstacle_lounger} [obstacle_lounger] Frame 1
"umbrella"Symbol 12 MovieClip {shockwood.AllAssets_obstacle_umbrella} [obstacle_umbrella] Frame 1
"crash"Symbol 25 MovieClip {shockwood.AllAssets_stars} [stars] Frame 2
"stand"Symbol 41 MovieClip Frame 1
"fly"Symbol 41 MovieClip Frame 5
"stand"Symbol 50 MovieClip Frame 1
"fly"Symbol 50 MovieClip Frame 3
"crash"Symbol 50 MovieClip Frame 18
"crash"Symbol 55 MovieClip Frame 2
"snowboard"Symbol 108 MovieClip {shockwood.AllAssets_obstacle_snowboard} [obstacle_snowboard] Frame 1
"beachball"Symbol 109 MovieClip {shockwood.AllAssets_obstacle_ball} [obstacle_ball] Frame 1
"scorpion"Symbol 112 MovieClip {shockwood.AllAssets_obstacle_scorpion} [obstacle_scorpion] Frame 1
"carBeetle"Symbol 115 MovieClip {shockwood.AllAssets_obstacle_beetle} [obstacle_beetle] Frame 1
"cone"Symbol 116 MovieClip {shockwood.AllAssets_obstacle_cone} [obstacle_cone] Frame 1
"barrel"Symbol 119 MovieClip {shockwood.AllAssets_obstacle_barrel} [obstacle_barrel] Frame 1
"fence"Symbol 120 MovieClip {shockwood.AllAssets_obstacle_fence} [obstacle_fence] Frame 1
"rock"Symbol 121 MovieClip {shockwood.AllAssets_obstacle_rock} [obstacle_rock] Frame 1
"fence"Symbol 122 MovieClip {shockwood.AllAssets_obstacle_platform} [obstacle_platform] Frame 1
"hay"Symbol 125 MovieClip {shockwood.AllAssets_obstacle_hay} [obstacle_hay] Frame 1
"skateboard"Symbol 126 MovieClip {shockwood.AllAssets_obstacle_skateboard} [obstacle_skateboard] Frame 1
"sledge"Symbol 129 MovieClip {shockwood.AllAssets_obstacle_sledge} [obstacle_sledge] Frame 1
"bush"Symbol 130 MovieClip {shockwood.AllAssets_obstacle_bush} [obstacle_bush] Frame 1
"carMorrisMinor"Symbol 131 MovieClip {shockwood.AllAssets_obstacle_morrisMinor} [obstacle_morrisMinor] Frame 1
"car2CV"Symbol 134 MovieClip {shockwood.AllAssets_obstacle_twoCv} [obstacle_twoCv] Frame 1
"cactus"Symbol 137 MovieClip {shockwood.AllAssets_obstacle_cactus} [obstacle_cactus] Frame 1
"tent"Symbol 140 MovieClip {shockwood.AllAssets_obstacle_tent} [obstacle_tent] Frame 1
"beach"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 1
"country"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 4
"city"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 7
"desert"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 10
"snow"Symbol 141 MovieClip {shockwood.AllAssets_definitionLevels} [definitionLevels] Frame 13
"locked"Symbol 215 MovieClip Frame 13
"blank"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 1
"umbrella"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 2
"lounger"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 3
"beachball"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 4
"car2CV"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 5
"carBeetle"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 6
"carMorrisMinor"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 7
"cactus"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 8
"scorpion"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 9
"fence"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 10
"fire"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 11
"hay"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 12
"rock"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 13
"bush"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 14
"tent"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 15
"cone"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 16
"barrel"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 17
"sledge"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 18
"skateboard"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 19
"snowboard"Symbol 314 MovieClip {shockwood.AllAssets_definitionObstacles} [definitionObstacles] Frame 20




http://swfchan.com/25/123250/info.shtml
Created: 2/3 -2019 22:38:56 Last modified: 2/3 -2019 22:38:56 Server time: 22/12 -2024 09:29:21