Frame 1
stop();
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Frame 2
stop();
stop();
Instance of Symbol 27 MovieClip "football" in Frame 2
onClipEvent (load) {
xspeed = 8 - (Math.random() * 16);
yspeed = 0;
bounce = 0;
diameter = 17;
boot = 0.15;
score = 1000;
count = 0;
}
onClipEvent (enterFrame) {
yspeed = yspeed + 0.4;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (bounce < 2) {
if ((500 - diameter) < _y) {
yspeed = yspeed * 0.6;
yspeed = -yspeed;
_y = (500 - diameter);
_x = (Math.random() * 500);
bounce++;
}
if ((500 - diameter) < _x) {
xspeed = -xspeed;
_x = (500 - diameter);
}
if (_x < diameter) {
xspeed = -xspeed;
_x = diameter;
}
} else if ((500 + diameter) < _y) {
_y = (-(diameter * 4));
bounce = 0;
yspeed = 0;
xspeed = Math.random() * 2;
}
}
Instance of Symbol 27 MovieClip "football" in Frame 2
onClipEvent (load) {
xspeed = 8 - (Math.random() * 16);
yspeed = 0;
bounce = 0;
diameter = 17;
boot = 0.15;
score = 1000;
count = 0;
}
onClipEvent (enterFrame) {
yspeed = yspeed + 0.4;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (bounce < 2) {
if ((500 - diameter) < _y) {
yspeed = yspeed * 0.6;
yspeed = -yspeed;
_y = (500 - diameter);
_x = (Math.random() * 500);
bounce++;
}
if ((500 - diameter) < _x) {
xspeed = -xspeed;
_x = (500 - diameter);
}
if (_x < diameter) {
xspeed = -xspeed;
_x = diameter;
}
} else if ((500 + diameter) < _y) {
_y = (-(diameter * 4));
bounce = 0;
yspeed = 0;
xspeed = Math.random() * 2;
}
}
Instance of Symbol 27 MovieClip "football" in Frame 2
onClipEvent (load) {
xspeed = 8 - (Math.random() * 16);
yspeed = 0;
bounce = 0;
diameter = 17;
boot = 0.15;
score = 1000;
count = 0;
}
onClipEvent (enterFrame) {
yspeed = yspeed + 0.4;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (bounce < 2) {
if ((500 - diameter) < _y) {
yspeed = yspeed * 0.6;
yspeed = -yspeed;
_y = (500 - diameter);
_x = (Math.random() * 500);
bounce++;
}
if ((500 - diameter) < _x) {
xspeed = -xspeed;
_x = (500 - diameter);
}
if (_x < diameter) {
xspeed = -xspeed;
_x = diameter;
}
} else if ((500 + diameter) < _y) {
_y = (-(diameter * 4));
bounce = 0;
yspeed = 0;
xspeed = Math.random() * 2;
}
}
Instance of Symbol 27 MovieClip "football" in Frame 2
onClipEvent (load) {
xspeed = 8 - (Math.random() * 16);
yspeed = 0;
bounce = 0;
diameter = 17;
boot = 0.15;
score = 1000;
count = 0;
}
onClipEvent (enterFrame) {
yspeed = yspeed + 0.4;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (bounce < 2) {
if ((500 - diameter) < _y) {
yspeed = yspeed * 0.6;
yspeed = -yspeed;
_y = (500 - diameter);
_x = (Math.random() * 500);
bounce++;
}
if ((500 - diameter) < _x) {
xspeed = -xspeed;
_x = (500 - diameter);
}
if (_x < diameter) {
xspeed = -xspeed;
_x = diameter;
}
} else if ((500 + diameter) < _y) {
_y = (-(diameter * 4));
bounce = 0;
yspeed = 0;
xspeed = Math.random() * 2;
}
}
Instance of Symbol 27 MovieClip "football" in Frame 2
onClipEvent (load) {
xspeed = 8 - (Math.random() * 16);
yspeed = 0;
bounce = 0;
diameter = 17;
boot = 0.15;
score = 1000;
count = 0;
}
onClipEvent (enterFrame) {
yspeed = yspeed + 0.4;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (bounce < 2) {
if ((500 - diameter) < _y) {
yspeed = yspeed * 0.6;
yspeed = -yspeed;
_y = (500 - diameter);
_x = (Math.random() * 500);
bounce++;
}
if ((500 - diameter) < _x) {
xspeed = -xspeed;
_x = (500 - diameter);
}
if (_x < diameter) {
xspeed = -xspeed;
_x = diameter;
}
} else if ((500 + diameter) < _y) {
_y = (-(diameter * 4));
bounce = 0;
yspeed = 0;
xspeed = Math.random() * 2;
}
}
Instance of Symbol 27 MovieClip "football" in Frame 2
onClipEvent (load) {
xspeed = 8 - (Math.random() * 16);
yspeed = 0;
bounce = 0;
diameter = 17;
boot = 0.15;
score = 1000;
count = 0;
}
onClipEvent (enterFrame) {
yspeed = yspeed + 0.4;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (bounce < 2) {
if ((500 - diameter) < _y) {
yspeed = yspeed * 0.6;
yspeed = -yspeed;
_y = (500 - diameter);
_x = (Math.random() * 500);
bounce++;
}
if ((500 - diameter) < _x) {
xspeed = -xspeed;
_x = (500 - diameter);
}
if (_x < diameter) {
xspeed = -xspeed;
_x = diameter;
}
} else if ((500 + diameter) < _y) {
_y = (-(diameter * 4));
bounce = 0;
yspeed = 0;
xspeed = Math.random() * 2;
}
}
Instance of Symbol 27 MovieClip "football" in Frame 2
onClipEvent (load) {
xspeed = 8 - (Math.random() * 16);
yspeed = 0;
bounce = 0;
diameter = 17;
boot = 0.15;
score = 1000;
count = 0;
}
onClipEvent (enterFrame) {
yspeed = yspeed + 0.4;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (bounce < 2) {
if ((500 - diameter) < _y) {
yspeed = yspeed * 0.6;
yspeed = -yspeed;
_y = (500 - diameter);
_x = (Math.random() * 500);
bounce++;
}
if ((500 - diameter) < _x) {
xspeed = -xspeed;
_x = (500 - diameter);
}
if (_x < diameter) {
xspeed = -xspeed;
_x = diameter;
}
} else if ((500 + diameter) < _y) {
_y = (-(diameter * 4));
bounce = 0;
yspeed = 0;
xspeed = Math.random() * 2;
}
}
Instance of Symbol 27 MovieClip "football" in Frame 2
onClipEvent (load) {
xspeed = 8 - (Math.random() * 16);
yspeed = 0;
bounce = 0;
diameter = 17;
boot = 0.15;
score = 1000;
count = 0;
}
onClipEvent (enterFrame) {
yspeed = yspeed + 0.4;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (bounce < 2) {
if ((500 - diameter) < _y) {
yspeed = yspeed * 0.6;
yspeed = -yspeed;
_y = (500 - diameter);
_x = (Math.random() * 500);
bounce++;
}
if ((500 - diameter) < _x) {
xspeed = -xspeed;
_x = (500 - diameter);
}
if (_x < diameter) {
xspeed = -xspeed;
_x = diameter;
}
} else if ((500 + diameter) < _y) {
_y = (-(diameter * 4));
bounce = 0;
yspeed = 0;
xspeed = Math.random() * 2;
}
}
Instance of Symbol 27 MovieClip "football" in Frame 2
onClipEvent (load) {
xspeed = 8 - (Math.random() * 16);
yspeed = 0;
bounce = 0;
diameter = 17;
boot = 0.15;
score = 1000;
count = 0;
}
onClipEvent (enterFrame) {
yspeed = yspeed + 0.4;
_y = (_y + yspeed);
_x = (_x + xspeed);
if (bounce < 2) {
if ((500 - diameter) < _y) {
yspeed = yspeed * 0.6;
yspeed = -yspeed;
_y = (500 - diameter);
_x = (Math.random() * 500);
bounce++;
}
if ((500 - diameter) < _x) {
xspeed = -xspeed;
_x = (500 - diameter);
}
if (_x < diameter) {
xspeed = -xspeed;
_x = diameter;
}
} else if ((500 + diameter) < _y) {
_y = (-(diameter * 4));
bounce = 0;
yspeed = 0;
xspeed = Math.random() * 2;
}
}
Instance of Symbol 55 MovieClip in Frame 2
onClipEvent (load) {
this.swapDepths(995);
}
Frame 3
current_bytes = this.getBytesLoaded();
tot_bytes = this.getBytesTotal();
percent = int((current_bytes / tot_bytes) * 100) + "% ";
if (current_bytes >= tot_bytes) {
gotoAndStop (5);
}
Frame 4
this.gotoAndPlay("loader");
Frame 5
loadMovieNum ("http://www.ultimatearcade.com/arcade/games/random_id_00042527/puzzles/00/bounce/music.swf", 10);
removeMovieClip("ball");
removeMovieClip("box1");
removeMovieClip("box2");
removeMovieClip("box3");
_root.lives2 = "";
Instance of Symbol 116 MovieClip in Frame 5
onClipEvent (load) {
sy = _y;
ang = 0;
}
onClipEvent (enterFrame) {
_y = (sy + (4 * Math.cos((ang = ang + 0.2))));
}
Instance of Symbol 125 MovieClip "credits" in Frame 5
onClipEvent (load) {
_root.credits._visible = 0;
}
Instance of Symbol 128 MovieClip "rules" in Frame 5
onClipEvent (load) {
_root.rules._visible = 0;
}
Frame 19
removeMovieClip("ball");
removeMovieClip("box1");
removeMovieClip("box2");
removeMovieClip("box3");
_root.lives2 = "";
_root.credits._visible = 0;
_root.rules._visible = 0;
gotoAndStop (20);
unloadMovieNum (10);
Frame 20
stop();
Instance of Symbol 145 MovieClip "box2" in Frame 20
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this, false, _x, 0, _x, 400);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
offy = (_y / 400) * 11;
frm = Math.floor(12 - offy);
gotoAndStop(frm);
if (5 >= frm) {
this.swapDepths(10);
} else {
this.swapDepths(100);
}
if (_root.ball.hitTest(collisionbox) && (0 < _root.ball.dy)) {
_root.ball._y = _y - (_root.ball._height / 2);
_root.ball.dy = -Math.abs(_root.ball.dy);
_root.myscore = _root.myscore + Math.round(Math.abs(_root.ball.dx) * 10);
_root.score = _root.myscore;
_root.soundfx.gotoAndPlay("score");
_root.ball.dx = _root.ball.dx * 1.2;
}
_y = (_y + (Math.abs(_root.ball.dx) / 15));
}
Instance of Symbol 145 MovieClip "box3" in Frame 20
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this, false, _x, 0, _x, 400);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
offy = (_y / 400) * 11;
frm = Math.floor(12 - offy);
gotoAndStop(frm);
if (5 >= frm) {
this.swapDepths(8);
} else {
this.swapDepths(98);
}
if (_root.ball.hitTest(collisionbox) && (0 < _root.ball.dy)) {
_root.ball._y = _y - (_root.ball._height / 2);
_root.ball.dy = -Math.abs(_root.ball.dy);
_root.myscore = _root.myscore + Math.round(Math.abs(_root.ball.dx) * 10);
_root.score = _root.myscore;
_root.soundfx.gotoAndPlay("score");
_root.ball.dx = _root.ball.dx * 1.2;
}
_y = (_y + (Math.abs(_root.ball.dx) / 15));
}
Instance of Symbol 145 MovieClip "box1" in Frame 20
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this, false, _x, 0, _x, 400);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
onClipEvent (enterFrame) {
offy = (_y / 400) * 11;
frm = Math.floor(12 - offy);
gotoAndStop(frm);
if (5 >= frm) {
this.swapDepths(9);
} else {
this.swapDepths(99);
}
if (_root.ball.hitTest(collisionbox) && (0 < _root.ball.dy)) {
_root.ball._y = _y - (_root.ball._height / 2);
_root.ball.dy = -Math.abs(_root.ball.dy);
_root.myscore = _root.myscore + Math.round(Math.abs(_root.ball.dx) * 10);
_root.score = _root.myscore;
_root.soundfx.gotoAndPlay("score");
_root.ball.dx = _root.ball.dx * 1.2;
}
_y = (_y + (Math.abs(_root.ball.dx) / 15));
}
Instance of Symbol 147 MovieClip "ball" in Frame 20
onClipEvent (load) {
dx = 3;
dy = 0;
livesleft = 3;
_root.lives = livesleft;
_root.myscore = 0;
_root.score = 0;
this.swapDepths(50);
}
onClipEvent (enterFrame) {
_x = (_x + dx);
_y = (_y + dy);
dy = dy + 0.1;
if (550 < _x) {
_x = 550;
dx = -Math.abs(dx);
} else if (_x < 0) {
_x = 0;
dx = Math.abs(dx);
}
if (410 < _y) {
if (0 < livesleft) {
livesleft--;
_root.soundfx.gotoAndPlay("missed");
_root.lives = livesleft;
dir = Math.floor(Math.random() * 2);
if (dir == 0) {
dx = -3;
} else if (dir == 1) {
dx = 3;
}
dy = 0;
_x = ((Math.random() * 300) + 100);
_y = 0;
_root.box1._y = 200;
_root.box2._y = 200;
_root.box3._y = 200;
} else {
_root.gotoAndStop("scores");
_root.lives2 = "GAME OVER";
}
}
}
Instance of Symbol 158 MovieClip in Frame 20
onClipEvent (enterFrame) {
_y = 0;
_x = _root.ball._x;
if (_root.ball._y < -15) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 174 MovieClip in Frame 20
onClipEvent (load) {
this.swapDepths(996);
done = yes;
}
Frame 25
_root.view_scores = 2;
loadMovieNum ("scores.xml", 25);
removeMovieClip("ball");
removeMovieClip("box1");
removeMovieClip("box2");
removeMovieClip("box3");
stop();
Frame 40
stopAllSounds();
stop();
removeMovieClip("ball");
removeMovieClip("box1");
removeMovieClip("box2");
removeMovieClip("box3");
Symbol 24 MovieClip Frame 112
_root.gotoAndPlay(3);
Symbol 33 Button
on (release) {
getURL ("http://www.ultimatearcade.com", "_top");
}
Symbol 35 MovieClip Frame 20
stop();
Symbol 41 Button
on (release) {
getURL ("http://www.ultimatearcade.com", "_blank");
}
Symbol 47 MovieClip Frame 21
stop();
Symbol 49 Button
on (release) {
_root.rules._visible = 1;
}
Symbol 53 MovieClip Frame 21
stop();
Symbol 54 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(19);
}
Symbol 116 MovieClip Frame 40
stop();
Symbol 124 Button
on (release) {
_root.credits._visible = 0;
}
Symbol 127 Button
on (release) {
_root.rules._visible = 0;
}
Instance of Symbol 133 MovieClip "collisionbox" in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 10
play();
Symbol 150 MovieClip Frame 20
gotoAndStop (1);
Symbol 150 MovieClip Frame 25
play();
Symbol 150 MovieClip Frame 35
gotoAndStop (1);
Symbol 169 Button
on (release) {
gotoAndStop (2);
}
Symbol 173 Button
on (release) {
gotoAndStop (1);
}
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 2
stopAllSounds();