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

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

vengeance-rider.swf

This is the info page for
Flash #109750

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


Text
<p align="left"><font face="Arial" size="16" color="#000033" letterSpacing="0.000000" kerning="0">Please wait, Data is being Loaded.....</font></p>

Please wait, data is being loaded...

Cartitans - more car games

Cartitans - more car games

OBJECTIVE

Your objective is to take down the cars with targets above them.

They need to be destroyed. You can do it however you like but you'll
be awarded for your speed and efficiency.

Get Extra health to hit the target .

Level 1

PLAY MORE GAMES

LANE1

LANE2

LANE3

LANE4

<p align="left"><font face="Arial" size="14" color="#ffffff" letterSpacing="0.000000" kerning="0">65km</font></p><p align="left"></p>

Distance to target :

Health left :

Targets left :

5

<p align="left"><font face="Arial" size="20" color="#ffffff" letterSpacing="0.000000" kerning="0">600</font></p><p align="left"></p>

<p align="center"><font face="Arial" size="18" color="#ffffff" letterSpacing="0.000000" kerning="0">60,050</font></p><p align="center"><font face="Arial" size="18" color="#ffffff" letterSpacing="0.000000" kerning="0">60,0000</font></p>

<p align="center"><font face="Arial" size="18" color="#ffffff" letterSpacing="0.000000" kerning="0">134 Mph</font></p><p align="center"></p>

<p align="center"><font face="Arial" size="15" color="#ffffff" letterSpacing="0.000000" kerning="0">asdsdfasdfs</font></p>

You are ahead of Target.

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

Restart Level

Next Level

sasdgsd

Play More Games

Level 2

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

sasdgsd

Level 3

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

sasdgsd

Level 4

sasdgsd

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

Restart Game

<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>

<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>

<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>

<p align="left"><font face="arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>

<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>

<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>

<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>

<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>

<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>

<p align="center"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="center"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>target destroyed</b></font></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

sasdgsd

ActionScript [AS1/AS2]

