Frame 1
Stage.showMenu = false;
mybaseurl = String(_url);
filevar = mybaseurl.substr(0, 4);
if (filevar != "file") {
tempkey = Math.round(Math.random() * 100000);
this.targetUrl = (("http://www.totallygame.com/stat/?phpbase=" + mybaseurl) + "&game=2015&key=") + tempkey;
loadMovieNum (this.targetUrl, 2);
}
Instance of Symbol 35 MovieClip "kogel" in Frame 1
onClipEvent (load) {
deltax = 0;
deltay = 0;
}
onClipEvent (enterFrame) {
_x = (_x + deltax);
_y = (_y + deltay);
if ((_root.pong.gungeladen == true) and (_root.gun == false)) {
_x = 750;
}
if (_x <= 97) {
this.play();
deltax = 0;
deltay = 0;
}
}
Instance of Symbol 42 MovieClip "preloader" in Frame 1
onClipEvent (load) {
TB = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
GB = _root.getBytesLoaded();
PL = (GB / TB) * 100;
_root.preloader.timerMC.timerdown._yscale = 100 - PL;
if (PL > 95) {
_root.gotoAndPlay(2);
} else {
hideLoader_mc._visible = false;
}
updateAfterEvent();
}
Frame 2
if (_root.alreadyPlayedCS) {
btnPlay_mc._visible = true;
} else {
btnPlay_mc._visible = false;
_root.alreadyPlayedCS = true;
}
mc.gotoAndStop(1);
mc2.gotoAndStop(1);
score = 0;
_root.totalscore = 0;
stop();
Frame 3
_root.intromusic_mc.gotoAndPlay("stopintromusic");
_root.heromusic_mc.gotoAndPlay("startheromusic");
stop();
Frame 4
_root.comicmusic_mc.gotoAndPlay("startcomicmusic");
stop();
_global.dxspeed = 25;
_global.dyspeed = 0.5;
_global.dmaxspeed = 20;
Frame 5
_root.levelmusic_mc.gotoAndPlay("startlevelmusic");
function createMC(librarynaam, nieuwenaam, xcoord, ycoord) {
var _local2 = _root.attachMovie(librarynaam, nieuwenaam, depth++);
_local2._x = xcoord;
_local2._y = ycoord;
}
benodigdepunten = 0;
score = 0;
wall = 113;
depth = 1;
hit = false;
hit2 = false;
hit3 = false;
magnet = false;
magnetloop = false;
gun = false;
gunloop = false;
level = 1;
levelsteen = false;
stop();
Instance of Symbol 145 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.hit2 = false;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.hit3 = false;
}
updateAfterEvent();
}
Instance of Symbol 145 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.pong.kaats1 = false;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.pong.kaats2 = false;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.pong.kaats3 = false;
}
updateAfterEvent();
}
Instance of Symbol 186 MovieClip "raak" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.punten = 1;
_root.hit = true;
_root.ping.gotoAndPlay(2);
_root.score = _root.score + _root.punten;
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Instance of Symbol 186 MovieClip "raak3" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.punten = 1;
_root.hit = true;
_root.ping.gotoAndPlay(2);
_root.score = _root.score + _root.punten;
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Instance of Symbol 186 MovieClip "raak2" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.punten = 1;
_root.hit = true;
_root.ping.gotoAndPlay(2);
_root.score = _root.score + _root.punten;
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Instance of Symbol 188 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 217 MovieClip "bal1" in Frame 5
onClipEvent (load) {
dx = 0;
dy = 0;
effect = 0;
nieuwlevel = true;
_root.dit = 3;
punten = 1;
goal = false;
goals = 0;
over = false;
}
onClipEvent (enterFrame) {
if ((dx == 0) and (dy == 0)) {
if (Key.isDown(32)) {
dx = dxspeed;
dy = dyspeed;
}
}
effect = effect * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect));
_rotation = (_rotation + (effect * 20));
if ((_x < 109) and (_root.hit == false)) {
_root.hit = true;
dx = dx * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if ((this._x > 600) and (over == false)) {
over = true;
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
gf = 4 - _root.dit;
_root.pong.stoot.gotoAndPlay(gf);
_root.pong.draaiding.gotoAndPlay(gf);
_root.pong.Draaitand.gotoAndPlay(gf);
dx = 0;
dy = 0;
this.gotoAndPlay("weg");
}
}
Instance of Symbol 188 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 226 MovieClip "onzichtbaar" in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L2");
_root.hit = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Instance of Symbol 387 MovieClip "pong" in Frame 5
onClipEvent (load) {
nulpunt = this._y;
magneetactief = false;
gungeladen = true;
kaats1 = false;
kaats2 = false;
kaats3 = false;
tijd1 = 0;
tijd2 = 0;
tijd3 = 0;
}
onClipEvent (enterFrame) {
if (tijd1 > 0) {
tijd1 = tijd1 + 1;
}
if (tijd1 > 600) {
tijd1 = 0;
_root.bal1.dx = 0;
_root.bal1.dy = 0;
_root.bal1.gotoAndPlay("new appear");
}
if ((_root.bal1._currentframe > 20) and (_root.bal1._currentframe < 45)) {
tijd1 = 0;
}
if (tijd2 > 0) {
tijd2 = tijd2 + 1;
}
if (tijd2 > 600) {
tijd2 = 0;
_root.bal2.dx = 0;
_root.bal2.dy = 0;
_root.bal2.gotoAndPlay("new appear");
}
if ((_root.bal2._currentframe > 20) and (_root.bal2._currentframe < 45)) {
tijd2 = 0;
}
if (tijd3 > 0) {
tijd3 = tijd3 + 1;
}
if (tijd3 > 600) {
tijd3 = 0;
_root.bal3.dx = 0;
_root.bal3.dy = 0;
_root.bal3.gotoAndPlay("new appear");
}
if ((_root.bal3._currentframe > 20) and (_root.bal3._currentframe < 45)) {
tijd3 = 0;
}
if (_root.dit > 0) {
if (this.stoot._currentframe != (4 - _root.dit)) {
this.stoot.gotoAndPlay(4 - _root.dit);
this.draaiding.gotoAndPlay(4 - _root.dit);
this.Draaitand.gotoAndPlay(4 - _root.dit);
}
if (Key.isDown(38)) {
ysnelheid = ysnelheid + -4;
_root.hydro.nextFrame();
} else if (Key.isDown(40)) {
ysnelheid = ysnelheid + 4;
_root.hydro.nextFrame();
} else {
_root.hydro.gotoAndStop(1);
}
ysnelheid = ysnelheid * 0.8;
if (Key.isDown(37)) {
snelheid = -3;
_root.mech.nextFrame();
} else if (Key.isDown(39)) {
snelheid = 3;
_root.mech.nextFrame();
} else {
snelheid = snelheid * 0.7;
_root.mech.gotoAndStop(1);
}
if (_rotation < -110) {
_rotation = -110;
}
if (_rotation > -75) {
_rotation = -75;
}
_rotation = (_rotation + snelheid);
_root.pong.draaiding._rotation = (-(2 * _rotation)) - 185;
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (kaats1 == true)) {
_root.bal1.dx = Math.abs(_root.bal1.dx) * -1.1;
}
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (kaats1 == false)) {
tijd1 = 1;
kaats1 = true;
if (_root.bal1._x > (_x - 60)) {
gF = 4 - _root.dit;
this.stoot.gotoAndPlay(gf);
this.draaiding.gotoAndPlay(gf);
this.Draaitand.gotoAndPlay(gf);
}
if (_root.magnet == true) {
if (_root.magnetloop == false) {
afstandx = _root.bal1._x - _x;
afstandy = _root.bal1._y - _y;
minrot = _rotation;
_root.magnetloop = true;
magneetactief = true;
}
} else {
_root.achter.raak2 = false;
_root.ping.gotoAndPlay(2);
totaalSnelheid = Math.sqrt(Math.pow(_root.bal1.dx, 2) + Math.pow(_root.bal1.dy, 2));
gH = Math.atan(_root.bal1.dy / _root.bal1.dx);
aH = ((_rotation - 90) / 360) * 6.2832;
Ndx = Math.cos(aH - (gH - aH)) * totaalSnelheid;
Ndy = Math.sin(aH - (gH - aH)) * totaalSnelheid;
if (this.zijkant.hitTest(_root.bal1._x, _root.bal1._y, true)) {
Ndy = Ndy * -0.97;
Ndx = Ndx * -0.97;
}
if (this.draaiding.hitTest(_root.bal1._x, _root.bal1._y, true)) {
kaats1 = false;
Ndy = Ndy * -1;
}
_root.score = _root.score + _root.bal1.punten;
if ((totaalSnelheid * 1.1) <= dmaxspeed) {
_root.bal1.effect = ysnelheid - _root.bal1.dy;
_root.bal1.dx = (-Ndx) * 1.07;
_root.bal1.dy = (-Ndy) * 1.07;
} else {
_root.bal1.effect = ysnelheid - _root.bal1.dy;
_root.bal1.dx = -Ndx;
_root.bal1.dy = -Ndy;
}
}
trace(totaalSnelheid);
}
if (magneetactief == true) {
_root.bal1.dx = 0;
_root.bal1.dy = 0;
rad = ((((_rotation + 90) - minrot) * 2) * Math.PI) / 360;
rad2 = (((_rotation - minrot) * 2) * Math.PI) / 360;
_root.bal1._x = (_x + (Math.cos(rad) * afstandy)) + (Math.cos(rad2) * afstandx);
_root.bal1._y = (_y + (Math.sin(rad) * afstandy)) + (Math.sin(rad2) * afstandx);
if (_root.bal1._y < 88) {
afstandy = afstandy + 3;
} else if (_root.bal1._y > 381) {
afstandy = afstandy - 3;
}
if (Key.isDown(32)) {
s = Math.sin(rad) * -7;
_root.bal1.dx = Math.sin((-((_rotation * 2) * Math.PI)) / 360) * s;
_root.bal1.dy = Math.cos((-((_rotation * 2) * Math.PI)) / 360) * s;
magneetactief = false;
_root.magnetloop = false;
}
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true) and (kaats2 == true)) {
_root.bal2.dx = Math.abs(_root.bal2.dx) * -1.1;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true) and (kaats2 == false)) {
tijd2 = 1;
kaats2 = true;
if (_root.bal2._x > (_x - 60)) {
gF = 4 - _root.dit;
this.stoot.gotoAndPlay(gf);
this.draaiding.gotoAndPlay(gf);
this.Draaitand.gotoAndPlay(gf);
}
if (_root.magnet == true) {
if (_root.magnetloop == false) {
afstandx = _root.bal2._x - _x;
afstandy = _root.bal2._y - _y;
minrot = _rotation;
_root.magnetloop = true;
magneetactief = true;
}
} else {
_root.achter.raak2 = false;
_root.ping.gotoAndPlay(2);
totaalSnelheid = Math.sqrt(Math.pow(_root.bal2.dx, 2) + Math.pow(_root.bal2.dy, 2));
gH = Math.atan(_root.bal2.dy / _root.bal2.dx);
(aH = ((_rotation - 90) / 360) * 6);
Ndx = Math.cos(aH - (gH - aH)) * totaalSnelheid;
Ndy = Math.sin(aH - (gH - aH)) * totaalSnelheid;
if (this.zijkant.hitTest(_root.bal2._x, _root.bal2._y, true)) {
Ndy = Ndy * -0.97;
Ndx = Ndx * -0.97;
}
if (this.draaiding.hitTest(_root.bal2._x, _root.bal2._y, true)) {
kaats2 = false;
Ndy = Ndy * -1;
}
_root.score = _root.score + _root.bal2.punten;
if ((totaalSnelheid * 1.1) <= dmaxspeed) {
_root.bal2.effect2 = ysnelheid - _root.bal2.dy;
_root.bal2.dx = (-Ndx) * 1.07;
_root.bal2.dy = (-Ndy) * 1.07;
} else {
_root.bal2.effect2 = ysnelheid - _root.bal2.dy;
_root.bal2.dx = -Ndx;
_root.bal2.dy = -Ndy;
}
}
trace(totaalSnelheid);
}
if (magneetactief == true) {
_root.bal2.dx = 0;
_root.bal2.dy = 0;
rad = ((((_rotation + 90) - minrot) * 2) * Math.PI) / 360;
rad2 = (((_rotation - minrot) * 2) * Math.PI) / 360;
_root.bal2._x = (_x + (Math.cos(rad) * afstandy)) + (Math.cos(rad2) * afstandx);
_root.bal2._y = (_y + (Math.sin(rad) * afstandy)) + (Math.sin(rad2) * afstandx);
if (Key.isDown(32)) {
s = Math.sin(rad) * -7;
_root.bal2.dx = Math.sin((-((_rotation * 2) * Math.PI)) / 360) * s;
_root.bal2.dy = Math.cos((-((_rotation * 2) * Math.PI)) / 360) * s;
magneetactief = false;
_root.magnetloop = false;
}
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true) and (kaats3 == true)) {
_root.bal3.dx = Math.abs(_root.bal3.dx) * -1.1;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true) and (kaats3 == false)) {
tijd3 = 1;
kaats3 = true;
if (_root.bal3._x > (_x - 60)) {
gF = 4 - _root.dit;
this.stoot.gotoAndPlay(gf);
this.draaiding.gotoAndPlay(gf);
this.Draaitand.gotoAndPlay(gf);
}
if (_root.magnet == true) {
if (_root.magnetloop == false) {
afstandx = _root.bal3._x - _x;
afstandy = _root.bal3._y - _y;
minrot = _rotation;
_root.magnetloop = true;
magneetactief = true;
}
} else {
_root.achter.raak2 = false;
_root.ping.gotoAndPlay(2);
totaalSnelheid = Math.sqrt(Math.pow(_root.bal3.dx, 2) + Math.pow(_root.bal3.dy, 2));
gH = Math.atan(_root.bal3.dy / _root.bal3.dx);
(aH = ((_rotation - 90) / 360) * 6);
Ndx = Math.cos(aH - (gH - aH)) * totaalSnelheid;
Ndy = Math.sin(aH - (gH - aH)) * totaalSnelheid;
if (this.zijkant.hitTest(_root.bal3._x, _root.bal3._y, true)) {
Ndy = Ndy * -0.97;
Ndx = Ndx * -0.97;
}
if (this.draaiding.hitTest(_root.bal3._x, _root.bal3._y, true)) {
kaats3 = false;
Ndy = Ndy * -1;
}
_root.score = _root.score + _root.bal3.punten;
if ((totaalSnelheid * 1.1) <= dmaxspeed) {
_root.bal3.effect3 = ysnelheid - _root.bal3.dy;
_root.bal3.dx = (-Ndx) * 1.07;
_root.bal3.dy = (-Ndy) * 1.07;
} else {
_root.bal3.effect3 = ysnelheid - _root.bal3.dy;
_root.bal3.dx = -Ndx;
_root.bal3.dy = -Ndy;
}
}
trace(totaalSnelheid);
}
if (magneetactief == true) {
_root.bal3.dx = 0;
_root.bal3.dy = 0;
rad = ((((_rotation + 90) - minrot) * 2) * Math.PI) / 360;
rad2 = (((_rotation - minrot) * 2) * Math.PI) / 360;
_root.bal3._x = (_x + (Math.cos(rad) * afstandy)) + (Math.cos(rad2) * afstandx);
_root.bal3._y = (_y + (Math.sin(rad) * afstandy)) + (Math.sin(rad2) * afstandx);
if (Key.isDown(32)) {
s = Math.sin(rad) * -7;
_root.bal3.dx = Math.sin((-((_rotation * 2) * Math.PI)) / 360) * s;
_root.bal3.dy = Math.cos((-((_rotation * 2) * Math.PI)) / 360) * s;
magneetactief = false;
_root.magnetloop = false;
}
}
if ((_root.gun == true) and (gungeladen == true)) {
rad = ((((_rotation + 90) - minrot) * 2) * Math.PI) / 360;
rad2 = (((_rotation - minrot) * 2) * Math.PI) / 360;
_root.kogel._x = (_x - (Math.cos(rad) * 74)) + (Math.cos(rad2) * 33);
_root.kogel._y = (_y - (Math.sin(rad) * 74)) + (Math.sin(rad2) * 33);
if (Key.isDown(32)) {
this.thegun.gotoAndPlay(2);
_root.kogel.deltax = -9;
gungeladen = false;
}
}
if (_root.gun == false) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
_y = (_y + ysnelheid);
if (_y < 160) {
_y = 160;
ysnelheid = ysnelheid * -1;
}
if (_y > 376) {
_y = 376;
ysnelheid = ysnelheid * -1;
}
afstand = _y - nulpunt;
rotatie = afstand * -1.9;
Draaitand._rotation = rotatie - _rotation;
if (_root.hit == true) {
_root.bal1.effect = 0;
kaats1 = false;
}
if (_root.hit2 == true) {
_root.bal2.effect2 = 0;
kaats2 = false;
}
if (_root.hit3 == true) {
_root.bal3.effect3 = 0;
kaats3 = false;
}
totaalSnelheid = Math.sqrt(Math.pow(_root.bal1.dx, 2) + Math.pow(_root.bal1.dy, 2));
if (totaalsnelheid > 10) {
_root.bal1.dx = _root.bal1.dx * 0.97;
_root.bal1.dy = _root.bal1.dy * 0.97;
}
totaalSnelheid2 = Math.sqrt(Math.pow(_root.bal2.dx, 2) + Math.pow(_root.bal2.dy, 2));
if (totaalsnelheid2 > 10) {
_root.bal2.dx = _root.bal2.dx * 0.97;
_root.bal2.dy = _root.bal2.dy * 0.97;
}
}
}
Instance of Symbol 394 MovieClip "punten1" in Frame 5
onClipEvent (load) {
level = 0;
teller = 1;
}
onClipEvent (enterFrame) {
if ((_root.score > _root.benodigdepunten) and (_root.levelsteen == false)) {
_root.play();
}
}
Frame 6
stop();
Frame 8
score = 0;
level = 2;
benodigdepunten = 0;
levelsteen = false;
stop();
Instance of Symbol 422 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.hit2 = false;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.hit3 = false;
}
}
Instance of Symbol 423 MovieClip "raak33" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < ((this._y + this._height) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < ((this._y + this._height) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true) and (_root.hit2 == false)) {
_root.hit2 = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal2.dx >= 0) and (_root.bal2.dy >= 0)) {
if (_root.bal2._y > (this._y + 10)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
} else if ((_root.bal2.dx <= 0) and (_root.bal2.dy >= 0)) {
if (_root.bal2._y > (this._y + 10)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
} else if ((_root.bal2.dx <= 0) and (_root.bal2.dy <= 0)) {
if (_root.bal2._y < ((this._y + this._height) - 10)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
} else if ((_root.bal2.dx >= 0) and (_root.bal2.dy <= 0)) {
if (_root.bal2._y < ((this._y + this._height) - 10)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
}
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true) and (_root.hit3 == false)) {
_root.hit3 = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal3.dx >= 0) and (_root.bal3.dy >= 0)) {
if (_root.bal3._y > (this._y + 10)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
} else if ((_root.bal3.dx <= 0) and (_root.bal3.dy >= 0)) {
if (_root.bal3._y > (this._y + 10)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
} else if ((_root.bal3.dx <= 0) and (_root.bal3.dy <= 0)) {
if (_root.bal3._y < ((this._y + this._height) - 10)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
} else if ((_root.bal3.dx >= 0) and (_root.bal3.dy <= 0)) {
if (_root.bal3._y < ((this._y + this._height) - 10)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
this.play();
}
}
Instance of Symbol 217 MovieClip "bal1" in Frame 8
onClipEvent (load) {
dx = 0;
dy = 0;
effect = 0;
nieuwlevel = true;
_root.dit = 3;
punten = 1;
goal = false;
goals = 0;
over = false;
}
onClipEvent (enterFrame) {
if ((dx == 0) and (dy == 0)) {
if (Key.isDown(32)) {
dx = dxspeed;
dy = dyspeed;
}
}
effect = effect * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect));
_rotation = (_rotation + (effect * 20));
if ((_x < 109) and (_root.hit == false)) {
_root.hit = true;
dx = dx * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if ((this._x > 600) and (over == false)) {
over = true;
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
gf = 4 - _root.dit;
_root.pong.stoot.gotoAndPlay(gf);
_root.pong.draaiding.gotoAndPlay(gf);
_root.pong.Draaitand.gotoAndPlay(gf);
dx = 0;
dy = 0;
this.gotoAndPlay("weg");
}
}
Instance of Symbol 188 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 226 MovieClip "onzichtbaar" in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L3");
_root.hit = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Frame 9
stop();
Frame 11
score = 0;
level = 3;
benodigdepunten = 20;
levelsteen = false;
stop();
Instance of Symbol 186 MovieClip "raak" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.punten = 1;
_root.hit = true;
_root.ping.gotoAndPlay(2);
_root.score = _root.score + _root.punten;
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Instance of Symbol 186 MovieClip "raak3" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.punten = 1;
_root.hit = true;
_root.ping.gotoAndPlay(2);
_root.score = _root.score + _root.punten;
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Instance of Symbol 186 MovieClip "raak2" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.punten = 1;
_root.hit = true;
_root.ping.gotoAndPlay(2);
_root.score = _root.score + _root.punten;
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Instance of Symbol 188 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 217 MovieClip "bal1" in Frame 11
onClipEvent (load) {
dx = 0;
dy = 0;
effect = 0;
nieuwlevel = true;
_root.dit = 3;
punten = 1;
goal = false;
goals = 0;
over = false;
}
onClipEvent (enterFrame) {
if ((dx == 0) and (dy == 0)) {
if (Key.isDown(32)) {
dx = dxspeed;
dy = dyspeed;
}
}
effect = effect * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect));
_rotation = (_rotation + (effect * 20));
if ((_x < 109) and (_root.hit == false)) {
_root.hit = true;
dx = dx * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if ((this._x > 600) and (over == false)) {
over = true;
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
gf = 4 - _root.dit;
_root.pong.stoot.gotoAndPlay(gf);
_root.pong.draaiding.gotoAndPlay(gf);
_root.pong.Draaitand.gotoAndPlay(gf);
dx = 0;
dy = 0;
this.gotoAndPlay("weg");
}
}
Frame 12
stop();
Instance of Symbol 188 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 226 MovieClip "onzichtbaar" in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L4");
_root.hit = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Frame 14
score = 0;
level = 4;
benodigdepunten = 50;
levelsteen = false;
stop();
Instance of Symbol 217 MovieClip "bal1" in Frame 14
onClipEvent (load) {
dx = 0;
dy = 0;
effect = 0;
nieuwlevel = true;
_root.dit = 3;
punten = 1;
goal = false;
goals = 0;
over = false;
}
onClipEvent (enterFrame) {
if ((dx == 0) and (dy == 0)) {
if (Key.isDown(32)) {
dx = dxspeed;
dy = dyspeed;
}
}
effect = effect * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect));
_rotation = (_rotation + (effect * 20));
if ((_x < 109) and (_root.hit == false)) {
_root.hit = true;
dx = dx * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if ((this._x > 600) and (over == false)) {
over = true;
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
gf = 4 - _root.dit;
_root.pong.stoot.gotoAndPlay(gf);
_root.pong.draaiding.gotoAndPlay(gf);
_root.pong.Draaitand.gotoAndPlay(gf);
dx = 0;
dy = 0;
this.gotoAndPlay("weg");
}
}
Frame 15
stop();
Instance of Symbol 188 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 226 MovieClip "onzichtbaar" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndStop("L5");
_root.hit = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Frame 17
score = 0;
level = 5;
benodigdepunten = 50;
levelsteen = false;
stop();
Instance of Symbol 457 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
if (_root.bal1.dy >= -8) {
_root.bal1.dy = _root.bal1.dy - (dyspeed * 2);
}
}
}
Instance of Symbol 145 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 217 MovieClip "bal1" in Frame 17
onClipEvent (load) {
dx = 0;
dy = 0;
effect = 0;
nieuwlevel = true;
_root.dit = 3;
punten = 1;
goal = false;
goals = 0;
over = false;
}
onClipEvent (enterFrame) {
if ((dx == 0) and (dy == 0)) {
if (Key.isDown(32)) {
dx = dxspeed;
dy = dyspeed;
}
}
effect = effect * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect));
_rotation = (_rotation + (effect * 20));
if ((_x < 109) and (_root.hit == false)) {
_root.hit = true;
dx = dx * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if ((this._x > 600) and (over == false)) {
over = true;
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
gf = 4 - _root.dit;
_root.pong.stoot.gotoAndPlay(gf);
_root.pong.draaiding.gotoAndPlay(gf);
_root.pong.Draaitand.gotoAndPlay(gf);
dx = 0;
dy = 0;
this.gotoAndPlay("weg");
}
}
Frame 18
stop();
Instance of Symbol 188 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 226 MovieClip "onzichtbaar" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L6");
_root.hit = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Frame 20
score = 0;
level = 6;
benodigdepunten = 100;
levelsteen = false;
gun = false;
gunloop = false;
stop();
Instance of Symbol 476 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.bal1.effect = 0;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
}
}
Instance of Symbol 145 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.hit2 = false;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.hit3 = false;
}
updateAfterEvent();
}
Instance of Symbol 145 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.hit2 = false;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.hit3 = false;
}
updateAfterEvent();
}
Instance of Symbol 188 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 35 MovieClip "kogel" in Frame 20
onClipEvent (load) {
deltax = 0;
deltay = 0;
}
onClipEvent (enterFrame) {
_x = (_x + deltax);
_y = (_y + deltay);
if ((_root.pong.gungeladen == true) and (_root.gun == false)) {
_x = 750;
}
if (_x <= 97) {
this.play();
deltax = 0;
deltay = 0;
}
}
Instance of Symbol 217 MovieClip "bal1" in Frame 20
onClipEvent (load) {
dx = 0;
dy = 0;
effect = 0;
nieuwlevel = true;
_root.dit = 3;
punten = 1;
goal = false;
goals = 0;
over = false;
}
onClipEvent (enterFrame) {
if ((dx == 0) and (dy == 0)) {
if (Key.isDown(32)) {
dx = dxspeed;
dy = dyspeed;
}
}
effect = effect * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect));
_rotation = (_rotation + (effect * 20));
if ((_x < 109) and (_root.hit == false)) {
_root.hit = true;
dx = dx * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if ((this._x > 600) and (over == false)) {
over = true;
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
gf = 4 - _root.dit;
_root.pong.stoot.gotoAndPlay(gf);
_root.pong.draaiding.gotoAndPlay(gf);
_root.pong.Draaitand.gotoAndPlay(gf);
dx = 0;
dy = 0;
this.gotoAndPlay("weg");
}
}
Frame 21
stop();
Instance of Symbol 188 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 226 MovieClip "onzichtbaar" in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L7");
_root.hit = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
}
}
Frame 23
gun = false;
gunloop = false;
score = 0;
level = 7;
benodigdepunten = 0;
levelsteen = true;
stop();
Instance of Symbol 188 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 481 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.bal1.effect = 0;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Instance of Symbol 488 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.bal1.effect = 0;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Instance of Symbol 490 MovieClip "cell" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < ((this._y + this._height) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < ((this._y + this._height) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true) and (_root.hit2 == false)) {
_root.hit2 = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal2.dx >= 0) and (_root.bal2.dy >= 0)) {
if (_root.bal2._y > (this._y + 10)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
} else if ((_root.bal2.dx <= 0) and (_root.bal2.dy >= 0)) {
if (_root.bal2._y > (this._y + 10)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
} else if ((_root.bal2.dx <= 0) and (_root.bal2.dy <= 0)) {
if (_root.bal2._y < ((this._y + this._height) - 10)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
} else if ((_root.bal2.dx >= 0) and (_root.bal2.dy <= 0)) {
if (_root.bal2._y < ((this._y + this._height) - 10)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
}
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true) and (_root.hit3 == false)) {
_root.hit3 = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal3.dx >= 0) and (_root.bal3.dy >= 0)) {
if (_root.bal3._y > (this._y + 10)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
} else if ((_root.bal3.dx <= 0) and (_root.bal3.dy >= 0)) {
if (_root.bal3._y > (this._y + 10)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
} else if ((_root.bal3.dx <= 0) and (_root.bal3.dy <= 0)) {
if (_root.bal3._y < ((this._y + this._height) - 10)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
} else if ((_root.bal3.dx >= 0) and (_root.bal3.dy <= 0)) {
if (_root.bal3._y < ((this._y + this._height) - 10)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
}
}
}
Instance of Symbol 492 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 217 MovieClip "bal1" in Frame 23
onClipEvent (load) {
dx = 0;
dy = 0;
effect = 0;
nieuwlevel = true;
_root.dit = 3;
punten = 1;
goal = false;
goals = 0;
over = false;
}
onClipEvent (enterFrame) {
if ((dx == 0) and (dy == 0)) {
if (Key.isDown(32)) {
dx = dxspeed;
dy = dyspeed;
}
}
effect = effect * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect));
_rotation = (_rotation + (effect * 20));
if ((_x < 109) and (_root.hit == false)) {
_root.hit = true;
dx = dx * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if ((this._x > 600) and (over == false)) {
over = true;
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
gf = 4 - _root.dit;
_root.pong.stoot.gotoAndPlay(gf);
_root.pong.draaiding.gotoAndPlay(gf);
_root.pong.Draaitand.gotoAndPlay(gf);
dx = 0;
dy = 0;
this.gotoAndPlay("weg");
}
}
Instance of Symbol 226 MovieClip "onzichtbaar" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L8");
_root.hit = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Frame 24
stop();
Frame 26
score = 0;
level = 8;
gun = false;
gunloop = false;
_root.pong.gungeladen = true;
benodigdepunten = 1000;
levelsteen = false;
stop();
Instance of Symbol 188 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 502 MovieClip "superbonus" in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_root.hit = true;
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
this.play();
}
}
Instance of Symbol 188 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.hit2 = false;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.hit3 = false;
}
updateAfterEvent();
}
Instance of Symbol 509 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.bal1.effect = 0;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
}
}
Instance of Symbol 476 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.bal1.effect = 0;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
}
}
Instance of Symbol 145 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.hit2 = false;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.hit3 = false;
}
updateAfterEvent();
}
Instance of Symbol 188 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.hit2 = false;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.hit3 = false;
}
updateAfterEvent();
}
Instance of Symbol 188 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 145 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.hit2 = false;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.hit3 = false;
}
updateAfterEvent();
}
Instance of Symbol 145 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.hit2 = false;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.hit3 = false;
}
updateAfterEvent();
}
Instance of Symbol 35 MovieClip "kogel" in Frame 26
onClipEvent (load) {
deltax = 0;
deltay = 0;
}
onClipEvent (enterFrame) {
_x = (_x + deltax);
_y = (_y + deltay);
if ((_root.pong.gungeladen == true) and (_root.gun == false)) {
_x = 750;
}
if (_x <= 97) {
this.play();
deltax = 0;
deltay = 0;
}
}
Instance of Symbol 217 MovieClip "bal1" in Frame 26
onClipEvent (load) {
dx = 0;
dy = 0;
effect = 0;
nieuwlevel = true;
_root.dit = 3;
punten = 1;
goal = false;
goals = 0;
over = false;
}
onClipEvent (enterFrame) {
if ((dx == 0) and (dy == 0)) {
if (Key.isDown(32)) {
dx = dxspeed;
dy = dyspeed;
}
}
effect = effect * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect));
_rotation = (_rotation + (effect * 20));
if ((_x < 109) and (_root.hit == false)) {
_root.hit = true;
dx = dx * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if ((this._x > 600) and (over == false)) {
over = true;
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
gf = 4 - _root.dit;
_root.pong.stoot.gotoAndPlay(gf);
_root.pong.draaiding.gotoAndPlay(gf);
_root.pong.Draaitand.gotoAndPlay(gf);
dx = 0;
dy = 0;
this.gotoAndPlay("weg");
}
}
Frame 27
stop();
Instance of Symbol 188 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 226 MovieClip "level" in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L9");
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L9");
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L9");
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
}
}
Frame 29
gun = false;
gunloop = false;
score = 0;
level = 9;
benodigdepunten = 1500;
levelsteen = false;
stop();
Instance of Symbol 457 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy - dyspeed;
_root.bal1.dx = _root.bal1.dx + dyspeed;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.bal2.dy = _root.bal2.dy - dyspeed;
_root.bal2.dx = _root.bal2.dx + dyspeed;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.bal3.dy = _root.bal3.dy - dyspeed;
_root.bal3.dx = _root.bal3.dx + dyspeed;
}
if (Math.sqrt(Math.pow(_root.bal1.dx, 2) + Math.pow(_root.bal1.dy, 2)) > 10) {
_root.bal1.dx = _root.bal1.dx * 0.97;
_root.bal.dy = _root.bal.dy * 0.97;
}
if (Math.sqrt(Math.pow(_root.bal2.dx, 2) + Math.pow(_root.bal2.dy, 2)) > 10) {
_root.bal2.dx = _root.bal2.dx * 0.97;
_root.ba2.dy = _root.ba2.dy * 0.97;
}
if (Math.sqrt(Math.pow(_root.bal3.dx, 2) + Math.pow(_root.bal3.dy, 2)) > 10) {
_root.bal3.dx = _root.bal3.dx * 0.97;
_root.ba3.dy = _root.ba3.dy * 0.97;
}
}
Instance of Symbol 502 MovieClip "superbonus" in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_root.hit = true;
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true) and (_root.hit2 == false)) {
this.play();
_root.hit2 = true;
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.ping.gotoAndPlay(2);
if ((_root.bal2.dx >= 0) and (_root.bal2.dy >= 0)) {
if (_root.bal2._y > (this._y + 10)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
} else if ((_root.bal2.dx <= 0) and (_root.bal2.dy >= 0)) {
if (_root.bal2._y > (this._y + 10)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
} else if ((_root.bal2.dx <= 0) and (_root.bal2.dy <= 0)) {
if (_root.bal2._y < (this._y + 50)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
} else if ((_root.bal2.dx >= 0) and (_root.bal2.dy <= 0)) {
if (_root.bal2._y < (this._y + 50)) {
_root.bal2.dx = _root.bal2.dx * -1;
} else {
_root.bal2.dy = _root.bal2.dy * -1;
}
}
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true) and (_root.hit == false)) {
this.play();
_root.hit3 = true;
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.ping.gotoAndPlay(2);
if ((_root.bal3.dx >= 0) and (_root.bal3.dy >= 0)) {
if (_root.bal3._y > (this._y + 10)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
} else if ((_root.bal3.dx <= 0) and (_root.bal3.dy >= 0)) {
if (_root.bal3._y > (this._y + 10)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
} else if ((_root.bal3.dx <= 0) and (_root.bal3.dy <= 0)) {
if (_root.bal3._y < (this._y + 50)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
} else if ((_root.bal3.dx >= 0) and (_root.bal3.dy <= 0)) {
if (_root.bal3._y < (this._y + 50)) {
_root.bal3.dx = _root.bal3.dx * -1;
} else {
_root.bal3.dy = _root.bal3.dy * -1;
}
}
}
}
Instance of Symbol 188 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.hit2 = false;
updateAfterEvent();
}
}
Instance of Symbol 217 MovieClip "bal1" in Frame 29
onClipEvent (load) {
dx = 0;
dy = 0;
effect = 0;
nieuwlevel = true;
_root.dit = 3;
punten = 1;
goal = false;
goals = 0;
over = false;
}
onClipEvent (enterFrame) {
if ((dx == 0) and (dy == 0)) {
if (Key.isDown(32)) {
dx = dxspeed;
dy = dyspeed;
}
}
effect = effect * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect));
_rotation = (_rotation + (effect * 20));
if ((_x < 109) and (_root.hit == false)) {
_root.hit = true;
dx = dx * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if ((this._x > 600) and (over == false)) {
over = true;
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
gf = 4 - _root.dit;
_root.pong.stoot.gotoAndPlay(gf);
_root.pong.draaiding.gotoAndPlay(gf);
_root.pong.Draaitand.gotoAndPlay(gf);
dx = 0;
dy = 0;
this.gotoAndPlay("weg");
}
}
Instance of Symbol 217 MovieClip "bal2" in Frame 29
onClipEvent (load) {
dx = 0;
dy = 0;
effect2 = 0;
nieuwlevel = true;
_root.dit = 3;
punten = 1;
goal = false;
goals = 0;
over = false;
}
onClipEvent (enterFrame) {
if ((dx == 0) and (dy == 0)) {
if (Key.isDown(32)) {
dx = dxspeed;
dy = dyspeed;
}
}
effect2 = effect2 * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect2));
_rotation = (_rotation + (effect2 * 20));
if ((_x < 109) and (_root.hit2 == false)) {
_root.hit2 = true;
dx = dx * -1;
effect2 = 0;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect2 = 0;
_root.pong.kaats2 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect2 = 0;
_root.pong.kaats2 = false;
_root.ping.gotoAndPlay(2);
}
if ((this._x > 600) and (over == false)) {
this.gotoAndPlay("weg");
over = true;
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
gf = 4 - _root.dit;
_root.pong.stoot.gotoAndPlay(gf);
_root.pong.draaiding.gotoAndPlay(gf);
_root.pong.Draaitand.gotoAndPlay(gf);
dx = 0;
dy = 0;
}
}
Frame 30
stop();
Instance of Symbol 188 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 226 MovieClip "leve" in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L10");
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L10");
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L10");
}
}
Frame 32
score = 0;
level = 10;
benodigdepunten = 1000;
levelsteen = false;
gun = false;
gunloop = false;
_root.pong.gungeladen = true;
stop();
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 508 MovieClip "onzichtbaar" in Frame 32
onClipEvent (load) {
onzichtbaar = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
this.play();
_root.bal1.dy = _root.bal1.dy + dyspeed;
_root.bal1._alpha = _root.bal1._alpha - onzichtbaar;
onzichtbaar = onzichtbaar * -1;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 78)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 78)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
}
}
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 502 MovieClip "superbonus" in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_root.bal1.dy = _root.bal1.dy + 0.5;
_root.hit = true;
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
this.play();
}
}
Instance of Symbol 475 MovieClip "gun" in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
this.play();
_root.pong.play();
_root.ping.gotoAndPlay(2);
_root.bal1.dy = _root.bal1.dy + dyspeed;
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 78)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 78)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
}
}
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 188 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 512 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.bal1.effect = 0;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
}
}
Instance of Symbol 513 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.bal1.effect = 0;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
}
}
Instance of Symbol 520 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.bal1.effect = 0;
_root.ping.gotoAndPlay(2);
_root.bal1.dy = _root.bal1.dy + dyspeed;
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x > ((this._x + this._width) - 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._x < (this._x + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
}
}
Instance of Symbol 35 MovieClip "kogel" in Frame 32
onClipEvent (load) {
deltax = 0;
deltay = 0;
}
onClipEvent (enterFrame) {
_x = (_x + deltax);
_y = (_y + deltay);
if ((_root.pong.gungeladen == true) and (_root.gun == false)) {
_x = 750;
}
if (_x <= 97) {
this.play();
deltax = 0;
deltay = 0;
}
}
Instance of Symbol 217 MovieClip "bal1" in Frame 32
onClipEvent (load) {
dx = 0;
dy = 0;
effect = 0;
nieuwlevel = true;
_root.dit = 3;
punten = 1;
goal = false;
goals = 0;
over = false;
}
onClipEvent (enterFrame) {
if ((dx == 0) and (dy == 0)) {
if (Key.isDown(32)) {
dx = dxspeed;
dy = dyspeed;
}
}
effect = effect * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect));
_rotation = (_rotation + (effect * 20));
if ((_x < 109) and (_root.hit == false)) {
_root.hit = true;
dx = dx * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect = 0;
_root.pong.kaats1 = false;
_root.ping.gotoAndPlay(2);
}
if ((this._x > 600) and (over == false)) {
over = true;
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
gf = 4 - _root.dit;
_root.pong.stoot.gotoAndPlay(gf);
_root.pong.draaiding.gotoAndPlay(gf);
_root.pong.Draaitand.gotoAndPlay(gf);
dx = 0;
dy = 0;
this.gotoAndPlay("weg");
}
}
Frame 33
stop();
Instance of Symbol 188 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 226 MovieClip "level" in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.levelmusic_mc.gotoAndPlay("stoplevelmusic");
_root.gotoAndPlay("Shop");
_root.hit = true;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx <= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
} else if ((_root.bal1.dx >= 0) and (_root.bal1.dy <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
}
}
}
}
Frame 35
_root.easymusic_mc.gotoAndPlay("starteasymusic");
trace("Jur");
Frame 243
_global.HSSER = HS;
_global.HSSER._visible = false;
stop();
Frame 244
_global.HSSER = HS;
_global.HSSER._visible = false;
_root.easymusic_mc.gotoAndPlay("starteasymusic");
Frame 247
stop();
Symbol 9 MovieClip [bal1] Frame 1
stop();
Symbol 9 MovieClip [bal1] Frame 2
stop();
Instance of Symbol 8 MovieClip [balll] in Symbol 9 MovieClip [bal1] Frame 2
onClipEvent (load) {
_x = random(400);
_y = random(300);
dx = random(6);
dy = random(6);
if (dx <= 1) {
dx = 2;
}
if (dy <= 1) {
dy = 2;
}
_root.dit = 3;
_root.score = 0;
}
onClipEvent (enterFrame) {
if (_root.dit == 0) {
_root.gotoAndStop(3);
stop();
}
_x = (_x + dx);
_y = (_y + dy);
if (_x < _root.wall) {
_x = _root.wall;
dx = dx * -1;
_root.score = _root.score + 2;
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
_root.score = _root.score + 2;
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
_root.score = _root.score + 2;
}
if (this.hitTest(_root.pong)) {
_root.score = _root.score + 5;
dx = -4;
}
if (this._x > 553) {
if (_root.dit > 0) {
_root.straf.gotoAndPlay(2);
_root.score = _root.score - 10;
_root.dit = _root.dit - 1;
this._x = random(400);
this._y = random(300);
dx = 4;
}
}
}
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 10
_x = 750;
_root.pong.gungeladen = true;
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 3
stop();
Symbol 47 MovieClip Frame 5
stop();
Symbol 55 Button
on (release) {
var spaceCheck = _root.heroname.split(" ").join("");
if ((_root.heroname != undefined) && (spaceCheck.length > 0)) {
_root.intromusic_mc.gotoAndPlay("stopintromusic");
gotoAndPlay("L" + levelskipper);
} else {
_root.acces.gotoAndPlay(2);
}
}
Symbol 58 Button
on (release) {
var spaceCheck = _root.heroname.split(" ").join("");
if ((_root.heroname != undefined) && (spaceCheck.length > 0)) {
_root.intromusic_mc.gotoAndPlay("stopintromusic");
gotoAndPlay ("info");
} else {
_root.acces.gotoAndPlay(2);
}
}
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 50
this.gotoAndStop(1);
Symbol 77 Button
on (release) {
this.gotoArray = [];
this.gotoArray. = "L1";
this.gotoArray.greenseeds = "L2";
this.gotoArray.blocknroll = "L3";
this.gotoArray.warpchild = "L4";
this.gotoArray.butterfly = "L5";
this.gotoArray.screamer = "L6";
this.gotoArray.exodus = "L7";
this.gotoArray.rowurboat = "L8";
this.gotoArray["2foryou"] = "L9";
this.gotoArray.ballisout = "L10";
this.gotoArray.roundabout = "L11";
this.gotoArray.greenback = "L12";
this.gotoArray.redseeds = "L13";
this.gotoArray.tommy = "L14";
this.gotoArray.liketomoveit = "L15";
this.gotoArray.letmein = "L16";
this.gotoArray.crowded = "L17";
this.gotoArray.manyseeds = "L18";
this.gotoArray.inoutinout = "L19";
this.gotoArray.whomadethis = "L20";
this.gotoArray.updatree = "L21";
this.gotoArray.manygreens = "L22";
this.gotoArray.greenwarps = "L23";
this.gotoArray.ineedpower = "L24";
this.gotoArray.saturday = "L25";
this.gotoArray.uptownvirus = "L26";
this.gotoArray.ballmayhem = "L27";
this.gotoArray.whereismyrov = "L28";
this.gotoArray.nomoregreen = "L29";
this.gotoArray.notguilty = "L30";
this.gotoArray.needbonus4 = "L31";
this.gotoArray.redsredsreds = "L32";
this.gotoArray.tripleaction = "L33";
this.gotoArray.youdaman = "L34";
this.gotoArray.thisistheend = "L35";
_root.intromusic_mc.gotoAndPlay("stopintromusic");
this.gotoAndPlay(this.gotoArray[_root.levelcode]);
}
Symbol 81 Button
on (press) {
getURL ("http://www.totallygame.com", "_blank");
}
Symbol 90 MovieClip Frame 1
if (_parent.introPlayed) {
this.gotoAndStop(215);
} else {
_parent.introPlayed = true;
}
Symbol 90 MovieClip Frame 215
_root.intromusic_mc.gotoAndPlay("startintromusic");
stop();
Symbol 100 Button
on (release) {
_root.heromusic_mc.gotoAndPlay("stopheromusic");
_root.intromusic_mc.gotoAndPlay("startintromusic");
gotoAndPlay (2);
}
Symbol 101 Button
on (release) {
_root.heromusic_mc.gotoAndPlay("stopheromusic");
gotoAndPlay ("info");
}
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 3
stop();
Symbol 107 MovieClip Frame 5
stop();
Symbol 114 Button
on (release) {
this.nextFrame();
}
Symbol 134 Button
on (release) {
_root.comicmusic_mc.gotoAndPlay("stopcomicmusic");
_root.nextFrame();
}
Symbol 137 Button
on (release) {
_root.comicmusic_mc.gotoAndPlay("stopcomicmusic");
_root.gotoAndStop(2);
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 2
stop();
Symbol 138 MovieClip Frame 3
stop();
Symbol 138 MovieClip Frame 4
stop();
Symbol 138 MovieClip Frame 5
stop();
Symbol 138 MovieClip Frame 6
stop();
Symbol 138 MovieClip Frame 7
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 3
stop();
Symbol 140 MovieClip Frame 5
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 35
gotoAndPlay (1);
Symbol 217 MovieClip Frame 1
_root.pong.kaats1 = false;
_root.pong.kaats2 = false;
_root.pong.kaats3 = false;
stop();
Instance of Symbol 189 MovieClip in Symbol 217 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent._x < 109) {
this._parent._x = this._parent._x + (109 - this._parent._x);
}
if (this._parent._y < 88) {
this._parent._v = this._parent._v + (88 - this._parent._y);
} else if (this._parent._y > 381) {
this._parent._y = this._parent._y - (this._parent._y - 381);
}
}
Symbol 217 MovieClip Frame 2
stop();
Symbol 217 MovieClip Frame 5
_root.pong.kaats1 = 0;
_root.pong.kaats2 = 0;
_root.pong.kaats3 = 0;
_root.magnet = false;
_rotation = 0;
Symbol 217 MovieClip Frame 21
_root.pong.kaats1 = false;
_root.pong.kaats2 = false;
_root.pong.kaats3 = false;
this.over = false;
this.effect = 0;
if (_root.dit == 0) {
this._alpha = 0;
}
this._x = 480;
this._y = 221;
Symbol 217 MovieClip Frame 46
this.dx = 5;
this.dy = 0.1;
gotoAndPlay (1);
Symbol 217 MovieClip Frame 47
this.aanuit._alpha = 10;
stop();
Symbol 217 MovieClip Frame 51
this.aanuit._alpha = 100;
Symbol 217 MovieClip Frame 55
this.aanuit._alpha = 10;
Symbol 217 MovieClip Frame 59
this.aanuit._alpha = 100;
Symbol 217 MovieClip Frame 63
this.aanuit._alpha = 10;
Symbol 217 MovieClip Frame 67
this.aanuit._alpha = 100;
Symbol 217 MovieClip Frame 71
this.aanuit._alpha = 10;
Symbol 217 MovieClip Frame 75
this.aanuit._alpha = 100;
Symbol 226 MovieClip Frame 1
_root.levelsteen = true;
Symbol 226 MovieClip Frame 87
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 2
stop();
Symbol 239 MovieClip Frame 3
stop();
Symbol 239 MovieClip Frame 4
stop();
Symbol 246 MovieClip Frame 1
stop();
Instance of Symbol 242 MovieClip "houder" in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = ((-this._parent._rotation) / 2) + 4;
}
Symbol 246 MovieClip Frame 2
stop();
Symbol 246 MovieClip Frame 3
stop();
Symbol 246 MovieClip Frame 4
stop();
Symbol 375 MovieClip Frame 88
_root.levelmusic_mc.gotoAndPlay("stoplevelmusic");
_root.gotoAndPlay("shop");
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 2
stop();
Symbol 377 MovieClip Frame 3
stop();
Symbol 377 MovieClip Frame 4
_root.pong.thegun.gotoAndStop(4);
stop();
Instance of Symbol 376 MovieClip in Symbol 377 MovieClip Frame 4
onClipEvent (enterFrame) {
_root.bal1.dx = -1;
_root.bal1.dy = 0;
_root.bal2.dx = -1;
_root.bal2.dy = 0;
_root.bal3.dx = -1;
_root.bal3.dy = 0;
}
Symbol 386 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 3
gotoAndStop (1);
Symbol 386 MovieClip Frame 4
stop();
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
stop();
Instance of Symbol 386 MovieClip "thegun" in Symbol 387 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = ((-this._parent._rotation) - 90);
}
Symbol 394 MovieClip Frame 1
stop();
Symbol 397 Button
on (press) {
removeMovieClip(_root.mc);
removeMovieClip(_root.mc2);
_root.score = 0;
_root.levens = 3;
_root.levelmusic_mc.gotoAndPlay("stoplevelmusic");
_root.gotoAndStop(2);
}
Symbol 400 Button
on (press) {
_root.levelmusic_mc.gotoAndPlay("stoplevelmusic");
gotoAndStop (2);
}
Symbol 405 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 3
stop();
Symbol 405 MovieClip Frame 5
stop();
Symbol 437 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 1
stop();
Instance of Symbol 439 MovieClip "gat1" in Symbol 445 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.punten = 10;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.gat2.play();
this._parent.play();
_root.bal1._x = _root.gat2._x;
_root.bal1._y = _root.gat2._y;
if (Math.abs(_root.bal1.dx) < 0.5) {
_root.bal1.dx = 1;
}
_root.bal1.dx = _root.bal1.dx * 1.2;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.punten = 10;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.gat2.play();
_root.bal2._x = _root.gat2._x;
_root.bal2._y = _root.gat2._y;
if (Math.abs(_root.bal2.dx) < -0.5) {
_root.bal2.dx = 1;
}
_root.bal2.dx = _root.bal2.dx * 1.2;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.punten = 10;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.gat2.play();
_root.bal3._x = _root.gat2._x;
_root.bal3._y = _root.gat2._y;
if (Math.abs(_root.bal3.dx) < 0.5) {
_root.bal3.dx = 1;
}
_root.bal3.dx = _root.bal3.dx * 1.2;
}
}
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 2
_root.punten = 10;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.hit = false;
stop();
Symbol 469 MovieClip Frame 3
_root.punten = 50;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.hit = false;
stop();
Symbol 475 MovieClip Frame 1
_root.gun = false;
stop();
Symbol 475 MovieClip Frame 2
_root.gun = true;
stop();
Instance of Symbol 469 MovieClip "break10" in Symbol 476 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break11" in Symbol 476 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 475 MovieClip "gun" in Symbol 476 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break12" in Symbol 476 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break13" in Symbol 476 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "br9" in Symbol 481 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "br8" in Symbol 481 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "br7" in Symbol 481 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 2
_root.punten = 10;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
stop();
Instance of Symbol 469 MovieClip "br9" in Symbol 488 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "br7" in Symbol 488 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 487 MovieClip "br3" in Symbol 488 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
this.gotoAndStop(2);
_root.cell.play();
}
}
Symbol 490 MovieClip Frame 1
stop();
Symbol 490 MovieClip Frame 20
stop();
Symbol 490 MovieClip Frame 21
gotoAndStop (20);
Symbol 502 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 2
stop();
Instance of Symbol 508 MovieClip "onzichtbaar" in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
onzichtbaar = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
_root.bal1._alpha = _root.bal1._alpha - onzichtbaar;
onzichtbaar = onzichtbaar * -1;
}
}
Instance of Symbol 469 MovieClip "break5" in Symbol 509 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break6" in Symbol 509 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break8" in Symbol 509 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break9" in Symbol 509 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break14" in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break15" in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break17" in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break18" in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break16" in Symbol 512 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break14" in Symbol 513 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break15" in Symbol 513 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Symbol 519 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 2
_root.bal1._alpha = 10;
Symbol 519 MovieClip Frame 9
_root.bal1._alpha = 100;
Symbol 519 MovieClip Frame 16
_root.bal1._alpha = 10;
Symbol 519 MovieClip Frame 23
_root.bal1._alpha = 100;
Symbol 519 MovieClip Frame 30
_root.bal1._alpha = 10;
Symbol 519 MovieClip Frame 37
_root.bal1._alpha = 100;
Symbol 519 MovieClip Frame 44
_root.bal1._alpha = 10;
Symbol 519 MovieClip Frame 51
_root.bal1._alpha = 100;
Instance of Symbol 519 MovieClip "au7" in Symbol 520 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 469 MovieClip "break22" in Symbol 520 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
}
}
Symbol 526 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 2
trace("Jur in de MC2");
Symbol 526 MovieClip Frame 3
trace("Jur in de MC3");
Symbol 526 MovieClip Frame 4
stop();
Symbol 526 MovieClip Frame 7
stop();
Symbol 531 Button
on (press) {
removeMovieClip(_root.mc);
removeMovieClip(_root.mc2);
_root.score = 0;
_root.levens = 3;
_root.easymusic_mc.gotoAndPlay("stopeasymusic");
_root.gotoAndStop(2);
}
Symbol 545 MovieClip Frame 1
System.security.allowDomain("http://www.totallygame.com/");
_global.encrPath = this.createEmptyMovieClip("HighSub", this.getNextHighestDepth());
encrPath._x = 0;
encrPath._y = 0;
HighSub.loadMovie("http://www.totallygame.com/flash/hs.swf");
this.HSvalidation = "v1";
this.gameScore = _root.totalscore;
this.ecryptString = "13wEWIb";
Symbol 549 Button
on (release) {
_global.HSSER._visible = true;
}
Symbol 560 Button
on (release) {
_root.easymusic_mc.gotoAndPlay("stopeasymusic");
getURL ("http://shop.totallygame.com/product_info.php?ref=3&products_id=11", "_blank");
}
Symbol 561 Button
on (release) {
_root.easymusic_mc.gotoAndPlay("stopeasymusic");
_root.gotoAndStop(2);
}