Frame 1
stop();
Frame 2
_root.scoretable.filename = "scores/kick5.sco";
_root.scoretable.scoresize = 20;
_root.scoretable.action = "VIEW";
_root.scoretable.viewtype = "FLASH";
_root.scoretable.winname = name;
_root.scoretable.winscore = score;
_root.scoretable.loadVariables("http://www.thefucksociety.com/animation/scores.php", "GET");
stop();
Instance of Symbol 31 MovieClip "timmy" in Frame 2
onClipEvent (load) {
notumor = false;
}
onClipEvent (enterFrame) {
this._x = _root._xmouse;
if (this._x < 75) {
this._x = 75;
this.feet.gotoAndStop(1);
}
if (488 < this._x) {
this._x = 488;
this.feet.gotoAndStop(1);
}
}
Instance of Symbol 62 MovieClip "twang" in Frame 2
onClipEvent (load) {
_root.score2.score = 0;
somethinggoingon = false;
}
onClipEvent (enterFrame) {
if ((((_root.score2.score % 15) == 0) && (_root.score2.score != 0)) && (somethinggoingon == false)) {
_root.present.play();
}
if (Key.isDown(67)) {
_root.ball._x = 20 + random(300);
_root.ball._y = 20;
_root.score2.score = 0;
}
}
Instance of Symbol 69 MovieClip "present" in Frame 2
onClipEvent (load) {
spaceman = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (spaceman == true)) {
rand = random(9);
if (1 < rand) {
_root.guesswhat.gotoAndStop(rand);
} else {
_root.guesswhat.gotoAndStop(2);
}
this.gotoAndStop(1);
_root.score2.score = _parent.score2.score + 1;
spaceman = false;
}
}
Instance of Symbol 94 MovieClip "ball" in Frame 2
onClipEvent (load) {
left = 22;
right = 550;
bottom = 330;
top = 18;
speedx = 6;
speedy = 5;
maxspeed = Math.sqrt((speedx * speedx) + (speedy * speedy));
}
onClipEvent (enterFrame) {
_rotation = (_rotation + speedx);
if ((this._x < left) || (right < this._x)) {
speedx = -speedx;
speedx = speedx * 0.8;
((speedx < 0) ? ((this._x = right)) : ((this._x = left)));
}
if ((this._y < top) || (bottom < this._y)) {
speedy = -speedy;
speedy = speedy * 0.8;
((speedy < 0) ? ((this._y = bottom)) : ((this._y = top)));
}
if (this._y >= bottom) {
if (_root.topscore < _root.score2.score) {
_root.topscore = _root.score2.score;
}
_root.score2.score = 0;
}
this._x = this._x + speedx;
this._y = this._y + speedy;
speedy = speedy + 0.3;
if (this.hitTest(_root.timmy.tumor) && (_root.timmy.notumor == false)) {
mouseX = _root.timmy.tumor._x;
mouseY = _root.timmy.tumor._y;
radians = Math.atan2(mousey, mousex);
speedx = (-Math.cos(radians)) * maxspeed;
speedy = -Math.abs(Math.sin(radians) * maxspeed);
((speedx < 0) ? ((speedx = speedx - random(4))) : ((speedx = speedx + random(4))));
((speedy < 0) ? ((speedy = speedy - random(4))) : ((speedy = speedy + random(4))));
_root.score2.score = _root.score2.score + 1;
_root.timmy.tumor.play();
rand = random(3);
if (rand >= 2) {
_root.boing.play();
} else {
_root.twang.play();
}
}
}
Symbol 7 Button
on (release) {
_root.play();
}
Symbol 12 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 12 MovieClip Frame 2
gotoAndPlay (1);
Symbol 20 Button
on (press) {
_parent.timmy.play();
}
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 3
gotoAndStop (1);
Symbol 29 MovieClip Frame 4
stop();
Symbol 29 MovieClip Frame 6
gotoAndStop (4);
Symbol 29 MovieClip Frame 7
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Symbol 40 Button
on (release) {
_root.ball._x = 20 + random(300);
_root.ball._y = 20;
_root.score2.score = 0;
}
Symbol 52 Button
on (release) {
_root.scoretable.filename = "scores/kick5.sco";
_root.scoretable.scoresize = 20;
_root.scoretable.action = "INSERT";
_root.scoretable.viewtype = "FLASH";
_root.scoretable.winname = _root.name;
_root.scoretable.winscore = _root.topscore;
_root.scoretable.loadVariables("http://www.thefucksociety.com/animation/scores.php", "GET");
_root.topscore = 0;
}
Symbol 58 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
_parent.present.spaceman = true;
Symbol 69 MovieClip Frame 120
_parent.present.spaceman = false;
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 281
_parent._parent.ball.maxspeed = 8;
_parent._parent.twang.somethinggoingon = false;
_parent.gotoAndStop(1);
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 280
_parent._parent.ball.maxspeed = 8;
_parent._parent.twang.somethinggoingon = false;
_parent.gotoAndStop(1);
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 280
_parent._parent.timmy._rotation = _parent._parent.timmy._rotation + 180;
_parent._parent.twang.somethinggoingon = false;
_parent.gotoAndStop(1);
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 10
_parent._parent.score2.score = _parent._parent.score2.score - 11;
Symbol 82 MovieClip Frame 20
_parent._parent.twang.somethinggoingon = false;
_parent.gotoAndStop(1);
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
_parent._parent.ball.gotoAndStop(2);
Symbol 84 MovieClip Frame 281
_parent._parent.ball.gotoAndStop(1);
_parent._parent.twang.somethinggoingon = false;
_parent.gotoAndStop(1);
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 280
_parent._parent.timmy.tumor.gotoAndPlay(1);
_parent._parent.twang.somethinggoingon = false;
_parent.gotoAndStop(1);
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 280
_parent._parent.timmy.tumor.gotoAndPlay(1);
_parent._parent.twang.somethinggoingon = false;
_parent._parent.timmy.notumor = false;
_parent.gotoAndStop(1);
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
stop();
_parent.ball.maxspeed = 20;
_parent.twang.somethinggoingon = true;
Instance of Symbol 73 MovieClip "speedtimer" in Symbol 89 MovieClip Frame 2
onClipEvent (enterFrame) {
this.play();
}
Symbol 89 MovieClip Frame 3
stop();
_parent.ball.maxspeed = 3;
_parent.twang.somethinggoingon = true;
Instance of Symbol 76 MovieClip "slowspeed" in Symbol 89 MovieClip Frame 3
onClipEvent (enterFrame) {
this.play();
}
Symbol 89 MovieClip Frame 4
stop();
_parent.timmy._rotation = _parent.timmy._rotation + 180;
_parent.twang.somethinggoingon = true;
Instance of Symbol 79 MovieClip in Symbol 89 MovieClip Frame 4
onClipEvent (enterFrame) {
this.play();
}
Symbol 89 MovieClip Frame 5
stop();
_parent.twang.somethinggoingon = true;
Instance of Symbol 82 MovieClip in Symbol 89 MovieClip Frame 5
onClipEvent (enterFrame) {
this.play();
}
Symbol 89 MovieClip Frame 6
stop();
_parent.twang.somethinggoingon = true;
Instance of Symbol 84 MovieClip in Symbol 89 MovieClip Frame 6
onClipEvent (enterFrame) {
this.play();
}
Symbol 89 MovieClip Frame 7
stop();
_parent.timmy.tumor.gotoAndStop(4);
_parent.twang.somethinggoingon = true;
Instance of Symbol 86 MovieClip in Symbol 89 MovieClip Frame 7
onClipEvent (enterFrame) {
this.play();
}
Symbol 89 MovieClip Frame 8
_parent.timmy.tumor.gotoAndStop(7);
_parent.timmy.notumor = true;
_parent.twang.somethinggoingon = true;
stop();
Instance of Symbol 88 MovieClip in Symbol 89 MovieClip Frame 8
onClipEvent (enterFrame) {
this.play();
}
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 2
stop();