Frame 1
c1 = _url.indexOf("://") + 3;
c2 = _url.indexOf("/", c1);
domain = _url.substring(c1, c2);
if ((domain == "70.84.129.52") || (domain == "www.ultimatearcade.com")) {
url = "yes";
} else {
url = "no";
}
stop();
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Frame 2
stop();
Instance of Symbol 20 MovieClip in Frame 2
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
text = ("Loaded " + percent) + "%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndStop("welcomeScreen");
} else {
stop();
}
}
Frame 3
stop();
Instance of Symbol 73 MovieClip in Frame 3
onClipEvent (load) {
x = Math.round(Math.random() * 3);
_root.carSelection = x;
}
onClipEvent (enterFrame) {
if (_root.carSelection == 0) {
this.gotoAndStop(1);
}
if (_root.carSelection == 3) {
this.gotoAndStop(1);
}
if (_root.carSelection == 2) {
this.gotoAndStop(2);
}
if (_root.carSelection == 1) {
this.gotoAndStop(3);
}
}
Frame 4
var timing = false;
var paused = false;
var remaining;
var elapsedTime;
var elapsedHours;
var elapsedM;
var elapsedS;
var elapsedH;
var startTime;
var remaining;
var hours;
var minutes;
var seconds;
var hundredths;
if (!_root.timing) {
_root.startTime = getTimer();
_root.paused = false;
_root.timing = true;
}
_root.gameOverWindow.stop_btn.onPress = function () {
_root.timing = false;
_root.paused = false;
_root.timer_txt = "00:00:00";
};
_root.pause_btn.onPress = function () {
if (_root.timing) {
_root.timing = false;
_root.paused = true;
}
};
_root.onEnterFrame = function () {
if ((elapsedM == 1) and (elapsedS > 29)) {
_root.congratulations = "yes";
_root.health.gotoAndStop(51);
}
if (timing) {
elapsedTime = getTimer() - startTime;
elapsedHours = Math.floor(elapsedTime / 3600000);
remaining = elapsedTime - (elapsedHours * 3600000);
elapsedM = Math.floor(remaining / 60000);
remaining = remaining - (elapsedM * 60000);
elapsedS = Math.floor(remaining / 1000);
remaining = remaining - (elapsedS * 1000);
elapsedH = Math.floor(remaining / 10);
if (elapsedHours < 10) {
hours = "0" + elapsedHours.toString();
} else {
hours = elapsedHours.toString();
}
if (elapsedM < 10) {
minutes = "0" + elapsedM.toString();
} else {
minutes = elapsedM.toString();
}
if (elapsedS < 10) {
seconds = "0" + elapsedS.toString();
} else {
seconds = elapsedS.toString();
}
if (elapsedH < 10) {
hundredths = "0" + elapsedH.toString();
} else {
hundredths = elapsedH.toString();
}
_root.timer_txt = (((minutes + ":") + seconds) + ":") + hundredths;
}
};
gameOver = "no";
_root.finalScore = 0;
_root.bonusPoints = 0;
distance = 0;
_root.music.gotoAndStop(1);
stop();
_root.timer_txt = "00:00:00";
_root.congratulations = "no";
Instance of Symbol 82 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.car.shape.hitTest(this)) {
_root.carLocation = "farleft";
}
}
Instance of Symbol 82 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.car.shape.hitTest(this)) {
_root.carLocation = "left";
}
}
Instance of Symbol 82 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.car.shape.hitTest(this)) {
_root.carLocation = "farright";
}
}
Instance of Symbol 82 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.car.shape.hitTest(this)) {
_root.carLocation = "right";
}
}
Instance of Symbol 82 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.car.shape.hitTest(this)) {
_root.car._x = _root.car._x + 20;
}
}
Instance of Symbol 82 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.car.shape.hitTest(this)) {
_root.car._x = _root.car._x - 20;
}
}
Instance of Symbol 82 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.car.shape.hitTest(this)) {
_root.carLocation = "center";
}
}
Instance of Symbol 279 MovieClip "car" in Frame 4
onClipEvent (load) {
_root.distanceTimer = 0;
_root.distanceController = 5;
_root.distanceSpeedTimer = 0;
}
onClipEvent (enterFrame) {
if (_root.gameOver == "yes") {
this.gotoAndStop(1);
}
_root.carX = _root.car._x;
if (_root.gameOver == "no") {
if (_root.distanceSpeedTimer > 100) {
_root.distanceController = 4;
}
if (_root.distanceSpeedTimer > 200) {
_root.distanceController = 3;
}
if (_root.distanceSpeedTimer > 300) {
_root.distanceController = 2;
}
if (_root.distanceSpeedTimer > 400) {
_root.distanceController = 1;
}
_root.distanceTimer++;
_root.distanceSpeedTimer++;
if ((_root.oilSpinOut == "no") and (_root.distanceTimer > _root.distanceController)) {
_root.distance = _root.distance + 10;
_root.distanceTimer = 0;
}
if (Key.isDown(38)) {
} else if (Key.isDown(40)) {
} else if (Key.isDown(39)) {
this._x = this._x + 20;
} else if (Key.isDown(37)) {
this._x = this._x - 20;
}
}
}
Instance of Symbol 307 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.gameOver != "yes") {
if (_root.distanceController == 5) {
this.gotoAndStop(1);
}
if (_root.distanceController == 4) {
this.gotoAndStop(2);
}
if (_root.distanceController == 3) {
this.gotoAndStop(3);
_root.bonusPoints = _root.bonusPoints + 1;
}
if (_root.distanceController == 2) {
this.gotoAndStop(4);
_root.bonusPoints = _root.bonusPoints + 5;
}
if (_root.distanceController == 1) {
this.gotoAndStop(5);
_root.bonusPoints = _root.bonusPoints + 10;
}
}
}
Instance of Symbol 323 MovieClip in Frame 4
onClipEvent (load) {
this.directionTimer = 0;
this.done = "no";
}
onClipEvent (enterFrame) {
if (_root.gameOver == "no") {
if (this.done == "no") {
if (((this._currentframe == 1) or (this._currentframe == 4)) and (_root.currentDirection == "straight")) {
_root.road.gotoAndStop("straight");
this.done = "yes";
}
if (((this._currentframe == 1) or (this._currentframe == 4)) and (_root.currentDirection == "left")) {
_root.road.gotoAndStop("left_straight");
this.done = "yes";
}
if (((this._currentframe == 1) or (this._currentframe == 4)) and (_root.currentDirection == "right")) {
_root.road.gotoAndStop("right_straight");
this.done = "yes";
}
if ((this._currentframe == 2) and (_root.currentDirection == "straight")) {
_root.road.gotoAndStop("straight_left");
this.done = "yes";
}
if ((this._currentframe == 2) and (_root.currentDirection == "left")) {
_root.road.gotoAndStop("left");
this.done = "yes";
}
if ((this._currentframe == 2) and (_root.currentDirection == "right")) {
_root.road.gotoAndStop("right_straight");
this.done = "yes";
}
if ((this._currentframe == 3) and (_root.currentDirection == "straight")) {
_root.road.gotoAndStop("straight_right");
this.done = "yes";
}
if ((this._currentframe == 3) and (_root.currentDirection == "left")) {
_root.road.gotoAndStop("left_straight");
this.done = "yes";
}
if ((this._currentframe == 3) and (_root.currentDirection == "right")) {
_root.road.gotoAndStop("right");
this.done = "yes";
}
}
if (((_root.currentDirection == "straight") or (_root.currentDirection == "left")) or (_root.currentDirection == "right")) {
this.directionTimer++;
if ((_root.road.oil._currentframe == 1) and (_root.road.opponent._currentframe == 1)) {
if (this.directionTimer > 50) {
this.gotoAndStop(Math.ceil(Math.random() * 4));
this.directionTimer = 0;
this.done = "no";
}
}
}
}
}
Instance of Symbol 326 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.gameOver == "yes") {
this.gotoAndStop(2);
}
}
Symbol 9 MovieClip Frame 1
play();
Symbol 9 MovieClip Frame 75
_root.gotoAndStop("loading");
stop();
Symbol 43 Button
on (release) {
play();
}
Symbol 47 Button
on (release) {
if (_root.url != "yes") {
getURL ("http://www.ultimatearcade.com/sports/games/extremeracing2.html", "_blank");
} else {
_root.view_scores = 1;
loadMovieNum ("scores.xml", 25);
}
}
Symbol 51 Button
on (release) {
loadMovieNum ("http://www.ultimatearcade.com/00games/sports/set1/extremeracing2/tell.swf", 4);
}
Symbol 54 Button
on (release) {
getURL ("http://www.ultimatearcade.com", "_blank");
}
Symbol 64 Button
on (release) {
_root.carSelection = 3;
}
Symbol 65 Button
on (release) {
_root.carSelection = 2;
}
Symbol 66 Button
on (release) {
_root.carSelection = 1;
}
Symbol 67 MovieClip Frame 20
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 76 Button
on (release) {
getURL ("http://www.ultimatearcade.com", "_blank");
}
Instance of Symbol 81 MovieClip in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 91 MovieClip Frame 1
rnd = Math.floor(Math.random() * 90);
gotoAndPlay(rnd);
Symbol 91 MovieClip Frame 76
gotoAndPlay (5);
Symbol 92 MovieClip Frame 26
stop();
Symbol 92 MovieClip Frame 33
gotoAndStop (1);
Symbol 92 MovieClip Frame 40
stop();
Symbol 92 MovieClip Frame 47
gotoAndStop (1);
Symbol 97 MovieClip Frame 1
rnd = Math.floor(Math.random() * 20);
gotoAndPlay(rnd);
Symbol 100 MovieClip Frame 1
if (_root.gameOver == "yes") {
stop();
}
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
stop();
Instance of Symbol 103 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.ceil(Math.random() * 2));
}
Symbol 105 MovieClip Frame 1
stop();
oil = Math.round(Math.random() * 3);
Symbol 105 MovieClip Frame 87
gotoAndStop (1);
Symbol 105 MovieClip Frame 176
gotoAndStop (1);
Symbol 105 MovieClip Frame 264
gotoAndStop (1);
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
stop();
Symbol 118 MovieClip Frame 1
rnd = Math.floor(Math.random() * 6);
gotoAndStop(rnd);
stop();
Instance of Symbol 110 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.ceil(Math.random() * 2));
}
Instance of Symbol 112 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
rnd = Math.round(Math.random() * 2);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car.shapeCollision)) {
_root.car.gotoAndPlay("damage");
if (rnd == 1) {
_root.car._x = _root.car._x - 100;
} else {
_root.car._x = _root.car._x + 100;
}
_root.health.nextFrame();
}
}
Symbol 118 MovieClip Frame 2
stop();
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(Math.ceil(Math.random() * 2));
}
Instance of Symbol 112 MovieClip in Symbol 118 MovieClip Frame 2
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car.shapeCollision)) {
_root.car.gotoAndPlay("damage");
_root.car._x = _root.car._x + 100;
_root.health.nextFrame();
}
}
Symbol 118 MovieClip Frame 3
stop();
Instance of Symbol 112 MovieClip in Symbol 118 MovieClip Frame 3
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car.shapeCollision)) {
_root.car.gotoAndPlay("damage");
_root.car._x = _root.car._x - 100;
_root.health.nextFrame();
}
}
Symbol 118 MovieClip Frame 4
stop();
Symbol 118 MovieClip Frame 5
stop();
Instance of Symbol 112 MovieClip in Symbol 118 MovieClip Frame 5
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car.shapeCollision)) {
_root.car.gotoAndPlay("damage");
_root.car._x = _root.car._x + 100;
_root.health.nextFrame();
}
}
Symbol 118 MovieClip Frame 6
stop();
Instance of Symbol 112 MovieClip in Symbol 118 MovieClip Frame 6
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.car.shapeCollision)) {
_root.car.gotoAndPlay("damage");
_root.car._x = _root.car._x - 100;
_root.health.nextFrame();
}
}
Symbol 119 MovieClip Frame 1
x = Math.round(Math.random() * 10);
onEnterFrame = function () {
if ((_root.gameOver == "no") and (_root.distance > 2)) {
x++;
if (x > 5) {
play();
} else {
stop();
}
}
};
stop();
Symbol 119 MovieClip Frame 31
if (_root.distance < 2) {
rnd = Math.floor(Math.random() * 100);
gotoAndPlay(36 + rnd);
} else {
gotoAndPlay (140);
}
Symbol 132 MovieClip Frame 5
_root.road.gotoAndStop("right");
Symbol 140 MovieClip Frame 1
if (_root.gameOver == "yes") {
stop();
}
Symbol 141 MovieClip Frame 1
stop();
oil = Math.round(Math.random() * 3);
Symbol 141 MovieClip Frame 98
gotoAndStop (1);
Symbol 141 MovieClip Frame 198
gotoAndStop (1);
Symbol 141 MovieClip Frame 297
gotoAndStop (1);
Symbol 142 MovieClip Frame 1
x = Math.round(Math.random() * 10);
onEnterFrame = function () {
if (_root.gameOver == "no") {
x++;
if (x > 2) {
play();
} else {
stop();
}
}
};
stop();
Symbol 142 MovieClip Frame 31
if (_root.distance < 2) {
rnd = Math.floor(Math.random() * 100);
gotoAndPlay(36 + rnd);
} else {
gotoAndPlay (135);
}
Symbol 143 MovieClip Frame 5
_root.road.gotoAndStop("straight");
Symbol 144 MovieClip Frame 5
_root.road.gotoAndStop("left");
Symbol 145 MovieClip Frame 1
x = Math.round(Math.random() * 10);
onEnterFrame = function () {
if (_root.gameOver == "no") {
x++;
if (x > 2) {
play();
} else {
stop();
}
}
};
stop();
Symbol 145 MovieClip Frame 31
if (_root.distance < 2) {
rnd = Math.floor(Math.random() * 100);
gotoAndPlay(36 + rnd);
} else {
gotoAndPlay (135);
}
Symbol 146 MovieClip Frame 5
_root.road.gotoAndStop("straight");
Symbol 147 MovieClip Frame 1
_root.skyline.gotoAndStop(1);
stop();
_root.currentDirection = "straight";
Instance of Symbol 105 MovieClip "oil" in Symbol 147 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gameOver == "no") {
if (this._currentframe == 1) {
if (this.oil == 1) {
this.gotoAndPlay("leftLane");
}
if (this.oil == 2) {
this.gotoAndPlay("centerLane");
}
if (this.oil == 3) {
this.gotoAndPlay("rightLane");
}
}
}
}
Symbol 147 MovieClip Frame 12
_root.skyline.gotoAndPlay("right");
stop();
_root.currentDirection = "straight_right";
Symbol 147 MovieClip Frame 25
stop();
_root.currentDirection = "right";
Instance of Symbol 141 MovieClip "oil" in Symbol 147 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_root.gameOver == "no") {
if (this._currentframe == 1) {
if (this.oil == 1) {
this.gotoAndPlay("leftLane");
}
if (this.oil == 2) {
this.gotoAndPlay("centerLane");
}
if (this.oil == 3) {
this.gotoAndPlay("rightLane");
}
}
}
}
Symbol 147 MovieClip Frame 33
_root.skyline.gotoAndPlay("rightBack");
stop();
_root.currentDirection = "right_straight";
Symbol 147 MovieClip Frame 46
_root.skyline.gotoAndPlay("left");
stop();
_root.currentDirection = "straight_left";
Symbol 147 MovieClip Frame 58
stop();
_root.currentDirection = "left";
Instance of Symbol 141 MovieClip "oil" in Symbol 147 MovieClip Frame 58
onClipEvent (enterFrame) {
if (_root.gameOver == "no") {
if (this._currentframe == 1) {
if (this.oil == 1) {
this.gotoAndPlay("leftLane");
}
if (this.oil == 2) {
this.gotoAndPlay("centerLane");
}
if (this.oil == 3) {
this.gotoAndPlay("rightLane");
}
}
}
}
Symbol 147 MovieClip Frame 66
_root.skyline.gotoAndPlay("leftBack");
stop();
_root.currentDirection = "left_straight";
Symbol 152 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 1
stop();
Instance of Symbol 154 MovieClip in Symbol 155 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.ceil(Math.random() * 7));
}
Symbol 156 MovieClip Frame 1
if ((_root.road._currentframe == 1) and (_root.gameOver == "no")) {
play();
} else {
gotoAndPlay (35);
}
Symbol 156 MovieClip Frame 45
gotoAndPlay (1);
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 2
stop();
Symbol 164 MovieClip Frame 3
stop();
Symbol 164 MovieClip Frame 4
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 2
stop();
Symbol 172 MovieClip Frame 3
stop();
Symbol 172 MovieClip Frame 4
stop();
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 2
stop();
Symbol 179 MovieClip Frame 3
stop();
Symbol 179 MovieClip Frame 4
stop();
Symbol 205 MovieClip Frame 2
_root.health.nextFrame();
Symbol 205 MovieClip Frame 7
_root.health.nextFrame();
Symbol 205 MovieClip Frame 13
_root.health.nextFrame();
Symbol 205 MovieClip Frame 16
_root.oilSpinOut = "no";
_root.distanceTimer = 0;
_root.distanceController = 5;
_root.distanceSpeedTimer = 0;
if (_root.gameOver == "yes") {
stop();
} else {
_parent._parent._parent.gotoAndStop(1);
}
Symbol 231 MovieClip Frame 1
_root.health.nextFrame();
Symbol 231 MovieClip Frame 7
_root.health.nextFrame();
Symbol 231 MovieClip Frame 13
_root.health.nextFrame();
Symbol 231 MovieClip Frame 16
_root.oilSpinOut = "no";
_root.distanceTimer = 0;
_root.distanceController = 5;
_root.distanceSpeedTimer = 0;
if (_root.gameOver == "yes") {
stop();
} else {
_parent._parent._parent.gotoAndStop(1);
}
Symbol 259 MovieClip Frame 1
_root.health.nextFrame();
Symbol 259 MovieClip Frame 7
_root.health.nextFrame();
Symbol 259 MovieClip Frame 13
_root.health.nextFrame();
Symbol 259 MovieClip Frame 16
_root.oilSpinOut = "no";
_root.distanceTimer = 0;
_root.distanceController = 5;
_root.distanceSpeedTimer = 0;
if (_root.gameOver == "yes") {
stop();
} else {
_parent._parent._parent.gotoAndStop(1);
}
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 2
stop();
Symbol 260 MovieClip Frame 3
stop();
Symbol 260 MovieClip Frame 4
stop();
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 2
stop();
Symbol 268 MovieClip Frame 3
stop();
Symbol 268 MovieClip Frame 4
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 2
stop();
Symbol 276 MovieClip Frame 3
stop();
Symbol 276 MovieClip Frame 4
stop();
Symbol 277 MovieClip Frame 1
stop();
Instance of Symbol 164 MovieClip in Symbol 277 MovieClip Frame 1
onClipEvent (load) {
if (_root.carSelection == 1) {
this.gotoAndStop("carSelection1");
}
if (_root.carSelection == 2) {
this.gotoAndStop("carSelection2");
}
if (_root.carSelection == 3) {
this.gotoAndStop("carSelection3");
}
}
Symbol 277 MovieClip Frame 2
stop();
Instance of Symbol 172 MovieClip in Symbol 277 MovieClip Frame 2
onClipEvent (load) {
if (_root.carSelection == 1) {
this.gotoAndStop("carSelection1");
}
if (_root.carSelection == 2) {
this.gotoAndStop("carSelection2");
}
if (_root.carSelection == 3) {
this.gotoAndStop("carSelection3");
}
}
Symbol 277 MovieClip Frame 3
stop();
Instance of Symbol 179 MovieClip in Symbol 277 MovieClip Frame 3
onClipEvent (load) {
if (_root.carSelection == 1) {
this.gotoAndStop("carSelection1");
}
if (_root.carSelection == 2) {
this.gotoAndStop("carSelection2");
}
if (_root.carSelection == 3) {
this.gotoAndStop("carSelection3");
}
}
Symbol 277 MovieClip Frame 4
stop();
Instance of Symbol 260 MovieClip "spinout" in Symbol 277 MovieClip Frame 4
onClipEvent (load) {
if (_root.carSelection == 1) {
this.gotoAndStop("carSelection1");
}
if (_root.carSelection == 2) {
this.gotoAndStop("carSelection2");
}
if (_root.carSelection == 3) {
this.gotoAndStop("carSelection3");
}
}
Symbol 277 MovieClip Frame 5
stop();
Instance of Symbol 268 MovieClip in Symbol 277 MovieClip Frame 5
onClipEvent (load) {
if (_root.carSelection == 1) {
this.gotoAndStop("carSelection1");
}
if (_root.carSelection == 2) {
this.gotoAndStop("carSelection2");
}
if (_root.carSelection == 3) {
this.gotoAndStop("carSelection3");
}
}
Symbol 277 MovieClip Frame 6
stop();
Instance of Symbol 276 MovieClip in Symbol 277 MovieClip Frame 6
onClipEvent (load) {
if (_root.carSelection == 1) {
this.gotoAndStop("carSelection1");
}
if (_root.carSelection == 2) {
this.gotoAndStop("carSelection2");
}
if (_root.carSelection == 3) {
this.gotoAndStop("carSelection3");
}
}
Instance of Symbol 277 MovieClip "car" in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
_root.oilSpinOut = "no";
}
onClipEvent (enterFrame) {
if (_root.gameOver == "no") {
if (_root.car.shape.hitTest(_root.road.oil) and (_root.oilSpinOut != "yes")) {
this.gotoAndStop(4);
_root.oilSpinOut = "yes";
}
if (_root.oilSpinOut == "no") {
if ((_root.currentDirection == "straight") and (_root.carLocation == "center")) {
this.gotoAndStop(1);
}
if ((_root.currentDirection == "left") and (_root.carLocation == "center")) {
this.gotoAndStop(2);
}
if ((_root.currentDirection == "right") and (_root.carLocation == "center")) {
this.gotoAndStop(3);
}
if (_root.carLocation == "left") {
this.gotoAndStop(3);
}
if (_root.carLocation == "farleft") {
this.gotoAndStop(6);
}
if (_root.carLocation == "right") {
this.gotoAndStop(2);
}
if (_root.carLocation == "farright") {
this.gotoAndStop(5);
}
}
}
}
Symbol 279 MovieClip Frame 1
if (_root.gameOver == "no") {
play();
} else {
stop();
}
Instance of Symbol 82 MovieClip "shape" in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 158 MovieClip "shapeCollision" in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 279 MovieClip Frame 7
gotoAndPlay (1);
Symbol 279 MovieClip Frame 8
play();
_root.distanceTimer = 0;
_root.distanceController = 5;
_root.distanceSpeedTimer = 0;
Symbol 290 MovieClip Frame 20
stop();
Symbol 294 MovieClip Frame 20
stop();
Symbol 298 MovieClip Frame 20
stop();
Symbol 302 MovieClip Frame 20
stop();
Symbol 306 MovieClip Frame 20
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 51
_root.gameOver = "yes";
if (_root.timing) {
_root.timing = false;
_root.paused = true;
}
_root.music.gotoAndStop(2);
_root.gameOverWindow.gotoAndPlay(2);
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 2
stop();
Symbol 323 MovieClip Frame 3
stop();
Symbol 323 MovieClip Frame 4
stop();
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 2
stop();
Symbol 328 Button
on (release) {
gotoAndStop (2);
}
Symbol 331 Button
on (release) {
gotoAndStop (1);
}
Symbol 332 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 2
stop();
Symbol 343 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 2
stop();
Symbol 344 Button
on (release) {
_root.gotoAndStop("welcome");
}
Symbol 353 Button
on (release) {
if (_root.url != "yes") {
getURL ("http://www.ultimatearcade.com/sports/games/extremeracing2.html", "_top");
} else {
_root.view_scores = 2;
loadMovieNum ("scores.xml", 25);
gotoAndStop (2);
}
}
Symbol 355 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 2
stop();
Symbol 357 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 2
_root.finalScore = _root.distance + _root.bonusPoints;
_root.bgSound.stop();
_root.car.gotoAndStop(1);
Symbol 357 MovieClip Frame 6
_root.timer_txt = "01:30:00";
_root.elapsedM = 0;
_root.elapsedS = 0;
stop();
Instance of Symbol 343 MovieClip in Symbol 357 MovieClip Frame 6
onClipEvent (load) {
if (_root.congratulations == "yes") {
this.gotoAndStop(2);
}
}