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

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

Truck & Boat & Car Parking - Park my Big Rig 2.swf

This is the info page for
Flash #231264

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


Text
INSTRUCTIONs

INSTRUCTIONS

PARK MY BIG  RIG 1

play

Play iParkit2 on your iPhone

<p align="center"><font face="Arial" size="20" color="#ff0000" letterSpacing="5.000000" kerning="0"><b>0</b></font></p>

INSTRUCTIONS

1. Guide the truck to the parking area
within allotted time.
2. Use arrow keys to control the truck.
3. The player has a maximum of five
lives.
4. Avoid crashing into other vehicles,
fences and other obstacles.
5. Crashing will reduce your life.
6. On completion of Each 5 levels,
You'll get a Bonus Life.

Let's see How Skilled You Are!!!

BACK

BACK

PARKING

CONGRATS

S

T

A

R

G

N

O

C

O

C

N

G

R

A

T

S

CRASHED

D

E

H

H

E

D

D

E

S

P

A

M

I

T

T

I

M

E

A

P

S

E

D

<p align="center"><font face="Forte" size="21" color="#ffffff" letterSpacing="0.000000" kerning="1">Use WASD or Arrow keys to drive the truck... &nbsp;Avoid crashing onto obstacles... &nbsp;That will reduce your life...</font></p>

Press Space to Continue

LEVEL

TIME

LIFE

QUALITY

03:00

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

E

M

A

G

R

E

V

O

TRy again

TRy again

<p align="left"><font face="28 Days Later" size="29" color="#f2e1bf" letterSpacing="0.000000" kerning="1">your score is</font></p>

<p align="center"><font face="28 Days Later" size="31" color="#db2e03" letterSpacing="0.000000" kerning="1">000000</font></p>

You've earned a Bonus Life!

Rig-orous Parking  Truckie!

Top class

That’s one for the log book

Good job

Mix Master to Park Master

Fantastic

Now that’ll turn valet parkers green

AweSome

continue

continue

PLAY again

PLAY again

You nailed it mate – you tamed the Beasts…
all of ‘em!

GAME OVER

ActionScript [AS3]

