Symbol 6 Button
on (press) {
play();
tellTarget ("../") {
score = score + "1";
call("kick");
};
}
Symbol 7 MovieClip Frame 1
stop();
Symbol 7 MovieClip Frame 5
gotoAndStop (1);
Symbol 8 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 2
tellTarget ("ball") {
nextFrame();
};
Symbol 9 MovieClip Frame 1
startDrag ("", true);
Symbol 19 Button
on (release, releaseOutside) {
getURL ("http://www.vectorinternet.co.uk", "_blank");
}
Symbol 21 MovieClip Frame 1
g = "100";
kicked = "0";
verdict = "practice kick-ups ...no highscore function here, sorry";
elastic = "0.75";
score = "0";
bestscore = "0";
BallRadius = getProperty("Ball", _height) / "2";
Symbol 21 MovieClip Frame 2
t = t + "0.1";
oldx = x;
oldy = y;
x = getProperty("Ball", _x);
y = getProperty("Ball", _y);
vy = vy + (g / "10");
x = x + (vx / "10");
y = y + (vy / "10");
if (y < BallRadius) {
y = BallRadius;
vx = vx * elastic;
vy = -(vy * elastic);
}
if (("300" - BallRadius) < y) {
if (kicked == "1") {
kicked = "0";
if (score < "5") {
verdict = "christ that's so weak! hahahaha! try again ...please";
} else if (score < "10") {
verdict = "shit ...aren't you embarrassed?";
} else if (score < "15") {
verdict = "if you're under 6 years old, that's a good score ...you are under 6, aren't you?";
} else if (score < "20") {
verdict = "that's better! oh, i'm getting scared ...lucky i didn't bet money on this shit!";
} else if (score < "25") {
verdict = "fuck me! you do have too much free time huh?";
} else if (score < "30") {
verdict = "holy shit! you might just do it ...maybe this wasn't a waste of time after all";
} else if (score < "50") {
verdict = ("well done! that only took you " add int(getTimer() / "1000")) add " seconds!";
} else if (score < "100") {
verdict = "the kick-ups forum is here http://pub73.ezboard.com/bvectorinternet and the password to post is iown3dkickups";
} else if ("99" < score) {
verdict = ("over 100?! very good. you know you've been player for " add int(getTimer() / "1000")) add " seconds?!";
}
}
if (bestscore < score) {
bestscore = score;
Set("../score/:my_score", bestscore);
}
score = "0";
y = "300" - BallRadius;
vx = vx * elastic;
vy = -(vy * elastic);
}
if (x < BallRadius) {
x = BallRadius;
vx = -(vx * elastic);
vy = vy * elastic;
}
if (("400" - BallRadius) < 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");
setProperty("shadow", _x , getProperty("Ball", _x));
setProperty("shadow", _alpha , (getProperty("Ball", _y) / "2") - "50");
Symbol 21 MovieClip Frame 3
gotoAndPlay (2);
Symbol 21 MovieClip Frame 4
kicked = "1";
t = t + "0.1";
oldx = x;
oldy = y;
x = getProperty("Ball", _x);
y = getProperty("Ball", _y);
vx = ((getProperty("Ball", _x) - getProperty("mouse", _x)) * "10") + ((random("3") / "10") - "0.15");
vy = ((getProperty("Ball", _x) - getProperty("mouse", _x)) * "5") - "100";
if (y < BallRadius) {
y = BallRadius;
vx = vx * elastic;
vy = -(vy * elastic);
}
if (("300" - BallRadius) < y) {
if (bestscore < score) {
bestscore = score;
}
score = "0";
y = "300" - BallRadius;
vx = vx * elastic;
vy = -(vy * elastic);
}
if (x < BallRadius) {
x = BallRadius;
vx = -(vx * elastic);
vy = vy * elastic;
}
if (("400" - BallRadius) < 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);