Frame 13
fscommand ("showmenu", "false");
fscommand ("trapallkeys", "true");
gotoAndStop (13);
score = 0;
Mouse.hide();
time = 0;
secs = 0;
go_on = 0;
mscore = 0;
Instance of Symbol 11 MovieClip "shadow" in Frame 13
onClipEvent (enterFrame) {
dif = (_root.ball._y - 355) / 7;
_x = _root.ball._x;
_y = ((_root.ball._yscale + 300) + dif);
dis = _y - _root.ball._y;
scale = _root.ball._yscale + dis;
_xscale = scale;
_yscale = (scale / 3);
}
Instance of Symbol 13 MovieClip "ball" in Frame 13
onClipEvent (load) {
y = 12;
}
onClipEvent (enterFrame) {
pan = _x - 275;
difscale = 100 - _yscale;
y--;
_y = (_y - y);
_x = (_x - x);
if ((387 - difscale) < _y) {
_y = (387 - difscale);
y = y * -0.8;
x = x * 0.8;
if (2 < y) {
ssound = new Sound();
ssound.attachSound("hit");
ssound.setPan(pan);
ssound.setVolume(_root.shadow._y / 7);
ssound.start();
}
}
if ((504 - difscale) < _x) {
_x = (504 - difscale);
x = x * -1;
ssound = new Sound();
ssound.attachSound("hit");
ssound.setPan(pan);
ssound.setVolume(_root.shadow._y / 7);
ssound.start();
} else if (_x < (47 + difscale)) {
_x = (47 + difscale);
x = x * -1;
ssound = new Sound();
ssound.attachSound("hit");
ssound.setPan(pan);
ssound.setVolume(_root.shadow._y / 7);
ssound.start();
}
if (_yscale < 20) {
_xscale = 20;
_yscale = 20;
scale = scale * -1;
ssound = new Sound();
ssound.attachSound("hit");
ssound.setVolume(_root.shadow._y / 7);
ssound.setPan(pan);
ssound.start();
} else if (100 < _yscale) {
_xscale = 100;
_yscale = 100;
scale = scale * -1;
}
if (0 < scale) {
scale = scale * 0.9;
}
_xscale = (_xscale - scale);
_yscale = (_yscale - scale);
_rotation = (_rotation - x);
}
onClipEvent (mouseDown) {
if (hitTest(_root.mmouse)) {
y = 12;
x = (_root._xmouse - _x) * 0.8;
scale = 15;
}
}
Instance of Symbol 15 MovieClip in Frame 13
onClipEvent (enterFrame) {
if ((hitTest(_root.ball) && (_root.ball._yscale < 20)) && (0 < _root.time)) {
_root.score++;
ssound = new Sound();
ssound.attachSound("goal");
ssound.start();
}
if (_root.go_on == 1) {
_root.time--;
_root.secs = int(_root.time / 37);
if (0 >= _root.time) {
_root.go_on = 0;
}
}
if (_root.mscore < _root.score) {
_root.mscore = _root.score;
}
_root.scorei = "Goals: " + _root.score;
_root.mscorei = "Max Score: " + _root.mscore;
_root.secsi = "Time: " + _root.secs;
}
Instance of Symbol 34 MovieClip "mmouse" in Frame 13
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Symbol 32 Button
on (release) {
go_on = 1;
score = 0;
time = 1110;
}
Symbol 35 Button
on (release) {
fscommand ("quit");
}