Section 1
//Bounce (fl.transitions.easing.Bounce) package fl.transitions.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 fl.transitions.easing
Section 2
//Strong (fl.transitions.easing.Strong) package fl.transitions.easing { public class Strong { public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2)); } } }//package fl.transitions.easing
Section 3
//Tween (fl.transitions.Tween) package fl.transitions { import flash.display.*; import flash.events.*; import flash.utils.*; public class Tween extends EventDispatcher { public var isPlaying:Boolean;// = false public var obj:Object;// = null public var prop:String;// = "" public var func:Function; public var begin:Number;// = NAN public var change:Number;// = NAN public var useSeconds:Boolean;// = false public var prevTime:Number;// = NAN public var prevPos:Number;// = NAN public var looping:Boolean;// = false private var _duration:Number;// = NAN private var _time:Number;// = NAN private var _fps:Number;// = NAN private var _position:Number;// = NAN private var _startTime:Number;// = NAN private var _intervalID:uint;// = 0 private var _finish:Number;// = NAN private var _timer:Timer;// = null protected static var _mc:MovieClip = new MovieClip(); public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){ this.func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); }; super(); if (!arguments.length){ return; }; this.obj = _arg1; this.prop = _arg2; this.begin = _arg4; this.position = _arg4; this.duration = _arg6; this.useSeconds = _arg7; if ((_arg3 is Function)){ this.func = _arg3; }; this.finish = _arg5; this._timer = new Timer(100); this.start(); } public function get time():Number{ return (this._time); } public function set time(_arg1:Number):void{ this.prevTime = this._time; if (_arg1 > this.duration){ if (this.looping){ this.rewind((_arg1 - this._duration)); this.update(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position)); } else { if (this.useSeconds){ this._time = this._duration; this.update(); }; this.stop(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position)); }; } else { if (_arg1 < 0){ this.rewind(); this.update(); } else { this._time = _arg1; this.update(); }; }; } public function get duration():Number{ return (this._duration); } public function set duration(_arg1:Number):void{ this._duration = ((_arg1)<=0) ? Infinity : _arg1; } public function get FPS():Number{ return (this._fps); } public function set FPS(_arg1:Number):void{ var _local2:Boolean = this.isPlaying; this.stopEnterFrame(); this._fps = _arg1; if (_local2){ this.startEnterFrame(); }; } public function get position():Number{ return (this.getPosition(this._time)); } public function set position(_arg1:Number):void{ this.setPosition(_arg1); } public function getPosition(_arg1:Number=NaN):Number{ if (isNaN(_arg1)){ _arg1 = this._time; }; return (this.func(_arg1, this.begin, this.change, this._duration)); } public function setPosition(_arg1:Number):void{ this.prevPos = this._position; if (this.prop.length){ this.obj[this.prop] = (this._position = _arg1); }; this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position)); } public function get finish():Number{ return ((this.begin + this.change)); } public function set finish(_arg1:Number):void{ this.change = (_arg1 - this.begin); } public function continueTo(_arg1:Number, _arg2:Number):void{ this.begin = this.position; this.finish = _arg1; if (!isNaN(_arg2)){ this.duration = _arg2; }; this.start(); } public function yoyo():void{ this.continueTo(this.begin, this.time); } protected function startEnterFrame():void{ var _local1:Number; if (isNaN(this._fps)){ _mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true); } else { _local1 = (1000 / this._fps); this._timer.delay = _local1; this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true); this._timer.start(); }; this.isPlaying = true; } protected function stopEnterFrame():void{ if (isNaN(this._fps)){ _mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame); } else { this._timer.stop(); }; this.isPlaying = false; } public function start():void{ this.rewind(); this.startEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position)); } public function stop():void{ this.stopEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position)); } public function resume():void{ this.fixTime(); this.startEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position)); } public function rewind(_arg1:Number=0):void{ this._time = _arg1; this.fixTime(); this.update(); } public function fforward():void{ this.time = this._duration; this.fixTime(); } public function nextFrame():void{ if (this.useSeconds){ this.time = ((getTimer() - this._startTime) / 1000); } else { this.time = (this._time + 1); }; } protected function onEnterFrame(_arg1:Event):void{ this.nextFrame(); } protected function timerHandler(_arg1:TimerEvent):void{ this.nextFrame(); _arg1.updateAfterEvent(); } public function prevFrame():void{ if (!this.useSeconds){ this.time = (this._time - 1); }; } private function fixTime():void{ if (this.useSeconds){ this._startTime = (getTimer() - (this._time * 1000)); }; } private function update():void{ this.setPosition(this.getPosition(this._time)); } } }//package fl.transitions
Section 4
//TweenEvent (fl.transitions.TweenEvent) package fl.transitions { import flash.events.*; public class TweenEvent extends Event { public var time:Number;// = NAN public var position:Number;// = NAN public static const MOTION_START:String = "motionStart"; public static const MOTION_STOP:String = "motionStop"; public static const MOTION_FINISH:String = "motionFinish"; public static const MOTION_CHANGE:String = "motionChange"; public static const MOTION_RESUME:String = "motionResume"; public static const MOTION_LOOP:String = "motionLoop"; public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){ super(_arg1, _arg4, _arg5); this.time = _arg2; this.position = _arg3; } override public function clone():Event{ return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable)); } } }//package fl.transitions
Section 5
//AGteaser_mc_20 (ParkMyBigRig2_fla.AGteaser_mc_20) package ParkMyBigRig2_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import fl.transitions.*; import fl.transitions.easing.*; import flash.utils.*; import flash.media.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class AGteaser_mc_20 extends MovieClip { public var outerloader:MovieClip; public var progress_mc:MovieClip; public var AGlogo_mc:MovieClip; public var AGclick_btn:SimpleButton; public var AGpresented_mc:MovieClip; public var loadText:TextField; public var AGskip_btn:SimpleButton; public var smash:Smash; public var timer:Timer; public var p_in; public var total:Number; public var loaded:Number; public var loadPerc:Number; public var currentFrm:Number; public var totalFrm:Number; public var perTxt:Number; public var percByt:Number; public var animspeed:Number; public function AGteaser_mc_20(){ addFrameScript(0, frame1, 1, frame2); } public function done(_arg1:Event){ timer.stop(); if (this.visible == true){ gotoAndStop(2); }; } public function logo(_arg1:TweenEvent){ var crunch:Function; var logo_in:*; var event = _arg1; crunch = function (_arg1:TweenEvent){ smash.play(); if (AGclick_btn != null){ AGclick_btn.visible = true; }; if (AGlogo_mc != null){ new Tween(AGlogo_mc, "y", Bounce.easeOut, 60, 85, 6, false); new Tween(AGlogo_mc, "x", Bounce.easeOut, 30, 50, 6, false); }; if (AGpresented_mc != null){ new Tween(AGpresented_mc, "y", Bounce.easeOut, 15, 25, 6, false); new Tween(AGpresented_mc, "x", Bounce.easeOut, 110, 100, 6, false); }; }; if (AGlogo_mc != null){ logo_in = new Tween(AGlogo_mc, "y", Strong.easeIn, -75, 85, 12, false); logo_in.addEventListener(TweenEvent.MOTION_FINISH, crunch); }; } public function loadAG(_arg1:MouseEvent):void{ var event = _arg1; var AGurl:URLRequest = new URLRequest("http://www.addictinggames.com"); try { navigateToURL(AGurl, "_blank"); } catch(e:Error) { }; } public function onDisplayObjectsLoaded(_arg1){ stage.removeEventListener(Event.RENDER, onDisplayObjectsLoaded); this.addEventListener(MouseEvent.CLICK, logoRelease); this.addEventListener(Event.ENTER_FRAME, preLoader); } public function logoRelease(_arg1:MouseEvent){ } public function preLoader(_arg1:Event):void{ total = loaderInfo.bytesTotal; loaded = loaderInfo.bytesLoaded; loadPerc = Math.floor(((loaded / total) * 100)); currentFrm = outerloader.innerloader.currentFrame; totalFrm = outerloader.innerloader.totalFrames; perTxt = Math.round(((currentFrm / totalFrm) * 100)); loadText.text = String(perTxt); percByt = (loaded / total); animspeed = Math.ceil((totalFrm * percByt)); if (animspeed > currentFrm){ outerloader.innerloader.play(); progress_mc.play(); } else { outerloader.innerloader.stop(); progress_mc.stop(); }; if ((((perTxt >= 99)) && ((loadPerc >= 100)))){ this.removeEventListener(MouseEvent.CLICK, logoRelease); removeEventListener(Event.ENTER_FRAME, preLoader); if (this.visible == true){ MovieClip(root).removeChild(this); }; }; } function frame1(){ stop(); smash = new Smash(); AGpresented_mc.alpha = 0; AGclick_btn.visible = false; AGlogo_mc.y = -70; timer = new Timer(4000); timer.addEventListener(TimerEvent.TIMER, done); timer.start(); if (AGpresented_mc != null){ p_in = new Tween(AGpresented_mc, "alpha", Strong.easeIn, 0, 100, 12, false); p_in.addEventListener(TweenEvent.MOTION_FINISH, logo); }; if (AGskip_btn != null){ AGskip_btn.addEventListener(MouseEvent.MOUSE_DOWN, done); }; if (AGclick_btn != null){ AGclick_btn.addEventListener(MouseEvent.CLICK, loadAG); }; } function frame2(){ stop(); stage.invalidate(); stage.addEventListener(Event.RENDER, onDisplayObjectsLoaded); total = 0; loaded = 0; loadPerc = 0; currentFrm = 0; totalFrm = 0; perTxt = 0; percByt = 0; animspeed = 0; } } }//package ParkMyBigRig2_fla
Section 6
//bg_220 (ParkMyBigRig2_fla.bg_220) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class bg_220 extends MovieClip { public var scoreWindow:MovieClip; public function bg_220(){ addFrameScript(41, frame42); } function frame42(){ stop(); } } }//package ParkMyBigRig2_fla
Section 7
//BUGload_26 (ParkMyBigRig2_fla.BUGload_26) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class BUGload_26 extends MovieClip { public function BUGload_26(){ addFrameScript(74, frame75); } function frame75(){ } } }//package ParkMyBigRig2_fla
Section 8
//buttonGraphicsQuality_73 (ParkMyBigRig2_fla.buttonGraphicsQuality_73) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class buttonGraphicsQuality_73 extends MovieClip { public function buttonGraphicsQuality_73(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package ParkMyBigRig2_fla
Section 9
//CONGRATSscroler_62 (ParkMyBigRig2_fla.CONGRATSscroler_62) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class CONGRATSscroler_62 extends MovieClip { public function CONGRATSscroler_62(){ addFrameScript(0, frame1, 56, frame57); } function frame1(){ stop(); } function frame57(){ gotoAndStop(1); } } }//package ParkMyBigRig2_fla
Section 10
//CRASHEDANIMATION_64 (ParkMyBigRig2_fla.CRASHEDANIMATION_64) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class CRASHEDANIMATION_64 extends MovieClip { public var crashedFinish:MovieClip; public function CRASHEDANIMATION_64(){ addFrameScript(0, frame1, 47, frame48); } function frame1(){ stop(); } function frame48(){ gotoAndStop(1); } } }//package ParkMyBigRig2_fla
Section 11
//crasheddoubleTrailer_147 (ParkMyBigRig2_fla.crasheddoubleTrailer_147) package ParkMyBigRig2_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class crasheddoubleTrailer_147 extends MovieClip { public var rigFront:MovieClip; public var rigBack:MovieClip; public function crasheddoubleTrailer_147(){ addFrameScript(0, frame1); } function frame1(){ rigFront.leftSmoke.visible = false; rigFront.rightSmoke.visible = false; } } }//package ParkMyBigRig2_fla
Section 12
//Game_goodjob_1_227 (ParkMyBigRig2_fla.Game_goodjob_1_227) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class Game_goodjob_1_227 extends MovieClip { public function Game_goodjob_1_227(){ addFrameScript(40, frame41); } function frame41(){ stop(); } } }//package ParkMyBigRig2_fla
Section 13
//Game_goodjob_1asd_230 (ParkMyBigRig2_fla.Game_goodjob_1asd_230) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class Game_goodjob_1asd_230 extends MovieClip { public function Game_goodjob_1asd_230(){ addFrameScript(40, frame41); } function frame41(){ stop(); } } }//package ParkMyBigRig2_fla
Section 14
//Game_goodjob_df_233 (ParkMyBigRig2_fla.Game_goodjob_df_233) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class Game_goodjob_df_233 extends MovieClip { public function Game_goodjob_df_233(){ addFrameScript(40, frame41); } function frame41(){ stop(); } } }//package ParkMyBigRig2_fla
Section 15
//GAMEOVER_216 (ParkMyBigRig2_fla.GAMEOVER_216) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class GAMEOVER_216 extends MovieClip { public function GAMEOVER_216(){ addFrameScript(31, frame32); } function frame32(){ stop(); } } }//package ParkMyBigRig2_fla
Section 16
//GAMEOVERSCREEN_215 (ParkMyBigRig2_fla.GAMEOVERSCREEN_215) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class GAMEOVERSCREEN_215 extends MovieClip { public function GAMEOVERSCREEN_215(){ addFrameScript(35, frame36); } function frame36(){ stop(); } } }//package ParkMyBigRig2_fla
Section 17
//GAMEWON_224 (ParkMyBigRig2_fla.GAMEWON_224) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class GAMEWON_224 extends MovieClip { public function GAMEWON_224(){ addFrameScript(40, frame41); } function frame41(){ stop(); } } }//package ParkMyBigRig2_fla
Section 18
//GAMEWONSCREEN_222 (ParkMyBigRig2_fla.GAMEWONSCREEN_222) package ParkMyBigRig2_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class GAMEWONSCREEN_222 extends MovieClip { public var congratsMsg4:MovieClip; public var congratsMsg3:MovieClip; public var congratsMsg2:MovieClip; public var congratsMsg1:MovieClip; public var bonusText:MovieClip; public var msg:Number; public function GAMEWONSCREEN_222(){ addFrameScript(0, frame1, 10, frame11, 44, frame45); } function frame1(){ if (((((MovieClip(root).nextLevel % 5) == 0)) && ((MovieClip(root).remainingLife < 5)))){ MovieClip(root).remainingLife = (MovieClip(root).remainingLife + 1); bonusText.visible = true; } else { bonusText.visible = false; }; } function frame11(){ msg = (Math.random() * 4); if (msg > 3){ congratsMsg1.visible = true; congratsMsg2.visible = false; congratsMsg3.visible = false; congratsMsg4.visible = false; } else { if (msg > 2){ congratsMsg1.visible = false; congratsMsg2.visible = true; congratsMsg3.visible = false; congratsMsg4.visible = false; } else { if (msg > 1){ congratsMsg1.visible = false; congratsMsg2.visible = false; congratsMsg3.visible = true; congratsMsg4.visible = false; } else { if (msg > 0){ congratsMsg1.visible = false; congratsMsg2.visible = false; congratsMsg3.visible = false; congratsMsg4.visible = true; }; }; }; }; } function frame45(){ stop(); } } }//package ParkMyBigRig2_fla
Section 19
//HUB_72 (ParkMyBigRig2_fla.HUB_72) package ParkMyBigRig2_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class HUB_72 extends MovieClip { public var life1:MovieClip; public var life2:MovieClip; public var life3:MovieClip; public var life4:MovieClip; public var life5:MovieClip; public var btnAdjustQuality:MovieClip; public var qualityFlag:Boolean; public function HUB_72(){ addFrameScript(0, frame1); } public function changeQuality(_arg1:MouseEvent):void{ if (!MovieClip(root).muteFlag){ MovieClip(root).buttonSoundChannel = MovieClip(root).sound_Button.play(0, 1); }; if (qualityFlag){ stage.quality = StageQuality.MEDIUM; btnAdjustQuality.gotoAndStop(2); qualityFlag = false; } else { stage.quality = StageQuality.HIGH; btnAdjustQuality.gotoAndStop(1); qualityFlag = true; }; } function frame1(){ MovieClip(root).statusBar.visible = true; qualityFlag = undefined; if (btnAdjustQuality.currentFrame == 1){ qualityFlag = true; } else { if (btnAdjustQuality.currentFrame == 2){ qualityFlag = false; }; }; btnAdjustQuality.addEventListener(MouseEvent.MOUSE_DOWN, changeQuality); } } }//package ParkMyBigRig2_fla
Section 20
//INSTRUCTIONSCREEN_34 (ParkMyBigRig2_fla.INSTRUCTIONSCREEN_34) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class INSTRUCTIONSCREEN_34 extends MovieClip { public function INSTRUCTIONSCREEN_34(){ addFrameScript(38, frame39); } function frame39(){ stop(); } } }//package ParkMyBigRig2_fla
Section 21
//MainTimeline (ParkMyBigRig2_fla.MainTimeline) package ParkMyBigRig2_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var agButton_btn:SimpleButton; public var crashedMsg:MovieClip; public var topObject:MovieClip; public var btnMute:MovieClip; public var timeElapsedMsg:MovieClip; public var statusBar:MovieClip; public var lightArea1:MovieClip; public var playGround:MovieClip; public var congratsMsg:MovieClip; public var teaser:MovieClip; public var gameOverScreen:MovieClip; public var training:MovieClip; public var night:MovieClip; public var txtLevel:TextField; public var maskLayer:MovieClip; public var playMask:MovieClip; public var scoreWindow1:MovieClip; public var maskLayer1:MovieClip; public var lightArea:MovieClip; public var txtTimeLeft:TextField; public var teaserShown:Boolean; public var muteFlag:Boolean; public var mute1:SoundTransform; public var volume11:SoundTransform; public var sound_BG:m1; public var trainingFinished:Boolean; public var truckBGChannel:SoundChannel; public var score:Number; public var nextLevel:Number; public var remainingLife:Number; public var sound_Button:buttonSound; public var buttonSoundChannel:SoundChannel; public var bonusTextDisplay:Boolean; public var btnPlay; public var btnInstructions; public var btnPMBR1; public var btniParkIt2; public var btnBack; public var sound_BG_onPlay:m7; public var truckBGOnPlayChannel:SoundChannel; public var timer1; public var timer2; public var btnPlayAgain; public var btnContinue; public var btnTryAgain; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30); } public function muteSound(_arg1:MouseEvent):void{ MovieClip(root).buttonSoundChannel = MovieClip(root).sound_Button.play(0, 1); if (truckBGOnPlayChannel != null){ if (muteFlag){ btnMute.gotoAndStop(1); muteFlag = false; truckBGOnPlayChannel.soundTransform = volume11; } else { btnMute.gotoAndStop(2); muteFlag = true; truckBGOnPlayChannel.soundTransform = mute1; }; }; if (truckBGChannel != null){ if (muteFlag){ btnMute.gotoAndStop(1); muteFlag = false; truckBGChannel.soundTransform = volume11; } else { btnMute.gotoAndStop(2); muteFlag = true; truckBGChannel.soundTransform = mute1; }; }; } public function playIntroSoundAgain(_arg1:Event):void{ truckBGChannel.removeEventListener(Event.SOUND_COMPLETE, playIntroSoundAgain); truckBGChannel = sound_BG.play(0, 100); if (MovieClip(root).muteFlag){ truckBGChannel.soundTransform = mute1; } else { truckBGChannel.soundTransform = volume11; }; truckBGChannel.addEventListener(Event.SOUND_COMPLETE, playIntroSoundAgain); } public function playGame(_arg1:MouseEvent):void{ if (!muteFlag){ buttonSoundChannel = sound_Button.play(0, 1); }; if (truckBGChannel != null){ truckBGChannel.stop(); truckBGChannel = null; }; gotoAndStop(3); clearEventListeners(); } public function instructions(_arg1:MouseEvent):void{ if (!muteFlag){ buttonSoundChannel = sound_Button.play(0, 1); }; gotoAndStop(2); clearEventListeners(); } public function clearEventListeners():void{ stage.removeEventListener(MouseEvent.MOUSE_DOWN, playGame); stage.removeEventListener(MouseEvent.CLICK, instructions); stage.removeEventListener(MouseEvent.CLICK, gotoPMBR1); } public function gotoPMBR1(_arg1:MouseEvent):void{ var e = _arg1; if (!muteFlag){ buttonSoundChannel = sound_Button.play(0, 1); }; var PMBR1url:URLRequest = new URLRequest("http://www.addictinggames.com/park_my_big_rig.html"); try { navigateToURL(PMBR1url, "_blank"); } catch(e:Error) { }; } public function gotoiParkIt2(_arg1:MouseEvent):void{ var e = _arg1; if (!muteFlag){ buttonSoundChannel = sound_Button.play(0, 1); }; var iParkit2url:URLRequest = new URLRequest("http://itunes.apple.com/us/app/id374275580?mt=8"); try { navigateToURL(iParkit2url, "_blank"); } catch(e:Error) { }; } public function gotoHome(_arg1:MouseEvent):void{ if (!muteFlag){ buttonSoundChannel = sound_Button.play(0, 1); }; gotoAndStop(1); stage.removeEventListener(KeyboardEvent.KEY_DOWN, gotoHome1); stage.removeEventListener(MouseEvent.CLICK, gotoHome); } public function gotoHome1(_arg1:KeyboardEvent):void{ if (!muteFlag){ buttonSoundChannel = sound_Button.play(0, 1); }; gotoAndStop(1); stage.removeEventListener(KeyboardEvent.KEY_DOWN, gotoHome1); stage.removeEventListener(MouseEvent.CLICK, gotoHome); } public function playSoundAgain(_arg1:Event):void{ truckBGOnPlayChannel.removeEventListener(Event.SOUND_COMPLETE, playSoundAgain); truckBGOnPlayChannel = sound_BG_onPlay.play(0, 100); if (MovieClip(root).muteFlag){ truckBGOnPlayChannel.soundTransform = mute1; } else { truckBGOnPlayChannel.soundTransform = volume11; }; truckBGOnPlayChannel.addEventListener(Event.SOUND_COMPLETE, playSoundAgain); } public function startGame_level2():void{ MovieClip(root).training.textText.trainingText.text = "Use WASD or Arrow keys to drive the truck... Drive and park in the flashing Park Area..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new boxVan(); _local1.name = "veh1"; addChild(_local1); _local1.mainTruckX = 600; _local1.mainTruckY = 150; _local1.mainTruckRotation = 180; _local1.RIG1_LENGTH = 125; _local1.x = 600; _local1.y = 150; _local1.rotation = 180; _local1.obstacleCount = 2; _local1.movCarCount = 0; _local1.gutterCount = 2; _local1.nightMode = false; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level3():void{ MovieClip(root).training.textText.trainingText.text = "A Dump Truck??? Oh, it's empty!!! Should be easy to drive..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new dumpTruck(); addChild(_local1); _local1.mainTruckX = 600; _local1.mainTruckY = 500; _local1.mainTruckRotation = 0; _local1.RIG1_LENGTH = 125; _local1.x = 600; _local1.y = 500; _local1.rotation = 0; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level4():void{ MovieClip(root).training.textText.trainingText.text = "Deliver the Monster Truck... Drive and park in the flashing park Area..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:monster = new monster(); addChild(_local1); _local1.mainTruckX = 400; _local1.mainTruckY = 120; _local1.mainTruckRotation = 90; _local1.RIG1_LENGTH = 125; _local1.x = 400; _local1.y = 120; _local1.rotation = 90; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level1():void{ MovieClip(root).training.textText.trainingText.text = "Here Comes the real challenge... Drive and park this beautiful Biggie!!!"; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:Rig = new cementMixer(); addChild(_local1); _local1.mainTruckX = 100; _local1.mainTruckY = 250; _local1.mainTruckRotation = 90; _local1.RIG1_LENGTH = 123; _local1.x = 100; _local1.y = 250; _local1.rotation = 90; _local1.obstacleCount = 2; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level5():void{ MovieClip(root).training.textText.trainingText.text = "Fire!!! A fire alarm has just went off... Rush!!!"; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new fireTruck(); addChild(_local1); _local1.mainTruckX = 720; _local1.mainTruckY = 420; _local1.mainTruckRotation = 0; _local1.RIG1_LENGTH = 125; _local1.x = 720; _local1.y = 420; _local1.rotation = 0; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 1; _local1.nightMode = false; _local1.isFireTruck = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level7():void{ MovieClip(root).training.textText.trainingText.text = "Avoid other vehicles and park the rig... Let's see, whether you are patient enough to be a good driver..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:Rig = new cementMixer(); addChild(_local1); _local1.mainTruckX = 200; _local1.mainTruckY = 300; _local1.mainTruckRotation = 0; _local1.RIG1_LENGTH = 123; _local1.x = 200; _local1.y = 300; _local1.rotation = 0; _local1.obstacleCount = 1; _local1.movCarCount = 1; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level10():void{ MovieClip(root).training.textText.trainingText.text = "Park this Monster... Let's see whether you have what's needed!!!"; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:monster = new monster(); addChild(_local1); _local1.mainTruckX = 530; _local1.mainTruckY = 250; _local1.mainTruckRotation = 270; _local1.RIG1_LENGTH = 125; _local1.x = 530; _local1.y = 250; _local1.rotation = 270; _local1.obstacleCount = 1; _local1.movCarCount = 1; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level9():void{ MovieClip(root).training.textText.trainingText.text = "Oh, It's too late... Drive and find parking Area..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:Rig = new cementMixer(); addChild(_local1); _local1.mainTruckX = 200; _local1.mainTruckY = 300; _local1.mainTruckRotation = 270; _local1.RIG1_LENGTH = 123; _local1.x = 200; _local1.y = 300; _local1.rotation = 270; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = true; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level6():void{ MovieClip(root).training.textText.trainingText.text = "Night driving has never been so much fun... Find the parking spot..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new boxVan(); addChild(_local1); _local1.mainTruckX = 500; _local1.mainTruckY = 130; _local1.mainTruckRotation = 270; _local1.RIG1_LENGTH = 125; _local1.x = 500; _local1.y = 130; _local1.rotation = 270; _local1.obstacleCount = 1; _local1.movCarCount = 1; _local1.gutterCount = 0; _local1.nightMode = true; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level8():void{ MovieClip(root).training.textText.trainingText.text = "Foggy Day, Can't see anything... How will I reach Work Site?"; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:Rig = new cementMixer(); addChild(_local1); _local1.mainTruckX = 400; _local1.mainTruckY = 400; _local1.mainTruckRotation = 270; _local1.RIG1_LENGTH = 123; _local1.x = 400; _local1.y = 400; _local1.rotation = 270; _local1.obstacleCount = 1; _local1.movCarCount = 1; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.isMonster = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level15():void{ MovieClip(root).training.textText.trainingText.text = "Seems like this fog is going to stay forever... How can I reach home?"; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new dumpTruck(); addChild(_local1); _local1.mainTruckX = 220; _local1.mainTruckY = 200; _local1.mainTruckRotation = 180; _local1.RIG1_LENGTH = 125; _local1.x = 220; _local1.y = 200; _local1.rotation = 180; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level11():void{ MovieClip(root).training.textText.trainingText.text = "This Biggie is fully loaded... Should take care while driving..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:Rig = new singleTrailer(); addChild(_local1); _local1.mainTruckX = 260; _local1.mainTruckY = 350; _local1.mainTruckRotation = 0; _local1.RIG1_LENGTH = 214; _local1.x = 260; _local1.y = 350; _local1.rotation = 0; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level12():void{ var _local1:mainTruck; MovieClip(root).training.textText.trainingText.text = "Somebody got hurt... Rush to The Spot!!!"; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); _local1 = new ambulance(); addChild(_local1); _local1.ambulance = true; _local1.mainTruckX = 520; _local1.mainTruckY = 420; _local1.mainTruckRotation = 0; _local1.RIG1_LENGTH = 125; _local1.x = 520; _local1.y = 420; _local1.rotation = 0; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.isAmbulance = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level13():void{ MovieClip(root).training.textText.trainingText.text = "Driving Monsters nuts is really fun..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:monster = new monster(); addChild(_local1); _local1.mainTruckX = 275; _local1.mainTruckY = 400; _local1.mainTruckRotation = 0; _local1.RIG1_LENGTH = 125; _local1.x = 275; _local1.y = 400; _local1.rotation = 0; _local1.obstacleCount = 1; _local1.movCarCount = 3; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level14():void{ MovieClip(root).training.textText.trainingText.text = "Still doubt on my driving skills? I'll show you what I can do!"; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:Rig = new singleTrailer(); addChild(_local1); _local1.mainTruckX = 450; _local1.mainTruckY = 350; _local1.mainTruckRotation = 180; _local1.RIG1_LENGTH = 214; _local1.x = 450; _local1.y = 350; _local1.rotation = 180; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level18():void{ MovieClip(root).training.textText.trainingText.text = "Finding way to collect waste is feeling like climbing Everest!!!"; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new dumpTruck(); addChild(_local1); _local1.mainTruckX = 570; _local1.mainTruckY = 170; _local1.mainTruckRotation = 180; _local1.RIG1_LENGTH = 125; _local1.x = 570; _local1.y = 170; _local1.rotation = 180; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = true; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level17():void{ MovieClip(root).training.textText.trainingText.text = "Deliver the cargo dude... Don't make any scratches on our Van!!!"; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new boxVan(); addChild(_local1); _local1.mainTruckX = 420; _local1.mainTruckY = 300; _local1.mainTruckRotation = 270; _local1.RIG1_LENGTH = 125; _local1.x = 420; _local1.y = 300; _local1.rotation = 270; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level20():void{ MovieClip(root).training.textText.trainingText.text = "It's a rescue mission... Drive Fast..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new ambulance(); addChild(_local1); _local1.ambulance = true; _local1.mainTruckX = 250; _local1.mainTruckY = 200; _local1.mainTruckRotation = 90; _local1.RIG1_LENGTH = 125; _local1.x = 250; _local1.y = 200; _local1.rotation = 90; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.isAmbulance = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level21():void{ MovieClip(root).training.textText.trainingText.text = "Delivering cargo? What the hell does this contain?"; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new boxVan(); addChild(_local1); _local1.mainTruckX = 400; _local1.mainTruckY = 300; _local1.mainTruckRotation = 270; _local1.RIG1_LENGTH = 125; _local1.x = 400; _local1.y = 300; _local1.rotation = 270; _local1.obstacleCount = 1; _local1.movCarCount = 1; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level19():void{ MovieClip(root).training.textText.trainingText.text = "Deliver this Monster Truck... Don't make any scratches on It..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:monster = new monster(); addChild(_local1); _local1.mainTruckX = 400; _local1.mainTruckY = 200; _local1.mainTruckRotation = 180; _local1.RIG1_LENGTH = 125; _local1.x = 400; _local1.y = 200; _local1.rotation = 180; _local1.obstacleCount = 1; _local1.movCarCount = 1; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level24():void{ MovieClip(root).training.textText.trainingText.text = "Fire, this early... I'm feeling sleepy... Anyway, has got to find the place..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new fireTruck(); addChild(_local1); _local1.mainTruckX = 625; _local1.mainTruckY = 375; _local1.mainTruckRotation = 0; _local1.RIG1_LENGTH = 125; _local1.x = 625; _local1.y = 375; _local1.rotation = 0; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.isFireTruck = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level16():void{ MovieClip(root).training.textText.trainingText.text = "Call from Construction site... Deliver the concrete before it sets..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:Rig = new cementMixer(); addChild(_local1); _local1.mainTruckX = 470; _local1.mainTruckY = 350; _local1.mainTruckRotation = 270; _local1.RIG1_LENGTH = 123; _local1.x = 470; _local1.y = 350; _local1.rotation = 270; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level23():void{ MovieClip(root).training.textText.trainingText.text = "Real Estate is really booming... There are loads of overtime work..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:Rig = new cementMixer(); addChild(_local1); _local1.mainTruckX = 400; _local1.mainTruckY = 250; _local1.mainTruckRotation = 0; _local1.RIG1_LENGTH = 123; _local1.x = 400; _local1.y = 250; _local1.rotation = 0; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level22():void{ MovieClip(root).training.textText.trainingText.text = "Go and Collect the waste dude... Take care, there is a vehicle parked below the fly over..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new dumpTruck(); addChild(_local1); _local1.mainTruckX = 175; _local1.mainTruckY = 460; _local1.mainTruckRotation = 90; _local1.RIG1_LENGTH = 125; _local1.x = 175; _local1.y = 460; _local1.rotation = 90; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function startGame_level25():void{ MovieClip(root).training.textText.trainingText.text = "Deliver the cargo... Don't think that it's that much easy..."; MovieClip(root).training.visible = true; MovieClip(root).training.gotoAndPlay(1); var _local1:mainTruck = new boxVan(); addChild(_local1); _local1.mainTruckX = 300; _local1.mainTruckY = 400; _local1.mainTruckRotation = 90; _local1.RIG1_LENGTH = 125; _local1.x = 300; _local1.y = 400; _local1.rotation = 90; _local1.obstacleCount = 1; _local1.movCarCount = 0; _local1.gutterCount = 0; _local1.nightMode = false; _local1.scrollable = true; _local1.initialize(); var _local2:* = 1; while (_local2 <= _local1.movCarCount) { root["playGround"][("movingCar" + _local2)].gotoAndPlay(1); if (_local1.nightMode){ root["playMask"][("movingCar" + _local2)].gotoAndPlay(1); }; _local2++; }; } public function playGame1(_arg1:MouseEvent):void{ if (!muteFlag){ buttonSoundChannel = MovieClip(root).sound_Button.play(0, 1); }; gotoAndStop(1); stage.removeEventListener(MouseEvent.CLICK, playGame1); stage.removeEventListener(KeyboardEvent.KEY_DOWN, playGame11); if (truckBGOnPlayChannel != null){ truckBGOnPlayChannel.stop(); truckBGOnPlayChannel = null; }; } public function playGame11(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == 32){ if (!muteFlag){ buttonSoundChannel = sound_Button.play(0, 1); }; gotoAndStop(1); stage.removeEventListener(MouseEvent.CLICK, playGame1); stage.removeEventListener(KeyboardEvent.KEY_DOWN, playGame11); if (truckBGOnPlayChannel != null){ truckBGOnPlayChannel.stop(); truckBGOnPlayChannel = null; }; }; } public function playContinue(_arg1:MouseEvent):void{ if (!muteFlag){ buttonSoundChannel = sound_Button.play(0, 1); }; nextLevel = (nextLevel + 1); gotoAndPlay((nextLevel + 2)); stage.removeEventListener(MouseEvent.CLICK, playContinue); stage.removeEventListener(KeyboardEvent.KEY_DOWN, playContinue1); } public function playContinue1(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == 32){ if (!muteFlag){ buttonSoundChannel = sound_Button.play(0, 1); }; nextLevel = (nextLevel + 1); gotoAndPlay((nextLevel + 2)); stage.removeEventListener(MouseEvent.CLICK, playContinue); stage.removeEventListener(KeyboardEvent.KEY_DOWN, playContinue1); }; } function frame1(){ if (!teaserShown){ teaser.visible = true; teaserShown = true; } else { teaser.visible = false; }; muteFlag = undefined; mute1 = new SoundTransform(); volume11 = new SoundTransform(); if (btnMute.currentFrame == 1){ muteFlag = false; } else { if (btnMute.currentFrame == 2){ muteFlag = true; }; }; mute1.volume = 0; volume11.volume = 0.6; btnMute.addEventListener(MouseEvent.MOUSE_DOWN, muteSound); sound_BG = new m1(); if (truckBGChannel == null){ truckBGChannel = sound_BG.play(0, 100); if (MovieClip(root).muteFlag){ truckBGChannel.soundTransform = mute1; } else { truckBGChannel.soundTransform = volume11; }; truckBGChannel.addEventListener(Event.SOUND_COMPLETE, playIntroSoundAgain); }; stage.showDefaultContextMenu = false; stop(); score = 0; nextLevel = 1; remainingLife = 5; sound_Button = new buttonSound(); bonusTextDisplay = false; btnPlay = (getChildByName("btnPlay") as SimpleButton); btnInstructions = (getChildByName("btnInstructions") as SimpleButton); btnPMBR1 = (getChildByName("btnPMBR1") as SimpleButton); btniParkIt2 = (getChildByName("btniParkIt2") as SimpleButton); btnPlay.addEventListener(MouseEvent.MOUSE_DOWN, playGame); btnInstructions.addEventListener(MouseEvent.CLICK, instructions); btnPMBR1.addEventListener(MouseEvent.MOUSE_DOWN, gotoPMBR1); btniParkIt2.addEventListener(MouseEvent.MOUSE_DOWN, gotoiParkIt2); } function frame2(){ stop(); btnBack = (getChildByName("btnBack") as SimpleButton); btnBack.addEventListener(MouseEvent.CLICK, gotoHome); stage.addEventListener(KeyboardEvent.KEY_DOWN, gotoHome1); } function frame3(){ sound_BG_onPlay = new m7(); if (truckBGOnPlayChannel == null){ truckBGOnPlayChannel = sound_BG_onPlay.play(0, 100); if (MovieClip(root).muteFlag){ truckBGOnPlayChannel.soundTransform = mute1; } else { truckBGOnPlayChannel.soundTransform = volume11; }; truckBGOnPlayChannel.addEventListener(Event.SOUND_COMPLETE, playSoundAgain); }; stop(); startGame_level2(); } function frame4(){ stop(); startGame_level3(); } function frame5(){ stop(); startGame_level4(); } function frame6(){ stop(); startGame_level1(); } function frame7(){ stop(); startGame_level5(); } function frame8(){ stop(); startGame_level7(); } function frame9(){ stop(); startGame_level10(); } function frame10(){ stop(); startGame_level9(); } function frame11(){ stop(); startGame_level6(); } function frame12(){ stop(); startGame_level8(); } function frame13(){ stop(); startGame_level15(); } function frame14(){ stop(); startGame_level11(); } function frame15(){ stop(); startGame_level12(); } function frame16(){ stop(); startGame_level13(); } function frame17(){ stop(); startGame_level14(); } function frame18(){ stop(); startGame_level18(); } function frame19(){ stop(); startGame_level17(); } function frame20(){ stop(); startGame_level20(); } function frame21(){ stop(); startGame_level21(); } function frame22(){ stop(); startGame_level19(); } function frame23(){ stop(); startGame_level24(); } function frame24(){ stop(); startGame_level16(); } function frame25(){ stop(); startGame_level23(); } function frame26(){ stop(); startGame_level22(); } function frame27(){ stop(); startGame_level25(); } function frame28(){ stop(); statusBar.visible = false; txtLevel.visible = false; txtTimeLeft.visible = false; btnPlayAgain = (getChildByName("btnPlayAgain") as SimpleButton); btnPlayAgain.addEventListener(MouseEvent.CLICK, playGame1); stage.addEventListener(KeyboardEvent.KEY_DOWN, playGame11); root["scoreWindow1"]["scoreWindow"]["txtScore"].text = (score + ""); score = 0; } function frame29(){ stop(); statusBar.visible = false; txtLevel.visible = false; txtTimeLeft.visible = false; btnContinue = (getChildByName("btnContinue") as SimpleButton); btnContinue.addEventListener(MouseEvent.CLICK, playContinue); stage.addEventListener(KeyboardEvent.KEY_DOWN, playContinue1); root["scoreWindow1"]["scoreWindow"]["txtScore"].text = (score + ""); } function frame30(){ stop(); statusBar.visible = false; txtLevel.visible = false; txtTimeLeft.visible = false; btnTryAgain = (getChildByName("btnTryAgain") as SimpleButton); btnTryAgain.addEventListener(MouseEvent.CLICK, playGame1); stage.addEventListener(KeyboardEvent.KEY_DOWN, playGame11); root["scoreWindow1"]["scoreWindow"]["txtScore"].text = (score + ""); score = 0; } } }//package ParkMyBigRig2_fla
Section 22
//mm_221 (ParkMyBigRig2_fla.mm_221) package ParkMyBigRig2_fla { import flash.display.*; import flash.text.*; public dynamic class mm_221 extends MovieClip { public var txtScore:TextField; public function mm_221(){ addFrameScript(0, frame1); } function frame1(){ } } }//package ParkMyBigRig2_fla
Section 23
//moving7_173 (ParkMyBigRig2_fla.moving7_173) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class moving7_173 extends MovieClip { public function moving7_173(){ addFrameScript(962, frame963); } function frame963(){ stop(); } } }//package ParkMyBigRig2_fla
Section 24
//muteButton_15 (ParkMyBigRig2_fla.muteButton_15) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class muteButton_15 extends MovieClip { public function muteButton_15(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package ParkMyBigRig2_fla
Section 25
//pickupTruckBody_128 (ParkMyBigRig2_fla.pickupTruckBody_128) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class pickupTruckBody_128 extends MovieClip { public function pickupTruckBody_128(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package ParkMyBigRig2_fla
Section 26
//smoke_112 (ParkMyBigRig2_fla.smoke_112) package ParkMyBigRig2_fla { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class smoke_112 extends MovieClip { public function smoke_112(){ addFrameScript(0, frame1, 11, frame12); } function frame1(){ this.smoke = true; } function frame12(){ this.smoke = true; } } }//package ParkMyBigRig2_fla
Section 27
//TIMEELAPSEDANIMATION45_66 (ParkMyBigRig2_fla.TIMEELAPSEDANIMATION45_66) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class TIMEELAPSEDANIMATION45_66 extends MovieClip { public function TIMEELAPSEDANIMATION45_66(){ addFrameScript(53, frame54); } function frame54(){ gotoAndStop(1); } } }//package ParkMyBigRig2_fla
Section 28
//trainingpopup_69 (ParkMyBigRig2_fla.trainingpopup_69) package ParkMyBigRig2_fla { import flash.display.*; public dynamic class trainingpopup_69 extends MovieClip { public var textText:MovieClip; public function trainingpopup_69(){ addFrameScript(0, frame1, 29, frame30); } function frame1(){ } function frame30(){ stop(); } } }//package ParkMyBigRig2_fla
Section 29
//ambulance (ambulance) package { public dynamic class ambulance extends mainTruck { public function ambulance(){ addFrameScript(0, frame1); } function frame1(){ stop(); this.truckSmoke.visible = false; } } }//package
Section 30
//boxVan (boxVan) package { public dynamic class boxVan extends mainTruck { public function boxVan(){ addFrameScript(0, frame1); } function frame1(){ truckSmoke.visible = false; } } }//package
Section 31
//buttonSound (buttonSound) package { import flash.media.*; public dynamic class buttonSound extends Sound { } }//package
Section 32
//cementMixer (cementMixer) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class cementMixer extends Rig { public function cementMixer(){ addFrameScript(0, frame1); } function frame1(){ rigFront.leftSmoke.visible = false; rigFront.rightSmoke.visible = false; } } }//package
Section 33
//clap (clap) package { import flash.media.*; public dynamic class clap extends Sound { } }//package
Section 34
//doubleTrailer (doubleTrailer) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class doubleTrailer extends Rig { public function doubleTrailer(){ addFrameScript(0, frame1); } function frame1(){ rigFront.leftSmoke.visible = false; rigFront.rightSmoke.visible = false; } } }//package
Section 35
//dumpTruck (dumpTruck) package { public dynamic class dumpTruck extends mainTruck { public function dumpTruck(){ addFrameScript(0, frame1); } function frame1(){ stop(); truckSmoke.visible = false; } } }//package
Section 36
//fireTruck (fireTruck) package { public dynamic class fireTruck extends mainTruck { public function fireTruck(){ addFrameScript(0, frame1); } function frame1(){ stop(); truckSmoke.visible = false; } } }//package
Section 37
//m1 (m1) package { import flash.media.*; public dynamic class m1 extends Sound { } }//package
Section 38
//m7 (m7) package { import flash.media.*; public dynamic class m7 extends Sound { } }//package
Section 39
//mainTruck (mainTruck) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; public class mainTruck extends MovieClip { public var tire4:MovieClip; public var parkingPoint1:MovieClip; public var parkingPoint2:MovieClip; public var tire1:MovieClip; public var parkingPoint3:MovieClip; public var tire2:MovieClip; public var parkingPoint4:MovieClip; public var tire3:MovieClip; public var vehicleHitBody:MovieClip; public var truckSmoke:MovieClip; var level:int;// = 1 var timeLeft:int;// = 180 var life:int;// = 5 var timer2; public var mainTruckX:Number; public var mainTruckY:Number; public var mainTruckRotation:Number; public var rigX:Number; public var rigY:Number; public var rigRotation:Number; public var ambulance:Boolean;// = false protected var forwardKey:Boolean; protected var backwardKey:Boolean; protected var leftKey:Boolean; protected var rightKey:Boolean; protected var skip1:Boolean; protected var skip2:Boolean; protected var truckSpeed:Number;// = 0 protected var STEER_MAX:Number;// = 30 protected var STEER_SENSITIVITY:Number;// = 0.5 protected var ACCELERATION:Number;// = 0.2 protected var MAX_SPEED:Number;// = 4 protected var ROLLFRICTIONFACTOR:Number;// = 1.05 protected var ROTATION_SPEED:Number;// = 1.3 public var RIG1_LENGTH:Number; protected var playGroundX:Number; protected var playGroundY:Number; protected var nightX:Number; protected var nightY:Number; protected var parked:Boolean;// = false protected var skidSoundFlag:Boolean;// = true protected var tireMarkLimit:Number;// = 3.7 protected var tireMark:Boolean;// = false protected var pointTire1:Point; protected var pointTire2:Point; protected var tireMarkX1; protected var tireMarkY1; protected var tireMarkX2; protected var tireMarkY2; protected var TM1;// = null protected var TM2;// = null protected var bgX:Number; protected var bgY:Number; protected var topObjX:Number; protected var topObjY:Number; public var isAmbulance:Boolean;// = false public var isFireTruck:Boolean;// = false public var obstacleCount:int;// = 0 public var gutterCount:int;// = 0 public var movCarCount:int;// = 0 public var timeID; public var objectBased:Boolean;// = false public var nightMode:Boolean;// = false public var scrollable:Boolean;// = false private var sound_Sound:truckSound; private var sound_Crash:truckCrash; private var sound_Start:truckSound; private var sound_Running:truckRunning; private var sound_clap:clap; private var sound_skid:truckSkid1; private var truckSoundChannel:SoundChannel; private var truckCrashChannel:SoundChannel; private var truckStartChannel:SoundChannel; private var truckRunningChannel:SoundChannel; private var clapChannel:SoundChannel; private var skidChannel:SoundChannel; private var mute:SoundTransform; private var volume1:SoundTransform; private var volume2:SoundTransform; public static const score:int = 0; protected static var isCollision:Boolean = false; public function mainTruck():void{ sound_Sound = new truckSound(); sound_Crash = new truckCrash(); sound_Start = new truckSound(); sound_Running = new truckRunning(); sound_clap = new clap(); sound_skid = new truckSkid1(); mute = new SoundTransform(); volume1 = new SoundTransform(); volume2 = new SoundTransform(); super(); mainTruckX = x; mainTruckY = y; mainTruckRotation = rotation; } function gotoNextLevel(){ clearInterval(timeID); MovieClip(root).score = ((MovieClip(root).score + (10 * timeLeft)) + (life * 50)); Remove(); } function timer(){ var _local1:*; var _local2:*; if (!MovieClip(root).training.visible){ timeLeft--; if ((((timeLeft / 60)) && ((timeLeft >= 0)))){ _local1 = int((timeLeft / 60)); _local2 = (timeLeft % 60); if (String(_local1).length == 1){ MovieClip(parent).txtTimeLeft.text = (("0" + _local1) + ":"); } else { MovieClip(parent).txtTimeLeft.text = (_local1 + ":"); }; if (String(_local2).length == 1){ MovieClip(parent).txtTimeLeft.text = ((MovieClip(parent).txtTimeLeft.text + "0") + _local2); } else { MovieClip(parent).txtTimeLeft.text = ((MovieClip(parent).txtTimeLeft.text + "") + _local2); }; } else { MovieClip(parent).txtTimeLeft.text = "00:00"; }; return (timeLeft); }; } private function loadSound():void{ mute.volume = 0; volume1.volume = 0.6; volume2.volume = 1; truckStartChannel = sound_Start.play(0); truckRunningChannel = sound_Running.play(0, 100); if (MovieClip(root).muteFlag){ truckStartChannel.soundTransform = mute; truckRunningChannel.soundTransform = mute; } else { truckStartChannel.soundTransform = volume1; truckRunningChannel.soundTransform = volume1; }; truckStartChannel.addEventListener(Event.SOUND_COMPLETE, loadStandBySound); } private function loadStandBySound(_arg1:Event):void{ truckSoundChannel = sound_Sound.play(2000, 100); if (MovieClip(root).muteFlag){ truckSoundChannel.soundTransform = mute; } else { truckSoundChannel.soundTransform = volume1; }; truckStartChannel.removeEventListener(Event.SOUND_COMPLETE, loadStandBySound); truckStartChannel = null; } private function manageSound():void{ if (((forwardKey) || (backwardKey))){ if (truckSoundChannel != null){ truckSoundChannel.soundTransform = mute; }; if (truckStartChannel != null){ truckStartChannel.soundTransform = mute; }; if (truckRunningChannel != null){ truckRunningChannel.soundTransform = volume1; }; } else { if (truckSoundChannel != null){ truckSoundChannel.soundTransform = volume1; }; if (truckStartChannel != null){ truckStartChannel.soundTransform = volume1; }; if (truckRunningChannel != null){ truckRunningChannel.soundTransform = mute; }; }; if (MovieClip(root).muteFlag){ if (truckSoundChannel != null){ truckSoundChannel.soundTransform = mute; }; if (truckStartChannel != null){ truckStartChannel.soundTransform = mute; }; if (truckRunningChannel != null){ truckRunningChannel.soundTransform = mute; }; }; } public function initialize():void{ if (isAmbulance){ MAX_SPEED = 6; ACCELERATION = 0.28; tireMarkLimit = 5.7; } else { if (isFireTruck){ MAX_SPEED = 5.2; ACCELERATION = 0.26; tireMarkLimit = 4.9; }; }; life = MovieClip(root).remainingLife; var _local1:* = 1; while (_local1 <= 5) { if (_local1 <= life){ root["statusBar"][("life" + _local1)].visible = true; } else { root["statusBar"][("life" + _local1)].visible = false; }; _local1++; }; MovieClip(root).statusBar.visible = true; MovieClip(root).txtLevel.visible = true; MovieClip(root).txtTimeLeft.visible = true; MovieClip(root).txtTimeLeft.text = "03:00"; if (nightMode){ MovieClip(root).playMask.mask = MovieClip(root).lightArea; nightX = MovieClip(parent).night.x; nightY = MovieClip(parent).night.y; }; if (MovieClip(parent).topObject != null){ topObjX = MovieClip(parent).topObject.x; topObjY = MovieClip(parent).topObject.y; }; loadSound(); manageSound(); MovieClip(parent).txtLevel.text = ("0" + MovieClip(parent).nextLevel); parked = false; MovieClip(parent).setChildIndex(this, (MovieClip(parent).getChildIndex(root["playGround"]) + 1)); MovieClip(parent).timeElapsedMsg.gotoAndStop(1); MovieClip(parent).congratsMsg.gotoAndStop(1); MovieClip(parent).crashedMsg.gotoAndStop(1); playGroundX = MovieClip(parent).playGround.x; playGroundY = MovieClip(parent).playGround.y; stage.addEventListener(Event.ENTER_FRAME, mainTruckOnEnterFrame); stage.addEventListener(KeyboardEvent.KEY_DOWN, mainTruckOnKeyPressed); stage.addEventListener(KeyboardEvent.KEY_UP, mainTruckOnKeyReleased); timeID = setInterval(timer, 1000); } protected function mainTruckOnEnterFrame(_arg1:Event):void{ manageSound(); if (scrollable){ bgMove(); }; if (truckSpeed == 0){ truckSmoke.visible = false; } else { truckSmoke.visible = true; }; if (((((!(forwardKey)) && (!(backwardKey)))) || (((forwardKey) && (backwardKey))))){ truckSpeed = (truckSpeed * 0.9); if (Math.abs(truckSpeed) < 0.3){ truckSpeed = 0; }; }; if ((((Math.abs(truckSpeed) >= tireMarkLimit)) && ((Math.abs(tire1.rotation) > 25)))){ tireMark = true; }; if (((forwardKey) && (backwardKey))){ tireMark = true; } else { if (((forwardKey) && (!(isCollision)))){ if ((((truckSpeed < MAX_SPEED)) && (!(parked)))){ truckSpeed = (truckSpeed + ACCELERATION); }; } else { if (((backwardKey) && (!(isCollision)))){ if ((((truckSpeed > -(MAX_SPEED))) && (!(parked)))){ truckSpeed = (truckSpeed - ACCELERATION); }; }; }; }; if (((rightKey) && (!(parked)))){ if (tire1.rotation < 0){ tire1.rotation = (tire1.rotation + (ROTATION_SPEED * 3)); tire2.rotation = (tire2.rotation + (ROTATION_SPEED * 3)); } else { if (tire1.rotation < STEER_MAX){ tire1.rotation = (tire1.rotation + ROTATION_SPEED); tire2.rotation = (tire2.rotation + ROTATION_SPEED); }; }; }; if (((leftKey) && (!(parked)))){ if (tire1.rotation > 0){ tire1.rotation = (tire1.rotation - (ROTATION_SPEED * 3)); tire2.rotation = (tire2.rotation - (ROTATION_SPEED * 3)); } else { if (tire1.rotation > -(STEER_MAX)){ tire1.rotation = (tire1.rotation - ROTATION_SPEED); tire2.rotation = (tire2.rotation - ROTATION_SPEED); }; }; } else { if (((!(rightKey)) && (!(leftKey)))){ if (tire1.rotation > 0){ tire1.rotation = (tire1.rotation - (ROTATION_SPEED * 2)); tire2.rotation = (tire2.rotation - (ROTATION_SPEED * 2)); }; if (tire1.rotation < 0){ tire1.rotation = (tire1.rotation + (ROTATION_SPEED * 2)); tire2.rotation = (tire2.rotation + (ROTATION_SPEED * 2)); }; if (Math.abs(tire1.rotation) < 2){ tire1.rotation = 0; tire2.rotation = 0; }; }; }; if (!isCollision){ rotation = (rotation + ((truckSpeed * 0.018) * tire1.rotation)); x = (x + (Math.sin(((rotation * Math.PI) / 180)) * truckSpeed)); y = (y + ((Math.cos(((rotation * Math.PI) / 180)) * -1) * truckSpeed)); if (nightMode){ ApplyMask(); }; }; checkCollision(); if (tireMark){ pointTire1 = new Point(x, y); pointTire1 = root["playGround"].globalToLocal(pointTire1); tireMarkX1 = pointTire1.x; tireMarkY1 = pointTire1.y; if (ambulance){ if ((((MovieClip(root).nextLevel >= 1)) && ((MovieClip(root).nextLevel <= 5)))){ TM1 = new TireMarkAmb(); } else { if ((((MovieClip(root).nextLevel >= 6)) && ((MovieClip(root).nextLevel <= 25)))){ TM1 = new TireMarkAmb1(); }; }; } else { if ((((MovieClip(root).nextLevel >= 1)) && ((MovieClip(root).nextLevel <= 5)))){ TM1 = new TireMark(); } else { if ((((MovieClip(root).nextLevel >= 6)) && ((MovieClip(root).nextLevel <= 25)))){ TM1 = new TireMark1(); }; }; }; TM1.x = tireMarkX1; TM1.y = tireMarkY1; TM1.rotation = rotation; if (MovieClip(root).nextLevel == 6){ TM1.rotation = (rotation - 90); }; if (MovieClip(root).nextLevel == 21){ TM1.rotation = (rotation + 90); TM1.visible = false; }; if (MovieClip(root).nextLevel == 25){ TM1.rotation = (rotation + 180); }; root["playGround"].addChild(TM1); if (movCarCount >= 1){ root["playGround"].setChildIndex(TM1, (root["playGround"].getChildIndex(root["playGround"]["movingCar1"]) - 1)); }; if (nightMode){ if (ambulance){ if ((((MovieClip(root).nextLevel >= 1)) && ((MovieClip(root).nextLevel <= 5)))){ TM1 = new TireMarkAmb(); } else { if ((((MovieClip(root).nextLevel >= 6)) && ((MovieClip(root).nextLevel <= 25)))){ TM1 = new TireMarkAmb1(); }; }; } else { if ((((MovieClip(root).nextLevel >= 1)) && ((MovieClip(root).nextLevel <= 5)))){ TM2 = new TireMark(); } else { if ((((MovieClip(root).nextLevel >= 6)) && ((MovieClip(root).nextLevel <= 25)))){ TM2 = new TireMark1(); }; }; }; TM2.x = tireMarkX1; TM2.y = tireMarkY1; TM2.rotation = TM1.rotation; root["playMask"].addChild(TM2); if (movCarCount >= 1){ root["playMask"].setChildIndex(TM2, (root["playMask"].getChildIndex(root["playMask"]["movingCar1"]) - 1)); }; }; tireMark = false; }; } protected function changeSkidSoundFlag(_arg1:Event):void{ skidChannel.removeEventListener(Event.SOUND_COMPLETE, changeSkidSoundFlag); skidSoundFlag = true; } protected function mainTruckOnKeyPressed(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == 32){ if (MovieClip(root).training.visible){ MovieClip(root).training.visible = false; MovieClip(root).timeLeft = 180; }; }; if (!MovieClip(root).training.visible){ if ((((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))) || ((_arg1.keyCode == 119)))){ forwardKey = true; }; if ((((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))) || ((_arg1.keyCode == 115)))){ backwardKey = true; }; if ((((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))) || ((_arg1.keyCode == 97)))){ leftKey = true; }; if ((((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))) || ((_arg1.keyCode == 100)))){ rightKey = true; }; if (_arg1.keyCode == 83){ skip1 = true; }; if (_arg1.keyCode == 77){ skip2 = true; }; if (_arg1.keyCode == 74){ if (((skip1) && (skip2))){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; MovieClip(root).nextLevel = (MovieClip(root).nextLevel + 1); MovieClip(parent).txtTimeLeft.text = "03:00"; MovieClip(parent).gotoAndStop((MovieClip(parent).currentFrame + 1)); gotoNextLevel(); }; }; }; } protected function mainTruckOnKeyReleased(_arg1:KeyboardEvent):void{ if ((((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))) || ((_arg1.keyCode == 119)))){ forwardKey = false; }; if ((((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))) || ((_arg1.keyCode == 115)))){ backwardKey = false; }; if ((((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))) || ((_arg1.keyCode == 97)))){ leftKey = false; }; if ((((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))) || ((_arg1.keyCode == 100)))){ rightKey = false; }; } protected function checkCollision():void{ var _local3:int; var _local4:*; var _local1 = 1; while (_local1 <= obstacleCount) { if (PixelPerfectCollisionDetection.isColliding(vehicleHitBody, root["playGround"][("obstacle" + _local1)], MovieClip(root), true)){ if (!isCollision){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ truckCrashChannel = sound_Crash.play(); }; _local3 = 1; while (_local3 <= movCarCount) { root["playGround"][("movingCar" + _local3)].stop(); if (nightMode){ root["playMask"][("movingCar" + _local3)].stop(); }; _local3++; }; MovieClip(parent).crashedMsg.gotoAndPlay(1); isCollision = true; parked = true; }; }; _local1++; }; var _local2 = 1; while (_local2 <= gutterCount) { if (PixelPerfectCollisionDetection.isColliding(vehicleHitBody, root["playGround"][("gutter" + _local2)]["innerg"], MovieClip(root), true)){ if (!isCollision){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ truckCrashChannel = sound_Crash.play(); }; _local3 = 1; while (_local3 <= movCarCount) { root["playGround"][("movingCar" + _local3)].stop(); if (nightMode){ root["playMask"][("movingCar" + _local3)].stop(); }; _local3++; }; MovieClip(parent).crashedMsg.gotoAndPlay(1); isCollision = true; parked = true; }; }; _local2++; }; _local3 = 1; while (_local3 <= movCarCount) { if (PixelPerfectCollisionDetection.isColliding(vehicleHitBody, root["playGround"][("movingCar" + _local3)], MovieClip(root), true)){ if (!isCollision){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ truckCrashChannel = sound_Crash.play(); }; _local4 = 1; while (_local4 <= movCarCount) { root["playGround"][("movingCar" + _local4)].stop(); _local4++; }; if (nightMode){ root["playMask"][("movingCar" + _local3)].stop(); }; MovieClip(parent).crashedMsg.gotoAndPlay(1); isCollision = true; parked = true; }; }; _local3++; }; if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], parkingPoint4, MovieClip(root), true)){ if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], parkingPoint3, MovieClip(root), true)){ if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], parkingPoint2, MovieClip(root), true)){ if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], parkingPoint1, MovieClip(root), true)){ if (!parked){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ clapChannel = sound_clap.play(); }; MovieClip(parent).congratsMsg.gotoAndPlay(1); parked = true; truckSpeed = 0; }; }; }; }; }; if (MovieClip(parent).congratsMsg.currentFrame == 57){ if (MovieClip(parent).nextLevel == 25){ MovieClip(parent).gotoAndPlay(30); } else { MovieClip(parent).gotoAndPlay(29); }; MovieClip(root).remainingLife = life; gotoNextLevel(); timeLeft = 180; }; if (((isCollision) && ((timeLeft > 0)))){ if (MovieClip(parent).crashedMsg.currentFrame == 48){ if (truckCrashChannel != null){ truckCrashChannel.stop(); }; root["statusBar"][("life" + life)].visible = false; life--; if (life > 0){ resetVehicle(); } else { MovieClip(root).remainingLife = life; gameOver(); }; }; }; if (timeLeft <= 0){ root["statusBar"][("life" + life)].visible = false; MovieClip(parent).timeElapsedMsg.gotoAndPlay(1); timeLeft = 180; truckSpeed = 0; isCollision = true; parked = true; clearInterval(timeID); }; if (MovieClip(parent) != null){ if (MovieClip(parent).timeElapsedMsg.currentFrame == 54){ timeID = setInterval(timer, 1000); life--; if (life > 0){ resetVehicle(); } else { gameOver(); }; }; }; } protected function ApplyMask():void{ var _local1:Point = new Point(x, y); _local1 = stage.globalToLocal(_local1); MovieClip(root).lightArea.rotation = (rotation - 90); MovieClip(root).lightArea.x = _local1.x; MovieClip(root).lightArea.y = _local1.y; MovieClip(root).maskLayer.rotation = (rotation - 90); MovieClip(root).maskLayer.x = _local1.x; MovieClip(root).maskLayer.y = _local1.y; } protected function resetVehicle():void{ parked = false; loadSound(); isCollision = false; x = mainTruckX; y = mainTruckY; rotation = mainTruckRotation; if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = topObjX; MovieClip(parent).topObject.y = topObjY; }; if (nightMode){ MovieClip(root).playMask.x = playGroundX; MovieClip(root).playMask.y = playGroundY; MovieClip(root).night.x = nightX; MovieClip(root).night.y = nightY; }; MovieClip(parent).playGround.x = playGroundX; MovieClip(parent).playGround.y = playGroundY; var _local1:* = 1; while (_local1 <= movCarCount) { root["playGround"][("movingCar" + _local1)].gotoAndPlay(1); if (nightMode){ root["playMask"][("movingCar" + _local1)].gotoAndPlay(1); }; _local1++; }; } protected function Remove():void{ if (truckSoundChannel != null){ truckSoundChannel.stop(); }; if (truckRunningChannel != null){ truckRunningChannel.stop(); }; if (truckStartChannel != null){ truckStartChannel.stop(); }; isCollision = false; clearInterval(timeID); stage.removeEventListener(Event.ENTER_FRAME, mainTruckOnEnterFrame); stage.removeEventListener(KeyboardEvent.KEY_DOWN, mainTruckOnKeyPressed); stage.removeEventListener(KeyboardEvent.KEY_UP, mainTruckOnKeyReleased); MovieClip(parent).removeChild(this); } protected function gameOver():void{ MovieClip(parent).gotoAndStop(28); Remove(); } function bgMove():void{ if (x > 700){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x - 600); x = (x - 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x - 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x - 600); MovieClip(root).night.x = (MovieClip(root).night.x - 600); }; } else { if (x < 100){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x + 600); x = (x + 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x + 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x + 600); MovieClip(root).night.x = (MovieClip(root).night.x + 600); }; } else { if (y > 500){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y - 400); y = (y - 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y - 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y - 400); MovieClip(root).night.y = (MovieClip(root).night.y - 400); }; } else { if (y < 100){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y + 400); y = (y + 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y + 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y + 400); MovieClip(root).night.y = (MovieClip(root).night.y + 400); }; }; }; }; }; } } }//package
Section 40
//monster (monster) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; public class monster extends MovieClip { public var parkPoint1:MovieClip; public var tireForward:MovieClip; public var parkPoint4:MovieClip; public var tireReverse:MovieClip; public var parkPoint2:MovieClip; public var vehicleHitBody:MovieClip; public var truckSmoke:MovieClip; public var parkPoint3:MovieClip; var level:int;// = 1 var timeLeft:int;// = 180 var life:int;// = 5 var timer2; public var mainTruckX:Number; public var mainTruckY:Number; public var mainTruckRotation:Number; public var rigX:Number; public var rigY:Number; public var rigRotation:Number; protected var forwardKey:Boolean; protected var backwardKey:Boolean; protected var leftKey:Boolean; protected var rightKey:Boolean; protected var skip1:Boolean; protected var skip2:Boolean; protected var truckSpeed:Number;// = 0 public var STEER_MAX:Number;// = 30 protected var STEER_SENSITIVITY:Number;// = 0.5 protected var ACCELERATION:Number;// = 0.3 protected var MAX_SPEED:Number;// = 5.5 protected var ROLLFRICTIONFACTOR:Number;// = 1.05 protected var ROTATION_SPEED:Number;// = 0.95 public var RIG1_LENGTH:Number; protected var playGroundX:Number; protected var playGroundY:Number; protected var parked:Boolean;// = false protected var tireMark:Boolean;// = false protected var pointTire1:Point; protected var pointTire2:Point; protected var tireMarkX1; protected var tireMarkY1; protected var tireMarkX2; protected var tireMarkY2; protected var TM1;// = null protected var TM2;// = null protected var bgX:Number; protected var bgY:Number; protected var topObjX:Number; protected var topObjY:Number; protected var abcd:Boolean; public var obstacleCount:int;// = 0 public var gutterCount:int;// = 0 public var movCarCount:int;// = 0 public var timeID; public var objectBased:Boolean;// = false public var nightMode:Boolean;// = false public var scrollable:Boolean;// = false private var sound_Sound:truckSound; private var sound_Crash:truckCrash; private var sound_Start:truckSound; private var sound_Running:truckRunning; private var sound_clap:clap; private var sound_skid:truckSkid; private var truckSoundChannel:SoundChannel; private var truckCrashChannel:SoundChannel; private var truckStartChannel:SoundChannel; private var truckRunningChannel:SoundChannel; private var clapChannel:SoundChannel; private var skidChannel:SoundChannel; private var mute:SoundTransform; private var volume1:SoundTransform; private var volume2:SoundTransform; public static const score:int = 0; protected static var isCollision:Boolean = false; public function monster():void{ sound_Sound = new truckSound(); sound_Crash = new truckCrash(); sound_Start = new truckSound(); sound_Running = new truckRunning(); sound_clap = new clap(); sound_skid = new truckSkid(); mute = new SoundTransform(); volume1 = new SoundTransform(); volume2 = new SoundTransform(); super(); addFrameScript(0, frame1); mainTruckX = x; mainTruckY = y; mainTruckRotation = rotation; } function gotoNextLevel(){ clearInterval(timeID); MovieClip(root).score = ((MovieClip(root).score + (10 * timeLeft)) + (life * 50)); Remove(); } function timer(){ var _local1:*; var _local2:*; if (!MovieClip(root).training.visible){ timeLeft--; if ((((timeLeft / 60)) && ((timeLeft >= 0)))){ _local1 = int((timeLeft / 60)); _local2 = (timeLeft % 60); if (String(_local1).length == 1){ MovieClip(parent).txtTimeLeft.text = (("0" + _local1) + ":"); } else { MovieClip(parent).txtTimeLeft.text = (_local1 + ":"); }; if (String(_local2).length == 1){ MovieClip(parent).txtTimeLeft.text = ((MovieClip(parent).txtTimeLeft.text + "0") + _local2); } else { MovieClip(parent).txtTimeLeft.text = ((MovieClip(parent).txtTimeLeft.text + "") + _local2); }; } else { MovieClip(parent).txtTimeLeft.text = "00:00"; }; return (timeLeft); }; } private function loadSound():void{ mute.volume = 0; volume1.volume = 0.6; volume2.volume = 1; truckStartChannel = sound_Start.play(0); truckRunningChannel = sound_Running.play(0, 100); if (MovieClip(root).muteFlag){ truckStartChannel.soundTransform = mute; truckRunningChannel.soundTransform = mute; } else { truckStartChannel.soundTransform = volume1; truckRunningChannel.soundTransform = volume1; }; truckStartChannel.addEventListener(Event.SOUND_COMPLETE, loadStandBySound); } private function loadStandBySound(_arg1:Event):void{ truckSoundChannel = sound_Sound.play(2000, 100); if (MovieClip(root).muteFlag){ truckSoundChannel.soundTransform = mute; } else { truckSoundChannel.soundTransform = volume1; }; truckStartChannel.removeEventListener(Event.SOUND_COMPLETE, loadStandBySound); truckStartChannel = null; } private function manageSound():void{ if (((forwardKey) || (backwardKey))){ if (truckSoundChannel != null){ truckSoundChannel.soundTransform = mute; }; if (truckStartChannel != null){ truckStartChannel.soundTransform = mute; }; if (truckRunningChannel != null){ truckRunningChannel.soundTransform = volume1; }; } else { if (truckSoundChannel != null){ truckSoundChannel.soundTransform = volume1; }; if (truckStartChannel != null){ truckStartChannel.soundTransform = volume1; }; if (truckRunningChannel != null){ truckRunningChannel.soundTransform = mute; }; }; if (MovieClip(root).muteFlag){ if (truckSoundChannel != null){ truckSoundChannel.soundTransform = mute; }; if (truckStartChannel != null){ truckStartChannel.soundTransform = mute; }; if (truckRunningChannel != null){ truckRunningChannel.soundTransform = mute; }; }; } public function initialize():void{ life = MovieClip(root).remainingLife; var _local1:* = 1; while (_local1 <= 5) { if (_local1 <= life){ root["statusBar"][("life" + _local1)].visible = true; } else { root["statusBar"][("life" + _local1)].visible = false; }; _local1++; }; MovieClip(root).txtTimeLeft.visible = true; MovieClip(root).statusBar.visible = true; MovieClip(root).txtLevel.visible = true; MovieClip(root).txtTimeLeft.text = "03:00"; if (nightMode){ MovieClip(root).playMask.mask = MovieClip(root).lightArea; }; if (MovieClip(parent).topObject != null){ topObjX = MovieClip(parent).topObject.x; topObjY = MovieClip(parent).topObject.y; }; loadSound(); manageSound(); MovieClip(parent).txtLevel.text = ("0" + MovieClip(parent).nextLevel); parked = false; MovieClip(parent).setChildIndex(this, (MovieClip(parent).getChildIndex(root["playGround"]) + 1)); MovieClip(parent).timeElapsedMsg.gotoAndStop(1); MovieClip(parent).congratsMsg.gotoAndStop(1); MovieClip(parent).crashedMsg.gotoAndStop(1); playGroundX = MovieClip(parent).playGround.x; playGroundY = MovieClip(parent).playGround.y; stage.addEventListener(Event.ENTER_FRAME, mainTruckOnEnterFrame); stage.addEventListener(KeyboardEvent.KEY_DOWN, mainTruckOnKeyPressed); stage.addEventListener(KeyboardEvent.KEY_UP, mainTruckOnKeyReleased); timeID = setInterval(timer, 1000); } protected function mainTruckOnEnterFrame(_arg1:Event):void{ manageSound(); if (scrollable){ bgMove(); }; if (truckSpeed == 0){ truckSmoke.visible = false; } else { truckSmoke.visible = true; }; if (((((!(forwardKey)) && (!(backwardKey)))) || (((forwardKey) && (backwardKey))))){ truckSpeed = (truckSpeed * 0.9); if (Math.abs(truckSpeed) < 0.3){ truckSpeed = 0; }; }; if ((((Math.abs(truckSpeed) >= 5.2)) && ((Math.abs(tireForward.tire1.rotation) >= 29)))){ tireMark = true; }; if (((forwardKey) && (backwardKey))){ tireMark = true; } else { if (forwardKey){ if ((((truckSpeed < MAX_SPEED)) && (!(parked)))){ truckSpeed = (truckSpeed + ACCELERATION); }; } else { if (backwardKey){ if ((((truckSpeed > -(MAX_SPEED))) && (!(parked)))){ truckSpeed = (truckSpeed - ACCELERATION); }; }; }; }; if (truckSpeed == 0){ tireForward.visible = true; tireReverse.visible = false; tireForward.tire1.gotoAndStop(1); tireForward.tire2.gotoAndStop(1); tireForward.tire3.gotoAndStop(1); tireForward.tire4.gotoAndStop(1); tireReverse.tire1.gotoAndStop(1); tireReverse.tire2.gotoAndStop(1); tireReverse.tire3.gotoAndStop(1); tireReverse.tire4.gotoAndStop(1); abcd = !(abcd); } else { if (truckSpeed > 0){ tireForward.visible = true; tireReverse.visible = false; if (tireForward.tire1.currentFrame == 3){ tireForward.tire1.gotoAndStop(1); tireForward.tire2.gotoAndStop(1); tireForward.tire3.gotoAndStop(1); tireForward.tire4.gotoAndStop(1); } else { tireForward.tire1.nextFrame(); tireForward.tire2.nextFrame(); tireForward.tire3.nextFrame(); tireForward.tire4.nextFrame(); }; } else { tireForward.visible = false; tireReverse.visible = true; if (tireReverse.tire1.currentFrame == 3){ tireReverse.tire1.gotoAndStop(1); tireReverse.tire2.gotoAndStop(1); tireReverse.tire3.gotoAndStop(1); tireReverse.tire4.gotoAndStop(1); } else { tireReverse.tire1.nextFrame(); tireReverse.tire2.nextFrame(); tireReverse.tire3.nextFrame(); tireReverse.tire4.nextFrame(); }; }; }; if (((rightKey) && (!(parked)))){ if (tireForward.tire1.rotation < 0){ tireForward.tire1.rotation = (tireForward.tire1.rotation + (ROTATION_SPEED * 1.5)); tireForward.tire2.rotation = (tireForward.tire2.rotation + (ROTATION_SPEED * 1.5)); tireReverse.tire1.rotation = (tireReverse.tire1.rotation + (ROTATION_SPEED * 1.5)); tireReverse.tire2.rotation = (tireReverse.tire2.rotation + (ROTATION_SPEED * 1.5)); } else { if (tireForward.tire1.rotation < STEER_MAX){ tireForward.tire1.rotation = (tireForward.tire1.rotation + ROTATION_SPEED); tireForward.tire2.rotation = (tireForward.tire2.rotation + ROTATION_SPEED); tireReverse.tire1.rotation = (tireReverse.tire1.rotation + ROTATION_SPEED); tireReverse.tire2.rotation = (tireReverse.tire2.rotation + ROTATION_SPEED); }; }; }; if (((leftKey) && (!(parked)))){ if (tireForward.tire1.rotation > 0){ tireForward.tire1.rotation = (tireForward.tire1.rotation - (ROTATION_SPEED * 1.5)); tireForward.tire2.rotation = (tireForward.tire2.rotation - (ROTATION_SPEED * 1.5)); tireReverse.tire1.rotation = (tireReverse.tire1.rotation - (ROTATION_SPEED * 1.5)); tireReverse.tire2.rotation = (tireReverse.tire2.rotation - (ROTATION_SPEED * 1.5)); } else { if (tireForward.tire1.rotation > -(STEER_MAX)){ tireForward.tire1.rotation = (tireForward.tire1.rotation - ROTATION_SPEED); tireForward.tire2.rotation = (tireForward.tire2.rotation - ROTATION_SPEED); tireReverse.tire1.rotation = (tireReverse.tire1.rotation - ROTATION_SPEED); tireReverse.tire2.rotation = (tireReverse.tire2.rotation - ROTATION_SPEED); }; }; } else { if (((!(rightKey)) && (!(leftKey)))){ if (tireForward.tire1.rotation > 0){ tireForward.tire1.rotation = (tireForward.tire1.rotation - (ROTATION_SPEED * 2)); tireForward.tire2.rotation = (tireForward.tire2.rotation - (ROTATION_SPEED * 2)); tireReverse.tire1.rotation = (tireReverse.tire1.rotation - (ROTATION_SPEED * 2)); tireReverse.tire2.rotation = (tireReverse.tire2.rotation - (ROTATION_SPEED * 2)); }; if (tireForward.tire1.rotation < 0){ tireForward.tire1.rotation = (tireForward.tire1.rotation + (ROTATION_SPEED * 2)); tireForward.tire2.rotation = (tireForward.tire2.rotation + (ROTATION_SPEED * 2)); tireReverse.tire1.rotation = (tireReverse.tire1.rotation + (ROTATION_SPEED * 2)); tireReverse.tire2.rotation = (tireReverse.tire2.rotation + (ROTATION_SPEED * 2)); }; if (Math.abs(tireForward.tire1.rotation) < 2){ tireForward.tire1.rotation = 0; tireForward.tire2.rotation = 0; tireReverse.tire1.rotation = 0; tireReverse.tire2.rotation = 0; }; }; }; if (!isCollision){ if (tireForward.visible){ rotation = (rotation + ((truckSpeed * 0.018) * tireForward.tire1.rotation)); x = (x + (Math.sin(((rotation * Math.PI) / 180)) * truckSpeed)); y = (y + ((Math.cos(((rotation * Math.PI) / 180)) * -1) * truckSpeed)); }; if (tireReverse.visible){ rotation = (rotation + ((truckSpeed * 0.018) * tireReverse.tire1.rotation)); x = (x + (Math.sin(((rotation * Math.PI) / 180)) * truckSpeed)); y = (y + ((Math.cos(((rotation * Math.PI) / 180)) * -1) * truckSpeed)); }; if (nightMode){ ApplyMask(); }; }; checkCollision(); if (tireMark){ pointTire1 = new Point(x, y); pointTire1 = root["playGround"].globalToLocal(pointTire1); tireMarkX1 = pointTire1.x; tireMarkY1 = pointTire1.y; if ((((MovieClip(root).nextLevel >= 1)) && ((MovieClip(root).nextLevel <= 5)))){ TM1 = new TireMarkMonster2(); } else { if ((((MovieClip(root).nextLevel >= 6)) && ((MovieClip(root).nextLevel <= 25)))){ TM1 = new TireMarkMonster1(); }; }; TM1.x = tireMarkX1; TM1.y = tireMarkY1; TM1.rotation = rotation; if (MovieClip(root).nextLevel == 7){ TM1.rotation = (rotation - 90); }; if (MovieClip(root).nextLevel == 21){ TM1.rotation = (rotation + 90); TM1.visible = false; }; if (MovieClip(root).nextLevel == 25){ TM1.rotation = (rotation + 180); }; root["playGround"].addChild(TM1); if (movCarCount >= 1){ root["playGround"].setChildIndex(TM1, (root["playGround"].getChildIndex(root["playGround"]["movingCar1"]) - 1)); }; if (nightMode){ if ((((MovieClip(root).nextLevel >= 1)) && ((MovieClip(root).nextLevel <= 5)))){ TM2 = new TireMarkMonster2(); } else { if ((((MovieClip(root).nextLevel >= 6)) && ((MovieClip(root).nextLevel <= 25)))){ TM2 = new TireMarkMonster1(); }; }; TM2.x = tireMarkX1; TM2.y = tireMarkY1; TM2.rotation = TM1.rotation; root["playMask"].addChild(TM2); if (movCarCount >= 1){ root["playMask"].setChildIndex(TM2, (root["playMask"].getChildIndex(root["playMask"]["movingCar1"]) - 1)); }; }; tireMark = false; }; } protected function mainTruckOnKeyPressed(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == 32){ if (MovieClip(root).training.visible){ MovieClip(root).training.visible = false; MovieClip(root).timeLeft = 180; }; }; if (!MovieClip(root).training.visible){ if ((((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))) || ((_arg1.keyCode == 119)))){ forwardKey = true; }; if ((((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))) || ((_arg1.keyCode == 115)))){ backwardKey = true; }; if ((((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))) || ((_arg1.keyCode == 97)))){ leftKey = true; }; if ((((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))) || ((_arg1.keyCode == 100)))){ rightKey = true; }; if (_arg1.keyCode == 83){ skip1 = true; }; if (_arg1.keyCode == 77){ skip2 = true; }; if (_arg1.keyCode == 74){ if (((skip1) && (skip2))){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; MovieClip(root).nextLevel = (MovieClip(root).nextLevel + 1); MovieClip(parent).txtTimeLeft.text = "03:00"; MovieClip(parent).gotoAndStop((MovieClip(parent).currentFrame + 1)); gotoNextLevel(); }; }; }; } protected function mainTruckOnKeyReleased(_arg1:KeyboardEvent):void{ if ((((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))) || ((_arg1.keyCode == 119)))){ forwardKey = false; }; if ((((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))) || ((_arg1.keyCode == 115)))){ backwardKey = false; }; if ((((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))) || ((_arg1.keyCode == 97)))){ leftKey = false; }; if ((((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))) || ((_arg1.keyCode == 100)))){ rightKey = false; }; } protected function checkCollision():void{ var _local3:int; var _local4:*; var _local1 = 1; while (_local1 <= obstacleCount) { if (PixelPerfectCollisionDetection.isColliding(vehicleHitBody, root["playGround"][("obstacle" + _local1)], MovieClip(root), true)){ if (!isCollision){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ truckCrashChannel = sound_Crash.play(); }; _local3 = 1; while (_local3 <= movCarCount) { root["playGround"][("movingCar" + _local3)].stop(); if (nightMode){ root["playMask"][("movingCar" + _local3)].stop(); }; _local3++; }; MovieClip(parent).crashedMsg.gotoAndPlay(1); isCollision = true; parked = true; }; }; _local1++; }; var _local2 = 1; while (_local2 <= gutterCount) { if (PixelPerfectCollisionDetection.isColliding(vehicleHitBody, root["playGround"][("gutter" + _local2)]["innerg"], MovieClip(root), true)){ if (!isCollision){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ truckCrashChannel = sound_Crash.play(); }; _local3 = 1; while (_local3 <= movCarCount) { root["playGround"][("movingCar" + _local3)].stop(); if (nightMode){ root["playMask"][("movingCar" + _local3)].stop(); }; _local3++; }; MovieClip(parent).crashedMsg.gotoAndPlay(1); isCollision = true; parked = true; }; }; _local2++; }; _local3 = 1; while (_local3 <= movCarCount) { if (PixelPerfectCollisionDetection.isColliding(vehicleHitBody, root["playGround"][("movingCar" + _local3)], MovieClip(root), true)){ if (!isCollision){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ truckCrashChannel = sound_Crash.play(); }; _local4 = 1; while (_local4 <= movCarCount) { root["playGround"][("movingCar" + _local4)].stop(); _local4++; }; if (nightMode){ root["playMask"][("movingCar" + _local3)].stop(); }; MovieClip(parent).crashedMsg.gotoAndPlay(1); isCollision = true; parked = true; }; }; _local3++; }; if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], parkPoint4, MovieClip(root), true)){ if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], parkPoint3, MovieClip(root), true)){ if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], parkPoint2, MovieClip(root), true)){ if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], parkPoint1, MovieClip(root), true)){ if (!parked){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ clapChannel = sound_clap.play(); }; MovieClip(parent).congratsMsg.gotoAndPlay(1); parked = true; truckSpeed = 0; }; }; }; }; }; if (MovieClip(parent).congratsMsg.currentFrame == 56){ MovieClip(parent).gotoAndPlay(29); MovieClip(root).remainingLife = life; gotoNextLevel(); timeLeft = 180; }; if (((isCollision) && ((timeLeft > 0)))){ if (MovieClip(parent).crashedMsg.currentFrame == 47){ if (truckCrashChannel != null){ truckCrashChannel.stop(); }; root["statusBar"][("life" + life)].visible = false; life--; if (life > 0){ resetVehicle(); } else { MovieClip(root).remainingLife = life; gameOver(); }; }; }; if (timeLeft <= 0){ root["statusBar"][("life" + life)].visible = false; MovieClip(parent).timeElapsedMsg.gotoAndPlay(1); timeLeft = 180; truckSpeed = 0; isCollision = true; parked = true; clearInterval(timeID); }; if (MovieClip(parent) != null){ if (MovieClip(parent).timeElapsedMsg.currentFrame == 53){ timeID = setInterval(timer, 1000); life--; if (life > 0){ resetVehicle(); } else { gameOver(); }; }; }; } protected function ApplyMask():void{ var _local1:Point = new Point(x, y); _local1 = stage.globalToLocal(_local1); MovieClip(root).lightArea.rotation = (rotation - 90); MovieClip(root).lightArea.x = _local1.x; MovieClip(root).lightArea.y = _local1.y; MovieClip(root).maskLayer.rotation = (rotation - 90); MovieClip(root).maskLayer.x = _local1.x; MovieClip(root).maskLayer.y = _local1.y; } protected function resetVehicle():void{ parked = false; loadSound(); isCollision = false; x = mainTruckX; y = mainTruckY; rotation = mainTruckRotation; if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = topObjX; MovieClip(parent).topObject.y = topObjY; }; if (nightMode){ MovieClip(root).playMask.x = playGroundX; MovieClip(root).playMask.y = playGroundY; }; MovieClip(parent).playGround.x = playGroundX; MovieClip(parent).playGround.y = playGroundY; var _local1:* = 1; while (_local1 <= movCarCount) { root["playGround"][("movingCar" + _local1)].gotoAndPlay(1); if (nightMode){ root["playMask"][("movingCar" + _local1)].gotoAndPlay(1); }; _local1++; }; } protected function Remove():void{ if (truckSoundChannel != null){ truckSoundChannel.stop(); }; if (truckRunningChannel != null){ truckRunningChannel.stop(); }; if (truckStartChannel != null){ truckStartChannel.stop(); }; isCollision = false; clearInterval(timeID); stage.removeEventListener(Event.ENTER_FRAME, mainTruckOnEnterFrame); stage.removeEventListener(KeyboardEvent.KEY_DOWN, mainTruckOnKeyPressed); stage.removeEventListener(KeyboardEvent.KEY_UP, mainTruckOnKeyReleased); MovieClip(parent).removeChild(this); } protected function gameOver():void{ MovieClip(parent).gotoAndStop(28); Remove(); } function bgMove():void{ if (x > 700){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x - 600); x = (x - 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x - 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x - 600); }; } else { if (x < 100){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x + 600); x = (x + 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x + 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x + 600); }; } else { if (y > 500){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y - 400); y = (y - 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y - 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y - 400); }; } else { if (y < 100){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y + 400); y = (y + 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y + 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y + 400); }; }; }; }; }; } function frame1(){ stop(); truckSmoke.visible = false; } } }//package
Section 41
//PixelPerfectCollisionDetection (PixelPerfectCollisionDetection) package { import flash.geom.*; import flash.display.*; public class PixelPerfectCollisionDetection { public static function getCollisionRect(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:DisplayObjectContainer, _arg4:Boolean=false, _arg5:Number=0):Rectangle{ var _local9:BitmapData; var _local10:BitmapData; var _local11:uint; var _local12:Rectangle; var _local13:int; var _local6:Rectangle = _arg1.getBounds(_arg3); var _local7:Rectangle = _arg2.getBounds(_arg3); var _local8:Rectangle = _local6.intersection(_local7); if (_local8.size.length > 0){ if (_arg4){ _local8.width = Math.ceil(_local8.width); _local8.height = Math.ceil(_local8.height); _local9 = getAlphaMap(_arg1, _local8, BitmapDataChannel.RED, _arg3); _local10 = getAlphaMap(_arg2, _local8, BitmapDataChannel.GREEN, _arg3); _local9.draw(_local10, null, null, BlendMode.LIGHTEN); if (_arg5 <= 0){ _local11 = 65792; } else { if (_arg5 > 1){ _arg5 = 1; }; _local13 = Math.round((_arg5 * 0xFF)); _local11 = (((_local13 << 16) | (_local13 << 8)) | 0); }; _local12 = _local9.getColorBoundsRect(_local11, _local11); _local9.getColorBoundsRect(_local11, _local11).x = (_local12.x + _local8.x); _local12.y = (_local12.y + _local8.y); return (_local12); } else { return (_local8); }; //unresolved jump }; return (null); } private static function getAlphaMap(_arg1:DisplayObject, _arg2:Rectangle, _arg3:uint, _arg4:DisplayObjectContainer):BitmapData{ var _local5:Matrix = _arg4.transform.concatenatedMatrix.clone(); _local5.invert(); var _local6:Matrix = _arg1.transform.concatenatedMatrix.clone(); _local6.concat(_local5); _local6.translate(-(_arg2.x), -(_arg2.y)); var _local7:BitmapData = new BitmapData(_arg2.width, _arg2.height, true, 0); _local7.draw(_arg1, _local6); var _local8:BitmapData = new BitmapData(_arg2.width, _arg2.height, false, 0); _local8.copyChannel(_local7, _local7.rect, new Point(0, 0), BitmapDataChannel.ALPHA, _arg3); return (_local8); } public static function getCollisionPoint(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:DisplayObjectContainer, _arg4:Boolean=false, _arg5:Number=0):Point{ var _local7:Number; var _local8:Number; var _local6:Rectangle = getCollisionRect(_arg1, _arg2, _arg3, _arg4, _arg5); if (((!((_local6 == null))) && ((_local6.size.length > 0)))){ _local7 = ((_local6.left + _local6.right) / 2); _local8 = ((_local6.top + _local6.bottom) / 2); return (new Point(_local7, _local8)); }; return (null); } public static function isColliding(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:DisplayObjectContainer, _arg4:Boolean=false, _arg5:Number=0):Boolean{ var _local6:Rectangle = getCollisionRect(_arg1, _arg2, _arg3, _arg4, _arg5); if (((!((_local6 == null))) && ((_local6.size.length > 0)))){ return (true); }; return (false); } } }//package
Section 42
//Rig (Rig) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; public class Rig extends MovieClip { public var rigFront:MovieClip; public var rigBack:MovieClip; var level:int;// = 1 var timeLeft:int;// = 180 var life:int;// = 5 var timer2; public var smoke:Boolean;// = true public var rigX:Number; public var rigY:Number; public var rigRotation:Number; public var mainTruckX:Number; public var mainTruckY:Number; public var mainTruckRotation:Number; public var isMonster:Boolean;// = false protected var forwardKey:Boolean; protected var backwardKey:Boolean; protected var leftKey:Boolean; protected var rightKey:Boolean; protected var skip1:Boolean; protected var skip2:Boolean; protected var rigSpeed:Number;// = 0 protected var STEER_MAX:Number;// = 30 protected var STEER_SENSITIVITY:Number;// = 1.3 protected var ACCELERATION:Number;// = 0.2 protected var MAX_SPEED:Number;// = 3.5 protected var ROLLFRICTIONFACTOR:Number;// = 1.05 protected var isCollision:Boolean;// = false protected var ROTATION_SPEED:Number;// = 0.95 protected var diff:Number;// = 0 protected var ROTATION_LIMIT:Number;// = 35 protected var rotation_to_add:Number;// = 0 public var RIG1_LENGTH:Number;// = 109 protected var playGroundX:Number; protected var playGroundY:Number; protected var nightX:Number; protected var nightY:Number; protected var parked:Boolean;// = false protected var tireMark:Boolean;// = false protected var pointTire1:Point; protected var pointTire2:Point; protected var tireMarkX1; protected var tireMarkY1; protected var tireMarkX2; protected var tireMarkY2; protected var TM1;// = null protected var TM2;// = null protected var bgX:Number; protected var bgY:Number; protected var topObjX:Number; protected var topObjY:Number; public var obstacleCount:int;// = 0 public var gutterCount:int;// = 0 public var movCarCount:int;// = 0 public var timeID; public var objectBased:Boolean;// = false public var nightMode:Boolean;// = false public var scrollable:Boolean;// = false private var sound_Sound:truckSound; private var sound_Crash:truckCrash; private var sound_Start:truckSound; private var sound_Running:truckRunning; private var sound_clap:clap; private var truckSoundChannel:SoundChannel; private var truckCrashChannel:SoundChannel; private var truckStartChannel:SoundChannel; private var truckRunningChannel:SoundChannel; private var clapChannel:SoundChannel; private var mute:SoundTransform; private var volume1:SoundTransform; private var volume2:SoundTransform; public function Rig():void{ sound_Sound = new truckSound(); sound_Crash = new truckCrash(); sound_Start = new truckSound(); sound_Running = new truckRunning(); sound_clap = new clap(); mute = new SoundTransform(); volume1 = new SoundTransform(); volume2 = new SoundTransform(); super(); rigX = x; rigY = y; rigRotation = rotation; } function gotoNextLevel(){ clearInterval(timeID); MovieClip(root).score = ((MovieClip(root).score + (10 * timeLeft)) + (life * 50)); Remove(); } function timer(){ var _local1:*; var _local2:*; if (!MovieClip(root).training.visible){ timeLeft--; if ((((timeLeft / 60)) && ((timeLeft >= 0)))){ _local1 = int((timeLeft / 60)); _local2 = (timeLeft % 60); if (String(_local1).length == 1){ MovieClip(parent).txtTimeLeft.text = (("0" + _local1) + ":"); } else { MovieClip(parent).txtTimeLeft.text = (_local1 + ":"); }; if (String(_local2).length == 1){ MovieClip(parent).txtTimeLeft.text = ((MovieClip(parent).txtTimeLeft.text + "0") + _local2); } else { MovieClip(parent).txtTimeLeft.text = ((MovieClip(parent).txtTimeLeft.text + "") + _local2); }; } else { MovieClip(parent).txtTimeLeft.text = "00:00"; }; return (timeLeft); }; } private function loadSound():void{ mute.volume = 0; volume1.volume = 0.6; volume2.volume = 1; truckStartChannel = sound_Start.play(0); truckRunningChannel = sound_Running.play(0, 100); if (MovieClip(root).muteFlag){ truckStartChannel.soundTransform = mute; truckRunningChannel.soundTransform = mute; } else { truckStartChannel.soundTransform = volume1; truckRunningChannel.soundTransform = volume1; }; truckStartChannel.addEventListener(Event.SOUND_COMPLETE, loadStandBySound); } private function loadStandBySound(_arg1:Event):void{ truckSoundChannel = sound_Sound.play(2000, 100); if (MovieClip(root).muteFlag){ truckSoundChannel.soundTransform = mute; } else { truckSoundChannel.soundTransform = volume1; }; truckStartChannel.removeEventListener(Event.SOUND_COMPLETE, loadStandBySound); truckStartChannel = null; } private function manageSound():void{ if (((forwardKey) || (backwardKey))){ if (truckSoundChannel != null){ truckSoundChannel.soundTransform = mute; }; if (truckStartChannel != null){ truckStartChannel.soundTransform = mute; }; if (truckRunningChannel != null){ truckRunningChannel.soundTransform = volume1; }; } else { if (truckSoundChannel != null){ truckSoundChannel.soundTransform = volume1; }; if (truckStartChannel != null){ truckStartChannel.soundTransform = volume1; }; if (truckRunningChannel != null){ truckRunningChannel.soundTransform = mute; }; }; if (MovieClip(root).muteFlag){ if (truckSoundChannel != null){ truckSoundChannel.soundTransform = mute; }; if (truckStartChannel != null){ truckStartChannel.soundTransform = mute; }; if (truckRunningChannel != null){ truckRunningChannel.soundTransform = mute; }; }; } public function initialize():void{ life = MovieClip(root).remainingLife; var _local1:* = 1; while (_local1 <= 5) { if (_local1 <= life){ root["statusBar"][("life" + _local1)].visible = true; } else { root["statusBar"][("life" + _local1)].visible = false; }; _local1++; }; MovieClip(root).statusBar.visible = true; MovieClip(root).txtLevel.visible = true; MovieClip(root).txtTimeLeft.visible = true; MovieClip(root).txtTimeLeft.text = "03:00"; if (nightMode){ MovieClip(root).playMask.mask = MovieClip(root).lightArea; nightX = MovieClip(parent).night.x; nightY = MovieClip(parent).night.y; }; loadSound(); manageSound(); bgX = MovieClip(parent).playGround.x; bgY = MovieClip(parent).playGround.y; if (MovieClip(parent).topObject != null){ topObjX = MovieClip(parent).topObject.x; topObjY = MovieClip(parent).topObject.y; }; MovieClip(parent).txtLevel.text = ("0" + MovieClip(parent).nextLevel); parked = false; MovieClip(parent).setChildIndex(this, (MovieClip(parent).getChildIndex(root["playGround"]) + 1)); MovieClip(parent).timeElapsedMsg.gotoAndStop(1); MovieClip(parent).congratsMsg.gotoAndStop(1); MovieClip(parent).crashedMsg.gotoAndStop(1); playGroundX = MovieClip(parent).playGround.x; playGroundY = MovieClip(parent).playGround.y; stage.addEventListener(Event.ENTER_FRAME, rigOnEnterFrame); stage.addEventListener(KeyboardEvent.KEY_DOWN, rigOnKeyPressed); stage.addEventListener(KeyboardEvent.KEY_UP, rigOnKeyReleased); timeID = setInterval(timer, 1000); } protected function rigOnEnterFrame(_arg1:Event):void{ manageSound(); if (scrollable){ bgMove(); }; if (rigSpeed == 0){ rigFront.leftSmoke.visible = false; rigFront.rightSmoke.visible = false; } else { rigFront.leftSmoke.visible = true; rigFront.rightSmoke.visible = true; }; if (((forwardKey) && (backwardKey))){ tireMark = true; }; if (((((!(forwardKey)) && (!(backwardKey)))) || (((forwardKey) && (backwardKey))))){ rigSpeed = (rigSpeed / ROLLFRICTIONFACTOR); if (Math.abs(rigSpeed) <= 0.3){ rigSpeed = 0; }; } else { if (((forwardKey) && (!(parked)))){ rigSpeed = (rigSpeed + ACCELERATION); if (rigSpeed > MAX_SPEED){ rigSpeed = MAX_SPEED; }; } else { if (((backwardKey) && (!(parked)))){ if (rigSpeed > 0){ rigSpeed = (rigSpeed - (ACCELERATION * 1.5)); } else { rigSpeed = (rigSpeed - (ACCELERATION / 1.5)); }; if (rigSpeed < (-(MAX_SPEED) / 1.5)){ rigSpeed = (-(MAX_SPEED) / 1.5); }; diff = DiffAngle(rigFront.rotation, rigBack.rotation); if (Math.abs(diff) > ROTATION_LIMIT){ if (diff < 0){ rigFront.rotation = (rigBack.rotation - ROTATION_LIMIT); } else { if (diff > 0){ rigFront.rotation = (rigBack.rotation + ROTATION_LIMIT); }; }; }; }; }; }; if (((rightKey) && (!(parked)))){ if (backwardKey){ if (rigFront.wheel0.rotation < 0){ rigFront.wheel0.rotation = (rigFront.wheel0.rotation + (STEER_SENSITIVITY * 3)); rigFront.wheel1.rotation = (rigFront.wheel1.rotation + (STEER_SENSITIVITY * 3)); } else { if (rigFront.wheel0.rotation < STEER_MAX){ rigFront.wheel0.rotation = (rigFront.wheel0.rotation + (2 * STEER_SENSITIVITY)); rigFront.wheel1.rotation = (rigFront.wheel1.rotation + (2 * STEER_SENSITIVITY)); }; }; } else { if (rigFront.wheel0.rotation < 0){ rigFront.wheel0.rotation = (rigFront.wheel0.rotation + (STEER_SENSITIVITY * 2)); rigFront.wheel1.rotation = (rigFront.wheel1.rotation + (STEER_SENSITIVITY * 2)); } else { if (rigFront.wheel0.rotation < STEER_MAX){ rigFront.wheel0.rotation = (rigFront.wheel0.rotation + STEER_SENSITIVITY); rigFront.wheel1.rotation = (rigFront.wheel1.rotation + STEER_SENSITIVITY); }; }; }; }; if (((leftKey) && (!(parked)))){ if (backwardKey){ if (rigFront.wheel0.rotation > 0){ rigFront.wheel0.rotation = (rigFront.wheel0.rotation - (STEER_SENSITIVITY * 3)); rigFront.wheel1.rotation = (rigFront.wheel1.rotation - (STEER_SENSITIVITY * 3)); } else { if (rigFront.wheel0.rotation < STEER_MAX){ rigFront.wheel0.rotation = (rigFront.wheel0.rotation - (2 * STEER_SENSITIVITY)); rigFront.wheel1.rotation = (rigFront.wheel1.rotation - (2 * STEER_SENSITIVITY)); }; }; } else { if (rigFront.wheel0.rotation > 0){ rigFront.wheel0.rotation = (rigFront.wheel0.rotation - (STEER_SENSITIVITY * 2)); rigFront.wheel1.rotation = (rigFront.wheel1.rotation - (STEER_SENSITIVITY * 2)); } else { if (rigFront.wheel0.rotation > -(STEER_MAX)){ rigFront.wheel0.rotation = (rigFront.wheel0.rotation - STEER_SENSITIVITY); rigFront.wheel1.rotation = (rigFront.wheel1.rotation - STEER_SENSITIVITY); }; }; }; } else { if (((!(rightKey)) && (!(leftKey)))){ rigFront.wheel0.rotation = (rigFront.wheel0.rotation / 1.2); if (Math.abs(rigFront.wheel0.rotation) < 3){ rigFront.wheel0.rotation = 0; }; rigFront.wheel1.rotation = rigFront.wheel0.rotation; }; }; if (!isCollision){ rotation_to_add = ((rigSpeed * rigFront.wheel0.rotation) * 0.03); if (rigSpeed < 0){ rigFront.rotation = (rigFront.rotation - rotation_to_add); } else { rigFront.rotation = (rigFront.rotation + rotation_to_add); }; rigFront.x = (rigFront.x + (rigSpeed * Math.cos(((rigFront.rotation * Math.PI) / 180)))); rigFront.y = (rigFront.y + (rigSpeed * Math.sin(((rigFront.rotation * Math.PI) / 180)))); diff = DiffAngle(rigFront.rotation, rigBack.rotation); if (Math.abs(diff) > ROTATION_LIMIT){ if (diff < 0){ rigFront.rotation = (rigBack.rotation - ROTATION_LIMIT); } else { if (diff > 0){ rigFront.rotation = (rigBack.rotation + ROTATION_LIMIT); }; }; rigFront.wheel0.rotation = FollowRotation(rigFront.wheel0.rotation, 0, 6); rigFront.wheel1.rotation = rigFront.wheel0.rotation; }; if (rigSpeed != 0){ rigBack.rotation = ((Math.atan2((rigFront.y - rigBack.y), (rigFront.x - rigBack.x)) * 180) / Math.PI); rigBack.x = (rigFront.x - (RIG1_LENGTH * Math.cos(((rigBack.rotation * Math.PI) / 180)))); rigBack.y = (rigFront.y - (RIG1_LENGTH * Math.sin(((rigBack.rotation * Math.PI) / 180)))); }; if (nightMode){ ApplyMask(); }; }; checkCollision(); if (tireMark){ if (mainTruckRotation == 0){ pointTire2 = new Point((x + rigBack.x), (y + rigBack.y)); } else { if (mainTruckRotation == 90){ pointTire2 = new Point((x - rigBack.y), (y + rigBack.x)); } else { if (mainTruckRotation == 180){ pointTire2 = new Point((x - rigBack.x), (y - rigBack.y)); } else { if (mainTruckRotation == 270){ pointTire2 = new Point((x + rigBack.y), (y - rigBack.x)); }; }; }; }; pointTire2 = root["playGround"].globalToLocal(pointTire2); tireMarkX1 = pointTire2.x; tireMarkY1 = pointTire2.y; if ((((MovieClip(root).nextLevel >= 1)) && ((MovieClip(root).nextLevel <= 5)))){ TM1 = new TireMarkRig2(); } else { if ((((MovieClip(root).nextLevel >= 6)) && ((MovieClip(root).nextLevel <= 25)))){ TM1 = new TireMarkRig1(); }; }; TM1.x = tireMarkX1; TM1.y = tireMarkY1; TM1.rotation = ((rigBack.rotation + mainTruckRotation) + 90); if (MovieClip(root).nextLevel == 22){ TM1.rotation = ((rigBack.rotation + mainTruckRotation) + 270); }; if (MovieClip(root).nextLevel == 23){ TM1.rotation = (rigBack.rotation + mainTruckRotation); }; root["playGround"].addChild(TM1); if (movCarCount >= 1){ root["playGround"].setChildIndex(TM1, (root["playGround"].getChildIndex(root["playGround"]["movingCar1"]) - 1)); }; if (nightMode){ if ((((MovieClip(root).nextLevel >= 1)) && ((MovieClip(root).nextLevel <= 5)))){ TM2 = new TireMarkRig2(); } else { if ((((MovieClip(root).nextLevel >= 6)) && ((MovieClip(root).nextLevel <= 25)))){ TM2 = new TireMarkRig1(); }; }; TM2.x = tireMarkX1; TM2.y = tireMarkY1; TM2.rotation = TM1.rotation; root["playMask"].addChild(TM2); if (movCarCount >= 1){ root["playMask"].setChildIndex(TM2, (root["playMask"].getChildIndex(root["playMask"]["movingCar1"]) - 1)); }; }; tireMark = false; }; } protected function rigOnKeyPressed(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == 32){ if (MovieClip(root).training.visible){ MovieClip(root).training.visible = false; MovieClip(root).timeLeft = 180; }; }; if (!MovieClip(root).training.visible){ if ((((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))) || ((_arg1.keyCode == 119)))){ forwardKey = true; }; if ((((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))) || ((_arg1.keyCode == 115)))){ backwardKey = true; }; if ((((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))) || ((_arg1.keyCode == 97)))){ leftKey = true; }; if ((((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))) || ((_arg1.keyCode == 100)))){ rightKey = true; }; if (_arg1.keyCode == 83){ skip1 = true; }; if (_arg1.keyCode == 77){ skip2 = true; }; if (_arg1.keyCode == 74){ if (((skip1) && (skip2))){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; MovieClip(root).nextLevel = (MovieClip(root).nextLevel + 1); MovieClip(parent).txtTimeLeft.text = "03:00"; MovieClip(parent).gotoAndStop((MovieClip(parent).currentFrame + 1)); gotoNextLevel(); }; }; }; } protected function rigOnKeyReleased(_arg1:KeyboardEvent):void{ if ((((((_arg1.keyCode == 38)) || ((_arg1.keyCode == 87)))) || ((_arg1.keyCode == 119)))){ forwardKey = false; }; if ((((((_arg1.keyCode == 40)) || ((_arg1.keyCode == 83)))) || ((_arg1.keyCode == 115)))){ backwardKey = false; }; if ((((((_arg1.keyCode == 37)) || ((_arg1.keyCode == 65)))) || ((_arg1.keyCode == 97)))){ leftKey = false; }; if ((((((_arg1.keyCode == 39)) || ((_arg1.keyCode == 68)))) || ((_arg1.keyCode == 100)))){ rightKey = false; }; } protected function checkCollision():void{ var _local3:int; var _local4:*; var _local1 = 1; while (_local1 <= obstacleCount) { if (((PixelPerfectCollisionDetection.isColliding(rigBack, root["playGround"][("obstacle" + _local1)], MovieClip(root), true)) || (PixelPerfectCollisionDetection.isColliding(rigFront.rigFrontHitBody, root["playGround"][("obstacle" + _local1)], MovieClip(root), true)))){ if (!isCollision){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ truckCrashChannel = sound_Crash.play(); }; _local3 = 1; while (_local3 <= movCarCount) { root["playGround"][("movingCar" + _local3)].stop(); if (nightMode){ root["playMask"][("movingCar" + _local3)].stop(); }; _local3++; }; MovieClip(parent).crashedMsg.gotoAndPlay(1); isCollision = true; parked = true; }; }; _local1++; }; var _local2 = 1; while (_local2 <= gutterCount) { if (((PixelPerfectCollisionDetection.isColliding(rigBack, root["playGround"][("gutter" + _local2)]["innerg"], MovieClip(root), true)) || (PixelPerfectCollisionDetection.isColliding(rigFront.rigFrontHitBody, root["playGround"][("gutter" + _local2)]["innerg"], MovieClip(root), true)))){ if (!isCollision){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ truckCrashChannel = sound_Crash.play(); }; _local3 = 1; while (_local3 <= movCarCount) { root["playGround"][("movingCar" + _local3)].stop(); if (nightMode){ root["playMask"][("movingCar" + _local3)].stop(); }; _local3++; }; MovieClip(parent).crashedMsg.gotoAndPlay(1); isCollision = true; parked = true; }; }; _local2++; }; _local3 = 1; while (_local3 <= movCarCount) { if (((PixelPerfectCollisionDetection.isColliding(rigBack, root["playGround"][("movingCar" + _local3)], MovieClip(root), true)) || (PixelPerfectCollisionDetection.isColliding(rigFront.rigFrontHitBody, root["playGround"][("movingCar" + _local3)], MovieClip(root), true)))){ if (!isCollision){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ truckCrashChannel = sound_Crash.play(); }; _local4 = 1; while (_local4 <= movCarCount) { root["playGround"][("movingCar" + _local4)].stop(); _local4++; }; if (nightMode){ root["playMask"][("movingCar" + _local3)].stop(); }; MovieClip(parent).crashedMsg.gotoAndPlay(1); isCollision = true; parked = true; }; }; _local3++; }; if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], rigBack.parkingPointML, MovieClip(root), true)){ if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], rigBack.parkingPointMR, MovieClip(root), true)){ if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], rigFront.parkingPointFL, MovieClip(root), true)){ if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], rigFront.parkingPointFR, MovieClip(root), true)){ if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], rigBack.parkingPointBL, MovieClip(root), true)){ if (PixelPerfectCollisionDetection.isColliding(root["playGround"]["parkArea"], rigBack.parkingPointBR, MovieClip(root), true)){ if (!parked){ if (truckSoundChannel != null){ truckSoundChannel.stop(); truckSoundChannel = null; }; if (truckStartChannel != null){ truckStartChannel.stop(); truckStartChannel = null; }; if (truckRunningChannel != null){ truckRunningChannel.stop(); truckRunningChannel = null; }; if (!MovieClip(root).muteFlag){ clapChannel = sound_clap.play(); }; MovieClip(parent).congratsMsg.gotoAndPlay(1); parked = true; rigSpeed = 0; }; }; }; }; }; }; }; if (MovieClip(parent).congratsMsg.currentFrame == 57){ MovieClip(parent).gotoAndPlay(29); MovieClip(root).remainingLife = life; gotoNextLevel(); timeLeft = 180; }; if (((isCollision) && ((timeLeft > 0)))){ rigFront.leftSmoke.visible = false; rigFront.rightSmoke.visible = false; if (MovieClip(parent).crashedMsg.currentFrame == 48){ if (truckCrashChannel != null){ truckCrashChannel.stop(); }; root["statusBar"][("life" + life)].visible = false; life--; if (life > 0){ resetVehicle(); } else { MovieClip(root).remainingLife = life; gameOver(); }; }; }; if (timeLeft <= 0){ root["statusBar"][("life" + life)].visible = false; MovieClip(parent).timeElapsedMsg.gotoAndPlay(1); timeLeft = 180; rigSpeed = 0; clearInterval(timeID); parked = true; isCollision = true; }; if (MovieClip(parent) != null){ if (MovieClip(parent).timeElapsedMsg.currentFrame == 54){ timeID = setInterval(timer, 1000); life--; if (life > 0){ resetVehicle(); } else { MovieClip(root).remainingLife = life; gameOver(); }; }; }; } protected function DiffAngle(_arg1:Number, _arg2:Number):Number{ if (_arg2 < -180){ _arg2 = (_arg2 + 360); }; if (_arg2 > 180){ _arg2 = (_arg2 - 360); }; if (_arg1 < -180){ _arg1 = (_arg1 + 360); }; if (_arg1 > 180){ _arg1 = (_arg1 - 360); }; if (Math.abs((_arg1 - _arg2)) > 180){ if ((((((_arg1 < 0)) && ((_arg2 > 0)))) || ((((_arg1 > 0)) && ((_arg2 < 0)))))){ if (_arg2 < _arg1){ _arg2 = (_arg2 + 360); } else { _arg2 = (_arg2 - 360); }; }; }; return ((_arg1 - _arg2)); } protected function FollowRotation(_arg1:Number, _arg2:Number, _arg3:Number):Number{ if (_arg2 < -180){ _arg2 = (_arg2 + 360); }; if (_arg2 > 180){ _arg2 = (_arg2 - 360); }; if (_arg1 < -180){ _arg1 = (_arg1 + 360); }; if (_arg1 > 180){ _arg1 = (_arg1 - 360); }; if (Math.abs((_arg1 - _arg2)) > 180){ if ((((((_arg1 < 0)) && ((_arg2 > 0)))) || ((((_arg1 > 0)) && ((_arg2 < 0)))))){ if (_arg2 < _arg1){ _arg2 = (_arg2 + 360); } else { _arg2 = (_arg2 - 360); }; }; }; if (Math.abs((_arg1 - _arg2)) < 3){ _arg1 = _arg2; } else { _arg1 = (_arg1 + ((_arg2 - _arg1) / _arg3)); }; return (_arg1); } protected function resetVehicle():void{ parked = false; loadSound(); rigFront.x = 0; rigFront.y = 0; rigFront.rotation = 0; rigBack.rotation = 0; MovieClip(parent).playGround.x = bgX; MovieClip(parent).playGround.y = bgY; if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = topObjX; MovieClip(parent).topObject.y = topObjY; }; if (nightMode){ MovieClip(root).playMask.x = playGroundX; MovieClip(root).playMask.y = playGroundY; MovieClip(root).night.x = nightX; MovieClip(root).night.y = nightY; }; rigBack.x = (rigFront.x - (RIG1_LENGTH * Math.cos(((rigBack.rotation * Math.PI) / 180)))); rigBack.y = (rigFront.y - (RIG1_LENGTH * Math.sin(((rigBack.rotation * Math.PI) / 180)))); rigSpeed = 0; isCollision = false; var _local1:* = 1; while (_local1 <= movCarCount) { root["playGround"][("movingCar" + _local1)].gotoAndPlay(1); if (nightMode){ root["playMask"][("movingCar" + _local1)].gotoAndPlay(1); }; _local1++; }; } protected function gameOver():void{ MovieClip(parent).gotoAndStop(28); Remove(); } protected function Remove():void{ if (truckSoundChannel != null){ truckSoundChannel.stop(); }; if (truckRunningChannel != null){ truckRunningChannel.stop(); }; if (truckStartChannel != null){ truckStartChannel.stop(); }; isCollision = false; clearInterval(timeID); stage.removeEventListener(Event.ENTER_FRAME, rigOnEnterFrame); stage.removeEventListener(KeyboardEvent.KEY_DOWN, rigOnKeyPressed); stage.removeEventListener(KeyboardEvent.KEY_UP, rigOnKeyReleased); MovieClip(parent).removeChild(this); } protected function ApplyMask():void{ var _local1:Point; if (mainTruckRotation == 0){ _local1 = new Point((x + rigFront.x), (y + rigFront.y)); } else { if (mainTruckRotation == 90){ _local1 = new Point((x - rigFront.y), (y + rigFront.x)); } else { if (mainTruckRotation == 180){ _local1 = new Point((x - rigFront.x), (y - rigFront.y)); } else { if (mainTruckRotation == 270){ _local1 = new Point((x + rigFront.y), (y - rigFront.x)); }; }; }; }; _local1 = stage.globalToLocal(_local1); MovieClip(root).lightArea.rotation = (rigFront.rotation + mainTruckRotation); MovieClip(root).lightArea.x = _local1.x; MovieClip(root).lightArea.y = _local1.y; MovieClip(root).maskLayer.rotation = (rigFront.rotation + mainTruckRotation); MovieClip(root).maskLayer.x = _local1.x; MovieClip(root).maskLayer.y = _local1.y; } protected function bgMove():void{ var _local1:*; var _local2:*; if (mainTruckRotation == 0){ _local1 = (x + rigFront.x); _local2 = (y + rigFront.y); if (_local1 > 700){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x - 600); rigFront.x = (rigFront.x - 600); rigBack.x = (rigBack.x - 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x - 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x - 600); MovieClip(root).night.x = (MovieClip(root).night.x - 600); }; } else { if (_local1 < 100){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x + 600); rigFront.x = (rigFront.x + 600); rigBack.x = (rigBack.x + 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x + 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x + 600); MovieClip(root).night.x = (MovieClip(root).night.x + 600); }; } else { if (_local2 > 500){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y - 400); rigFront.y = (rigFront.y - 400); rigBack.y = (rigBack.y - 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y - 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y - 400); MovieClip(root).night.y = (MovieClip(root).night.y - 400); }; } else { if (_local2 < 100){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y + 400); rigFront.y = (rigFront.y + 400); rigBack.y = (rigBack.y + 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y + 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y + 400); MovieClip(root).night.y = (MovieClip(root).night.y + 400); }; }; }; }; }; } else { if (mainTruckRotation == 90){ _local2 = (y + rigFront.x); _local1 = (x - rigFront.y); if (_local1 > 700){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x - 600); rigFront.y = (rigFront.y + 600); rigBack.y = (rigBack.y + 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x - 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x - 600); MovieClip(root).night.x = (MovieClip(root).night.x - 600); }; } else { if (_local1 < 100){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x + 600); rigFront.y = (rigFront.y - 600); rigBack.y = (rigBack.y - 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x + 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x + 600); MovieClip(root).night.x = (MovieClip(root).night.x + 600); }; } else { if (_local2 > 500){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y - 400); rigFront.x = (rigFront.x - 400); rigBack.x = (rigBack.x - 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y - 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y - 400); MovieClip(root).night.y = (MovieClip(root).night.y - 400); }; } else { if (_local2 < 100){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y + 400); rigFront.x = (rigFront.x + 400); rigBack.x = (rigBack.x + 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y + 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y + 400); MovieClip(root).night.y = (MovieClip(root).night.y + 400); }; }; }; }; }; } else { if (mainTruckRotation == 180){ _local1 = (x - rigFront.x); _local2 = (y - rigFront.y); if (_local1 > 700){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x - 600); rigFront.x = (rigFront.x + 600); rigBack.x = (rigBack.x + 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x - 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x - 600); MovieClip(root).night.x = (MovieClip(root).night.x - 600); }; } else { if (_local1 < 100){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x + 600); rigFront.x = (rigFront.x - 600); rigBack.x = (rigBack.x - 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x + 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x + 600); MovieClip(root).night.x = (MovieClip(root).night.x + 600); }; } else { if (_local2 > 500){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y - 400); rigFront.y = (rigFront.y + 400); rigBack.y = (rigBack.y + 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y - 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y - 400); MovieClip(root).night.y = (MovieClip(root).night.y - 400); }; } else { if (_local2 < 100){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y + 400); rigFront.y = (rigFront.y - 400); rigBack.y = (rigBack.y - 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y + 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y + 400); MovieClip(root).night.y = (MovieClip(root).night.y + 400); }; }; }; }; }; } else { if (mainTruckRotation == 270){ _local2 = (y - rigFront.x); _local1 = (x + rigFront.y); if (_local1 > 700){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x - 600); rigFront.y = (rigFront.y - 600); rigBack.y = (rigBack.y - 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x - 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x - 600); MovieClip(root).night.x = (MovieClip(root).night.x - 600); }; } else { if (_local1 < 100){ MovieClip(parent).playGround.x = (MovieClip(parent).playGround.x + 600); rigFront.y = (rigFront.y + 600); rigBack.y = (rigBack.y + 600); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.x = (MovieClip(parent).topObject.x + 600); }; if (nightMode){ MovieClip(root).playMask.x = (MovieClip(root).playMask.x + 600); MovieClip(root).night.x = (MovieClip(root).night.x + 600); }; } else { if (_local2 > 500){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y - 400); rigFront.x = (rigFront.x + 400); rigBack.x = (rigBack.x + 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y - 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y - 400); MovieClip(root).night.y = (MovieClip(root).night.y - 400); }; } else { if (_local2 < 100){ MovieClip(parent).playGround.y = (MovieClip(parent).playGround.y + 400); rigFront.x = (rigFront.x - 400); rigBack.x = (rigBack.x - 400); if (MovieClip(parent).topObject != null){ MovieClip(parent).topObject.y = (MovieClip(parent).topObject.y + 400); }; if (nightMode){ MovieClip(root).playMask.y = (MovieClip(root).playMask.y + 400); MovieClip(root).night.y = (MovieClip(root).night.y + 400); }; }; }; }; }; }; }; }; }; } } }//package
Section 43
//rigStart (rigStart) package { import flash.media.*; public dynamic class rigStart extends Sound { } }//package
Section 44
//singleTrailer (singleTrailer) package { import flash.geom.*; import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; import flash.text.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.net.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.system.*; import flash.ui.*; import flash.xml.*; public dynamic class singleTrailer extends Rig { public function singleTrailer(){ addFrameScript(0, frame1); } function frame1(){ rigFront.leftSmoke.visible = false; rigFront.rightSmoke.visible = false; } } }//package
Section 45
//Smash (Smash) package { import flash.media.*; public dynamic class Smash extends Sound { } }//package
Section 46
//TireMark (TireMark) package { import flash.display.*; public dynamic class TireMark extends MovieClip { } }//package
Section 47
//TireMark1 (TireMark1) package { import flash.display.*; public dynamic class TireMark1 extends MovieClip { } }//package
Section 48
//TireMarkAmb (TireMarkAmb) package { import flash.display.*; public dynamic class TireMarkAmb extends MovieClip { } }//package
Section 49
//TireMarkAmb1 (TireMarkAmb1) package { import flash.display.*; public dynamic class TireMarkAmb1 extends MovieClip { } }//package
Section 50
//TireMarkMonster1 (TireMarkMonster1) package { import flash.display.*; public dynamic class TireMarkMonster1 extends MovieClip { } }//package
Section 51
//TireMarkMonster2 (TireMarkMonster2) package { import flash.display.*; public dynamic class TireMarkMonster2 extends MovieClip { } }//package
Section 52
//TireMarkRig1 (TireMarkRig1) package { import flash.display.*; public dynamic class TireMarkRig1 extends MovieClip { } }//package
Section 53
//TireMarkRig2 (TireMarkRig2) package { import flash.display.*; public dynamic class TireMarkRig2 extends MovieClip { } }//package
Section 54
//truckCrash (truckCrash) package { import flash.media.*; public dynamic class truckCrash extends Sound { } }//package
Section 55
//truckRunning (truckRunning) package { import flash.media.*; public dynamic class truckRunning extends Sound { } }//package
Section 56
//truckSkid (truckSkid) package { import flash.media.*; public dynamic class truckSkid extends Sound { } }//package
Section 57
//truckSkid1 (truckSkid1) package { import flash.media.*; public dynamic class truckSkid1 extends Sound { } }//package
Section 58
//truckSound (truckSound) package { import flash.media.*; public dynamic class truckSound extends Sound { } }//package
Section 59
//truckStandBy (truckStandBy) package { import flash.media.*; public dynamic class truckStandBy extends Sound { } }//package

