Frame 1
MochiAd.showPreGameAd({id:"42ed9674c395ced3", res:"550x500"});
Frame 2
function website() {
getURL ("http://www.incision.org.uk");
}
function nextf() {
nextFrame();
}
function highq() {
_quality = "HIGH";
}
function lowq() {
_quality = "LOW";
}
function bk2menu() {
gotoAndStop (3);
stopAllSounds();
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
onEnterFrame = function () {
var _local4 = new ContextMenuItem("Incision", website);
var _local2 = new ContextMenuItem("Forward", nextf);
var _local3 = new ContextMenuItem("Menu", bk2menu);
var _local5 = new ContextMenuItem("Low Quality", lowq);
var _local6 = new ContextMenuItem("High Quality", highq);
if (_quality == "HIGH") {
myMenu.customItems.push(_local4, _local2, _local5, _local3);
} else {
myMenu.customItems.push(_local4, _local2, _local6, _local3);
}
_root.menu = myMenu;
};
Frame 3
Mouse.hide();
_root.check = "0";
stop();
game = SharedObject.getLocal("mydata");
if (game.data.bestpolice == undefined) {
_root.bestpolice = 0;
} else {
_root.bestpolice = game.data.bestpolice;
}
if (game.data.besttarget == undefined) {
_root.besttarget = 0;
} else {
_root.besttarget = game.data.besttarget;
}
if (game.data.besttimes == undefined) {
_root.besttime = 100;
} else {
_root.besttime = game.data.besttimes;
}
if (game.data.besttimes3 == undefined) {
_root.besttime3 = 100;
} else {
_root.besttime3 = game.data.besttimes3;
}
if (game.data.besttimes2 == undefined) {
_root.besttime2 = 100;
} else {
_root.besttime2 = game.data.besttimes2;
}
if (game.data.storylevel == undefined) {
_root.storylevel = 0;
} else {
_root.storylevel = game.data.storylevel;
}
Instance of Symbol 82 MovieClip "car" in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(88)) {
game = SharedObject.getLocal("mydata");
game.data.storylevel = 8;
game.flush();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(67)) {
_root.gotoAndStop(12);
}
}
Instance of Symbol 106 MovieClip in Frame 3
on (release) {
stopAllSounds();
nextFrame();
}
Instance of Symbol 115 MovieClip in Frame 3
on (release) {
if (_root.storylevel == "0") {
_root.gotoAndPlay(80);
}
if (_root.storylevel == "1") {
_root.gotoAndStop(303);
}
if (_root.storylevel == "2") {
_root.gotoAndStop(309);
}
if (_root.storylevel == "3") {
_root.gotoAndStop(313);
}
if (_root.storylevel == "4") {
_root.gotoAndStop(318);
}
if (_root.storylevel == "5") {
_root.gotoAndStop(322);
}
if (_root.storylevel == "6") {
_root.gotoAndStop(325);
}
if (_root.storylevel == "7") {
_root.gotoAndStop(329);
}
if (_root.storylevel == "8") {
_root.gotoAndStop(13);
}
}
Instance of Symbol 119 MovieClip in Frame 3
on (release) {
_root.gotoAndStop(6);
}
Instance of Symbol 123 MovieClip in Frame 3
on (release) {
_root.gotoAndPlay(77);
}
Instance of Symbol 134 MovieClip "two" in Frame 3
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 3
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Instance of Symbol 140 MovieClip in Frame 4
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
}
Instance of Symbol 147 MovieClip in Frame 4
on (release) {
if (_root.ctype == "car") {
_root.ctype = "tank";
} else if (_root.ctype == "tank") {
_root.ctype = "F1 car";
} else if ((_root.ctype == "F1 car") and (_root.storylevel > 0)) {
_root.ctype = "bus";
} else if ((_root.ctype == "bus") and (_root.storylevel > 7)) {
_root.ctype = "jet";
}
}
onClipEvent (enterFrame) {
if (_root.ctype == "jet") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 149 MovieClip in Frame 4
on (release) {
if (_root.ctype == "tank") {
_root.ctype = "car";
} else if (_root.ctype == "F1 car") {
_root.ctype = "tank";
} else if (_root.ctype == "bus") {
_root.ctype = "F1 car";
} else if (_root.ctype == "jet") {
_root.ctype = "bus";
}
}
onClipEvent (enterFrame) {
if (_root.ctype == "car") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 147 MovieClip in Frame 4
on (release) {
if (_root.colour == "red") {
_root.colour = "blue";
} else if (_root.colour == "blue") {
_root.colour = "green";
} else if (_root.colour == "green") {
_root.colour = "yellow";
} else if (_root.colour == "yellow") {
_root.colour = "pink";
} else if ((_root.colour == "pink") and (_root.storylevel > 1)) {
_root.colour = "black";
} else if ((_root.colour == "black") and (_root.storylevel > 2)) {
_root.colour = "police";
} else if ((_root.colour == "police") and (_root.storylevel > 6)) {
_root.colour = "orange";
} else if ((_root.colour == "orange") and (_root.storylevel > 7)) {
_root.colour = "camo";
}
}
onClipEvent (enterFrame) {
if (_root.colour == "camo") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 149 MovieClip in Frame 4
on (release) {
if (_root.colour == "blue") {
_root.colour = "red";
} else if (_root.colour == "green") {
_root.colour = "blue";
} else if (_root.colour == "yellow") {
_root.colour = "green";
} else if (_root.colour == "pink") {
_root.colour = "yellow";
} else if (_root.colour == "black") {
_root.colour = "pink";
} else if (_root.colour == "police") {
_root.colour = "black";
} else if (_root.colour == "orange") {
_root.colour = "police";
} else if (_root.colour == "camo") {
_root.colour = "orange";
}
}
onClipEvent (enterFrame) {
if (_root.colour == "red") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 153 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.carchoice = _root.ctype + _root.colour;
if (_root.ctype == "car") {
_root.sspeed = "59";
_root.saccel = "0.5";
_root.shand = "5";
_root.sdiffi = "medium";
}
if (_root.ctype == "tank") {
_root.sspeed = "31";
_root.saccel = "1";
_root.shand = "9";
_root.sdiffi = "easy";
}
if (_root.ctype == "F1 car") {
_root.sspeed = "87";
_root.saccel = "1";
_root.shand = "3";
_root.sdiffi = "expert";
}
if (_root.ctype == "bus") {
_root.sspeed = "40";
_root.saccel = "0.3";
_root.shand = "5";
_root.sdiffi = "beginner";
}
if (_root.ctype == "jet") {
_root.sspeed = "200";
_root.saccel = "5";
_root.shand = "3";
_root.sdiffi = "idiot";
}
}
Frame 5
Mouse.show();
Instance of Symbol 167 MovieClip "cam" in Frame 5
onClipEvent (enterFrame) {
_x = this._parent.car._x;
_y = this._parent.car._y;
}
Instance of Symbol 171 MovieClip "chechpoint" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.car)) {
_root.check = "1";
}
}
Instance of Symbol 176 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.car)) {
if (_root.check == "1") {
_root.timershow.lastlap = "Last lap: " + _root.timershow.laptime;
_root.timershow.lap = Number(_root.timershow.lap) + 1;
if (_root.timershow.laptime < _root.besttime) {
game = SharedObject.getLocal("mydata");
game.data.besttimes = _root.timershow.laptime;
game.flush();
}
if (_root.timershow.laptime < _root.timershow.bestlap) {
_root.timershow.bestlap = _root.timershow.laptime;
}
_root.check = "0";
_root.timershow.laptime = "0";
}
}
}
Instance of Symbol 82 MovieClip "car" in Frame 5
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
acceleration = Number(_root.saccel);
turnfriction = Number(10 - _root.shand);
maxspeed = 0;
topspeed = Number(_root.sspeed / 4);
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
topspeed = Number(topspeed) * 2;
}
if (Key.isDown(65)) {
acceleration = Number(acceleration) * 2;
}
if (Key.isDown(72)) {
turnfriction = Number(turnfriction) * 2;
}
if (!_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
maxspeed = topspeed / 3;
}
if (_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
maxspeed = topspeed;
}
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
speed = -10;
}
_root.timershow.speedtime = Math.round(speed * 4) + "mph";
if (this._parent.timershow.line._rotation < (speed * 8)) {
this._parent.timershow.line._rotation = this._parent.timershow.line._rotation + 4;
}
if (this._parent.timershow.line._rotation > (speed * 8)) {
this._parent.timershow.line._rotation = this._parent.timershow.line._rotation - 4;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(38)) {
speed = speed + acceleration;
}
if (Key.isDown(40)) {
if (speed > 0) {
speed = speed - acceleration;
}
}
if (speed > 0) {
speed = speed - (acceleration / 2);
}
if (speed < 0) {
speed = speed + (acceleration / 2);
}
if (Key.isDown(37)) {
_rotation = (_rotation - (speed / turnfriction));
}
if (Key.isDown(39)) {
_rotation = (_rotation + (speed / turnfriction));
}
if (speed > maxspeed) {
speed = maxspeed;
}
xspeed = speed * Math.cos((_rotation * Math.PI) / 180);
yspeed = speed * Math.sin((_rotation * Math.PI) / 180);
}
on (keyPress "<Space>") {
this._parent.black.play();
if (this.hitTest(this._parent.part1)) {
this._x = 466;
this._y = 127;
this._rotation = 0;
speed = 0;
}
if (this.hitTest(this._parent.part2)) {
this._x = 1407;
this._y = -31;
this._rotation = 315;
speed = 0;
}
if (this.hitTest(this._parent.part3)) {
this._x = 1550;
this._y = -903;
this._rotation = 270;
speed = 0;
}
if (this.hitTest(this._parent.part4)) {
this._x = 1329;
this._y = -1553;
this._rotation = 225;
speed = 0;
}
if (this.hitTest(this._parent.part5)) {
this._x = 779;
this._y = -1637;
this._rotation = 180;
speed = 0;
}
if (this.hitTest(this._parent.part6)) {
this._x = 215;
this._y = -1500;
this._rotation = 135;
speed = 0;
}
if (this.hitTest(this._parent.part7)) {
this._x = -50;
this._y = -720;
this._rotation = 135;
speed = 0;
}
if (this.hitTest(this._parent.part8)) {
this._x = -694;
this._y = -745;
this._rotation = 225;
speed = 0;
}
if (this.hitTest(this._parent.part9)) {
this._x = -850;
this._y = -1500;
this._rotation = 225;
speed = 0;
}
if (this.hitTest(this._parent.part10)) {
this._x = -1450;
this._y = -1676;
this._rotation = 180;
speed = 0;
}
if (this.hitTest(this._parent.part11)) {
this._x = -2060;
this._y = -1500;
this._rotation = 135;
speed = 0;
}
if (this.hitTest(this._parent.part12)) {
this._x = -2163;
this._y = -812;
this._rotation = 90;
speed = 0;
}
if (this.hitTest(this._parent.part13)) {
this._x = -1985;
this._y = -31;
this._rotation = 45;
speed = 0;
}
if (this.hitTest(this._parent.part14)) {
this._x = -873;
this._y = 140;
this._rotation = 0;
speed = 0;
}
}
Instance of Symbol 178 MovieClip in Frame 5
onClipEvent (enterFrame) {
_root.timershow.laptime = Number(Math.round(_root.timershow.laptime * 100) / 100);
}
Instance of Symbol 226 MovieClip "timershow" in Frame 5
onClipEvent (enterFrame) {
this._x = (this._parent.car._x - 265) + this._parent.car.xspeed;
this._y = (this._parent.car._y - 190) + this._parent.car.yspeed;
}
Instance of Symbol 228 MovieClip "black" in Frame 5
onClipEvent (enterFrame) {
_x = this._parent.cam._x;
_y = this._parent.cam._y;
}
Frame 6
Mouse.show();
Instance of Symbol 229 MovieClip "cam" in Frame 6
onClipEvent (enterFrame) {
_y = (this._parent.car._y + ((this._parent.carg._y - this._parent.car._y) / 2));
_x = (this._parent.car._x + ((this._parent.carg._x - this._parent.car._x) / 2));
_width = (((this._parent.carg._x - this._parent.car._x) + 50) + (_width / 10));
_height = ((this._parent.carg._y - this._parent.car._y) + 50);
if ((this._parent.carg._x - this._parent.car._x) < 0) {
_width = (((this._parent.car._x - this._parent.carg._x) + this._parent.car._width) + this._parent.carg._width);
}
if ((this._parent.carg._y - this._parent.car._y) < 0) {
_height = (((this._parent.car._y - this._parent.carg._y) + this._parent.car._height) + this._parent.carg._height);
}
if (_width > _height) {
_height = _width;
}
if (_width < _height) {
_width = _height;
}
if (_width < 500) {
_width = 500;
}
if (_height < 500) {
_height = 500;
}
}
Instance of Symbol 233 MovieClip "chechpoint" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.car)) {
_root.check = "1";
}
if (this.hitTest(this._parent.carg)) {
_root.check2 = "1";
}
}
Instance of Symbol 237 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.car)) {
if (_root.check == "1") {
if (_root.timershow.laptime < _root.timershow.bestlap) {
_root.timershow.bestlap = _root.timershow.laptime;
}
if (_root.timershow.laptime < _root.besttime2) {
game = SharedObject.getLocal("mydata");
game.data.besttimes2 = _root.timershow.laptime;
game.flush();
}
_root.check = "0";
_root.timershow.laptime = "0";
}
}
if (this.hitTest(this._parent.carg)) {
if (_root.check2 == "1") {
if (_root.timershow.laptimeg < _root.timershow.bestlapg) {
_root.timershow.bestlapg = _root.timershow.laptimeg;
}
if (_root.timershow.laptime < _root.besttime2) {
game = SharedObject.getLocal("mydata");
game.data.besttimes2 = _root.timershow.laptime;
game.flush();
}
_root.check2 = "0";
_root.timershow.laptimeg = "0";
}
}
}
Instance of Symbol 240 MovieClip "car" in Frame 6
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
acceleration = 0.5;
turnfriction = 5;
maxspeed = 0;
topspeed = 15;
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
topspeed = Number(topspeed) * 2;
}
if (Key.isDown(65)) {
acceleration = Number(acceleration) * 2;
}
if (Key.isDown(72)) {
turnfriction = Number(turnfriction) * 2;
}
if (!_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
maxspeed = topspeed / 3;
}
if (_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
maxspeed = topspeed;
}
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
speed = -20;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(38)) {
speed = speed + acceleration;
}
if (Key.isDown(40)) {
if (speed > 0) {
speed = speed - acceleration;
}
}
if (speed > 0) {
speed = speed - (acceleration / 2);
}
if (speed < 0) {
speed = speed + (acceleration / 2);
}
if (Key.isDown(37)) {
_rotation = (_rotation - (speed / turnfriction));
}
if (Key.isDown(39)) {
_rotation = (_rotation + (speed / turnfriction));
}
if (speed > maxspeed) {
speed = maxspeed;
}
xspeed = speed * Math.cos((_rotation * Math.PI) / 180);
yspeed = speed * Math.sin((_rotation * Math.PI) / 180);
}
Instance of Symbol 241 MovieClip in Frame 6
onClipEvent (enterFrame) {
_root.timershow.laptime = Number(Math.round(_root.timershow.laptime * 100) / 100);
_root.timershow.laptimeg = Number(Math.round(_root.timershow.laptimeg * 100) / 100);
}
Instance of Symbol 108 MovieClip "carg" in Frame 6
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
acceleration = 0.5;
turnfriction = 5;
maxspeed = 0;
topspeed = 15;
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
topspeed = Number(topspeed) * 2;
}
if (Key.isDown(65)) {
acceleration = Number(acceleration) * 2;
}
if (Key.isDown(72)) {
turnfriction = Number(turnfriction) * 2;
}
if (!_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
maxspeed = topspeed / 3;
}
if (_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
maxspeed = topspeed;
}
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
speed = -20;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(87)) {
speed = speed + acceleration;
}
if (Key.isDown(83)) {
if (speed > 0) {
speed = speed - acceleration;
}
}
if (speed > 0) {
speed = speed - (acceleration / 2);
}
if (speed < 0) {
speed = speed + (acceleration / 2);
}
if (Key.isDown(65)) {
_rotation = (_rotation - (speed / turnfriction));
}
if (Key.isDown(68)) {
_rotation = (_rotation + (speed / turnfriction));
}
if (speed > maxspeed) {
speed = maxspeed;
}
xspeed = speed * Math.cos((_rotation * Math.PI) / 180);
yspeed = speed * Math.sin((_rotation * Math.PI) / 180);
}
Instance of Symbol 250 MovieClip "timershow" in Frame 6
onClipEvent (enterFrame) {
this._x = (this._parent.cam._x - (this._parent.cam._width / 2)) + ((this._parent.car.xspeed * 500) / this._parent.cam._width);
this._y = (this._parent.cam._y - (this._parent.cam._height / 2)) + ((this._parent.car.yspeed * 500) / this._parent.cam._height);
this._height = this._parent.cam._height - 20;
this._width = this._parent.cam._width;
if (this.hitTest(_root.car._x - (_root.car._width / 2), _root.car._y + (_root.car._height / 4), true)) {
this._alpha = 25;
} else if (this.hitTest(_root.carg._x - (_root.carg._width / 2), _root.carg._y + (_root.carg._height / 4), true)) {
this._alpha = 25;
} else {
this._alpha = 75;
}
}
Frame 7
Mouse.hide();
Instance of Symbol 134 MovieClip "two" in Frame 7
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 7
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 8
Mouse.hide();
stop();
Instance of Symbol 153 MovieClip in Frame 8
onClipEvent (enterFrame) {
_root.carchoice = _root.ctype + _root.colour;
if (_root.ctype == "car") {
_root.sspeed = "59";
_root.saccel = "0.5";
_root.shand = "5";
_root.sdiffi = "medium";
}
if (_root.ctype == "tank") {
_root.sspeed = "31";
_root.saccel = "1";
_root.shand = "9";
_root.sdiffi = "easy";
}
if (_root.ctype == "F1 car") {
_root.sspeed = "87";
_root.saccel = "1";
_root.shand = "3";
_root.sdiffi = "expert";
}
if (_root.ctype == "bus") {
_root.sspeed = "40";
_root.saccel = "0.3";
_root.shand = "5";
_root.sdiffi = "beginner";
}
}
Instance of Symbol 147 MovieClip in Frame 8
on (release) {
if ((_root.ltype == "the m") and (_root.storylevel > 0)) {
_root.ltype = "figure 8";
} else if ((_root.ltype == "figure 8") and (_root.storylevel > 0)) {
_root.ltype = "circle";
}
}
onClipEvent (enterFrame) {
if (_root.ctype == "circle") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 149 MovieClip in Frame 8
on (release) {
if (_root.ltype == "figure 8") {
_root.ltype = "the m";
} else if (_root.ltype == "circle") {
_root.ltype = "figure 8";
}
}
onClipEvent (enterFrame) {
if (_root.ctype == "the m") {
_visible = false;
} else {
_visible = true;
}
}
Frame 9
Mouse.show();
Instance of Symbol 167 MovieClip "cam" in Frame 9
onClipEvent (enterFrame) {
_x = this._parent.carn._x;
_y = this._parent.carn._y;
}
Instance of Symbol 171 MovieClip "chechpoint" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
_root.check = "1";
}
}
Instance of Symbol 176 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
if (_root.check == "1") {
_root.timershow.lastlap = "Last lap: " + _root.timershow.laptime;
_root.timershow.lap = Number(_root.timershow.lap) + 1;
if (_root.timershow.laptime < _root.timershow.bestlap) {
_root.timershow.bestlap = _root.timershow.laptime;
}
_root.check = "0";
_root.timershow.laptime = "0";
}
}
}
Instance of Symbol 178 MovieClip in Frame 9
onClipEvent (enterFrame) {
_root.timershow.laptime = Number(Math.round(_root.timershow.laptime * 100) / 100);
}
Instance of Symbol 240 MovieClip "carn" in Frame 9
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
acceleration = Number(_root.saccel);
turnfriction = Number(10 - _root.shand);
maxspeed = 0;
topspeed = Number(_root.sspeed / 4);
rotate = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
topspeed = Number(topspeed) * 2;
}
if (Key.isDown(65)) {
acceleration = Number(acceleration) * 2;
}
if (Key.isDown(72)) {
turnfriction = Number(turnfriction) * 2;
}
_rotation = rotate;
_root.timershow.speedtime = Math.round(speed * 4) + "mph";
if (this._parent.timershow.line._rotation < (speed * 8)) {
this._parent.timershow.line._rotation = this._parent.timershow.line._rotation + 4;
}
if (this._parent.timershow.line._rotation > (speed * 8)) {
this._parent.timershow.line._rotation = this._parent.timershow.line._rotation - 4;
}
if (!_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
maxspeed = topspeed;
}
if (_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
maxspeed = topspeed;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(38)) {
speed = speed + acceleration;
}
if (Key.isDown(40)) {
speed = speed - acceleration;
}
if (speed > 0) {
speed = speed - (acceleration / 2);
}
if (speed < 0) {
speed = speed + (acceleration / 2);
}
if (Key.isDown(37)) {
rotate = rotate - (speed / turnfriction);
}
if (Key.isDown(39)) {
rotate = rotate + (speed / turnfriction);
}
if (speed > maxspeed) {
speed = maxspeed;
}
if (speed < (-maxspeed)) {
speed = -maxspeed;
}
xspeed = speed * Math.cos((rotate * Math.PI) / 180);
yspeed = speed * Math.sin((rotate * Math.PI) / 180);
}
Instance of Symbol 273 MovieClip "tl" in Frame 9
onClipEvent (enterFrame) {
_x = (this._parent.carn._x + this._parent.carn.xspeed);
_y = (this._parent.carn._y + this._parent.carn.yspeed);
_rotation = this._parent.carn._rotation;
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
if (_root.carn.speed < 0) {
_root.carn.rotate = _root.carn.rotate + 315;
} else {
_root.carn.rotate = _root.carn.rotate + 45;
}
}
}
Instance of Symbol 226 MovieClip "timershow" in Frame 9
onClipEvent (enterFrame) {
this._x = (this._parent.carn._x - 265) + this._parent.carn.xspeed;
this._y = (this._parent.carn._y - 190) + this._parent.carn.yspeed;
}
Frame 10
Mouse.show();
Frame 11
Mouse.hide();
Instance of Symbol 284 MovieClip "hq" in Frame 11
on (release) {
_root._quality = "BEST";
_alpha = 100;
this._parent.lq._alpha = 50;
}
Instance of Symbol 286 MovieClip "lq" in Frame 11
onClipEvent (enterFrame) {
if (_root._quality == "LOW") {
_alpha = 100;
this._parent.hq._alpha = 50;
}
}
on (release) {
_root._quality = "LOW";
_alpha = 100;
this._parent.hq._alpha = 50;
}
Instance of Symbol 134 MovieClip "two" in Frame 11
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 11
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 15
Mouse.hide();
stop();
Instance of Symbol 167 MovieClip "cam" in Frame 15
onClipEvent (load) {
xspeed = 0;
}
onClipEvent (enterFrame) {
if (xspeed < 4) {
xspeed = xspeed + 0.025;
}
_x = (_x + xspeed);
if (_x > 2750) {
xspeed = 0;
_root.done = 1;
}
}
Instance of Symbol 341 MovieClip "cross" in Frame 15
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 16
Mouse.show();
Instance of Symbol 384 MovieClip "carn" in Frame 16
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
good = 0;
_root.distance = 0;
}
onClipEvent (enterFrame) {
_y = (_y + yspeed);
_x = (_x + xspeed);
if (xspeed == 0) {
xspeed = xspeed + 1;
}
if (Key.isDown(37)) {
xspeed = xspeed - 0.7;
}
if (Key.isDown(39)) {
xspeed = xspeed + 0.7;
}
_rotation = (xspeed * 2);
if (this.hitTest(this._parent.car1)) {
yspeed = 15;
}
if (this.hitTest(this._parent.car2)) {
yspeed = 15;
}
if (this.hitTest(this._parent.car3)) {
yspeed = 15;
}
if (_y > 550) {
if (good == 0) {
_root.nextFrame();
} else {
_root.nextFrame();
}
}
_root.distance = Number(_root.distance) + 6;
if (_root.distance < 80) {
this._parent.spikes.play();
}
if (this.hitTest(this._parent.spikes)) {
good = 1;
yspeed = 15;
}
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
xspeed = -xspeed;
_root.health = Number(_root.health) - 10;
}
if (_root.health < 1) {
_root.nextFrame();
}
}
Instance of Symbol 385 MovieClip "followerMC" in Frame 16
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("follower" + i, i + 10);
_root["follower" + i]._x = _root.carn._x + _root.carn.xspeed;
_root["follower" + i]._y = _root.carn._y + _root.carn.yspeed;
_root["follower" + i]._rotation = _root.carn._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 25;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 17
if (_root.distance > _root.bestpolice) {
game = SharedObject.getLocal("mydata");
game.data.bestpolice = _root.distance;
_root.bestpolice = _root.distance;
game.flush();
}
Frame 76
Mouse.hide();
Instance of Symbol 149 MovieClip in Frame 76
on (release) {
if (_root.btype == "sand") {
_root.btype = "normal";
} else if (_root.btype == "grey") {
_root.btype = "sand";
} else if (_root.btype == "road") {
_root.btype = "grey";
} else if (_root.btype == "green") {
_root.btype = "road";
} else if (_root.btype == "grass") {
_root.btype = "green";
} else if (_root.btype == "blue") {
_root.btype = "grass";
} else if (_root.btype == "tiles") {
_root.btype = "blue";
} else if (_root.btype == "metal") {
_root.btype = "tiles";
}
}
onClipEvent (enterFrame) {
if (_root.btype == "normal") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 147 MovieClip in Frame 76
on (release) {
if (_root.btype == "normal") {
_root.btype = "sand";
} else if (_root.btype == "sand") {
_root.btype = "grey";
} else if (_root.btype == "grey") {
_root.btype = "road";
} else if (_root.btype == "road") {
_root.btype = "green";
} else if (_root.btype == "green") {
_root.btype = "grass";
} else if (_root.btype == "grass") {
_root.btype = "blue";
} else if (_root.btype == "blue") {
_root.btype = "tiles";
} else if (_root.btype == "tiles") {
_root.btype = "metal";
}
}
onClipEvent (enterFrame) {
if (_root.btype == "metal") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 134 MovieClip "two" in Frame 76
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 76
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 77
stop();
Instance of Symbol 140 MovieClip in Frame 77
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
}
Instance of Symbol 149 MovieClip in Frame 77
on (release) {
if (_root.ctype == "tank") {
_root.ctype = "car";
} else if (_root.ctype == "F1 car") {
_root.ctype = "tank";
} else if (_root.ctype == "bus") {
_root.ctype = "F1 car";
}
}
onClipEvent (enterFrame) {
if (_root.ctype == "car") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 149 MovieClip in Frame 77
on (release) {
if (_root.colour == "blue") {
_root.colour = "red";
} else if (_root.colour == "green") {
_root.colour = "blue";
} else if (_root.colour == "yellow") {
_root.colour = "green";
} else if (_root.colour == "pink") {
_root.colour = "yellow";
} else if (_root.colour == "black") {
_root.colour = "pink";
} else if (_root.colour == "police") {
_root.colour = "black";
} else if (_root.colour == "orange") {
_root.colour = "police";
}
}
onClipEvent (enterFrame) {
if (_root.colour == "red") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 153 MovieClip in Frame 77
onClipEvent (enterFrame) {
_root.carchoice = _root.ctype + _root.colour;
if (_root.ctype == "car") {
_root.sspeed = "59";
_root.saccel = "0.5";
_root.shand = "5";
_root.sdiffi = "medium";
}
if (_root.ctype == "tank") {
_root.sspeed = "31";
_root.saccel = "1";
_root.shand = "9";
_root.sdiffi = "easy";
}
if (_root.ctype == "F1 car") {
_root.sspeed = "87";
_root.saccel = "1";
_root.shand = "3";
_root.sdiffi = "expert";
}
if (_root.ctype == "bus") {
_root.sspeed = "40";
_root.saccel = "0.3";
_root.shand = "5";
_root.sdiffi = "beginner";
}
}
Instance of Symbol 147 MovieClip in Frame 77
on (release) {
if (_root.ctype == "car") {
_root.ctype = "tank";
} else if (_root.ctype == "tank") {
_root.ctype = "F1 car";
} else if ((_root.ctype == "F1 car") and (_root.storylevel > 0)) {
_root.ctype = "bus";
}
}
onClipEvent (enterFrame) {
if (_root.ctype == "bus") {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 147 MovieClip in Frame 77
on (release) {
if (_root.colour == "red") {
_root.colour = "blue";
} else if (_root.colour == "blue") {
_root.colour = "green";
} else if (_root.colour == "green") {
_root.colour = "yellow";
} else if (_root.colour == "yellow") {
_root.colour = "pink";
} else if ((_root.colour == "pink") and (_root.storylevel > 1)) {
_root.colour = "black";
} else if ((_root.colour == "black") and (_root.storylevel > 2)) {
_root.colour = "police";
} else if ((_root.colour == "police") and (_root.storylevel > 6)) {
_root.colour = "orange";
}
}
onClipEvent (enterFrame) {
if (_root.colour == "orange") {
_visible = false;
} else {
_visible = true;
}
}
Frame 78
Mouse.hide();
var color = 52224;
var alpha = 0.8;
var blurX = 10;
var blurY = 10;
var strength = 2;
var quality = 3;
var inner = false;
var knockout = false;
var my_glow_filter = (new flash.filters.GlowFilter(color, alpha, blurX, blurY, strength, quality, inner, knockout));
barrier.lineStyle(10, 0, 100);
imdrawing = false;
onMouseDown = function () {
if (imdrawing == false) {
barrier.moveTo(_xmouse, _ymouse);
imdrawing = true;
}
if (imdrawing == true) {
onEnterFrame = function () {
barrier.lineTo(_xmouse, _ymouse);
};
}
};
onMouseUp = function () {
onEnterFrame = function () {
imdrawing = false;
};
};
Instance of Symbol 176 MovieClip in Frame 78
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.car)) {
if (_root.check == "1") {
_root.timershow.lastlap = "Last lap: " + _root.timershow.laptime;
_root.timershow.lap = Number(_root.timershow.lap) + 1;
if (_root.timershow.laptime < _root.besttime) {
game = SharedObject.getLocal("mydata");
game.data.besttimes = _root.timershow.laptime;
game.flush();
}
if (_root.timershow.laptime < _root.timershow.bestlap) {
_root.timershow.bestlap = _root.timershow.laptime;
}
_root.check = "0";
_root.timershow.laptime = "0";
}
}
}
Instance of Symbol 233 MovieClip "chechpoint" in Frame 78
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.car)) {
_root.check = "1";
}
if (this.hitTest(this._parent.carg)) {
_root.check2 = "1";
}
}
Instance of Symbol 134 MovieClip "two" in Frame 78
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
_width = 10;
_height = 10;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Frame 79
Mouse.show();
Instance of Symbol 167 MovieClip "cam" in Frame 79
onClipEvent (enterFrame) {
_x = this._parent.carn._x;
_y = this._parent.carn._y;
}
Instance of Symbol 171 MovieClip "chechpoint" in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
_root.check = "1";
}
}
Instance of Symbol 176 MovieClip in Frame 79
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
if (_root.check == "1") {
_root.timershow.lastlap = "Last lap: " + _root.timershow.laptime;
_root.timershow.lap = Number(_root.timershow.lap) + 1;
if (_root.timershow.laptime < _root.besttime3) {
game = SharedObject.getLocal("mydata");
game.data.besttimes3 = _root.timershow.laptime;
game.flush();
}
if (_root.timershow.laptime < _root.timershow.bestlap) {
_root.timershow.bestlap = _root.timershow.laptime;
}
_root.check = "0";
_root.timershow.laptime = "0";
}
}
}
Instance of Symbol 178 MovieClip in Frame 79
onClipEvent (enterFrame) {
_root.timershow.laptime = Number(Math.round(_root.timershow.laptime * 100) / 100);
}
Instance of Symbol 240 MovieClip "carn" in Frame 79
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
acceleration = Number(_root.saccel);
turnfriction = Number(10 - _root.shand);
maxspeed = 0;
topspeed = Number(_root.sspeed / 4);
rotate = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
topspeed = Number(topspeed) * 2;
}
if (Key.isDown(65)) {
acceleration = Number(acceleration) * 2;
}
if (Key.isDown(72)) {
turnfriction = Number(turnfriction) * 2;
}
_rotation = rotate;
_root.timershow.speedtime = Math.round(speed * 4) + "mph";
if (this._parent.timershow.line._rotation < (speed * 8)) {
this._parent.timershow.line._rotation = this._parent.timershow.line._rotation + 4;
}
if (this._parent.timershow.line._rotation > (speed * 8)) {
this._parent.timershow.line._rotation = this._parent.timershow.line._rotation - 4;
}
if (!_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
maxspeed = topspeed;
}
if (_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
maxspeed = topspeed;
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(38)) {
speed = speed + acceleration;
}
if (Key.isDown(40)) {
speed = speed - acceleration;
}
if (speed > 0) {
speed = speed - (acceleration / 2);
}
if (speed < 0) {
speed = speed + (acceleration / 2);
}
if (Key.isDown(37)) {
rotate = rotate - (speed / turnfriction);
}
if (Key.isDown(39)) {
rotate = rotate + (speed / turnfriction);
}
if (speed > maxspeed) {
speed = maxspeed;
}
if (speed < (-maxspeed)) {
speed = -maxspeed;
}
xspeed = speed * Math.cos((rotate * Math.PI) / 180);
yspeed = speed * Math.sin((rotate * Math.PI) / 180);
}
Instance of Symbol 273 MovieClip "tl" in Frame 79
onClipEvent (enterFrame) {
_x = (this._parent.carn._x + this._parent.carn.xspeed);
_y = (this._parent.carn._y + this._parent.carn.yspeed);
_rotation = this._parent.carn._rotation;
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
if (_root.carn.speed < 0) {
_root.carn.rotate = _root.carn.rotate + 315;
} else {
_root.carn.rotate = _root.carn.rotate + 45;
}
}
}
Instance of Symbol 226 MovieClip "timershow" in Frame 79
onClipEvent (enterFrame) {
this._x = (this._parent.carn._x - 265) + this._parent.carn.xspeed;
this._y = (this._parent.carn._y - 190) + this._parent.carn.yspeed;
}
Frame 80
Mouse.hide();
Instance of Symbol 134 MovieClip "two" in Frame 80
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 80
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 300
Mouse.hide();
stop();
Frame 301
Mouse.show();
Instance of Symbol 273 MovieClip "tl" in Frame 301
onClipEvent (enterFrame) {
_x = (this._parent.carn._x + this._parent.carn.xspeed);
_y = (this._parent.carn._y + this._parent.carn.yspeed);
_rotation = this._parent.carn._rotation;
}
Instance of Symbol 167 MovieClip "cam" in Frame 301
onClipEvent (enterFrame) {
_x = this._parent.carn._x;
_y = this._parent.carn._y;
}
Instance of Symbol 474 MovieClip "timershow2" in Frame 301
onClipEvent (enterFrame) {
_x = ((this._parent.carn._x - 275) - this._parent.carn.xspeed);
_y = ((this._parent.carn._y - 216) - this._parent.carn.yspeed);
}
Instance of Symbol 488 MovieClip "carn" in Frame 301
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
acceleration = 0.5;
turnfriction = 5;
maxspeed = 0;
topspeed = 10;
rotate = 270;
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
topspeed = Number(topspeed) * 2;
}
if (Key.isDown(65)) {
acceleration = Number(acceleration) * 2;
}
if (Key.isDown(72)) {
turnfriction = Number(turnfriction) * 2;
}
rotate = rotate - ((speed / turnfriction) / 2);
_rotation = rotate;
_root.timershow2.speedtime = Math.round(speed * 4) + "mph";
_root.timershow2.distance = (-(Math.round(((this._parent.garage._y - _y) + (this._parent.garage._x - _x)) / 10) + 50)) + "m";
if (this._parent.timershow2.line._rotation < (speed * 8)) {
this._parent.timershow2.line._rotation = this._parent.timershow2.line._rotation + 4;
}
if (this._parent.timershow2.line._rotation > (speed * 8)) {
this._parent.timershow2.line._rotation = this._parent.timershow2.line._rotation - 4;
}
if (!_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
acceleration = 0;
this.play();
}
if (_root.terrain.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
maxspeed = topspeed;
}
if (this.hitTest(this._parent.garage)) {
_root.nextFrame();
}
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
rotate = 230;
_root.timershow2.health = Number(_root.timershow2.health) - 10;
}
if (_root.timershow2.health < 0) {
acceleration = 0;
this.gotoAndPlay(41);
_root.timershow2.health = "0";
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(38)) {
speed = speed + acceleration;
}
if (Key.isDown(40)) {
speed = speed - acceleration;
}
if (speed > 0) {
speed = speed - (acceleration / 2);
}
if (speed < 0) {
speed = speed + (acceleration / 2);
}
if (Key.isDown(37)) {
rotate = rotate - (speed / turnfriction);
}
if (Key.isDown(39)) {
rotate = rotate + (speed / turnfriction);
}
if (speed > maxspeed) {
speed = maxspeed;
}
if (speed < (-maxspeed)) {
speed = -maxspeed;
}
xspeed = speed * Math.cos((rotate * Math.PI) / 180);
yspeed = speed * Math.sin((rotate * Math.PI) / 180);
}
Frame 302
Mouse.hide();
if (_root.storylevel < 1) {
game = SharedObject.getLocal("mydata");
game.data.storylevel = 1;
game.flush();
}
Instance of Symbol 134 MovieClip "two" in Frame 302
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 302
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 304
Mouse.show();
Instance of Symbol 384 MovieClip "carn" in Frame 304
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
good = 0;
}
onClipEvent (enterFrame) {
_y = (_y + yspeed);
_x = (_x + xspeed);
if (xspeed == 0) {
xspeed = xspeed + 1;
}
if (Key.isDown(37)) {
xspeed = xspeed - 0.7;
}
if (Key.isDown(39)) {
xspeed = xspeed + 0.7;
}
_rotation = (xspeed * 2);
if (this.hitTest(this._parent.car1)) {
yspeed = 15;
}
if (this.hitTest(this._parent.car2)) {
yspeed = 15;
}
if (this.hitTest(this._parent.car3)) {
yspeed = 15;
}
if (_y > 550) {
if (good == 0) {
_root.gotoAndStop(305);
} else {
_root.gotoAndStop(306);
}
}
_root.timershow3.distance = Number(_root.timershow3.distance) - 6;
if (_root.timershow3.distance < 80) {
this._parent.spikes.play();
}
if (this.hitTest(this._parent.spikes)) {
good = 1;
yspeed = 15;
}
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
xspeed = -xspeed;
_root.timershow3.health = Number(_root.timershow3.health) - 10;
}
if (_root.timershow3.health < 1) {
_root.gotoAndStop(305);
}
}
Instance of Symbol 385 MovieClip "followerMC" in Frame 304
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("follower" + i, i + 10);
_root["follower" + i]._x = _root.carn._x + _root.carn.xspeed;
_root["follower" + i]._y = _root.carn._y + _root.carn.yspeed;
_root["follower" + i]._rotation = _root.carn._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 25;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 305
Mouse.hide();
Instance of Symbol 134 MovieClip "two" in Frame 305
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 305
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 306
Mouse.hide();
if (_root.storylevel < 2) {
game = SharedObject.getLocal("mydata");
game.data.storylevel = 2;
game.flush();
}
Frame 307
Mouse.hide();
Frame 308
Mouse.hide();
Frame 309
Mouse.hide();
Frame 310
Mouse.show();
Instance of Symbol 576 MovieClip "carn" in Frame 310
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
acceleration = 0.5;
turnfriction = 5;
maxspeed = 0;
topspeed = 15;
rotate = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
topspeed = Number(topspeed) * 2;
}
if (Key.isDown(65)) {
acceleration = Number(acceleration) * 2;
}
if (Key.isDown(72)) {
turnfriction = Number(turnfriction) * 2;
}
_rotation = rotate;
_root.timershow4.speedtime = Math.round(speed * 4) + "mph";
if (this._parent.timershow4.line._rotation < (speed * 8)) {
this._parent.timershow4.line._rotation = this._parent.timershow4.line._rotation + 4;
}
if (this._parent.timershow4.line._rotation > (speed * 8)) {
this._parent.timershow4.line._rotation = this._parent.timershow4.line._rotation - 4;
}
maxspeed = topspeed;
if (this.hitTest(this._parent.crim1)) {
this._parent.timershow4.criminal = Number(this._parent.timershow4.criminal) - 1;
this._parent.crim1._x = 50000;
this._parent.arr._visible = false;
}
if (this.hitTest(this._parent.crim2)) {
this._parent.timershow4.criminal = Number(this._parent.timershow4.criminal) - 1;
this._parent.crim2._x = 50000;
this._parent.arg._visible = false;
}
if (this.hitTest(this._parent.crim3)) {
this._parent.timershow4.criminal = Number(this._parent.timershow4.criminal) - 1;
this._parent.crim3._x = 50000;
this._parent.arp._visible = false;
}
if (this._parent.timershow4.criminal == "0") {
_root.gotoAndStop(312);
}
if (_root.barriert.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
if (speed > 0) {
rotate = 90;
} else {
rotate = 270;
}
}
if (_root.barrierl.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
if (speed > 0) {
rotate = 0;
} else {
rotate = 180;
}
}
if (_root.barrierr.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
if (speed > 0) {
rotate = 180;
} else {
rotate = 0;
}
}
if (_root.barrierb.hitTest(_x - (_width / 2), _y + (_height / 4), true)) {
if (speed > 0) {
rotate = 270;
} else {
rotate = 90;
}
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(38)) {
speed = speed + acceleration;
}
if (Key.isDown(40)) {
speed = speed - acceleration;
}
if (speed > 0) {
speed = speed - (acceleration / 2);
}
if (speed < 0) {
speed = speed + (acceleration / 2);
}
if (Key.isDown(37)) {
rotate = rotate - (speed / turnfriction);
}
if (Key.isDown(39)) {
rotate = rotate + (speed / turnfriction);
}
if (speed > maxspeed) {
speed = maxspeed;
}
if (speed < (-maxspeed)) {
speed = -maxspeed;
}
xspeed = speed * Math.cos((rotate * Math.PI) / 180);
yspeed = speed * Math.sin((rotate * Math.PI) / 180);
}
Instance of Symbol 167 MovieClip "cam" in Frame 310
onClipEvent (enterFrame) {
_x = (this._parent.carn._x + this._parent.carn.xspeed);
_y = (this._parent.carn._y + this._parent.carn.yspeed);
}
Instance of Symbol 585 MovieClip "timershow4" in Frame 310
onClipEvent (enterFrame) {
this._x = (this._parent.carn._x - 265) + this._parent.carn.xspeed;
this._y = (this._parent.carn._y - 190) + this._parent.carn.yspeed;
}
Instance of Symbol 588 MovieClip in Frame 310
onClipEvent (enterFrame) {
if (_root.timershow4.time == "0") {
_root.gotoAndStop(311);
}
}
Instance of Symbol 593 MovieClip "arr" in Frame 310
onClipEvent (enterFrame) {
_x = (this._parent.carn._x + this._parent.carn.xspeed);
_y = (this._parent.carn._y + this._parent.carn.yspeed);
rx = this._parent.crim1._x + this._parent.crim1.crimcar1._x;
ry = this._parent.crim1._y + this._parent.crim1.crimcar1._y;
cx = _x;
cy = _y;
angle = Math.atan2(ry - cy, rx - cx) / (Math.PI/180);
_rotation = angle;
}
Instance of Symbol 593 MovieClip "arg" in Frame 310
onClipEvent (enterFrame) {
_x = (this._parent.carn._x + this._parent.carn.xspeed);
_y = (this._parent.carn._y + this._parent.carn.yspeed);
rx = this._parent.crim2._x + this._parent.crim2.crimcar1._x;
ry = this._parent.crim2._y - this._parent.crim2.crimcar1._y;
cx = _x;
cy = _y;
angle = Math.atan2(ry - cy, rx - cx) / (Math.PI/180);
_rotation = angle;
}
Instance of Symbol 593 MovieClip "arp" in Frame 310
onClipEvent (enterFrame) {
_x = (this._parent.carn._x + this._parent.carn.xspeed);
_y = (this._parent.carn._y + this._parent.carn.yspeed);
rx = this._parent.crim3._x - this._parent.crim3.crimcar1._x;
ry = this._parent.crim3._y - this._parent.crim3.crimcar1._y;
cx = _x;
cy = _y;
angle = Math.atan2(ry - cy, rx - cx) / (Math.PI/180);
_rotation = angle;
}
Frame 311
Mouse.hide();
Instance of Symbol 134 MovieClip "two" in Frame 311
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 311
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 312
Mouse.hide();
if (_root.storylevel < 3) {
game = SharedObject.getLocal("mydata");
game.data.storylevel = 3;
game.flush();
}
Frame 313
Mouse.hide();
Frame 314
Mouse.hide();
Frame 315
Mouse.hide();
Frame 316
Mouse.show();
Instance of Symbol 171 MovieClip "chechpoint" in Frame 316
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
_root.check = "1";
}
}
Instance of Symbol 176 MovieClip in Frame 316
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
if (_root.checkr == "1") {
_root.timershow5.lap = Number(_root.timershow5.lap) + 1;
_root.timershow5.lapsleft = Number(_root.timershow5.lapsleft) - 1;
if (_root.timershow5.lapsleft == "0") {
_root.finishtime = _root.timershow5.totaltime;
_root.nextFrame();
}
_root.checkr = "0";
_root.timershow5.laptime = "0";
}
}
}
Instance of Symbol 167 MovieClip "cam" in Frame 316
onClipEvent (enterFrame) {
_x = this._parent.carn._x;
_y = this._parent.carn._y;
}
Instance of Symbol 273 MovieClip "tl" in Frame 316
onClipEvent (enterFrame) {
_x = (this._parent.carn._x + this._parent.carn.xspeed);
_y = (this._parent.carn._y + this._parent.carn.yspeed);
_rotation = this._parent.carn._rotation;
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 2), true)) {
if (_root.carn.speed < 0) {
_root.carn.rotate = _root.carn.rotate + 315;
} else {
_root.carn.rotate = _root.carn.rotate + 45;
}
}
}
Instance of Symbol 171 MovieClip in Frame 316
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
_root.checkr = "1";
}
}
Instance of Symbol 633 MovieClip "carn" in Frame 316
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
acceleration = Number(_root.ace);
turnfriction = Number(10 - _root.han);
maxspeed = 0;
topspeed = Number(_root.spe / 4);
rotate = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
topspeed = Number(topspeed) * 2;
}
if (Key.isDown(65)) {
acceleration = Number(acceleration) * 2;
}
if (Key.isDown(72)) {
turnfriction = Number(turnfriction) * 2;
}
acceleration = Number(_root.ace) - ((speed * 2) / 100);
_rotation = rotate;
_root.timershow5.speedtime = Math.round(speed * 4) + "mph";
if (this._parent.timershow5.line._rotation < (speed * 8)) {
if ((speed * 4) < 30) {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation + 4;
} else {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation + 2;
}
}
if (this._parent.timershow5.line._rotation > (speed * 8)) {
if (this._parent.timershow5.line._rotation > -20) {
if ((speed * 4) < 30) {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation - 4;
} else {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation - 2;
}
}
}
maxspeed = topspeed;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(38)) {
speed = speed + acceleration;
}
if (Key.isDown(40)) {
speed = speed - acceleration;
}
if (speed > 0) {
speed = speed - (acceleration / 2);
}
if (speed < 0) {
speed = speed + (acceleration / 2);
}
if (Key.isDown(37)) {
rotate = rotate - (speed / turnfriction);
}
if (Key.isDown(39)) {
rotate = rotate + (speed / turnfriction);
}
if (speed > maxspeed) {
speed = maxspeed;
}
if (speed < (-maxspeed)) {
speed = -maxspeed;
}
xspeed = speed * Math.cos((rotate * Math.PI) / 180);
yspeed = speed * Math.sin((rotate * Math.PI) / 180);
}
Instance of Symbol 655 MovieClip "timershow5" in Frame 316
onClipEvent (enterFrame) {
this._x = (this._parent.carn._x - 265) + this._parent.carn.xspeed;
this._y = (this._parent.carn._y - 190) + this._parent.carn.yspeed;
}
Instance of Symbol 656 MovieClip in Frame 316
onClipEvent (enterFrame) {
_root.timershow5.laptime = Number(Math.round(_root.timershow5.laptime * 100) / 100);
_root.timershow5.totaltime = Number(Math.round(_root.timershow5.totaltime * 100) / 100);
}
Frame 317
Mouse.hide();
if (_root.finishtime < 100) {
if (_root.storylevel < 4) {
game = SharedObject.getLocal("mydata");
game.data.storylevel = 4;
game.flush();
}
this.nextretry.gotoAndStop(1);
_root.result = "pass";
_root.verdict = "Congratulations, you passed the qualifiers, now you move on to the real races!";
}
if (_root.finishtime > 100) {
this.nextretry.gotoAndStop(2);
_root.result = "fail";
_root.verdict = "You failed this time, but try again!";
}
Instance of Symbol 134 MovieClip "two" in Frame 317
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 317
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 318
Mouse.hide();
Frame 319
Mouse.hide();
Frame 320
Mouse.show();
Instance of Symbol 171 MovieClip "chechpoint" in Frame 320
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
_root.check = "1";
}
}
Instance of Symbol 176 MovieClip in Frame 320
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
if (_root.checkr == "1") {
_root.timershow5.lap = Number(_root.timershow5.lap) + 1;
_root.timershow5.lapsleft = Number(_root.timershow5.lapsleft) - 1;
if (_root.timershow5.lapsleft == "0") {
_root.finishtime = _root.timershow5.totaltime;
_root.nextFrame();
}
_root.checkr = "0";
_root.timershow5.laptime = "0";
}
}
}
Instance of Symbol 167 MovieClip "cam" in Frame 320
onClipEvent (enterFrame) {
_x = this._parent.carn._x;
_y = this._parent.carn._y;
}
Instance of Symbol 273 MovieClip "tl" in Frame 320
onClipEvent (enterFrame) {
_x = (this._parent.carn._x + this._parent.carn.xspeed);
_y = (this._parent.carn._y + this._parent.carn.yspeed);
_rotation = this._parent.carn._rotation;
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 2), true)) {
if (_root.carn.speed < 0) {
_root.carn.rotate = _root.carn.rotate + 315;
} else {
_root.carn.rotate = _root.carn.rotate + 45;
}
}
}
Instance of Symbol 171 MovieClip in Frame 320
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
_root.checkr = "1";
}
}
Instance of Symbol 656 MovieClip in Frame 320
onClipEvent (enterFrame) {
_root.timershow5.laptime = Number(Math.round(_root.timershow5.laptime * 100) / 100);
_root.timershow5.totaltime = Number(Math.round(_root.timershow5.totaltime * 100) / 100);
}
Instance of Symbol 633 MovieClip "carn" in Frame 320
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
acceleration = Number(_root.ace);
turnfriction = Number(10 - _root.han);
maxspeed = 0;
topspeed = Number(_root.spe / 4);
rotate = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
topspeed = Number(topspeed) * 2;
}
if (Key.isDown(65)) {
acceleration = Number(acceleration) * 2;
}
if (Key.isDown(72)) {
turnfriction = Number(turnfriction) * 2;
}
acceleration = Number(_root.ace) - ((speed * 2) / 100);
_rotation = rotate;
_root.timershow5.speedtime = Math.round(speed * 4) + "mph";
if (this._parent.timershow5.line._rotation < (speed * 8)) {
if ((speed * 4) < 30) {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation + 4;
} else {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation + 2;
}
}
if (this._parent.timershow5.line._rotation > (speed * 8)) {
if (this._parent.timershow5.line._rotation > -20) {
if ((speed * 4) < 30) {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation - 4;
} else {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation - 2;
}
}
}
maxspeed = topspeed;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(38)) {
speed = speed + acceleration;
}
if (Key.isDown(40)) {
speed = speed - acceleration;
}
if (speed > 0) {
speed = speed - (acceleration / 2);
}
if (speed < 0) {
speed = speed + (acceleration / 2);
}
if (Key.isDown(37)) {
rotate = rotate - (speed / turnfriction);
}
if (Key.isDown(39)) {
rotate = rotate + (speed / turnfriction);
}
if (speed > maxspeed) {
speed = maxspeed;
}
if (speed < (-maxspeed)) {
speed = -maxspeed;
}
xspeed = speed * Math.cos((rotate * Math.PI) / 180);
yspeed = speed * Math.sin((rotate * Math.PI) / 180);
}
Instance of Symbol 655 MovieClip "timershow5" in Frame 320
onClipEvent (enterFrame) {
this._x = (this._parent.carn._x - 265) + this._parent.carn.xspeed;
this._y = (this._parent.carn._y - 190) + this._parent.carn.yspeed;
}
Frame 321
Mouse.hide();
if (_root.finishtime < 69.5) {
_root.result = "You came 1st, so you move on to the next round";
_root.nextretry2.gotoAndStop(1);
} else if ((_root.finishtime >= 69.5) and (_root.finishtime < 72)) {
_root.result = "You came 2nd, so you move on to the next round";
_root.nextretry2.gotoAndStop(1);
} else if ((_root.finishtime >= 72) and (_root.finishtime < 73.5)) {
_root.result = "You came 3rd, so you move on to the next round";
_root.nextretry2.gotoAndStop(1);
} else if ((_root.finishtime >= 73.5) and (_root.finishtime < 80)) {
_root.result = "You came 4th, so you move on to the next round";
_root.nextretry2.gotoAndStop(1);
} else if ((_root.finishtime >= 80) and (_root.finishtime < 87.5)) {
_root.result = "You came 5th, so you have been knocked out";
_root.nextretry2.gotoAndStop(2);
} else if (_root.finishtime >= 87.5) {
_root.result = "You came last, so you have been knocked out";
_root.nextretry2.gotoAndStop(2);
}
Instance of Symbol 134 MovieClip "two" in Frame 321
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 321
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 322
Mouse.hide();
if (_root.storylevel < 5) {
game = SharedObject.getLocal("mydata");
game.data.storylevel = 5;
game.flush();
}
Frame 323
Mouse.show();
Instance of Symbol 171 MovieClip "chechpoint" in Frame 323
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
_root.check = "1";
}
}
Instance of Symbol 176 MovieClip in Frame 323
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
if (_root.checkr == "1") {
_root.timershow5.lap = Number(_root.timershow5.lap) + 1;
_root.timershow5.lapsleft = Number(_root.timershow5.lapsleft) - 1;
if (_root.timershow5.lapsleft == "0") {
_root.finishtime = _root.timershow5.totaltime;
_root.nextFrame();
}
_root.checkr = "0";
_root.timershow5.laptime = "0";
}
}
}
Instance of Symbol 167 MovieClip "cam" in Frame 323
onClipEvent (enterFrame) {
_x = this._parent.carn._x;
_y = this._parent.carn._y;
}
Instance of Symbol 273 MovieClip "tl" in Frame 323
onClipEvent (enterFrame) {
_x = (this._parent.carn._x + this._parent.carn.xspeed);
_y = (this._parent.carn._y + this._parent.carn.yspeed);
_rotation = this._parent.carn._rotation;
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 2), true)) {
if (_root.carn.speed < 0) {
_root.carn.rotate = _root.carn.rotate + 315;
} else {
_root.carn.rotate = _root.carn.rotate + 45;
}
}
}
Instance of Symbol 171 MovieClip in Frame 323
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
_root.checkr = "1";
}
}
Instance of Symbol 633 MovieClip "carn" in Frame 323
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
acceleration = Number(_root.ace);
turnfriction = Number(10 - _root.han);
maxspeed = 0;
topspeed = Number(_root.spe / 4);
rotate = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
topspeed = Number(topspeed) * 2;
}
if (Key.isDown(65)) {
acceleration = Number(acceleration) * 2;
}
if (Key.isDown(72)) {
turnfriction = Number(turnfriction) * 2;
}
acceleration = Number(_root.ace) - ((speed * 2) / 100);
_rotation = rotate;
_root.timershow5.speedtime = Math.round(speed * 4) + "mph";
if (this._parent.timershow5.line._rotation < (speed * 8)) {
if ((speed * 4) < 30) {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation + 4;
} else {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation + 2;
}
}
if (this._parent.timershow5.line._rotation > (speed * 8)) {
if (this._parent.timershow5.line._rotation > -20) {
if ((speed * 4) < 30) {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation - 4;
} else {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation - 2;
}
}
}
maxspeed = topspeed;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(38)) {
speed = speed + acceleration;
}
if (Key.isDown(40)) {
speed = speed - acceleration;
}
if (speed > 0) {
speed = speed - (acceleration / 2);
}
if (speed < 0) {
speed = speed + (acceleration / 2);
}
if (Key.isDown(37)) {
rotate = rotate - (speed / turnfriction);
}
if (Key.isDown(39)) {
rotate = rotate + (speed / turnfriction);
}
if (speed > maxspeed) {
speed = maxspeed;
}
if (speed < (-maxspeed)) {
speed = -maxspeed;
}
xspeed = speed * Math.cos((rotate * Math.PI) / 180);
yspeed = speed * Math.sin((rotate * Math.PI) / 180);
}
Instance of Symbol 655 MovieClip "timershow5" in Frame 323
onClipEvent (enterFrame) {
this._x = (this._parent.carn._x - 265) + this._parent.carn.xspeed;
this._y = (this._parent.carn._y - 190) + this._parent.carn.yspeed;
}
Instance of Symbol 656 MovieClip in Frame 323
onClipEvent (enterFrame) {
_root.timershow5.laptime = Number(Math.round(_root.timershow5.laptime * 100) / 100);
_root.timershow5.totaltime = Number(Math.round(_root.timershow5.totaltime * 100) / 100);
}
Frame 324
Mouse.hide();
if (_root.finishtime < 92.5) {
_root.result = "You came 1st, so you move on to the next round";
_root.nextretry3.gotoAndStop(1);
} else if ((_root.finishtime >= 92.5) and (_root.finishtime < 98)) {
_root.result = "You came 2nd, so you move on to the next round";
_root.nextretry3.gotoAndStop(1);
} else if ((_root.finishtime >= 98) and (_root.finishtime < 109.5)) {
_root.result = "You came 3rd, so you have been knocked out";
_root.nextretry3.gotoAndStop(2);
} else if (_root.finishtime >= 109.5) {
_root.result = "You came last, so you have been knocked out";
_root.nextretry3.gotoAndStop(2);
}
Instance of Symbol 134 MovieClip "two" in Frame 324
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 324
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 325
Mouse.hide();
if (_root.storylevel < 6) {
game = SharedObject.getLocal("mydata");
game.data.storylevel = 6;
game.flush();
}
Frame 326
Mouse.show();
Instance of Symbol 171 MovieClip "chechpoint" in Frame 326
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
_root.checkr = "1";
}
}
Instance of Symbol 656 MovieClip in Frame 326
onClipEvent (enterFrame) {
_root.timershow5.laptime = Number(Math.round(_root.timershow5.laptime * 100) / 100);
_root.timershow5.totaltime = Number(Math.round(_root.timershow5.totaltime * 100) / 100);
}
Instance of Symbol 167 MovieClip "cam" in Frame 326
onClipEvent (enterFrame) {
_x = this._parent.carn._x;
_y = this._parent.carn._y;
}
Instance of Symbol 176 MovieClip in Frame 326
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.carn)) {
if (_root.checkr == "1") {
_root.timershow5.lap = Number(_root.timershow5.lap) + 1;
_root.timershow5.lapsleft = Number(_root.timershow5.lapsleft) - 1;
if (_root.timershow5.lapsleft == "0") {
_root.finishtime = _root.timershow5.totaltime;
_root.nextFrame();
}
_root.checkr = "0";
_root.timershow5.laptime = "0";
}
}
}
Instance of Symbol 633 MovieClip "carn" in Frame 326
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
acceleration = Number(_root.ace);
turnfriction = Number(10 - _root.han);
maxspeed = 0;
topspeed = Number(_root.spe / 4);
rotate = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
topspeed = Number(topspeed) * 2;
}
if (Key.isDown(65)) {
acceleration = Number(acceleration) * 2;
}
if (Key.isDown(72)) {
turnfriction = Number(turnfriction) * 2;
}
acceleration = Number(_root.ace) - ((speed * 2) / 100);
_rotation = rotate;
_root.timershow5.speedtime = Math.round(speed * 4) + "mph";
if (this._parent.timershow5.line._rotation < (speed * 8)) {
if ((speed * 4) < 30) {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation + 4;
} else {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation + 2;
}
}
if (this._parent.timershow5.line._rotation > (speed * 8)) {
if (this._parent.timershow5.line._rotation > -20) {
if ((speed * 4) < 30) {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation - 4;
} else {
this._parent.timershow5.line._rotation = this._parent.timershow5.line._rotation - 2;
}
}
}
maxspeed = topspeed;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(38)) {
speed = speed + acceleration;
}
if (Key.isDown(40)) {
speed = speed - acceleration;
}
if (speed > 0) {
speed = speed - (acceleration / 2);
}
if (speed < 0) {
speed = speed + (acceleration / 2);
}
if (Key.isDown(37)) {
rotate = rotate - (speed / turnfriction);
}
if (Key.isDown(39)) {
rotate = rotate + (speed / turnfriction);
}
if (speed > maxspeed) {
speed = maxspeed;
}
if (speed < (-maxspeed)) {
speed = -maxspeed;
}
xspeed = speed * Math.cos((rotate * Math.PI) / 180);
yspeed = speed * Math.sin((rotate * Math.PI) / 180);
}
Instance of Symbol 655 MovieClip "timershow5" in Frame 326
onClipEvent (enterFrame) {
this._x = (this._parent.carn._x - 265) + this._parent.carn.xspeed;
this._y = (this._parent.carn._y - 190) + this._parent.carn.yspeed;
}
Instance of Symbol 273 MovieClip "tl" in Frame 326
onClipEvent (enterFrame) {
_x = (this._parent.carn._x + this._parent.carn.xspeed);
_y = (this._parent.carn._y + this._parent.carn.yspeed);
_rotation = this._parent.carn._rotation;
if (_root.barrier.hitTest(_x - (_width / 2), _y + (_height / 2), true)) {
if (_root.carn.speed < 0) {
_root.carn.rotate = _root.carn.rotate + 315;
} else {
_root.carn.rotate = _root.carn.rotate + 45;
}
}
}
Frame 327
Mouse.hide();
if (_root.finishtime < 59) {
this.trophey._visible = true;
_root.result = "You've won the cup";
_root.nextretry4.gotoAndStop(1);
} else if (_root.finishtime >= 59) {
this.trophey._visible = false;
_root.result = "You came 2nd and lost";
_root.nextretry4.gotoAndStop(2);
}
Instance of Symbol 134 MovieClip "two" in Frame 327
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 327
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 328
Mouse.hide();
if (_root.storylevel < 7) {
game = SharedObject.getLocal("mydata");
game.data.storylevel = 7;
game.flush();
}
Frame 329
Mouse.hide();
Frame 330
Mouse.show();
Instance of Symbol 167 MovieClip "cam" in Frame 330
onClipEvent (enterFrame) {
if ((this._parent.tank._x > 275) and (this._parent.tank._x < 1725)) {
_x = this._parent.tank._x;
}
if ((this._parent.tank._y > -250) and (this._parent.tank._y < 250)) {
_y = this._parent.tank._y;
}
}
Instance of Symbol 842 MovieClip "tank" in Frame 330
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.dot)) {
speed = 0;
}
if (!_root.path.hitTest(_x - (_width / 2), _y + (_height / 2), true)) {
speed = 0;
this.play();
}
onMouseDown = function () {
speed = 5;
};
onMouseUp = function () {
speed = 0;
};
xspeed = speed * Math.cos((angle * Math.PI) / 180);
yspeed = speed * Math.sin((angle * Math.PI) / 180);
_x = (_x + xspeed);
_y = (_y + yspeed);
rx = _root._xmouse;
ry = _root._ymouse;
cx = _x;
cy = _y;
angle = Math.atan2(ry - cy, rx - cx) / (Math.PI/180);
if (speed > 4) {
_rotation = angle;
}
}
Instance of Symbol 844 MovieClip "dot" in Frame 330
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 846 MovieClip "tunnel" in Frame 330
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank)) {
_root.gotoAndStop(332);
}
}
Instance of Symbol 849 MovieClip in Frame 330
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.tank)) {
_root.gotoAndStop(336);
}
}
Frame 331
Mouse.hide();
Instance of Symbol 134 MovieClip "two" in Frame 331
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x != _root._xmouse) {
xspeed = (_root._xmouse - _x) / 2;
}
if (_y != _root._ymouse) {
yspeed = (_root._ymouse - _y) / 2;
}
_rotation = _x;
}
Instance of Symbol 135 MovieClip "followerMC" in Frame 331
onClipEvent (enterFrame) {
if (i >= 5000) {
i = 0;
}
i++;
this.duplicateMovieClip("followerm" + i, i + 10);
_root["followerm" + i]._x = _root.two._x + _root.two.xspeed;
_root["followerm" + i]._y = _root.two._y + _root.two.yspeed;
_root["followerm" + i]._rotation = _root.two._rotation;
}
onClipEvent (enterFrame) {
if (this._name == "followerMC") {
_visible = false;
} else {
this._alpha = this._alpha - 10;
if (this._alpha <= 5) {
removeMovieClip(this);
}
}
}
Frame 332
Mouse.show();
Instance of Symbol 167 MovieClip "cam" in Frame 332
onClipEvent (enterFrame) {
_x = (this._parent.tank._x + 300);
}
Instance of Symbol 863 MovieClip "tank" in Frame 332
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
if (_x > 1950) {
_root.gotoAndStop(334);
}
_x = (_x + speed);
onMouseDown = function () {
speed = 10;
};
onMouseUp = function () {
speed = 0;
};
}
Instance of Symbol 871 MovieClip in Frame 332
onClipEvent (enterFrame) {
if (_root.tank.hitTest(this)) {
if (this._currentframe > 60) {
_root.nextFrame();
} else {
_root.tank._x = _root.tank._x - 10;
}
}
}
Instance of Symbol 871 MovieClip in Frame 332
onClipEvent (enterFrame) {
if (_root.tank.hitTest(this)) {
if (this._currentframe > 60) {
_root.nextFrame();
} else {
_root.tank._x = _root.tank._x - 10;
}
}
}
Instance of Symbol 871 MovieClip in Frame 332
onClipEvent (enterFrame) {
if (_root.tank.hitTest(this)) {
if (this._currentframe > 60) {
_root.nextFrame();
} else {
_root.tank._x = _root.tank._x - 10;
}
}
}
Instance of Symbol 871 MovieClip in Frame 332
onClipEvent (enterFrame) {
if (_root.tank.hitTest(this)) {
if (this._currentframe > 60) {
_root.nextFrame();
} else {
_root.tank._x = _root.tank._x - 10;
}
}
}
Instance of Symbol 871 MovieClip in Frame 332
onClipEvent (enterFrame) {
if (_root.tank.hitTest(this)) {
if (this._currentframe > 60) {
_root.nextFrame();
} else {
_root.tank._x = _root.tank._x - 10;
}
}
}
Frame 333
Mouse.show();
Frame 334
Mouse.show();
Instance of Symbol 842 MovieClip "tank" in Frame 334
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.dot)) {
speed = 0;
}
if (!_root.path.hitTest(_x - (_width / 2), _y + (_height / 2), true)) {
speed = 0;
this.play();
}
onMouseDown = function () {
speed = 5;
};
onMouseUp = function () {
speed = 0;
};
xspeed = speed * Math.cos((angle * Math.PI) / 180);
yspeed = speed * Math.sin((angle * Math.PI) / 180);
_x = (_x + xspeed);
_y = (_y + yspeed);
rx = _root._xmouse;
ry = _root._ymouse;
cx = _x;
cy = _y;
angle = Math.atan2(ry - cy, rx - cx) / (Math.PI/180);
if (speed > 4) {
_rotation = angle;
}
}
Instance of Symbol 844 MovieClip "dot" in Frame 334
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 846 MovieClip "tunnel" in Frame 334
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank)) {
_root.gotoAndStop(332);
}
}
Instance of Symbol 849 MovieClip in Frame 334
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.tank)) {
_root.gotoAndStop(336);
}
}
Instance of Symbol 167 MovieClip "cam" in Frame 334
onClipEvent (enterFrame) {
if ((this._parent.tank._x > 275) and (this._parent.tank._x < 1725)) {
_x = this._parent.tank._x;
}
if ((this._parent.tank._y > -250) and (this._parent.tank._y < 250)) {
_y = this._parent.tank._y;
}
}
Instance of Symbol 849 MovieClip in Frame 334
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.tank)) {
_root.gotoAndStop(336);
}
}
Frame 335
Mouse.show();
Frame 336
Mouse.hide();
startDrag (this.cross, true);
Instance of Symbol 167 MovieClip "cam" in Frame 336
onClipEvent (load) {
xspeed = 0;
}
onClipEvent (enterFrame) {
if (xspeed < 4) {
xspeed = xspeed + 0.025;
}
_x = (_x + xspeed);
if (_x > 2000) {
_root.black.play();
}
}
Frame 337
Mouse.show();
Instance of Symbol 842 MovieClip "tank" in Frame 337
onClipEvent (load) {
speed = 0;
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.dot)) {
speed = 0;
}
if (!_root.path.hitTest(_x - (_width / 2), _y + (_height / 2), true)) {
speed = 0;
this.play();
}
onMouseDown = function () {
speed = 5;
};
onMouseUp = function () {
speed = 0;
};
xspeed = speed * Math.cos((angle * Math.PI) / 180);
yspeed = speed * Math.sin((angle * Math.PI) / 180);
_x = (_x + xspeed);
_y = (_y + yspeed);
rx = _root._xmouse;
ry = _root._ymouse;
cx = _x;
cy = _y;
angle = Math.atan2(ry - cy, rx - cx) / (Math.PI/180);
if (speed > 4) {
_rotation = angle;
}
}
Instance of Symbol 844 MovieClip "dot" in Frame 337
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 846 MovieClip "tunnel" in Frame 337
onClipEvent (enterFrame) {
if (this.hitTest(_root.tank)) {
_root.gotoAndStop(332);
}
}
Instance of Symbol 849 MovieClip in Frame 337
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.tank)) {
_root.gotoAndStop(336);
}
}
Instance of Symbol 167 MovieClip "cam" in Frame 337
onClipEvent (enterFrame) {
if ((this._parent.tank._x > 275) and (this._parent.tank._x < 1725)) {
_x = this._parent.tank._x;
}
if ((this._parent.tank._y > -250) and (this._parent.tank._y < 250)) {
_y = this._parent.tank._y;
}
}
Instance of Symbol 849 MovieClip in Frame 337
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.tank)) {
_root.gotoAndStop(339);
}
}
Frame 339
_root.final = _root.final + _root.score;
Frame 340
if (_root.storylevel < 8) {
game = SharedObject.getLocal("mydata");
game.data.storylevel = 8;
game.flush();
}
Symbol 2 MovieClip Frame 1
x00 = _x;
y00 = _y;
MAAI = 400;
_alpha = ((Math.random() * 90) + 10);
Symbol 2 MovieClip Frame 2
x0 = _x;
y0 = _y;
x = _root._xmouse;
y = _root._ymouse;
a = x - x0;
b = y - y0;
r = Math.sqrt((a * a) + (b * b));
quer_fugir_x = this._x - (((a / r) * MAAI) / r);
quer_fugir_y = this._y - (((b / r) * MAAI) / r);
quer_voltar_x = (x00 - x0) / 2;
quer_voltar_y = (y00 - y0) / 2;
this._x = quer_fugir_x + quer_voltar_x;
this._y = quer_fugir_y + quer_voltar_y;
Symbol 2 MovieClip Frame 3
gotoAndPlay (2);
Symbol 918 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.5");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 919 MovieClip [__Packages.mx.behaviors.DepthControl] Frame 0
class mx.behaviors.DepthControl extends Object
{
function DepthControl () {
super();
}
static function sendToBack(target) {
var _local2 = false;
while (_local2 == false) {
sendBackward(target);
_local2 = target == getInstanceAtLowest(target._parent);
}
}
static function bringToFront(target) {
var _local2 = false;
while (_local2 == false) {
bringForward(target);
_local2 = target == getInstanceAtHighest(target._parent);
}
}
static function sendBackward(target) {
var _local2 = trackDepths(target._parent);
if (target != getInstanceAtLowest(target._parent)) {
target.swapDepths(getInstanceLowerThan(target));
}
}
static function bringForward(target) {
if (target != getInstanceAtHighest(target._parent)) {
target.swapDepths(getInstanceHigherThan(target));
}
}
static function trackDepths(mcParent) {
var _local4 = [];
for (var _local5 in mcParent) {
if (typeof(mcParent[_local5]) == "movieclip") {
_local4.push({mc:mcParent[_local5], depth:mcParent[_local5].getDepth()});
}
}
_local4.sort(orderFunc);
return(_local4);
}
static function orderFunc(a, b) {
var _local2 = Number(a.depth);
var _local1 = Number(b.depth);
if (_local2 > _local1) {
return(-1);
}
if (_local1 > _local2) {
return(1);
}
return(0);
}
static function getInstanceAtLowest(targetParent) {
var _local1 = trackDepths(targetParent);
return(_local1[_local1.length - 1].mc);
}
static function getInstanceAtHighest(targetParent) {
var _local1 = trackDepths(targetParent);
return(_local1[0].mc);
}
static function getInstanceLowerThan(target) {
var _local2 = trackDepths(target._parent);
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1].mc == target) {
break;
}
_local1++;
}
return(_local2[_local1 + 1].mc);
}
static function getInstanceHigherThan(target) {
var _local2 = trackDepths(target._parent);
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1].mc == target) {
break;
}
_local1++;
}
return(_local2[_local1 - 1].mc);
}
}
Symbol 8 MovieClip Frame 1
x00 = _x;
y00 = _y;
MAAI = 400;
Symbol 8 MovieClip Frame 2
x0 = _x;
y0 = _y;
x = _root._xmouse;
y = _root._ymouse;
a = x - x0;
b = y - y0;
r = Math.sqrt((a * a) + (b * b));
quer_fugir_x = this._x - (((a / r) * MAAI) / r);
quer_fugir_y = this._y - (((b / r) * MAAI) / r);
quer_voltar_x = (x00 - x0) / 2;
quer_voltar_y = (y00 - y0) / 2;
this._x = quer_fugir_x + quer_voltar_x;
this._y = quer_fugir_y + quer_voltar_y;
Symbol 8 MovieClip Frame 3
gotoAndPlay (2);
Symbol 12 MovieClip Frame 1
_root.stop();
Symbol 12 MovieClip Frame 100
_root.play();
Symbol 15 Button
on (release) {
gotoAndStop (303);
}
Symbol 18 Button
on (release) {
gotoAndStop (307);
}
Symbol 21 Button
on (release) {
gotoAndStop (308);
}
Symbol 23 Button
on (release) {
gotoAndStop (6);
}
Symbol 81 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.carchoice == "carred") {
gotoAndStop (1);
}
if (_root.carchoice == "carblue") {
gotoAndStop (2);
}
if (_root.carchoice == "cargreen") {
gotoAndStop (3);
}
if (_root.carchoice == "caryellow") {
gotoAndStop (4);
}
if (_root.carchoice == "carpink") {
gotoAndStop (20);
}
if (_root.carchoice == "carblack") {
gotoAndStop (24);
}
if (_root.carchoice == "carpolice") {
gotoAndStop (28);
}
if (_root.carchoice == "carorange") {
gotoAndStop (32);
}
if (_root.carchoice == "carcamo") {
gotoAndStop (44);
}
if (_root.carchoice == "tankred") {
gotoAndStop (5);
}
if (_root.carchoice == "tankblue") {
gotoAndStop (6);
}
if (_root.carchoice == "tankgreen") {
gotoAndStop (7);
}
if (_root.carchoice == "tankyellow") {
gotoAndStop (8);
}
if (_root.carchoice == "tankpink") {
gotoAndStop (21);
}
if (_root.carchoice == "tankblack") {
gotoAndStop (25);
}
if (_root.carchoice == "tankpolice") {
gotoAndStop (29);
}
if (_root.carchoice == "tankorange") {
gotoAndStop (33);
}
if (_root.carchoice == "tankcamo") {
gotoAndStop (45);
}
if (_root.carchoice == "F1 carred") {
gotoAndStop (10);
}
if (_root.carchoice == "F1 carblue") {
gotoAndStop (11);
}
if (_root.carchoice == "F1 cargreen") {
gotoAndStop (12);
}
if (_root.carchoice == "F1 caryellow") {
gotoAndStop (13);
}
if (_root.carchoice == "F1 carpink") {
gotoAndStop (22);
}
if (_root.carchoice == "F1 carblack") {
gotoAndStop (26);
}
if (_root.carchoice == "F1 carpolice") {
gotoAndStop (30);
}
if (_root.carchoice == "F1 carorange") {
gotoAndStop (34);
}
if (_root.carchoice == "F1 carcamo") {
gotoAndStop (46);
}
if (_root.carchoice == "busred") {
gotoAndStop (15);
}
if (_root.carchoice == "busblue") {
gotoAndStop (16);
}
if (_root.carchoice == "busgreen") {
gotoAndStop (17);
}
if (_root.carchoice == "busyellow") {
gotoAndStop (18);
}
if (_root.carchoice == "buspink") {
gotoAndStop (23);
}
if (_root.carchoice == "busblack") {
gotoAndStop (27);
}
if (_root.carchoice == "buspolice") {
gotoAndStop (31);
}
if (_root.carchoice == "busorange") {
gotoAndStop (35);
}
if (_root.carchoice == "buscamo") {
gotoAndStop (47);
}
if (_root.carchoice == "jetred") {
gotoAndStop (36);
}
if (_root.carchoice == "jetblue") {
gotoAndStop (37);
}
if (_root.carchoice == "jetgreen") {
gotoAndStop (38);
}
if (_root.carchoice == "jetyellow") {
gotoAndStop (39);
}
if (_root.carchoice == "jetpink") {
gotoAndStop (40);
}
if (_root.carchoice == "jetblack") {
gotoAndStop (41);
}
if (_root.carchoice == "jetpolice") {
gotoAndStop (42);
}
if (_root.carchoice == "jetorange") {
gotoAndStop (43);
}
if (_root.carchoice == "jetcamo") {
gotoAndStop (48);
}
};
Symbol 81 MovieClip Frame 20
stop();
Symbol 81 MovieClip Frame 24
stop();
Symbol 81 MovieClip Frame 28
stop();
Symbol 81 MovieClip Frame 32
stop();
Symbol 85 Button
on (release) {
nextFrame();
}
Symbol 106 MovieClip Frame 1
stopAllSounds();
nextFrame();
Symbol 106 MovieClip Frame 12
gotoAndStop (1);
Symbol 110 Button
on (release) {
gotoAndStop (11);
}
Symbol 113 Button
on (release) {
if (_root.storylevel == "0") {
gotoAndPlay (80);
}
if (_root.storylevel == "1") {
gotoAndStop (303);
}
if (_root.storylevel == "2") {
gotoAndStop (309);
}
if (_root.storylevel == "3") {
gotoAndStop (313);
}
if (_root.storylevel == "4") {
gotoAndStop (318);
}
if (_root.storylevel == "5") {
gotoAndStop (322);
}
if (_root.storylevel == "6") {
gotoAndStop (325);
}
if (_root.storylevel == "7") {
gotoAndStop (329);
}
if (_root.storylevel == "8") {
gotoAndStop (13);
}
}
Symbol 117 Button
on (release) {
gotoAndStop (7);
}
Symbol 121 Button
on (release) {
gotoAndStop (77);
}
Symbol 134 MovieClip Frame 1
if (_root.coin == "uk") {
gotoAndStop (1);
}
if (_root.coin == "eu") {
gotoAndStop (2);
}
if (_root.coin == "us") {
gotoAndStop (3);
}
if (_root.coin == "af") {
gotoAndStop (4);
}
if (_root.coin == "bb") {
gotoAndStop (5);
}
if (_root.coin == "ap") {
gotoAndStop (6);
}
stop();
Symbol 138 MovieClip Frame 11
stop();
Symbol 144 Button
on (release) {
stopAllSounds();
gotoAndStop (3);
}
Symbol 162 Button
on (release) {
gotoAndStop (8);
}
Symbol 167 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;
}
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 178 MovieClip Frame 1
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 2
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 3
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 4
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 5
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 6
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 7
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 8
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 9
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 10
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 11
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 12
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 13
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 14
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 15
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 16
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 17
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 18
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 19
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 20
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 21
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 22
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 23
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 24
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 25
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 26
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 27
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 28
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 29
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 30
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 31
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 32
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 33
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 34
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 35
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 36
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 37
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 38
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 39
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 40
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 41
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 42
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 43
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 44
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 45
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 46
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 47
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 48
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 49
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 178 MovieClip Frame 50
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 222 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 228 MovieClip Frame 1
stop();
Symbol 229 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;
}
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 241 MovieClip Frame 1
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 2
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 3
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 4
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 5
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 6
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 7
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 8
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 9
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 10
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 11
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 12
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 13
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 14
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 15
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 16
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 17
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 18
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 19
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 20
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 21
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 22
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 23
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 24
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 25
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 26
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 27
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 28
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 29
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 30
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 31
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 32
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 33
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 34
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 35
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 36
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 37
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 38
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 39
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 40
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 41
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 42
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 43
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 44
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 45
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 46
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 47
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 48
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 49
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 241 MovieClip Frame 50
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
_root.timershow.laptimeg = Number(_root.timershow.laptimeg) + 0.02;
Symbol 257 Button
on (release) {
stopAllSounds();
gotoAndStop (3);
}
Symbol 263 MovieClip Frame 1
onEnterFrame = function () {
if (_root.ltype == "the m") {
gotoAndStop (1);
}
if (_root.ltype == "figure 8") {
gotoAndStop (2);
}
if (_root.ltype == "circle") {
gotoAndStop (3);
}
};
Symbol 266 Button
on (release) {
if (_root.ltype == "the m") {
gotoAndStop (5);
}
if (_root.ltype == "figure 8") {
gotoAndStop (9);
}
if (_root.ltype == "circle") {
gotoAndStop (10);
}
}
Symbol 300 Button
on (release) {
gotoAndStop (308);
}
Symbol 303 Button
on (release) {
nextFrame();
}
Symbol 310 Button
on (release) {
gotoAndStop (16);
}
Instance of Symbol 317 MovieClip in Symbol 326 MovieClip Frame 1
on (press) {
_root.score = Number(_root.score) + 10;
this._alpha = this._alpha - 30;
}
Instance of Symbol 319 MovieClip in Symbol 326 MovieClip Frame 1
on (press) {
_root.score = Number(_root.score) + 5;
this._alpha = this._alpha - 30;
}
Instance of Symbol 321 MovieClip in Symbol 326 MovieClip Frame 1
on (press) {
_root.score = Number(_root.score) + 3;
this._alpha = this._alpha - 30;
}
Instance of Symbol 323 MovieClip in Symbol 326 MovieClip Frame 1
on (press) {
_root.score = Number(_root.score) + 1;
this._alpha = this._alpha - 30;
}
Instance of Symbol 325 MovieClip in Symbol 326 MovieClip Frame 1
on (press) {
_root.score = Number(_root.score) + 2;
this._alpha = this._alpha - 30;
}
Symbol 335 Button
on (release) {
stopAllSounds();
_root.scoreshow = "N/A";
_root.score = 0;
_root.done = 0;
_root.gotoAndStop(3);
}
Symbol 337 Button
on (release) {
_root.score = 0;
_root.scoreshow = "N/A";
_root.done = 0;
_root.gotoAndPlay(14);
}
Symbol 338 MovieClip Frame 1
stop();
Instance of Symbol 331 MovieClip in Symbol 338 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.done == 1) {
this._parent.play();
}
}
Symbol 338 MovieClip Frame 2
onEnterFrame = function () {
_root.end.scoreshow = "score:" + _root.score;
};
Symbol 338 MovieClip Frame 20
if (_root.score > _root.besttarget) {
game = SharedObject.getLocal("mydata");
game.data.besttarget = _root.score;
game.flush();
}
stop();
Symbol 345 MovieClip Frame 10
gotoAndPlay (1);
Symbol 348 MovieClip Frame 40
_x = ((Math.random() * 450) + 50);
Symbol 349 MovieClip Frame 49
_x = ((Math.random() * 450) + 50);
Symbol 370 MovieClip Frame 1
num = Math.ceil((Math.random() * 25) + 1);
if (num == "2") {
gotoAndStop (2);
} else if (num == "3") {
gotoAndStop (3);
} else if (num == "4") {
gotoAndStop (4);
} else if (num == "5") {
gotoAndStop (5);
} else if (num == "6") {
gotoAndStop (6);
} else if (num == "7") {
gotoAndStop (7);
} else if (num == "8") {
gotoAndStop (8);
} else if (num == "9") {
gotoAndStop (9);
} else if (num == "10") {
gotoAndStop (10);
} else if (num == "11") {
gotoAndStop (11);
} else if (num == "12") {
gotoAndStop (12);
} else if (num == "13") {
gotoAndStop (13);
} else if (num == "14") {
gotoAndStop (14);
} else if (num == "15") {
gotoAndStop (15);
} else if (num == "16") {
gotoAndStop (16);
} else if (num == "17") {
gotoAndStop (17);
} else if (num == "18") {
gotoAndStop (18);
} else if (num == "19") {
gotoAndStop (19);
} else if (num == "20") {
gotoAndStop (20);
} else if (num == "21") {
gotoAndStop (21);
} else if (num == "22") {
gotoAndStop (22);
} else if (num == "23") {
gotoAndStop (23);
} else if (num == "24") {
gotoAndStop (24);
} else if (num == "25") {
gotoAndStop (25);
} else if (num == "26") {
gotoAndStop (26);
} else {
stop();
}
Symbol 370 MovieClip Frame 10
stop();
Symbol 370 MovieClip Frame 12
stop();
Symbol 370 MovieClip Frame 14
stop();
onEnterFrame = function () {
if (_root.carchoice == "carred") {
gotoAndStop (1);
}
if (_root.carchoice == "carblue") {
gotoAndStop (2);
}
if (_root.carchoice == "cargreen") {
gotoAndStop (3);
}
if (_root.carchoice == "caryellow") {
gotoAndStop (4);
}
if (_root.carchoice == "carpink") {
gotoAndStop (20);
}
if (_root.carchoice == "tankred") {
gotoAndStop (5);
}
if (_root.carchoice == "tankblue") {
gotoAndStop (6);
}
if (_root.carchoice == "tankgreen") {
gotoAndStop (7);
}
if (_root.carchoice == "tankyellow") {
gotoAndStop (8);
}
if (_root.carchoice == "tankpink") {
gotoAndStop (21);
}
if (_root.carchoice == "F1 carred") {
gotoAndStop (10);
}
if (_root.carchoice == "F1 carblue") {
gotoAndStop (11);
}
if (_root.carchoice == "F1 cargreen") {
gotoAndStop (12);
}
if (_root.carchoice == "F1 caryellow") {
gotoAndStop (13);
}
if (_root.carchoice == "F1 carpink") {
gotoAndStop (22);
}
if (_root.carchoice == "busred") {
gotoAndStop (15);
}
if (_root.carchoice == "busblue") {
gotoAndStop (16);
}
if (_root.carchoice == "busgreen") {
gotoAndStop (17);
}
if (_root.carchoice == "busyellow") {
gotoAndStop (18);
}
if (_root.carchoice == "buspink") {
gotoAndStop (23);
}
};
Symbol 382 Button
on (release) {
_root.gotoAndStop(3);
_root.distance = 0;
}
Symbol 390 Button
on (release) {
_root.gotoAndStop(16);
_root.distance = 0;
_root.done = 0;
}
Symbol 404 MovieClip Frame 1
onEnterFrame = function () {
if (_root.btype == "normal") {
gotoAndStop (1);
} else if (_root.btype == "sand") {
gotoAndStop (2);
} else if (_root.btype == "grey") {
gotoAndStop (3);
} else if (_root.btype == "road") {
gotoAndStop (4);
} else if (_root.btype == "green") {
gotoAndStop (5);
} else if (_root.btype == "grass") {
gotoAndStop (6);
} else if (_root.btype == "blue") {
gotoAndStop (7);
} else if (_root.btype == "tiles") {
gotoAndStop (8);
} else if (_root.btype == "metal") {
gotoAndStop (9);
}
};
Symbol 407 Button
on (release) {
gotoAndStop (78);
}
Symbol 421 Button
on (release) {
prevFrame();
}
Symbol 433 Button
on (release) {
nextFrame();
}
Symbol 434 Button
on (release) {
stopAllSounds();
gotoAndStop (3);
}
Symbol 446 Button
on (release) {
gotoAndStop (301);
}
Symbol 487 MovieClip Frame 11
_root.gotoAndStop(300);
Symbol 488 MovieClip Frame 1
stop();
Symbol 488 MovieClip Frame 10
mx.behaviors.DepthControl.sendToBack(this);
Symbol 488 MovieClip Frame 40
_root.gotoAndStop(300);
Symbol 488 MovieClip Frame 53
_root.gotoAndStop(300);
Symbol 493 Button
on (release) {
nextFrame();
}
Symbol 497 Button
on (release) {
nextFrame();
}
Symbol 504 MovieClip Frame 1
stop();
Symbol 507 Button
on (release) {
gotoAndStop (304);
}
Symbol 512 Button
on (release) {
gotoAndStop (309);
}
Symbol 522 Button
on (release) {
_root.gotoAndStop(300);
}
Symbol 527 Button
on (release) {
_root.gotoAndStop(300);
}
Symbol 531 Button
on (release) {
_root.gotoAndStop(303);
}
Symbol 536 Button
on (release) {
_root.gotoAndStop(300);
}
Symbol 540 Button
on (release) {
_root.gotoAndStop(303);
}
Symbol 544 Button
on (release) {
_root.gotoAndStop(306);
}
Symbol 548 Button
on (release) {
_root.gotoAndStop(313);
}
Symbol 553 Button
on (release) {
_root.gotoAndStop(318);
}
Symbol 557 Button
on (release) {
_root.gotoAndStop(322);
}
Symbol 561 Button
on (release) {
_root.gotoAndStop(325);
}
Symbol 567 Button
on (release) {
_root.gotoAndStop(329);
}
Symbol 568 MovieClip Frame 1
stop();
if (_root.storylevel == "0") {
gotoAndStop (1);
}
if (_root.storylevel == "1") {
gotoAndStop (2);
}
if (_root.storylevel == "2") {
gotoAndStop (3);
}
if (_root.storylevel == "3") {
gotoAndStop (4);
}
if (_root.storylevel == "4") {
gotoAndStop (5);
}
if (_root.storylevel == "5") {
gotoAndStop (6);
}
if (_root.storylevel == "6") {
gotoAndStop (7);
}
if (_root.storylevel == "7") {
gotoAndStop (8);
}
if (_root.storylevel == "8") {
gotoAndStop (8);
}
Symbol 573 Button
on (release) {
nextFrame();
}
Symbol 588 MovieClip Frame 50
_root.timershow4.time = Number(_root.timershow4.time) - 1;
Symbol 596 Button
on (release) {
gotoAndStop (310);
}
Symbol 599 Button
on (release) {
nextFrame();
}
Symbol 604 Button
on (release) {
nextFrame();
}
Symbol 614 Button
on (release) {
if (_root.points == "0") {
} else {
_root.spe = Number(_root.spe) + 4;
_root.points = Number(_root.points) - 1;
}
}
Symbol 615 Button
on (release) {
if (_root.points == "0") {
} else {
_root.ace = Number(_root.ace) + 0.1;
_root.points = Number(_root.points) - 1;
}
}
Symbol 616 Button
on (release) {
if (_root.points == "0") {
} else {
_root.han = Number(_root.han) + 1;
_root.points = Number(_root.points) - 1;
}
}
Symbol 624 Button
on (release) {
_root.points = 5;
_root.spe = 70;
_root.ace = 0.5;
_root.han = 3;
}
Symbol 648 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 656 MovieClip Frame 1
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 2
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 3
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 4
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 5
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 6
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 7
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 8
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 9
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 10
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 11
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 12
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 13
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 14
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 15
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 16
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 17
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 18
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 19
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 20
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 21
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 22
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 23
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 24
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 25
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 26
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 27
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 28
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 29
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 30
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 31
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 32
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 33
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 34
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 35
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 36
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 37
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 38
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 39
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 40
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 41
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 42
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 43
_root.timershow.laptime = Number(_root.timershow.laptime) + 0.02;
Symbol 656 MovieClip Frame 44
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 45
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 46
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 47
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 48
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 49
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 656 MovieClip Frame 50
_root.timershow5.laptime = Number(_root.timershow5.laptime) + 0.02;
_root.timershow5.totaltime = Number(_root.timershow5.totaltime) + 0.02;
Symbol 665 Button
on (release) {
_root.nextFrame();
}
Symbol 667 Button
on (release) {
_root.gotoAndStop(314);
}
Symbol 675 Button
on (release) {
nextFrame();
_root.checkr = "0";
}
Symbol 731 MovieClip Frame 1
if (_root.finishtime < 69.5) {
gotoAndStop (1);
} else if ((_root.finishtime >= 69.5) and (_root.finishtime < 72)) {
gotoAndStop (2);
} else if ((_root.finishtime >= 72) and (_root.finishtime < 73.5)) {
gotoAndStop (3);
} else if ((_root.finishtime >= 73.5) and (_root.finishtime < 80)) {
gotoAndStop (4);
} else if ((_root.finishtime >= 80) and (_root.finishtime < 87.5)) {
gotoAndStop (5);
} else if (_root.finishtime >= 87.5) {
gotoAndStop (6);
}
Symbol 732 Button
on (release) {
_root.gotoAndStop(318);
}
Symbol 795 MovieClip Frame 1
if (_root.finishtime < 92.5) {
gotoAndStop (1);
} else if ((_root.finishtime >= 92.5) and (_root.finishtime < 98)) {
gotoAndStop (2);
} else if ((_root.finishtime >= 98) and (_root.finishtime < 109.5)) {
gotoAndStop (3);
} else if (_root.finishtime >= 109.5) {
gotoAndStop (4);
}
Symbol 806 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.carchoice == "carred") {
gotoAndStop (1);
}
if (_root.carchoice == "carblue") {
gotoAndStop (2);
}
if (_root.carchoice == "cargreen") {
gotoAndStop (3);
}
if (_root.carchoice == "caryellow") {
gotoAndStop (4);
}
if (_root.carchoice == "carpink") {
gotoAndStop (20);
}
if (_root.carchoice == "carblack") {
gotoAndStop (24);
}
if (_root.carchoice == "carpolice") {
gotoAndStop (28);
}
if (_root.carchoice == "tankred") {
gotoAndStop (5);
}
if (_root.carchoice == "tankblue") {
gotoAndStop (6);
}
if (_root.carchoice == "tankgreen") {
gotoAndStop (7);
}
if (_root.carchoice == "tankyellow") {
gotoAndStop (8);
}
if (_root.carchoice == "tankpink") {
gotoAndStop (21);
}
if (_root.carchoice == "tankblack") {
gotoAndStop (25);
}
if (_root.carchoice == "tankpolice") {
gotoAndStop (29);
}
if (_root.carchoice == "F1 carred") {
gotoAndStop (10);
}
if (_root.carchoice == "F1 carblue") {
gotoAndStop (11);
}
if (_root.carchoice == "F1 cargreen") {
gotoAndStop (12);
}
if (_root.carchoice == "F1 caryellow") {
gotoAndStop (13);
}
if (_root.carchoice == "F1 carpink") {
gotoAndStop (22);
}
if (_root.carchoice == "F1 carblack") {
gotoAndStop (26);
}
if (_root.carchoice == "F1 carpolice") {
gotoAndStop (30);
}
if (_root.carchoice == "busred") {
gotoAndStop (15);
}
if (_root.carchoice == "busblue") {
gotoAndStop (16);
}
if (_root.carchoice == "busgreen") {
gotoAndStop (17);
}
if (_root.carchoice == "busyellow") {
gotoAndStop (18);
}
if (_root.carchoice == "buspink") {
gotoAndStop (23);
}
if (_root.carchoice == "busblack") {
gotoAndStop (27);
}
if (_root.carchoice == "buspolice") {
gotoAndStop (31);
}
};
Symbol 806 MovieClip Frame 20
stop();
Symbol 806 MovieClip Frame 24
stop();
Symbol 806 MovieClip Frame 28
stop();
Symbol 807 Button
on (release) {
_root.nextFrame();
}
Symbol 808 Button
on (release) {
_root.gotoAndStop(322);
}
Symbol 826 Button
on (release) {
_root.gotoAndStop(325);
}
Symbol 842 MovieClip Frame 1
stop();
Symbol 842 MovieClip Frame 20
_root.nextFrame();
Symbol 854 Button
on (release) {
prevFrame();
}
Symbol 885 MovieClip Frame 1
stop();
Symbol 885 MovieClip Frame 20
_root.nextFrame();