Frame 1
loaded_bytes = Math.round(_root.getBytesLoaded());
loaded_total = Math.round(_root.getBytesTotal());
total_percent = (loaded_bytes / loaded_total) * 100;
_root.loaded_text = Math.round(total_percent) + "% Loaded";
startpoint = bar._x;
Instance of Symbol 3 MovieClip "bar" in Frame 1
onClipEvent (enterFrame) {
gotoAndStop(int((_parent.getBytesLoaded() * 100) / _parent.getBytesTotal()));
}
Frame 2
gotoAndPlay (1);
Frame 21
gotoAndPlay (22);
Frame 139
stop();
score = "0";
onUnload = function () {
stopAllSounds();
};
Instance of Symbol 21 MovieClip "guy" in Frame 140
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (_x <= 5) {
_x = (_x + speed);
} else {
_x = (_x - speed);
}
}
if (Key.isDown(39)) {
if (_x >= 545) {
_x = (_x - speed);
} else {
_x = (_x + speed);
}
}
if (Key.isDown(38)) {
if (_y <= 50) {
_y = (_y + speed);
} else {
_y = (_y - speed);
}
}
if (Key.isDown(40)) {
if (_y >= 395) {
_y = (_y - speed);
} else {
_y = (_y + speed);
}
}
}
Instance of Symbol 19 MovieClip in Frame 140
onClipEvent (load) {
xspeed = 6;
yspeed = 6;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.score++;
_root.enemies.nextFrame();
}
}
Frame 141
stopAllSounds();
Symbol 3 MovieClip Frame 1
stop();
Symbol 3 MovieClip Frame 100
_root.gotoAndPlay(3);
Symbol 8 Button
on (release) {
getURL ("http://www.startmyhomework.com", "_blank");
}
Symbol 26 Button
on (release) {
nextFrame();
}
Symbol 28 Button
on (release) {
getURL ("http://www.startmyhomework.com", "_blank");
}
Symbol 39 MovieClip Frame 1
stop();
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 1
onClipEvent (load) {
xspeed = 5;
yspeed = -5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 1
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 1
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 6
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 6
onClipEvent (load) {
xspeed = 5;
yspeed = -5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 6
onClipEvent (load) {
xspeed = 15;
yspeed = 3;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 6
onClipEvent (load) {
xspeed = 1;
yspeed = 25;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 11
onClipEvent (load) {
xspeed = 5;
yspeed = -5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 11
onClipEvent (load) {
xspeed = 8;
yspeed = 8;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 11
onClipEvent (load) {
xspeed = 15;
yspeed = 3;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 11
onClipEvent (load) {
xspeed = 1;
yspeed = 25;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 16
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 16
onClipEvent (load) {
xspeed = 8;
yspeed = 8;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 16
onClipEvent (load) {
xspeed = 15;
yspeed = 3;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 16
onClipEvent (load) {
xspeed = 1;
yspeed = 25;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 21
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 21
onClipEvent (load) {
xspeed = 1;
yspeed = 25;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 22
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 23
onClipEvent (load) {
xspeed = -5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 23
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 28
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 28
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 28
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 30
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
if (_root.guy._x > _x) {
_x = (_x+1);
_x = (_x+1);
_x = (_x+1);
}
if (_root.guy._x < _x) {
_x = (_x-1);
_x = (_x-1);
_x = (_x-1);
}
if (_root.guy._y > _y) {
_y = (_y+1);
_y = (_y+1);
_y = (_y+1);
}
if (_root.guy._y < _y) {
_y = (_y-1);
_y = (_y-1);
_y = (_y-1);
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 35
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 35
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
if (_root.guy._x > _x) {
_x = (_x+1);
_x = (_x+1);
_x = (_x+1);
}
if (_root.guy._x < _x) {
_x = (_x-1);
_x = (_x-1);
_x = (_x-1);
}
if (_root.guy._y > _y) {
_y = (_y+1);
_y = (_y+1);
_y = (_y+1);
}
if (_root.guy._y < _y) {
_y = (_y-1);
_y = (_y-1);
_y = (_y-1);
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 35
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 35
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
if (_root.guy._x > _x) {
_x = (_x+1);
_x = (_x+1);
_x = (_x+1);
}
if (_root.guy._x < _x) {
_x = (_x-1);
_x = (_x-1);
_x = (_x-1);
}
if (_root.guy._y > _y) {
_y = (_y+1);
_y = (_y+1);
_y = (_y+1);
}
if (_root.guy._y < _y) {
_y = (_y-1);
_y = (_y-1);
_y = (_y-1);
}
}
Instance of Symbol 17 MovieClip in Symbol 39 MovieClip Frame 35
onClipEvent (load) {
xspeed = 5;
yspeed = 5;
}
onClipEvent (enterFrame) {
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x <= 5) {
xspeed = -xspeed;
}
if (_x >= 545) {
xspeed = -xspeed;
}
if (_y <= 50) {
yspeed = -yspeed;
}
if (_y >= 395) {
yspeed = -yspeed;
}
if (this.hitTest(_root.guy)) {
_root.gotoAndStop("gameover");
}
if (_root.guy._x > _x) {
_x = (_x+1);
_x = (_x+1);
_x = (_x+1);
}
if (_root.guy._x < _x) {
_x = (_x-1);
_x = (_x-1);
_x = (_x-1);
}
if (_root.guy._y > _y) {
_y = (_y+1);
_y = (_y+1);
_y = (_y+1);
}
if (_root.guy._y < _y) {
_y = (_y-1);
_y = (_y-1);
_y = (_y-1);
}
}
Symbol 45 Button
on (release) {
gotoAndStop (139);
}
Symbol 50 Button
on (release) {
getURL ("http://www.startmyhomework.com", "_blank");
}