Library Items

Symbol 1 Sound {rigStart}
Symbol 2 Sound {truckStandBy}
Symbol 3 Sound {truckSound}
Symbol 4 Sound {truckRunning}
Symbol 5 Sound {truckSkid}
Symbol 6 Sound {truckSkid1}
Symbol 7 Sound {buttonSound}
Symbol 8 Sound {truckCrash}
Symbol 9 Sound {clap}
Symbol 10 Sound {Smash}
Symbol 11 Sound {m7}
Symbol 12 Sound {m1}
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip {TireMarkAmb1}Uses:13
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip {TireMarkAmb}Uses:15
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClip {TireMark1}Uses:17
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClip {TireMark}Uses:19
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClip {TireMarkMonster2}Uses:21
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClip {TireMarkMonster1}Uses:23
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClip {TireMarkRig2}Uses:25
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClip {TireMarkRig1}Uses:27
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29Used by:34 52 71 82 88 92 104 111 116
Symbol 31 GraphicUsed by:32 72 83
Symbol 32 MovieClipUses:31Used by:34
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:30 32 33Used by:53
Symbol 35 GraphicUsed by:36 75 89 597
Symbol 36 MovieClipUses:35Used by:52
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:52
Symbol 39 GraphicUsed by:51 60 602
Symbol 40 GraphicUsed by:51 60 602
Symbol 41 GraphicUsed by:51
Symbol 42 GraphicUsed by:51 60 602
Symbol 43 GraphicUsed by:51 60 602
Symbol 44 GraphicUsed by:51 60 602
Symbol 45 GraphicUsed by:51 60 602
Symbol 46 GraphicUsed by:51 60 602
Symbol 47 GraphicUsed by:51
Symbol 48 GraphicUsed by:51 602
Symbol 49 GraphicUsed by:51 602
Symbol 50 GraphicUsed by:51 60 602
Symbol 51 MovieClipUses:39 40 41 42 43 44 45 46 47 48 49 50Used by:52 78 104 116
Symbol 52 MovieClipUses:30 36 38 51Used by:53
Symbol 53 MovieClip {singleTrailer}Uses:34 52
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:71 82 111 115 116 287
Symbol 56 GraphicUsed by:60
Symbol 57 GraphicUsed by:60
Symbol 58 GraphicUsed by:60
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClip {ParkMyBigRig2_fla.smoke_112}Uses:39 40 56 42 43 44 45 46 57 58 59 50Used by:71 82 92 111
Symbol 61 GraphicUsed by:70
Symbol 62 GraphicUsed by:70 520
Symbol 63 GraphicUsed by:70
Symbol 64 GraphicUsed by:70 520
Symbol 65 GraphicUsed by:70
Symbol 66 GraphicUsed by:70 520
Symbol 67 GraphicUsed by:70
Symbol 68 GraphicUsed by:70
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClipUses:61 62 63 64 65 66 67 68 69Used by:71
Symbol 71 MovieClip {fireTruck}Uses:30 55 60 70
Symbol 72 MovieClipUses:31Used by:74
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:72 73Used by:79
Symbol 75 MovieClipUses:35Used by:78
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:78
Symbol 78 MovieClipUses:75 77 51Used by:79
Symbol 79 MovieClip {doubleTrailer}Uses:74 78
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:82
Symbol 82 MovieClip {boxVan}Uses:30 55 60 81Used by:732
Symbol 83 MovieClipUses:31Used by:88
Symbol 84 GraphicUsed by:87
Symbol 85 GraphicUsed by:87
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:84 85 86Used by:88
Symbol 88 MovieClipUses:30 83 87Used by:93
Symbol 89 MovieClipUses:35Used by:92
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:90Used by:92
Symbol 92 MovieClipUses:30 89 91 60Used by:93
Symbol 93 MovieClip {cementMixer}Uses:88 92Used by:627
Symbol 94 GraphicUsed by:98 99
Symbol 95 GraphicUsed by:98 99
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:98 99
Symbol 98 MovieClipUses:94 95 97Used by:100
Symbol 99 MovieClipUses:94 95 97Used by:100 101
Symbol 100 MovieClipUses:98 99Used by:104
Symbol 101 MovieClipUses:99Used by:104
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClip {ParkMyBigRig2_fla.pickupTruckBody_128}Uses:102Used by:104
Symbol 104 MovieClip {monster}Uses:30 100 101 51 103Used by:554
Symbol 105 GraphicUsed by:110
Symbol 106 GraphicUsed by:110 287 472 513 571 652 757
Symbol 107 GraphicUsed by:110
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:108Used by:110 287
Symbol 110 MovieClipUses:105 106 107 109Used by:111
Symbol 111 MovieClip {ambulance}Uses:30 55 60 110Used by:520
Symbol 112 GraphicUsed by:115
Symbol 113 GraphicUsed by:115
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:112 113 55 114Used by:116
Symbol 116 MovieClip {dumpTruck}Uses:30 55 115 51Used by:431
Symbol 117 GraphicUsed by:134
Symbol 118 GraphicUsed by:122
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:121
Symbol 121 MovieClipUses:120Used by:122
Symbol 122 MovieClipUses:118 121Used by:134 261 774 806 810
Symbol 123 GraphicUsed by:134
Symbol 124 GraphicUsed by:131
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:131
Symbol 127 GraphicUsed by:131
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:131
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:124 126 127 129 130Used by:134 261 806 810
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:132Used by:134
Symbol 134 MovieClipUses:117 122 123 131 133Used by:Timeline
Symbol 135 GraphicUsed by:136 140 142 144 264 348 777 809 813
Symbol 136 MovieClipUses:135Used by:140 142 144 264 338 347 777 809 813
Symbol 137 FontUsed by:138 139 141 143 240 262 263 320 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 339 341 342 343 344 345 346 350 351 352 353 354 355 356 357 360 362 364 366 370 372 374 376 378 775 776 807 808 811 812
Symbol 138 TextUses:137Used by:140
Symbol 139 TextUses:137Used by:140
Symbol 140 ButtonUses:136 138 139 135Used by:Timeline
Symbol 141 TextUses:137Used by:142
Symbol 142 ButtonUses:136 141 135Used by:Timeline
Symbol 143 TextUses:137Used by:144
Symbol 144 ButtonUses:136 143 135Used by:Timeline
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:147 149
Symbol 147 MovieClipUses:146Used by:148 149
Symbol 148 MovieClipUses:147Used by:149
Symbol 149 ButtonUses:147 148 146Used by:Timeline
Symbol 150 GraphicUsed by:Timeline
Symbol 151 FontUsed by:152
Symbol 152 TextUses:151Used by:Timeline
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 {ParkMyBigRig2_fla.muteButton_15}Uses:154 156Used by:Timeline
Symbol 158 GraphicUsed by:170 172
Symbol 159 GraphicUsed by:170 172
Symbol 160 GraphicUsed by:170 172
Symbol 161 GraphicUsed by:170 172
Symbol 162 GraphicUsed by:170 172
Symbol 163 GraphicUsed by:170 172
Symbol 164 GraphicUsed by:170 172
Symbol 165 GraphicUsed by:170 172
Symbol 166 GraphicUsed by:170 172
Symbol 167 GraphicUsed by:170 172
Symbol 168 GraphicUsed by:170 172
Symbol 169 GraphicUsed by:170 172
Symbol 170 MovieClipUses:158 159 160 161 162 163 164 165 166 167 168 169Used by:172
Symbol 171 GraphicUsed by:172
Symbol 172 ButtonUses:170 171 158 159 160 161 162 163 164 165 166 167 168 169Used by:187  Timeline
Symbol 173 GraphicUsed by:178 227 238
Symbol 174 GraphicUsed by:178
Symbol 175 GraphicUsed by:178
Symbol 176 GraphicUsed by:178
Symbol 177 GraphicUsed by:178
Symbol 178 ButtonUses:173 174 175 176 177Used by:238
Symbol 179 GraphicUsed by:184
Symbol 180 GraphicUsed by:184
Symbol 181 GraphicUsed by:184
Symbol 182 GraphicUsed by:184
Symbol 183 GraphicUsed by:184
Symbol 184 ButtonUses:179 180 181 182 183Used by:238
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:185Used by:238
Symbol 187 MovieClipUses:172Used by:238
Symbol 188 GraphicUsed by:226
Symbol 189 ShapeTweeningUsed by:226
Symbol 190 GraphicUsed by:192
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClipUses:190 191Used by:226
Symbol 193 GraphicUsed by:226
Symbol 194 GraphicUsed by:226
Symbol 195 GraphicUsed by:226
Symbol 196 GraphicUsed by:226
Symbol 197 GraphicUsed by:226
Symbol 198 GraphicUsed by:226
Symbol 199 GraphicUsed by:226
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClipUses:200Used by:226
Symbol 202 GraphicUsed by:206
Symbol 203 GraphicUsed by:206
Symbol 204 GraphicUsed by:206
Symbol 205 GraphicUsed by:206
Symbol 206 MovieClipUses:202 203 204 205Used by:226
Symbol 207 GraphicUsed by:222
Symbol 208 GraphicUsed by:222
Symbol 209 GraphicUsed by:222
Symbol 210 GraphicUsed by:222
Symbol 211 GraphicUsed by:222
Symbol 212 GraphicUsed by:222
Symbol 213 GraphicUsed by:222
Symbol 214 GraphicUsed by:222
Symbol 215 GraphicUsed by:222
Symbol 216 GraphicUsed by:222
Symbol 217 GraphicUsed by:222
Symbol 218 GraphicUsed by:222
Symbol 219 GraphicUsed by:222
Symbol 220 GraphicUsed by:222
Symbol 221 GraphicUsed by:222
Symbol 222 MovieClipUses:207 208 209 210 211 212 213 214 215 216 217 218 219 220 221Used by:226
Symbol 223 ShapeTweeningUsed by:226
Symbol 224 ShapeTweeningUsed by:226
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClip {ParkMyBigRig2_fla.BUGload_26}Uses:188 189 192 193 194 195 196 197 198 199 201 206 222 223 224 225Used by:227
Symbol 227 MovieClipUses:173 226Used by:238
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClipUses:228Used by:234
Symbol 230 GraphicUsed by:234
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClipUses:231Used by:234
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClipUses:229 230 232 233Used by:238
Symbol 235 FontUsed by:236
Symbol 236 EditableTextUses:235 783Used by:238
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClip {ParkMyBigRig2_fla.AGteaser_mc_20}Uses:173 178 184 186 187 227 234 236 237Used by:Timeline
Symbol 239 GraphicUsed by:261
Symbol 240 TextUses:137Used by:261
Symbol 241 GraphicUsed by:261
Symbol 242 GraphicUsed by:261
Symbol 243 ShapeTweeningUsed by:261
Symbol 244 FontUsed by:245
Symbol 245 TextUses:244Used by:261
Symbol 246 GraphicUsed by:261
Symbol 247 GraphicUsed by:261
Symbol 248 GraphicUsed by:261
Symbol 249 GraphicUsed by:261
Symbol 250 GraphicUsed by:261
Symbol 251 GraphicUsed by:261
Symbol 252 GraphicUsed by:261
Symbol 253 GraphicUsed by:261
Symbol 254 GraphicUsed by:261
Symbol 255 GraphicUsed by:261
Symbol 256 GraphicUsed by:261
Symbol 257 GraphicUsed by:261
Symbol 258 GraphicUsed by:261
Symbol 259 GraphicUsed by:261
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClip {ParkMyBigRig2_fla.INSTRUCTIONSCREEN_34}Uses:122 131 239 240 241 242 243 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260Used by:Timeline
Symbol 262 TextUses:137Used by:264
Symbol 263 TextUses:137Used by:264
Symbol 264 ButtonUses:136 262 263 135Used by:Timeline
Symbol 265 GraphicUsed by:269
Symbol 266 BitmapUsed by:267
Symbol 267 GraphicUses:266Used by:268
Symbol 268 MovieClipUses:267Used by:269
Symbol 269 MovieClipUses:265 268Used by:316 420 425 431 437
Symbol 270 GraphicUsed by:316 420 425 431 437 498 534 541 557 577 615 628 635 643 655 685 696 702 713 722 729 733 742 753 758
Symbol 271 GraphicUsed by:316
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:272Used by:277
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274Used by:277
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClipUses:273 275 276Used by:316 431 437
Symbol 278 GraphicUsed by:279 314
Symbol 279 MovieClipUses:278Used by:283
Symbol 280 GraphicUsed by:283 315
Symbol 281 FontUsed by:282 398 399 400 405 409
Symbol 282 TextUses:281Used by:283 315
Symbol 283 MovieClipUses:279 280 282Used by:316 431 577
Symbol 284 GraphicUsed by:287
Symbol 285 GraphicUsed by:287
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClipUses:284 55 285 106 286 109Used by:316
Symbol 288 GraphicUsed by:309
Symbol 289 GraphicUsed by:309 419 424 430 436
Symbol 290 GraphicUsed by:309 419 424 430 436
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClipUses:291Used by:309
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:293Used by:309 419 424 430 436
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:295Used by:309
Symbol 297 GraphicUsed by:298
Symbol 298 MovieClipUses:297Used by:309
Symbol 299 GraphicUsed by:300
Symbol 300 MovieClipUses:299Used by:309 419 424 430 436
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClipUses:301Used by:309 419 424 430 436
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClipUses:303Used by:309 419 424 430 436
Symbol 305 GraphicUsed by:309
Symbol 306 GraphicUsed by:309
Symbol 307 GraphicUsed by:308
Symbol 308 MovieClipUses:307Used by:309 419 424 430 436
Symbol 309 MovieClipUses:288 289 290 292 294 296 298 300 302 304 305 306 308Used by:316
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClipUses:310Used by:315
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:312Used by:315
Symbol 314 MovieClipUses:278Used by:315
Symbol 315 MovieClipUses:311 280 282 313 314Used by:316 420 425 431 437 498 534 541 557 577 615 628 635 643 655 685 696 702 713 722 729 733 742 753 758
Symbol 316 MovieClipUses:269 270 271 277 283 287 309 315Used by:Timeline
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClipUses:317Used by:319 438
Symbol 319 MovieClipUses:318Used by:Timeline
Symbol 320 TextUses:137Used by:321
Symbol 321 MovieClipUses:320Used by:338
Symbol 322 TextUses:137Used by:338 347
Symbol 323 TextUses:137Used by:338
Symbol 324 TextUses:137Used by:338 347
Symbol 325 TextUses:137Used by:338 347
Symbol 326 TextUses:137Used by:338
Symbol 327 TextUses:137Used by:338
Symbol 328 TextUses:137Used by:338
Symbol 329 TextUses:137Used by:338 347
Symbol 330 TextUses:137Used by:338
Symbol 331 TextUses:137Used by:338 347
Symbol 332 TextUses:137Used by:338
Symbol 333 TextUses:137Used by:338
Symbol 334 TextUses:137Used by:338 347
Symbol 335 TextUses:137Used by:338 347
Symbol 336 TextUses:137Used by:338
Symbol 337 TextUses:137Used by:338 347
Symbol 338 MovieClip {ParkMyBigRig2_fla.CONGRATSscroler_62}Uses:136 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337Used by:Timeline
Symbol 339 TextUses:137Used by:340
Symbol 340 MovieClipUses:339Used by:347
Symbol 341 TextUses:137Used by:347
Symbol 342 TextUses:137Used by:347
Symbol 343 TextUses:137Used by:347
Symbol 344 TextUses:137Used by:347
Symbol 345 TextUses:137Used by:347
Symbol 346 TextUses:137Used by:347
Symbol 347 MovieClip {ParkMyBigRig2_fla.CRASHEDANIMATION_64}Uses:136 340 341 342 343 322 324 325 329 334 331 335 337 344 345 346Used by:Timeline
Symbol 348 MovieClipUses:135Used by:381
Symbol 349 GraphicUsed by:358
Symbol 350 TextUses:137Used by:358 381
Symbol 351 TextUses:137Used by:358 381
Symbol 352 TextUses:137Used by:358 381
Symbol 353 TextUses:137Used by:358 381
Symbol 354 TextUses:137Used by:358 381
Symbol 355 TextUses:137Used by:358 381
Symbol 356 TextUses:137Used by:358 381
Symbol 357 TextUses:137Used by:358 381
Symbol 358 MovieClipUses:349 350 351 352 353 354 355 356 357Used by:381
Symbol 359 GraphicUsed by:381
Symbol 360 TextUses:137Used by:381
Symbol 361 GraphicUsed by:381
Symbol 362 TextUses:137Used by:381
Symbol 363 GraphicUsed by:381
Symbol 364 TextUses:137Used by:381
Symbol 365 GraphicUsed by:381
Symbol 366 TextUses:137Used by:381
Symbol 367 GraphicUsed by:381
Symbol 368 GraphicUsed by:381
Symbol 369 GraphicUsed by:381
Symbol 370 TextUses:137Used by:381
Symbol 371 GraphicUsed by:381
Symbol 372 TextUses:137Used by:381
Symbol 373 GraphicUsed by:381
Symbol 374 TextUses:137Used by:381
Symbol 375 GraphicUsed by:381
Symbol 376 TextUses:137Used by:381
Symbol 377 GraphicUsed by:381
Symbol 378 TextUses:137Used by:381
Symbol 379 GraphicUsed by:381
Symbol 380 GraphicUsed by:381
Symbol 381 MovieClip {ParkMyBigRig2_fla.TIMEELAPSEDANIMATION45_66}Uses:348 358 359 350 351 352 353 354 355 356 360 361 362 357 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380Used by:Timeline
Symbol 382 BitmapUsed by:383
Symbol 383 GraphicUses:382Used by:384
Symbol 384 MovieClipUses:383Used by:389
Symbol 385 GraphicUsed by:389
Symbol 386 GraphicUsed by:389
Symbol 387 FontUsed by:388 390
Symbol 388 EditableTextUses:387Used by:389
Symbol 389 MovieClipUses:384 385 386 388Used by:391
Symbol 390 TextUses:387Used by:391
Symbol 391 MovieClip {ParkMyBigRig2_fla.trainingpopup_69}Uses:389 390Used by:Timeline
Symbol 392 GraphicUsed by:406
Symbol 393 GraphicUsed by:396
Symbol 394 GraphicUsed by:396
Symbol 395 GraphicUsed by:396
Symbol 396 MovieClip {ParkMyBigRig2_fla.buttonGraphicsQuality_73}Uses:393 394 395Used by:406
Symbol 397 GraphicUsed by:406
Symbol 398 TextUses:281Used by:406
Symbol 399 TextUses:281Used by:406
Symbol 400 TextUses:281Used by:406
Symbol 401 GraphicUsed by:402
Symbol 402 MovieClipUses:401Used by:406
Symbol 403 GraphicUsed by:404
Symbol 404 MovieClipUses:403Used by:406
Symbol 405 TextUses:281Used by:406
Symbol 406 MovieClip {ParkMyBigRig2_fla.HUB_72}Uses:392 396 397 398 399 400 402 404 405Used by:Timeline
Symbol 407 FontUsed by:408
Symbol 408 EditableTextUses:407Used by:Timeline
Symbol 409 EditableTextUses:281Used by:Timeline
Symbol 410 GraphicUsed by:420
Symbol 411 GraphicUsed by:419
Symbol 412 GraphicUsed by:413
Symbol 413 MovieClipUses:412Used by:419 424 430 436
Symbol 414 GraphicUsed by:419 430 436
Symbol 415 GraphicUsed by:416 513 739 757
Symbol 416 MovieClipUses:415Used by:419 424 430 571 627 652 751
Symbol 417 GraphicUsed by:419
Symbol 418 GraphicUsed by:419
Symbol 419 MovieClipUses:411 290 289 413 414 294 416 302 304 300 417 418 308Used by:420
Symbol 420 MovieClipUses:269 270 410 419 315Used by:Timeline
Symbol 421 GraphicUsed by:424
Symbol 422 GraphicUsed by:424
Symbol 423 GraphicUsed by:424
Symbol 424 MovieClipUses:421 290 289 413 294 302 304 300 416 422 423 308Used by:425
Symbol 425 MovieClipUses:269 270 424 315Used by:Timeline
Symbol 426 GraphicUsed by:431
Symbol 427 GraphicUsed by:430
Symbol 428 GraphicUsed by:430
Symbol 429 GraphicUsed by:430
Symbol 430 MovieClipUses:427 289 414 290 413 294 304 300 416 302 428 429 308Used by:431
Symbol 431 MovieClipUses:269 270 426 277 283 116 430 315Used by:Timeline
Symbol 432 GraphicUsed by:437 534 541 577 615 635 643 655 696 713 722 733 753 758
Symbol 433 GraphicUsed by:436
Symbol 434 GraphicUsed by:436
Symbol 435 GraphicUsed by:436
Symbol 436 MovieClipUses:433 289 290 413 294 414 302 300 304 434 435 308Used by:437
Symbol 437 MovieClipUses:269 432 270 436 277 315Used by:Timeline
Symbol 438 MovieClipUses:318Used by:Timeline
Symbol 439 GraphicUsed by:443
Symbol 440 BitmapUsed by:441
Symbol 441 GraphicUses:440Used by:442
Symbol 442 MovieClipUses:441Used by:443 585 658
Symbol 443 MovieClipUses:439 442Used by:498 534 541 557 577 655 729 742 753 758
Symbol 444 GraphicUsed by:445
Symbol 445 MovieClipUses:444Used by:498 541 557 577 615 628 635 643 655 729 733
Symbol 446 GraphicUsed by:498
Symbol 447 GraphicUsed by:498 534 541 557 577 615 628 635 643 655 729 733 742 758
Symbol 448 GraphicUsed by:472
Symbol 449 GraphicUsed by:472
Symbol 450 GraphicUsed by:472 513 538 554 571 652 726 739 751 757
Symbol 451 GraphicUsed by:472 513 538 554 571 652 726 739 757
Symbol 452 GraphicUsed by:472 513 538 554 571 652 726 739 751 757
Symbol 453 GraphicUsed by:472 513 538 554 571 652 726 739 751 757
Symbol 454 GraphicUsed by:472
Symbol 455 GraphicUsed by:472 513 538 554 571 605 627 634 652 726 742 751 757
Symbol 456 GraphicUsed by:472 513 538 554 571 605 627 634 639 652 726 732 739 742 751 757
Symbol 457 GraphicUsed by:472 513 538 554 571 605 627 634 639 652 726 732 739 742 751 757
Symbol 458 GraphicUsed by:472 513 571 652 757
Symbol 459 GraphicUsed by:472 513 571 652 757
Symbol 460 GraphicUsed by:472 534 541 557 577 655 729 742 753 758
Symbol 461 GraphicUsed by:472 534 541 557 577 655 729 742 753 758
Symbol 462 GraphicUsed by:472 534 541 557 577 655 729 742 753 758
Symbol 463 GraphicUsed by:472 534 541 557 577 655 729 742 753 758
Symbol 464 GraphicUsed by:472
Symbol 465 GraphicUsed by:472 534 541 557 577 655 729 742 758
Symbol 466 GraphicUsed by:472 534 541 557 577 655 729 742 758
Symbol 467 GraphicUsed by:468
Symbol 468 MovieClipUses:467Used by:472 513 538 554 571 605 628 634 639 652 726 732 739 753 757
Symbol 469 GraphicUsed by:470
Symbol 470 MovieClipUses:469Used by:472 534 571 742 751
Symbol 471 GraphicUsed by:472
Symbol 472 MovieClipUses:448 449 450 451 452 453 454 455 456 457 458 106 459 460 461 462 463 464 465 466 468 470 471Used by:498
Symbol 473 GraphicUsed by:498 534 541 557 578 655 729 742 758
Symbol 474 GraphicUsed by:498 534 541 554 577 628 634 639 652 655 729 742 751 753
Symbol 475 GraphicUsed by:498 534 541 554 577 628 634 639 652 655 729 742 751 753
Symbol 476 GraphicUsed by:497 556 571 652 757
Symbol 477 GraphicUsed by:497 556 571 652 751 757
Symbol 478 GraphicUsed by:497 556 571 652 757
Symbol 479 GraphicUsed by:497 556 571 652 757
Symbol 480 GraphicUsed by:497 556 571 652 757
Symbol 481 GraphicUsed by:482
Symbol 482 MovieClipUses:481Used by:497 520 556 576 652
Symbol 483 GraphicUsed by:484
Symbol 484 MovieClipUses:483Used by:497 520 556 576 652
Symbol 485 GraphicUsed by:486
Symbol 486 MovieClipUses:485Used by:497 520 556 576 652
Symbol 487 GraphicUsed by:488
Symbol 488 MovieClipUses:487Used by:497 520 556 576
Symbol 489 GraphicUsed by:490
Symbol 490 MovieClipUses:489Used by:497 520 556 576
Symbol 491 GraphicUsed by:492
Symbol 492 MovieClipUses:491Used by:497 520 556 576
Symbol 493 GraphicUsed by:494
Symbol 494 MovieClipUses:493Used by:497 520 556 576
Symbol 495 GraphicUsed by:496
Symbol 496 MovieClipUses:495Used by:497 520 556 576
Symbol 497 MovieClipUses:476 477 478 479 480 482 484 486 488 490 492 494 496Used by:498
Symbol 498 MovieClipUses:443 445 270 446 447 472 473 315 474 475 497Used by:Timeline
Symbol 499 GraphicUsed by:503 754
Symbol 500 BitmapUsed by:501
Symbol 501 GraphicUses:500Used by:503 754
Symbol 502 GraphicUsed by:503 754
Symbol 503 MovieClipUses:499 501 502Used by:Timeline
Symbol 504 GraphicUsed by:534
Symbol 505 GraphicUsed by:513
Symbol 506 GraphicUsed by:513
Symbol 507 GraphicUsed by:513
Symbol 508 GraphicUsed by:513
Symbol 509 GraphicUsed by:513 634 639
Symbol 510 GraphicUsed by:513 634 642
Symbol 511 GraphicUsed by:513
Symbol 512 GraphicUsed by:513 538 571 726 739
Symbol 513 MovieClipUses:505 451 455 456 457 458 106 459 506 507 508 509 510 468 415 511 450 452 453 512Used by:534
Symbol 514 GraphicUsed by:520
Symbol 515 GraphicUsed by:520
Symbol 516 GraphicUsed by:520
Symbol 517 GraphicUsed by:520
Symbol 518 GraphicUsed by:520
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:514 62 515 64 516 66 517 518 519 111 482 484 486 488 490 492 494 496Used by:534
Symbol 521 BitmapUsed by:522
Symbol 522 GraphicUses:521Used by:523
Symbol 523 MovieClipUses:522Used by:534 541 557 577 655 729 742 753 758
Symbol 524 GraphicUsed by:534 541 557 655 742 753 758
Symbol 525 GraphicUsed by:534 541 557 655 742 753 758
Symbol 526 GraphicUsed by:534 541 557 655 742 753 758
Symbol 527 GraphicUsed by:534 541 557 655 742 753 758
Symbol 528 GraphicUsed by:534 541 557 655 742 753 758
Symbol 529 GraphicUsed by:534 541 557 655 742 753 758
Symbol 530 GraphicUsed by:534 541 557 655 742 753 758
Symbol 531 GraphicUsed by:534 541 557 655 742 753 758
Symbol 532 GraphicUsed by:534
Symbol 533 GraphicUsed by:534
Symbol 534 MovieClipUses:443 470 270 432 504 447 513 315 520 523 524 525 526 527 528 529 530 531 473 460 461 462 532 463 474 475 465 466 533Used by:Timeline
Symbol 535 GraphicUsed by:541
Symbol 536 GraphicUsed by:538
Symbol 537 GraphicUsed by:538
Symbol 538 MovieClipUses:536 455 456 457 468 537 450 452 453 451 512Used by:541
Symbol 539 GraphicUsed by:541
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClipUses:443 270 432 535 538 315 474 475 445 447 523 473 524 525 526 527 528 529 530 531 460 461 462 463 465 466 539 540Used by:Timeline
Symbol 542 GraphicUsed by:543
Symbol 543 MovieClipUses:542Used by:Timeline
Symbol 544 GraphicUsed by:545
Symbol 545 MovieClipUses:544Used by:Timeline
Symbol 546 GraphicUsed by:547
Symbol 547 MovieClipUses:546Used by:Timeline
Symbol 548 GraphicUsed by:557 655
Symbol 549 GraphicUsed by:557
Symbol 550 GraphicUsed by:554
Symbol 551 GraphicUsed by:554
Symbol 552 GraphicUsed by:554
Symbol 553 GraphicUsed by:554 571 652 726
Symbol 554 MovieClipUses:550 450 551 552 451 452 453 455 456 457 553 468 104 474 475Used by:557
Symbol 555 GraphicUsed by:557
Symbol 556 MovieClipUses:476 477 478 479 480 482 484 486 488 490 492 494 496Used by:557
Symbol 557 MovieClipUses:548 443 270 549 447 554 473 524 525 526 527 528 529 530 531 523 315 460 461 462 463 555 556 445 465 466Used by:Timeline
Symbol 558 GraphicUsed by:559
Symbol 559 MovieClipUses:558Used by:Timeline
Symbol 560 GraphicUsed by:561
Symbol 561 MovieClipUses:560Used by:Timeline
Symbol 562 GraphicUsed by:563
Symbol 563 MovieClipUses:562Used by:Timeline
Symbol 564 GraphicUsed by:565
Symbol 565 MovieClipUses:564Used by:Timeline
Symbol 566 GraphicUsed by:567
Symbol 567 MovieClipUses:566Used by:Timeline
Symbol 568 GraphicUsed by:577
Symbol 569 GraphicUsed by:571
Symbol 570 GraphicUsed by:571
Symbol 571 MovieClipUses:569 468 416 452 453 450 470 570 512 451 456 457 476 477 478 479 480 458 106 459 455 553Used by:577
Symbol 572 GraphicUsed by:577
Symbol 573 GraphicUsed by:577
Symbol 574 GraphicUsed by:577
Symbol 575 GraphicUsed by:576
Symbol 576 MovieClipUses:575 482 484 486 488 490 492 494 496Used by:577
Symbol 577 MovieClipUses:443 432 270 568 447 571 315 474 475 463 572 465 466 445 573 523 460 461 462 574 283 576Used by:Timeline
Symbol 578 MovieClipUses:473Used by:Timeline
Symbol 579 BitmapUsed by:580
Symbol 580 GraphicUses:579Used by:581
Symbol 581 MovieClipUses:580Used by:582
Symbol 582 MovieClipUses:581Used by:Timeline
Symbol 583 GraphicUsed by:585
Symbol 584 MovieClipUsed by:585
Symbol 585 MovieClipUses:583 584 442Used by:615 628 635 643 655 729 733 742 753 758
Symbol 586 GraphicUsed by:615 733
Symbol 587 GraphicUsed by:615
Symbol 588 GraphicUsed by:589
Symbol 589 MovieClipUses:588Used by:605 732
Symbol 590 GraphicUsed by:591
Symbol 591 MovieClipUses:590Used by:605 627 635 639 640 641 652 684 695 701 703 712 726 732 739
Symbol 592 GraphicUsed by:605 627 634 639 652 726 732 739 751 757
Symbol 593 GraphicUsed by:605 627 634 639 652 726 732 739 751 757
Symbol 594 GraphicUsed by:605 627 634 639 652 732 739 751 757
Symbol 595 GraphicUsed by:596
Symbol 596 MovieClipUses:595Used by:604
Symbol 597 MovieClipUses:35Used by:603
Symbol 598 GraphicUsed by:599
Symbol 599 MovieClipUses:598Used by:603
Symbol 600 GraphicUsed by:602
Symbol 601 GraphicUsed by:602
Symbol 602 MovieClipUses:39 40 600 42 43 44 45 46 601 48 49 50Used by:603
Symbol 603 MovieClipUses:597 599 602Used by:604
Symbol 604 MovieClip {ParkMyBigRig2_fla.crasheddoubleTrailer_147}Uses:596 603Used by:605
Symbol 605 MovieClipUses:589 591 457 592 593 594 456 468 604 455Used by:615
Symbol 606 GraphicUsed by:607
Symbol 607 MovieClipUses:606Used by:615 628 635 643 655 729 733 742 753 758
Symbol 608 GraphicUsed by:609
Symbol 609 MovieClipUses:608Used by:615 627 635 643 655 729 732 733 753 758
Symbol 610 GraphicUsed by:611
Symbol 611 MovieClipUses:610Used by:615 628 635 643 655 729 733 742 753 758
Symbol 612 GraphicUsed by:615 627 634 639 643 655 729 733 739 751 758
Symbol 613 GraphicUsed by:614
Symbol 614 MovieClipUses:613Used by:615 628 635 643 655 729 733 742 753 758
Symbol 615 MovieClipUses:585 586 447 587 605 607 609 611 612 614 445 270 432 315Used by:Timeline
Symbol 616 GraphicUsed by:617 628 636 644 656 730 734 743 758 759
Symbol 617 MovieClipUses:616Used by:Timeline
Symbol 618 GraphicUsed by:628
Symbol 619 GraphicUsed by:628
Symbol 620 GraphicUsed by:628
Symbol 621 GraphicUsed by:628
Symbol 622 GraphicUsed by:627
Symbol 623 GraphicUsed by:627
Symbol 624 GraphicUsed by:627
Symbol 625 GraphicUsed by:627
Symbol 626 GraphicUsed by:627
Symbol 627 MovieClipUses:622 592 594 593 416 623 624 625 455 456 457 93 626 591 609 612Used by:628
Symbol 628 MovieClipUses:618 585 270 619 447 445 468 620 621 607 611 614 474 475 627 616 315Used by:Timeline
Symbol 629 GraphicUsed by:635
Symbol 630 GraphicUsed by:635
Symbol 631 GraphicUsed by:634 639 739 751 757
Symbol 632 GraphicUsed by:634 639 739 751 757
Symbol 633 GraphicUsed by:634 639 739 751 757
Symbol 634 MovieClipUses:474 475 455 456 457 468 594 592 593 631 632 633 612 509 510Used by:635
Symbol 635 MovieClipUses:585 629 591 270 432 630 611 607 609 614 447 445 634 315Used by:Timeline
Symbol 636 MovieClipUses:616Used by:Timeline
Symbol 637 GraphicUsed by:643
Symbol 638 GraphicUsed by:643
Symbol 639 MovieClipUses:591 509 631 632 633 474 475 457 592 593 594 456 468 612Used by:643
Symbol 640 MovieClipUses:591Used by:643
Symbol 641 MovieClip {ParkMyBigRig2_fla.moving7_173}Uses:591Used by:643
Symbol 642 MovieClipUses:510Used by:643
Symbol 643 MovieClipUses:585 445 637 270 432 638 447 639 607 609 611 614 612 640 641 642 315Used by:Timeline
Symbol 644 MovieClipUses:616Used by:Timeline
Symbol 645 GraphicUsed by:655
Symbol 646 GraphicUsed by:655
Symbol 647 MovieClipUsed by:655 729 742 758
Symbol 648 GraphicUsed by:655
Symbol 649 GraphicUsed by:652
Symbol 650 GraphicUsed by:652
Symbol 651 GraphicUsed by:652
Symbol 652 MovieClipUses:649 650 450 651 451 452 453 455 456 553 476 477 478 479 480 458 106 459 468 416 592 457 593 594 591 482 484 486 474 475Used by:655
Symbol 653 GraphicUsed by:655
Symbol 654 GraphicUsed by:655
Symbol 655 MovieClipUses:548 443 585 614 607 609 612 645 315 646 465 466 474 475 647 447 648 270 432 652 524 525 526 527 528 529 530 531 523 460 461 462 463 653 611 654 473 445Used by:Timeline
Symbol 656 MovieClipUses:616Used by:Timeline
Symbol 657 GraphicUsed by:658 753
Symbol 658 MovieClipUses:657 442Used by:685 696 702 713 722
Symbol 659 GraphicUsed by:685
Symbol 660 GraphicUsed by:684
Symbol 661 GraphicUsed by:662
Symbol 662 MovieClipUses:661Used by:684 695 701 712 720
Symbol 663 GraphicUsed by:684
Symbol 664 GraphicUsed by:665
Symbol 665 MovieClipUses:664Used by:684 695 701 712 720
Symbol 666 GraphicUsed by:684 695 712
Symbol 667 GraphicUsed by:684 695 701 712 713 720 722
Symbol 668 GraphicUsed by:684 695 701 712 713 720 722
Symbol 669 GraphicUsed by:684 701
Symbol 670 GraphicUsed by:671
Symbol 671 MovieClipUses:670Used by:684 695 701 712
Symbol 672 GraphicUsed by:684 695 701 712 720 722
Symbol 673 GraphicUsed by:684 695 701 712 713 720 722
Symbol 674 GraphicUsed by:684 695 701 712 713 720 722
Symbol 675 GraphicUsed by:684 695 701 712 713 720
Symbol 676 GraphicUsed by:684
Symbol 677 GraphicUsed by:684 695 701 712 720
Symbol 678 GraphicUsed by:679
Symbol 679 MovieClipUses:678Used by:684 695 701 712 720
Symbol 680 GraphicUsed by:684 695 701 712 720
Symbol 681 GraphicUsed by:684 695 701 712 720
Symbol 682 GraphicUsed by:684 695 701 712 720
Symbol 683 GraphicUsed by:684
Symbol 684 MovieClipUses:660 662 663 665 666 591 667 668 669 671 672 673 674 675 676 677 679 680 681 682 683Used by:685
Symbol 685 MovieClipUses:658 659 684 270 315Used by:Timeline
Symbol 686 GraphicUsed by:687
Symbol 687 MovieClipUses:686Used by:Timeline
Symbol 688 GraphicUsed by:696
Symbol 689 GraphicUsed by:695
Symbol 690 GraphicUsed by:695
Symbol 691 GraphicUsed by:695 712
Symbol 692 GraphicUsed by:695
Symbol 693 GraphicUsed by:695
Symbol 694 GraphicUsed by:695
Symbol 695 MovieClipUses:689 673 668 677 681 682 675 662 690 591 691 674 667 666 672 671 665 692 679 693 680 694Used by:696
Symbol 696 MovieClipUses:658 688 695 270 432 315Used by:Timeline
Symbol 697 GraphicUsed by:702
Symbol 698 GraphicUsed by:701
Symbol 699 GraphicUsed by:701
Symbol 700 GraphicUsed by:701
Symbol 701 MovieClipUses:698 679 680 677 675 662 699 665 681 591 674 668 667 669 671 672 682 673 700Used by:702
Symbol 702 MovieClipUses:658 697 701 270 315Used by:Timeline
Symbol 703 MovieClipUses:591Used by:713 722
Symbol 704 GraphicUsed by:713
Symbol 705 GraphicUsed by:712
Symbol 706 GraphicUsed by:712
Symbol 707 GraphicUsed by:712
Symbol 708 GraphicUsed by:712
Symbol 709 GraphicUsed by:712
Symbol 710 GraphicUsed by:712
Symbol 711 GraphicUsed by:712
Symbol 712 MovieClipUses:705 673 668 681 675 662 706 677 591 691 674 667 666 672 671 682 707 665 679 708 680 709 710 711Used by:713
Symbol 713 MovieClipUses:658 703 704 712 675 674 668 673 667 315 432 270Used by:Timeline
Symbol 714 GraphicUsed by:722
Symbol 715 GraphicUsed by:720
Symbol 716 GraphicUsed by:720
Symbol 717 GraphicUsed by:720
Symbol 718 GraphicUsed by:720
Symbol 719 GraphicUsed by:720
Symbol 720 MovieClipUses:662 715 667 668 716 672 673 674 717 682 677 679 681 675 680 718 665 719Used by:722
Symbol 721 GraphicUsed by:722
Symbol 722 MovieClipUses:658 714 703 720 721 270 432 315 667 668 674 672 673Used by:Timeline
Symbol 723 GraphicUsed by:729
Symbol 724 GraphicUsed by:726
Symbol 725 GraphicUsed by:726
Symbol 726 MovieClipUses:724 725 450 452 453 451 512 592 593 468 591 455 553 457 456Used by:729
Symbol 727 GraphicUsed by:729
Symbol 728 GraphicUsed by:729
Symbol 729 MovieClipUses:443 585 723 726 474 475 445 447 614 612 607 609 611 727 523 473 460 461 462 463 465 466 728 647 315 270Used by:Timeline
Symbol 730 MovieClipUses:616Used by:Timeline
Symbol 731 GraphicUsed by:733
Symbol 732 MovieClipUses:589 591 457 592 593 594 456 468 82 609Used by:733
Symbol 733 MovieClipUses:585 586 447 731 732 607 609 611 612 614 445 270 432 315Used by:Timeline
Symbol 734 MovieClipUses:616Used by:Timeline
Symbol 735 GraphicUsed by:742
Symbol 736 GraphicUsed by:742
Symbol 737 GraphicUsed by:739
Symbol 738 GraphicUsed by:739
Symbol 739 MovieClipUses:737 451 738 450 452 453 512 612 591 468 457 592 593 594 456 631 632 633 415Used by:742
Symbol 740 GraphicUsed by:742
Symbol 741 GraphicUsed by:742
Symbol 742 MovieClipUses:443 470 585 735 447 455 456 457 736 739 315 524 525 526 527 528 529 530 531 740 523 473 460 461 462 741 465 466 463 474 475 611 614 607 647 270Used by:Timeline
Symbol 743 MovieClipUses:616Used by:Timeline
Symbol 744 GraphicUsed by:753
Symbol 745 GraphicUsed by:751
Symbol 746 GraphicUsed by:751
Symbol 747 GraphicUsed by:751
Symbol 748 GraphicUsed by:751
Symbol 749 GraphicUsed by:751
Symbol 750 GraphicUsed by:751
Symbol 751 MovieClipUses:745 746 450 453 452 474 475 456 457 592 593 594 631 632 633 455 612 470 416 747 477 748 749 750Used by:753
Symbol 752 GraphicUsed by:753
Symbol 753 MovieClipUses:657 443 468 585 270 432 744 751 315 614 607 611 524 525 526 527 528 529 530 531 609 752 460 461 462 474 475 523 463Used by:Timeline
Symbol 754 MovieClipUses:499 501 502Used by:Timeline
Symbol 755 GraphicUsed by:758
Symbol 756 GraphicUsed by:757
Symbol 757 MovieClipUses:457 468 592 594 456 631 632 633 593 458 106 459 476 477 478 479 480 453 455 415 756 452 451 450Used by:758
Symbol 758 MovieClipUses:585 443 755 447 647 757 607 609 616 612 614 611 460 461 462 523 524 525 526 527 528 529 530 531 463 465 466 473 315 270 432Used by:Timeline
Symbol 759 MovieClipUses:616Used by:760
Symbol 760 MovieClipUses:759Used by:Timeline
Symbol 761 GraphicUsed by:Timeline
Symbol 762 FontUsed by:763 764 765 766 768 769 770 771 779 780 784 786 788 791 793 796 798 801 803 814 815
Symbol 763 TextUses:762Used by:767
Symbol 764 TextUses:762Used by:767
Symbol 765 TextUses:762Used by:767
Symbol 766 TextUses:762Used by:767
Symbol 767 MovieClipUses:763 764 765 766Used by:773
Symbol 768 TextUses:762Used by:772
Symbol 769 TextUses:762Used by:772
Symbol 770 TextUses:762Used by:772
Symbol 771 TextUses:762Used by:772
Symbol 772 MovieClipUses:768 769 770 771Used by:773
Symbol 773 MovieClip {ParkMyBigRig2_fla.GAMEOVER_216}Uses:767 772Used by:774
Symbol 774 MovieClip {ParkMyBigRig2_fla.GAMEOVERSCREEN_215}Uses:122 773Used by:Timeline
Symbol 775 TextUses:137Used by:777
Symbol 776 TextUses:137Used by:777
Symbol 777 ButtonUses:136 775 776 135Used by:Timeline
Symbol 778 GraphicUsed by:781
Symbol 779 EditableTextUses:762Used by:781
Symbol 780 EditableTextUses:762Used by:781
Symbol 781 MovieClip {ParkMyBigRig2_fla.mm_221}Uses:778 779 780Used by:782
Symbol 782 MovieClip {ParkMyBigRig2_fla.bg_220}Uses:781Used by:Timeline
Symbol 783 FontUsed by:236 784 786 791 801 814
Symbol 784 TextUses:762 783Used by:785
Symbol 785 MovieClipUses:784Used by:806
Symbol 786 TextUses:762 783Used by:787
Symbol 787 MovieClipUses:786Used by:790
Symbol 788 TextUses:762Used by:789
Symbol 789 MovieClipUses:788Used by:790
Symbol 790 MovieClip {ParkMyBigRig2_fla.GAMEWON_224}Uses:787 789Used by:806
Symbol 791 TextUses:762 783Used by:792
Symbol 792 MovieClipUses:791Used by:795
Symbol 793 TextUses:762Used by:794
Symbol 794 MovieClipUses:793Used by:795
Symbol 795 MovieClip {ParkMyBigRig2_fla.Game_goodjob_1_227}Uses:792 794Used by:806
Symbol 796 TextUses:762Used by:797
Symbol 797 MovieClipUses:796Used by:800
Symbol 798 TextUses:762Used by:799
Symbol 799 MovieClipUses:798Used by:800
Symbol 800 MovieClip {ParkMyBigRig2_fla.Game_goodjob_1asd_230}Uses:797 799Used by:806
Symbol 801 TextUses:762 783Used by:802
Symbol 802 MovieClipUses:801Used by:805
Symbol 803 TextUses:762Used by:804
Symbol 804 MovieClipUses:803Used by:805
Symbol 805 MovieClip {ParkMyBigRig2_fla.Game_goodjob_df_233}Uses:802 804Used by:806
Symbol 806 MovieClip {ParkMyBigRig2_fla.GAMEWONSCREEN_222}Uses:122 131 785 790 795 800 805Used by:Timeline
Symbol 807 TextUses:137Used by:809
Symbol 808 TextUses:137Used by:809
Symbol 809 ButtonUses:136 807 808 135Used by:Timeline
Symbol 810 MovieClipUses:122 131Used by:Timeline
Symbol 811 TextUses:137Used by:813
Symbol 812 TextUses:137Used by:813
Symbol 813 ButtonUses:136 811 812 135Used by:Timeline
Symbol 814 TextUses:762 783Used by:Timeline
Symbol 815 TextUses:762Used by:816
Symbol 816 MovieClipUses:815Used by:Timeline

