Frame 1
t = 60;
t2 = 100;
var MENU = new ContextMenu();
MENU.hideBuiltInItems();
MENU.builtInItems.quality = true;
Frame 2
if (t != 100) {
t = t + 10;
MCPreloader._alpha = t;
} else if (t2 != 40) {
t2 = t2 - 10;
MCPreloader._alpha = t2;
} else {
t = 40;
t2 = 100;
}
Frame 3
gotoAndPlay(_currentframe - 1);
Frame 34
stop();
Frame 36
rock._x = -100;
rock._y = -100;
fscommand ("allowscale", 0);
start = getTimer();
x = 0;
score = 0;
lives = 5;
hitstart = 0;
Instance of Symbol 37 MovieClip "man" in Frame 36
onClipEvent (enterFrame) {
if (((!dead) && (!almostdead)) && (_root._xmouse > 50)) {
if (_root._xmouse < this._x) {
dir = "left";
} else if (_root._xmouse > this._x) {
dir = "right";
} else {
dir = "none";
}
this._x = _root._xmouse;
if (dir != prevdir) {
if (dir == "none") {
_root.man.gotoAndPlay("1");
} else if (dir == "left") {
_root.man.gotoAndPlay("left");
} else if (dir == "right") {
_root.man.gotoAndPlay("right");
}
prevdir = dir;
}
}
}
onClipEvent (keyDown) {
if (dead && (Key.isDown(32))) {
_root.restart = true;
} else if (Key.isDown(37)) {
left = true;
right = false;
if ((!anim) && (!dead)) {
_root.man.gotoAndPlay("left");
anim = true;
}
} else if (Key.isDown(39)) {
right = true;
left = false;
if ((!anim) && (!dead)) {
_root.man.gotoAndPlay("right");
anim = true;
}
}
}
onClipEvent (keyUp) {
left = false;
right = false;
anim = false;
if (!dead) {
gotoAndPlay (36);
}
}
Instance of Symbol 46 MovieClip in Frame 36
onClipEvent (enterFrame) {
gotoAndStop (37);
}
Instance of Symbol 46 MovieClip in Frame 36
onClipEvent (enterFrame) {
gotoAndStop (37);
}
Instance of Symbol 46 MovieClip in Frame 36
onClipEvent (enterFrame) {
gotoAndStop (37);
}
Instance of Symbol 46 MovieClip in Frame 36
onClipEvent (enterFrame) {
gotoAndStop (37);
}
Instance of Symbol 46 MovieClip in Frame 36
onClipEvent (enterFrame) {
gotoAndStop (37);
}
Frame 37
manspeech._x = _xmouse - 150;
curTime = getTimer() - beginTime;
if ((5000 < curTime) && (curTime < 7000)) {
manspeech.text = "OMG! TANGERINES!!";
} else if ((15000 < curTime) && (curTime < 18000)) {
manspeech.text = "WTF??";
} else if ((25000 < curTime) && (curTime < 28000)) {
manspeech.text = "I HATE TANGERINES!";
} else if ((35000 < curTime) && (curTime < 38000)) {
manspeech.text = "WHY ARE THEY SO BIG??";
} else if ((45000 < curTime) && (curTime < 47000)) {
manspeech.text = "WHERE ARE THEY ALL COMING FROM!?";
} else if ((50000 < curTime) && (curTime < 52000)) {
manspeech.text = "HELP!!";
} else if ((55000 < curTime) && (curTime < 57000)) {
manspeech.text = "ARRGHHH!!!";
} else if ((65000 < curTime) && (curTime < 68000)) {
manspeech.text = "THIS IS HORRIBLE!!";
} else if ((75000 < curTime) && (curTime < 82000)) {
manspeech.text = ":-(";
} else if ((85000 < curTime) && (curTime < 88000)) {
manspeech.text = "#*!@#!";
} else if ((95000 < curTime) && (curTime < 98000)) {
manspeech.text = "GODAMN TANGERINES!";
} else if ((105000 < curTime) && (curTime < 108000)) {
manspeech.text = "ARRGGGHH!!!";
} else {
manspeech.text = "";
}
rock._x = -100;
rock._y = -100;
if ((getTimer() - start) > 2000) {
x++;
duplicateMovieClip (rock, "rock" + x, x);
start = getTimer();
}
if (man.dead) {
gotoAndPlay (39);
}
Instance of Symbol 46 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.lives < 3) {
gotoAndStop (37);
}
}
Instance of Symbol 46 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.lives < 4) {
gotoAndStop (37);
}
}
Instance of Symbol 46 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.lives < 5) {
gotoAndStop (37);
}
}
Instance of Symbol 46 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.lives < 1) {
gotoAndStop (37);
}
}
Instance of Symbol 46 MovieClip in Frame 37
onClipEvent (enterFrame) {
if (_root.lives < 2) {
gotoAndStop (37);
}
}
Frame 38
rock._x = -100;
rock._y = -100;
gotoAndPlay (37);
Frame 39
rock._x = -100;
rock._y = -100;
if (restart) {
d = 0;
while (d < (x + 1)) {
removeMovieClip(_root["rock" + d]);
d++;
}
x = 0;
restart = false;
gotoAndPlay (36);
man.gotoAndPlay(1);
man.dead = false;
rock.gotoAndPlay(1);
}
Frame 40
rock._x = -100;
rock._y = -100;
gotoAndPlay (39);
Symbol 9 MovieClip Frame 1
total = _root.getBytesTotal();
r = EmptyMC.createEmptyMovieClip("m", 1);
r.lineStyle(1, 0, 100);
MovieClip.prototype.drawCircle = function (segs, sw, w, rad) {
var w = (w + sw);
var teilW = ((w - sw) / segs);
var _local1 = 0;
while (_local1 <= segs) {
var _local3 = Math.cos(((teilW * _local1) * Math.PI) / 180) * rad;
var _local2 = Math.sin(((teilW * _local1) * Math.PI) / 180) * rad;
this.lineTo(_local3, _local2);
_local1++;
}
this.lineTo(0, 0);
this._rotation = sw;
};
Symbol 9 MovieClip Frame 2
percent = int((_root.getBytesLoaded() / total) * 100);
if (percent < 10) {
cPercent = "00" + percent;
} else if (percent < 100) {
cPercent = "0" + percent;
} else {
cPercent = percent;
}
todo = total - _root.getBytesLoaded();
if (todo < 10) {
todo = "";
}
done = _root.getBytesLoaded();
if (done == total) {
done = "Completely Loaded";
}
r.beginFill(0, 100);
r.drawCircle(100, 0, percent * 2.7, 100);
r.endFill();
Symbol 9 MovieClip Frame 3
if (percent >= 100) {
_root.gotoAndPlay(10);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 9 MovieClip Frame 4
stop();
Symbol 15 Button
on (release) {
begintime = getTimer();
_root.gotoAndPlay("begingame");
}
Symbol 37 MovieClip Frame 12
gotoAndPlay (1);
Symbol 37 MovieClip Frame 18
gotoAndPlay ("right");
Symbol 37 MovieClip Frame 24
gotoAndPlay ("left");
Symbol 37 MovieClip Frame 35
if (_root.lives == 0) {
dead = true;
stop();
}
_root.almostdead = false;
Symbol 39 Button
on (press) {
_parent.gotoAndPlay(4);
}
Symbol 41 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 1
grav = 1;
bounce = 0.9;
friction = 0.99999;
bottom = 345;
right = 550;
_x = 0;
_y = 50;
xspeed = (Math.random() * 8) + 2;
yspeed = 1;
Symbol 43 MovieClip Frame 2
xspeed = xspeed * friction;
yspeed = yspeed + grav;
yspeed = yspeed * friction;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_y > bottom) {
_y = bottom;
yspeed = (-yspeed) * bounce;
rock_sym.gotoAndPlay(2);
}
if ((_x > right) && (!_root.man.dead)) {
gotoAndPlay (1);
_root.score++;
} else if (_x > right) {
removeMovieClip(this);
}
if (hitTest(_root.man) && ((getTimer() - _root.hitstart) > 1000)) {
_root.hitstart = getTimer();
if (!_root.man.dead) {
_root.lives--;
_root.man.gotoAndPlay("dead");
}
}
Symbol 43 MovieClip Frame 3
gotoAndPlay (2);
Symbol 43 MovieClip Frame 4
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 58 Button
on (release) {
getURL ("http://www.thegamehomepage.com/", "_blank");
}
Symbol 62 Button
on (release) {
getURL ("http://www.thegamehomepage.com/freesitecontent/", "_blank");
}
Symbol 68 Button
on (release) {
getURL ("http://www.thegamehomepage.com/", "_blank");
}