Frame 1
function init() {
if (!inited) {
gamestarted = 0;
my_sound = new Sound();
my_sound.attachSound("mySoundID");
my_sound.onSoundComplete = function () {
trace("mySoundID completed");
};
my_sound.start(0, 99);
soundswitchedon();
}
inited = true;
}
function soundswitchedoff() {
soundBoolean = 2;
}
function soundswitchedon() {
soundBoolean = 1;
}
stop();
init();
car = 0;
path = 0;
gamestarted++;
if (gamestarted > 1) {
gameMenu_mc.gotoAndStop("startmenu");
}
Instance of Symbol 128 MovieClip "shipSound_mc" in Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 130 MovieClip "bombSound_mc" in Frame 1
onClipEvent (load) {
stop();
}
Frame 2
ship1_mc.gotoAndStop(car);
function traceTimeTaken(time) {
lapsTimeTaken_array.push(time);
}
function showPrevTime() {
previousTime++;
laps_mc.prevlap = lapsTimeTaken_array[previousTime];
}
function displayTimeTaken() {
follow = false;
raceFinished_mc._visible = true;
camera_mc._x = 76;
camera_mc._y = 55;
raceFinished_mc.lap1 = lapsTimeTaken_array[0];
raceFinished_mc.lap2 = lapsTimeTaken_array[1];
raceFinished_mc.lap3 = lapsTimeTaken_array[2];
raceFinished_mc.lap4 = lapsTimeTaken_array[3];
raceFinished_mc.finaltime = totaltimetaken;
}
stop();
lapNum_mc.lapNum = 1;
lapNum_mc.play();
raceFinished_mc._visible = false;
lapsTimeTaken_array = new Array();
follow = true;
totaltimetaken = 0;
previousTime = -1;
follow = true;
this.onEnterFrame = function () {
if (follow) {
camera_mc._x = camera_mc._x + ((ship1_mc._x - camera_mc._x) * 0.9);
camera_mc._y = camera_mc._y + ((ship1_mc._y - camera_mc._y) * 0.9);
laps_mc._x = camera_mc._x;
laps_mc._y = camera_mc._y;
}
};
Instance of Symbol 140 MovieClip "line_mc1" in Frame 2
onClipEvent (load) {
stop();
}
Instance of Symbol 166 MovieClip "ship1_mc" in Frame 2
onClipEvent (load) {
speed = 0;
speedL = 0;
rotationAngle = 5;
}
onClipEvent (enterFrame) {
function glowStop() {
var i = 1;
while (i < 15) {
glow_mc = eval ("_parent.glow_mc" + i);
glow_mc.gotoAndStop(1);
i++;
}
}
function glow() {
var i = 1;
while (i < 15) {
line_mc = eval ("_parent.line_mc" + i);
if (line_mc.hitTest(this)) {
_parent.shipSound_mc.play();
var linetouched = i;
line_mc.gotoAndStop(2);
glow_mc = eval ("_parent.glow_mc" + i);
Nextline_mc = eval ("_parent.line_mc" + (i + 1));
Nextline_mc.gotoAndStop(1);
glow_mc.play();
if (linetouched >= 14) {
_parent.lapNum_mc.lapNum++;
_parent.line_mc1.gotoAndStop(1);
glowStop();
var min = ((_parent.laps_mc.timer_mc.mins1.mins1 + "") + _parent.laps_mc.timer_mc.mins2.mins2);
var sec = ((_parent.laps_mc.timer_mc.secs1.secs1 + "") + _parent.laps_mc.timer_mc.secs2.secs2);
_parent.laps_mc.timer_mc.gotoAndPlay(1);
_parent.traceTimeTaken((min + ":") + sec);
_parent.showPrevTime();
_parent.totaltimetaken = (((((_parent.laps_mc.mins1.mins1 + "") + _parent.laps_mc.mins2.mins2) + ":") + _parent.laps_mc.secs1.secs1) + "") + _parent.laps_mc.secs2.secs2;
if (_parent.lapNum_mc.lapNum < 5) {
_parent.lapNum_mc.gotoAndPlay(2);
} else {
_parent.displayTimeTaken();
}
}
}
i++;
}
}
if (Key.isDown(38)) {
r = true;
l = false;
fire1_mc._visible = true;
fire2_mc._visible = true;
if (Key.isDown(39)) {
_rotation = (_rotation + rotationAngle);
}
if (Key.isDown(37)) {
_rotation = (_rotation - rotationAngle);
}
if (_parent.sand_mc.hitTest(_x, _y, true)) {
rotationAngle = 1;
if (!cameongrassR) {
speed = 1;
cameongrassR = true;
}
if (speed < 5) {
speed = speed + 0.01;
}
} else {
rotationAngle = 8;
cameongrassR = false;
if (speed < 5) {
speed = speed + 0.5;
}
}
xSpeed = speed * Math.sin(_rotation * (Math.PI/180));
ySpeed = speed * Math.cos(_rotation * (Math.PI/180));
_y = (_y + (ySpeed * 0.9));
_x = (_x - (xSpeed * 0.9));
reducespeed = 10;
} else {
fire1_mc._visible = false;
fire2_mc._visible = false;
if ((l == false) and (r == true)) {
speed = 0;
if (reducespeed > 0) {
reducespeed--;
}
_y = (_y + ((ySpeed * reducespeed) * 0.1));
_x = (_x - ((xSpeed * reducespeed) * 0.1));
}
}
if (Key.isDown(40)) {
l = true;
r = false;
fire1_mc._visible = true;
fire2_mc._visible = true;
if (Key.isDown(39)) {
_rotation = (_rotation + rotationAngle);
}
if (Key.isDown(37)) {
_rotation = (_rotation - rotationAngle);
}
if (_parent.sand_mc.hitTest(_x, _y, true)) {
rotationAngle = 1;
if (!cameongrassL) {
speedL = 1;
cameongrassL = true;
}
if (speedL < 5) {
speedL = speedL + 0.01;
}
} else {
rotationAngle = 8;
cameongrassL = false;
if (speedL < 5) {
speedL = speedL + 0.5;
}
}
xSpeed = speedL * Math.sin(_rotation * (Math.PI/180));
ySpeed = speedL * Math.cos(_rotation * (Math.PI/180));
_y = (_y - (ySpeed * 0.9));
_x = (_x + (xSpeed * 0.9));
reducespeedL = 10;
} else if ((l == true) and (r == false)) {
fire1_mc._visible = false;
fire2_mc._visible = false;
speedL = 0;
if (reducespeedL > 0) {
reducespeedL--;
}
_y = (_y - ((ySpeed * reducespeedL) * 0.1));
_x = (_x + ((xSpeed * reducespeedL) * 0.1));
}
glow();
}
Frame 3
this.prevFrame();
Frame 4
ship1_mc.gotoAndStop(car);
function traceTimeTaken(time) {
lapsTimeTaken_array.push(time);
}
function showPrevTime() {
previousTime++;
laps_mc.prevlap = lapsTimeTaken_array[previousTime];
}
function displayTimeTaken() {
follow = false;
raceFinished_mc._visible = true;
camera_mc._x = 76;
camera_mc._y = 55;
raceFinished_mc.lap1 = lapsTimeTaken_array[0];
raceFinished_mc.lap2 = lapsTimeTaken_array[1];
raceFinished_mc.lap3 = lapsTimeTaken_array[2];
raceFinished_mc.lap4 = lapsTimeTaken_array[3];
raceFinished_mc.finaltime = totaltimetaken;
}
stop();
lapNum_mc.lapNum = 1;
raceFinished_mc._visible = false;
lapsTimeTaken_array = new Array();
follow = true;
totaltimetaken = 0;
follow = true;
previousTime = -1;
this.onEnterFrame = function () {
if (follow) {
camera_mc._x = camera_mc._x + ((ship1_mc._x - camera_mc._x) * 0.9);
camera_mc._y = camera_mc._y + ((ship1_mc._y - camera_mc._y) * 0.9);
laps_mc._x = camera_mc._x;
laps_mc._y = camera_mc._y;
}
};
Instance of Symbol 140 MovieClip "line_mc1" in Frame 4
onClipEvent (load) {
stop();
}
Instance of Symbol 166 MovieClip "ship1_mc" in Frame 4
onClipEvent (load) {
speed = 0;
speedL = 0;
rotationAngle = 5;
}
onClipEvent (enterFrame) {
function glowStop() {
var i = 1;
while (i < 15) {
glow_mc = eval ("_parent.glow_mc" + i);
glow_mc.gotoAndStop(1);
i++;
}
}
function glow() {
var i = 1;
while (i < 15) {
line_mc = eval ("_parent.line_mc" + i);
if (line_mc.hitTest(this)) {
_parent.shipSound_mc.play();
var linetouched = i;
line_mc.gotoAndStop(2);
glow_mc = eval ("_parent.glow_mc" + i);
Nextline_mc = eval ("_parent.line_mc" + (i + 1));
Nextline_mc.gotoAndStop(1);
glow_mc.play();
if (linetouched == 5) {
_parent.overDCar_mc._visible = true;
}
if (linetouched >= 12) {
_parent.overDCar_mc._visible = false;
_parent.lapNum_mc.lapNum++;
_parent.line_mc1.gotoAndStop(1);
glowStop();
var min = ((_parent.laps_mc.timer_mc.mins1.mins1 + "") + _parent.laps_mc.timer_mc.mins2.mins2);
var sec = ((_parent.laps_mc.timer_mc.secs1.secs1 + "") + _parent.laps_mc.timer_mc.secs2.secs2);
_parent.laps_mc.timer_mc.gotoAndPlay(1);
_parent.traceTimeTaken((min + ":") + sec);
_parent.showPrevTime();
_parent.totaltimetaken = (((((_parent.laps_mc.mins1.mins1 + "") + _parent.laps_mc.mins2.mins2) + ":") + _parent.laps_mc.secs1.secs1) + "") + _parent.laps_mc.secs2.secs2;
if (_parent.lapNum_mc.lapNum < 5) {
_parent.lapNum_mc.gotoAndPlay(2);
} else {
_parent.displayTimeTaken();
}
}
}
i++;
}
}
if (Key.isDown(40)) {
r = true;
l = false;
fire1_mc._visible = true;
fire2_mc._visible = true;
if (Key.isDown(39)) {
_rotation = (_rotation + rotationAngle);
}
if (Key.isDown(37)) {
_rotation = (_rotation - rotationAngle);
}
if (_parent.sand_mc.hitTest(_x, _y, true)) {
rotationAngle = 1;
if (!cameongrassR) {
speed = 1;
cameongrassR = true;
}
if (speed < 5) {
speed = speed + 0.01;
}
} else {
rotationAngle = 8;
cameongrassR = false;
if (speed < 5) {
speed = speed + 0.5;
}
}
xSpeed = speed * Math.sin(_rotation * (Math.PI/180));
ySpeed = speed * Math.cos(_rotation * (Math.PI/180));
_y = (_y + (ySpeed * 0.9));
_x = (_x - (xSpeed * 0.9));
reducespeed = 10;
} else {
fire1_mc._visible = false;
fire2_mc._visible = false;
if ((l == false) and (r == true)) {
speed = 0;
if (reducespeed > 0) {
reducespeed--;
}
_y = (_y + ((ySpeed * reducespeed) * 0.1));
_x = (_x - ((xSpeed * reducespeed) * 0.1));
}
}
if (Key.isDown(38)) {
l = true;
r = false;
fire1_mc._visible = true;
fire2_mc._visible = true;
if (Key.isDown(39)) {
_rotation = (_rotation + rotationAngle);
}
if (Key.isDown(37)) {
_rotation = (_rotation - rotationAngle);
}
if (_parent.sand_mc.hitTest(_x, _y, true)) {
rotationAngle = 1;
if (!cameongrassL) {
speedL = 1;
cameongrassL = true;
}
if (speedL < 5) {
speedL = speedL + 0.01;
}
} else {
rotationAngle = 8;
cameongrassL = false;
if (speedL < 5) {
speedL = speedL + 0.5;
}
}
xSpeed = speedL * Math.sin(_rotation * (Math.PI/180));
ySpeed = speedL * Math.cos(_rotation * (Math.PI/180));
_y = (_y - (ySpeed * 0.9));
_x = (_x + (xSpeed * 0.9));
reducespeedL = 10;
} else if ((l == true) and (r == false)) {
fire1_mc._visible = false;
fire2_mc._visible = false;
speedL = 0;
if (reducespeedL > 0) {
reducespeedL--;
}
_y = (_y - ((ySpeed * reducespeedL) * 0.1));
_x = (_x + ((xSpeed * reducespeedL) * 0.1));
}
glow();
}
Instance of Symbol 247 MovieClip "overDCar_mc" in Frame 4
onClipEvent (load) {
_visible = false;
}
Frame 5
this.prevFrame();
Frame 6
ship1_mc.gotoAndStop(car);
function traceTimeTaken(time) {
lapsTimeTaken_array.push(time);
}
function showPrevTime() {
previousTime++;
laps_mc.prevlap = lapsTimeTaken_array[previousTime];
}
function displayTimeTaken() {
follow = false;
raceFinished_mc._visible = true;
camera_mc._x = 76;
camera_mc._y = 55;
raceFinished_mc.lap1 = lapsTimeTaken_array[0];
raceFinished_mc.lap2 = lapsTimeTaken_array[1];
raceFinished_mc.lap3 = lapsTimeTaken_array[2];
raceFinished_mc.lap4 = lapsTimeTaken_array[3];
raceFinished_mc.finaltime = totaltimetaken;
}
function displayRaceLost() {
laps_mc._visible = false;
follow = false;
racelost_mc._visible = true;
camera_mc._x = 76;
camera_mc._y = 55;
}
stop();
lapNum_mc.lapNum = 1;
raceFinished_mc._visible = false;
lapsTimeTaken_array = new Array();
follow = true;
totaltimetaken = 0;
follow = true;
previousTime = -1;
this.onEnterFrame = function () {
if (follow) {
camera_mc._x = camera_mc._x + ((ship1_mc._x - camera_mc._x) * 0.9);
camera_mc._y = camera_mc._y + ((ship1_mc._y - camera_mc._y) * 0.9);
laps_mc._x = camera_mc._x;
laps_mc._y = camera_mc._y;
}
};
racelost_mc._visible = false;
Instance of Symbol 166 MovieClip "ship1_mc" in Frame 6
onClipEvent (load) {
speed = 0;
speedL = 0;
rotationAngle = 5;
}
onClipEvent (enterFrame) {
function glowStop() {
var i = 1;
while (i <= 20) {
glow_mc = eval ("_parent.glow_mc" + i);
glow_mc.gotoAndStop(1);
i++;
}
}
function mineshitTest() {
var i = 1;
while (i <= 5) {
mines = eval ("_parent.mine" + i);
if (this.hitTest(mines.crossMark_mc)) {
_parent.displayRaceLost();
_parent.bombSound_mc.play();
mines._x = mines._x + 40;
mines._y = mines._y + 40;
}
i++;
}
}
function glow() {
var i = 1;
while (i <= 21) {
line_mc = eval ("_parent.line_mc" + i);
if (line_mc.hitTest(this)) {
_parent.shipSound_mc.play();
var linetouched = i;
line_mc.gotoAndStop(2);
glow_mc = eval ("_parent.glow_mc" + i);
Nextline_mc = eval ("_parent.line_mc" + (i + 1));
Nextline_mc.gotoAndStop(1);
glow_mc.play();
if (i == 14) {
_parent.overDCar1_mc._visible = false;
_parent.overDCar2_mc._visible = false;
_parent.overDCar3_mc._visible = false;
}
if (linetouched > 20) {
glowStop();
var min = ((_parent.laps_mc.timer_mc.mins1.mins1 + "") + _parent.laps_mc.timer_mc.mins2.mins2);
var sec = ((_parent.laps_mc.timer_mc.secs1.secs1 + "") + _parent.laps_mc.timer_mc.secs2.secs2);
_parent.laps_mc.timer_mc.gotoAndPlay(1);
_parent.traceTimeTaken((min + ":") + sec);
_parent.showPrevTime();
_parent.totaltimetaken = (((((_parent.laps_mc.mins1.mins1 + "") + _parent.laps_mc.mins2.mins2) + ":") + _parent.laps_mc.secs1.secs1) + "") + _parent.laps_mc.secs2.secs2;
_parent.overDCar1_mc._visible = true;
_parent.overDCar2_mc._visible = true;
_parent.overDCar3_mc._visible = true;
_parent.lapNum_mc.lapNum++;
if (_parent.lapNum_mc.lapNum < 5) {
_parent.lapNum_mc.gotoAndPlay(2);
} else {
_parent.displayTimeTaken();
}
_parent.line_mc1.gotoAndStop(1);
}
}
i++;
}
}
if (Key.isDown(38)) {
r = true;
l = false;
fire1_mc._visible = true;
fire2_mc._visible = true;
if (Key.isDown(39)) {
_rotation = (_rotation + rotationAngle);
}
if (Key.isDown(37)) {
_rotation = (_rotation - rotationAngle);
}
if (_parent.sand_mc.hitTest(_x, _y, true)) {
rotationAngle = 1;
if (!cameongrassR) {
speed = 1;
cameongrassR = true;
}
if (speed < 5) {
speed = speed + 0.01;
}
} else {
rotationAngle = 8;
cameongrassR = false;
if (speed < 5) {
speed = speed + 0.5;
}
}
xSpeed = speed * Math.sin(_rotation * (Math.PI/180));
ySpeed = speed * Math.cos(_rotation * (Math.PI/180));
_y = (_y + (ySpeed * 0.9));
_x = (_x - (xSpeed * 0.9));
reducespeed = 10;
} else {
fire1_mc._visible = false;
fire2_mc._visible = false;
if ((l == false) and (r == true)) {
speed = 0;
if (reducespeed > 0) {
reducespeed--;
}
_y = (_y + ((ySpeed * reducespeed) * 0.1));
_x = (_x - ((xSpeed * reducespeed) * 0.1));
}
}
if (Key.isDown(40)) {
l = true;
r = false;
fire1_mc._visible = true;
fire2_mc._visible = true;
if (Key.isDown(39)) {
_rotation = (_rotation + rotationAngle);
}
if (Key.isDown(37)) {
_rotation = (_rotation - rotationAngle);
}
if (_parent.sand_mc.hitTest(_x, _y, true)) {
rotationAngle = 1;
if (!cameongrassL) {
speedL = 1;
cameongrassL = true;
}
if (speedL < 5) {
speedL = speedL + 0.01;
}
} else {
rotationAngle = 8;
cameongrassL = false;
if (speedL < 5) {
speedL = speedL + 0.5;
}
}
xSpeed = speedL * Math.sin(_rotation * (Math.PI/180));
ySpeed = speedL * Math.cos(_rotation * (Math.PI/180));
_y = (_y - (ySpeed * 0.9));
_x = (_x + (xSpeed * 0.9));
reducespeedL = 10;
} else if ((l == true) and (r == false)) {
fire1_mc._visible = false;
fire2_mc._visible = false;
speedL = 0;
if (reducespeedL > 0) {
reducespeedL--;
}
_y = (_y - ((ySpeed * reducespeedL) * 0.1));
_x = (_x + ((xSpeed * reducespeedL) * 0.1));
}
glow();
mineshitTest();
}
Frame 7
this.prevFrame();
Symbol 7 Button
on (release) {
gotoAndPlay (2);
}
Symbol 14 Button
on (release) {
getURL ("http://www.gameshandbook.com", "_blank");
}
Symbol 19 Button
on (release) {
getURL ("http://www.gameshandbook.com", "_blank");
}
Symbol 23 Button
on (release) {
getURL ("http://www.gameshandbook.com", "_blank");
}
Symbol 25 Button
on (release) {
getURL ("http://www.gameshandbook.com/freegames.php", "_blank");
}
Symbol 52 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 80 Button
on (release) {
nextFrame();
_parent.car = 1;
}
Symbol 81 Button
on (release) {
nextFrame();
_parent.car = 2;
}
Symbol 82 Button
on (release) {
nextFrame();
_parent.car = 3;
}
Symbol 90 MovieClip Frame 1
stop();
Symbol 99 Button
on (release) {
gotoAndStop (102);
}
Symbol 106 Button
on (release) {
_parent.gotoAndPlay("easy");
}
Symbol 115 Button
on (release) {
_parent.gotoAndPlay("medium");
}
Symbol 124 Button
on (release) {
_parent.gotoAndPlay("hard");
}
Symbol 125 MovieClip Frame 1
stop();
Instance of Symbol 59 MovieClip "ship1_mc" in Symbol 125 MovieClip Frame 82
onClipEvent (load) {
speed = 0;
speedL = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
r = true;
l = false;
if (Key.isDown(39)) {
_rotation = (_rotation + 8);
}
if (Key.isDown(37)) {
_rotation = (_rotation - 8);
}
if (_parent.sand_mc.hitTest(_x, _y, true)) {
if (!cameongrassR) {
speed = 1;
cameongrassR = true;
}
if (speed < 5) {
speed = speed + 0.01;
}
} else {
cameongrassR = false;
if (speed < 5) {
speed = speed + 0.5;
}
}
xSpeed = speed * Math.sin(_rotation * (Math.PI/180));
ySpeed = speed * Math.cos(_rotation * (Math.PI/180));
_y = (_y + (ySpeed * 0.9));
_x = (_x - (xSpeed * 0.9));
reducespeed = 10;
} else if ((l == false) and (r == true)) {
speed = 0;
if (reducespeed > 0) {
reducespeed--;
}
_y = (_y + ((ySpeed * reducespeed) * 0.1));
_x = (_x - ((xSpeed * reducespeed) * 0.1));
}
if (Key.isDown(40)) {
l = true;
r = false;
if (_parent.sand_mc.hitTest(_x, _y, true)) {
if (!cameongrassL) {
speedL = 1;
cameongrassL = true;
}
if (speedL < 5) {
speed = speed + 0.01;
}
} else {
cameongrassL = false;
if (speedL < 5) {
speedL = speedL + 0.5;
}
}
xSpeed = speedL * Math.sin(_rotation * (Math.PI/180));
ySpeed = speedL * Math.cos(_rotation * (Math.PI/180));
_y = (_y - (ySpeed * 0.9));
_x = (_x + (xSpeed * 0.9));
reducespeedL = 10;
} else if ((l == true) and (r == false)) {
speedL = 0;
if (reducespeedL > 0) {
reducespeedL--;
}
_y = (_y - ((ySpeed * reducespeedL) * 0.1));
_x = (_x + ((xSpeed * reducespeedL) * 0.1));
}
}
Instance of Symbol 63 MovieClip "ship1_mc" in Symbol 125 MovieClip Frame 92
onClipEvent (load) {
speed = 0;
speedL = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
r = true;
l = false;
if (Key.isDown(39)) {
_rotation = (_rotation + 8);
}
if (Key.isDown(37)) {
_rotation = (_rotation - 8);
}
if (_parent.sand_mc.hitTest(_x, _y, true)) {
if (!cameongrassR) {
speed = 1;
cameongrassR = true;
}
if (speed < 5) {
speed = speed + 0.01;
}
} else {
cameongrassR = false;
if (speed < 5) {
speed = speed + 0.5;
}
}
xSpeed = speed * Math.sin(_rotation * (Math.PI/180));
ySpeed = speed * Math.cos(_rotation * (Math.PI/180));
_y = (_y + (ySpeed * 0.9));
_x = (_x - (xSpeed * 0.9));
reducespeed = 10;
} else if ((l == false) and (r == true)) {
speed = 0;
if (reducespeed > 0) {
reducespeed--;
}
_y = (_y + ((ySpeed * reducespeed) * 0.1));
_x = (_x - ((xSpeed * reducespeed) * 0.1));
}
if (Key.isDown(40)) {
l = true;
r = false;
if (_parent.sand_mc.hitTest(_x, _y, true)) {
if (!cameongrassL) {
speedL = 1;
cameongrassL = true;
}
if (speedL < 5) {
speed = speed + 0.01;
}
} else {
cameongrassL = false;
if (speedL < 5) {
speedL = speedL + 0.5;
}
}
xSpeed = speedL * Math.sin(_rotation * (Math.PI/180));
ySpeed = speedL * Math.cos(_rotation * (Math.PI/180));
_y = (_y - (ySpeed * 0.9));
_x = (_x + (xSpeed * 0.9));
reducespeedL = 10;
} else if ((l == true) and (r == false)) {
speedL = 0;
if (reducespeedL > 0) {
reducespeedL--;
}
_y = (_y - ((ySpeed * reducespeedL) * 0.1));
_x = (_x + ((xSpeed * reducespeedL) * 0.1));
}
}
Symbol 125 MovieClip Frame 102
stop();
soundbtn_mc.gotoAndStop(_parent.soundBoolean);
Instance of Symbol 90 MovieClip "soundbtn_mc" in Symbol 125 MovieClip Frame 102
on (press) {
if (this._currentframe < 2) {
_parent._parent.soundswitchedoff();
_parent._parent.my_sound.stop();
_parent._parent.shipSound_mc.gotoAndStop("soundoff");
this.gotoAndStop(2);
} else {
_parent._parent.soundswitchedon();
_parent._parent.my_sound.start(0, 99);
_parent._parent.shipSound_mc.gotoAndStop(1);
this.gotoAndStop(1);
}
}
Symbol 125 MovieClip Frame 103
stop();
Symbol 128 MovieClip Frame 4
gotoAndStop (1);
Symbol 128 MovieClip Frame 5
_parent.bombSound_mc.gotoAndStop("soundoff");
Symbol 128 MovieClip Frame 9
gotoAndPlay ("soundoff");
Symbol 130 MovieClip Frame 4
gotoAndStop (1);
Symbol 130 MovieClip Frame 9
gotoAndPlay ("soundoff");
Symbol 140 MovieClip Frame 2
stop();
Symbol 155 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 1
stop();
Instance of Symbol 148 MovieClip "fire2_mc" in Symbol 166 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 148 MovieClip "fire1_mc" in Symbol 166 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 20
gotoAndPlay (2);
Symbol 190 Button
on (release) {
_parent.play();
}
Symbol 195 Button
on (release) {
_parent.gotoAndStop("mainmenu");
}
Symbol 198 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
stop();
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 220 MovieClip Frame 1
mins1.mins1 = 0;
mins2.mins2 = 0;
secs1.secs1 = 0;
secs2.secs2 = 0;
stop();
Symbol 220 MovieClip Frame 2
var change;
change = false;
G = int(getTimer() / 1000);
if (G != T) {
T = G;
gotoAndPlay ("restart");
} else {
T = G;
gotoAndPlay ("look");
}
Symbol 220 MovieClip Frame 3
gotoAndPlay ("look");
Symbol 220 MovieClip Frame 4
secs2.secs2 = secs2.secs2 + 1;
if (secs2.secs2 > 9) {
secs2.secs2 = 0;
secs1.secs1 = secs1.secs1 + 1;
}
if (secs1.secs1 > 5) {
secs1.secs1 = 0;
mins2.mins2 = mins2.mins2 + 1;
}
if (mins2.mins2 > 9) {
mins2.mins2 = 0;
if (mins1.mins1 < 5) {
mins1.mins1 = mins1.mins1 + 1;
} else {
mins1.mins1 = 0;
}
}
Symbol 220 MovieClip Frame 5
gotoAndPlay ("look");
Symbol 227 Button
on (release) {
_parent.gotoAndStop(1);
}
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 1
mins1.mins1 = 0;
mins2.mins2 = 0;
secs1.secs1 = 0;
secs2.secs2 = 0;
soundbtn_mc.gotoAndStop(_parent.soundBoolean);
stop();
Instance of Symbol 231 MovieClip "soundbtn_mc" in Symbol 237 MovieClip Frame 1
on (press) {
if (this._currentframe < 2) {
_parent._parent.soundswitchedoff();
_parent._parent.my_sound.stop();
_parent._parent.shipSound_mc.gotoAndStop("soundoff");
this.gotoAndStop(2);
} else {
_parent._parent.soundswitchedon();
_parent._parent.my_sound.start(0, 99);
_parent._parent.shipSound_mc.gotoAndStop(1);
this.gotoAndStop(1);
}
}
Symbol 237 MovieClip Frame 2
var change;
change = false;
G = int(getTimer() / 1000);
if (G != T) {
T = G;
gotoAndPlay ("restart");
} else {
T = G;
gotoAndPlay ("look");
}
Symbol 237 MovieClip Frame 3
gotoAndPlay ("look");
Symbol 237 MovieClip Frame 4
secs2.secs2 = secs2.secs2 + 1;
if (secs2.secs2 > 9) {
secs2.secs2 = 0;
secs1.secs1 = secs1.secs1 + 1;
}
if (secs1.secs1 > 5) {
secs1.secs1 = 0;
mins2.mins2 = mins2.mins2 + 1;
}
if (mins2.mins2 > 9) {
mins2.mins2 = 0;
if (mins1.mins1 < 5) {
mins1.mins1 = mins1.mins1 + 1;
} else {
mins1.mins1 = 0;
}
}
Symbol 237 MovieClip Frame 5
gotoAndPlay ("look");
Symbol 241 MovieClip Frame 16
if (lapNum < 4) {
lap_txt.text = "LAP : " + lapNum;
} else {
lap_txt.text = "FINAL LAP";
}
Symbol 241 MovieClip Frame 33
_parent.laps_mc.play();
_parent.laps_mc.timer_mc.play();
stop();
Symbol 253 Button
on (release) {
getURL ("http://www.gameshandbook.com", "_blank");
}
Symbol 254 MovieClip Frame 1
mins1.mins1 = 0;
mins2.mins2 = 0;
secs1.secs1 = 0;
secs2.secs2 = 0;
soundbtn_mc.gotoAndStop(_parent.soundBoolean);
stop();
Instance of Symbol 231 MovieClip "soundbtn_mc" in Symbol 254 MovieClip Frame 1
on (press) {
if (this._currentframe < 2) {
_parent._parent.soundswitchedoff();
_parent._parent.my_sound.stop();
_parent._parent.shipSound_mc.gotoAndStop("soundoff");
this.gotoAndStop(2);
} else {
_parent._parent.soundswitchedon();
_parent._parent.my_sound.start(0, 99);
_parent._parent.shipSound_mc.gotoAndStop(1);
this.gotoAndStop(1);
}
}
Symbol 254 MovieClip Frame 2
var change;
change = false;
G = int(getTimer() / 1000);
if (G != T) {
T = G;
gotoAndPlay ("restart");
} else {
T = G;
gotoAndPlay ("look");
}
Symbol 254 MovieClip Frame 3
gotoAndPlay ("look");
Symbol 254 MovieClip Frame 4
secs2.secs2 = secs2.secs2 + 1;
if (secs2.secs2 > 9) {
secs2.secs2 = 0;
secs1.secs1 = secs1.secs1 + 1;
}
if (secs1.secs1 > 5) {
secs1.secs1 = 0;
mins2.mins2 = mins2.mins2 + 1;
}
if (mins2.mins2 > 9) {
mins2.mins2 = 0;
if (mins1.mins1 < 5) {
mins1.mins1 = mins1.mins1 + 1;
} else {
mins1.mins1 = 0;
}
}
Symbol 254 MovieClip Frame 5
gotoAndPlay ("look");
Symbol 279 MovieClip Frame 1
mins1.mins1 = 0;
mins2.mins2 = 0;
secs1.secs1 = 0;
secs2.secs2 = 0;
soundbtn_mc.gotoAndStop(_parent.soundBoolean);
stop();
Instance of Symbol 231 MovieClip "soundbtn_mc" in Symbol 279 MovieClip Frame 1
on (press) {
if (this._currentframe < 2) {
_parent._parent.soundswitchedoff();
_parent._parent.my_sound.stop();
_parent._parent.shipSound_mc.gotoAndStop("soundoff");
this.gotoAndStop(2);
} else {
_parent._parent.soundswitchedon();
_parent._parent.my_sound.start(0, 99);
_parent._parent.shipSound_mc.gotoAndStop(1);
this.gotoAndStop(1);
}
}
Symbol 279 MovieClip Frame 2
var change;
change = false;
G = int(getTimer() / 1000);
if (G != T) {
T = G;
gotoAndPlay ("restart");
} else {
T = G;
gotoAndPlay ("look");
}
Symbol 279 MovieClip Frame 3
gotoAndPlay ("look");
Symbol 279 MovieClip Frame 4
secs2.secs2 = secs2.secs2 + 1;
if (secs2.secs2 > 9) {
secs2.secs2 = 0;
secs1.secs1 = secs1.secs1 + 1;
}
if (secs1.secs1 > 5) {
secs1.secs1 = 0;
mins2.mins2 = mins2.mins2 + 1;
}
if (mins2.mins2 > 9) {
mins2.mins2 = 0;
if (mins1.mins1 < 5) {
mins1.mins1 = mins1.mins1 + 1;
} else {
mins1.mins1 = 0;
}
}
Symbol 279 MovieClip Frame 5
gotoAndPlay ("look");