Frame 1
if (_root._framesloaded >= _root._framestotal) {
gotoAndPlay (3);
}
Frame 2
stop();
Frame 3
onEnterFrame = function () {
removeMovieClip("PB0");
};
Instance of Symbol 25 MovieClip in Frame 3
on (press) {
_root.gotoAndPlay("Scene 2", 2);
}
Instance of Symbol 28 MovieClip "mmouse" in Frame 3
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Frame 11
stop();
n = 0;
q = 1;
onMouseDown = function () {
duplicateMovieClip (PB0, "PB" + n, n);
_root["PB" + n]._x = _xmouse;
_root["PB" + n]._y = _ymouse;
_root["PB" + n]._rotation = random(360);
removeMovieClip(_root["ARM" + q]);
duplicateMovieClip (ARM0, "ARM" + q, q);
n++;
q++;
};
Instance of Symbol 116 MovieClip "ARM0" in Frame 11
onClipEvent (enterFrame) {
a = _y - _root._ymouse;
b = _x - _root._xmouse;
angleA = Math.atan2(a, b);
degrees = angleA / 0.0448798950512828;
setProperty(this, _rotation , degrees);
}
Frame 12
stop();
Frame 13
fscommand ("showmenu", "false");
fscommand ("trapallkeys", "true");
fscommand ("fullscreen", "true");
stop();
score = 0;
time = 0;
secs = 0;
go_on = 0;
mscore = 0;
Instance of Symbol 127 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 129 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 (_y > (387 - difscale)) {
_y = (387 - difscale);
y = y * -0.8;
x = x * 0.8;
if (y > 2) {
ssound = new Sound();
ssound.attachSound("hit");
ssound.setPan(pan);
ssound.setVolume(_root.shadow._y / 7);
ssound.start();
}
}
if (_x > (504 - difscale)) {
_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 (_yscale > 100) {
_xscale = 100;
_yscale = 100;
scale = scale * -1;
}
if (scale > 0) {
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 131 MovieClip in Frame 13
onClipEvent (enterFrame) {
if ((hitTest(_root.ball) && (_root.ball._yscale < 20)) && (_root.time > 0)) {
_root.score++;
ssound = new Sound();
ssound.attachSound("goal");
ssound.start();
}
if (_root.go_on == 1) {
_root.time--;
_root.secs = int(_root.time / 37);
if (_root.time <= 0) {
_root.go_on = 0;
}
}
if (_root.score > _root.mscore) {
_root.mscore = _root.score;
}
_root.scorei = "Goals: " + _root.score;
_root.mscorei = "Max Score: " + _root.mscore;
_root.secsi = "Time: " + _root.secs;
}
Instance of Symbol 28 MovieClip "mmouse" in Frame 13
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 14
fscommand ("showmenu", "false");
fscommand ("trapallkeys", "true");
fscommand ("fullscreen", "true");
stop();
score = 0;
time = 0;
secs = 0;
go_on = 0;
mscore = 0;
Instance of Symbol 129 MovieClip "ball" in Frame 14
onClipEvent (load) {
y = 12;
}
onClipEvent (enterFrame) {
pan = _x - 275;
difscale = 100 - _yscale;
y--;
_y = (_y - y);
_x = (_x - x);
if (_y > (387 - difscale)) {
_y = (387 - difscale);
y = y * -0.8;
x = x * 0.8;
if (y > 2) {
ssound = new Sound();
ssound.attachSound("hit");
ssound.setPan(pan);
ssound.start();
}
}
if (_x > (504 - difscale)) {
_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 (_yscale > 100) {
_xscale = 100;
_yscale = 100;
scale = scale * -1;
}
if (scale > 0) {
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 = 0;
}
}
Frame 15
stopAllSounds();
Frame 16
stop();
Symbol 19 MovieClip Frame 15
stop();
Symbol 21 MovieClip Frame 20
stop();
Symbol 25 MovieClip Frame 36
stop();
Symbol 29 Button
on (release) {
gotoAndPlay (9);
}
Symbol 32 Button
on (press) {
gotoAndPlay (9);
}
Symbol 39 Button
on (press) {
nextFrame();
}
Symbol 40 Button
on (press) {
play();
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 2
stop();
Symbol 43 MovieClip Frame 3
stopAllSounds();
stop();
Symbol 43 MovieClip Frame 4
stop();
Symbol 43 MovieClip Frame 5
stopAllSounds();
Symbol 56 Button
on (press) {
gotoAndPlay (11);
}
Symbol 58 Button
on (press) {
gotoAndPlay (10);
}
Symbol 59 Button
on (press) {
gotoAndPlay (12);
}
Symbol 61 Button
on (press) {
gotoAndPlay (13);
}
Symbol 64 Button
on (press) {
gotoAndPlay (14);
}
Symbol 65 Button
on (press) {
gotoAndPlay (15);
}
Symbol 76 MovieClip Frame 9
stop();
Symbol 80 MovieClip Frame 20
stop();
Symbol 82 MovieClip Frame 32
stop();
Symbol 84 MovieClip Frame 27
stop();
Symbol 91 MovieClip Frame 13
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
stop();
Symbol 92 MovieClip Frame 3
stop();
Symbol 92 MovieClip Frame 4
stop();
Symbol 92 MovieClip Frame 5
stop();
Symbol 94 Button
on (press) {
tellTarget (_root.lol) {
gotoAndStop(Number(random(5) + 1));
};
}
Symbol 97 Button
on (press) {
gotoAndPlay (9);
}
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
stop();
Symbol 116 MovieClip Frame 1
stop();
onMouseDown = function () {
play();
};
Symbol 116 MovieClip Frame 2
onMouseDown = function () {
gotoAndPlay (2);
};
Symbol 116 MovieClip Frame 3
onMouseDown = function () {
gotoAndPlay (2);
};
Symbol 116 MovieClip Frame 4
onMouseDown = function () {
gotoAndPlay (2);
};
Symbol 116 MovieClip Frame 5
onMouseDown = function () {
gotoAndPlay (2);
};
Symbol 116 MovieClip Frame 6
onMouseDown = function () {
gotoAndPlay (2);
};
Symbol 116 MovieClip Frame 7
onMouseDown = function () {
gotoAndPlay (2);
};
Symbol 116 MovieClip Frame 8
onMouseDown = function () {
gotoAndPlay (2);
};
Symbol 116 MovieClip Frame 9
onMouseDown = function () {
gotoAndPlay (2);
};
Symbol 117 Button
on (press) {
i = 0;
while (i < n) {
removeMovieClip(_root["PB" + i]);
i++;
}
e = 0;
while (e < q) {
removeMovieClip(_root["ARM" + e]);
e++;
}
gotoAndPlay (3);
}
Symbol 120 Button
on (press) {
startDrag (this);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
_root.score = _root.score + 100;
}
Symbol 123 MovieClip Frame 1
_x = 10;
_y = 200;
xspeed = 5;
rightedge = 400;
leftedge = 0;
yspeed = 20;
topedge = -5000;
bottomedge = 400;
gravity = 1.5;
drag = 0.98;
xspeed = Math.random() * 30;
yspeed = Math.random() * 30;
Symbol 123 MovieClip Frame 2
if (!dragging) {
_x = (_x + xspeed);
if ((_x + (_width / 2)) > rightedge) {
_x = (rightedge - (_width / 2));
xspeed = -xspeed;
}
if ((_x - (_width / 2)) < leftedge) {
_x = (leftedge + (_width / 2));
xspeed = -xspeed;
}
_y = (_y + yspeed);
if ((_y + (_width / 2)) > rightedge) {
_y = (rightedge - (_width / 2));
yspeed = -yspeed;
}
if ((_y - (_width / 2)) < leftedge) {
_y = (leftedge + (_width / 2));
yspeed = -yspeed;
}
yspeed = (yspeed * drag) + gravity;
xspeed = xspeed * drag;
} else {
xspeed = _x - oldx;
yspeed = _y - oldy;
oldx = _x;
oldy = _y;
}
Symbol 123 MovieClip Frame 3
gotoAndPlay (2);
Symbol 143 MovieClip Frame 335
stop();