Frame 1
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
_root.loadBar.gotoAndStop(Math.round(getPercent * 100));
_root.loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay("nomenu");
}
Frame 2
gotoAndPlay (1);
Frame 3
Stage.showMenu = false;
Frame 11
stop();
Frame 12
stop();
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x + 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x + 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x + 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x - 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x - 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x - 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x - 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x - 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x - 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x - 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x + 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x + 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 47 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
rand = Math.floor(Math.random() * 3) + 1;
this.gotoAndStop(rand);
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x + 2;
rand3 = Math.floor(Math.random() * 3) + 1;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this._x < -200) {
this._x = 800;
die = 0;
this._y = rand;
this.gotoAndStop(rand3);
}
if (this.hitTest(_root.player.eater)) {
if (die == 0) {
this.gotoAndPlay("die");
die = 1;
_global.score = (_global.score * 1) + 10;
_root.player.shark1.head.play();
}
}
}
Instance of Symbol 74 MovieClip "player" in Frame 12
onClipEvent (load) {
_global.score = 0;
myXspeed = 0;
myYspeed = 0;
maxspeed = 5;
accelerator = 0.3;
_global.xgo;
_global.ygo;
playerdir = 0;
}
onClipEvent (enterFrame) {
_root.score.text = _global.score;
stopx = 0;
if (Key.isDown(39)) {
if (playerdir == 0) {
this.gotoAndPlay("right");
playerdir = 1;
}
myXspeed = myXspeed - accelerator;
if (myXspeed < (-maxspeed)) {
myXspeed = -maxspeed;
}
_global.xgo = myXspeed;
} else {
stopx++;
}
if (Key.isDown(37)) {
if (playerdir == 1) {
this.gotoAndPlay("left");
playerdir = 0;
}
myXspeed = myXspeed + accelerator;
if (myXspeed > maxspeed) {
myXspeed = maxspeed;
}
_global.xgo = myXspeed;
} else {
stopx++;
}
if ((_root.topdepth1._y + 650) < this._y) {
if (_global.ygo < 0) {
_global.ygo = 0;
}
}
if ((_root.topdepth1._y + 20) > this._y) {
if (_global.ygo > 0) {
_global.ygo = 0;
}
}
if (Key.isDown(38)) {
myYspeed = myYspeed + (accelerator / 2);
if (myYspeed > (maxspeed / 2)) {
myYspeed = maxspeed / 2;
}
if ((_root.topdepth1._y + 20) > this._y) {
myYspeed = 0;
}
_global.ygo = myYspeed;
}
if (Key.isDown(40)) {
myYspeed = myYspeed - (accelerator / 2);
if (myYspeed < ((-maxspeed) / 2)) {
myYspeed = (-maxspeed) / 2;
}
if ((_root.topdepth1._y + 650) < this._y) {
myYspeed = 0;
}
_global.ygo = myYspeed;
}
if (Key.isDown(32)) {
}
_root.topdepth1._x = _root.topdepth1._x + _global.xgo;
_root.topdepth2._x = _root.topdepth2._x + _global.xgo;
_root.topdepth3._x = _root.topdepth3._x + _global.xgo;
_root.topdepth1._y = _root.topdepth1._y + _global.ygo;
_root.topdepth2._y = _root.topdepth2._y + _global.ygo;
_root.topdepth3._y = _root.topdepth3._y + _global.ygo;
if (_root.topdepth3._x > 886.4) {
_root.topdepth3.gotoAndStop(_root.topdepth3._currentframe + 1);
_root.topdepth3._x = _root.topdepth1._x - 704.2;
}
if (_root.topdepth2._x > 886.4) {
_root.topdepth2.gotoAndStop(_root.topdepth2._currentframe + 1);
_root.topdepth2._x = _root.topdepth3._x - 704.2;
}
if (_root.topdepth1._x > 886.4) {
_root.topdepth1.gotoAndStop(_root.topdepth1._currentframe + 1);
_root.topdepth1._x = _root.topdepth2._x - 704.2;
}
if (_root.topdepth3._x < -1035.4) {
_root.topdepth3.gotoAndStop(_root.topdepth3._currentframe - 1);
_root.topdepth3._x = _root.topdepth2._x + 704.2;
}
if (_root.topdepth2._x < -1035.4) {
_root.topdepth2.gotoAndStop(_root.topdepth2._currentframe - 1);
_root.topdepth2._x = _root.topdepth1._x + 704.2;
}
if (_root.topdepth1._x < -1035.4) {
_root.topdepth1.gotoAndStop(_root.topdepth1._currentframe - 1);
_root.topdepth1._x = _root.topdepth3._x + 704.2;
}
}
Instance of Symbol 84 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x - 6;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this._x < -200) {
this._x = 800;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
}
Instance of Symbol 84 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x + 6;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this._x < -200) {
this._x = 800;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
}
Instance of Symbol 84 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x - 6;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this._x < -200) {
this._x = 800;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
}
Instance of Symbol 84 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x + 6;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this._x < -200) {
this._x = 800;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
}
Instance of Symbol 84 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x + 6;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this._x < -200) {
this._x = 800;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
}
Instance of Symbol 84 MovieClip in Frame 12
onClipEvent (load) {
die = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + _global.xgo;
this._y = this._y + _global.ygo;
this._x = this._x - 6;
rand = (300 - Math.floor(Math.random() * 799)) + 1;
rand2 = Math.floor(Math.random() * 299) + 1;
if (rand < _root.topdepth1._y) {
rand = (_root.topdepth1._y + rand2) + 30;
}
if (this._x > 900) {
this._x = -200;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this._x < -200) {
this._x = 800;
gotoAndPlay (12);
die = 0;
this._y = rand;
}
if (this.eater.hitTest(_root.player)) {
if (die == 0) {
_root.play();
}
}
}
Frame 13
stop();
_root.score.text = _global.score;
Symbol 30 Button
on (press) {
gotoAndStop ("gamestart");
}
Symbol 33 Button
on (press) {
getURL ("http://spamtheweb.com/ul/upload/3108/74061_shark.fla", _blank);
}
Symbol 36 Button
on (press) {
gotoAndStop ("infostart");
}
Symbol 47 MovieClip Frame 1
_root.shark1._y = _root.shark1._y + 6;
stop();
Symbol 47 MovieClip Frame 2
stop();
Symbol 47 MovieClip Frame 3
stop();
Symbol 47 MovieClip Frame 67
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 7
stop();
Instance of Symbol 70 MovieClip "eater" in Symbol 74 MovieClip Frame 7
onClipEvent (enterFrame) {
this._alpha = 0;
}
Symbol 74 MovieClip Frame 14
stop();
Instance of Symbol 70 MovieClip "eater" in Symbol 74 MovieClip Frame 14
onClipEvent (enterFrame) {
this._alpha = 0;
}
Instance of Symbol 70 MovieClip "eater" in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = 0;
}
Symbol 90 Button
on (press) {
gotoAndStop ("menustart");
}
Symbol 94 Button
on (press) {
gotoAndStop ("menustart");
}
Symbol 98 Button
on (press) {
getURL ("http://www.newgrounds.com/portal/addtocollection/474617", "_blank");
}
Symbol 99 Button
on (press) {
getURL ("http://jjwallace.newgrounds.com/", "_blank");
}