Frame 1
stop();
Instance of Symbol 5 MovieClip "loader" in Frame 1
onClipEvent (load) {
this._visible = 0;
loadBar._xScale = 0;
var total = _root.getBytesTotal();
var soFar = _root.getBytesLoaded();
perc = (soFar / total) * 100;
if (((!perc) > 0) && ((!perc) <= 100)) {
perc = 1;
}
var dl = (perc - loadBar._xScale);
loadBar._xScale = loadBar._xScale + (dl / 10);
if (perc >= 100) {
_parent.play();
}
}
onClipEvent (enterFrame) {
this._visible = 1;
var total = _root.getBytesTotal();
var soFar = _root.getBytesLoaded();
perc = (soFar / total) * 100;
if (((!perc) > 0) && ((!perc) <= 100)) {
perc = 1;
}
var dl = (perc - loadBar._xScale);
loadBar._xScale = loadBar._xScale + (dl / 10);
if (perc >= 100) {
_parent.play();
}
}
Frame 2
stop();
_root.musicOnOff = true;
tooLate = false;
Instance of Symbol 48 MovieClip in Frame 2
onClipEvent (keyDown) {
_root.bikeIntro.go = true;
}
Frame 3
stop();
loadMovieNum ("http://www.gimpster.net/insurance/gag_ins.swf", 99);
xVal = 0;
_root.tooLate = false;
Instance of Symbol 184 MovieClip in Frame 3
onClipEvent (keyDown) {
_root.nextFrame();
}
Instance of Symbol 193 MovieClip "tune" in Frame 3
onClipEvent (load) {
if (_root.musicOnOff == false) {
gotoAndStop (2);
} else if (_root.musicOnOff == true) {
gotoAndPlay (2);
}
}
Frame 4
stop();
Instance of Symbol 205 MovieClip "trees" in Frame 4
onClipEvent (enterFrame) {
this._x = _root.xVal / 5;
}
onClipEvent (load) {
this._alpha = 99;
}
Instance of Symbol 104 MovieClip "shad" in Frame 4
onClipEvent (enterFrame) {
this._x = _root.bike._x;
this._width = _root.bike._width;
}
Instance of Symbol 214 MovieClip in Frame 4
onClipEvent (load) {
startTime = getTimer();
pauseTime = 1000;
}
onClipEvent (enterFrame) {
timeNow = getTimer();
elapsed = timeNow - startTime;
if (elapsed >= pauseTime) {
play();
startTime = getTimer();
}
}
Frame 5
stop();
riderBalance = 1;
timeInAir = 0;
dist = 0;
Math.sinD = function (angle) {
return(Math.sin(angle * (Math.PI/180)));
};
Math.cosD = function (angle) {
return(Math.cos(angle * (Math.PI/180)));
};
Math.acosD = function (ratio) {
return(Math.acos(ratio) * 57.2957795130823);
};
_global.Vector = function (x, y) {
this.x = x;
this.y = y;
};
Vector.prototype.toString = function () {
var rx = (Math.round(this.x * 1000) / 1000);
var ry = (Math.round(this.y * 1000) / 1000);
return(((("[" + rx) + ", ") + ry) + "]");
};
Vector.prototype.reset = function (x, y) {
this.constructor(x, y);
};
Vector.prototype.getClone = function () {
return(new this.constructor(this.x, this.y));
};
Vector.prototype.plus = function (v) {
with (this) {
x = x + v.x;
y = y + v.y;
}
};
Vector.prototype.plusNew = function (v) {
with (this) {
return(new constructor(x + v.x, y + v.y));
}
};
Vector.prototype.minus = function (v) {
with (this) {
x = x - v.x;
y = y - v.y;
}
};
Vector.prototype.minusNew = function (v) {
with (this) {
return(new constructor(x - v.x, y - v.y));
}
};
Vector.prototype.negate = function () {
with (this) {
x = -x;
y = -y;
}
};
Vector.prototype.negateNew = function (v) {
with (this) {
return(new constructor(-x, -y));
}
};
Vector.prototype.scale = function (s) {
with (this) {
x = x * s;
y = y * s;
}
};
Vector.prototype.scaleNew = function (s) {
with (this) {
return(new constructor(x * s, y * s));
}
};
Vector.prototype.getLength = function () {
with (this) {
return(Math.sqrt((x * x) + (y * y)));
}
};
Vector.prototype.setLength = function (len) {
var r = this.getLength();
if (r) {
this.scale(len / r);
} else {
this.x = len;
}
};
Vector.prototype.getAngle = function () {
return(Math.atan2D(this.y, this.x));
};
Vector.prototype.setAngle = function (ang) {
with (this) {
var r = getLength();
x = r * Math.cosD(ang);
y = r * Math.sinD(ang);
}
};
Vector.prototype.rotate = function (ang) {
with (Math) {
var ca = cosD(ang);
var sa = sinD(ang);
}
with (this) {
var rx = ((x * ca) - (y * sa));
var ry = ((x * sa) + (y * ca));
x = rx;
y = ry;
}
};
Vector.prototype.rotateNew = function (ang) {
with (this) {
var v = new constructor(x, y, z);
}
v.rotate(ang);
return(v);
};
Vector.prototype.dot = function (v) {
with (this) {
return((x * v.x) + (y * v.y));
}
};
Vector.prototype.getNormal = function () {
with (this) {
new constructor(-y, x);
}
};
Vector.prototype.isNormalTo = function (v) {
return(this.dot(v) == 0);
};
Vector.prototype.angleBetween = function (v) {
var dp = this.dot(v);
var cosAngle = (dp / (this.getLength() * v.getLength()));
return(Math.acosD(cosAngle));
};
with (Vector.prototype) {
addProperty("length", getLength, setLength);
addProperty("angle", getAngle, setAngle);
}
Instance of Symbol 223 MovieClip "allBG" in Frame 5
onClipEvent (load) {
this._alpha = 99;
howFast = 0;
}
onClipEvent (enterFrame) {
this._x = Math.round(this._x);
this.friction = 0.085 - (_root.riderBalance / 1600);
if (this._x > -6840) {
if ((Key.isDown(39) && (Key.isDown(40))) || (Key.isDown(40))) {
_root.stoppieGo = true;
if (howFast > 0) {
slowInc = (29 - _root.riderBalance) / 2;
this.howFast = this.howFast - slowInc;
} else {
howFast = 0;
}
} else if (_root.stoppieGo == false) {
if (Key.isDown(39) && (_root.bike.brakeOn != true)) {
this.howFast = this.howFast - 0.1;
} else {
howFast = 0;
}
}
} else {
_root.fadeOut.play();
_root.tooLate = true;
this._x = -6840;
}
_root.xVal = this._x;
}
onClipEvent (keyUp) {
}
onClipEvent (load) {
numToDupe = 10;
lastScene = "bg" + (numToDupe - 5);
width = this.bg._width;
i = 0;
while (i < numToDupe) {
newName = "bg" + i;
duplicateMovieClip ("bg", newName, i);
this[newName]._x = width * i;
bg._visible = 0;
i++;
}
totalWidth = this._width;
}
Instance of Symbol 205 MovieClip "trees" in Frame 5
onClipEvent (enterFrame) {
this._x = _root.xVal / 5;
}
onClipEvent (load) {
this._alpha = 99;
}
Instance of Symbol 173 MovieClip "bike" in Frame 5
onClipEvent (load) {
xPos = this._x;
this._alpha = 99;
brakeOn = false;
takeOffStart = false;
bikeMove = false;
playBrake = true;
playScared = true;
_root.validity = "";
_root.howClose = "";
_root.penaltyTex = "";
_root.penbox._visible = 0;
this.hints._visible = 1;
this.startPos = this._x;
this.endPos = 540;
_root.stoppieGo = false;
grav = 0.1;
setTimeUp = true;
setDist = true;
rotSpeed = 0;
bounceNow = 1;
bounce = function () {
gravity = 3 - (_root.riderBalance / 10);
rot = this._rotation;
rotSpeed = rotSpeed + gravity;
if (rot < 40) {
rotSpeed = rotSpeed + 2;
}
newRot = rot - rotSpeed;
rot = newRot;
this._rotation = rot;
if (this._rotation <= 0) {
this._rotation = 0;
rotSpeed = 0;
if (bounceNow == 1) {
setTimeUp = false;
this.allBike.gotoAndPlay("bounce");
bounceNow = 0;
_root.fadeOut.play();
}
}
};
}
onClipEvent (enterFrame) {
xPos = this._x;
this.wheels.wheel_F._rotation = this.wheels.wheel_F._rotation + howFast;
this.wheels.wheel_R._rotation = this.wheels.wheel_R._rotation + howFast;
this.rotat = this._rotation;
if ((howFast > 20) && (howFast <= 40)) {
wheels.wheel_F.gotoAndStop("fast");
wheels.wheel_R.gotoAndStop("fast");
wheels.tyre_F.gotoAndStop("fast");
wheels.tyre_R.gotoAndStop("fast");
} else if ((howFast > 40) && (howFast < 60)) {
wheels.wheel_F.gotoAndStop("faster");
wheels.wheel_R.gotoAndStop("faster");
wheels.tyre_F.gotoAndStop("faster");
wheels.tyre_R.gotoAndStop("faster");
} else if (howFast >= 60) {
wheels.wheel_F.gotoAndStop("fastest");
wheels.wheel_R.gotoAndStop("fastest");
wheels.tyre_F.gotoAndStop("fastest");
wheels.tyre_R.gotoAndStop("fastest");
} else {
wheels.wheel_F.gotoAndStop("slow");
wheels.wheel_R.gotoAndStop("slow");
wheels.tyre_F.gotoAndStop("slow");
wheels.tyre_R.gotoAndStop("slow");
}
if (howFast > 1) {
foot.gotoAndStop("up");
} else {
foot.gotoAndStop("down");
}
if (bikeMove == false) {
this._x = startPos - (_root.xVal / 40);
}
if (Key.isDown(40)) {
light.gotoAndStop("on");
brakeOn = true;
if (howFast > 20) {
if (playBrake == true) {
_root.brakeSound.gotoAndPlay("on");
playBrake = false;
}
this._rotation = this._rotation + ((howFast / 18) + (_root.riderBalance / 9));
if (this._rotation > 70) {
this.gotoAndStop("crash");
this._rotation = 0;
_root.shad._alpha = 0;
}
if ((this._rotation > 60) && (playScared == true)) {
_root.scared.gotoAndPlay("s" + (random(5) + 1));
playScared = false;
}
if (takeOffStart == false) {
if (xPos < 327) {
_root.validity = "FOUL, TOO EARLY !";
this.hints._visible = 0;
_root.goodOrBad.play();
} else if (xPos > 335.55) {
_root.validity = "FOUL, TOO LATE !";
this.hints._visible = 0;
_root.goodOrBad.play();
} else {
_root.howClose = Math.round((((_root.xVal + 3821) * 8.8) / 1000) * 100) / 100;
if (_root.howClose < 0) {
_root.howClose = _root.howClose * -1;
}
_root.penaltyTex = _root.howClose + " (m) NEAR !";
_root.penbox._visible = 1;
}
takeOffStart = true;
}
}
_root.stoppieGo = true;
}
if ((((this.howFast <= 1) && (_root.stoppieGo == true)) && (this._rotation > 0)) || ((_root.stoppieGo == false) && (this._rotation > 0))) {
bounce();
}
this.hints._rotation = -this._rotation;
this.hints.dist = _root.dist;
this.hints.time = _root.timeInAir;
if (Key.isDown(40) && (takeOffStart == true)) {
if (setDist == true) {
startTime = getTimer();
startDist = this._x;
setDist = false;
}
if ((setTimeUp == true) && (takeOffStart == true)) {
_root.dist = (Math.round((((this._x - startDist) * 8.8) / 1000) * 10000) / 100) + " m";
_root.timeInAir = ((getTimer() - startTime) / 1000) + " secs";
_root.stoppieDist = Math.round((((this._x - startDist) * 8.8) / 1000) * 10000) / 100;
_root.airSecs = (getTimer() - startTime) / 1000;
}
if (Key.isDown(39) && (howFast > 1)) {
if (allBike.biker.rider._currentframe < allBike.biker.rider._totalframes) {
allBike.biker.rider.gotoAndStop(allBike.biker.rider._currentframe + 1);
}
} else if (Key.isDown(37) && (howFast > 1)) {
if (allBike.biker.rider._currentframe != 1) {
allBike.biker.rider.gotoAndStop(allBike.biker.rider._currentframe - 1);
}
} else if (allBike.biker.rider._currentframe != 1) {
allBike.biker.rider.gotoAndStop(allBike.biker.rider._currentframe - 3);
}
} else {
if (allBike.biker.rider._currentframe != 1) {
allBike.biker.rider.gotoAndStop(allBike.biker.rider._currentframe - 4);
}
brakeOn = false;
this.howFast = 1.1;
bounceNow = 1;
_root.stoppieGo = false;
light.gotoAndStop("off");
downSpeed = 0;
}
}
onClipEvent (keyDown) {
if (Key.isDown(39)) {
hints.gotoAndStop("brake");
}
if (Key.isDown(40)) {
hints.gotoAndStop("balance");
}
}
Instance of Symbol 226 MovieClip "score" in Frame 5
onClipEvent (load) {
startTime = getTimer();
pauseTime = 100;
}
onClipEvent (enterFrame) {
if (_root.stoppieGo == true) {
timeNow = getTimer();
elapsed = timeNow - startTime;
if (elapsed >= pauseTime) {
this.howLong = this.howLong + 0.1;
startTime = getTimer();
}
}
}
Instance of Symbol 253 MovieClip "bikeSounds" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(39) && (_root.bike.takeOffStart == false)) {
goNow = true;
started = true;
} else if ((Key.isDown(40) || (Key.isDown(40) && (Key.isDown(39)))) || (_root.bike.takeOffStart == true)) {
goNow = false;
} else {
goNow = false;
}
if (goNow == true) {
this.gotoAndStop("accel");
} else if ((goNow == false) && (started == true)) {
this.gotoAndPlay("decelerate");
started = false;
}
}
onClipEvent (load) {
goNow = false;
started = false;
}
Frame 17
stop();
if (_root.tooLate == false) {
stoppieDist = Math.round(stoppieDist * 100) / 100;
airSecs = Math.round(airSecs * 100) / 100;
interim = Number(stoppieDist) * Number(airSecs);
interim = Math.round(interim * 100) / 100;
penalties = Number(howClose);
penalties = Math.round(penalties * 100) / 100;
if (penalties < 0) {
penalties = penalties * -1;
}
score = Number(interim) - Number(penalties);
score = Math.round(score * 100) / 100;
} else {
stoppieDist = 0;
airSecs = 0;
interim = 0;
penalties = 0;
score = 0;
}
if ((_root.validity == "FOUL, TOO EARLY !") || (_root.validity == "FOUL, TOO LATE !")) {
stoppieDist = "FOUL";
airSecs = "FOUL";
interim = "FOUL";
penalties = "FOUL";
score = "FOUL";
}
if (_root.validity == "CRASHED!") {
stoppieDist = "CRASH!";
airSecs = "CRASH!";
interim = "CRASH!";
penalties = "CRASH!";
score = "CRASH!";
}
Frame 28
_root.gotoAndStop("instruction");
Symbol 22 Button
on (release) {
gotoAndStop (35);
}
Symbol 31 Button
on (release) {
gotoAndStop (25);
}
Symbol 32 Button
on (release) {
gotoAndStop (45);
}
Symbol 33 Button
on (release) {
gotoAndStop (55);
}
Symbol 34 Button
on (release) {
gotoAndStop (65);
}
Symbol 35 MovieClip Frame 1
function isXMLsafe() {
var testVersion = $version.substring(4, 5);
var testBuild = $version.substring(8, 10);
if (testversion > 5) {
return(true);
}
if ((testVersion == 5) && (testbuild > 40)) {
return(true);
}
return(false);
}
function stripWhitespace(XMLnode) {
var i = 0;
while (i < XMLnode.childNodes.length) {
if (XMLnode.childNodes[i].nodeType == 3) {
var j = 0;
var emptyNode = true;
j = 0;
while (j < XMLnode.childNodes[i].nodeValue.length) {
if (XMLnode.childNodes[i].nodeValue.charCodeAt(j) > 32) {
emptyNode = false;
break;
}
j++;
}
if (emptyNode) {
XMLnode.childNodes[i].removeNode();
}
}
i++;
}
var k = 0;
while (k < XMLnode.childNodes.length) {
stripWhitespace(XMLnode.childNodes[k]);
k++;
}
}
highscore_XML = new XML();
highscore_XML.load("read_database.asp");
XML.prototype.ignoreWhite = true;
Symbol 35 MovieClip Frame 14
if (highscore_XML.loaded == true) {
if (isXMLsafe() == false) {
stripWhitespace(highscore_XML);
}
gotoAndStop (25);
} else {
gotoAndPlay (8);
}
Symbol 35 MovieClip Frame 25
i = 1;
while (i < 11) {
name = "score_" + i;
this[name].output_counter = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.counter;
this[name].output_name = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_name;
this[name].output_town = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_town;
this[name].output_score = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_score;
i++;
}
stop();
minScore = this.highscore_XML.high_score_table.childnodes[49].attributes.user_score;
Symbol 35 MovieClip Frame 35
i = 11;
while (i < 21) {
name = "score_" + i;
this[name].output_counter = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.counter;
this[name].output_name = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_name;
this[name].output_town = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_town;
this[name].output_score = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_score;
i++;
}
stop();
Symbol 35 MovieClip Frame 45
i = 21;
while (i < 31) {
name = "score_" + i;
this[name].output_counter = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.counter;
this[name].output_name = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_name;
this[name].output_town = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_town;
this[name].output_score = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_score;
i++;
}
stop();
Symbol 35 MovieClip Frame 55
i = 31;
while (i < 41) {
name = "score_" + i;
this[name].output_counter = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.counter;
this[name].output_name = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_name;
this[name].output_town = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_town;
this[name].output_score = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_score;
i++;
}
stop();
Symbol 35 MovieClip Frame 65
i = 41;
while (i < 51) {
name = "score_" + i;
this[name].output_counter = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.counter;
this[name].output_name = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_name;
this[name].output_town = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_town;
this[name].output_score = this.highscore_XML.high_score_table.childnodes[i - 1].attributes.user_score;
i++;
}
stop();
Symbol 42 MovieClip Frame 1
bikeIntro.go = false;
Symbol 42 MovieClip Frame 58
stop();
Instance of Symbol 39 MovieClip in Symbol 42 MovieClip Frame 58
/* no clip actions */
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip Frame 58
onClipEvent (enterFrame) {
if (_parent.go == true) {
_parent.play();
}
}
Symbol 42 MovieClip Frame 59
Symbol 42 MovieClip Frame 83
_root.play();
Symbol 50 Button
on (release) {
_root.bikeIntro.go = true;
}
Symbol 53 MovieClip Frame 10
stop();
Symbol 59 Button
on (rollOver) {
play();
}
Symbol 60 Button
on (release) {
getURL ("http://gimpster.net", "_blank");
}
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 20
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 20
stop();
Symbol 126 MovieClip Frame 20
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Instance of Symbol 148 MovieClip "rider" in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.riderBalance = this._currentframe;
}
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 10
_parent.light._visible = 0;
Symbol 150 MovieClip Frame 18
gotoAndStop (1);
_parent.light._visible = 1;
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 5
stop();
Symbol 167 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 20
stop();
Symbol 173 MovieClip Frame 1
this.friction = 0.1;
this.move = function () {
this.vel.plus(this.gravAccel);
this.vel.scale(1 - this.friction);
this.pos.plus(this.vel);
this._x = this.pos.x;
this._y = this.pos.y;
};
doIt = true;
this.onEnterFrame = function () {
if (this.bikeMove == true) {
if (doIt == true) {
this.pos = new Vector(this._x, this._y);
this.vel = new Vector(0, 0);
this.accel = new Vector(0, 0);
doIt = false;
}
this.doForce();
this.move();
this.gravAccel = new Vector(howFast, 0);
}
};
stop();
Symbol 173 MovieClip Frame 5
_root.validity = "CRASHED!";
_root.fadeOut.play();
_root.crowdSound.gotoAndPlay("awww");
Symbol 184 MovieClip Frame 1
bike.hints.gotoAndStop("go");
Instance of Symbol 104 MovieClip "shad" in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.bike._x;
this._width = _root.bike._width;
}
Instance of Symbol 173 MovieClip "bike" in Symbol 184 MovieClip Frame 1
onClipEvent (load) {
}
Symbol 184 MovieClip Frame 57
bike.hints.gotoAndStop("brake");
Symbol 184 MovieClip Frame 158
bike.hints.gotoAndStop("off");
Symbol 184 MovieClip Frame 197
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 198
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 199
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 200
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 201
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 202
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 203
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 204
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 205
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 206
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 207
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 213
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 214
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 215
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 216
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 217
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 218
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 219
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 220
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 221
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 222
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 223
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 229
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 230
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 231
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 232
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 233
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 234
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 235
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 236
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 237
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 238
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 239
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe + 2);
Symbol 184 MovieClip Frame 245
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 246
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 247
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 248
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 249
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 250
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 251
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 252
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 253
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 254
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 184 MovieClip Frame 255
bike.allBike.biker.rider.gotoAndStop(bike.allBike.biker.rider._currentframe - 2);
Symbol 186 Button
on (release) {
play();
}
Symbol 188 Button
on (release) {
gotoAndStop (10);
_root.musicOnOff = false;
}
Symbol 192 Button
on (release) {
gotoAndStop (2);
_root.musicOnOff = true;
}
Symbol 193 MovieClip Frame 2
stop();
if (_root.musicOnOff == false) {
gotoAndStop (10);
} else if (_root.musicOnOff == true) {
gotoAndStop (2);
}
Symbol 193 MovieClip Frame 10
stop();
if (_root.musicOnOff == false) {
gotoAndStop (10);
} else if (_root.musicOnOff == true) {
gotoAndStop (2);
}
Symbol 198 MovieClip Frame 1
loadMovie ("graphics/logo.jpg", this);
Symbol 214 MovieClip Frame 10
stop();
Symbol 214 MovieClip Frame 19
stop();
Symbol 214 MovieClip Frame 28
stop();
Symbol 214 MovieClip Frame 34
_root.nextFrame();
Symbol 218 MovieClip Frame 1
nam = this._name;
whatMark = Number(nam.substring(4, 5));
bgNam = _parent._name;
whatBG = Number(bgNam.substring(2, 4));
dist = 6 - (((Number(whatBG) + (Number(whatMark) * 25)) - 25) + 1);
if (dist <= 0) {
this._visible = 0;
}
Symbol 222 MovieClip Frame 1
if (this._name >= _parent.lastScene) {
this.board._visible = 1;
} else {
this.board._visible = 0;
}
if (this._name == _parent.lastScene) {
arra._visible = 1;
} else {
arra._visible = 0;
}
Symbol 223 MovieClip Frame 1
this.pos = new Vector(this._x, this._y);
this.vel = new Vector(0, 0);
this.accel = new Vector(0, 0);
this.friction = 0.09;
this.move = function () {
this.vel.plus(this.gravAccel);
this.vel.scale(1 - this.friction);
this.pos.plus(this.vel);
this._x = this.pos.x;
this._y = this.pos.y;
};
this.onEnterFrame = function () {
if (this._x > -6840) {
this.doForce();
this.move();
this.gravAccel = new Vector(howFast, 0);
_root.bike.howFast = (-Math.round(this.vel.x * 100)) / 100;
} else {
this._x = -6840;
_root.bike.bikeMove = true;
this.onEnterFrame = null;
}
};
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 6
_root.crowdSound.gotoAndPlay("awww");
Instance of Symbol 233 MovieClip "tex" in Symbol 234 MovieClip Frame 6
onClipEvent (load) {
holder.tex = _root.validity;
dropShad.tex = _root.validity;
}
Symbol 234 MovieClip Frame 95
gotoAndStop (1);
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 40
_root.play();
Symbol 240 MovieClip Frame 4
stop();
Symbol 240 MovieClip Frame 19
gotoAndStop (4);
Symbol 240 MovieClip Frame 30
gotoAndStop (4);
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 19
gotoAndStop (1);
Symbol 247 MovieClip Frame 29
gotoAndStop (1);
Symbol 247 MovieClip Frame 39
gotoAndStop (1);
Symbol 247 MovieClip Frame 49
gotoAndStop (1);
Symbol 247 MovieClip Frame 60
gotoAndStop (1);
Symbol 253 MovieClip Frame 2
stop();
Symbol 253 MovieClip Frame 19
gotoAndPlay (2);
Symbol 253 MovieClip Frame 56
gotoAndStop (2);
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 20
gotoAndStop (1);
Symbol 294 Button
on (release) {
_root.play();
}
Symbol 296 Button
on (release) {
_root.nextFrame();
play();
}
Symbol 305 Button
on (keyPress "<Tab>") {
switch (Selection.getFocus()) {
case "_level0.scores.test_input.user_name" :
Selection.setFocus("_level0.scores.test_input.user_email");
break;
case "_level0.scores.test_input.user_email" :
Selection.setFocus("_level0.scores.test_input.user_town");
break;
case "_level0.scores.test_input.user_town" :
Selection.setFocus("_level0.scores.test_input.user_name");
}
}
on (release) {
gotoAndPlay (8);
}
Symbol 313 Button
on (release) {
gotoAndPlay (1);
}
Symbol 315 MovieClip Frame 1
user_name = "";
user_town = "";
user_email = "";
user_score = _root.score;
stop();
Symbol 315 MovieClip Frame 8
loadVariables ("test_hiscore_submit.asp", this, "POST");
timeout_starttimer = getTimer();
Symbol 315 MovieClip Frame 10
switch (scoreSubmitted) {
case "true" :
gotoAndPlay (18);
break;
case "false" :
gotoAndPlay (44);
break;
default :
timeout_timeNow = getTimer();
timeout_elapsedTime = timeout_timeNow - timeout_starttimer;
if (timeout_elapsedTime >= 8000) {
gotoAndPlay (31);
} else {
gotoAndPlay (9);
}
}
Symbol 315 MovieClip Frame 30
stop();
_parent.gotoAndStop("TABLE");
Symbol 315 MovieClip Frame 43
stop();
Symbol 315 MovieClip Frame 56
stop();
Symbol 316 Button
on (release) {
_root.nextFrame();
play();
}
Symbol 318 MovieClip Frame 2
if ((((_root.score == "FOUL") || (_root.score == "CRASH!")) || (_root.score == 0)) || (_root.score < _root.output.minScore)) {
gotoAndStop (25);
} else if (_root.score > _root.output.minScore) {
gotoAndStop (10);
}
Symbol 318 MovieClip Frame 10
stop();
Symbol 318 MovieClip Frame 20
stop();
Symbol 318 MovieClip Frame 35
stop();
output.gotoAndPlay("LOADXML");
_root.hint.gotoAndStop("off");