Frame 2
ifFrameLoaded (5) {
gotoAndPlay (5);
}
Frame 4
gotoAndPlay (2);
Frame 5
stop();
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 2
stop();
Symbol 36 MovieClip Frame 3
stop();
Symbol 36 MovieClip Frame 4
stop();
Symbol 36 MovieClip Frame 5
stop();
Symbol 36 MovieClip Frame 6
stop();
Symbol 36 MovieClip Frame 7
stop();
Symbol 36 MovieClip Frame 8
stop();
Symbol 36 MovieClip Frame 9
stop();
Symbol 36 MovieClip Frame 10
stop();
Symbol 36 MovieClip Frame 11
stop();
Symbol 36 MovieClip Frame 12
stop();
Symbol 36 MovieClip Frame 13
stop();
Symbol 36 MovieClip Frame 14
stop();
Symbol 37 MovieClip Frame 1
startDrag ("", true);
Symbol 45 Button
on (release) {
getURL ("http://www.honkeythreads.com", "_blank");
}
Symbol 48 Button
on (rollOver) {
play();
tellTarget ("../") {
score = Number(score) + 1;
call("kick");
};
}
Symbol 49 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 1
g = 150;
kicked = 0;
elastic = 1;
score = 0;
bestscore = 0;
BallRadius = Ball._height / 2;
Symbol 50 MovieClip Frame 2
if ((10 < score) and (score < 21)) {
tellTarget ("moviebg") {
gotoAndStop (2);
};
} else if ((20 < score) and (score < 31)) {
tellTarget ("moviebg") {
gotoAndStop (3);
};
} else if ((30 < score) and (score < 41)) {
tellTarget ("moviebg") {
gotoAndStop (4);
};
} else if ((40 < score) and (score < 51)) {
tellTarget ("moviebg") {
gotoAndStop (5);
};
} else if ((50 < score) and (score < 61)) {
tellTarget ("moviebg") {
gotoAndStop (6);
};
} else if ((60 < score) and (score < 71)) {
tellTarget ("moviebg") {
gotoAndStop (7);
};
} else if ((70 < score) and (score < 81)) {
tellTarget ("moviebg") {
gotoAndStop (8);
};
} else if ((80 < score) and (score < 91)) {
tellTarget ("moviebg") {
gotoAndStop (9);
};
} else if ((90 < score) and (score < 101)) {
tellTarget ("moviebg") {
gotoAndStop (10);
};
} else if ((100 < score) and (score < 111)) {
tellTarget ("moviebg") {
gotoAndStop (11);
};
} else if ((110 < score) and (score < 121)) {
tellTarget ("moviebg") {
gotoAndStop (12);
};
} else if ((120 < score) and (score < 131)) {
tellTarget ("moviebg") {
gotoAndStop (13);
};
} else if ((130 < score) and (score < 141)) {
tellTarget ("moviebg") {
gotoAndStop (14);
};
} else {
tellTarget ("moviebg") {
gotoAndStop (1);
};
}
t = Number(t) + 0.1;
oldx = x;
oldy = y;
x = getProperty("Ball", _x);
y = getProperty("Ball", _y);
vy = Number(vy) + Number(g / 10);
x = Number(x) + Number(vx / 10);
y = Number(y) + Number(vy / 10);
if (Number(y) < Number(BallRadius)) {
y = BallRadius;
vx = vx * elastic;
vy = -(vy * elastic);
}
if (Number(400 - BallRadius) < Number(y)) {
if (Number(kicked) == 1) {
kicked = 0;
if (Number(bestscore) < Number(score)) {
bestscore = score;
Set("../score/:my_score", bestscore);
}
lastscore = score;
score = 0;
}
y = 400 - BallRadius;
vx = vx * elastic;
vy = -(vy * elastic);
}
if (Number(x) < Number(BallRadius)) {
x = BallRadius;
vx = -(vx * elastic);
vy = vy * elastic;
}
if (Number(500 - BallRadius) < Number(x)) {
x = 500 - BallRadius;
vx = -(vx * elastic);
vy = vy * elastic;
}
setProperty("Ball", _x , x);
setProperty("Ball", _y , y);
setProperty("Ball", _rotation , x);
setProperty("Ball", _xscale , 100);
setProperty("Ball", _yscale , 100);
Symbol 50 MovieClip Frame 3
gotoAndPlay (2);
Symbol 50 MovieClip Frame 4
kicked = 1;
t = Number(t) + 0.1;
oldx = x;
oldy = y;
x = getProperty("Ball", _x);
y = getProperty("Ball", _y);
vx = Number((getProperty("Ball", _x) - getProperty("mouse", _x)) * 10) + Number((random(3) / 10) - 0.15);
vy = Number(-125) + Number(y - getProperty("mouse", _y));
dx = getProperty("Ball", _x) - getProperty("mouse", _x);
if (0 < Number(dx)) {
vy = Number(vy) + Number(dx);
} else if (Number(dx) < 0) {
vy = vy - dx;
}
if (Number(y) < Number(BallRadius)) {
y = BallRadius;
vx = vx * elastic;
vy = -(vy * elastic);
}
if (Number(400 - BallRadius) < Number(y)) {
if (Number(bestscore) < Number(score)) {
bestscore = score;
}
score = 0;
y = 400 - BallRadius;
vx = vx * elastic;
vy = -(vy * elastic);
}
if (Number(x) < Number(BallRadius)) {
x = BallRadius;
vx = -(vx * elastic);
vy = vy * elastic;
}
if (Number(500 - BallRadius) < Number(x)) {
x = 400 - BallRadius;
vx = -(vx * elastic);
vy = vy * elastic;
}
setProperty("Ball", _x , x);
setProperty("Ball", _y , y);
setProperty("Ball", _rotation , x);
setProperty("Ball", _xscale , 100);
setProperty("Ball", _yscale , 100);
gotoAndPlay (2);