Frame 1
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("2b522890", this, 10301, true); var pX = loaderCarMc._x; cMore.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; onEnterFrame = function () { var _local2 = int(this.getBytesLoaded()); var _local3 = int(this.getBytesTotal()); var _local4 = (_local2 / _local3) * 100; loaderCarMc._x = ((600 * _local4) / 100) + pX; if (_local2 >= _local3) { gotoAndPlay ("menu"); delete onEnterFrame; } }; stop();
Frame 2
stopAllSounds();
Frame 3
function playAgain() { _root.gotoAndStop("menu"); } moreBtn.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; stopAllSounds(); bgSoundMc.swapDepths(1000000); playBtn.onRelease = function () { _root.levelPlay = "story1"; gotoAndPlay ("story1"); }; insBtn.onRelease = function () { gotoAndStop ("instructions"); }; stageOfSending = 0; targetsLeft = 5; carsBlownUp = 0; trucksKilled = 0; pavementTime = 0; stop();
Frame 4
playBtn.onRelease = function () { _root.levelPlay = "story1"; gotoAndPlay ("story1"); }; moreBtn.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); };
Frame 5
moreGBtn.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; playBtn.onRelease = function () { gotoAndPlay ("game1"); }; stopAllSounds(); stop();
Frame 6
function randRange(min, max) { var _local1 = Math.round((Math.random() * ((max - min) + 1)) + (min - 0.5)); return(_local1); } function callFunc() { var _local2 = Math.ceil(game.player.life); if (checkRange == false) { pLife1 = randRange(0, _local2); checkRange = true; } if ((_local2 <= pLife1) && (checkLife == true)) { _root.game.plusMc.hit = false; _root.game.plusMc._alpha = 100; checkLife = false; hitLife++; } clearInterval(checkInter); delete checkInter; } function checkHitStatus() { clearInterval(setInter); delete setInter; checkRange = false; checkLife = true; setInter = setInterval(mx.utils.Delegate.create(this, callFunc), 1000); } function chekStatus() { var _local1 = Math.ceil(game.player.life); if ((_local1 < 100) && (hitLife < 4)) { checkLife = true; } else if ((_local1 < 200) && (hitLife < 3)) { checkLife = true; } else if ((_local1 < 300) && (hitLife < 2)) { checkLife = true; } } function fadeIn(pMc) { var pThis = this; tween_handler = new mx.transitions.Tween(pMc, "_alpha", mx.transitions.easing.Strong.easeIn, 100, 0, delayTime, true); tween_handler.onMotionFinished = function () { var _local3 = pThis.hud.messageD.msg_txt.text; pThis.hud.messageD._alpha = 0; pThis.hud.messageD.msg_txt.text = ""; if ((_local3 == "WellDone, You have successfully destroyed all the target......") && (_root.missionCompleteShown)) { delete this.onEnterFrame; _root.gotoAndPlay("levelscore1"); } else if (setMessagNum == 0) { setMessage(); } else { setMessagNum = 0; } }; } function fadeOut(pMc) { var pThis = this; tween_handler = new mx.transitions.Tween(pMc, "_alpha", mx.transitions.easing.Strong.easeOut, 0, 100, delayTime, true); tween_handler.onMotionFinished = function () { pThis.fadeIn(pMc); }; } function setMessage() { messages = messages + 1; setMessagNum = 1; _root.hud.messageD.msg_txt.text = targetsLeft + " TARGETS LEFT..."; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); } id = 4; carId = 0; carsAlive = 0; maxCars = 5; score = 0; nextCar = false; distTrav = 0; messages = 0; targetsLeft = 4; targetsStored = targetsLeft; targetTime = 20; missionCompleteShown = false; currentLife = 0; averageSpeed = 0; deathRattle = 0; timerL = 0; lifeStored = 0; var delayTime = 0.8; var setMessagNum = 0; _root.bgSound.stop(); messages = messages + 1; var tween_handler; moreGBtn._y = 460; moreGBtn.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; _root.hud.messageD._alpha = 0; _root.hud.messageD.msg_txt.text = ""; var checkInter; var checkLife = true; var checkRange = false; var pLife1; var hitLife = 0; var setInter = setInterval(mx.utils.Delegate.create(this, callFunc), 1000); _root.game.plusMc.hit = true; this.onEnterFrame = function () { if (game.player.life < 1) { deathRattle = deathRattle + 1; } if (deathRattle > 70) { gotoAndPlay ("death"); delete this.onEnterFrame; } if (targetsStored > targetsLeft) { messages = messages + 1; targetsStored = targetsLeft; if (targetsLeft > 0) { messages = messages + 1; _root.hud.messageD.msg_txt.text = "TARGET DESTROYED "; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); hud.targetDisplay.targetDist = Math.round(_root.distTrav) + 5; hud.targetDisplay.told = false; } hud.targetDisplay.told = false; } if ((targetsLeft == 0) && (targetTime > 0)) { targetTime = targetTime - 1; } if ((targetTime == 0) && (missionCompleteShown == false)) { messages = messages + 1; _root.hud.messageD.msg_txt.text = "WellDone, You have successfully destroyed all the target......"; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); targetsStored = targetsLeft; missionCompleteShown = true; delete this.onEnterFrame; } if (missionCompleteShown) { } var _local3 = (275 - (game._x + game.player._x)) * (game._xscale / 100); _x = (_x - ((_x - _local3) / 5)); hud._x = (-_x) + 300; moreGBtn._x = ((-_x) + 660) - moreGBtn._width; if (currentDepth > 50) { currentDepth = 0; } xscaler = (1 / (100 / _root.game._xscale)) + _root.game._x; yscaler = (1 / (100 / _root.game._yscale)) + _root.game._y; i = _root.maxCars; while (i > 0) { if (_root.game["car" + i]._x == undefined) { _root.carId = i - 1; } i = i - 1; } timerL = timerL + 1; if (timerL == 2) { if ((game.player.life > lifeStored) && (game.player.life > 0)) { game.player.life = game.player.life - ((game.player.life - lifeStored) * 2); } timerL = 0; } else { lifeStored = game.player.life; } }; bgSoundMc.swapDepths(100000); stop();
Instance of Symbol 236 MovieClip "game" in Frame 6
onClipEvent (load) { trafficSound = new Sound(_root.game.effects); trafficSound.attachSound("traffic"); trafficSound.start(0, 99); } onClipEvent (enterFrame) { trafficSound.setVolume(_root.carsAlive * 10); var targetXscale = 43; _xscale = (_xscale - ((_xscale - targetXscale) / 5)); _yscale = _xscale; } on (keyPress "q") { if (_root._quality == "HIGH") { _root._quality = "MEDIUM"; } else if (_root._quality == "MEDIUM") { _root._quality = "LOW"; } else { _root._quality = "HIGH"; } }
Instance of Symbol 263 MovieClip "hud" in Frame 6
onClipEvent (load) { timer = 0; timesLogged = 0; totalSpeed = 0; averageSpeed = 0; fader.swapDepths(3000); } onClipEvent (enterFrame) { displayText = _root.game._x; _root.distTrav = _root.distTrav + (_root.game.player.yspeed / 5000); var speed = Math.round(_root.game.player.yspeed * 2); timer = timer + 1; if (timer > 1) { timesLogged = timesLogged + 1; totalSpeed = totalSpeed + speed; averageSpeed = Math.round(totalSpeed / timesLogged); timer = 0; } _root.currentLife = _root.game.player.life; lft_target.text = _root.targetsLeft; _root.averageSpeed = averageSpeed; health = Math.round(_root.currentLife); healthMc.maskMc._xscale = Math.round(health / 6); credits = Math.round(_root.score); currentSpeed = speed + "Mph"; dial._rotation = -80 + speed; }
Frame 11
_x = 0; _y = 0; messages = 0; timer = 0; remove = false; var calcScore = Math.round(((_root.score + (_root.averageSpeed * 2)) * (_root.currentLife / 30)) - (_root.distTrav * 5)); moreGBtn._y = 10.45; playMore.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; submitScore = calcScore; _root.s = submitScore; storeOldScore = _root.score; score_txt.text = submitScore; msg1_txt.text = "Your life left " + Math.round(_root.currentLife); msg2_txt.text = ("You have earned " + Math.round(storeOldScore)) + " Points..."; msg3_txt.text = ("Your average speed was " + Math.round(_root.averageSpeed)) + "Km\\h"; msg4_txt.text = ("You have traveled " + Math.round(_root.distTrav)) + "Km."; stopAllSounds(); moreGBtn.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; nxtLvlBtn.onRelease = function () { _root.levelPlay = "story2"; gotoAndPlay ("story2"); }; restLvlBtn.onRelease = function () { gotoAndPlay ("game1"); }; stop();
Frame 20
playBtn.onRelease = function () { gotoAndPlay ("game2"); }; moreGBtn.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; stop();
Frame 21
function randRange(min, max) { var _local1 = Math.round((Math.random() * ((max - min) + 1)) + (min - 0.5)); return(_local1); } function callFunc() { var _local2 = Math.ceil(game.player.life); if (checkRange == false) { pLife1 = randRange(0, _local2); checkRange = true; } if ((_local2 <= pLife1) && (checkLife == true)) { _root.game.plusMc.hit = false; _root.game.plusMc._alpha = 100; checkLife = false; hitLife++; } clearInterval(checkInter); delete checkInter; } function checkHitStatus() { clearInterval(setInter); delete setInter; checkRange = false; checkLife = true; setInter = setInterval(mx.utils.Delegate.create(this, callFunc), 1000); } function chekStatus() { var _local1 = Math.ceil(game.player.life); if ((_local1 < 100) && (hitLife < 4)) { checkLife = true; } else if ((_local1 < 200) && (hitLife < 3)) { checkLife = true; } else if ((_local1 < 300) && (hitLife < 2)) { checkLife = true; } } function fadeIn(pMc) { var pThis = this; tween_handler = new mx.transitions.Tween(pMc, "_alpha", mx.transitions.easing.Strong.easeIn, 100, 0, delayTime, true); tween_handler.onMotionFinished = function () { var _local3 = pThis.hud.messageD.msg_txt.text; pThis.hud.messageD._alpha = 0; pThis.hud.messageD.msg_txt.text = ""; if ((_local3 == "WellDone, You have successfully destroyed all the target......") && (_root.missionCompleteShown)) { delete this.onEnterFrame; _root.gotoAndPlay("levelscore2"); } else if (setMessagNum == 0) { setMessage(); } else { setMessagNum = 0; } }; } function fadeOut(pMc) { var pThis = this; tween_handler = new mx.transitions.Tween(pMc, "_alpha", mx.transitions.easing.Strong.easeOut, 0, 100, delayTime, true); tween_handler.onMotionFinished = function () { pThis.fadeIn(pMc); }; } function setMessage() { messages = messages + 1; setMessagNum = 1; _root.hud.messageD.msg_txt.text = targetsLeft + " TARGETS LEFT..."; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); } id = 4; carId = 0; carsAlive = 0; maxCars = 6; score = 0; nextCar = false; distTrav = 0; messages = 0; targetsLeft = 5; targetsStored = targetsLeft; targetTime = 20; missionCompleteShown = false; currentLife = 0; averageSpeed = 0; deathRattle = 0; timerL = 0; lifeStored = 0; var delayTime = 1; messages = messages + 1; var tween_handler; moreGBtn._y = 460; moreGBtn.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; _root.hud.messageD._alpha = 0; _root.hud.messageD.msg_txt.text = ""; var checkInter; var checkLife = true; var checkRange = false; var pLife1; var hitLife = 0; var setInter = setInterval(mx.utils.Delegate.create(this, callFunc), 1000); _root.game.plusMc.hit = true; this.onEnterFrame = function () { if (game.player.life < 1) { deathRattle = deathRattle + 1; } if (deathRattle > 70) { gotoAndPlay ("death"); delete this.onEnterFrame; } if (targetsStored > targetsLeft) { messages = messages + 1; targetsStored = targetsLeft; if (targetsLeft > 0) { messages = messages + 1; _root.hud.messageD.msg_txt.text = "TARGET DESTROYED "; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); hud.targetDisplay.targetDist = Math.round(_root.distTrav) + 5; hud.targetDisplay.told = false; } hud.targetDisplay.told = false; } if ((targetsLeft == 0) && (targetTime > 0)) { targetTime = targetTime - 1; } if ((targetTime == 0) && (missionCompleteShown == false)) { messages = messages + 1; _root.hud.messageD.msg_txt.text = "WellDone, You have successfully destroyed all the target......"; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); targetsStored = targetsLeft; missionCompleteShown = true; delete this.onEnterFrame; } if (missionCompleteShown) { } var _local3 = (275 - (game._x + game.player._x)) * (game._xscale / 100); _x = (_x - ((_x - _local3) / 5)); hud._x = (-_x) + 300; moreGBtn._x = ((-_x) + 660) - moreGBtn._width; if (currentDepth > 50) { currentDepth = 0; } xscaler = (1 / (100 / _root.game._xscale)) + _root.game._x; yscaler = (1 / (100 / _root.game._yscale)) + _root.game._y; i = _root.maxCars; while (i > 0) { if (_root.game["car" + i]._x == undefined) { _root.carId = i - 1; } i = i - 1; } timerL = timerL + 1; if (timerL == 2) { if ((game.player.life > lifeStored) && (game.player.life > 0)) { game.player.life = game.player.life - ((game.player.life - lifeStored) * 2); } timerL = 0; } else { lifeStored = game.player.life; } }; stop();
Instance of Symbol 236 MovieClip "game" in Frame 21
onClipEvent (load) { trafficSound = new Sound(_root.game.effects); trafficSound.attachSound("traffic"); trafficSound.start(0, 99); } onClipEvent (enterFrame) { trafficSound.setVolume(_root.carsAlive * 5); var targetXscale = 43; _xscale = (_xscale - ((_xscale - targetXscale) / 5)); _yscale = _xscale; } on (keyPress "q") { if (_root._quality == "HIGH") { _root._quality = "MEDIUM"; } else if (_root._quality == "MEDIUM") { _root._quality = "LOW"; } else { _root._quality = "HIGH"; } }
Instance of Symbol 263 MovieClip "hud" in Frame 21
onClipEvent (load) { timer = 0; timesLogged = 0; totalSpeed = 0; averageSpeed = 0; fader.swapDepths(3000); } onClipEvent (enterFrame) { displayText = _root.game._x; _root.distTrav = _root.distTrav + (_root.game.player.yspeed / 5000); var speed = Math.round(_root.game.player.yspeed * 2); timer = timer + 1; if (timer > 1) { timesLogged = timesLogged + 1; totalSpeed = totalSpeed + speed; averageSpeed = Math.round(totalSpeed / timesLogged); timer = 0; } _root.currentLife = _root.game.player.life; lft_target.text = _root.targetsLeft; _root.averageSpeed = averageSpeed; health = Math.round(_root.currentLife); healthMc.maskMc._xscale = Math.round(health / 6); credits = Math.round(_root.score); currentSpeed = speed + "Mph"; dial._rotation = -80 + speed; }
Frame 26
_x = 0; _y = 0; messages = 0; timer = 0; remove = false; var calcScore = Math.round(((_root.score + (_root.averageSpeed * 2)) * (_root.currentLife / 30)) - (_root.distTrav * 5)); playMore.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; submitScore = calcScore; _root.s = submitScore; storeOldScore = _root.score; score_txt.text = submitScore; msg1_txt.text = "Your life left " + Math.round(_root.currentLife); msg2_txt.text = ("You have earned " + Math.round(storeOldScore)) + " Points..."; msg3_txt.text = ("Your average speed was " + Math.round(_root.averageSpeed)) + "Km\\h"; msg4_txt.text = ("You have traveled " + Math.round(_root.distTrav)) + "Km."; stopAllSounds(); nxtLvlBtn.onRelease = function () { _root.levelPlay = "story3"; gotoAndPlay ("story3"); }; restLvlBtn.onRelease = function () { gotoAndPlay ("game2"); }; stop();
Frame 35
playBtn.onRelease = function () { gotoAndPlay ("game3"); }; stop();
Frame 36
function randRange(min, max) { var _local1 = Math.round((Math.random() * ((max - min) + 1)) + (min - 0.5)); return(_local1); } function callFunc() { var _local2 = Math.ceil(game.player.life); if (checkRange == false) { pLife1 = randRange(0, _local2); checkRange = true; } if ((_local2 <= pLife1) && (checkLife == true)) { _root.game.plusMc.hit = false; _root.game.plusMc._alpha = 100; checkLife = false; hitLife++; } clearInterval(checkInter); delete checkInter; } function checkHitStatus() { clearInterval(setInter); delete setInter; checkRange = false; checkLife = true; setInter = setInterval(mx.utils.Delegate.create(this, callFunc), 1000); } function chekStatus() { var _local1 = Math.ceil(game.player.life); if ((_local1 < 100) && (hitLife < 4)) { checkLife = true; } else if ((_local1 < 200) && (hitLife < 3)) { checkLife = true; } else if ((_local1 < 300) && (hitLife < 2)) { checkLife = true; } } function fadeIn(pMc) { var pThis = this; tween_handler = new mx.transitions.Tween(pMc, "_alpha", mx.transitions.easing.Strong.easeIn, 100, 0, delayTime, true); tween_handler.onMotionFinished = function () { var _local3 = pThis.hud.messageD.msg_txt.text; pThis.hud.messageD._alpha = 0; pThis.hud.messageD.msg_txt.text = ""; if ((_local3 == "WellDone, You have successfully destroyed all the target......") && (_root.missionCompleteShown)) { delete this.onEnterFrame; _root.gotoAndPlay("levelscore3"); } else if (setMessagNum == 0) { setMessage(); } else { setMessagNum = 0; } }; } function fadeOut(pMc) { var pThis = this; tween_handler = new mx.transitions.Tween(pMc, "_alpha", mx.transitions.easing.Strong.easeOut, 0, 100, delayTime, true); tween_handler.onMotionFinished = function () { pThis.fadeIn(pMc); }; } function setMessage() { messages = messages + 1; setMessagNum = 1; _root.hud.messageD.msg_txt.text = targetsLeft + " TARGETS LEFT..."; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); } id = 4; carId = 0; carsAlive = 0; maxCars = 7; score = 0; nextCar = false; distTrav = 0; messages = 0; targetsLeft = 5; targetsStored = targetsLeft; targetTime = 20; missionCompleteShown = false; currentLife = 0; averageSpeed = 0; deathRattle = 0; timerL = 0; lifeStored = 0; var delayTime = 1; messages = messages + 1; var tween_handler; moreGBtn._y = 460; moreGBtn.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; var checkInter; var checkLife = true; var checkRange = false; var pLife1; var hitLife = 0; var setInter = setInterval(mx.utils.Delegate.create(this, callFunc), 1000); _root.game.plusMc.hit = true; _root.hud.messageD._alpha = 0; _root.hud.messageD.msg_txt.text = ""; this.onEnterFrame = function () { if (game.player.life < 1) { deathRattle = deathRattle + 1; } if (deathRattle > 70) { gotoAndPlay ("death"); delete this.onEnterFrame; } if (targetsStored > targetsLeft) { messages = messages + 1; targetsStored = targetsLeft; if (targetsLeft > 0) { messages = messages + 1; _root.hud.messageD.msg_txt.text = "TARGET DESTROYED "; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); hud.targetDisplay.targetDist = Math.round(_root.distTrav) + 5; hud.targetDisplay.told = false; } hud.targetDisplay.told = false; } if ((targetsLeft == 0) && (targetTime > 0)) { targetTime = targetTime - 1; } if ((targetTime == 0) && (missionCompleteShown == false)) { messages = messages + 1; _root.hud.messageD.msg_txt.text = "WellDone, You have successfully destroyed all the target......"; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); targetsStored = targetsLeft; missionCompleteShown = true; delete this.onEnterFrame; } if (missionCompleteShown) { } var _local3 = (275 - (game._x + game.player._x)) * (game._xscale / 100); _x = (_x - ((_x - _local3) / 5)); hud._x = (-_x) + 300; moreGBtn._x = ((-_x) + 660) - moreGBtn._width; if (currentDepth > 50) { currentDepth = 0; } xscaler = (1 / (100 / _root.game._xscale)) + _root.game._x; yscaler = (1 / (100 / _root.game._yscale)) + _root.game._y; i = _root.maxCars; while (i > 0) { if (_root.game["car" + i]._x == undefined) { _root.carId = i - 1; } i = i - 1; } timerL = timerL + 1; if (timerL == 2) { if ((game.player.life > lifeStored) && (game.player.life > 0)) { game.player.life = game.player.life - ((game.player.life - lifeStored) * 2); } timerL = 0; } else { lifeStored = game.player.life; } }; stop();
Instance of Symbol 297 MovieClip "game" in Frame 36
onClipEvent (load) { trafficSound = new Sound(_root.game.effects); trafficSound.attachSound("traffic"); trafficSound.start(0, 99); } onClipEvent (enterFrame) { trafficSound.setVolume(_root.carsAlive * 5); var targetXscale = 43; _xscale = (_xscale - ((_xscale - targetXscale) / 5)); _yscale = _xscale; } on (keyPress "q") { if (_root._quality == "HIGH") { _root._quality = "MEDIUM"; } else if (_root._quality == "MEDIUM") { _root._quality = "LOW"; } else { _root._quality = "HIGH"; } }
Instance of Symbol 263 MovieClip "hud" in Frame 36
onClipEvent (load) { timer = 0; timesLogged = 0; totalSpeed = 0; averageSpeed = 0; fader.swapDepths(3000); } onClipEvent (enterFrame) { displayText = _root.game._x; _root.distTrav = _root.distTrav + (_root.game.player.yspeed / 5000); var speed = Math.round(_root.game.player.yspeed * 2); timer = timer + 1; if (timer > 1) { timesLogged = timesLogged + 1; totalSpeed = totalSpeed + speed; averageSpeed = Math.round(totalSpeed / timesLogged); timer = 0; } _root.currentLife = _root.game.player.life; lft_target.text = _root.targetsLeft; _root.averageSpeed = averageSpeed; health = Math.round(_root.currentLife); healthMc.maskMc._xscale = Math.round(health / 6); credits = Math.round(_root.score); currentSpeed = speed + "Mph"; dial._rotation = -80 + speed; }
Frame 41
_x = 0; _y = 0; messages = 0; timer = 0; remove = false; var calcScore = Math.round(((_root.score + (_root.averageSpeed * 2)) * (_root.currentLife / 30)) - (_root.distTrav * 5)); playMore.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; submitScore = calcScore; _root.s = submitScore; storeOldScore = _root.score; score_txt.text = submitScore; msg1_txt.text = "Your life left " + Math.round(_root.currentLife); msg2_txt.text = ("You have earned " + Math.round(storeOldScore)) + " Points..."; msg3_txt.text = ("Your average speed was " + Math.round(_root.averageSpeed)) + "Km\\h"; msg4_txt.text = ("You have traveled " + Math.round(_root.distTrav)) + "Km."; stopAllSounds(); nxtLvlBtn.onRelease = function () { _root.levelPlay = "story4"; gotoAndPlay ("story4"); }; restLvlBtn.onRelease = function () { gotoAndPlay ("game3"); }; stop();
Frame 50
playBtn.onRelease = function () { gotoAndPlay ("game4"); }; moreGBtn.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; stop();
Frame 51
function randRange(min, max) { var _local1 = Math.round((Math.random() * ((max - min) + 1)) + (min - 0.5)); return(_local1); } function callFunc() { var _local2 = Math.ceil(game.player.life); if (checkRange == false) { pLife1 = randRange(0, _local2); checkRange = true; } if ((_local2 <= pLife1) && (checkLife == true)) { _root.game.plusMc.hit = false; _root.game.plusMc._alpha = 100; checkLife = false; hitLife++; } clearInterval(checkInter); delete checkInter; } function checkHitStatus() { clearInterval(setInter); delete setInter; checkRange = false; checkLife = true; setInter = setInterval(mx.utils.Delegate.create(this, callFunc), 1000); } function chekStatus() { var _local1 = Math.ceil(game.player.life); if ((_local1 < 100) && (hitLife < 4)) { checkLife = true; } else if ((_local1 < 200) && (hitLife < 3)) { checkLife = true; } else if ((_local1 < 300) && (hitLife < 2)) { checkLife = true; } } function fadeIn(pMc) { var pThis = this; tween_handler = new mx.transitions.Tween(pMc, "_alpha", mx.transitions.easing.Strong.easeIn, 100, 0, delayTime, true); tween_handler.onMotionFinished = function () { var _local3 = pThis.hud.messageD.msg_txt.text; pThis.hud.messageD._alpha = 0; pThis.hud.messageD.msg_txt.text = ""; if ((_local3 == "WellDone, You have successfully destroyed all the target......") && (_root.missionCompleteShown)) { delete this.onEnterFrame; _root.gotoAndPlay("levelscore4"); } else if (setMessagNum == 0) { setMessage(); } else { setMessagNum = 0; } }; } function fadeOut(pMc) { var pThis = this; tween_handler = new mx.transitions.Tween(pMc, "_alpha", mx.transitions.easing.Strong.easeOut, 0, 100, delayTime, true); tween_handler.onMotionFinished = function () { pThis.fadeIn(pMc); }; } function setMessage() { messages = messages + 1; setMessagNum = 1; _root.hud.messageD.msg_txt.text = targetsLeft + " TARGETS LEFT..."; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); } id = 4; carId = 0; _root.carIdArr = []; carsAlive = 0; maxCars = 8; score = 0; nextCar = false; distTrav = 0; messages = 0; targetsLeft = 6; totalTargetCar = 0; totalLostCar = 0; targetsStored = targetsLeft; targetTime = 20; missionCompleteShown = false; currentLife = 0; averageSpeed = 0; deathRattle = 0; timerL = 0; lifeStored = 0; var delayTime = 1; messages = messages + 1; var tween_handler; moreGBtn._y = 460; moreGBtn.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; var checkInter; var checkLife = true; var checkRange = false; var pLife1; var hitLife = 0; var setInter = setInterval(mx.utils.Delegate.create(this, callFunc), 1000); _root.game.plusMc.hit = true; _root.hud.messageD._alpha = 0; _root.hud.messageD.msg_txt.text = ""; this.onEnterFrame = function () { if (game.player.life < 1) { deathRattle = deathRattle + 1; } if (deathRattle > 70) { gotoAndPlay ("death"); delete this.onEnterFrame; } if (targetsStored > targetsLeft) { messages = messages + 1; targetsStored = targetsLeft; if (targetsLeft > 0) { messages = messages + 1; _root.hud.messageD.msg_txt.text = "TARGET DESTROYED "; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); if (targetsLeft > 2) { hud.targetDisplay.targetDist = Math.round(_root.distTrav) + 5; hud.targetDisplay.told = false; } } hud.targetDisplay.told = false; } if ((targetsLeft == 0) && (targetTime > 0)) { targetTime = targetTime - 1; } if ((targetTime <= 0) && (missionCompleteShown == false)) { messages = messages + 1; var _local3 = 0; while (_local3 < _root.carIdArr.length) { var _local4 = _root.carIdArr[_local3]; if (_local4 != undefined) { removeMovieClip(_local4); _local4.removeMovieClip(); } _local3++; } _root.hud.messageD.msg_txt.text = "WellDone, You have successfully destroyed all the target......"; _root.hud.messageD.msg_txt._alpha = 100; fadeOut(_root.hud.messageD); targetsStored = targetsLeft; delete this.onEnterFrame; missionCompleteShown = true; } if (missionCompleteShown) { } var _local5 = (275 - (game._x + game.player._x)) * (game._xscale / 100); _x = (_x - ((_x - _local5) / 5)); hud._x = (-_x) + 300; moreGBtn._x = ((-_x) + 660) - moreGBtn._width; if (currentDepth > 50) { currentDepth = 0; } xscaler = (1 / (100 / _root.game._xscale)) + _root.game._x; yscaler = (1 / (100 / _root.game._yscale)) + _root.game._y; var _local3 = _root.maxCars; while (_local3 > 0) { if (_root.game["car" + _local3]._x == undefined) { _root.carId = _local3 - 1; } _local3 = _local3 - 1; } timerL = timerL + 1; if (timerL == 2) { if ((game.player.life > lifeStored) && (game.player.life > 0)) { game.player.life = game.player.life - ((game.player.life - lifeStored) * 2); } timerL = 0; } else { lifeStored = game.player.life; } }; stop();
Instance of Symbol 309 MovieClip "game" in Frame 51
onClipEvent (load) { trafficSound = new Sound(_root.game.effects); trafficSound.attachSound("traffic"); trafficSound.start(0, 99); } onClipEvent (enterFrame) { trafficSound.setVolume(_root.carsAlive * 5); var targetXscale = 43; _xscale = (_xscale - ((_xscale - targetXscale) / 5)); _yscale = _xscale; } on (keyPress "q") { if (_root._quality == "HIGH") { _root._quality = "MEDIUM"; } else if (_root._quality == "MEDIUM") { _root._quality = "LOW"; } else { _root._quality = "HIGH"; } }
Instance of Symbol 263 MovieClip "hud" in Frame 51
onClipEvent (load) { timer = 0; timesLogged = 0; totalSpeed = 0; averageSpeed = 0; fader.swapDepths(3000); } onClipEvent (enterFrame) { displayText = _root.game._x; _root.distTrav = _root.distTrav + (_root.game.player.yspeed / 5000); var speed = Math.round(_root.game.player.yspeed * 2); timer = timer + 1; if (timer > 1) { timesLogged = timesLogged + 1; totalSpeed = totalSpeed + speed; averageSpeed = Math.round(totalSpeed / timesLogged); timer = 0; } _root.currentLife = _root.game.player.life; lft_target.text = _root.targetsLeft; _root.averageSpeed = averageSpeed; health = Math.round(_root.currentLife); healthMc.maskMc._xscale = Math.round(health / 6); credits = Math.round(_root.score); currentSpeed = speed + "Mph"; dial._rotation = -80 + speed; }
Frame 56
_x = 0; _y = 0; messages = 0; timer = 0; remove = false; var calcScore = Math.round(((_root.score + (_root.averageSpeed * 2)) * (_root.currentLife / 30)) - (_root.distTrav * 5)); playMore.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; submitScore = calcScore; _root.s = submitScore; storeOldScore = _root.score; score_txt.text = submitScore; msg1_txt.text = "Your life left " + Math.round(_root.currentLife); msg2_txt.text = ("You have earned " + Math.round(storeOldScore)) + " Points..."; msg3_txt.text = ("Your average speed was " + Math.round(_root.averageSpeed)) + "Km\\h"; msg4_txt.text = ("You have traveled " + Math.round(_root.distTrav)) + "Km."; stopAllSounds(); restLvlBtn.onRelease = function () { gotoAndPlay ("game4"); }; restLvlGBtn.onRelease = function () { _root.levelPlay = "story1"; gotoAndPlay ("story1"); }; stop();
Frame 71
_x = 0; _y = 0; messages = 0; timer = 0; remove = false; stopAllSounds(); msg1_txt.text = "The targets got away"; msg2_txt.text = "Better luck next time"; playMore.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; restLvlGBtn.onRelease = function () { gotoAndPlay ("story1"); }; restLvlBtn.onRelease = function () { gotoAndPlay(_root.levelPlay); }; stop();
Instance of Symbol 334 MovieClip "messageD" in Frame 71
onClipEvent (load) { if (_name == "messageD") { gotoAndStop (101); } targetX = _x; targetY = _y; var save; } onClipEvent (enterFrame) { if (_currentframe == 50) { stop(); } _x = (_x - ((_x - targetX) / 5)); _y = (_y - ((_y - targetY) / 5)); if (((save != true) && (_root.remove == true)) && (_name != "messageD")) { _alpha = (_alpha - 10); } if (_alpha < 1) { this.removeMovieClip(); } }
Frame 72
_x = 0; _y = 0; messages = 0; timer = 0; remove = false; var calcScore = Math.round(((_root.score + (_root.averageSpeed * 2)) * (_root.currentLife / 30)) - (_root.distTrav * 5)); submitScore = calcScore; _root.s = submitScore; storeOldScore = _root.score; score_txt.text = submitScore; msg1_txt.text = "Your life left " + Math.round(_root.currentLife); msg2_txt.text = ("You have earned " + Math.round(storeOldScore)) + " Points..."; msg3_txt.text = ("Your average speed was " + Math.round(_root.averageSpeed)) + "Km\\h"; msg4_txt.text = ("You have traveled " + Math.round(_root.distTrav)) + "Km."; playMore.onRelease = function () { getURL ("http://www.cartitans.com", "_blank"); }; stopAllSounds(); playAgnBtn.onRelease = function () { gotoAndPlay ("story1"); }; stop();
Instance of Symbol 334 MovieClip "messageD" in Frame 72
onClipEvent (load) { if (_name == "messageD") { gotoAndStop (102); } targetX = _x; targetY = _y; var save; } onClipEvent (enterFrame) { if (_currentframe == 50) { stop(); } _x = (_x - ((_x - targetX) / 5)); _y = (_y - ((_y - targetY) / 5)); if (((save != true) && (_root.remove == true)) && (_name != "messageD")) { _alpha = (_alpha - 10); } if (_alpha < 1) { this.removeMovieClip(); } }
Instance of Symbol 339 MovieClip "sender" in Frame 72
onClipEvent (load) { timer = 0; enc = 0; } onClipEvent (enterFrame) { timer = timer + 1; if (timer == 20) { _root.score = _root.submitScore; _root.sendScore(); } }
Symbol 346 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 347 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 348 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween { var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime; function Tween (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } this.obj = obj; this.prop = prop; this.begin = begin; position = (begin); this.duration = (duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.finish = (finish); _listeners = []; addListener(this); start(); } function set time(t) { prevTime = _time; if (t > duration) { if (looping) { rewind(t - _duration); update(); broadcastMessage("onMotionLooped", this); } else { if (useSeconds) { _time = _duration; update(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (t < 0) { rewind(); update(); } else { _time = t; update(); } //return(time); } function get time() { return(_time); } function set duration(d) { _duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d)); //return(duration); } function get duration() { return(_duration); } function set FPS(fps) { var _local2 = isPlaying; stopEnterFrame(); _fps = fps; if (_local2) { startEnterFrame(); } //return(FPS); } function get FPS() { return(_fps); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { prevPos = _pos; obj[prop] = (_pos = p); broadcastMessage("onMotionChanged", this, _pos); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } return(func(t, begin, change, _duration)); } function set finish(f) { change = f - begin; //return(finish); } function get finish() { return(begin + change); } function continueTo(finish, duration) { begin = position; this.finish = (finish); if (duration != undefined) { this.duration = (duration); } start(); } function yoyo() { continueTo(begin, time); } function startEnterFrame() { if (_fps == undefined) { _global.MovieClip.addListener(this); } else { _intervalID = setInterval(this, "onEnterFrame", 1000 / _fps); } isPlaying = true; } function stopEnterFrame() { if (_fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(_intervalID); } isPlaying = false; } function start() { rewind(); startEnterFrame(); broadcastMessage("onMotionStarted", this); } function stop() { stopEnterFrame(); broadcastMessage("onMotionStopped", this); } function resume() { fixTime(); startEnterFrame(); broadcastMessage("onMotionResumed", this); } function rewind(t) { _time = ((t == undefined) ? 0 : (t)); fixTime(); update(); } function fforward() { time = (_duration); fixTime(); } function nextFrame() { if (useSeconds) { time = ((getTimer() - _startTime) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!useSeconds) { time = (_time - 1); } } function toString() { return("[Tween]"); } function fixTime() { if (useSeconds) { _startTime = getTimer() - (_time * 1000); } } function update() { position = (getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); function func(t, b, c, d) { return(((c * t) / d) + b); } }
Symbol 349 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong { function Strong () { } static function easeIn(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOut(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOut(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b); } static var version = "1.1.0.52"; }
Symbol 350 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 46 Button
on (release) { fader.target = "instructions"; fader.play(); }
Symbol 64 Button
on (release) { fader.target = "game1"; fader.play(); }
Instance of Symbol 93 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { origY = _y; } onClipEvent (enterFrame) { _y = (_y + _root.game.player.yspeed); if (_y > (origY + 1275)) { _y = origY; } }
Instance of Symbol 93 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { origY = _y; } onClipEvent (enterFrame) { _y = (_y + _root.game.player.yspeed); if (_y > (origY + 1275)) { _y = origY; } }
Instance of Symbol 93 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { origY = _y; } onClipEvent (enterFrame) { _y = (_y + _root.game.player.yspeed); if (_y > (origY + 1275)) { _y = origY; } }
Instance of Symbol 93 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { origY = _y; } onClipEvent (enterFrame) { _y = (_y + _root.game.player.yspeed); if (_y > (origY + 1275)) { _y = origY; } }
Symbol 100 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Instance of Symbol 100 MovieClip in Symbol 115 MovieClip Frame 1
onClipEvent (enterFrame) { _alpha = (100 - _parent._parent.life); if ((_parent._parent.life < 0) && (_parent._parent.life > -50)) { gotoAndStop (2); } if (_parent._parent.life < -50) { gotoAndStop (3); _alpha = 100; } }
Instance of Symbol 115 MovieClip in Symbol 119 MovieClip Frame 1
onClipEvent (load) { gotoAndStop(1 + random(10)); }
Symbol 119 MovieClip Frame 2
Instance of Symbol 115 MovieClip in Symbol 119 MovieClip Frame 2
onClipEvent (load) { gotoAndStop(1 + random(8)); }
Symbol 119 MovieClip Frame 3
Symbol 122 MovieClip Frame 6
gotoAndPlay (1);
Symbol 122 MovieClip Frame 14
gotoAndPlay ("loop");
Symbol 125 MovieClip Frame 1
id = 0; i = 0; while (i < _root.maxCars) { duplicateMovieClip (tracker, "tracker" + i, i + 1); i = i + 1; }
Instance of Symbol 124 MovieClip "tracker" in Symbol 125 MovieClip Frame 1
onClipEvent (load) { _parent.id = _parent.id + 1; id = _parent.id; } onClipEvent (enterFrame) { _x = _root.game["car" + id]._x; _y = _root.game["car" + id]._y; _width = (_root.game["car" + id]._width + 110); _height = _root.game["car" + id]._height; }
Symbol 133 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 1
maxLife = 600; life = maxLife; stop(); maxSpeed = 70; stop();
Instance of Symbol 175 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop(_totalframes - Math.round(_parent.life / (_parent.maxLife / _totalframes))); }
Symbol 177 MovieClip Frame 2
stop();
Symbol 177 MovieClip Frame 3
maxLife = 1000; life = maxLife; maxSpeed = 50; stop();
Symbol 177 MovieClip Frame 4
gotoAndStop (1);
Symbol 177 MovieClip Frame 5
stop();
Instance of Symbol 182 MovieClip "trail" in Symbol 183 MovieClip Frame 1
onClipEvent (load) { function randRange(min, max) { var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min; return(_local1); } colorArr = ["0x339999", "0x99CC66", "0x993333", "0xCCCC66"]; var pColor = new Color(this); pColor.setRGB(colorArr[randRange(0, 3)]); }
Symbol 187 MovieClip Frame 16
stop();
Symbol 191 MovieClip Frame 21
stop();
Instance of Symbol 183 MovieClip "spark" in Symbol 201 MovieClip Frame 1
onClipEvent (load) { var xspeed = ((-200 + random(400)) / 100); var yspeed = 5; var adjside = ((_x + xspeed) - _x); var oppside = (-1 * ((_y + yspeed) - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; trail._rotation = -1 * angle; trail._width = trail._width + ((-yspeed) / 5); } onClipEvent (enterFrame) { xspeed = xspeed * 0.97; yspeed = yspeed * 0.97; var adjside = ((_x + xspeed) - _x); var oppside = (-1 * ((_y + yspeed) - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; trail._rotation = -1 * angle; trail._width = trail._width + ((-yspeed) / 2); _x = (_x + xspeed); _y = (_y + (yspeed + _root.game.player.yspeed)); if (_name != "spark") { if ((_y > 400) || (_y < -1500)) { removeMovieClip(this); } } }
Instance of Symbol 185 MovieClip "skid" in Symbol 201 MovieClip Frame 1
onClipEvent (load) { } onClipEvent (enterFrame) { _y = (_y + _root.game.player.yspeed); if (_name != "skid") { if ((_y > 400) || (_y < -1500)) { removeMovieClip(this); } } }
Instance of Symbol 187 MovieClip "paint" in Symbol 201 MovieClip Frame 1
onClipEvent (load) { var xspeed = ((-200 + random(400)) / 100); var yspeed = random(5); } onClipEvent (enterFrame) { _x = (_x + xspeed); _y = (_y + (yspeed + _root.game.player.yspeed)); if (_name != "paint") { if ((_y > 400) || (_y < -1500)) { removeMovieClip(this); } } }
Instance of Symbol 191 MovieClip "smoke" in Symbol 201 MovieClip Frame 1
onClipEvent (load) { var xspeed = ((-200 + random(400)) / 100); var yspeed = random(5); } onClipEvent (enterFrame) { _x = (_x + xspeed); _y = (_y + (yspeed + _root.game.player.yspeed)); if (_name != "smoke") { if ((_y > 400) || (_y < -1500)) { removeMovieClip(this); } } }
Instance of Symbol 191 MovieClip "smoke2" in Symbol 201 MovieClip Frame 1
onClipEvent (load) { var xspeed = ((-200 + random(400)) / 100); var yspeed = random(5); } onClipEvent (enterFrame) { _x = (_x + xspeed); _y = (_y + (yspeed + _root.game.player.yspeed)); if (_name != "smoke2") { if ((_y > 400) || (_y < -1500)) { removeMovieClip(this); } } }
Instance of Symbol 200 MovieClip "tire" in Symbol 201 MovieClip Frame 1
onClipEvent (load) { var xspeed = ((-200 + random(400)) / 20); var yspeed = (-20 + random(40)); gotoAndStop(1 + random(8)); } onClipEvent (enterFrame) { xspeed = xspeed * 0.94; yspeed = yspeed * 0.94; _x = (_x + xspeed); _y = (_y + (yspeed + _root.game.player.yspeed)); _rotation = (_rotation + xspeed); if (_name != "tire") { if ((_y > 400) || (_y < -1500)) { removeMovieClip(this); } } }
Symbol 212 MovieClip Frame 1
_root.game.sound.owned = 0; _root.game.sound.owner = this; _root.game.sound.type = 2; _root.game.sound.size = sizeE; if (_name == "explosion") { stop(); } stop();
Symbol 212 MovieClip Frame 14
if (_name != "explosion") { removeMovieClip(this); }
Symbol 233 MovieClip Frame 1
_root.game.sound.owned = 0; _root.game.sound.owner = this; _root.game.sound.type = 2; _root.game.sound.size = sizeE; if (_name == "explosion") { stop(); }
Symbol 233 MovieClip Frame 11
if (_name != "explosion") { removeMovieClip(this); }
Instance of Symbol 82 MovieClip "track" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { startY = _y; } onClipEvent (enterFrame) { _y = (_y + _parent.player.yspeed); if ((_y + _parent.player.yspeed) > (startY + 325)) { _y = startY; } }
Instance of Symbol 88 MovieClip "lane1" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 35; targetX = _x; id = 1; }
Instance of Symbol 88 MovieClip "lane2" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 30; targetX = _x; id = 2; }
Instance of Symbol 88 MovieClip "lane3" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 25; targetX = _x; id = 3; }
Instance of Symbol 88 MovieClip "lane4" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 20; targetX = _x; id = 4; }
Instance of Symbol 90 MovieClip "slower" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 94 MovieClip "walls" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { xspeed = 0; yspeed = 0; mass = 1000; } onClipEvent (enterFrame) { xspeed = 0; yspeed = 0; }
Instance of Symbol 119 MovieClip "car" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { var lane; var laneId; var truckLikely = (1 + random(10)); if (truckLikely == 5) { gotoAndStop(1 + random(4)); } else { gotoAndStop(1 + random(3)); } startY = _y; yspeed = 0; xspeed = 0; hitTimes = 0; spin = 0; targetX = lane.targetX; if (_x > 0) { up = false; _rotation = (_rotation + 180); yspeed = -lane.maxSpeed; maxSpeed = lane.maxSpeed; } else { up = true; _rotation = 0; yspeed = lane.maxSpeed; maxSpeed = lane.maxSpeed; } life = 100; target = _parent.player; mass = (_height + _width) / 33; exploded = false; timerSmoke = 0; sparkNo = 0; var targetCar; messageShown = false; engineStarted = false; sDiff = 0; deadCar = false; } onClipEvent (enterFrame) { function hitSounds() { var _local2 = 1 + random(3); hitSound = new Sound(this); if (_local2 == 1) { hitSound.attachSound("hit1"); } else if (_local2 == 2) { hitSound.attachSound("hit2"); } else { hitSound.attachSound("hit3"); } hitSound.setVolume(sparkNo * 5); hitSound.start(0, 0); } if (targetCar == true) { _root.game.targetShow._x = _x; _root.game.targetShow._y = _y; _root.game.targetShow.play(); lane = _root.game.lane1; targetX = lane.targetX; maxSpeed = lane.maxSpeed; if ((life < 1) && (messageShown == false)) { _root.score = _root.score + 2000; if (_root.targetsLeft == 0) { _root.extraCar = true; } _root.targetsLeft = _root.targetsLeft - 1; messageShown = true; targetCar = false; _root.game.targetShow._x = -2000; deadCar = true; } } else if ((life < 1) && (deadCar != true)) { _root.carsBlownUp = _root.carsBlownUp + 1; if (_currentframe == 4) { _root.trucksKilled = _root.trucksKilled + 1; } deadCar = true; } if (_name != "car") { _parent.showMc._x = _x; _parent.showMc._y = passY; i = 0; while (i < (_root.maxCars + 1)) { if (_root.game["car" + i]._x != undefined) { if (_root.game["car" + i] != this) { target = _root.game["car" + i]; } else { target = _parent.player; } var adjside = (target._x - _x); var oppside = (-1 * (target._y - _y)); var dist = Math.sqrt((adjside * adjside) + (oppside * oppside)); var distMax = (_height + (target._height / 2)); if (dist < distMax) { if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { xspeed = xspeed + (((_x - target._x) / 40) + (target.xspeed / 5)); if ((target._x > (_x - ((_width / 2) + (target._width / 2.2)))) && (target._x < (_x + ((_width / 2) + (target._width / 2.2))))) { var s1 = yspeed; var s2 = target.yspeed; var sDiff = 0; if (((s1 < 0) && (s2 >= 0)) || ((s2 < 0) && (s1 >= 0))) { if (s1 < 0) { var sDiff = (s2 - s1); } else { var sDiff = (s1 - s2); } } else if ((s1 >= 0) && (s2 >= 0)) { if (s1 > s2) { var sDiff = (s1 - s2); } else { var sDiff = (s2 - s1); } } else { var sDiff = (s1 - s2); } if (sDiff < 0) { sDiff = -sDiff; } if (sDiff > 6) { sDiff = sDiff - 5; life = life - (((sDiff * 12) / mass) / 2); target.life = target.life - (((sDiff * 12) / mass) / 4); sparkNo = sDiff; } if (sDiff > 3) { hitSounds(); } if (((target == _parent.player) && (targetCar == false)) && (targetCar == false)) { _parent.player.hitTime = 0; _root.score = _root.score - (sDiff / 5); } i == 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height / 2); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + 5; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } maxSpeed = maxSpeed - random(2); var v1 = yspeed; var m1 = mass; var v2 = target.yspeed; var m2 = target.mass; var newV1 = ((((m1 - m2) / (m1 + m2)) * v1) + (((2 * m2) / (m1 + m2)) * v2)); var newV2 = ((((2 * m1) / (m1 + m2)) * v1) - (((m1 - m2) / (m1 + m2)) * v2)); if ((_y > target._y) && (newV1 < v1)) { yspeed = newV1; target.yspeed = newV2; } } } if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { xspeed = xspeed + (((_x - target._x) / 40) + (target.xspeed / 5)); if ((target._x > (_x - ((_width / 2) + (target._width / 2)))) && (target._x < (_x + ((_width / 2) + (target._width / 2))))) { var s1 = yspeed; var s2 = target.yspeed; var sDiff = 0; if (((s1 < 0) && (s2 >= 0)) || ((s2 < 0) && (s1 >= 0))) { if (s1 < 0) { var sDiff = (s2 - s1); } else { var sDiff = (s1 - s2); } } else if ((s1 >= 0) && (s2 >= 0)) { if (s1 > s2) { var sDiff = (s1 - s2); } else { var sDiff = (s2 - s1); } } else { var sDiff = (s1 - s2); } if (sDiff < 0) { sDiff = -sDiff; } if (sDiff > 6) { sDiff = sDiff - 5; life = life - (((sDiff * 12) / mass) / 2); target.life = target.life - (((sDiff * 12) / mass) / 4); sparkNo = sDiff; } if (sDiff > 3) { hitSounds(); } if ((target == _parent.player) && (targetCar == false)) { _parent.player.hitTime = 0; _root.score = _root.score - (sDiff / 5); } i == 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width); _root.game.effects["spark" + _root.game.effects.id]._y = (_y + (_height / 2)) - random(_height / 2); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + 5; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } var v1 = yspeed; var m1 = mass; var v2 = target.yspeed; var m2 = target.mass; var newV1 = ((((m1 - m2) / (m1 + m2)) * v1) + (((2 * m2) / (m1 + m2)) * v2)); var newV2 = ((((2 * m1) / (m1 + m2)) * v1) - (((m1 - m2) / (m1 + m2)) * v2)); if ((_y < target._y) && (newV1 > v1)) { yspeed = newV1; target.yspeed = newV2; } maxSpeed = maxSpeed + random(2); } } if (((target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 3)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (height / 3)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { var speedDiff = ((xspeed - target.xspeed) + (yspeed - target.yspeed)); if (speedDiff > 0) { var sparkNo = speedDiff; } else { var sparkNo = (-speedDiff); } hitTimes = hitTimes + 1; var v1 = xspeed; var m1 = mass; var v2 = target.xspeed; var m2 = target.mass; var newV1 = ((((m1 - m2) / (m1 + m2)) * v1) + (((2 * m2) / (m1 + m2)) * v2)); var newV2 = ((((2 * m1) / (m1 + m2)) * v1) - (((m1 - m2) / (m1 + m2)) * v2)); if ((target == _parent.player) && (targetCar == false)) { _parent.player.hitTime = 0; _root.score = _root.score - (sDiff / 5); } if ((_x > target._x) && (newV1 > v1)) { i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } xspeed = newV1; target.xspeed = newV2; } if ((_x < target._x) && (newV1 < v1)) { i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } xspeed = newV1; target.xspeed = newV2; } life = life - (((sparkNo * 12) / mass) / 8); } } } i = i + 1; } var target = _parent.walls; if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2.4)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2.4)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { if (yspeed > 0) { var sparkNo = yspeed; } if (yspeed < 0) { var sparkNo = (-yspeed); } hitSounds(); i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 2); yspeed = (-yspeed) * 0.5; } if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2.2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2.2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { var s1 = yspeed; var s2 = target.yspeed; var sDiff = 0; if (((s1 < 0) && (s2 >= 0)) || ((s2 < 0) && (s1 >= 0))) { if (s1 < 0) { sDiff = s2 - s1; } else { sDiff = s1 - s2; } } else if ((s1 >= 0) && (s2 >= 0)) { if (s1 > s2) { sDiff = s1 - s2; } else { sDiff = s2 - s1; } } else { sDiff = s1 - s2; } if (sDiff < 0) { sDiff = -sDiff; } sparksNo = sDiff; hitSounds(); i = 0; while (i < (sparkNo / 4)) { hitSounds(); _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 2); yspeed = (-yspeed) * 0.5; } if (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { _x = (_x - (xspeed / 3)); xspeed = (-xspeed) * 0.2; if (yspeed > 0) { var sparkNo = yspeed; } if (yspeed < 0) { var sparkNo = (-yspeed); } if ((sparkNo / 4) > 1) { hitSounds(); } hitSounds(); i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 6); } if (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { _x = (_x - (xspeed / 3)); xspeed = (-xspeed) * 0.2; if (yspeed > 0) { var sparkNo = yspeed; } if (yspeed < 0) { var sparkNo = (-yspeed); } if ((sparkNo / 4) > 1) { hitSounds(); } i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 6); } if (_root.game.sound.type == 2) { var dist = Math.sqrt(((_x - _root.game.sound._x) * (_x - _root.game.sound._x)) + ((_y - _root.game.sound._y) * (_y - _root.game.sound._y))); if (dist < 300) { interestX = _root.game.sound._x; interestY = _root.game.sound._y; interestLevel = interestLevel + 50; } if (dist < (_root.game.sound.size * 2)) { life = life - (((_root.game.sound.size * 2) - dist) / 8); var adjside = (_root.game.sound._x - _x); var oppside = (-1 * (_root.game.sound._y - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; var throwRot = (-1 * angle); xspeed = xspeed - (Math.cos(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (10 * mass))); yspeed = yspeed + (Math.sin(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (10 * mass))); } } if ((life < -75) && (exploded == false)) { exploded = true; _root.id = _root.id + 1; _root.game.expTargetX = _x; _root.game.expTargetY = _y; _root.game.expSize = _height; _root.game.expSize = _height; duplicateMovieClip (_root.game.explosion, "explosion" + _root.id, _root.id + 300); _root.game["explosion" + _root.id]._x = _x; _root.game["explosion" + _root.id]._y = _y; _root.game["explosion" + _root.id]._height = _root.game.expSize / 2.5; _root.game["explosion" + _root.id]._width = _root.game.expSize / 2.5; _root.game["explosion" + _root.id].sizeE = _root.game.expSize * 2; i = 0; while (i < 4) { _root.game.effects2.id = _root.game.effects2.id + 1; duplicateMovieClip (_parent.effects2.tire, "spark" + _parent.effects2.id, _parent.effects2.id + 1); _root.game.effects2["spark" + _root.game.effects2.id]._x = _x; _root.game.effects2["spark" + _root.game.effects2.id]._y = _y; i = i + 1; } } if ((life < 50) && (life > -75)) { timerSmoke = timerSmoke + 1; if (timerSmoke > 1) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.smoke, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = _x; _root.game.effects["spark" + _root.game.effects.id]._y = _y; _root.game.effects["spark" + _root.game.effects.id]._height = _root.game.effects["spark" + _root.game.effects.id]._height + _root.game.player.yspeed; _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); timerSmoke = 0; } } if (life < -75) { timerSmoke = timerSmoke + 1; if (timerSmoke > 1) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.smoke2, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = _x; _root.game.effects["spark" + _root.game.effects.id]._y = _y; _root.game.effects["spark" + _root.game.effects.id]._height = _root.game.effects["spark" + _root.game.effects.id]._height + _root.game.player.yspeed; _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); timerSmoke = 0; } } if (life > 0) { if ((_x + xspeed) < targetX) { xspeed = xspeed + 0.2; } else if ((_x < targetX) && (xspeed > 0)) { xspeed = xspeed * 0.97; } if ((_x + xspeed) > targetX) { xspeed = xspeed - 0.2; } if ((_x > targetX) && (xspeed < 0)) { xspeed = xspeed * 0.97; } if (up == false) { if (yspeed > (-maxSpeed)) { yspeed = yspeed - (maxSpeed / 30); } _rotation = (((xspeed * 3) + spin) + 180); } else { var laneChange = random(500); if (laneChange == 10) { var chooseLane = (1 + random(3)); lane = _root.game["lane" + chooseLane]; targetX = lane.targetX; maxSpeed = lane.maxSpeed; } if (yspeed < maxSpeed) { yspeed = yspeed + (maxSpeed / 30); } _rotation = ((xspeed * 6) / mass); } } else { _rotation = (_rotation + ((xspeed * 10) / mass)); } if ((_name != "car") && (targetCar != true)) { if ((_y > 600) || (_y < -1700)) { _root.carsAlive = _root.carsAlive - 1; engineSound.stop(); removeMovieClip(this); } } xspeed = xspeed * 0.97; yspeed = yspeed * 0.97; showy = _y; showx = _x; _x = (_x + xspeed); _y = (_y - ((-_parent.player.yspeed) + yspeed)); if (targetCar == true) { _root.game.targetShow.play(); _root.game.targetShow._x = _x; _root.game.targetShow._y = _y; } } }
Instance of Symbol 122 MovieClip "targetShow" in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) { this.swapDepths(501); }
Instance of Symbol 128 MovieClip "targetShow1" in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) { }
Instance of Symbol 130 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (load) { timer = 0; spawnTime = 200; startX = _x; newLane = none; oldLane = alsoNone; lastCar = none; createCar = true; targetSpawned = false; } onClipEvent (enterFrame) { if (_root.nextCar == true) { var amount = (1 + random(4)); _x = _root.game["lane" + amount]._x; newLane = _root.game["lane" + amount]; } else { var amount = (1 + random(4)); _x = _root.game["lane" + amount]._x; newLane = _root.game["lane" + amount]; } timer = timer + (_root.game.player.yspeed + random(_root.game.player.yspeed / 2)); if (newLane != oldLane) { if (lastCar._y < (_y + lastCar._height)) { createCar = false; } else { createCar = true; } } else { createCar = false; } if ((((timer > spawnTime) && (_root.carsAlive < _root.maxCars)) && (createCar == true)) && (_root.carId != 10)) { _root.carsAlive = _root.carsAlive + 1; _root.carId = _root.carId + 1; if (_root.game["car" + _root.carId]._x == undefined) { duplicateMovieClip (_parent.car, "car" + _root.carId, _root.carId + 151); if (_root.nextCar == true) { _root.game["car" + _root.carId]._x = (_x - 2) + random(4); _root.game["car" + _root.carId]._y = _y; _root.game["car" + _root.carId].lane = _root.game["lane" + amount]; _root.game["car" + _root.carId].laneId = 2; _root.game["car" + _root.carId].targetCar = true; _root.nextCar = false; } else { _root.game["car" + _root.carId]._x = (_x - 2) + random(4); _root.game["car" + _root.carId]._y = _y; _root.game["car" + _root.carId].lane = _root.game["lane" + amount]; _root.game["car" + _root.carId].laneId = amount; _root.game["car" + _root.carId].targetCar = false; } lastCar = _root.game["car" + _root.carId]; timer = 0; } oldLane = _root.game["lane" + amount]; } }
Instance of Symbol 133 MovieClip "prop" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { startY = _y; yspeed = 0; xspeed = 0; hitTimes = 0; } onClipEvent (enterFrame) { if (_parent.player.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + _parent.player.yspeed) * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { hitTimes = hitTimes + 1; if (_currentframe == 1) { yspeed = yspeed - _parent.player.yspeed; } else { yspeed = yspeed - (_parent.player.yspeed * 0.5); } xspeed = xspeed + (((_x - _parent.player._x) / 40) + (_parent.player.xspeed / 2)); _parent.player.yspeed = _parent.player.yspeed / 1.01; gotoAndStop (2); } if (hitTimes > 10) { _root.hud.displayText = "Cone carrying bonus 200 points!"; _root.hud.score = _root.hud.score + 200; } var target = _parent.walls; if (target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { yspeed = (-yspeed) * 0.5; } if (target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (yspeed + _root.game.player.yspeed)) { yspeed = (-yspeed) * 0.5; } if (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed < 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; } if (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed > 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; } xspeed = xspeed * 0.97; yspeed = yspeed * 0.97; showy = _y; showx = _x; _rotation = (_rotation + ((xspeed + yspeed) * 4)); _x = (_x + xspeed); _y = (_y + (_parent.player.yspeed + yspeed)); }
Instance of Symbol 177 MovieClip "player" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { gotoAndStop (1); maxSpeed = 50; yspeed = 50; xspeed = 0; mass = ((_height + _width) / 33) * 5; maxLife = 300; life = maxLife; slowTimer = 0; origWidth = _width; this.swapDepths(2); yspeed = 60; exploded = false; smokeTime = 0; hitTime = 0; skidPlaying = false; rev = true; revLength = 0; explodeTimer = 10; colorArr = ["0x339999", "0x99CC66", "0x993333", "0xCCCC66"]; } onClipEvent (enterFrame) { if (_root.hud.speed >= 200) { skidActive = true; } if (skidActive == true) { if (Key.isDown(40) || (Key.isDown(32))) { } else { skidActive = false; } } if ((skidActive == true) && (_root.hud.speed <= 30)) { _root.skidDone = true; } if (_root.game.cars.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (yspeed > 30)) { hitTime = hitTime + 1; } else if (hitTime > 0) { _root.score = _root.score + (yspeed / 5); hitTime = 0; } else { hitTime = 0; } if (yspeed < 0) { yspeed = yspeed - (yspeed / 2); } if ((yspeed / 5) < 3.5) { var turnSpeed = (yspeed / 5); } else { turnSpeed = 3.5; } if ((Key.isDown(38) && (yspeed < maxSpeed)) && (life > 0)) { yspeed = yspeed + 0.8; } if ((Key.isDown(32) && (yspeed > 0)) || ((Key.isDown(40) && (yspeed > 0)) && (life > 0))) { yspeed = yspeed - 1.4; turnSpeed = turnSpeed + 0.1; if (yspeed > 10) { if (skidPlaying == false) { skidSound = new Sound(this); skidSound.attachSound("skid"); skidSound.start(0, 4); skidPlaying = true; } skidSound.setVolume(yspeed * 2); var adjside = ((_x - xspeed) - _x); var oppside = (-1 * ((_y + yspeed) - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; _root.game.effects2.id = _root.game.effects2.id + 1; duplicateMovieClip (_root.game.effects2.skid, "spark" + _root.game.effects2.id, _root.game.effects2.id + 1); if (_rotation <= 0) { _root.game.effects2["spark" + _root.game.effects2.id]._x = ((_x + (_width / 2)) - 8) + xspeed; } else { _root.game.effects2["spark" + _root.game.effects2.id]._x = (((_x + (_width / 2)) - (_rotation * 1.8)) - 8) + xspeed; } _root.game.effects2["spark" + _root.game.effects2.id]._y = _y + (_height / 3); _root.game.effects2["spark" + _root.game.effects2.id]._height = yspeed + 4; _root.game.effects2["spark" + _root.game.effects2.id]._alpha = yspeed * 1.5; _root.game.effects2["spark" + _root.game.effects2.id]._rotation = (-1 * angle) - 90; _root.game.effects2.id = _root.game.effects2.id + 1; duplicateMovieClip (_root.game.effects2.skid, "spark" + _root.game.effects2.id, _root.game.effects2.id + 1); if (_rotation >= 0) { _root.game.effects2["spark" + _root.game.effects2.id]._x = ((_x - (_width / 2)) + 8) + xspeed; } else { _root.game.effects2["spark" + _root.game.effects2.id]._x = (((_x - (_width / 2)) - (_rotation * 1.8)) + 8) + xspeed; } _root.game.effects2["spark" + _root.game.effects2.id]._y = _y + (_height / 3); _root.game.effects2["spark" + _root.game.effects2.id]._height = yspeed + 4; _root.game.effects2["spark" + _root.game.effects2.id]._alpha = yspeed * 1.5; _root.game.effects2["spark" + _root.game.effects2.id]._rotation = (-1 * angle) - 90; } else { skidSound.stop(); skidPlaying = false; } } else { if (turnSpeed > 3.5) { turnSpeed = turnSpeed - 0.1; } skidPlaying = false; skidSound.stop(); } if (Key.isDown(39) && (life > 0)) { xspeed = xspeed + turnSpeed; } if (Key.isDown(37) && (life > 0)) { xspeed = xspeed - turnSpeed; } _rotation = (xspeed / 2); xspeed = xspeed * 0.8; _x = (_x + xspeed); yspeed = yspeed * 0.99; showx = _x; showy = _y; if (life < 0) { explodeTimer = explodeTimer + 1; } if ((life < 0) && (explodeTimer > 20)) { explodeTimer = 0; exploded = true; _root.id = _root.id + 1; _root.game.expTargetX = _x; _root.game.expTargetY = _y; _root.game.expSize = _height; _root.game.expSize = _height; duplicateMovieClip (_root.game.explosion, "explosion" + _root.id, _root.id + 1); _root.game["explosion" + _root.id]._x = _x; _root.game["explosion" + _root.id]._y = _y; _root.game["explosion" + _root.id]._height = _root.game.expSize / 3; _root.game["explosion" + _root.id]._width = _root.game.expSize / 3; _root.game["explosion" + _root.id].sizeE = _root.game.expSize * 2; } if (life < 40) { smokeTime = smokeTime + (yspeed / 5); if (smokeTime > 5) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.smoke, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = _x; _root.game.effects["spark" + _root.game.effects.id]._y = _y - (_height / 2); _root.game.effects["spark" + _root.game.effects.id]._height = _root.game.effects["spark" + _root.game.effects.id]._height + yspeed; _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = yspeed; _root.game.effects.id = _root.game.effects.id + 1; smokeTime = 0; } } var target = _parent.walls; if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 3)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 3)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { if (yspeed > 0) { life = life - yspeed; } else { life = life + yspeed; } yspeed = (-yspeed) * 1; } if (target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (yspeed + _root.game.player.yspeed)) { if (yspeed > 0) { life = life - yspeed; } else { life = life + yspeed; } _y = (_y - yspeed); yspeed = (-yspeed) * 1; } if (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed < 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; var sparkNo = ((yspeed / 5) - 2); life = life - (sparkNo / 5); i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.spark, "spark" + _root.game.effects.id, _root.game.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.paint, "spark" + _root.game.effects.id, _root.game.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = yspeed * 1.5; i = i + 1; } } if (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed > 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; var sparkNo = ((yspeed / 5) - 2); life = life - (sparkNo / 5); i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.spark, "spark" + _root.game.effects.id, _parent.effects.id + 1); var pColor = new Color(_root.game.effects["spark" + _root.game.effects.id]); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.paint, "spark" + _root.game.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = yspeed * 1.5; i = i + 1; } } if (_root.game.slower.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { if ((_x * (1 / (100 / _root.game._xscale))) < 0) { _root.pavementTime = _root.pavementTime + 1; } if (slowTimer < 20) { slowTimer = slowTimer + 1; } else { yspeed = yspeed * 0.98; } } else if (slowTimer > 0) { slowTimer = slowTimer - 1; } if (this.hitTest(_parent.plusMc) && (_parent.plusMc.hit == false)) { _parent.plusMc._alpha = 0; _parent.plusMc.hit = true; life = life + (0.1 * maxLife); if (life >= maxLife) { life = maxLife; } _root.checkHitStatus(); } if (_root.game.sound.type == 2) { var dist = Math.sqrt(((_x - _root.game.sound._x) * (_x - _root.game.sound._x)) + ((_y - _root.game.sound._y) * (_y - _root.game.sound._y))); if (dist < 300) { interestX = _root.game.sound._x; interestY = _root.game.sound._y; interestLevel = interestLevel + 50; } if (dist < (_root.game.sound.size * 2)) { life = life - (((_root.game.sound.size * 2) - dist) / 50); var adjside = (_root.game.sound._x - _x); var oppside = (-1 * (_root.game.sound._y - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; var throwRot = (-1 * angle); xspeed = xspeed - (Math.cos(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (5 * mass))); yspeed = yspeed + (Math.sin(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (5 * mass))); } } }
Instance of Symbol 179 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (load) { targetC = _parent.targetShow; } onClipEvent (enterFrame) { if ((_root.hud.targetDisplay.pDist < 1) && (_root.nextCar == false)) { _alpha = 100; } else { _alpha = 0; } _x = _root.game.player._x; this.swapDepths(_root.game.getNextHighestDepth()); var adjside = (targetC._x - _x); var oppside = (-1 * (targetC._y - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; _rotation = (-1 * angle); }
Instance of Symbol 201 MovieClip "effects" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { id = 0; } onClipEvent (enterFrame) { this.swapDepths(300); if (id > 50) { id = 0; } }
Instance of Symbol 203 MovieClip "sound" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { owner = false; owned = 0; type = 1; size = 1; } onClipEvent (enterFrame) { if (owner != false) { if (owned < 1) { _x = owner._x; _y = owner._y; } owned = owned + 1; } if (owned > 2) { owner = false; owned = 0; type = 1; _x = -9999; } }
Instance of Symbol 212 MovieClip "explosion__" in Symbol 236 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 233 MovieClip "explosion" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { var sizeE; if ((_x - _root.game.player._x) > 100) { pan = 100; } else if ((_x - _root.game.player._x) < -100) { pan = -100; } else { pan = _x - _root.game.player._x; } vol = 100 - (Math.sqrt(((_x - _root.game.player._x) * (_x - _root.game.player._x)) + ((_y - _root.game.player._y) * (_y - _root.game.player._y))) / 10); if (vol > 100) { vol = 100; } if (vol < 0) { vol = 0; } if (_name == "explosion") { _visible = false; } else { explosionSound = new Sound(this); explosionSound.attachSound("explosion"); explosionSound.setPan(pan); explosionSound.setVolume(vol); explosionSound.start(0, 0); explosionSound.setPan(pan); explosionSound.setVolume(vol); } time = 100; } onClipEvent (enterFrame) { _y = (_y + _root.game.player.yspeed); if ((_x - _root.game.player._x) > 100) { pan = 100; } else if ((_x - _root.game.player._x) < -100) { pan = -100; } else { pan = _x - _root.game.player._x; } vol = 100 - (Math.sqrt(((_x - _root.game.player._x) * (_x - _root.game.player._x)) + ((_y - _root.game.player._y) * (_y - _root.game.player._y))) / 10); if (vol > 100) { vol = 100; } if (vol < 0) { vol = 0; } explosionSound.setPan(pan); explosionSound.setVolume(vol); }
Instance of Symbol 201 MovieClip "effects2" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { id = 0; _x = 0; _y = 0; } onClipEvent (enterFrame) { this.swapDepths(1); if (id > 50) { id = 0; } }
Instance of Symbol 62 MovieClip "plusMc" in Symbol 236 MovieClip Frame 1
onClipEvent (load) { startY = _y; var pArr = [_root.game.lane1.targetX, _root.game.lane2.targetX, _root.game.lane3.targetX, _root.game.lane4.targetX]; } onClipEvent (enterFrame) { if (hit == false) { _y = (_y + _parent.player.yspeed); } if (((_y + _parent.player.yspeed) > (startY + 1725)) || (hit == true)) { hit = true; _y = startY; var pX = int(Math.random() * 3); this._x = pArr[pX] - (this._width / 2); } }
Instance of Symbol 235 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) { this.swapDepths(1001); }
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 11
gotoAndPlay ("start");
Instance of Symbol 239 MovieClip "targetDisplay" in Symbol 263 MovieClip Frame 1
onClipEvent (load) { timeSoFar = 1200; secs = 0; mins = 8; targetDist = 5; told = false; pDist = 0; _parent.aheadMc._visible = false; } onClipEvent (enterFrame) { if (((targetDist - Math.round(_root.distTrav)) < 1) && (told == false)) { if (_root.levelPlay == "story4") { if (_root.totalTargetCar < 6) { _root.nextCar = true; told = true; } } else { _root.nextCar = true; told = true; } } if (told == false) { _alpha = 100; } pDist = targetDist - Math.round(_root.distTrav); dist = pDist + "Km"; timeSoFar = timeSoFar + 1; if (Math.round(timeSoFar / 25) < 10) { secs = "0" + Math.round(timeSoFar / 25); } else { secs = Math.round(timeSoFar / 25); } if (secs == 60) { mins = mins + 1; timeSoFar = 0; } time = (("8:5" + mins) + ".") + secs; }
Symbol 295 MovieClip Frame 1
stop();
Instance of Symbol 100 MovieClip in Symbol 295 MovieClip Frame 1
onClipEvent (enterFrame) { _alpha = (100 - _parent._parent.life); if ((_parent._parent.life < 0) && (_parent._parent.life > -50)) { gotoAndStop (2); } if (_parent._parent.life < -50) { gotoAndStop (3); _alpha = 100; } }
Instance of Symbol 115 MovieClip in Symbol 296 MovieClip Frame 1
onClipEvent (load) { gotoAndStop(1 + random(10)); }
Symbol 296 MovieClip Frame 2
Instance of Symbol 115 MovieClip in Symbol 296 MovieClip Frame 2
onClipEvent (load) { gotoAndStop(1 + random(8)); }
Symbol 296 MovieClip Frame 3
Symbol 296 MovieClip Frame 5
stop();
Instance of Symbol 295 MovieClip in Symbol 296 MovieClip Frame 5
/* no clip actions */
Instance of Symbol 82 MovieClip "track" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { startY = _y; } onClipEvent (enterFrame) { _y = (_y + _parent.player.yspeed); if ((_y + _parent.player.yspeed) > (startY + 325)) { _y = startY; } }
Instance of Symbol 88 MovieClip "lane1" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 35; targetX = _x; id = 1; }
Instance of Symbol 88 MovieClip "lane2" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 30; targetX = _x; id = 2; }
Instance of Symbol 88 MovieClip "lane3" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 25; targetX = _x; id = 3; }
Instance of Symbol 88 MovieClip "lane4" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 20; targetX = _x; id = 4; }
Instance of Symbol 90 MovieClip "slower" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 94 MovieClip "walls" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { xspeed = 0; yspeed = 0; mass = 1000; } onClipEvent (enterFrame) { xspeed = 0; yspeed = 0; }
Instance of Symbol 296 MovieClip "car" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { var lane; var laneId; var truckLikely = (1 + random(10)); if (targetCar == true) { gotoAndStop ("badGuy"); } else if (truckLikely == 5) { gotoAndStop(1 + random(4)); } else { gotoAndStop(1 + random(3)); } startY = _y; yspeed = 0; xspeed = 0; hitTimes = 0; spin = 0; targetX = lane.targetX; if (_x > 0) { up = false; _rotation = (_rotation + 180); yspeed = -lane.maxSpeed; maxSpeed = lane.maxSpeed; } else { up = true; _rotation = 0; yspeed = lane.maxSpeed; maxSpeed = lane.maxSpeed; } life = 100; target = _parent.player; mass = (_height + _width) / 33; exploded = false; timerSmoke = 0; sparkNo = 0; var targetCar; messageShown = false; engineStarted = false; sDiff = 0; deadCar = false; } onClipEvent (enterFrame) { function hitSounds() { var _local2 = 1 + random(3); hitSound = new Sound(this); if (_local2 == 1) { hitSound.attachSound("hit1"); } else if (_local2 == 2) { hitSound.attachSound("hit2"); } else { hitSound.attachSound("hit3"); } hitSound.setVolume(sparkNo * 5); hitSound.start(0, 0); hitSound.setVolume(sparkNo * 5); } if (targetCar == true) { _root.game.targetShow._x = _x; _root.game.targetShow._y = _y; _root.game.targetShow.play(); lane = _root.game.lane1; targetX = lane.targetX; maxSpeed = lane.maxSpeed; if ((life < 1) && (messageShown == false)) { _root.score = _root.score + 2000; if (_root.targetsLeft == 0) { _root.extraCar = true; } _root.targetsLeft = _root.targetsLeft - 1; messageShown = true; targetCar = false; _root.game.targetShow._x = -2000; deadCar = true; } } else if ((life < 1) && (deadCar != true)) { _root.carsBlownUp = _root.carsBlownUp + 1; if (_currentframe == 4) { _root.trucksKilled = _root.trucksKilled + 1; } deadCar = true; } if (_name != "car") { _parent.showMc._x = _x; _parent.showMc._y = passY; i = 0; while (i < (_root.maxCars + 1)) { if (_root.game["car" + i]._x != undefined) { if (_root.game["car" + i] != this) { target = _root.game["car" + i]; } else { target = _parent.player; } var adjside = (target._x - _x); var oppside = (-1 * (target._y - _y)); var dist = Math.sqrt((adjside * adjside) + (oppside * oppside)); var distMax = (_height + (target._height / 2)); if (dist < distMax) { if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { xspeed = xspeed + (((_x - target._x) / 40) + (target.xspeed / 5)); if ((target._x > (_x - ((_width / 2) + (target._width / 2.2)))) && (target._x < (_x + ((_width / 2) + (target._width / 2.2))))) { var s1 = yspeed; var s2 = target.yspeed; var sDiff = 0; if (((s1 < 0) && (s2 >= 0)) || ((s2 < 0) && (s1 >= 0))) { if (s1 < 0) { var sDiff = (s2 - s1); } else { var sDiff = (s1 - s2); } } else if ((s1 >= 0) && (s2 >= 0)) { if (s1 > s2) { var sDiff = (s1 - s2); } else { var sDiff = (s2 - s1); } } else { var sDiff = (s1 - s2); } if (sDiff < 0) { sDiff = -sDiff; } if (sDiff > 6) { sDiff = sDiff - 5; life = life - (((sDiff * 12) / mass) / 2); target.life = target.life - (((sDiff * 12) / mass) / 4); sparkNo = sDiff; } if (sDiff > 3) { hitSounds(); } if (((target == _parent.player) && (targetCar == false)) && (targetCar == false)) { _parent.player.hitTime = 0; _root.score = _root.score - (sDiff / 5); } i == 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height / 2); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + 5; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } maxSpeed = maxSpeed - random(2); var v1 = yspeed; var m1 = mass; var v2 = target.yspeed; var m2 = target.mass; var newV1 = ((((m1 - m2) / (m1 + m2)) * v1) + (((2 * m2) / (m1 + m2)) * v2)); var newV2 = ((((2 * m1) / (m1 + m2)) * v1) - (((m1 - m2) / (m1 + m2)) * v2)); if ((_y > target._y) && (newV1 < v1)) { yspeed = newV1; target.yspeed = newV2; } } } if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { xspeed = xspeed + (((_x - target._x) / 40) + (target.xspeed / 5)); if ((target._x > (_x - ((_width / 2) + (target._width / 2)))) && (target._x < (_x + ((_width / 2) + (target._width / 2))))) { var s1 = yspeed; var s2 = target.yspeed; var sDiff = 0; if (((s1 < 0) && (s2 >= 0)) || ((s2 < 0) && (s1 >= 0))) { if (s1 < 0) { var sDiff = (s2 - s1); } else { var sDiff = (s1 - s2); } } else if ((s1 >= 0) && (s2 >= 0)) { if (s1 > s2) { var sDiff = (s1 - s2); } else { var sDiff = (s2 - s1); } } else { var sDiff = (s1 - s2); } if (sDiff < 0) { sDiff = -sDiff; } if (sDiff > 6) { sDiff = sDiff - 5; life = life - (((sDiff * 12) / mass) / 2); target.life = target.life - (((sDiff * 12) / mass) / 4); sparkNo = sDiff; } if (sDiff > 3) { hitSounds(); } if ((target == _parent.player) && (targetCar == false)) { _parent.player.hitTime = 0; _root.score = _root.score - (sDiff / 5); } i == 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width); _root.game.effects["spark" + _root.game.effects.id]._y = (_y + (_height / 2)) - random(_height / 2); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + 5; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } var v1 = yspeed; var m1 = mass; var v2 = target.yspeed; var m2 = target.mass; var newV1 = ((((m1 - m2) / (m1 + m2)) * v1) + (((2 * m2) / (m1 + m2)) * v2)); var newV2 = ((((2 * m1) / (m1 + m2)) * v1) - (((m1 - m2) / (m1 + m2)) * v2)); if ((_y < target._y) && (newV1 > v1)) { yspeed = newV1; target.yspeed = newV2; } maxSpeed = maxSpeed + random(2); } } if (((target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 3)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (height / 3)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { var speedDiff = ((xspeed - target.xspeed) + (yspeed - target.yspeed)); if (speedDiff > 0) { var sparkNo = speedDiff; } else { var sparkNo = (-speedDiff); } hitTimes = hitTimes + 1; var v1 = xspeed; var m1 = mass; var v2 = target.xspeed; var m2 = target.mass; var newV1 = ((((m1 - m2) / (m1 + m2)) * v1) + (((2 * m2) / (m1 + m2)) * v2)); var newV2 = ((((2 * m1) / (m1 + m2)) * v1) - (((m1 - m2) / (m1 + m2)) * v2)); if ((target == _parent.player) && (targetCar == false)) { _parent.player.hitTime = 0; _root.score = _root.score - (sDiff / 5); } if ((_x > target._x) && (newV1 > v1)) { i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } xspeed = newV1; target.xspeed = newV2; } if ((_x < target._x) && (newV1 < v1)) { i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } xspeed = newV1; target.xspeed = newV2; } life = life - (((sparkNo * 12) / mass) / 8); } } } i = i + 1; } var target = _parent.walls; if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2.4)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2.4)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { if (yspeed > 0) { var sparkNo = yspeed; } if (yspeed < 0) { var sparkNo = (-yspeed); } hitSounds(); i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 2); yspeed = (-yspeed) * 0.5; } if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2.2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2.2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { var s1 = yspeed; var s2 = target.yspeed; var sDiff = 0; if (((s1 < 0) && (s2 >= 0)) || ((s2 < 0) && (s1 >= 0))) { if (s1 < 0) { sDiff = s2 - s1; } else { sDiff = s1 - s2; } } else if ((s1 >= 0) && (s2 >= 0)) { if (s1 > s2) { sDiff = s1 - s2; } else { sDiff = s2 - s1; } } else { sDiff = s1 - s2; } if (sDiff < 0) { sDiff = -sDiff; } sparksNo = sDiff; hitSounds(); i = 0; while (i < (sparkNo / 4)) { hitSounds(); _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 2); yspeed = (-yspeed) * 0.5; } if (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { _x = (_x - (xspeed / 3)); xspeed = (-xspeed) * 0.2; if (yspeed > 0) { var sparkNo = yspeed; } if (yspeed < 0) { var sparkNo = (-yspeed); } if ((sparkNo / 4) > 1) { hitSounds(); } hitSounds(); i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 6); } if (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { _x = (_x - (xspeed / 3)); xspeed = (-xspeed) * 0.2; if (yspeed > 0) { var sparkNo = yspeed; } if (yspeed < 0) { var sparkNo = (-yspeed); } if ((sparkNo / 4) > 1) { hitSounds(); } i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 6); } if (_root.game.sound.type == 2) { var dist = Math.sqrt(((_x - _root.game.sound._x) * (_x - _root.game.sound._x)) + ((_y - _root.game.sound._y) * (_y - _root.game.sound._y))); if (dist < 300) { interestX = _root.game.sound._x; interestY = _root.game.sound._y; interestLevel = interestLevel + 50; } if (dist < (_root.game.sound.size * 2)) { life = life - (((_root.game.sound.size * 2) - dist) / 8); var adjside = (_root.game.sound._x - _x); var oppside = (-1 * (_root.game.sound._y - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; var throwRot = (-1 * angle); xspeed = xspeed - (Math.cos(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (10 * mass))); yspeed = yspeed + (Math.sin(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (10 * mass))); } } if ((life < -75) && (exploded == false)) { exploded = true; _root.id = _root.id + 1; _root.game.expTargetX = _x; _root.game.expTargetY = _y; _root.game.expSize = _height; _root.game.expSize = _height; duplicateMovieClip (_root.game.explosion, "explosion" + _root.id, _root.id + 300); _root.game["explosion" + _root.id]._x = _x; _root.game["explosion" + _root.id]._y = _y; _root.game["explosion" + _root.id]._height = _root.game.expSize / 2.5; _root.game["explosion" + _root.id]._width = _root.game.expSize / 2.5; _root.game["explosion" + _root.id].sizeE = _root.game.expSize * 2; i = 0; while (i < 4) { _root.game.effects2.id = _root.game.effects2.id + 1; duplicateMovieClip (_parent.effects2.tire, "spark" + _parent.effects2.id, _parent.effects2.id + 1); _root.game.effects2["spark" + _root.game.effects2.id]._x = _x; _root.game.effects2["spark" + _root.game.effects2.id]._y = _y; i = i + 1; } } if ((life < 50) && (life > -75)) { timerSmoke = timerSmoke + 1; if (timerSmoke > 1) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.smoke, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = _x; _root.game.effects["spark" + _root.game.effects.id]._y = _y; _root.game.effects["spark" + _root.game.effects.id]._height = _root.game.effects["spark" + _root.game.effects.id]._height + _root.game.player.yspeed; _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); timerSmoke = 0; } } if (life < -75) { timerSmoke = timerSmoke + 1; if (timerSmoke > 1) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.smoke2, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = _x; _root.game.effects["spark" + _root.game.effects.id]._y = _y; _root.game.effects["spark" + _root.game.effects.id]._height = _root.game.effects["spark" + _root.game.effects.id]._height + _root.game.player.yspeed; _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); timerSmoke = 0; } } if (life > 0) { if ((_x + xspeed) < targetX) { xspeed = xspeed + 0.2; } else if ((_x < targetX) && (xspeed > 0)) { xspeed = xspeed * 0.97; } if ((_x + xspeed) > targetX) { xspeed = xspeed - 0.2; } if ((_x > targetX) && (xspeed < 0)) { xspeed = xspeed * 0.97; } if (up == false) { if (yspeed > (-maxSpeed)) { yspeed = yspeed - (maxSpeed / 30); } _rotation = (((xspeed * 3) + spin) + 180); } else { var laneChange = random(500); if (laneChange == 10) { var chooseLane = (1 + random(3)); lane = _root.game["lane" + chooseLane]; targetX = lane.targetX; maxSpeed = lane.maxSpeed; } if (yspeed < maxSpeed) { yspeed = yspeed + (maxSpeed / 30); } _rotation = ((xspeed * 6) / mass); } } else { _rotation = (_rotation + ((xspeed * 10) / mass)); } if ((_name != "car") && (targetCar != true)) { if ((_y > 600) || (_y < -1700)) { _root.carsAlive = _root.carsAlive - 1; engineSound.stop(); removeMovieClip(this); } } xspeed = xspeed * 0.97; yspeed = yspeed * 0.97; showy = _y; showx = _x; _x = (_x + xspeed); _y = (_y - ((-_parent.player.yspeed) + yspeed)); if (targetCar == true) { _root.game.targetShow.play(); _root.game.targetShow._x = _x; _root.game.targetShow._y = _y; } } }
Instance of Symbol 122 MovieClip "targetShow" in Symbol 297 MovieClip Frame 1
onClipEvent (enterFrame) { this.swapDepths(501); }
Instance of Symbol 128 MovieClip "targetShow1" in Symbol 297 MovieClip Frame 1
onClipEvent (enterFrame) { }
Instance of Symbol 130 MovieClip in Symbol 297 MovieClip Frame 1
onClipEvent (load) { timer = 0; spawnTime = 200; startX = _x; newLane = none; oldLane = alsoNone; lastCar = none; createCar = true; targetSpawned = false; } onClipEvent (enterFrame) { if (_root.nextCar == true) { var amount = (1 + random(4)); _x = _root.game["lane" + amount]._x; newLane = _root.game["lane" + amount]; } else { var amount = (1 + random(4)); _x = _root.game["lane" + amount]._x; newLane = _root.game["lane" + amount]; } timer = timer + (_root.game.player.yspeed + random(_root.game.player.yspeed / 2)); if (newLane != oldLane) { if (lastCar._y < (_y + lastCar._height)) { createCar = false; } else { createCar = true; } } else { createCar = false; } if ((((timer > spawnTime) && (_root.carsAlive < _root.maxCars)) && (createCar == true)) && (_root.carId != 10)) { _root.carsAlive = _root.carsAlive + 1; _root.carId = _root.carId + 1; if (_root.game["car" + _root.carId]._x == undefined) { duplicateMovieClip (_parent.car, "car" + _root.carId, _root.carId + 151); if (_root.nextCar == true) { _root.game["car" + _root.carId]._x = (_x - 2) + random(4); _root.game["car" + _root.carId]._y = _y; _root.game["car" + _root.carId].lane = _root.game["lane" + amount]; _root.game["car" + _root.carId].laneId = 2; _root.game["car" + _root.carId].targetCar = true; _root.nextCar = false; } else { _root.game["car" + _root.carId]._x = (_x - 2) + random(4); _root.game["car" + _root.carId]._y = _y; _root.game["car" + _root.carId].lane = _root.game["lane" + amount]; _root.game["car" + _root.carId].laneId = amount; _root.game["car" + _root.carId].targetCar = false; } lastCar = _root.game["car" + _root.carId]; timer = 0; } oldLane = _root.game["lane" + amount]; } }
Instance of Symbol 133 MovieClip "prop" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { startY = _y; yspeed = 0; xspeed = 0; hitTimes = 0; } onClipEvent (enterFrame) { if (_parent.player.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + _parent.player.yspeed) * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { hitTimes = hitTimes + 1; if (_currentframe == 1) { yspeed = yspeed - _parent.player.yspeed; } else { yspeed = yspeed - (_parent.player.yspeed * 0.5); } xspeed = xspeed + (((_x - _parent.player._x) / 40) + (_parent.player.xspeed / 2)); _parent.player.yspeed = _parent.player.yspeed / 1.01; gotoAndStop (2); } if (hitTimes > 10) { _root.hud.displayText = "Cone carrying bonus 200 points!"; _root.hud.score = _root.hud.score + 200; } var target = _parent.walls; if (target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { yspeed = (-yspeed) * 0.5; } if (target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (yspeed + _root.game.player.yspeed)) { yspeed = (-yspeed) * 0.5; } if (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed < 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; } if (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed > 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; } xspeed = xspeed * 0.97; yspeed = yspeed * 0.97; showy = _y; showx = _x; _rotation = (_rotation + ((xspeed + yspeed) * 4)); _x = (_x + xspeed); _y = (_y + (_parent.player.yspeed + yspeed)); }
Instance of Symbol 177 MovieClip "player" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { gotoAndStop (1); maxSpeed = 50; yspeed = 50; xspeed = 0; mass = ((_height + _width) / 33) * 5; maxLife = 300; life = maxLife; slowTimer = 0; origWidth = _width; this.swapDepths(2); yspeed = 60; exploded = false; smokeTime = 0; hitTime = 0; skidPlaying = false; rev = true; revLength = 0; explodeTimer = 10; colorArr = ["0x339999", "0x99CC66", "0x993333", "0xCCCC66"]; } onClipEvent (enterFrame) { if (_root.hud.speed >= 200) { skidActive = true; } if (skidActive == true) { if (Key.isDown(40) || (Key.isDown(32))) { } else { skidActive = false; } } if ((skidActive == true) && (_root.hud.speed <= 30)) { _root.skidDone = true; } if (_root.game.cars.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (yspeed > 30)) { hitTime = hitTime + 1; } else if (hitTime > 0) { _root.score = _root.score + (yspeed / 5); hitTime = 0; } else { hitTime = 0; } if (yspeed < 0) { yspeed = yspeed - (yspeed / 2); } if ((yspeed / 5) < 3.5) { var turnSpeed = (yspeed / 5); } else { turnSpeed = 3.5; } if ((Key.isDown(38) && (yspeed < maxSpeed)) && (life > 0)) { yspeed = yspeed + 0.8; } if ((Key.isDown(32) && (yspeed > 0)) || ((Key.isDown(40) && (yspeed > 0)) && (life > 0))) { yspeed = yspeed - 1.4; turnSpeed = turnSpeed + 0.1; if (yspeed > 10) { if (skidPlaying == false) { skidSound = new Sound(this); skidSound.attachSound("skid"); skidSound.start(0, 4); skidPlaying = true; } skidSound.setVolume(yspeed * 2); var adjside = ((_x - xspeed) - _x); var oppside = (-1 * ((_y + yspeed) - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; _root.game.effects2.id = _root.game.effects2.id + 1; duplicateMovieClip (_root.game.effects2.skid, "spark" + _root.game.effects2.id, _root.game.effects2.id + 1); if (_rotation <= 0) { _root.game.effects2["spark" + _root.game.effects2.id]._x = ((_x + (_width / 2)) - 8) + xspeed; } else { _root.game.effects2["spark" + _root.game.effects2.id]._x = (((_x + (_width / 2)) - (_rotation * 1.8)) - 8) + xspeed; } _root.game.effects2["spark" + _root.game.effects2.id]._y = _y + (_height / 3); _root.game.effects2["spark" + _root.game.effects2.id]._height = yspeed + 4; _root.game.effects2["spark" + _root.game.effects2.id]._alpha = yspeed * 1.5; _root.game.effects2["spark" + _root.game.effects2.id]._rotation = (-1 * angle) - 90; _root.game.effects2.id = _root.game.effects2.id + 1; duplicateMovieClip (_root.game.effects2.skid, "spark" + _root.game.effects2.id, _root.game.effects2.id + 1); if (_rotation >= 0) { _root.game.effects2["spark" + _root.game.effects2.id]._x = ((_x - (_width / 2)) + 8) + xspeed; } else { _root.game.effects2["spark" + _root.game.effects2.id]._x = (((_x - (_width / 2)) - (_rotation * 1.8)) + 8) + xspeed; } _root.game.effects2["spark" + _root.game.effects2.id]._y = _y + (_height / 3); _root.game.effects2["spark" + _root.game.effects2.id]._height = yspeed + 4; _root.game.effects2["spark" + _root.game.effects2.id]._alpha = yspeed * 1.5; _root.game.effects2["spark" + _root.game.effects2.id]._rotation = (-1 * angle) - 90; } else { skidSound.stop(); skidPlaying = false; } } else { if (turnSpeed > 3.5) { turnSpeed = turnSpeed - 0.1; } skidPlaying = false; skidSound.stop(); } if (Key.isDown(39) && (life > 0)) { xspeed = xspeed + turnSpeed; } if (Key.isDown(37) && (life > 0)) { xspeed = xspeed - turnSpeed; } _rotation = (xspeed / 2); xspeed = xspeed * 0.8; _x = (_x + xspeed); yspeed = yspeed * 0.99; showx = _x; showy = _y; if (life < 0) { explodeTimer = explodeTimer + 1; } if ((life < 0) && (explodeTimer > 20)) { explodeTimer = 0; exploded = true; _root.id = _root.id + 1; _root.game.expTargetX = _x; _root.game.expTargetY = _y; _root.game.expSize = _height; _root.game.expSize = _height; duplicateMovieClip (_root.game.explosion, "explosion" + _root.id, _root.id + 1); _root.game["explosion" + _root.id]._x = _x; _root.game["explosion" + _root.id]._y = _y; _root.game["explosion" + _root.id]._height = _root.game.expSize / 3; _root.game["explosion" + _root.id]._width = _root.game.expSize / 3; _root.game["explosion" + _root.id].sizeE = _root.game.expSize * 2; } if (life < 40) { smokeTime = smokeTime + (yspeed / 5); if (smokeTime > 5) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.smoke, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = _x; _root.game.effects["spark" + _root.game.effects.id]._y = _y - (_height / 2); _root.game.effects["spark" + _root.game.effects.id]._height = _root.game.effects["spark" + _root.game.effects.id]._height + yspeed; _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = yspeed; _root.game.effects.id = _root.game.effects.id + 1; smokeTime = 0; } } var target = _parent.walls; if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 3)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 3)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { if (yspeed > 0) { life = life - yspeed; } else { life = life + yspeed; } yspeed = (-yspeed) * 1; } if (target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (yspeed + _root.game.player.yspeed)) { if (yspeed > 0) { life = life - yspeed; } else { life = life + yspeed; } _y = (_y - yspeed); yspeed = (-yspeed) * 1; } if (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed < 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; var sparkNo = ((yspeed / 5) - 2); life = life - (sparkNo / 5); i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.spark, "spark" + _root.game.effects.id, _root.game.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.paint, "spark" + _root.game.effects.id, _root.game.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = yspeed * 1.5; i = i + 1; } } if (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed > 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; var sparkNo = ((yspeed / 5) - 2); life = life - (sparkNo / 5); i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.spark, "spark" + _root.game.effects.id, _parent.effects.id + 1); var pColor = new Color(_root.game.effects["spark" + _root.game.effects.id]); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.paint, "spark" + _root.game.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = yspeed * 1.5; i = i + 1; } } if (_root.game.slower.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { if ((_x * (1 / (100 / _root.game._xscale))) < 0) { _root.pavementTime = _root.pavementTime + 1; } if (slowTimer < 20) { slowTimer = slowTimer + 1; } else { yspeed = yspeed * 0.98; } } else if (slowTimer > 0) { slowTimer = slowTimer - 1; } if (this.hitTest(_parent.plusMc) && (_parent.plusMc.hit == false)) { _parent.plusMc._alpha = 0; _parent.plusMc.hit = true; life = life + (0.1 * maxLife); if (life >= maxLife) { life = maxLife; } _root.checkHitStatus(); } if (_root.game.sound.type == 2) { var dist = Math.sqrt(((_x - _root.game.sound._x) * (_x - _root.game.sound._x)) + ((_y - _root.game.sound._y) * (_y - _root.game.sound._y))); if (dist < 300) { interestX = _root.game.sound._x; interestY = _root.game.sound._y; interestLevel = interestLevel + 50; } if (dist < (_root.game.sound.size * 2)) { life = life - (((_root.game.sound.size * 2) - dist) / 50); var adjside = (_root.game.sound._x - _x); var oppside = (-1 * (_root.game.sound._y - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; var throwRot = (-1 * angle); xspeed = xspeed - (Math.cos(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (5 * mass))); yspeed = yspeed + (Math.sin(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (5 * mass))); } } }
Instance of Symbol 179 MovieClip in Symbol 297 MovieClip Frame 1
onClipEvent (load) { targetC = _parent.targetShow; } onClipEvent (enterFrame) { if ((_root.hud.targetDisplay.pDist < 1) && (_root.nextCar == false)) { _alpha = 100; } else { _alpha = 0; } _x = _root.game.player._x; this.swapDepths(_root.game.getNextHighestDepth()); var adjside = (targetC._x - _x); var oppside = (-1 * (targetC._y - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; _rotation = (-1 * angle); }
Instance of Symbol 201 MovieClip "effects" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { id = 0; } onClipEvent (enterFrame) { this.swapDepths(300); if (id > 50) { id = 0; } }
Instance of Symbol 203 MovieClip "sound" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { owner = false; owned = 0; type = 1; size = 1; } onClipEvent (enterFrame) { if (owner != false) { if (owned < 1) { _x = owner._x; _y = owner._y; } owned = owned + 1; } if (owned > 2) { owner = false; owned = 0; type = 1; _x = -9999; } }
Instance of Symbol 212 MovieClip "explosion__" in Symbol 297 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 233 MovieClip "explosion" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { var sizeE; if ((_x - _root.game.player._x) > 100) { pan = 100; } else if ((_x - _root.game.player._x) < -100) { pan = -100; } else { pan = _x - _root.game.player._x; } vol = 100 - (Math.sqrt(((_x - _root.game.player._x) * (_x - _root.game.player._x)) + ((_y - _root.game.player._y) * (_y - _root.game.player._y))) / 10); if (vol > 100) { vol = 100; } if (vol < 0) { vol = 0; } if (_name == "explosion") { _visible = false; } else { explosionSound = new Sound(this); explosionSound.attachSound("explosion"); explosionSound.setPan(pan); explosionSound.setVolume(vol); explosionSound.start(0, 0); explosionSound.setPan(pan); explosionSound.setVolume(vol); } time = 100; } onClipEvent (enterFrame) { _y = (_y + _root.game.player.yspeed); if ((_x - _root.game.player._x) > 100) { pan = 100; } else if ((_x - _root.game.player._x) < -100) { pan = -100; } else { pan = _x - _root.game.player._x; } vol = 100 - (Math.sqrt(((_x - _root.game.player._x) * (_x - _root.game.player._x)) + ((_y - _root.game.player._y) * (_y - _root.game.player._y))) / 10); if (vol > 100) { vol = 100; } if (vol < 0) { vol = 0; } explosionSound.setPan(pan); explosionSound.setVolume(vol); }
Instance of Symbol 201 MovieClip "effects2" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { id = 0; _x = 0; _y = 0; } onClipEvent (enterFrame) { this.swapDepths(1); if (id > 50) { id = 0; } }
Instance of Symbol 62 MovieClip "plusMc" in Symbol 297 MovieClip Frame 1
onClipEvent (load) { startY = _y; var pArr = [_root.game.lane1.targetX, _root.game.lane2.targetX, _root.game.lane3.targetX, _root.game.lane4.targetX]; } onClipEvent (enterFrame) { if (hit == false) { _y = (_y + _parent.player.yspeed); } if (((_y + _parent.player.yspeed) > (startY + 1725)) || (hit == true)) { hit = true; _y = startY; var pX = int(Math.random() * 3); this._x = pArr[pX] - (this._width / 2); } }
Instance of Symbol 235 MovieClip in Symbol 297 MovieClip Frame 1
onClipEvent (enterFrame) { this.swapDepths(1001); }
Instance of Symbol 115 MovieClip in Symbol 308 MovieClip Frame 1
onClipEvent (load) { gotoAndStop(1 + random(10)); }
Symbol 308 MovieClip Frame 2
Instance of Symbol 115 MovieClip in Symbol 308 MovieClip Frame 2
onClipEvent (load) { gotoAndStop(1 + random(8)); }
Symbol 308 MovieClip Frame 3
Symbol 308 MovieClip Frame 5
stop();
Instance of Symbol 295 MovieClip in Symbol 308 MovieClip Frame 5
/* no clip actions */
Symbol 308 MovieClip Frame 6
stop();
Instance of Symbol 82 MovieClip "track" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { startY = _y; } onClipEvent (enterFrame) { _y = (_y + _parent.player.yspeed); if ((_y + _parent.player.yspeed) > (startY + 325)) { _y = startY; } }
Instance of Symbol 88 MovieClip "lane1" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 35; targetX = _x; id = 1; }
Instance of Symbol 88 MovieClip "lane2" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 30; targetX = _x; id = 2; }
Instance of Symbol 88 MovieClip "lane3" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 25; targetX = _x; id = 3; }
Instance of Symbol 88 MovieClip "lane4" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { maxSpeed = 20; targetX = _x; id = 4; }
Instance of Symbol 90 MovieClip "slower" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; }
Instance of Symbol 94 MovieClip "walls" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { xspeed = 0; yspeed = 0; mass = 1000; } onClipEvent (enterFrame) { xspeed = 0; yspeed = 0; }
Instance of Symbol 308 MovieClip "car" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { var lane; var laneId; var truckLikely = (1 + random(10)); if ((targetCar == true) && (_root.totalTargetCar != 5)) { gotoAndStop ("badGuy"); carId = _root.totalTargetCar; _root.carIdArr.push(carId); } else if ((targetCar == true) && (_root.totalTargetCar == 5)) { gotoAndStop ("boss"); carId = _root.totalTargetCar; _root.carIdArr.push(carId); } else if (truckLikely == 5) { gotoAndStop(1 + random(4)); } else { gotoAndStop(1 + random(3)); } startY = _y; yspeed = 0; xspeed = 0; hitTimes = 0; spin = 0; targetX = lane.targetX; if (_x > 0) { up = false; _rotation = (_rotation + 180); yspeed = -lane.maxSpeed; maxSpeed = lane.maxSpeed; } else { up = true; _rotation = 0; yspeed = lane.maxSpeed; maxSpeed = lane.maxSpeed; } life = 100; target = _parent.player; mass = (_height + _width) / 33; exploded = false; timerSmoke = 0; sparkNo = 0; var targetCar; messageShown = false; engineStarted = false; sDiff = 0; deadCar = false; } onClipEvent (enterFrame) { function hitSounds() { var _local2 = 1 + random(3); hitSound = new Sound(this); if (_local2 == 1) { hitSound.attachSound("hit1"); } else if (_local2 == 2) { hitSound.attachSound("hit2"); } else { hitSound.attachSound("hit3"); } hitSound.setVolume(sparkNo * 5); hitSound.start(0, 0); hitSound.setVolume(sparkNo * 5); } if (targetCar == true) { lane = _root.game.lane1; targetX = lane.targetX; maxSpeed = lane.maxSpeed; if ((life < 1) && (messageShown == false)) { _root.score = _root.score + 2000; if (_root.targetsLeft == 0) { _root.extraCar = true; } _root.targetsLeft = _root.targetsLeft - 1; _root.totalLostCar++; if ((_root.targetsLeft < 3) && (_root.targetsLeft > -1)) { _root.game["targetShow" + this.carId].removeMovieClip(); } else { targetCar = false; } messageShown = true; _root.game.targetShow._x = -2000; deadCar = true; } } else if ((life < 1) && (deadCar != true)) { _root.carsBlownUp = _root.carsBlownUp + 1; if (_currentframe == 4) { _root.trucksKilled = _root.trucksKilled + 1; } deadCar = true; } if (_name != "car") { _parent.showMc._x = _x; _parent.showMc._y = passY; i = 0; while (i < (_root.maxCars + 1)) { if (_root.game["car" + i]._x != undefined) { if (_root.game["car" + i] != this) { target = _root.game["car" + i]; } else { target = _parent.player; } var adjside = (target._x - _x); var oppside = (-1 * (target._y - _y)); var dist = Math.sqrt((adjside * adjside) + (oppside * oppside)); var distMax = (_height + (target._height / 2)); if (dist < distMax) { if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { xspeed = xspeed + (((_x - target._x) / 40) + (target.xspeed / 5)); if ((target._x > (_x - ((_width / 2) + (target._width / 2.2)))) && (target._x < (_x + ((_width / 2) + (target._width / 2.2))))) { var s1 = yspeed; var s2 = target.yspeed; var sDiff = 0; if (((s1 < 0) && (s2 >= 0)) || ((s2 < 0) && (s1 >= 0))) { if (s1 < 0) { var sDiff = (s2 - s1); } else { var sDiff = (s1 - s2); } } else if ((s1 >= 0) && (s2 >= 0)) { if (s1 > s2) { var sDiff = (s1 - s2); } else { var sDiff = (s2 - s1); } } else { var sDiff = (s1 - s2); } if (sDiff < 0) { sDiff = -sDiff; } if (sDiff > 6) { sDiff = sDiff - 5; life = life - (((sDiff * 12) / mass) / 2); target.life = target.life - (((sDiff * 12) / mass) / 4); sparkNo = sDiff; } if (sDiff > 3) { hitSounds(); } if (((target == _parent.player) && (targetCar == false)) && (targetCar == false)) { _parent.player.hitTime = 0; _root.score = _root.score - (sDiff / 5); } i == 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height / 2); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + 5; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } maxSpeed = maxSpeed - random(2); var v1 = yspeed; var m1 = mass; var v2 = target.yspeed; var m2 = target.mass; var newV1 = ((((m1 - m2) / (m1 + m2)) * v1) + (((2 * m2) / (m1 + m2)) * v2)); var newV2 = ((((2 * m1) / (m1 + m2)) * v1) - (((m1 - m2) / (m1 + m2)) * v2)); if ((_y > target._y) && (newV1 < v1)) { yspeed = newV1; target.yspeed = newV2; } } } if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { xspeed = xspeed + (((_x - target._x) / 40) + (target.xspeed / 5)); if ((target._x > (_x - ((_width / 2) + (target._width / 2)))) && (target._x < (_x + ((_width / 2) + (target._width / 2))))) { var s1 = yspeed; var s2 = target.yspeed; var sDiff = 0; if (((s1 < 0) && (s2 >= 0)) || ((s2 < 0) && (s1 >= 0))) { if (s1 < 0) { var sDiff = (s2 - s1); } else { var sDiff = (s1 - s2); } } else if ((s1 >= 0) && (s2 >= 0)) { if (s1 > s2) { var sDiff = (s1 - s2); } else { var sDiff = (s2 - s1); } } else { var sDiff = (s1 - s2); } if (sDiff < 0) { sDiff = -sDiff; } if (sDiff > 6) { sDiff = sDiff - 5; life = life - (((sDiff * 12) / mass) / 2); target.life = target.life - (((sDiff * 12) / mass) / 4); sparkNo = sDiff; } if (sDiff > 3) { hitSounds(); } if ((target == _parent.player) && (targetCar == false)) { _parent.player.hitTime = 0; _root.score = _root.score - (sDiff / 5); } i == 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width); _root.game.effects["spark" + _root.game.effects.id]._y = (_y + (_height / 2)) - random(_height / 2); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + 5; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } var v1 = yspeed; var m1 = mass; var v2 = target.yspeed; var m2 = target.mass; var newV1 = ((((m1 - m2) / (m1 + m2)) * v1) + (((2 * m2) / (m1 + m2)) * v2)); var newV2 = ((((2 * m1) / (m1 + m2)) * v1) - (((m1 - m2) / (m1 + m2)) * v2)); if ((_y < target._y) && (newV1 > v1)) { yspeed = newV1; target.yspeed = newV2; } maxSpeed = maxSpeed + random(2); } } if (((target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 3)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (height / 3)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { var speedDiff = ((xspeed - target.xspeed) + (yspeed - target.yspeed)); if (speedDiff > 0) { var sparkNo = speedDiff; } else { var sparkNo = (-speedDiff); } hitTimes = hitTimes + 1; var v1 = xspeed; var m1 = mass; var v2 = target.xspeed; var m2 = target.mass; var newV1 = ((((m1 - m2) / (m1 + m2)) * v1) + (((2 * m2) / (m1 + m2)) * v2)); var newV2 = ((((2 * m1) / (m1 + m2)) * v1) - (((m1 - m2) / (m1 + m2)) * v2)); if ((target == _parent.player) && (targetCar == false)) { _parent.player.hitTime = 0; _root.score = _root.score - (sDiff / 5); } if ((_x > target._x) && (newV1 > v1)) { i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } xspeed = newV1; target.xspeed = newV2; } if ((_x < target._x) && (newV1 < v1)) { i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } xspeed = newV1; target.xspeed = newV2; } life = life - (((sparkNo * 12) / mass) / 8); } } } i = i + 1; } var target = _parent.walls; if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2.4)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2.4)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { if (yspeed > 0) { var sparkNo = yspeed; } if (yspeed < 0) { var sparkNo = (-yspeed); } hitSounds(); i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 2); yspeed = (-yspeed) * 0.5; } if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 2.2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 2.2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { var s1 = yspeed; var s2 = target.yspeed; var sDiff = 0; if (((s1 < 0) && (s2 >= 0)) || ((s2 < 0) && (s1 >= 0))) { if (s1 < 0) { sDiff = s2 - s1; } else { sDiff = s1 - s2; } } else if ((s1 >= 0) && (s2 >= 0)) { if (s1 > s2) { sDiff = s1 - s2; } else { sDiff = s2 - s1; } } else { sDiff = s1 - s2; } if (sDiff < 0) { sDiff = -sDiff; } sparksNo = sDiff; hitSounds(); i = 0; while (i < (sparkNo / 4)) { hitSounds(); _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 2); yspeed = (-yspeed) * 0.5; } if (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { _x = (_x - (xspeed / 3)); xspeed = (-xspeed) * 0.2; if (yspeed > 0) { var sparkNo = yspeed; } if (yspeed < 0) { var sparkNo = (-yspeed); } if ((sparkNo / 4) > 1) { hitSounds(); } hitSounds(); i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 6); } if (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { _x = (_x - (xspeed / 3)); xspeed = (-xspeed) * 0.2; if (yspeed > 0) { var sparkNo = yspeed; } if (yspeed < 0) { var sparkNo = (-yspeed); } if ((sparkNo / 4) > 1) { hitSounds(); } i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.spark, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } life = life - (((sparkNo * 12) / mass) / 6); } if (_root.game.sound.type == 2) { var dist = Math.sqrt(((_x - _root.game.sound._x) * (_x - _root.game.sound._x)) + ((_y - _root.game.sound._y) * (_y - _root.game.sound._y))); if (dist < 300) { interestX = _root.game.sound._x; interestY = _root.game.sound._y; interestLevel = interestLevel + 50; } if (dist < (_root.game.sound.size * 2)) { life = life - (((_root.game.sound.size * 2) - dist) / 8); var adjside = (_root.game.sound._x - _x); var oppside = (-1 * (_root.game.sound._y - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; var throwRot = (-1 * angle); xspeed = xspeed - (Math.cos(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (10 * mass))); yspeed = yspeed + (Math.sin(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (10 * mass))); } } if ((life < -75) && (exploded == false)) { exploded = true; _root.id = _root.id + 1; _root.game.expTargetX = _x; _root.game.expTargetY = _y; _root.game.expSize = _height; _root.game.expSize = _height; duplicateMovieClip (_root.game.explosion, "explosion" + _root.id, _root.id + 300); _root.game["explosion" + _root.id]._x = _x; _root.game["explosion" + _root.id]._y = _y; _root.game["explosion" + _root.id]._height = _root.game.expSize / 2.5; _root.game["explosion" + _root.id]._width = _root.game.expSize / 2.5; _root.game["explosion" + _root.id].sizeE = _root.game.expSize * 2; i = 0; while (i < 4) { _root.game.effects2.id = _root.game.effects2.id + 1; duplicateMovieClip (_parent.effects2.tire, "spark" + _parent.effects2.id, _parent.effects2.id + 1); _root.game.effects2["spark" + _root.game.effects2.id]._x = _x; _root.game.effects2["spark" + _root.game.effects2.id]._y = _y; i = i + 1; } } if ((life < 50) && (life > -75)) { timerSmoke = timerSmoke + 1; if (timerSmoke > 1) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.smoke, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = _x; _root.game.effects["spark" + _root.game.effects.id]._y = _y; _root.game.effects["spark" + _root.game.effects.id]._height = _root.game.effects["spark" + _root.game.effects.id]._height + _root.game.player.yspeed; _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); timerSmoke = 0; } } if (life < -75) { timerSmoke = timerSmoke + 1; if (timerSmoke > 1) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.smoke2, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = _x; _root.game.effects["spark" + _root.game.effects.id]._y = _y; _root.game.effects["spark" + _root.game.effects.id]._height = _root.game.effects["spark" + _root.game.effects.id]._height + _root.game.player.yspeed; _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); timerSmoke = 0; } } if (life > 0) { if ((_x + xspeed) < targetX) { xspeed = xspeed + 0.2; } else if ((_x < targetX) && (xspeed > 0)) { xspeed = xspeed * 0.97; } if ((_x + xspeed) > targetX) { xspeed = xspeed - 0.2; } if ((_x > targetX) && (xspeed < 0)) { xspeed = xspeed * 0.97; } if (up == false) { if (yspeed > (-maxSpeed)) { yspeed = yspeed - (maxSpeed / 30); } _rotation = (((xspeed * 3) + spin) + 180); } else { var laneChange = random(500); if (laneChange == 10) { var chooseLane = (1 + random(3)); lane = _root.game["lane" + chooseLane]; targetX = lane.targetX; maxSpeed = lane.maxSpeed; } if (yspeed < maxSpeed) { yspeed = yspeed + (maxSpeed / 30); } _rotation = ((xspeed * 6) / mass); } } else { _rotation = (_rotation + ((xspeed * 10) / mass)); } if ((_name != "car") && (targetCar != true)) { if ((_y > 600) || (_y < -1700)) { _root.carsAlive = _root.carsAlive - 1; engineSound.stop(); removeMovieClip(this); } } xspeed = xspeed * 0.97; yspeed = yspeed * 0.97; showy = _y; showx = _x; _x = (_x + xspeed); _y = (_y - ((-_parent.player.yspeed) + yspeed)); if (targetCar == true) { if (_root.targetsLeft > 3) { _root.game.targetShow._x = _x; _root.game.targetShow._y = _y; } else if ((_root.targetsLeft > 0) && (_root.targetsLeft <= 3)) { if (_root.game["targetShow" + this.carId] == undefined) { _root.game.targetShow.duplicateMovieClip("targetShow" + this.carId, _root.game.getNextHighestDepth()); _root.carIdArr[this.carId] = _root.game["targetShow" + this.carId]; } _root.game["targetShow" + this.carId]._x = _x; _root.game["targetShow" + this.carId]._y = _y; } } } }
Instance of Symbol 122 MovieClip "targetShow" in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) { this.swapDepths(501); }
Instance of Symbol 130 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (load) { timer = 0; spawnTime = 200; startX = _x; newLane = none; oldLane = alsoNone; lastCar = none; createCar = true; targetSpawned = false; } onClipEvent (enterFrame) { if (_root.nextCar == true) { var amount = (1 + random(4)); _x = _root.game["lane" + amount]._x; newLane = _root.game["lane" + amount]; } else { var amount = (1 + random(4)); _x = _root.game["lane" + amount]._x; newLane = _root.game["lane" + amount]; } timer = timer + (_root.game.player.yspeed + random(_root.game.player.yspeed / 2)); if (newLane != oldLane) { if (lastCar._y < (_y + lastCar._height)) { createCar = false; } else { createCar = true; } } else { createCar = false; } if ((((timer > spawnTime) && (_root.carsAlive < _root.maxCars)) && (createCar == true)) && (_root.carId != 10)) { _root.carsAlive = _root.carsAlive + 1; _root.carId = _root.carId + 1; if (_root.game["car" + _root.carId]._x == undefined) { duplicateMovieClip (_parent.car, "car" + _root.carId, _root.carId + 151); if (_root.nextCar == true) { _root.totalTargetCar++; if ((_root.totalTargetCar > 3) && (_root.totalTargetCar < 6)) { } else { _root.nextCar = false; } _root.game["car" + _root.carId]._x = (_x - 2) + random(4); _root.game["car" + _root.carId]._y = _y; _root.game["car" + _root.carId].lane = _root.game["lane" + amount]; _root.game["car" + _root.carId].laneId = 2; _root.game["car" + _root.carId].targetCar = true; } else { _root.game["car" + _root.carId]._x = (_x - 2) + random(4); _root.game["car" + _root.carId]._y = _y; _root.game["car" + _root.carId].lane = _root.game["lane" + amount]; _root.game["car" + _root.carId].laneId = amount; _root.game["car" + _root.carId].targetCar = false; } lastCar = _root.game["car" + _root.carId]; timer = 0; } oldLane = _root.game["lane" + amount]; } }
Instance of Symbol 62 MovieClip "plusMc" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { startY = _y; var pArr = [_root.game.lane1.targetX, _root.game.lane2.targetX, _root.game.lane3.targetX, _root.game.lane4.targetX]; } onClipEvent (enterFrame) { if (hit == false) { _y = (_y + _parent.player.yspeed); } if (((_y + _parent.player.yspeed) > (startY + 1725)) || (hit == true)) { hit = true; _y = startY; var pX = int(Math.random() * 3); this._x = pArr[pX] - (this._width / 2); } }
Instance of Symbol 133 MovieClip "prop" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { startY = _y; yspeed = 0; xspeed = 0; hitTimes = 0; } onClipEvent (enterFrame) { if (_parent.player.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + _parent.player.yspeed) * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { hitTimes = hitTimes + 1; if (_currentframe == 1) { yspeed = yspeed - _parent.player.yspeed; } else { yspeed = yspeed - (_parent.player.yspeed * 0.5); } xspeed = xspeed + (((_x - _parent.player._x) / 40) + (_parent.player.xspeed / 2)); _parent.player.yspeed = _parent.player.yspeed / 1.01; gotoAndStop (2); } if (hitTimes > 10) { _root.hud.displayText = "Cone carrying bonus 200 points!"; _root.hud.score = _root.hud.score + 200; } var target = _parent.walls; if (target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { yspeed = (-yspeed) * 0.5; } if (target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (yspeed + _root.game.player.yspeed)) { yspeed = (-yspeed) * 0.5; } if (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed < 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; } if (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed > 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; } xspeed = xspeed * 0.97; yspeed = yspeed * 0.97; showy = _y; showx = _x; _rotation = (_rotation + ((xspeed + yspeed) * 4)); _x = (_x + xspeed); _y = (_y + (_parent.player.yspeed + yspeed)); }
Instance of Symbol 177 MovieClip "player" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { gotoAndStop (1); maxSpeed = 50; yspeed = 50; xspeed = 0; mass = ((_height + _width) / 33) * 5; maxLife = 300; life = maxLife; slowTimer = 0; origWidth = _width; this.swapDepths(2); yspeed = 60; exploded = false; smokeTime = 0; hitTime = 0; skidPlaying = false; rev = true; revLength = 0; explodeTimer = 10; colorArr = ["0x339999", "0x99CC66", "0x993333", "0xCCCC66"]; } onClipEvent (enterFrame) { if (_root.hud.speed >= 200) { skidActive = true; } if (skidActive == true) { if (Key.isDown(40) || (Key.isDown(32))) { } else { skidActive = false; } } if ((skidActive == true) && (_root.hud.speed <= 30)) { _root.skidDone = true; } if (_root.game.cars.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (yspeed > 30)) { hitTime = hitTime + 1; } else if (hitTime > 0) { _root.score = _root.score + (yspeed / 5); hitTime = 0; } else { hitTime = 0; } if (yspeed < 0) { yspeed = yspeed - (yspeed / 2); } if ((yspeed / 5) < 3.5) { var turnSpeed = (yspeed / 5); } else { turnSpeed = 3.5; } if ((Key.isDown(38) && (yspeed < maxSpeed)) && (life > 0)) { yspeed = yspeed + 0.8; } if ((Key.isDown(32) && (yspeed > 0)) || ((Key.isDown(40) && (yspeed > 0)) && (life > 0))) { yspeed = yspeed - 1.4; turnSpeed = turnSpeed + 0.1; if (yspeed > 10) { if (skidPlaying == false) { skidSound = new Sound(this); skidSound.attachSound("skid"); skidSound.start(0, 4); skidPlaying = true; } skidSound.setVolume(yspeed * 2); var adjside = ((_x - xspeed) - _x); var oppside = (-1 * ((_y + yspeed) - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; _root.game.effects2.id = _root.game.effects2.id + 1; duplicateMovieClip (_root.game.effects2.skid, "spark" + _root.game.effects2.id, _root.game.effects2.id + 1); if (_rotation <= 0) { _root.game.effects2["spark" + _root.game.effects2.id]._x = ((_x + (_width / 2)) - 8) + xspeed; } else { _root.game.effects2["spark" + _root.game.effects2.id]._x = (((_x + (_width / 2)) - (_rotation * 1.8)) - 8) + xspeed; } _root.game.effects2["spark" + _root.game.effects2.id]._y = _y + (_height / 3); _root.game.effects2["spark" + _root.game.effects2.id]._height = yspeed + 4; _root.game.effects2["spark" + _root.game.effects2.id]._alpha = yspeed * 1.5; _root.game.effects2["spark" + _root.game.effects2.id]._rotation = (-1 * angle) - 90; _root.game.effects2.id = _root.game.effects2.id + 1; duplicateMovieClip (_root.game.effects2.skid, "spark" + _root.game.effects2.id, _root.game.effects2.id + 1); if (_rotation >= 0) { _root.game.effects2["spark" + _root.game.effects2.id]._x = ((_x - (_width / 2)) + 8) + xspeed; } else { _root.game.effects2["spark" + _root.game.effects2.id]._x = (((_x - (_width / 2)) - (_rotation * 1.8)) + 8) + xspeed; } _root.game.effects2["spark" + _root.game.effects2.id]._y = _y + (_height / 3); _root.game.effects2["spark" + _root.game.effects2.id]._height = yspeed + 4; _root.game.effects2["spark" + _root.game.effects2.id]._alpha = yspeed * 1.5; _root.game.effects2["spark" + _root.game.effects2.id]._rotation = (-1 * angle) - 90; } else { skidSound.stop(); skidPlaying = false; } } else { if (turnSpeed > 3.5) { turnSpeed = turnSpeed - 0.1; } skidPlaying = false; skidSound.stop(); } if (Key.isDown(39) && (life > 0)) { xspeed = xspeed + turnSpeed; } if (Key.isDown(37) && (life > 0)) { xspeed = xspeed - turnSpeed; } _rotation = (xspeed / 2); xspeed = xspeed * 0.8; _x = (_x + xspeed); yspeed = yspeed * 0.99; showx = _x; showy = _y; if (life < 0) { explodeTimer = explodeTimer + 1; } if ((life < 0) && (explodeTimer > 20)) { explodeTimer = 0; exploded = true; _root.id = _root.id + 1; _root.game.expTargetX = _x; _root.game.expTargetY = _y; _root.game.expSize = _height; _root.game.expSize = _height; duplicateMovieClip (_root.game.explosion, "explosion" + _root.id, _root.id + 1); _root.game["explosion" + _root.id]._x = _x; _root.game["explosion" + _root.id]._y = _y; _root.game["explosion" + _root.id]._height = _root.game.expSize / 3; _root.game["explosion" + _root.id]._width = _root.game.expSize / 3; _root.game["explosion" + _root.id].sizeE = _root.game.expSize * 2; } if (life < 40) { smokeTime = smokeTime + (yspeed / 5); if (smokeTime > 5) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_parent.effects.smoke, "spark" + _parent.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = _x; _root.game.effects["spark" + _root.game.effects.id]._y = _y - (_height / 2); _root.game.effects["spark" + _root.game.effects.id]._height = _root.game.effects["spark" + _root.game.effects.id]._height + yspeed; _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = yspeed; _root.game.effects.id = _root.game.effects.id + 1; smokeTime = 0; } } var target = _parent.walls; if ((target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) || (target.hitTest(((_x + (_width / 3)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) || (target.hitTest(((_x - (_width / 3)) * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y - (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true))) { if (yspeed > 0) { life = life - yspeed; } else { life = life + yspeed; } yspeed = (-yspeed) * 1; } if (target.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, ((_y + (_height / 2)) * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (yspeed + _root.game.player.yspeed)) { if (yspeed > 0) { life = life - yspeed; } else { life = life + yspeed; } _y = (_y - yspeed); yspeed = (-yspeed) * 1; } if (target.hitTest(((_x - (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed < 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; var sparkNo = ((yspeed / 5) - 2); life = life - (sparkNo / 5); i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.spark, "spark" + _root.game.effects.id, _root.game.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.paint, "spark" + _root.game.effects.id, _root.game.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x - (_width / 2)) + random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = yspeed * 1.5; i = i + 1; } } if (target.hitTest(((_x + (_width / 2)) * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true) && (xspeed > 0)) { _x = (_x - xspeed); xspeed = (-xspeed) * 0.2; var sparkNo = ((yspeed / 5) - 2); life = life - (sparkNo / 5); i = 0; while (i < sparkNo) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.spark, "spark" + _root.game.effects.id, _parent.effects.id + 1); var pColor = new Color(_root.game.effects["spark" + _root.game.effects.id]); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = _root.game.effects["spark" + _root.game.effects.id].yspeed + (yspeed * 2); i = i + 1; } i = 0; while (i < (sparkNo / 4)) { _root.game.effects.id = _root.game.effects.id + 1; duplicateMovieClip (_root.game.effects.paint, "spark" + _root.game.effects.id, _parent.effects.id + 1); _root.game.effects["spark" + _root.game.effects.id]._x = (_x + (_width / 2)) - random(_width / 3); _root.game.effects["spark" + _root.game.effects.id]._y = (_y - (_height / 2)) + random(_height); _root.game.effects["spark" + _root.game.effects.id].xspeed = _root.game.effects["spark" + _root.game.effects.id].xspeed + xspeed; _root.game.effects["spark" + _root.game.effects.id].yspeed = yspeed * 1.5; i = i + 1; } } if (_root.game.slower.hitTest((_x * (1 / (100 / _root.game._xscale))) + _root.game._x, (_y * (1 / (100 / _root.game._yscale))) + _root.game._y, true)) { if ((_x * (1 / (100 / _root.game._xscale))) < 0) { _root.pavementTime = _root.pavementTime + 1; } if (slowTimer < 20) { slowTimer = slowTimer + 1; } else { yspeed = yspeed * 0.98; } } else if (slowTimer > 0) { slowTimer = slowTimer - 1; } if (this.hitTest(_parent.plusMc) && (_parent.plusMc.hit == false)) { _parent.plusMc._alpha = 0; _parent.plusMc.hit = true; life = life + (0.1 * maxLife); if (life >= maxLife) { life = maxLife; } _root.checkHitStatus(); } if (_root.game.sound.type == 2) { var dist = Math.sqrt(((_x - _root.game.sound._x) * (_x - _root.game.sound._x)) + ((_y - _root.game.sound._y) * (_y - _root.game.sound._y))); if (dist < 300) { interestX = _root.game.sound._x; interestY = _root.game.sound._y; interestLevel = interestLevel + 50; } if (dist < (_root.game.sound.size * 2)) { life = life - (((_root.game.sound.size * 2) - dist) / 50); var adjside = (_root.game.sound._x - _x); var oppside = (-1 * (_root.game.sound._y - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; var throwRot = (-1 * angle); xspeed = xspeed - (Math.cos(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (5 * mass))); yspeed = yspeed + (Math.sin(throwRot * 0.01745329) * (((_root.game.sound.size * 2) - dist) / (5 * mass))); } } }
Instance of Symbol 179 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (load) { targetC = _parent.targetShow; } onClipEvent (enterFrame) { if (_root.targetsLeft > 3) { targetC = _parent.targetShow; } else if ((_root.targetsLeft > 0) && (_root.targetsLeft <= 3)) { var pNum = (_root.totalLostCar + 1); var pMc = _root.carIdArr[pNum]; if (pMc == undefined) { targetC = _parent.targetShow; } else { targetC = pMc; } } if ((_root.hud.targetDisplay.pDist < 1) && (_root.nextCar == false)) { _alpha = 100; } else { _alpha = 0; } _x = _root.game.player._x; this.swapDepths(_root.game.getNextHighestDepth()); var adjside = (targetC._x - _x); var oppside = (-1 * (targetC._y - _y)); var angle = Math.atan2(oppside, adjside); angle = (angle / 3.141593) * 180; _rotation = (-1 * angle); }
Instance of Symbol 201 MovieClip "effects" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { id = 0; } onClipEvent (enterFrame) { this.swapDepths(300); if (id > 50) { id = 0; } }
Instance of Symbol 203 MovieClip "sound" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { owner = false; owned = 0; type = 1; size = 1; } onClipEvent (enterFrame) { if (owner != false) { if (owned < 1) { _x = owner._x; _y = owner._y; } owned = owned + 1; } if (owned > 2) { owner = false; owned = 0; type = 1; _x = -9999; } }
Instance of Symbol 233 MovieClip "explosion" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { var sizeE; if ((_x - _root.game.player._x) > 100) { pan = 100; } else if ((_x - _root.game.player._x) < -100) { pan = -100; } else { pan = _x - _root.game.player._x; } vol = 100 - (Math.sqrt(((_x - _root.game.player._x) * (_x - _root.game.player._x)) + ((_y - _root.game.player._y) * (_y - _root.game.player._y))) / 10); if (vol > 100) { vol = 100; } if (vol < 0) { vol = 0; } if (_name == "explosion") { _visible = false; } else { explosionSound = new Sound(this); explosionSound.attachSound("explosion"); explosionSound.setPan(pan); explosionSound.setVolume(vol); explosionSound.start(0, 0); explosionSound.setPan(pan); explosionSound.setVolume(vol); } time = 100; } onClipEvent (enterFrame) { _y = (_y + _root.game.player.yspeed); if ((_x - _root.game.player._x) > 100) { pan = 100; } else if ((_x - _root.game.player._x) < -100) { pan = -100; } else { pan = _x - _root.game.player._x; } vol = 100 - (Math.sqrt(((_x - _root.game.player._x) * (_x - _root.game.player._x)) + ((_y - _root.game.player._y) * (_y - _root.game.player._y))) / 10); if (vol > 100) { vol = 100; } if (vol < 0) { vol = 0; } explosionSound.setPan(pan); explosionSound.setVolume(vol); }
Instance of Symbol 201 MovieClip "effects2" in Symbol 309 MovieClip Frame 1
onClipEvent (load) { id = 0; _x = 0; _y = 0; } onClipEvent (enterFrame) { this.swapDepths(1); if (id > 50) { id = 0; } }
Instance of Symbol 235 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) { this.swapDepths(1001); }
Symbol 334 MovieClip Frame 2
Symbol 334 MovieClip Frame 50
if ((txt == "MISSION COMPLETE") && (_root.missionCompleteShown)) { _root.gotoAndPlay("sendScore"); }
Symbol 334 MovieClip Frame 51
removeMovieClip(this);

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 FontUsed by:3 52 53 63 83 84 85 86 238 250 254 255 256 258 260 265 266 267 268 270 274 278 285 286 287 288 289 298 299 300 301 302 311 312 313 314 315 316 329 335 336 341 342 343 344 345
Symbol 3 EditableTextUses:2Used by:Timeline
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:Timeline
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:8
Symbol 8 MovieClipUses:7Used by:Timeline
Symbol 9 FontUsed by:10 51 67 238 243 244 249 254 255 256 258 284 292 305 321 322 323 326 327 328 329 330 333
Symbol 10 TextUses:9Used by:Timeline
Symbol 11 GraphicUsed by:12 13
Symbol 12 MovieClipUses:11Used by:13
Symbol 13 MovieClipUses:11 12Used by:Timeline
Symbol 14 BitmapUsed by:15 269
Symbol 15 GraphicUses:14Used by:19 281
Symbol 16 FontUsed by:17 18
Symbol 17 TextUses:16Used by:19
Symbol 18 TextUses:16Used by:19
Symbol 19 MovieClipUses:15 17 18Used by:Timeline
Symbol 346 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 347 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 348 MovieClip [__Packages.mx.transitions.Tween]
Symbol 349 MovieClip [__Packages.mx.transitions.easing.Strong]
Symbol 350 MovieClip [__Packages.mx.utils.Delegate]
Symbol 20 Sound [engine2]Used by:21
Symbol 21 MovieClipUses:20Used by:35
Symbol 22 Sound [engineIdle]Used by:23
Symbol 23 MovieClipUses:22Used by:35
Symbol 24 MovieClipUsed by:35
Symbol 25 Sound [hit1]Used by:26
Symbol 26 MovieClipUses:25Used by:35
Symbol 27 Sound [hit2]Used by:28
Symbol 28 MovieClipUses:27Used by:35
Symbol 29 Sound [hit3]Used by:30
Symbol 30 MovieClipUses:29Used by:35
Symbol 31 Sound [skid]Used by:32
Symbol 32 MovieClipUses:31Used by:35
Symbol 33 Sound [traffic]Used by:34
Symbol 34 MovieClipUses:33Used by:35
Symbol 35 MovieClipUses:21 23 24 26 28 30 32 34Used by:Timeline
Symbol 36 BitmapUsed by:39
Symbol 37 BitmapUsed by:39
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:36 37 38Used by:Timeline
Symbol 40 GraphicUsed by:Timeline
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:43 64
Symbol 43 ButtonUses:42Used by:Timeline
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:46
Symbol 46 ButtonUses:45Used by:Timeline
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:49
Symbol 49 MovieClipUses:48Used by:Timeline
Symbol 50 GraphicUsed by:Timeline
Symbol 51 TextUses:9Used by:Timeline
Symbol 52 TextUses:2Used by:Timeline
Symbol 53 TextUses:2Used by:Timeline
Symbol 54 BitmapUsed by:59
Symbol 55 BitmapUsed by:59
Symbol 56 BitmapUsed by:59
Symbol 57 BitmapUsed by:59
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:54 55 56 57 58Used by:Timeline
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:62
Symbol 62 MovieClipUses:61Used by:236 297 309  Timeline
Symbol 63 TextUses:2Used by:Timeline
Symbol 64 ButtonUses:42Used by:Timeline
Symbol 65 BitmapUsed by:66
Symbol 66 GraphicUses:65Used by:Timeline
Symbol 67 TextUses:9Used by:Timeline
Symbol 68 GraphicUsed by:Timeline
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:71
Symbol 71 ButtonUses:70Used by:Timeline
Symbol 72 GraphicUsed by:75
Symbol 73 FontUsed by:74
Symbol 74 TextUses:73Used by:75
Symbol 75 MovieClipUses:72 74Used by:76
Symbol 76 MovieClipUses:75Used by:Timeline
Symbol 77 BitmapUsed by:80
Symbol 78 BitmapUsed by:80
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:77 78 79Used by:81
Symbol 81 MovieClipUses:80Used by:82
Symbol 82 MovieClipUses:81Used by:236 297 309
Symbol 83 TextUses:2Used by:236 297 309
Symbol 84 TextUses:2Used by:236 297 309
Symbol 85 TextUses:2Used by:236 297 309
Symbol 86 TextUses:2Used by:236 297 309
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:236 297 309
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:89Used by:236 297 309
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:93
Symbol 93 MovieClipUses:92Used by:94
Symbol 94 MovieClipUses:93Used by:236 297 309
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:115
Symbol 97 GraphicUsed by:100
Symbol 98 GraphicUsed by:100
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:97 98 99Used by:115 295
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:115 295
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:115 295
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:115
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:115 295
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:115
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:115 295
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:115 295
Symbol 115 MovieClipUses:96 100 102 104 106 108 110 112 114Used by:119 296 308
Symbol 116 GraphicUsed by:119 296 308
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:119 308
Symbol 119 MovieClipUses:115 116 118Used by:236
Symbol 120 ShapeTweeningUsed by:122
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:120 121Used by:236 297 309
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:125
Symbol 125 MovieClipUses:124Used by:236 297 309
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:128
Symbol 128 MovieClipUses:127Used by:236 297
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:129Used by:236 297 309
Symbol 131 GraphicUsed by:133
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClipUses:131 132Used by:236 297 309
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:177
Symbol 136 GraphicUsed by:175
Symbol 137 GraphicUsed by:175
Symbol 138 GraphicUsed by:175
Symbol 139 GraphicUsed by:175
Symbol 140 GraphicUsed by:175
Symbol 141 GraphicUsed by:175
Symbol 142 GraphicUsed by:175
Symbol 143 GraphicUsed by:175
Symbol 144 GraphicUsed by:175
Symbol 145 GraphicUsed by:175
Symbol 146 GraphicUsed by:175
Symbol 147 GraphicUsed by:175
Symbol 148 GraphicUsed by:175
Symbol 149 GraphicUsed by:175
Symbol 150 GraphicUsed by:175
Symbol 151 GraphicUsed by:175
Symbol 152 GraphicUsed by:175
Symbol 153 GraphicUsed by:175
Symbol 154 GraphicUsed by:175
Symbol 155 GraphicUsed by:175
Symbol 156 GraphicUsed by:175
Symbol 157 GraphicUsed by:175
Symbol 158 GraphicUsed by:175
Symbol 159 GraphicUsed by:175
Symbol 160 GraphicUsed by:175
Symbol 161 GraphicUsed by:175
Symbol 162 GraphicUsed by:175
Symbol 163 GraphicUsed by:175
Symbol 164 GraphicUsed by:175
Symbol 165 GraphicUsed by:175
Symbol 166 GraphicUsed by:175
Symbol 167 GraphicUsed by:175
Symbol 168 GraphicUsed by:175
Symbol 169 GraphicUsed by:175
Symbol 170 GraphicUsed by:175
Symbol 171 GraphicUsed by:175
Symbol 172 GraphicUsed by:175
Symbol 173 GraphicUsed by:175
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174Used by:177
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:135 175 176Used by:236 297 309
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:236 297 309
Symbol 180 BitmapUsed by:181
Symbol 181 GraphicUses:180Used by:182
Symbol 182 MovieClipUses:181Used by:183
Symbol 183 MovieClipUses:182Used by:201
Symbol 184 GraphicUsed by:185
Symbol 185 MovieClipUses:184Used by:201
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClipUses:186Used by:201
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:190
Symbol 190 MovieClipUses:189Used by:191
Symbol 191 MovieClipUses:190Used by:201
Symbol 192 GraphicUsed by:200
Symbol 193 GraphicUsed by:200
Symbol 194 GraphicUsed by:200
Symbol 195 GraphicUsed by:200
Symbol 196 GraphicUsed by:200
Symbol 197 GraphicUsed by:200
Symbol 198 GraphicUsed by:200
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClipUses:192 193 194 195 196 197 198 199Used by:201
Symbol 201 MovieClipUses:183 185 187 191 200Used by:236 297 309
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClipUses:202Used by:236 297 309
Symbol 204 ShapeTweeningUsed by:212
Symbol 205 GraphicUsed by:212
Symbol 206 GraphicUsed by:212
Symbol 207 ShapeTweeningUsed by:212
Symbol 208 GraphicUsed by:212
Symbol 209 GraphicUsed by:212
Symbol 210 GraphicUsed by:212
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:204 205 206 207 208 209 210 211Used by:236 297
Symbol 213 BitmapUsed by:214
Symbol 214 GraphicUses:213Used by:233
Symbol 215 BitmapUsed by:216
Symbol 216 GraphicUses:215Used by:233
Symbol 217 BitmapUsed by:218
Symbol 218 GraphicUses:217Used by:233
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:233
Symbol 221 BitmapUsed by:222
Symbol 222 GraphicUses:221Used by:233
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:233
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:233
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:233
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:233
Symbol 231 BitmapUsed by:232
Symbol 232 GraphicUses:231Used by:233
Symbol 233 MovieClipUses:214 216 218 220 222 224 226 228 230 232Used by:236 297 309
Symbol 234 GraphicUsed by:235
Symbol 235 MovieClipUses:234Used by:236 297 309
Symbol 236 MovieClipUses:82 83 84 85 86 88 90 94 119 122 125 128 130 133 177 179 201 203 212 233 62 235Used by:Timeline
Symbol 237 GraphicUsed by:263
Symbol 238 EditableTextUses:2 9 324Used by:239
Symbol 239 MovieClipUses:238Used by:263
Symbol 240 BitmapUsed by:242
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:240 241Used by:263
Symbol 243 TextUses:9Used by:263
Symbol 244 TextUses:9Used by:263
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:248
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:246 247Used by:263
Symbol 249 TextUses:9Used by:263
Symbol 250 EditableTextUses:2Used by:263
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClipUses:251Used by:253
Symbol 253 MovieClipUses:252Used by:263
Symbol 254 EditableTextUses:2 9 324Used by:263
Symbol 255 EditableTextUses:2 9 324Used by:263
Symbol 256 EditableTextUses:2 9 324Used by:263
Symbol 257 GraphicUsed by:259
Symbol 258 EditableTextUses:2 9 324Used by:259
Symbol 259 MovieClipUses:257 258Used by:263
Symbol 260 TextUses:2Used by:261
Symbol 261 MovieClipUses:260Used by:262
Symbol 262 MovieClipUses:261Used by:263
Symbol 263 MovieClipUses:237 239 242 243 244 248 249 250 253 254 255 256 259 262Used by:Timeline
Symbol 264 GraphicUsed by:Timeline
Symbol 265 EditableTextUses:2Used by:Timeline
Symbol 266 EditableTextUses:2Used by:Timeline
Symbol 267 EditableTextUses:2Used by:Timeline
Symbol 268 EditableTextUses:2Used by:Timeline
Symbol 269 GraphicUses:14Used by:271 275 317
Symbol 270 TextUses:2Used by:271
Symbol 271 MovieClipUses:269 270Used by:Timeline
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:Timeline
Symbol 274 TextUses:2Used by:275
Symbol 275 MovieClipUses:269 274Used by:Timeline
Symbol 276 BitmapUsed by:277 310
Symbol 277 GraphicUses:276Used by:Timeline
Symbol 278 EditableTextUses:2Used by:Timeline
Symbol 279 FontUsed by:280
Symbol 280 TextUses:279Used by:281
Symbol 281 MovieClipUses:15 280Used by:Timeline
Symbol 282 BitmapUsed by:283
Symbol 283 GraphicUses:282Used by:Timeline
Symbol 284 TextUses:9Used by:Timeline
Symbol 285 EditableTextUses:2Used by:Timeline
Symbol 286 EditableTextUses:2Used by:Timeline
Symbol 287 EditableTextUses:2Used by:Timeline
Symbol 288 EditableTextUses:2Used by:Timeline
Symbol 289 EditableTextUses:2Used by:Timeline
Symbol 290 BitmapUsed by:291
Symbol 291 GraphicUses:290Used by:Timeline
Symbol 292 TextUses:9Used by:Timeline
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:293Used by:295
Symbol 295 MovieClipUses:294 100 102 104 108 112 114Used by:296 308
Symbol 296 MovieClipUses:115 116 295Used by:297
Symbol 297 MovieClipUses:82 83 84 85 86 88 90 94 296 122 125 128 130 133 177 179 201 203 212 233 62 235Used by:Timeline
Symbol 298 EditableTextUses:2Used by:Timeline
Symbol 299 EditableTextUses:2Used by:Timeline
Symbol 300 EditableTextUses:2Used by:Timeline
Symbol 301 EditableTextUses:2Used by:Timeline
Symbol 302 EditableTextUses:2Used by:Timeline
Symbol 303 BitmapUsed by:304
Symbol 304 GraphicUses:303Used by:Timeline
Symbol 305 TextUses:9Used by:Timeline
Symbol 306 BitmapUsed by:307
Symbol 307 GraphicUses:306Used by:308
Symbol 308 MovieClipUses:115 116 118 295 307Used by:309
Symbol 309 MovieClipUses:82 83 84 85 86 88 90 94 308 122 125 130 62 133 177 179 201 203 233 235Used by:Timeline
Symbol 310 GraphicUses:276Used by:Timeline
Symbol 311 EditableTextUses:2Used by:Timeline
Symbol 312 EditableTextUses:2Used by:Timeline
Symbol 313 EditableTextUses:2Used by:Timeline
Symbol 314 EditableTextUses:2Used by:Timeline
Symbol 315 EditableTextUses:2Used by:Timeline
Symbol 316 TextUses:2Used by:317
Symbol 317 MovieClipUses:269 316Used by:Timeline
Symbol 318 BitmapUsed by:320 340
Symbol 319 BitmapUsed by:320 340
Symbol 320 GraphicUses:318 319Used by:Timeline
Symbol 321 EditableTextUses:9Used by:334
Symbol 322 EditableTextUses:9Used by:334
Symbol 323 EditableTextUses:9Used by:334
Symbol 324 FontUsed by:238 254 255 256 258 325 329
Symbol 325 EditableTextUses:324Used by:334
Symbol 326 EditableTextUses:9Used by:334
Symbol 327 EditableTextUses:9Used by:334
Symbol 328 EditableTextUses:9Used by:334
Symbol 329 EditableTextUses:2 9 324Used by:334
Symbol 330 EditableTextUses:9Used by:334
Symbol 331 SoundUsed by:334
Symbol 332 GraphicUsed by:334
Symbol 333 EditableTextUses:9Used by:334
Symbol 334 MovieClipUses:321 322 323 325 326 327 328 329 330 331 332 333Used by:Timeline
Symbol 335 EditableTextUses:2Used by:Timeline
Symbol 336 EditableTextUses:2Used by:Timeline
Symbol 337 GraphicUsed by:Timeline
Symbol 338 GraphicUsed by:339
Symbol 339 MovieClipUses:338Used by:Timeline
Symbol 340 GraphicUses:318 319Used by:Timeline
Symbol 341 EditableTextUses:2Used by:Timeline
Symbol 342 EditableTextUses:2Used by:Timeline
Symbol 343 EditableTextUses:2Used by:Timeline
Symbol 344 EditableTextUses:2Used by:Timeline
Symbol 345 EditableTextUses:2Used by:Timeline

Instance Names

"loaderCarMc"Frame 1Symbol 8 MovieClip
"loader"Frame 1Symbol 13 MovieClip
"cMore"Frame 1Symbol 19 MovieClip
"playBtn"Frame 3Symbol 43 Button
"insBtn"Frame 3Symbol 46 Button
"moreBtn"Frame 3Symbol 49 MovieClip
"plusMc"Frame 4Symbol 62 MovieClip
"playBtn"Frame 4Symbol 64 Button
"playBtn"Frame 5Symbol 71 Button
"moreGBtn"Frame 5Symbol 76 MovieClip
"game"Frame 6Symbol 236 MovieClip
"hud"Frame 6Symbol 263 MovieClip
"msg1_txt"Frame 11Symbol 265 EditableText
"msg2_txt"Frame 11Symbol 266 EditableText
"msg3_txt"Frame 11Symbol 267 EditableText
"msg4_txt"Frame 11Symbol 268 EditableText
"restLvlBtn"Frame 11Symbol 271 MovieClip
"nxtLvlBtn"Frame 11Symbol 275 MovieClip
"score_txt"Frame 11Symbol 278 EditableText
"playMore"Frame 11Symbol 281 MovieClip
"playBtn"Frame 20Symbol 71 Button
"moreGBtn"Frame 20Symbol 76 MovieClip
"game"Frame 21Symbol 236 MovieClip
"hud"Frame 21Symbol 263 MovieClip
"msg1_txt"Frame 26Symbol 285 EditableText
"msg2_txt"Frame 26Symbol 286 EditableText
"msg3_txt"Frame 26Symbol 287 EditableText
"msg4_txt"Frame 26Symbol 288 EditableText
"restLvlBtn"Frame 26Symbol 271 MovieClip
"nxtLvlBtn"Frame 26Symbol 275 MovieClip
"score_txt"Frame 26Symbol 289 EditableText
"playMore"Frame 26Symbol 281 MovieClip
"playBtn"Frame 35Symbol 71 Button
"moreGBtn"Frame 35Symbol 76 MovieClip
"game"Frame 36Symbol 297 MovieClip
"hud"Frame 36Symbol 263 MovieClip
"msg1_txt"Frame 41Symbol 298 EditableText
"msg2_txt"Frame 41Symbol 299 EditableText
"msg3_txt"Frame 41Symbol 300 EditableText
"msg4_txt"Frame 41Symbol 301 EditableText
"restLvlBtn"Frame 41Symbol 271 MovieClip
"nxtLvlBtn"Frame 41Symbol 275 MovieClip
"score_txt"Frame 41Symbol 302 EditableText
"playMore"Frame 41Symbol 281 MovieClip
"playBtn"Frame 50Symbol 71 Button
"moreGBtn"Frame 50Symbol 76 MovieClip
"game"Frame 51Symbol 309 MovieClip
"hud"Frame 51Symbol 263 MovieClip
"score_txt"Frame 56Symbol 311 EditableText
"msg1_txt"Frame 56Symbol 312 EditableText
"msg2_txt"Frame 56Symbol 313 EditableText
"msg3_txt"Frame 56Symbol 314 EditableText
"msg4_txt"Frame 56Symbol 315 EditableText
"restLvlGBtn"Frame 56Symbol 317 MovieClip
"playMore"Frame 56Symbol 281 MovieClip
"restLvlGBtn"Frame 71Symbol 317 MovieClip
"restLvlBtn"Frame 71Symbol 271 MovieClip
"messageD"Frame 71Symbol 334 MovieClip
"msg1_txt"Frame 71Symbol 335 EditableText
"msg2_txt"Frame 71Symbol 336 EditableText
"playMore"Frame 71Symbol 281 MovieClip
"messageD"Frame 72Symbol 334 MovieClip
"sender"Frame 72Symbol 339 MovieClip
"msg1_txt"Frame 72Symbol 341 EditableText
"msg2_txt"Frame 72Symbol 342 EditableText
"msg3_txt"Frame 72Symbol 343 EditableText
"msg4_txt"Frame 72Symbol 344 EditableText
"playAgnBtn"Frame 72Symbol 271 MovieClip
"score_txt"Frame 72Symbol 345 EditableText
"bar"Symbol 13 MovieClip Frame 1Symbol 12 MovieClip
"tracker"Symbol 125 MovieClip Frame 1Symbol 124 MovieClip
"trail"Symbol 183 MovieClip Frame 1Symbol 182 MovieClip
"spark"Symbol 201 MovieClip Frame 1Symbol 183 MovieClip
"skid"Symbol 201 MovieClip Frame 1Symbol 185 MovieClip
"paint"Symbol 201 MovieClip Frame 1Symbol 187 MovieClip
"smoke"Symbol 201 MovieClip Frame 1Symbol 191 MovieClip
"smoke2"Symbol 201 MovieClip Frame 1Symbol 191 MovieClip
"tire"Symbol 201 MovieClip Frame 1Symbol 200 MovieClip
"track"Symbol 236 MovieClip Frame 1Symbol 82 MovieClip
"lane1"Symbol 236 MovieClip Frame 1Symbol 88 MovieClip
"lane2"Symbol 236 MovieClip Frame 1Symbol 88 MovieClip
"lane3"Symbol 236 MovieClip Frame 1Symbol 88 MovieClip
"lane4"Symbol 236 MovieClip Frame 1Symbol 88 MovieClip
"slower"Symbol 236 MovieClip Frame 1Symbol 90 MovieClip
"walls"Symbol 236 MovieClip Frame 1Symbol 94 MovieClip
"car"Symbol 236 MovieClip Frame 1Symbol 119 MovieClip
"targetShow"Symbol 236 MovieClip Frame 1Symbol 122 MovieClip
"cars"Symbol 236 MovieClip Frame 1Symbol 125 MovieClip
"targetShow1"Symbol 236 MovieClip Frame 1Symbol 128 MovieClip
"prop"Symbol 236 MovieClip Frame 1Symbol 133 MovieClip
"player"Symbol 236 MovieClip Frame 1Symbol 177 MovieClip
"effects"Symbol 236 MovieClip Frame 1Symbol 201 MovieClip
"sound"Symbol 236 MovieClip Frame 1Symbol 203 MovieClip
"explosion__"Symbol 236 MovieClip Frame 1Symbol 212 MovieClip
"explosion"Symbol 236 MovieClip Frame 1Symbol 233 MovieClip
"effects2"Symbol 236 MovieClip Frame 1Symbol 201 MovieClip
"plusMc"Symbol 236 MovieClip Frame 1Symbol 62 MovieClip
"maskMc"Symbol 248 MovieClip Frame 1Symbol 246 MovieClip
"msg_txt"Symbol 259 MovieClip Frame 1Symbol 258 EditableText
"targetDisplay"Symbol 263 MovieClip Frame 1Symbol 239 MovieClip
"healthMc"Symbol 263 MovieClip Frame 1Symbol 248 MovieClip
"lft_target"Symbol 263 MovieClip Frame 1Symbol 250 EditableText
"dial"Symbol 263 MovieClip Frame 1Symbol 253 MovieClip
"messageD"Symbol 263 MovieClip Frame 1Symbol 259 MovieClip
"aheadMc"Symbol 263 MovieClip Frame 1Symbol 262 MovieClip
"track"Symbol 297 MovieClip Frame 1Symbol 82 MovieClip
"lane1"Symbol 297 MovieClip Frame 1Symbol 88 MovieClip
"lane2"Symbol 297 MovieClip Frame 1Symbol 88 MovieClip
"lane3"Symbol 297 MovieClip Frame 1Symbol 88 MovieClip
"lane4"Symbol 297 MovieClip Frame 1Symbol 88 MovieClip
"slower"Symbol 297 MovieClip Frame 1Symbol 90 MovieClip
"walls"Symbol 297 MovieClip Frame 1Symbol 94 MovieClip
"car"Symbol 297 MovieClip Frame 1Symbol 296 MovieClip
"targetShow"Symbol 297 MovieClip Frame 1Symbol 122 MovieClip
"cars"Symbol 297 MovieClip Frame 1Symbol 125 MovieClip
"targetShow1"Symbol 297 MovieClip Frame 1Symbol 128 MovieClip
"prop"Symbol 297 MovieClip Frame 1Symbol 133 MovieClip
"player"Symbol 297 MovieClip Frame 1Symbol 177 MovieClip
"effects"Symbol 297 MovieClip Frame 1Symbol 201 MovieClip
"sound"Symbol 297 MovieClip Frame 1Symbol 203 MovieClip
"explosion__"Symbol 297 MovieClip Frame 1Symbol 212 MovieClip
"explosion"Symbol 297 MovieClip Frame 1Symbol 233 MovieClip
"effects2"Symbol 297 MovieClip Frame 1Symbol 201 MovieClip
"plusMc"Symbol 297 MovieClip Frame 1Symbol 62 MovieClip
"track"Symbol 309 MovieClip Frame 1Symbol 82 MovieClip
"lane1"Symbol 309 MovieClip Frame 1Symbol 88 MovieClip
"lane2"Symbol 309 MovieClip Frame 1Symbol 88 MovieClip
"lane3"Symbol 309 MovieClip Frame 1Symbol 88 MovieClip
"lane4"Symbol 309 MovieClip Frame 1Symbol 88 MovieClip
"slower"Symbol 309 MovieClip Frame 1Symbol 90 MovieClip
"walls"Symbol 309 MovieClip Frame 1Symbol 94 MovieClip
"car"Symbol 309 MovieClip Frame 1Symbol 308 MovieClip
"targetShow"Symbol 309 MovieClip Frame 1Symbol 122 MovieClip
"cars"Symbol 309 MovieClip Frame 1Symbol 125 MovieClip
"plusMc"Symbol 309 MovieClip Frame 1Symbol 62 MovieClip
"prop"Symbol 309 MovieClip Frame 1Symbol 133 MovieClip
"player"Symbol 309 MovieClip Frame 1Symbol 177 MovieClip
"effects"Symbol 309 MovieClip Frame 1Symbol 201 MovieClip
"sound"Symbol 309 MovieClip Frame 1Symbol 203 MovieClip
"explosion"Symbol 309 MovieClip Frame 1Symbol 233 MovieClip
"effects2"Symbol 309 MovieClip Frame 1Symbol 201 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 346 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 347 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 348 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 349 as "__Packages.mx.transitions.easing.Strong"
ExportAssets (56)Timeline Frame 1Symbol 350 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 2Symbol 20 as "engine2"
ExportAssets (56)Timeline Frame 2Symbol 22 as "engineIdle"
ExportAssets (56)Timeline Frame 2Symbol 25 as "hit1"
ExportAssets (56)Timeline Frame 2Symbol 27 as "hit2"
ExportAssets (56)Timeline Frame 2Symbol 29 as "hit3"
ExportAssets (56)Timeline Frame 2Symbol 31 as "skid"
ExportAssets (56)Timeline Frame 2Symbol 33 as "traffic"

Labels

"loader"Frame 1
"Frame 1"Frame 3
"menu"Frame 3
"instructions"Frame 4
"story1"Frame 5
"game1"Frame 6
"levelscore1"Frame 11
"story2"Frame 20
"game2"Frame 21
"levelscore2"Frame 26
"story3"Frame 35
"game3"Frame 36
"levelscore3"Frame 41
"story4"Frame 50
"game4"Frame 51
"levelscore4"Frame 56
"death"Frame 71
"sendScore"Frame 72
"loop"Symbol 122 MovieClip Frame 6
"start"Symbol 262 MovieClip Frame 2
"badGuy"Symbol 296 MovieClip Frame 5
"badGuy"Symbol 308 MovieClip Frame 5
"boss"Symbol 308 MovieClip Frame 6

Dynamic Text Variables

distSymbol 238 EditableText"<p align="left"><font face="Arial" size="14" color="#ffffff" letterSpacing="0.000000" kerning="0">65km</font></p><p align="left"></p>"
healthSymbol 254 EditableText"<p align="left"><font face="Arial" size="20" color="#ffffff" letterSpacing="0.000000" kerning="0">600</font></p><p align="left"></p>"
creditsSymbol 255 EditableText"<p align="center"><font face="Arial" size="18" color="#ffffff" letterSpacing="0.000000" kerning="0">60,050</font></p><p align="center"><font face="Arial" size="18" color="#ffffff" letterSpacing="0.000000" kerning="0">60,0000</font></p>"
currentSpeedSymbol 256 EditableText"<p align="center"><font face="Arial" size="18" color="#ffffff" letterSpacing="0.000000" kerning="0">134 Mph</font></p><p align="center"></p>"
txtSymbol 321 EditableText"<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>"
txtSymbol 322 EditableText"<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>"
txtSymbol 323 EditableText"<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>"
txtSymbol 325 EditableText"<p align="left"><font face="arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>"
txtSymbol 326 EditableText"<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>"
txtSymbol 327 EditableText"<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>"
txtSymbol 328 EditableText"<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>"
txtSymbol 329 EditableText"<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>"
txtSymbol 330 EditableText"<p align="left"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="left"></p>"
txtSymbol 333 EditableText"<p align="center"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>TARGET DESTROYED</b></font></p><p align="center"><font face="Arial" size="37" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>target destroyed</b></font></p>"




http://swfchan.com/22/109750/info.shtml
Created: 14/3 -2019 04:23:53 Last modified: 14/3 -2019 04:23:53 Server time: 03/05 -2024 19:14:24