Frame 1
if ((_root.getBytesLoaded() / _root.getBytesTotal()) == 1) {
_root.gotoAndPlay(2);
}
setProperty("_root.Diagnostics", _visible , "0");
stop();
Instance of Symbol 22 MovieClip "pre" in Frame 1
onClipEvent (enterFrame) {
percent = _root.getBytesLoaded() / _root.getBytesTotal();
actual_percent = Math.round(percent * 100);
_root.loadingbar.greenbar._xscale = percent * 100;
if (percent == 1) {
_root.gotoandPlay(2);
}
}
onClipEvent (enterFrame) {
if ((_root.getBytesLoaded() / _root.getBytesTotal()) == 1) {
_root.gotoAndPlay(2);
}
}
Frame 2
function ;() {
_root.pts = 0;
_root.score = 0;
_root.speed = 0;
_root.cams = 0;
_root.totcams = 0;
_root.truescore = 0;
_root.Diagnostics.samangle = 0;
_root.samLimit = 0;
_root.camlefthit = 0;
_root.camrighthit = 0;
_root.carx = 275;
_root.cary = 480;
_root.sum = 835;
}
getURL ("http://www.galaxygraphics.co.uk/ck2.php", "_blank");
;();
box1 = prefix;
stop();
Instance of Symbol 80 MovieClip "sam" in Frame 7
onClipEvent (load) {
samMoveSpeed = 20;
this._y = _root.car._y - 20;
this._x = _root.car._x;
}
onClipEvent (enterFrame) {
this._y = this._y - samMoveSpeed;
if (this._y < -50) {
_root.Diagnostics.samLimit--;
if (_root.Diagnostics.samLimit < 0) {
_root.Diagnostics.samLimit = 0;
}
_root.Diagnostics.currentbullets--;
this.removeMovieClip();
this._y = 10000;
}
if (this.hitTest(_root.camleft.mathcam)) {
_level0.collisioncheck = "ivebeenshot";
_root.camlefthit = 1;
_root.Diagnostics.samLimit--;
if (_root.Diagnostics.samLimit < 0) {
_root.Diagnostics.samLimit = 0;
}
_root.Diagnostics.currentbullets--;
tellTarget (_root.camleft) {
gotoAndPlay (2);
};
this.removeMovieClip();
}
if (this.hitTest(_root.camright.mathcam)) {
_level0.collisioncheck = "ivebeenshot";
_root.camrighthit = 1;
_root.Diagnostics.samLimit--;
if (_root.Diagnostics.samLimit < 0) {
_root.Diagnostics.samLimit = 0;
}
_root.Diagnostics.currentbullets--;
tellTarget (_root.camright) {
gotoAndPlay (2);
};
this.removeMovieClip();
}
}
Frame 10
function [() {
_root.speed = 15;
_root.totcams = 0;
_root.ambient1.gotoAndStop(2);
_root.ambient2.gotoAndStop(3);
_root.ambient3.gotoAndStop(5);
_root.pts = 0;
Mouse.hide();
}
[();
Instance of Symbol 89 MovieClip "ambient1" in Frame 10
onClipEvent (load) {
}
onClipEvent (enterFrame) {
pigsspeed = _root.speed;
actualpigsspeed = (pigsspeed = pigsspeed - 8);
this._y = this._y + actualpigsspeed;
if (this._y > 800) {
randy = Math.random();
result = randy * 1000;
if (result > 300) {
result = 300;
}
setting = result * -1;
setProperty(this, _y , setting);
colselect = Math.round(Math.random() * 10);
tellTarget (this) {
gotoAndStop(colselect);
};
}
if (this._y < -300) {
setProperty(this, _y , 660);
tellTarget (this) {
gotoAndStop (3);
};
}
}
Instance of Symbol 89 MovieClip "ambient2" in Frame 10
onClipEvent (load) {
}
onClipEvent (enterFrame) {
pigsspeed = _root.speed;
actualpigsspeed = (pigsspeed = pigsspeed - 13);
this._y = this._y + actualpigsspeed;
if (this._y > 800) {
randy = math.random();
result = randy * 1000;
if (result > 300) {
result = 300;
}
setting = result * -1;
setProperty(this, _y , setting);
colselect = Math.round(Math.random() * 10);
tellTarget (this) {
gotoAndStop(colselect);
};
}
if (this._y < -300) {
setProperty(this, _y , 660);
}
}
Instance of Symbol 89 MovieClip "ambient3" in Frame 10
onClipEvent (load) {
}
onClipEvent (enterFrame) {
pigsspeed = _root.speed;
actualpigsspeed = (pigsspeed = pigsspeed - 17);
this._y = this._y + actualpigsspeed;
if (this._y > 800) {
randy = math.random();
result = randy * 1000;
if (result > 300) {
result = 300;
}
setting = result * -1;
setProperty(this, _y , setting);
colselect = Math.round(Math.random() * 10);
tellTarget (this) {
gotoAndStop(colselect);
};
}
if (this._y < -300) {
setProperty(this, _y , 660);
}
}
Instance of Symbol 101 MovieClip in Frame 11
onClipEvent (load) {
}
onClipEvent (enterFrame) {
camspeed2 = _root.speed;
this._y = this._y + camspeed2;
if (this._y > 1050) {
setProperty(this, _y , -50);
}
}
Instance of Symbol 101 MovieClip in Frame 11
onClipEvent (load) {
}
onClipEvent (enterFrame) {
camspeed2 = _root.speed;
this._y = this._y + camspeed2;
if (this._y > 650) {
setProperty(this, _y , -450);
}
}
Instance of Symbol 104 MovieClip "bushes1" in Frame 11
onClipEvent (load) {
}
onClipEvent (enterFrame) {
camspeed2 = _root.speed;
this._y = this._y + camspeed2;
if (this._y > 650) {
randy = Math.random();
result = randy * 1000;
if (result > 300) {
result = 300;
}
setting = result * -1;
setProperty(this, _y , setting);
treerot = Math.random() * 360;
setProperty(this, _rotation , treerot);
}
}
Instance of Symbol 104 MovieClip in Frame 11
onClipEvent (load) {
}
onClipEvent (enterFrame) {
camspeed2 = _root.speed;
this._y = this._y + camspeed2;
if (this._y > 650) {
randy = Math.random();
result = randy * 1000;
if (result > 300) {
result = 300;
}
setting = result * -1;
setProperty(this, _y , setting);
treerot = Math.random() * 360;
setProperty(this, _rotation , treerot);
}
}
Instance of Symbol 118 MovieClip "camleft" in Frame 11
onClipEvent (load) {
}
onClipEvent (enterFrame) {
camspeed2 = _root.speed;
this._y = this._y + camspeed2;
if (this._y > 700) {
randy = Math.random();
result = randy * 1000;
if (result > 300) {
result = 300;
}
setting = result * -1;
setProperty(this, _y , setting);
_root.camlefthit = 0;
_level0.collisioncheck = "ive been reset";
iamhit = 0;
tellTarget (this) {
gotoAndStop (1);
};
}
if ((_root.camlefthit == 0) && (this._y > 490)) {
tellTarget (this) {
gotoAndStop (5);
};
}
}
Instance of Symbol 118 MovieClip "camright" in Frame 11
onClipEvent (load) {
}
onClipEvent (enterFrame) {
camspeed2 = _root.speed;
this._y = this._y + camspeed2;
if (this._y > 700) {
randy = Math.random();
result = randy * 1000;
if (result > 500) {
result = 500;
}
setting = result * -1;
setProperty(this, _y , setting);
_root.camrighthit = 0;
_level0.collisioncheck = "ive been reset";
iamhit = 0;
tellTarget (this) {
gotoAndStop (1);
};
}
if ((_root.camrighthit == 0) && (this._y > 490)) {
tellTarget (this) {
gotoAndStop (5);
};
}
}
Instance of Symbol 124 MovieClip "car" in Frame 11
onClipEvent (load) {
function &() {
_root.speed++;
}
function \u0002() {
_root.speed--;
}
function \u0004() {
samCounter++;
_root.Diagnostics.samLimit++;
_root.sam.duplicateMovieClip("sam" + samCounter, samCounter);
_root.Diagnostics.currentbullets++;
_root["sam" + samCounter]._visible = true;
_root.gunshot.gotoAndPlay(2);
}
turnspeed = 11;
setProperty("/car", _x , _root.carx);
setProperty("/car", _y , _root.cary);
_root.sam._visible = false;
samCounter = 1;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (_root.speed > 0)) {
this._x = this._x + turnspeed;
if (this._x > 425) {
this._x = 425;
}
setProperty(this, _rotation , "10");
} else if (Key.isDown(37) && (_root.speed > 0)) {
this._x = this._x - turnspeed;
if (this._x < 115) {
this._x = 115;
}
setProperty(this, _rotation , "-10");
} else {
setProperty(this, _rotation , "0");
}
if (Key.isDown(40)) {
\x02();
} else if (Key.isDown(38)) {
&();
}
if (Key.isDown(32) && (_root.Diagnostics.samLimit < 4)) {
\x04();
}
if (_root.speed < 0) {
_root.speed = 0;
}
if (_root.speed == 80) {
_root.speed = 79;
}
if (_level0.pts > 30) {
_root.speed = 0;
_root.gotoAndPlay(36);
}
if (this.frontbump.hitTest(_root.tree1.trunk)) {
this.gotoAndPlay(2);
tellTarget ("_root.5pts") {
gotoAndPlay (2);
};
}
if (this.frontbump.hitTest(_root.tree2.trunk)) {
this.gotoAndPlay(2);
tellTarget ("_root.5pts") {
gotoAndPlay (2);
};
}
if (this.frontbump.hitTest(_root.tree3.trunk)) {
tellTarget (this) {
gotoAndPlay (2);
};
tellTarget ("_root.5pts") {
gotoAndPlay (2);
};
}
if (this.frontbump.hitTest(_root.ambient1)) {
tellTarget (this) {
gotoAndPlay (2);
};
tellTarget ("_root.5pts") {
gotoAndPlay (2);
};
_root.speed = 5;
}
if (this.frontbump.hitTest(_root.ambient2)) {
this.gotoAndPlay(2);
tellTarget ("_root.5pts") {
gotoAndPlay (2);
};
_root.speed = 5;
}
if (this.frontbump.hitTest(_root.ambient3)) {
this.gotoAndPlay(2);
tellTarget ("_root.5pts") {
gotoAndPlay (2);
};
_root.speed = 5;
}
if (this.rearbump.hitTest(_root.ambient1)) {
tellTarget (this) {
gotoAndPlay (2);
};
tellTarget ("_root.5pts") {
gotoAndPlay (2);
};
_root.speed = 13;
}
if (this.rearbump.hitTest(_root.ambient2)) {
tellTarget (this) {
gotoAndPlay (2);
};
tellTarget ("_root.5pts") {
gotoAndPlay (2);
};
_root.speed = 18;
}
if (this.rearbump.hitTest(_root.ambient3)) {
tellTarget (this) {
gotoAndPlay (2);
};
tellTarget ("_root.5pts") {
gotoAndPlay (2);
};
_root.speed = 22;
}
_root.carx = this._x;
_root.cary = this._y;
}
Instance of Symbol 128 MovieClip "tree2" in Frame 11
onClipEvent (load) {
function ~() {
camspeed2 = _root.speed;
this._y = this._y + camspeed2;
if (this._y > 650) {
randy = Math.random();
result = randy * 1000;
if (result > 300) {
result = 300;
}
setting = result * -1;
setProperty(this, _y , setting);
treerot = Math.random() * 360;
setProperty(this, _rotation , treerot);
}
}
}
onClipEvent (enterFrame) {
~();
}
Instance of Symbol 128 MovieClip "tree1" in Frame 11
onClipEvent (load) {
function ~() {
camspeed2 = _root.speed;
this._y = this._y + camspeed2;
if (this._y > 650) {
randy = Math.random();
result = randy * 1000;
if (result > 300) {
result = 300;
}
setting = result * -1;
setProperty(this, _y , setting);
treerot = Math.random() * 360;
setProperty(this, _rotation , treerot);
}
}
}
onClipEvent (enterFrame) {
~();
}
Instance of Symbol 128 MovieClip "tree3" in Frame 11
onClipEvent (load) {
}
onClipEvent (enterFrame) {
camspeed2 = _root.speed;
this._y = this._y + camspeed2;
if (this._y > 750) {
randy = math.random();
result = randy * 1000;
if (result > 500) {
result = 500;
}
setting = result * -1;
setProperty(this, _y , setting);
treerot = Math.random() * 360;
setProperty(this, _rotation , treerot);
}
}
Instance of Symbol 128 MovieClip "tree4" in Frame 11
onClipEvent (load) {
}
onClipEvent (enterFrame) {
camspeed2 = _root.speed;
this._y = this._y + camspeed2;
if (this._y > 750) {
randy = math.random();
result = randy * 1000;
if (result > 800) {
result = 800;
}
setting = result * -1;
setProperty(this, _y , setting);
treerot = Math.random() * 360;
setProperty(this, _rotation , treerot);
}
}
Instance of Symbol 128 MovieClip "tree5" in Frame 11
onClipEvent (load) {
}
onClipEvent (enterFrame) {
camspeed2 = _root.speed;
this._y = this._y + camspeed2;
if (this._y > 750) {
randy = math.random();
result = randy * 1000;
if (result > 800) {
result = 800;
}
setting = result * -1;
setProperty(this, _y , setting);
treerot = Math.random() * 360;
setProperty(this, _rotation , treerot);
}
}
Instance of Symbol 155 MovieClip "level" in Frame 11
onClipEvent (load) {
lev = 0;
}
onClipEvent (enterFrame) {
if (_root.totcams == 15) {
tellTarget (this) {
gotoAndPlay ("lev1");
lev = 1;
};
}
if ((_root.totcams == 30) && (lev == 1)) {
tellTarget (this) {
gotoAndPlay ("lev2");
lev = 2;
};
}
if ((_root.totcams == 45) && (lev == 2)) {
tellTarget (this) {
gotoAndPlay ("lev3");
lev = 3;
};
}
if ((_root.totcams == 60) && (lev == 3)) {
tellTarget (this) {
gotoAndPlay ("lev4");
lev = 4;
};
}
if ((_root.totcams == 75) && (lev == 4)) {
tellTarget (this) {
gotoAndPlay ("lev5");
lev = 5;
};
}
if ((_root.totcams == 90) && (lev == 5)) {
tellTarget (this) {
gotoAndPlay ("lev6");
lev = 6;
};
}
if ((_root.totcams == 105) && (lev == 6)) {
tellTarget (this) {
gotoAndPlay ("lev7");
lev = 7;
};
}
if ((_root.totcams == 120) && (lev == 7)) {
tellTarget (this) {
gotoAndPlay ("lev8");
lev = 8;
};
}
if ((_root.totcams == 135) && (lev == 8)) {
tellTarget (this) {
gotoAndPlay ("lev9");
lev = 9;
};
}
if ((_root.totcams == 150) && (lev == 9)) {
tellTarget (this) {
gotoAndPlay ("lev10");
lev = 10;
};
}
if ((_root.totcams == 165) && (lev == 10)) {
tellTarget (this) {
gotoAndPlay ("lev11");
lev = 11;
};
}
if ((_root.totcams == 180) && (lev == 11)) {
tellTarget (this) {
gotoAndPlay ("lev12");
lev = 12;
};
}
}
Frame 35
gotoAndPlay (11);
Frame 36
_root.speed = 0;
setProperty("_root.car", _x , "290");
_root.sum++;
Mouse.show();
Instance of Symbol 124 MovieClip "car" in Frame 36
/* no clip actions */
Frame 55
stop();
Frame 56
stop();
Instance of Symbol 4 MovieClip "greenbar" in Symbol 10 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 0;
}
Instance of Symbol 10 MovieClip "loadingbar" in Symbol 22 MovieClip Frame 1
onClipEvent (enterFrame) {
percent = _root.getBytesLoaded() / _root.getBytesTotal();
actual_percent = Math.round(percent * 100);
_root.pre.loadingbar.greenbar._xscale = percent * 100;
if (percent == 1) {
_root.gotoandPlay(2);
}
}
onClipEvent (enterFrame) {
if ((_root.getBytesLoaded() / _root.getBytesTotal()) == 1) {
_root.gotoAndPlay(2);
}
}
Symbol 51 MovieClip Frame 5
stop();
Symbol 52 Button
on (release) {
tellTarget ("_root") {
gotoAndPlay (2);
};
}
Symbol 66 Button
on (release) {
getURL ("http://www.mfhughes.com", "_blank");
}
Symbol 68 Button
on (release) {
getURL ("http://www.mfhughes.com", "_blank");
}
Symbol 82 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
stop();
Symbol 89 MovieClip Frame 3
stop();
Symbol 89 MovieClip Frame 4
stop();
Symbol 89 MovieClip Frame 5
stop();
Symbol 89 MovieClip Frame 6
stop();
Symbol 89 MovieClip Frame 7
stop();
Symbol 89 MovieClip Frame 8
stop();
Symbol 89 MovieClip Frame 9
stop();
Symbol 89 MovieClip Frame 10
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 21
stop();
Symbol 117 MovieClip Frame 8
stop();
Symbol 118 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip "mathcam" in Symbol 118 MovieClip Frame 1
/* no clip actions */
Symbol 118 MovieClip Frame 2
var currentscore;
var bonus;
var rtnscore;
_root.totcams++;
currentscore = _root.score;
bonus = Math.round(_root.speed / 3);
rtnscore = bonus + currentscore;
_level0.score = rtnscore;
_level0.cams++;
tellTarget ("_root.cartooncam") {
gotoAndPlay (2);
};
Symbol 118 MovieClip Frame 4
stop();
Symbol 118 MovieClip Frame 5
_root.totcams++;
_level0.pts++;
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 8
_root.pts++;
_root.pts++;
_root.pts++;
gotoAndStop (1);
Symbol 155 MovieClip Frame 16
stop();
Symbol 155 MovieClip Frame 31
stop();
Symbol 155 MovieClip Frame 46
stop();
Symbol 155 MovieClip Frame 63
stop();
Symbol 155 MovieClip Frame 80
stop();
Symbol 155 MovieClip Frame 97
stop();
Symbol 155 MovieClip Frame 113
stop();
Symbol 155 MovieClip Frame 130
stop();
Symbol 155 MovieClip Frame 146
stop();
Symbol 155 MovieClip Frame 163
stop();
Symbol 155 MovieClip Frame 179
stop();
Symbol 155 MovieClip Frame 195
stop();
Symbol 155 MovieClip Frame 211
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 5
stop();
Symbol 183 Button
on (release) {
tellTarget (_root) {
gotoAndPlay (2);
};
}
Symbol 186 MovieClip Frame 18
stop();
Symbol 188 MovieClip Frame 34
stop();