Frame 1
function gotoURL() {
getURL ("http://www.amoebastudios.com");
}
function randomRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
this.menu = newMenu;
_root.playIntro = true;
_root.allSounds = new Sound();
_root.score = 0;
_root.timeScore = 0;
_root.levelScore = 0;
_root.isPause = false;
_root.levelArray = ["lblgame", "level2", "level3", "level4", "level5", "level6", "level7", "level8", "level9", "level10"];
_root.level = 1;
_root.isEasy = false;
_root.playIntroSound = true;
_root.playerId = 1;
_root.isOver = false;
_root.win = false;
Frame 2
Frame 3
function playAgain() {
_root.score = 0;
_root.gotoAndStop(_root.levelArray[int(_root.level - 1)]);
}
var Sscore = 0;
System.security.allowDomain("shockwave.com", "intranet.shockwave.com", "games2win.com", "gameblast.shockwave.com", "www.shockwave.com", "dev.shockwave.com", "stage.shockwave.com", "agstage.shockwave.com");
_level0.swHighScoreObject = new Object();
_level0.swHighScoreObject.showTab = "view";
_level0.swHighScoreObject.gameId = "twowheelertrauma2";
_level0.swHighScoreObject.gameTitle = "Two Wheeler Trauma 2";
_level0.swHighScoreObject.screenWidth = 785;
_level0.swHighScoreObject.screenHeight = 600;
_level0.swHighScoreObject.scoreDescriptor = "points";
_level0.swHighScoreObject.numPlayers = 1;
_level0.swHighScoreObject.player1Score = 0;
_level0.swHighScoreObject.player2Score = 0;
_level0.swHighScoreObject.player3Score = 0;
_level0.swHighScoreObject.player4Score = 0;
_level0.HSHubURL = "http://www.shockwave.com/content/highscores/scorez-2002.swf";
Frame 4
Frame 5
Frame 6
stop();
Frame 7
Frame 8
stopAllSounds();
Frame 9
stop();
Instance of Symbol 136 MovieClip in Frame 9
on (release) {
this.gotoAndPlay(_currentframe + 1);
}
Frame 10
stop();
Frame 11
stop();
Frame 12
stop();
Frame 13
stop();
stopAllSounds();
_root.level = 1;
Frame 14
stop();
Frame 15
stop();
stopAllSounds();
_root.level = 2;
_root.hud_mc._visible = true;
Frame 16
stop();
stopAllSounds();
_root.level = 3;
_root.hud_mc._visible = true;
Frame 17
stop();
stopAllSounds();
_root.level = 4;
_root.hud_mc._visible = true;
Frame 18
stop();
Frame 19
stop();
stopAllSounds();
_root.level = 5;
_root.hud_mc._visible = true;
Frame 20
stop();
Frame 21
stop();
stopAllSounds();
_root.level = 6;
_root.hud_mc._visible = true;
Frame 22
stop();
stopAllSounds();
_root.level = 7;
_root.hud_mc._visible = true;
Frame 23
stop();
Frame 24
stop();
stopAllSounds();
_root.level = 8;
_root.hud_mc._visible = true;
Frame 25
stop();
stopAllSounds();
_root.level = 9;
_root.hud_mc._visible = true;
Frame 26
stop();
Frame 27
stop();
stopAllSounds();
_root.level = 10;
_root.hud_mc._visible = true;
Frame 28
stop();
_root.win = true;
Frame 29
stop();
stopAllSounds();
Frame 30
stop();
nextFrame();
Frame 31
stop();
Symbol 546 MovieClip [__Packages.classes.CollisionDetection] Frame 0
class classes.CollisionDetection
{
function CollisionDetection () {
}
static function checkForCollision(p_clip1, p_clip2, p_alphaTolerance, p_scope) {
if (p_alphaTolerance == undefined) {
p_alphaTolerance = 255;
}
if (p_scope == undefined) {
p_scope = p_clip2._parent;
}
var _local3 = p_clip1.getBounds(p_scope);
var _local2 = p_clip2.getBounds(p_scope);
if (((_local3.xMax < _local2.xMin) || (_local2.xMax < _local3.xMin)) || ((_local3.yMax < _local2.yMin) || (_local2.yMax < _local3.yMin))) {
return(null);
}
var _local1 = {};
_local1.xMin = Math.max(_local3.xMin, _local2.xMin);
_local1.xMax = Math.min(_local3.xMax, _local2.xMax);
_local1.yMin = Math.max(_local3.yMin, _local2.yMin);
_local1.yMax = Math.min(_local3.yMax, _local2.yMax);
var _local8 = new flash.display.BitmapData(_local1.xMax - _local1.xMin, _local1.yMax - _local1.yMin, false);
var _local4 = p_clip1.transform.matrix;
_local4.tx = p_clip1._x - _local1.xMin;
_local4.ty = p_clip1._y - _local1.yMin;
_local8.draw(p_clip1, _local4, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, p_alphaTolerance));
_local4 = p_clip2.transform.matrix;
_local4.tx = p_clip2._x - _local1.xMin;
_local4.ty = p_clip2._y - _local1.yMin;
_local8.draw(p_clip2, _local4, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, p_alphaTolerance), "difference");
var _local6 = _local8.getColorBoundsRect(4294967295, 4278255615);
if (_local6.width == 0) {
return(null);
}
_local6.x = _local6.x + _local1.xMin;
_local6.y = _local6.y + _local1.yMin;
return(_local6);
}
}
Symbol 68 MovieClip Frame 139
_root.gotoAndStop("lblloader");
Symbol 70 Button
on (release) {
getURL ("http://www.media2win.com/admin/me2wbannertracking.asp?bannerid=1275&campaign=Two_Wheeler_Trauma _2_Addicting_Games &client=Addicting_Games&site=Two_Wheeler_Trauma _2 &creative=&b_section=&size=&fromsite=0 &link=www.games2win.com/", "_blank");
}
Symbol 77 MovieClip Frame 1
stop();
var loaded = 0;
onEnterFrame = function () {
loaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loaded >= 100) {
_root.gotoAndStop("lblgameintro");
}
};
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 2
stop();
Symbol 96 MovieClip Frame 30
stop();
Symbol 132 MovieClip Frame 1
if (!_root.playIntro) {
gotoAndStop (120);
}
if (_root.playIntroSound) {
stopAllSounds();
sound_mc.gotoAndStop(2);
}
_root.playIntroSound = false;
_root.playIntro = false;
Symbol 132 MovieClip Frame 81
stop();
story_btn.onRelease = function () {
gotoAndPlay ("story");
};
instructions_btn.onRelease = function () {
gotoAndPlay ("instructions");
};
start_btn.onRelease = function () {
_root.gotoAndStop("select");
};
Symbol 132 MovieClip Frame 90
stop();
start_btn.onRelease = function () {
_root.gotoAndStop("select");
};
back_btn.onRelease = function () {
gotoAndPlay ("lblgameintro");
};
Symbol 132 MovieClip Frame 100
stop();
start_btn.onRelease = function () {
_root.gotoAndStop("select");
};
back_btn.onRelease = function () {
gotoAndPlay ("lblgameintro");
};
Symbol 132 MovieClip Frame 101
gotoAndStop ("lblgameintro");
Symbol 136 MovieClip Frame 1
stop();
_root.allSounds.setVolume(100);
Symbol 136 MovieClip Frame 2
stop();
_root.allSounds.setVolume(0);
Symbol 161 MovieClip Frame 1
b1_btn.onRelease = function () {
_root.playerId = 1;
_root.nextFrame();
};
b2_btn.onRelease = function () {
_root.playerId = 2;
_root.nextFrame();
};
b3_btn.onRelease = function () {
_root.playerId = 4;
_root.nextFrame();
};
b4_btn.onRelease = function () {
_root.playerId = 3;
_root.nextFrame();
};
Symbol 175 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
this._visible = false;
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 176 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 181 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 120;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local4 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local4 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local4 == "back") {
_parent.bike_mc.speed = 1;
_local4 == "front";
} else {
_parent.bike_mc.speed = -1;
_local4 == "back";
}
}
stopAllSounds();
_root.timeScore = (180 - int(_root.hud_mc.time_txt.text)) * 50;
_root.levelScore = 2000 * _root.level;
_root.score = (_root.score + _root.timeScore) + _root.levelScore;
_parent.bike_mc.hit = true;
_parent.nextFrame();
onEnterFrame = null;
}
}
};
Symbol 185 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 191 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 195 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 199 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 203 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 205 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 207 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 224 MovieClip Frame 5
stop();
_root.gotoAndStop("gameOver");
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 2
stop();
Symbol 227 MovieClip Frame 2
stop();
Symbol 242 MovieClip Frame 5
stop();
_root.gotoAndStop("gameOver");
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 2
stop();
Symbol 254 MovieClip Frame 5
stop();
_root.gotoAndStop("gameOver");
Symbol 255 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 2
stop();
Symbol 266 MovieClip Frame 5
stop();
_root.gotoAndStop("gameOver");
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
stop();
Symbol 268 MovieClip Frame 1
function adjust(v, threshold, maximum) {
vx = 0;
if (v <= threshold) {
vx = (v / threshold) * 1;
} else {
vx = 1;
}
return(vx);
}
function move() {
this._rotation = (angle * 180) / 3.141593;
UD = Key.isDown(38) - Key.isDown(40);
LR = (Key.isDown(39) - Key.isDown(37)) / 2;
HAND = Key.isDown(32);
if (LR) {
angle = angle + (((LR * UD) * steer) * adjust(Math.abs(speed), steer_threshold, MAXSpd));
} else {
turnskidding = false;
}
if (!UD) {
speed = speed * drift;
} else if (UD & (!HAND)) {
speed = Math.min(Math.max(speed + (UD * accel), MINspd), MAXspd);
}
if (Math.abs(speed) < (accel / 2)) {
speed = 0;
}
if (HAND) {
speed = speed * handbrake;
if (speed == 0) {
var _local4 = new Object();
_local4.x = this._x;
_local4.y = this._y;
_parent.localToGlobal(_local4);
blights = _root.attachMovie("breaklite", "breaklite", 100);
blights._x = _local4.x;
blights._y = _local4.y;
blights._rotation = this._rotation;
}
if (speed > MAXskiddisplay) {
steer = steer_handbrake;
}
traction = handbrake_traction / surface;
} else {
blights.removeMovieClip();
skidding = false;
traction = Math.max(traction_max, Math.abs((speed - MAXturnSpd) / surface));
steer = steer_normal;
}
if (speed <= 0) {
traction = 1;
}
this._x = this._x + ((vector[0] = vector[0] + (((Math.cos(angle) * speed) - vector[0]) / traction)));
if (_parent.road_mc._y >= roadYpos1) {
dir = "down";
} else if (_parent.road_mc._y <= roadYpos2) {
dir = "up";
}
if (dir == "up") {
if (this._y > 0) {
this._y = this._y + ((vector[1] = vector[1] + (((Math.sin(angle) * speed) - vector[1]) / traction)));
} else {
_parent.road_mc._y = _parent.road_mc._y - ((vector[1] = vector[1] + (((Math.sin(angle) * speed) - vector[1]) / traction)));
}
} else if (dir == "down") {
if (this._y < 0) {
this._y = this._y + ((vector[1] = vector[1] + (((Math.sin(angle) * speed) - vector[1]) / traction)));
} else {
_parent.road_mc._y = _parent.road_mc._y - ((vector[1] = vector[1] + (((Math.sin(angle) * speed) - vector[1]) / traction)));
}
}
}
var blights;
_root.hud_mc._visible = true;
_root.hud_mc.timer = 0;
gotoAndStop(_root.playerId);
var accel = 0.3;
var steer = 0.04;
var steer_normal = 0.08;
var steer_handbrake = 0.099;
var steer_threshold = 4;
var MINspd = -5;
var MAXspd = 15;
var MAXskiddisplay = 2;
var MAXturnSpd = 10;
var MaxTurnSkid = 18;
var deccel = 0.92;
var handbrake = 0.33;
var handbrake_traction = 20;
var drift = 0.58;
var speed = 0;
var surface = 3;
var traction = 2;
var traction_max = 1;
var vector = [0, 0];
var angle = ((this._rotation / 180) * 3.141593);
var skidding = false;
var turnskidding = false;
var hit = false;
var dir = "up";
var roadXpos2 = _parent.road_mc._x;
var roadXpos1 = ((_parent.road_mc._x + _parent.road_mc._width) + 20);
var roadYpos2 = _parent.road_mc._y;
var roadYpos1 = ((_parent.road_mc._y + (_parent.road_mc._height / 2)) - 160);
onEnterFrame = function () {
if (hit != true) {
move();
}
};
stop();
Symbol 268 MovieClip Frame 2
stop();
Symbol 268 MovieClip Frame 3
stop();
Symbol 268 MovieClip Frame 4
stop();
Symbol 279 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 280 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 282 MovieClip Frame 1
onEnterFrame = function () {
if (((Key.isDown(38) || (Key.isDown(40))) || (Key.isDown(37))) || (Key.isDown(39))) {
onEnterFrame = null;
this._visible = false;
}
};
Symbol 285 MovieClip Frame 1
onEnterFrame = function () {
if (((Key.isDown(38) || (Key.isDown(40))) || (Key.isDown(37))) || (Key.isDown(39))) {
onEnterFrame = null;
this._visible = false;
}
};
Symbol 288 MovieClip Frame 29
stop();
Symbol 290 MovieClip Frame 1
Symbol 290 MovieClip Frame 2
stop();
Symbol 304 MovieClip Frame 1
next_btn.onRelease = function () {
_root.nextFrame();
};
Symbol 305 MovieClip Frame 6
stop();
Symbol 305 MovieClip Frame 7
stop();
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 2
stop();
_root.hud_mc._visible = false;
Symbol 313 MovieClip Frame 1
var timer = 0;
onEnterFrame = function () {
if (timer < 4500) {
timer++;
time_txt.text = Math.round(timer / 25);
}
};
Symbol 320 MovieClip Frame 1
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
};
Symbol 323 MovieClip Frame 1
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
};
Symbol 331 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 334 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 335 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 336 MovieClip Frame 13
stop();
_root.nextFrame();
Symbol 337 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 338 MovieClip Frame 1
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
};
Symbol 339 MovieClip Frame 1
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
};
Symbol 340 MovieClip Frame 1
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
};
Symbol 341 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 343 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 2
stop();
_root.hud_mc._visible = false;
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 2
stop();
_root.hud_mc._visible = false;
Symbol 360 MovieClip Frame 71
stop();
Symbol 367 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 370 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 373 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 376 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 391 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 393 MovieClip Frame 29
stop();
Symbol 395 MovieClip Frame 1
Symbol 395 MovieClip Frame 2
stop();
Symbol 396 MovieClip Frame 1
stop();
Instance of Symbol 364 MovieClip "road_mc" in Symbol 396 MovieClip Frame 1
/* no clip actions */
Symbol 396 MovieClip Frame 2
stop();
_root.hud_mc._visible = false;
Symbol 397 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Instance of Symbol 364 MovieClip "road_mc" in Symbol 398 MovieClip Frame 2
/* no clip actions */
Symbol 398 MovieClip Frame 9
stop();
_root.nextFrame();
Instance of Symbol 364 MovieClip "road_mc" in Symbol 398 MovieClip Frame 9
/* no clip actions */
Symbol 399 MovieClip Frame 1
stop();
Instance of Symbol 364 MovieClip "road_mc" in Symbol 399 MovieClip Frame 1
/* no clip actions */
Symbol 399 MovieClip Frame 2
stop();
_root.hud_mc._visible = false;
Symbol 405 MovieClip Frame 58
stop();
_root.nextFrame();
Symbol 407 MovieClip Frame 1
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
};
Symbol 408 MovieClip Frame 1
stop();
Instance of Symbol 364 MovieClip "road_mc" in Symbol 408 MovieClip Frame 1
/* no clip actions */
Symbol 408 MovieClip Frame 2
stop();
_root.hud_mc._visible = false;
Symbol 418 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 421 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 423 MovieClip Frame 29
stop();
Symbol 425 MovieClip Frame 1
Symbol 425 MovieClip Frame 2
stop();
Symbol 426 MovieClip Frame 1
stop();
Symbol 426 MovieClip Frame 2
stop();
_root.hud_mc._visible = false;
Symbol 436 MovieClip Frame 8
stop();
_root.nextFrame();
Symbol 437 MovieClip Frame 1
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
};
Symbol 438 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 439 MovieClip Frame 1
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
};
Symbol 440 MovieClip Frame 1
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
};
Symbol 441 MovieClip Frame 1
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
};
Symbol 446 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 447 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 448 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 2
stop();
_root.hud_mc._visible = false;
Symbol 456 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 459 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 462 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 463 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 469 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 470 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 473 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 475 MovieClip Frame 29
stop();
Symbol 477 MovieClip Frame 1
Symbol 477 MovieClip Frame 2
stop();
Symbol 478 MovieClip Frame 1
stop();
Symbol 478 MovieClip Frame 2
stop();
_root.hud_mc._visible = false;
Symbol 479 MovieClip Frame 8
stop();
_root.nextFrame();
Symbol 487 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 488 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 491 MovieClip Frame 1
function checkCollision(mc2, mc1, tolerance, scope) {
var _local1 = classes.CollisionDetection.checkForCollision(mc1, mc2, 120);
return(_local1);
}
var scope = _parent;
var tolerance = 256;
var initPosX = (_parent.road_mc._x - this._x);
var initPosY = (_parent.road_mc._y - this._y);
onEnterFrame = function () {
if (_parent.bike_mc.hit) {
this.stop();
}
this._x = _parent.road_mc._x - initPosX;
this._y = _parent.road_mc._y - initPosY;
if (this.hitTest(_parent.bike_mc.target_mc)) {
if ((checkCollision(this, _parent.bike_mc) != undefined) || (checkCollision(this, _parent.bike_mc) != null)) {
if (_parent.bike_mc.UD == -1) {
_parent.bike_mc.speed = 1;
var _local3 = "back";
} else if (_parent.bike_mc.UD == 1) {
_parent.bike_mc.speed = -1;
var _local3 = "front";
} else if (_parent.bike_mc.UD == 0) {
if (_local3 == "back") {
_parent.bike_mc.speed = 1;
_local3 == "front";
} else {
_parent.bike_mc.speed = -1;
_local3 == "back";
}
}
stopAllSounds();
_parent.bike_mc.hit = true;
_parent.bike_mc.target_mc.gotoAndStop(2);
onEnterFrame = null;
}
}
};
Symbol 492 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 2
stop();
_root.hud_mc._visible = false;
Symbol 501 MovieClip Frame 63
stop();
next_btn.onRelease = function () {
_root.nextFrame();
};
Symbol 504 MovieClip Frame 1
if (_root.win) {
this._visible = false;
}
Symbol 515 Button
on (release) {
_root.swHighScoreObject.showTab = "view";
docount = true;
loadMovieNum (_root.HSHubURL, 2);
}
Symbol 519 Button
on (release) {
_root.swHighScoreObject.showTab = "submit";
docount = true;
loadMovieNum (_root.HSHubURL, 2);
}
Symbol 521 MovieClip Frame 1
playAgain_btn.onRelease = function () {
_root.playAgain();
};
if (_root.score == 0) {
_root.score = 10;
}
_level0.swHighScoreObject.player1Score = _root.score;
trace("_level0.swHighScoreObject.player1Score " + _level0.swHighScoreObject.player1Score);
Instance of Symbol 520 MovieClip in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100033);
docount = false;
}
onClipEvent (enterFrame) {
if (docount) {
trycount++;
if ((_level2.getBytesTotal() == -1) && (trycount > 60)) {
docount = false;
trycount = 0;
}
}
}
Symbol 522 MovieClip Frame 8
stop();
Symbol 522 MovieClip Frame 9
stop();
Symbol 523 MovieClip Frame 8
stop();
Symbol 545 MovieClip Frame 1
stop();
playAgain_btn.onRelease = function () {
_root.score = 0;
_root.playIntro = true;
_root.playIntroSound = true;
_root.level = 1;
_root.gotoAndStop("lblgameintro");
};
mainMenu_btn.onRelease = function () {
_root.score = 0;
_root.level = 1;
_root.gotoAndStop("select");
};