Frame 1
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
geladen = _root.getBytesLoaded();
totaal = _root.getBytesTotal();
percentage = int((100 * geladen) / totaal);
loadtekst = ((percentage add " % van ") add int(_root.getBytesTotal() / 1024)) add " Kb";
_root.preloaderbar._xscale = percentage;
if (int((100 * geladen) / totaal) == 100) {
_root.gotoAndStop(2);
}
}
Frame 2
function gotoUrl(url) {
getURL (url, "_blank");
}
_root.brickNum1 = 30;
_root.obstakelNum1 = 0;
_root.starter._visible = true;
myLevels = _currentframe - 1;
_root.numLives = 3;
_root.myScore = 0;
_root.combibonus = 0;
_root.bonushighlite._visible = false;
_root.hithighlite._visible = false;
movieclip.prototype.wabber = function (multiplikator, xskal, yskal, ratio) {
sX = Number(sX * multiplikator) + Number((xskal - _xscale) * ratio);
sY = Number(sY * multiplikator) + Number((yskal - _yscale) * ratio);
_xscale = (_xscale + sX);
_yscale = (_yscale + sY);
};
stop();
Instance of Symbol 12 MovieClip in Frame 2
onClipEvent (load) {
_root.showmouse = false;
}
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
if (_root.showmouse) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 14 MovieClip "constrainer" in Frame 2
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
x = this._xmouse;
y = this._ymouse * -1;
angle = Math.atan(y / x) / (Math.PI/180);
if (x < 0) {
angle = angle + 180;
}
if ((x >= 0) && (y < 0)) {
angle = angle + 360;
}
_root.wall._rotation = (angle + 90) * -1;
}
Instance of Symbol 21 MovieClip "wall" in Frame 2
onClipEvent (enterFrame) {
pX = _root._xmouse;
pY = _root._ymouse;
radius = _root.constrainer._width / 2;
modX = pX - _root.constrainer._x;
modY = pY - _root.constrainer._y;
opposite = modX;
adjacent = modY;
hypotenuse = Math.sqrt((opposite * opposite) + (adjacent * adjacent));
percent = radius / hypotenuse;
pX = (modX * percent) + _root.constrainer._x;
pY = (modY * percent) + _root.constrainer._y;
this._x = pX;
this._y = pY;
}
Instance of Symbol 27 MovieClip "balle" in Frame 2
onClipEvent (load) {
function maketargetList(numOfTiles, numOfObstakels) {
i = 0;
while (i < numOfTiles) {
gTargetList[i] = String(((_root._currentframe - 1) add "brick") + (i + 1));
i++;
}
i = 0;
while (i < numOfObstakels) {
obstakelList[i] = String(((_root._currentframe - 1) add "hindernis") + (i + 1));
i++;
}
}
this.swapDepths(100);
vx = 0;
vy = -5;
originvx = vx;
originvy = vy;
originx = _x;
originy = _y;
gTargetList = [];
obstakelList = [];
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.beginlevel) {
live();
}
}
Instance of Symbol 35 MovieClip "go" in Frame 2
onClipEvent (load) {
this._visible = false;
jump = false;
}
onClipEvent (enterFrame) {
if (this._visible) {
Mouse.show();
_root.showmouse = false;
}
if (jump) {
wabber(0.8, 120, 120, 0.1);
} else {
wabber(0.8, 100, 100, 0.1);
}
}
Instance of Symbol 38 MovieClip "starter" in Frame 2
onClipEvent (load) {
jump = false;
}
onClipEvent (enterFrame) {
if (this._visible) {
Mouse.show();
_root.showmouse = false;
}
if (jump) {
wabber(0.8, 120, 120, 0.1);
} else {
wabber(0.8, 100, 100, 0.1);
}
}
Instance of Symbol 144 MovieClip "bonushighlite" in Frame 2
onClipEvent (load) {
loopalpha = 10;
}
onClipEvent (enterFrame) {
if (_visible) {
if (this._alpha >= 100) {
loopalpha = loopalpha * -1;
}
if (0 >= this._alpha) {
loopalpha = loopalpha * -1;
}
this._alpha = this._alpha - loopalpha;
}
}
Instance of Symbol 147 MovieClip "timebonus" in Frame 2
onClipEvent (enterFrame) {
if ((0 < bonus) and _root.gotimer) {
bonus = Math.floor((_root.initT - getTimer()) / 1000);
}
}
Instance of Symbol 144 MovieClip "hithighlite" in Frame 2
onClipEvent (load) {
loopalpha = 10;
}
onClipEvent (enterFrame) {
if (_visible) {
if (this._alpha >= 100) {
loopalpha = loopalpha * -1;
}
if (0 >= this._alpha) {
loopalpha = loopalpha * -1;
}
this._alpha = this._alpha - loopalpha;
}
}
Frame 3
_root.starter._visible = true;
myLevels = _currentframe - 1;
_root.brickNum2 = 40;
_root.obstakelNum2 = 4;
_root.myScore = _root.myScore + _root.timebonus.bonus;
_root.bonushighlite._visible = true;
stop();
Instance of Symbol 58 MovieClip "2brick3" in Frame 3
/* no clip actions */
Frame 4
_root.starter._visible = true;
myLevels = _currentframe - 1;
_root.brickNum3 = 30;
_root.obstakelNum3 = 4;
_root.myScore = _root.myScore + _root.timebonus.bonus;
_root.bonushighlite._visible = true;
stop();
Instance of Symbol 165 MovieClip "2hindernis1s" in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation - 10;
}
Instance of Symbol 165 MovieClip "2hindernis2s" in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 169 MovieClip "3hindernis1" in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation - 10;
}
Instance of Symbol 169 MovieClip "3hindernis2" in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 165 MovieClip "2hindernis3s" in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 165 MovieClip "2hindernis4s" in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation - 10;
}
Instance of Symbol 171 MovieClip "3brick3" in Frame 4
/* no clip actions */
Instance of Symbol 169 MovieClip "3hindernis4" in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation - 10;
}
Instance of Symbol 169 MovieClip "3hindernis3" in Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Frame 5
_root.starter._visible = true;
myLevels = _currentframe - 1;
_root.brickNum4 = 40;
_root.obstakelNum4 = 4;
_root.myScore = _root.myScore + _root.timebonus.bonus;
_root.bonushighlite._visible = true;
stop();
Instance of Symbol 181 MovieClip "4brick17s" in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 185 MovieClip "4brick17" in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 181 MovieClip "4brick29s" in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 185 MovieClip "4brick29" in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 181 MovieClip "4brick28s" in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 10;
}
Instance of Symbol 115 MovieClip "4brick3" in Frame 5
/* no clip actions */
Instance of Symbol 185 MovieClip "4brick28" in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 10;
}
Instance of Symbol 181 MovieClip "4brick13s" in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 10;
}
Instance of Symbol 185 MovieClip "4brick13" in Frame 5
onClipEvent (enterFrame) {
this._rotation = this._rotation - 10;
}
Frame 6
_root.starter._visible = true;
myLevels = _currentframe - 1;
_root.brickNum5 = 24;
_root.obstakelNum5 = 6;
_root.myScore = _root.myScore + _root.timebonus.bonus;
_root.bonushighlite._visible = true;
stop();
Instance of Symbol 195 MovieClip "5brick2s" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 196 MovieClip "5brick3s" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 195 MovieClip "5brick4s" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 196 MovieClip "5brick1s" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 200 MovieClip "5brick2" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 201 MovieClip "5brick3" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 200 MovieClip "5brick4" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Instance of Symbol 201 MovieClip "5brick1" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation - 2;
}
Instance of Symbol 165 MovieClip "5hindernis1s" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 169 MovieClip "5hindernis1" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 165 MovieClip "5hindernis2s" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 169 MovieClip "5hindernis2" in Frame 6
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Frame 7
stop();
Mouse.show();
Symbol 21 MovieClip Frame 1
stop();
function getAngle() {
return(-_rotation);
}
Symbol 21 MovieClip Frame 2
play();
Symbol 21 MovieClip Frame 8
play();
Symbol 21 MovieClip Frame 9
gotoAndStop (1);
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 2
stop();
Instance of Symbol 24 MovieClip in Symbol 26 MovieClip Frame 2
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
if (0 >= this._alpha) {
_parent.gotoAndStop(1);
} else {
this._alpha = this._alpha - 5;
}
}
Instance of Symbol 24 MovieClip in Symbol 26 MovieClip Frame 2
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
this._alpha = this._alpha - 5;
}
Instance of Symbol 24 MovieClip in Symbol 26 MovieClip Frame 2
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
this._alpha = this._alpha - 5;
}
Symbol 27 MovieClip Frame 1
function live() {
move();
if (isCollision(_root.wall.padhit) and _root.constrainer.hitTest(this._x, this._y, true)) {
reflect(Math.toStandardAngle(_root.wall.getAngle()));
firsthit = true;
_root.wall.gotoAndPlay(2);
_root.myScore = _root.myScore + _root.combibonus;
_root.combibonus = 0;
_root.brickcounter = 0;
_root.hithighlite._visible = false;
}
}
function move() {
_x = (_x + vx);
_y = (_y - vy);
var theopstakelNum = obstakellist.length;
i = 0;
while (theopstakelNum >= i) {
var thisObstakel = obstakellist[i];
if (isCollision(_root[thisObstakel]) and firsthit) {
reflect(Math.toStandardAngle(_root[thisObstakel].getAngle()));
_root[thisObstakel].gotoAndPlay(2);
}
i++;
}
var theTileNum = gTargetList.length;
i = 0;
while (theTileNum >= i) {
var thisTile = gTargetList[i];
if (isCollision(_root[thisTile]) and firsthit) {
reflect(Math.toStandardAngle(_root[thisTile].getAngle()));
_root[thisTile].Play();
gTargetList.splice(i, 1);
}
i++;
}
if (gTargetList.length == 0) {
_root.gotoAndStop(_root._currentframe + 1);
_root.beginlevel = false;
this._x = originx;
this._y = originy;
vx = originvx;
vy = originvy;
firsthit = false;
_root.gotimer = false;
}
if ((0 >= _x) or (_x >= 300)) {
this._x = originx;
this._y = originy;
vx = originvx;
vy = originvy;
firsthit = false;
_root.beginlevel = false;
_root.go._visible = true;
_root["live" add _root.numLives].gotoAndPlay(2);
if (_root.numLives == 1) {
_root.startscreen.gotoAndStop("gameover");
_root.startscreen._visible = true;
_root.gotimer = false;
} else {
_root.numLives = _root.numLives - 1;
}
}
if ((0 >= _y) or (_y >= 300)) {
this._x = originx;
this._y = originy;
vx = originvx;
vy = originvy;
firsthit = false;
_root.beginlevel = false;
_root.go._visible = true;
_root["live" add _root.numLives].gotoAndPlay(2);
if (_root.numLives == 1) {
_root.startscreen.gotoAndStop("gameover");
_root.startscreen._visible = true;
_root.gotimer = false;
} else {
_root.numLives = _root.numLives - 1;
}
}
}
function isCollision(wall) {
return(wall.hitTest(_x + vx, _y - vy, true));
}
function reflect(wallAngle) {
var r = ((2 * wallAngle) - this.getVelAngle());
r = r * (Math.PI/180);
var v = this.getVelMagnitude();
vx = v * Math.cos(r);
vy = v * Math.sin(r);
}
function getVelAngle() {
return(Math.toStandardAngle((Math.atan2(vy, vx) * 180) / Math.PI));
}
function getVelMagnitude() {
return(Math.sqrt((vx * vx) + (vy * vy)));
}
Math.toStandardAngle = function (a) {
while (360 < a) {
a = a - 360;
}
while (a < 0) {
a = a + 360;
}
return(a);
};
Symbol 34 Button
on (release) {
Mouse.hide();
_root.showmouse = true;
_root.beginlevel = true;
this._visible = false;
_root.balle.ballmovie.gotoAndPlay(2);
_root.myScore = _root.myScore + _root.combibonus;
_root.combibonus = 0;
_root.brickcounter = 0;
_root.hithighlite._visible = false;
}
on (rollOver) {
jump = true;
}
on (rollOut) {
jump = false;
}
Symbol 37 Button
on (release) {
Mouse.hide();
_root.showmouse = true;
_root.beginlevel = true;
this._visible = false;
_root.balle.maketargetList(_root["brickNum" add (_root._currentframe - 1)], _root["obstakelNum" add (_root._currentframe - 1)]);
_root.balle.ballmovie.gotoAndPlay(2);
_root.timebonus.bonus = (_root.initT = getTimer() + 300000);
_root.timebonus.bonus = Math.floor((_root.initT - getTimer()) / 1000);
_root.gotimer = true;
_root.bonushighlite._visible = false;
_root.myScore = _root.myScore + _root.combibonus;
_root.combibonus = 0;
_root.brickcounter = 0;
_root.hithighlite._visible = false;
}
on (rollOver) {
jump = true;
}
on (rollOut) {
jump = false;
}
Symbol 45 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 45 MovieClip Frame 2
_root.myScore = _root.myScore + 10;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 45 MovieClip Frame 6
this._visible = false;
stop();
Symbol 47 Button
on (release) {
_root.startscreen.gotoAndStop(2);
}
Symbol 52 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 52 MovieClip Frame 2
_root.myScore = _root.myScore + 20;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 52 MovieClip Frame 6
this._visible = false;
stop();
Symbol 58 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 58 MovieClip Frame 2
_root.myScore = _root.myScore + 10;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 58 MovieClip Frame 6
this._visible = false;
stop();
Symbol 69 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 69 MovieClip Frame 2
_root.myScore = _root.myScore + 10;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 69 MovieClip Frame 6
this._visible = false;
stop();
Symbol 81 MovieClip Frame 45
gotoAndPlay (1);
Symbol 91 Button
on (release) {
_root._quality = "high";
}
Symbol 92 Button
on (release) {
_root._quality = "medium";
}
Symbol 93 Button
on (release) {
_root._quality = "low";
}
Symbol 115 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 115 MovieClip Frame 2
_root.myScore = _root.myScore + 10;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 115 MovieClip Frame 6
this._visible = false;
stop();
Symbol 118 Button
on (rollOver) {
jump = true;
}
on (rollOut) {
jump = false;
}
on (release) {
if (_parent._currentframe != 3) {
_root.gotohighscore = true;
}
_root.gotoAndStop("highscore");
_root.startscreen._visible = false;
}
Symbol 122 Button
on (release) {
_root.startscreen._visible = false;
_root.balle._visible = true;
}
on (rollOver) {
jump = true;
}
on (rollOut) {
jump = false;
}
Symbol 126 MovieClip Frame 1
stop();
Instance of Symbol 60 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (100 >= this._alpha) {
this._alpha = this._alpha + 5;
}
xsin = xsin + 1;
_y = ((Math.sin(xsin / 10) * 10) + 200);
_xscale = ((Math.cos(xsin / 20) * 5) + 100);
_yscale = ((Math.cos(xsin / 20) * 5) + 100);
}
Instance of Symbol 65 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
credit1 = "<p align=\"center\">Many thankz to the skyboxbuddiez...</p>";
credit2 = "<p align=\"center\">Thankz to: XemonerdX ( <a href=\"asfunction:_root.gotoUrl,http://www.flashfreaks.nl\"><u>www.flashfreaks.nl</u></a> ) for pointing me to a great script by Robert Penner...</p>";
credit3 = "<p align=\"center\">Also thankz to: Kaptain Kory's World for providing me the pearl script of the highscore module...</p>";
credit4 = "<p align=\"center\">This game is created by: Walter Faas, <a href=\"asfunction:_root.gotoUrl,http://www.zoetebroodjes.nl\"><u>www.zoetebroodjes.nl</u></a></p>";
counter = 1;
credit = credit1;
_root.timer = getTimer() + 6000;
}
onClipEvent (enterFrame) {
if (_root.timer < getTimer()) {
if (3 < counter) {
counter = 0;
}
counter = counter + 1;
credit = eval ("credit" add counter);
_root.timer = getTimer() + 6000;
}
}
Symbol 126 MovieClip Frame 2
stop();
Instance of Symbol 71 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
originy = this._y;
}
onClipEvent (enterFrame) {
i = i + 1;
this._y = (Math.cos(i / 15) * 5) + originy;
}
Instance of Symbol 83 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
this.bellenmovie.gotoAndPlay(30);
}
Instance of Symbol 71 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
originy = this._y;
}
onClipEvent (enterFrame) {
i = i + 1;
this._y = (Math.cos(i / 16) * 5) + originy;
}
Instance of Symbol 83 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
this.bellenmovie.gotoAndPlay(10);
}
Instance of Symbol 83 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
this.bellenmovie.gotoAndPlay(20);
}
Instance of Symbol 119 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
jump = false;
}
onClipEvent (enterFrame) {
if (jump) {
wabber(0.8, 120, 120, 0.1);
} else {
wabber(0.8, 100, 100, 0.1);
}
}
Instance of Symbol 123 MovieClip in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
jump = false;
}
onClipEvent (enterFrame) {
if (jump) {
wabber(0.8, 120, 120, 0.1);
} else {
wabber(0.8, 100, 100, 0.1);
}
}
Symbol 126 MovieClip Frame 3
Mouse.show();
_root.showmouse = false;
stop();
Instance of Symbol 125 MovieClip in Symbol 126 MovieClip Frame 3
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (100 >= this._alpha) {
this._alpha = this._alpha + 5;
}
xsin = xsin + 1;
_y = ((Math.sin(xsin / 10) * 10) + 200);
_xscale = ((Math.cos(xsin / 20) * 5) + 100);
_yscale = ((Math.cos(xsin / 20) * 5) + 100);
}
Symbol 130 MovieClip Frame 21
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
play();
Symbol 136 MovieClip Frame 3
gotoAndStop (1);
this._visible = false;
Symbol 152 Button
on (release) {
getURL ("mailto:wfaas@fhv.bbdo.nl");
}
Symbol 155 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
this._visible = false;
stop();
Symbol 155 MovieClip Frame 2
_root.hindernis.gotoAndPlay(2);
play();
Symbol 155 MovieClip Frame 3
gotoAndStop (1);
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
play();
Symbol 159 MovieClip Frame 9
gotoAndStop (1);
Symbol 163 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 163 MovieClip Frame 2
_root.myScore = _root.myScore + 10;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 163 MovieClip Frame 6
this._visible = false;
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 2
play();
Symbol 165 MovieClip Frame 9
gotoAndStop (1);
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
_root[_name add "s"].gotoAndPlay(2);
play();
Symbol 169 MovieClip Frame 14
gotoAndStop (1);
Symbol 171 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 171 MovieClip Frame 2
_root.myScore = _root.myScore + 15;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 171 MovieClip Frame 6
this._visible = false;
stop();
Symbol 173 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 173 MovieClip Frame 2
_root.myScore = _root.myScore + 15;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 173 MovieClip Frame 6
this._visible = false;
stop();
Symbol 175 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
this._visible = false;
stop();
Symbol 175 MovieClip Frame 2
_root.hindernis.gotoAndPlay(2);
play();
Symbol 175 MovieClip Frame 3
gotoAndStop (1);
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 2
play();
Symbol 179 MovieClip Frame 9
gotoAndStop (1);
Symbol 185 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Instance of Symbol 184 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (load) {
goalpha = 10;
}
onClipEvent (enterFrame) {
if (0 >= this._alpha) {
goalpha = goalpha * -1;
}
if (this._alpha >= 100) {
goalpha = goalpha * -1;
}
this._alpha = this._alpha - goalpha;
}
Symbol 185 MovieClip Frame 2
_root[this._name add "s"]._visible = false;
_root.myScore = _root.myScore + 15;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 185 MovieClip Frame 6
this._visible = false;
stop();
Symbol 187 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
this._visible = false;
stop();
Symbol 187 MovieClip Frame 2
_root.hindernis.gotoAndPlay(2);
play();
Symbol 187 MovieClip Frame 3
gotoAndStop (1);
Symbol 189 MovieClip Frame 1
play();
Symbol 189 MovieClip Frame 20
gotoAndPlay (1);
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
play();
Symbol 194 MovieClip Frame 10
gotoAndStop (1);
Symbol 195 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 196 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 200 MovieClip Frame 2
_root[this._name add "s"]._visible = false;
_root.myScore = _root.myScore + 20;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 200 MovieClip Frame 6
this._visible = false;
stop();
Symbol 201 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 201 MovieClip Frame 2
_root[this._name add "s"]._visible = false;
_root.myScore = _root.myScore + 20;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 201 MovieClip Frame 6
this._visible = false;
stop();
Symbol 203 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 203 MovieClip Frame 2
_root.myScore = _root.myScore + 10;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 203 MovieClip Frame 6
this._visible = false;
stop();
Symbol 205 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 205 MovieClip Frame 2
_root[this._name add "s"]._visible = false;
play();
Symbol 205 MovieClip Frame 6
this._visible = false;
stop();
Symbol 209 MovieClip Frame 1
function getAngle() {
return(-_rotation);
}
stop();
Symbol 209 MovieClip Frame 2
_root.myScore = _root.myScore + 15;
_root.brickcounter = _root.brickcounter + 1;
if (1 < _root.brickcounter) {
_root.combibonus = _root.brickcounter * 10;
_root.hithighlite._visible = true;
}
play();
Symbol 209 MovieClip Frame 6
this._visible = false;
stop();
Symbol 211 Button
on (release) {
_parent.play();
}
on (rollOver) {
jump = true;
}
on (rollOut) {
jump = false;
}
Symbol 226 Button
on (release) {
getURL ("http://www.k2w.f2s.com/software/", "_blank");
}
Symbol 228 Button
on (rollOver) {
jump = true;
}
on (rollOut) {
jump = false;
}
on (release) {
getURL ("javascript:document.location.reload();");
}
Symbol 232 MovieClip Frame 1
setProperty("_root.highscoreclip.content", _y , _root.highscoreclip.contentbgn - (((_root.highscoreclip.content._height - _root.highscoreclip.scroller) / _root.highscoreclip.scroller) * (_root.highscoreclip.drag._y - _root.highscoreclip.dragbgn)));
call("");
Symbol 235 MovieClip Frame 1
stop();
Symbol 242 Button
on (rollOver) {
_root.highscoreclip.highscorecomment = _root.highscoreclip["my_comment_" add scoreNum];
}
on (rollOut, dragOut, releaseOutside) {
_root.highscoreclip.highscorecomment = "";
}
Instance of Symbol 245 MovieClip "scoreElement1" in Symbol 250 MovieClip Frame 1
onClipEvent (load) {
scoreNum = _name.substring(12, _name.length);
highscorenummer = scoreNum;
highscorename = _root.highscoreclip["name_" add scoreNum];
if (highscorename eq "") {
highscorename = "--";
}
highscorescore = _root.highscoreclip["score_" add scoreNum];
if (highscorescore eq "") {
highscorescore = "--";
}
highscorelevel = _root.highscoreclip["my_level_" add scoreNum];
if (highscorelevel eq "") {
highscorelevel = "--";
}
this.ster.gotoAndStop(scoreNum);
}
Symbol 253 Button
on (press) {
startDrag ("_root.highscoreclip.drag", false, this._x, _root.highscoreclip.dragbgn + _root.highscoreclip.scroller, this._x, _root.highscoreclip.dragbgn);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 255 MovieClip Frame 1
my_score = _root.myScore;
my_level = _root.myLevels;
if (_root.gotohighscore) {
my_score = "";
gotoAndPlay (2);
}
stop();
Instance of Symbol 212 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
jump = false;
}
onClipEvent (enterFrame) {
if (jump) {
wabber(0.8, 120, 120, 0.1);
} else {
wabber(0.8, 100, 100, 0.1);
}
}
Symbol 255 MovieClip Frame 2
sk_url = "http://www.skybox.org/cgi-bin/breakout/sk.pl";
game_title = "breakout";
game_author = "skybox";
anonymous_name = "Anoniem";
script_timeout = 10;
highscorecomment = "Loading";
script_timeout = (getTimer() / 1000) + script_timeout;
loadVariables (sk_url, this, "POST");
_root.gotohighscore = false;
play();
Instance of Symbol 229 MovieClip in Symbol 255 MovieClip Frame 2
onClipEvent (load) {
jump = false;
}
onClipEvent (enterFrame) {
if (jump) {
wabber(0.8, 120, 120, 0.1);
} else {
wabber(0.8, 100, 100, 0.1);
}
}
Symbol 255 MovieClip Frame 3
test_timeout = getTimer() / 1000;
if (sk_done eq "yes") {
sk_done = "no";
highscorecomment = "";
gotoAndPlay (5);
} else if (test_timeout >= script_timeout) {
highscorecomment = "This script has timed out.";
stop();
} else {
if (highscorecomment eq "Loading....") {
highscorecomment = "Loading";
} else {
highscorecomment = highscorecomment + ".";
}
play();
}
Symbol 255 MovieClip Frame 4
prevFrame();
Symbol 255 MovieClip Frame 5
i = 2;
while (25 >= i) {
duplicateMovieClip ("_root.highscoreclip.content.scoreElement1", "scoreElement" + i, i);
_root.highscoreclip.content["scoreElement" + i]._y = _root.highscoreclip.content["scoreElement" + (i - 1)]._y + (_root.highscoreclip.content.scoreElement1._height - 5);
i++;
}
dragbgn = _root.highscoreclip.drag._y;
contentbgn = _root.highscoreclip.content._y;
scroller = _root.highscoreclip.scrolllength._height;
i = 1;
while (25 >= i) {
if ((my_score == _root.highscoreclip["score_" add i]) and (my_name == _root.highscoreclip["name_" add i])) {
highscorecomment = ("You ranked number " add i) add " out of the top 25 players!";
i = 26;
} else if (my_name ne "") {
highscorecomment = "Sorry, you did'nt earn a place in the top 25 players!";
} else {
highscorecomment = "";
}
i++;
}
stop();