Instance Names

"btnInstructions"Frame 1Symbol 140 Button
"btnPMBR1"Frame 1Symbol 142 Button
"btnPlay"Frame 1Symbol 144 Button
"btniParkIt2"Frame 1Symbol 149 Button
"btnMute"Frame 1Symbol 157 MovieClip {ParkMyBigRig2_fla.muteButton_15}
"agButton_btn"Frame 1Symbol 172 Button
"teaser"Frame 1Symbol 238 MovieClip {ParkMyBigRig2_fla.AGteaser_mc_20}
"btnBack"Frame 2Symbol 264 Button
"playGround"Frame 3Symbol 316 MovieClip
"topObject"Frame 3Symbol 319 MovieClip
"congratsMsg"Frame 3Symbol 338 MovieClip {ParkMyBigRig2_fla.CONGRATSscroler_62}
"crashedMsg"Frame 3Symbol 347 MovieClip {ParkMyBigRig2_fla.CRASHEDANIMATION_64}
"timeElapsedMsg"Frame 3Symbol 381 MovieClip {ParkMyBigRig2_fla.TIMEELAPSEDANIMATION45_66}
"training"Frame 3Symbol 391 MovieClip {ParkMyBigRig2_fla.trainingpopup_69}
"statusBar"Frame 3Symbol 406 MovieClip {ParkMyBigRig2_fla.HUB_72}
"txtTimeLeft"Frame 3Symbol 408 EditableText
"txtLevel"Frame 3Symbol 409 EditableText
"playGround"Frame 4Symbol 420 MovieClip
"playGround"Frame 5Symbol 425 MovieClip
"playGround"Frame 6Symbol 431 MovieClip
"topObject"Frame 6Symbol 319 MovieClip
"playGround"Frame 7Symbol 437 MovieClip
"playGround"Frame 8Symbol 498 MovieClip
"topObject"Frame 8Symbol 503 MovieClip
"playGround"Frame 9Symbol 534 MovieClip
"playGround"Frame 10Symbol 541 MovieClip
"night"Frame 10Symbol 543 MovieClip
"playMask"Frame 10Symbol 541 MovieClip
"maskLayer"Frame 10Symbol 545 MovieClip
"lightArea"Frame 10Symbol 547 MovieClip
"playGround"Frame 11Symbol 557 MovieClip
"night"Frame 11Symbol 559 MovieClip
"playMask"Frame 11Symbol 557 MovieClip
"lightArea"Frame 11Symbol 561 MovieClip
"maskLayer"Frame 11Symbol 563 MovieClip
"maskLayer1"Frame 11Symbol 565 MovieClip
"lightArea1"Frame 11Symbol 567 MovieClip
"playGround"Frame 12Symbol 577 MovieClip
"topObject"Frame 12Symbol 578 MovieClip
"playGround"Frame 13Symbol 615 MovieClip
"topObject"Frame 13Symbol 617 MovieClip
"playGround"Frame 14Symbol 628 MovieClip
"playGround"Frame 15Symbol 635 MovieClip
"topObject"Frame 15Symbol 636 MovieClip
"playGround"Frame 16Symbol 643 MovieClip
"topObject"Frame 16Symbol 644 MovieClip
"playGround"Frame 17Symbol 655 MovieClip
"topObject"Frame 17Symbol 656 MovieClip
"playGround"Frame 18Symbol 685 MovieClip
"night"Frame 18Symbol 687 MovieClip
"playMask"Frame 18Symbol 685 MovieClip
"lightArea"Frame 18Symbol 561 MovieClip
"maskLayer"Frame 18Symbol 563 MovieClip
"playGround"Frame 19Symbol 696 MovieClip
"playGround"Frame 20Symbol 702 MovieClip
"playGround"Frame 21Symbol 713 MovieClip
"playGround"Frame 22Symbol 722 MovieClip
"playGround"Frame 23Symbol 729 MovieClip
"topObject"Frame 23Symbol 730 MovieClip
"playGround"Frame 24Symbol 733 MovieClip
"topObject"Frame 24Symbol 734 MovieClip
"playGround"Frame 25Symbol 742 MovieClip
"topObject"Frame 25Symbol 743 MovieClip
"playGround"Frame 26Symbol 753 MovieClip
"topObject"Frame 26Symbol 754 MovieClip
"playGround"Frame 27Symbol 758 MovieClip
"topObject"Frame 27Symbol 760 MovieClip
"gameOverScreen"Frame 28Symbol 774 MovieClip {ParkMyBigRig2_fla.GAMEOVERSCREEN_215}
"btnPlayAgain"Frame 28Symbol 777 Button
"scoreWindow1"Frame 28Symbol 782 MovieClip {ParkMyBigRig2_fla.bg_220}
"gameOverScreen"Frame 29Symbol 806 MovieClip {ParkMyBigRig2_fla.GAMEWONSCREEN_222}
"btnContinue"Frame 29Symbol 809 Button
"btnTryAgain"Frame 30Symbol 813 Button
"parkingPointML"Symbol 34 MovieClip Frame 1Symbol 30 MovieClip
"parkingPointMR"Symbol 34 MovieClip Frame 1Symbol 30 MovieClip
"parkingPointBL"Symbol 34 MovieClip Frame 1Symbol 30 MovieClip
"parkingPointBR"Symbol 34 MovieClip Frame 1Symbol 30 MovieClip
"wheel0"Symbol 34 MovieClip Frame 1Symbol 32 MovieClip
"wheel1"Symbol 34 MovieClip Frame 1Symbol 32 MovieClip
"parkingPointFL"Symbol 52 MovieClip Frame 1Symbol 30 MovieClip
"parkingPointFR"Symbol 52 MovieClip Frame 1Symbol 30 MovieClip
"wheel0"Symbol 52 MovieClip Frame 1Symbol 36 MovieClip
"wheel1"Symbol 52 MovieClip Frame 1Symbol 36 MovieClip
"rigFrontHitBody"Symbol 52 MovieClip Frame 1Symbol 38 MovieClip
"rightSmoke"Symbol 52 MovieClip Frame 1Symbol 51 MovieClip
"leftSmoke"Symbol 52 MovieClip Frame 1Symbol 51 MovieClip
"rigBack"Symbol 53 MovieClip {singleTrailer} Frame 1Symbol 34 MovieClip
"rigFront"Symbol 53 MovieClip {singleTrailer} Frame 1Symbol 52 MovieClip
"parkingPoint1"Symbol 71 MovieClip {fireTruck} Frame 1Symbol 30 MovieClip
"parkingPoint2"Symbol 71 MovieClip {fireTruck} Frame 1Symbol 30 MovieClip
"parkingPoint3"Symbol 71 MovieClip {fireTruck} Frame 1Symbol 30 MovieClip
"parkingPoint4"Symbol 71 MovieClip {fireTruck} Frame 1Symbol 30 MovieClip
"tire1"Symbol 71 MovieClip {fireTruck} Frame 1Symbol 55 MovieClip
"tire2"Symbol 71 MovieClip {fireTruck} Frame 1Symbol 55 MovieClip
"tire3"Symbol 71 MovieClip {fireTruck} Frame 1Symbol 55 MovieClip
"tire4"Symbol 71 MovieClip {fireTruck} Frame 1Symbol 55 MovieClip
"truckSmoke"Symbol 71 MovieClip {fireTruck} Frame 1Symbol 60 MovieClip {ParkMyBigRig2_fla.smoke_112}
"vehicleHitBody"Symbol 71 MovieClip {fireTruck} Frame 1Symbol 70 MovieClip
"wheel0"Symbol 74 MovieClip Frame 1Symbol 72 MovieClip
"wheel1"Symbol 74 MovieClip Frame 1Symbol 72 MovieClip
"wheel0"Symbol 78 MovieClip Frame 1Symbol 75 MovieClip
"wheel1"Symbol 78 MovieClip Frame 1Symbol 75 MovieClip
"rigFrontHitBody"Symbol 78 MovieClip Frame 1Symbol 77 MovieClip
"rightSmoke"Symbol 78 MovieClip Frame 1Symbol 51 MovieClip
"leftSmoke"Symbol 78 MovieClip Frame 1Symbol 51 MovieClip
"rigBack"Symbol 79 MovieClip {doubleTrailer} Frame 1Symbol 74 MovieClip
"rigFront"Symbol 79 MovieClip {doubleTrailer} Frame 1Symbol 78 MovieClip
"parkingPoint1"Symbol 82 MovieClip {boxVan} Frame 1Symbol 30 MovieClip
"parkingPoint2"Symbol 82 MovieClip {boxVan} Frame 1Symbol 30 MovieClip
"parkingPoint3"Symbol 82 MovieClip {boxVan} Frame 1Symbol 30 MovieClip
"parkingPoint4"Symbol 82 MovieClip {boxVan} Frame 1Symbol 30 MovieClip
"tire2"Symbol 82 MovieClip {boxVan} Frame 1Symbol 55 MovieClip
"tire1"Symbol 82 MovieClip {boxVan} Frame 1Symbol 55 MovieClip
"tire4"Symbol 82 MovieClip {boxVan} Frame 1Symbol 55 MovieClip
"tire3"Symbol 82 MovieClip {boxVan} Frame 1Symbol 55 MovieClip
"truckSmoke"Symbol 82 MovieClip {boxVan} Frame 1Symbol 60 MovieClip {ParkMyBigRig2_fla.smoke_112}
"vehicleHitBody"Symbol 82 MovieClip {boxVan} Frame 1Symbol 81 MovieClip
"parkingPointML"Symbol 88 MovieClip Frame 1Symbol 30 MovieClip
"parkingPointMR"Symbol 88 MovieClip Frame 1Symbol 30 MovieClip
"parkingPointBL"Symbol 88 MovieClip Frame 1Symbol 30 MovieClip
"parkingPointBR"Symbol 88 MovieClip Frame 1Symbol 30 MovieClip
"wheel0"Symbol 88 MovieClip Frame 1Symbol 83 MovieClip
"wheel1"Symbol 88 MovieClip Frame 1Symbol 83 MovieClip
"parkingPointFL"Symbol 92 MovieClip Frame 1Symbol 30 MovieClip
"parkingPointFR"Symbol 92 MovieClip Frame 1Symbol 30 MovieClip
"wheel0"Symbol 92 MovieClip Frame 1Symbol 89 MovieClip
"wheel1"Symbol 92 MovieClip Frame 1Symbol 89 MovieClip
"rigFrontHitBody"Symbol 92 MovieClip Frame 1Symbol 91 MovieClip
"leftSmoke"Symbol 92 MovieClip Frame 1Symbol 60 MovieClip {ParkMyBigRig2_fla.smoke_112}
"rightSmoke"Symbol 92 MovieClip Frame 1Symbol 60 MovieClip {ParkMyBigRig2_fla.smoke_112}
"rigBack"Symbol 93 MovieClip {cementMixer} Frame 1Symbol 88 MovieClip
"rigFront"Symbol 93 MovieClip {cementMixer} Frame 1Symbol 92 MovieClip
"t"Symbol 99 MovieClip Frame 1Symbol 97 MovieClip
"tire4"Symbol 100 MovieClip Frame 1Symbol 98 MovieClip
"tire1"Symbol 100 MovieClip Frame 1Symbol 98 MovieClip
"tire3"Symbol 100 MovieClip Frame 1Symbol 99 MovieClip
"tire2"Symbol 100 MovieClip Frame 1Symbol 99 MovieClip
"tire4"Symbol 101 MovieClip Frame 1Symbol 99 MovieClip
"tire3"Symbol 101 MovieClip Frame 1Symbol 99 MovieClip
"tire1"Symbol 101 MovieClip Frame 1Symbol 99 MovieClip
"tire2"Symbol 101 MovieClip Frame 1Symbol 99 MovieClip
"parkPoint3"Symbol 104 MovieClip {monster} Frame 1Symbol 30 MovieClip
"parkPoint4"Symbol 104 MovieClip {monster} Frame 1Symbol 30 MovieClip
"parkPoint2"Symbol 104 MovieClip {monster} Frame 1Symbol 30 MovieClip
"parkPoint1"Symbol 104 MovieClip {monster} Frame 1Symbol 30 MovieClip
"tireForward"Symbol 104 MovieClip {monster} Frame 1Symbol 100 MovieClip
"tireReverse"Symbol 104 MovieClip {monster} Frame 1Symbol 101 MovieClip
"truckSmoke"Symbol 104 MovieClip {monster} Frame 1Symbol 51 MovieClip
"vehicleHitBody"Symbol 104 MovieClip {monster} Frame 1Symbol 103 MovieClip {ParkMyBigRig2_fla.pickupTruckBody_128}
"parkingPoint1"Symbol 111 MovieClip {ambulance} Frame 1Symbol 30 MovieClip
"parkingPoint2"Symbol 111 MovieClip {ambulance} Frame 1Symbol 30 MovieClip
"parkingPoint3"Symbol 111 MovieClip {ambulance} Frame 1Symbol 30 MovieClip
"parkingPoint4"Symbol 111 MovieClip {ambulance} Frame 1Symbol 30 MovieClip
"tire2"Symbol 111 MovieClip {ambulance} Frame 1Symbol 55 MovieClip
"tire1"Symbol 111 MovieClip {ambulance} Frame 1Symbol 55 MovieClip
"tire4"Symbol 111 MovieClip {ambulance} Frame 1Symbol 55 MovieClip
"tire3"Symbol 111 MovieClip {ambulance} Frame 1Symbol 55 MovieClip
"truckSmoke"Symbol 111 MovieClip {ambulance} Frame 1Symbol 60 MovieClip {ParkMyBigRig2_fla.smoke_112}
"vehicleHitBody"Symbol 111 MovieClip {ambulance} Frame 1Symbol 110 MovieClip
"parkingPoint1"Symbol 116 MovieClip {dumpTruck} Frame 1Symbol 30 MovieClip
"parkingPoint2"Symbol 116 MovieClip {dumpTruck} Frame 1Symbol 30 MovieClip
"parkingPoint3"Symbol 116 MovieClip {dumpTruck} Frame 1Symbol 30 MovieClip
"parkingPoint4"Symbol 116 MovieClip {dumpTruck} Frame 1Symbol 30 MovieClip
"tire1"Symbol 116 MovieClip {dumpTruck} Frame 1Symbol 55 MovieClip
"tire2"Symbol 116 MovieClip {dumpTruck} Frame 1Symbol 55 MovieClip
"tire3"Symbol 116 MovieClip {dumpTruck} Frame 1Symbol 55 MovieClip
"tire4"Symbol 116 MovieClip {dumpTruck} Frame 1Symbol 55 MovieClip
"vehicleHitBody"Symbol 116 MovieClip {dumpTruck} Frame 1Symbol 115 MovieClip
"truckSmoke"Symbol 116 MovieClip {dumpTruck} Frame 1Symbol 51 MovieClip
"agButton_btn"Symbol 187 MovieClip Frame 1Symbol 172 Button
"innerloader"Symbol 227 MovieClip Frame 1Symbol 226 MovieClip {ParkMyBigRig2_fla.BUGload_26}
"AGclick_btn"Symbol 238 MovieClip {ParkMyBigRig2_fla.AGteaser_mc_20} Frame 1Symbol 178 Button
"AGskip_btn"Symbol 238 MovieClip {ParkMyBigRig2_fla.AGteaser_mc_20} Frame 1Symbol 184 Button
"AGpresented_mc"Symbol 238 MovieClip {ParkMyBigRig2_fla.AGteaser_mc_20} Frame 1Symbol 186 MovieClip
"AGlogo_mc"Symbol 238 MovieClip {ParkMyBigRig2_fla.AGteaser_mc_20} Frame 1Symbol 187 MovieClip
"outerloader"Symbol 238 MovieClip {ParkMyBigRig2_fla.AGteaser_mc_20} Frame 2Symbol 227 MovieClip
"progress_mc"Symbol 238 MovieClip {ParkMyBigRig2_fla.AGteaser_mc_20} Frame 2Symbol 234 MovieClip
"loadText"Symbol 238 MovieClip {ParkMyBigRig2_fla.AGteaser_mc_20} Frame 2Symbol 236 EditableText
"innerg"Symbol 277 MovieClip Frame 1Symbol 273 MovieClip
"tireArea"Symbol 283 MovieClip Frame 1Symbol 279 MovieClip
"obstacle5"Symbol 309 MovieClip Frame 1Symbol 298 MovieClip
"obstacle4"Symbol 309 MovieClip Frame 1Symbol 298 MovieClip
"obstacle4"Symbol 309 MovieClip Frame 1Symbol 298 MovieClip
"obstacle4"Symbol 309 MovieClip Frame 1Symbol 298 MovieClip
"obstacle5"Symbol 309 MovieClip Frame 1Symbol 298 MovieClip
"obstacle5"Symbol 309 MovieClip Frame 1Symbol 298 MovieClip
"obstacle5"Symbol 309 MovieClip Frame 1Symbol 298 MovieClip
"obstacle4"Symbol 309 MovieClip Frame 1Symbol 298 MovieClip
"obstacle4"Symbol 309 MovieClip Frame 1Symbol 298 MovieClip
"tireArea"Symbol 315 MovieClip Frame 1Symbol 313 MovieClip
"tireArea"Symbol 315 MovieClip Frame 13Symbol 314 MovieClip
"gutter2"Symbol 316 MovieClip Frame 1Symbol 277 MovieClip
"obstacle2"Symbol 316 MovieClip Frame 1Symbol 287 MovieClip
"gutter1"Symbol 316 MovieClip Frame 1Symbol 277 MovieClip
"obstacle1"Symbol 316 MovieClip Frame 1Symbol 309 MovieClip
"parkArea"Symbol 316 MovieClip Frame 1Symbol 315 MovieClip
"topBar1"Symbol 319 MovieClip Frame 1Symbol 318 MovieClip
"topBar1"Symbol 319 MovieClip Frame 1Symbol 318 MovieClip
"crashedFinish"Symbol 347 MovieClip {ParkMyBigRig2_fla.CRASHEDANIMATION_64} Frame 1Symbol 340 MovieClip
"trainingText"Symbol 389 MovieClip Frame 1Symbol 388 EditableText
"textText"Symbol 391 MovieClip {ParkMyBigRig2_fla.trainingpopup_69} Frame 1Symbol 389 MovieClip
"btnAdjustQuality"Symbol 406 MovieClip {ParkMyBigRig2_fla.HUB_72} Frame 1Symbol 396 MovieClip {ParkMyBigRig2_fla.buttonGraphicsQuality_73}
"life1"Symbol 406 MovieClip {ParkMyBigRig2_fla.HUB_72} Frame 1Symbol 404 MovieClip
"life2"Symbol 406 MovieClip {ParkMyBigRig2_fla.HUB_72} Frame 1Symbol 404 MovieClip
"life3"Symbol 406 MovieClip {ParkMyBigRig2_fla.HUB_72} Frame 1Symbol 404 MovieClip
"life4"Symbol 406 MovieClip {ParkMyBigRig2_fla.HUB_72} Frame 1Symbol 404 MovieClip
"life5"Symbol 406 MovieClip {ParkMyBigRig2_fla.HUB_72} Frame 1Symbol 404 MovieClip
"obstacle5"Symbol 419 MovieClip Frame 1Symbol 416 MovieClip
"obstacle7"Symbol 419 MovieClip Frame 1Symbol 302 MovieClip
"obstacle5"Symbol 419 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 419 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 419 MovieClip Frame 1Symbol 416 MovieClip
"obstacle9"Symbol 419 MovieClip Frame 1Symbol 300 MovieClip
"obstacle3"Symbol 419 MovieClip Frame 1Symbol 300 MovieClip
"obstacle2"Symbol 419 MovieClip Frame 1Symbol 300 MovieClip
"obstacle1"Symbol 420 MovieClip Frame 1Symbol 419 MovieClip
"parkArea"Symbol 420 MovieClip Frame 1Symbol 315 MovieClip
"obstacle7"Symbol 424 MovieClip Frame 1Symbol 302 MovieClip
"obstacle7"Symbol 424 MovieClip Frame 1Symbol 302 MovieClip
"obstacle9"Symbol 424 MovieClip Frame 1Symbol 300 MovieClip
"obstacle9"Symbol 424 MovieClip Frame 1Symbol 300 MovieClip
"obstacle9"Symbol 424 MovieClip Frame 1Symbol 300 MovieClip
"obstacle5"Symbol 424 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 424 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 424 MovieClip Frame 1Symbol 416 MovieClip
"obstacle1"Symbol 425 MovieClip Frame 1Symbol 424 MovieClip
"parkArea"Symbol 425 MovieClip Frame 1Symbol 315 MovieClip
"obstacle3"Symbol 430 MovieClip Frame 1Symbol 300 MovieClip
"obstacle2"Symbol 430 MovieClip Frame 1Symbol 300 MovieClip
"obstacle8"Symbol 430 MovieClip Frame 1Symbol 300 MovieClip
"obstacle10"Symbol 430 MovieClip Frame 1Symbol 300 MovieClip
"obstacle9"Symbol 430 MovieClip Frame 1Symbol 300 MovieClip
"obstacle5"Symbol 430 MovieClip Frame 1Symbol 416 MovieClip
"obstacle4"Symbol 430 MovieClip Frame 1Symbol 416 MovieClip
"obstacle7"Symbol 430 MovieClip Frame 1Symbol 302 MovieClip
"gutter1"Symbol 431 MovieClip Frame 1Symbol 277 MovieClip
"obstacle2"Symbol 431 MovieClip Frame 1Symbol 116 MovieClip {dumpTruck}
"gutter1"Symbol 431 MovieClip Frame 1Symbol 277 MovieClip
"gutter1"Symbol 431 MovieClip Frame 1Symbol 277 MovieClip
"obstacle1"Symbol 431 MovieClip Frame 1Symbol 430 MovieClip
"parkArea"Symbol 431 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 437 MovieClip Frame 1Symbol 436 MovieClip
"gutter1"Symbol 437 MovieClip Frame 1Symbol 277 MovieClip
"parkArea"Symbol 437 MovieClip Frame 1Symbol 315 MovieClip
"topBar1"Symbol 438 MovieClip Frame 1Symbol 318 MovieClip
"topBar1"Symbol 438 MovieClip Frame 1Symbol 318 MovieClip
"topBar1"Symbol 438 MovieClip Frame 1Symbol 318 MovieClip
"obstacle1"Symbol 498 MovieClip Frame 1Symbol 472 MovieClip
"parkArea"Symbol 498 MovieClip Frame 1Symbol 315 MovieClip
"movingCar1"Symbol 498 MovieClip Frame 1Symbol 497 MovieClip
"obstacle1"Symbol 534 MovieClip Frame 1Symbol 513 MovieClip
"parkArea"Symbol 534 MovieClip Frame 1Symbol 315 MovieClip
"movingCar1"Symbol 534 MovieClip Frame 1Symbol 520 MovieClip
"obstacle1"Symbol 541 MovieClip Frame 1Symbol 538 MovieClip
"parkArea"Symbol 541 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 557 MovieClip Frame 1Symbol 554 MovieClip
"parkArea"Symbol 557 MovieClip Frame 1Symbol 315 MovieClip
"movingCar1"Symbol 557 MovieClip Frame 1Symbol 556 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 571 MovieClip Frame 1Symbol 416 MovieClip
"obstacle1"Symbol 577 MovieClip Frame 1Symbol 571 MovieClip
"parkArea"Symbol 577 MovieClip Frame 1Symbol 315 MovieClip
"movingCar1"Symbol 577 MovieClip Frame 1Symbol 576 MovieClip
"wheel0"Symbol 603 MovieClip Frame 1Symbol 597 MovieClip
"wheel1"Symbol 603 MovieClip Frame 1Symbol 597 MovieClip
"rigFrontHitBody"Symbol 603 MovieClip Frame 1Symbol 599 MovieClip
"rightSmoke"Symbol 603 MovieClip Frame 1Symbol 602 MovieClip
"leftSmoke"Symbol 603 MovieClip Frame 1Symbol 602 MovieClip
"rigBack"Symbol 604 MovieClip {ParkMyBigRig2_fla.crasheddoubleTrailer_147} Frame 1Symbol 596 MovieClip
"rigFront"Symbol 604 MovieClip {ParkMyBigRig2_fla.crasheddoubleTrailer_147} Frame 1Symbol 603 MovieClip
"obstacle1"Symbol 615 MovieClip Frame 1Symbol 605 MovieClip
"parkArea"Symbol 615 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 628 MovieClip Frame 1Symbol 627 MovieClip
"parkArea"Symbol 628 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 635 MovieClip Frame 1Symbol 634 MovieClip
"parkArea"Symbol 635 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 643 MovieClip Frame 1Symbol 639 MovieClip
"movingCar1"Symbol 643 MovieClip Frame 1Symbol 640 MovieClip
"movingCar2"Symbol 643 MovieClip Frame 1Symbol 641 MovieClip {ParkMyBigRig2_fla.moving7_173}
"movingCar3"Symbol 643 MovieClip Frame 1Symbol 642 MovieClip
"parkArea"Symbol 643 MovieClip Frame 1Symbol 315 MovieClip
"obstacle5"Symbol 652 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 652 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 652 MovieClip Frame 1Symbol 416 MovieClip
"parkArea"Symbol 655 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 655 MovieClip Frame 1Symbol 652 MovieClip
"obstacle1"Symbol 685 MovieClip Frame 1Symbol 684 MovieClip
"parkArea"Symbol 685 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 696 MovieClip Frame 1Symbol 695 MovieClip
"parkArea"Symbol 696 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 702 MovieClip Frame 1Symbol 701 MovieClip
"parkArea"Symbol 702 MovieClip Frame 1Symbol 315 MovieClip
"movingCar1"Symbol 713 MovieClip Frame 1Symbol 703 MovieClip
"obstacle1"Symbol 713 MovieClip Frame 1Symbol 712 MovieClip
"parkArea"Symbol 713 MovieClip Frame 1Symbol 315 MovieClip
"movingCar1"Symbol 722 MovieClip Frame 1Symbol 703 MovieClip
"obstacle1"Symbol 722 MovieClip Frame 1Symbol 720 MovieClip
"parkArea"Symbol 722 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 729 MovieClip Frame 1Symbol 726 MovieClip
"parkArea"Symbol 729 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 733 MovieClip Frame 1Symbol 732 MovieClip
"parkArea"Symbol 733 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 742 MovieClip Frame 1Symbol 739 MovieClip
"parkArea"Symbol 742 MovieClip Frame 1Symbol 315 MovieClip
"obstacle5"Symbol 751 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 751 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 751 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 751 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 751 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 751 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 751 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 751 MovieClip Frame 1Symbol 416 MovieClip
"obstacle5"Symbol 751 MovieClip Frame 1Symbol 416 MovieClip
"obstacle1"Symbol 753 MovieClip Frame 1Symbol 751 MovieClip
"parkArea"Symbol 753 MovieClip Frame 1Symbol 315 MovieClip
"obstacle1"Symbol 758 MovieClip Frame 1Symbol 757 MovieClip
"parkArea"Symbol 758 MovieClip Frame 1Symbol 315 MovieClip
"txtScore"Symbol 781 MovieClip {ParkMyBigRig2_fla.mm_221} Frame 1Symbol 780 EditableText
"scoreWindow"Symbol 782 MovieClip {ParkMyBigRig2_fla.bg_220} Frame 1Symbol 781 MovieClip {ParkMyBigRig2_fla.mm_221}
"bonusText"Symbol 806 MovieClip {ParkMyBigRig2_fla.GAMEWONSCREEN_222} Frame 1Symbol 785 MovieClip
"congratsMsg1"Symbol 806 MovieClip {ParkMyBigRig2_fla.GAMEWONSCREEN_222} Frame 11Symbol 790 MovieClip {ParkMyBigRig2_fla.GAMEWON_224}
"congratsMsg2"Symbol 806 MovieClip {ParkMyBigRig2_fla.GAMEWONSCREEN_222} Frame 11Symbol 795 MovieClip {ParkMyBigRig2_fla.Game_goodjob_1_227}
"congratsMsg3"Symbol 806 MovieClip {ParkMyBigRig2_fla.GAMEWONSCREEN_222} Frame 11Symbol 800 MovieClip {ParkMyBigRig2_fla.Game_goodjob_1asd_230}
"congratsMsg4"Symbol 806 MovieClip {ParkMyBigRig2_fla.GAMEWONSCREEN_222} Frame 11Symbol 805 MovieClip {ParkMyBigRig2_fla.Game_goodjob_df_233}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 11284 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmln ..."

Labels

"level1"Frame 3
"level6"Frame 8
"level11"Frame 13
"level15"Frame 17
"level20"Frame 22




http://swfchan.com/47/231264/info.shtml
Created: 27/1 -2020 03:35:15 Last modified: 27/1 -2020 03:35:15 Server time: 02/12 -2024 17:41:17