Frame 1
var url = unescape(_url);
var index = url.lastIndexOf("_");
var indexSwf = url.lastIndexOf(".swf");
var strippedUrl = url.slice(0, indexSwf);
var code = strippedUrl.slice(index + 1);
Instance of Symbol 34 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 41 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);
}
updateAfterEvent();
}
Frame 2
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();
Frame 5
_root.levelmusic_mc.gotoAndPlay("startlevelmusic");
function createMC(librarynaam, nieuwenaam, xcoord, ycoord) {
var _local1 = _root.attachMovie(librarynaam, nieuwenaam, depth++);
_local1._x = xcoord;
_local1._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 146 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 146 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 187 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 187 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 187 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 189 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 218 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 = 5;
dy = 0.1;
}
}
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 189 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 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.levelmusic_mc.gotoAndPlay("stoplevelmusic");
_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 388 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) <= 10) {
_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) <= 10) {
_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) <= 10) {
_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 395 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 423 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 424 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 218 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 = 5;
dy = 0.1;
}
}
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 189 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 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 187 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 187 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 187 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 189 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 218 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 = 5;
dy = 0.1;
}
}
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 189 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 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 218 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 = 5;
dy = 0.1;
}
}
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 189 MovieClip in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 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 458 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 - 0.4;
}
}
}
Instance of Symbol 146 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 218 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 = 5;
dy = 0.1;
}
}
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 189 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 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 477 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 146 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 146 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 189 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 34 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 218 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 = 5;
dy = 0.1;
}
}
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 189 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 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 189 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 482 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 489 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 491 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 493 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 218 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 = 5;
dy = 0.1;
}
}
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 227 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 189 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 503 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 189 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 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 510 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 477 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 146 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 189 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 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 189 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 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 146 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 34 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 218 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 = 5;
dy = 0.1;
}
}
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 189 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 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 458 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy - 0.2;
_root.bal1.dx = _root.bal1.dx + 0.2;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.bal2.dy = _root.bal2.dy - 0.2;
_root.bal2.dx = _root.bal2.dx + 0.2;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.bal3.dy = _root.bal3.dy - 0.2;
_root.bal3.dx = _root.bal3.dx + 0.2;
}
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 503 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 189 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 218 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 = 5;
dy = 0.1;
}
}
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 218 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 = 5;
dy = 0.1;
}
}
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 189 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 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 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 509 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 + 0.1;
_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 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 503 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 476 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 + 0.1;
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 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
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 514 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 521 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 + 0.1;
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 34 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 218 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 = 5;
dy = 0.1;
}
}
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 189 MovieClip in Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 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
gun = false;
gunloop = false;
score = 0;
level = 11;
benodigdepunten = 0;
levelsteen = false;
stop();
Instance of Symbol 524 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 525 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.bal1.dy = _root.bal1.dy + _root.bal1.effect;
_root.bal1.effect = 0;
_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.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
this.play();
}
}
Instance of Symbol 218 MovieClip "bal1" in Frame 35
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 = 5;
dy = 0.1;
}
}
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 532 MovieClip "bocht1" in Frame 35
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 + 15)) {
_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 + 15)) {
if (((_root.bal1.dx <= (_root.bal1.dy * -1)) && (_root.bal1._y > (this._y + 20))) && (_root.bal1._y < (this._y + 40))) {
_root.bocht.play();
_root.bocht.dx = _root.bal1.dx;
_root.bal1.dx = 0;
_root.bocht.dy = _root.bal1.dy;
_root.bal1.dy = 0;
_root.bal1._x = 246;
_root.bal1._y = 138;
_root.bal1._alpha = 0;
_root.bal1.effect = 0;
} else {
_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)) {
if (((_root.bal1.dx <= (_root.bal1.dy * 1)) && (_root.bal1._y > (this._y + 20))) && (_root.bal1._y < (this._y + 40))) {
_root.bocht.play();
_root.bocht.dx = _root.bal1.dx;
_root.bal1.dx = 0;
_root.bocht.dy = _root.bal1.dy;
_root.bal1.dy = 0;
_root.bal1._x = 246;
_root.bal1._y = 136;
} else {
_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 532 MovieClip "bocht2" in Frame 35
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 + 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 189 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "level" in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L12");
_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 36
stop();
Frame 38
score = 0;
level = 12;
benodigdepunten = 2000;
levelsteen = false;
stop();
Instance of Symbol 189 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 503 MovieClip "superbonus" in Frame 38
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;
}
}
}
}
Instance of Symbol 470 MovieClip "break18" in Frame 38
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 + 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;
}
}
this.play();
}
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 189 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 470 MovieClip "break22" in Frame 38
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 + 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;
}
}
this.play();
}
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 189 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 218 MovieClip "bal1" in Frame 38
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 = 5;
dy = 0.1;
}
}
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 39
stop();
Instance of Symbol 189 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "lve" in Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L13");
_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 41
score = 0;
level = 13;
benodigdepunten = 1000;
levelsteen = false;
stop();
Instance of Symbol 458 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 146 MovieClip in Frame 41
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 189 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 543 MovieClip "bonus3" in Frame 41
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 189 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 551 MovieClip "power" in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_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;
}
}
_root.bal1.dx = _root.bal1.dx * 1.7;
_root.bal1.dy = _root.bal1.dy * 1.7;
}
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;
}
}
Instance of Symbol 218 MovieClip "bal1" in Frame 41
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 = 5;
dy = 0.1;
}
}
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 42
stop();
Instance of Symbol 189 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "level" in Frame 42
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L14");
_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 44
score = 0;
level = 14;
benodigdepunten = 2000;
levelsteen = false;
stop();
Instance of Symbol 189 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 509 MovieClip "onzichtbaar" in Frame 44
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._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;
}
}
}
}
Instance of Symbol 551 MovieClip "power1" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_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;
}
}
_root.bal1.dx = _root.bal1.dx * 1.7;
_root.bal1.dy = _root.bal1.dy * 1.7;
}
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;
}
}
Instance of Symbol 189 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 551 MovieClip "power2" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_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;
}
}
_root.bal1.dx = _root.bal1.dx * 1.7;
_root.bal1.dy = _root.bal1.dy * 1.7;
}
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;
}
}
Instance of Symbol 503 MovieClip "superbonus" in Frame 44
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.hit == 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 189 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 218 MovieClip "bal1" in Frame 44
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 = 5;
dy = 0.1;
}
}
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 45
stop();
Instance of Symbol 189 MovieClip in Frame 45
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "LEVEL" in Frame 45
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L15");
_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 47
score = 0;
level = 14;
benodigdepunten = 1000;
_root.pong.gungeladen = true;
levelsteen = false;
gun = false;
gunloop = false;
stop();
Instance of Symbol 189 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 558 MovieClip "beweegsteen" in Frame 47
onClipEvent (load) {
snelheid = 1;
teller = 1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 60) {
teller = 1;
snelheid = snelheid * -1;
}
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.ping.gotoAndPlay(2);
_root.bal1.effect = 0;
if ((_root.bal1.dx >= 0) and ((_root.bal1.dy - snelheid) >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
if (snelheid == -1) {
_root.bal1.dy = _root.bal1.dy + snelheid;
}
}
} else if ((_root.bal1.dx <= 0) and ((_root.bal1.dy - snelheid) >= 0)) {
if (_root.bal1._y > (this._y + 10)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
if (snelheid == -1) {
_root.bal1.dy = _root.bal1.dy + snelheid;
}
}
} else if ((_root.bal1.dx <= 0) and ((_root.bal1.dy - snelheid) <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
if (snelheid == 1) {
_root.bal1.dy = _root.bal1.dy + snelheid;
}
}
} else if ((_root.bal1.dx >= 0) and ((_root.bal1.dy - snelheid) <= 0)) {
if (_root.bal1._y < (this._y + 50)) {
_root.bal1.dx = _root.bal1.dx * -1;
} else {
_root.bal1.dy = _root.bal1.dy * -1;
if (snelheid == -1) {
_root.bal1.dy = _root.bal1.dy + snelheid;
}
}
}
}
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
}
}
Instance of Symbol 189 MovieClip in Frame 47
onClipEvent (load) {
teller = 1;
snelheid = 1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 60) {
teller = 1;
snelheid = snelheid * -1;
}
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 503 MovieClip "superbonus" in Frame 47
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 476 MovieClip "gun" in Frame 47
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.effect = 0;
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 189 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 559 MovieClip "rij5" in Frame 47
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 514 MovieClip "rij21" in Frame 47
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 514 MovieClip "rij22" in Frame 47
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 34 MovieClip "kogel" in Frame 47
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 218 MovieClip "bal1" in Frame 47
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 = 5;
dy = 0.1;
}
}
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 48
stop();
Instance of Symbol 189 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "level" in Frame 48
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L16");
_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 50
gun = false;
gunloop = false;
score = 0;
level = 16;
benodigdepunten = 1000;
levelsteen = false;
stop();
Instance of Symbol 503 MovieClip "superbonus" in Frame 50
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;
}
}
}
}
Instance of Symbol 561 MovieClip in Frame 50
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 561 MovieClip in Frame 50
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 146 MovieClip in Frame 50
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 146 MovieClip in Frame 50
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 146 MovieClip in Frame 50
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 146 MovieClip in Frame 50
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 146 MovieClip in Frame 50
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 218 MovieClip "bal1" in Frame 50
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 = 5;
dy = 0.7;
}
}
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 51
stop();
Instance of Symbol 189 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 51
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L17");
_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 53
score = 0;
magnet = false;
magnetloop = false;
level = 17;
benodigdepunten = 1000;
levelsteen = false;
stop();
Instance of Symbol 189 MovieClip in Frame 53
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 53
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 563 MovieClip in Frame 53
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 510 MovieClip in Frame 53
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 + 0.1;
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 189 MovieClip in Frame 53
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 53
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 561 MovieClip in Frame 53
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 + 0.1;
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 564 MovieClip in Frame 53
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 + 0.1;
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 146 MovieClip in Frame 53
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 146 MovieClip in Frame 53
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 146 MovieClip in Frame 53
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 146 MovieClip in Frame 53
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 218 MovieClip "bal1" in Frame 53
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 = 5;
dy = 0.1;
}
}
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 54
stop();
Instance of Symbol 189 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "level" in Frame 54
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L18");
_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 56
score = 0;
magnet = false;
magnetloop = false;
level = 18;
benodigdepunten = 1500;
levelsteen = false;
stop();
Instance of Symbol 146 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 482 MovieClip in Frame 56
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 566 MovieClip in Frame 56
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 510 MovieClip in Frame 56
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 146 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 567 MovieClip in Frame 56
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 218 MovieClip "bal1" in Frame 56
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 = 5;
dy = 0.1;
}
}
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 57
stop();
Instance of Symbol 189 MovieClip in Frame 57
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "level" in Frame 57
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L19");
_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 59
score = 0;
level = 19;
benodigdepunten = 1000;
levelsteen = false;
stop();
Instance of Symbol 189 MovieClip in Frame 59
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 569 MovieClip in Frame 59
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;
}
}
this.play();
}
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 146 MovieClip in Frame 59
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 59
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 218 MovieClip "bal1" in Frame 59
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 = 5;
dy = 0.1;
}
}
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 60
stop();
Instance of Symbol 189 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 60
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L20");
_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 62
score = 0;
level = 20;
benodigdepunten = 1000;
_root.pong.gungeladen = true;
levelsteen = false;
stop();
Instance of Symbol 558 MovieClip "h" in Frame 62
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 558 MovieClip "g" in Frame 62
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 558 MovieClip "f" in Frame 62
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 503 MovieClip "superbonus" in Frame 62
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.hit == 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 146 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 34 MovieClip "kogel" in Frame 62
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 458 MovieClip in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy - 0.2;
_root.bal1.dx = _root.bal1.dx + 0.2;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.bal2.dy = _root.bal2.dy - 0.2;
_root.bal2.dx = _root.bal2.dx + 0.2;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.bal3.dy = _root.bal3.dy - 0.2;
_root.bal3.dx = _root.bal3.dx + 0.2;
}
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 218 MovieClip "bal1" in Frame 62
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 = 5;
dy = 0.1;
}
}
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 = Math.abs(dx);
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 63
stop();
Instance of Symbol 189 MovieClip in Frame 63
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 63
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L21");
_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 65
gun = false;
gunloop = false;
score = 0;
level = 21;
_root.pong.gungeladen = true;
benodigdepunten = 500;
levelsteen = false;
stop();
Instance of Symbol 561 MovieClip in Frame 65
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 146 MovieClip in Frame 65
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 146 MovieClip in Frame 65
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 146 MovieClip in Frame 65
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 146 MovieClip in Frame 65
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 146 MovieClip in Frame 65
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 503 MovieClip "superbonus" in Frame 65
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.hit == 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 34 MovieClip "kogel" in Frame 65
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 458 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy - 0.2;
_root.bal1.dx = _root.bal1.dx + 0.2;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.bal2.dy = _root.bal2.dy - 0.2;
_root.bal2.dx = _root.bal2.dx + 0.2;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.bal3.dy = _root.bal3.dy - 0.2;
_root.bal3.dx = _root.bal3.dx + 0.2;
}
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 458 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy - 0.2;
_root.bal1.dx = _root.bal1.dx + 0.2;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.bal2.dy = _root.bal2.dy - 0.2;
_root.bal2.dx = _root.bal2.dx + 0.2;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.bal3.dy = _root.bal3.dy - 0.2;
_root.bal3.dx = _root.bal3.dx + 0.2;
}
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 458 MovieClip in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy - 0.2;
_root.bal1.dx = _root.bal1.dx + 0.2;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.bal2.dy = _root.bal2.dy - 0.2;
_root.bal2.dx = _root.bal2.dx + 0.2;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.bal3.dy = _root.bal3.dy - 0.2;
_root.bal3.dx = _root.bal3.dx + 0.2;
}
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 218 MovieClip "bal1" in Frame 65
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 = 5;
dy = 0.5;
}
}
effect = effect * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect));
_rotation = (_rotation + (effect * 20));
if (_x < 109) {
_root.hit = true;
dx = Math.abs(dx);
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 66
stop();
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 66
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L22");
_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 68
gun = false;
gunloop = false;
score = 0;
magnet = false;
magnetloop = false;
level = 22;
benodigdepunten = 1500;
levelsteen = false;
stop();
Instance of Symbol 578 MovieClip "steen3" in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.magnet = true;
_root.bal1.gotoAndStop(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 + 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;
}
}
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 482 MovieClip in Frame 68
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 482 MovieClip in Frame 68
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 482 MovieClip in Frame 68
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 482 MovieClip in Frame 68
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 482 MovieClip in Frame 68
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 482 MovieClip in Frame 68
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 558 MovieClip "beweegsteen3" in Frame 68
onClipEvent (load) {
snelheid = 1;
teller = 1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 60) {
teller = 1;
snelheid = snelheid * -1;
}
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 189 MovieClip in Frame 68
onClipEvent (load) {
teller = 1;
snelheid = 1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 60) {
teller = 1;
snelheid = snelheid * -1;
}
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 579 MovieClip "bal1" in Frame 68
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 = 5;
dy = 0.1;
}
}
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 532 MovieClip "bocht1" in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_roor.bal1.effect = 0;
_root.ping.gotoAndPlay(2);
if ((_root.bal1.dx >= 0) and (_root.bal1.dy >= 0)) {
if (_root.bal1._y > (this._y + 15)) {
_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 + 15)) {
if (((_root.bal1.dx <= (_root.bal1.dy * -3)) && (_root.bal1._y > (this._y + 20))) && (_root.bal1._y < (this._y + 40))) {
_root.bocht.play();
_root.bocht.dx = _root.bal1.dx;
_root.bal1.dx = 0;
_root.bocht.dy = _root.bal1.dy;
_root.bal1.dy = 0;
_root.bal1._x = 246;
_root.bal1._y = 136;
_root.bal1.effect = 0;
} else {
_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)) {
if (((_root.bal1.dx <= (_root.bal1.dy * 3)) && (_root.bal1._y > (this._y + 20))) && (_root.bal1._y < (this._y + 40))) {
_root.bocht.play();
_root.bocht.dx = _root.bal1.dx;
_root.bal1.dx = 0;
_root.bocht.dy = _root.bal1.dy;
_root.bal1.dy = 0;
_root.bal1._x = 246;
_root.bal1._y = 136;
} else {
_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 532 MovieClip "bocht2" in Frame 68
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._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 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Frame 69
stop();
Instance of Symbol 189 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L23");
_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 71
score = 0;
magnet = false;
magnetloop = false;
level = 23;
benodigdepunten = 500;
levelsteen = false;
stop();
Instance of Symbol 558 MovieClip "beweegsteen3" in Frame 71
onClipEvent (load) {
snelheid = 1;
teller = 1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 60) {
teller = 1;
snelheid = snelheid * -1;
}
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 189 MovieClip in Frame 71
onClipEvent (load) {
teller = 1;
snelheid = 1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 60) {
teller = 1;
snelheid = snelheid * -1;
}
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 514 MovieClip "br17" in Frame 71
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 189 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 514 MovieClip "br22" in Frame 71
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 189 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 514 MovieClip "br7" in Frame 71
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 189 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 423 MovieClip in Frame 71
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 581 MovieClip "raak33" in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.ping.gotoAndPlay(2);
_root.bal1.effect = 0;
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 423 MovieClip in Frame 71
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 581 MovieClip "raak34" in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.ping.gotoAndPlay(2);
_root.bal1.effect = 0;
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 218 MovieClip "bal1" in Frame 71
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 = 5;
dy = 0.1;
}
}
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 446 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
_root.kogel.deltax = 0;
_root.kogel.deltay = 0;
_root.kogel.play();
this.gotoAndStop(2);
}
}
Frame 72
stop();
Instance of Symbol 189 MovieClip in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L24");
_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 74
score = 0;
magnet = false;
magnetloop = false;
level = 24;
benodigdepunten = 1000;
levelsteen = false;
stop();
Instance of Symbol 458 MovieClip in Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy + 0.4;
}
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;
}
}
Instance of Symbol 458 MovieClip in Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy + 0.2;
_root.bal1.dx = _root.bal1.dx + 0.2;
}
}
Instance of Symbol 458 MovieClip in Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy - 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy - 0.2;
_root.bal1.dx = _root.bal1.dx - 0.2;
}
}
Instance of Symbol 458 MovieClip in Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy - 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 189 MovieClip in Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 551 MovieClip "power" in Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_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;
}
}
_root.bal1.dx = _root.bal1.dx * 1.7;
_root.bal1.dy = _root.bal1.dy * 1.7;
}
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;
}
}
Instance of Symbol 189 MovieClip in Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 503 MovieClip "superbonus" in Frame 74
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;
}
}
}
}
Instance of Symbol 218 MovieClip "bal1" in Frame 74
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 = 5;
dy = 0.1;
}
}
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 75
stop();
Instance of Symbol 189 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 75
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L25");
_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 77
score = 0;
level = 25;
benodigdepunten = 1000;
levelsteen = false;
stop();
Instance of Symbol 458 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 542 MovieClip "bonus1" in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
this.gotoAndStop(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 + 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 (((_root.bonus1._currentframe == 2) and (_root.bonus2._currentframe == 2)) and (_root.bonus3._currentframe == 2)) {
_root.punten = 250;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
gotoAndPlay (3);
_root.bonus2.gotoAndPlay(3);
_root.bonus3.gotoAndPlay(3);
}
}
Instance of Symbol 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 542 MovieClip "bonus2" in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
this.gotoAndStop(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 + 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;
}
}
}
}
Instance of Symbol 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 542 MovieClip "bonus3" in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
this.gotoAndStop(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 + 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;
}
}
}
}
Instance of Symbol 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 470 MovieClip "br28" in Frame 77
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 + 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;
}
}
this.play();
}
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 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 470 MovieClip "br27" in Frame 77
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 + 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;
}
}
this.play();
}
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 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 470 MovieClip "br18" in Frame 77
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 + 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;
}
}
this.play();
}
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 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 470 MovieClip "br17" in Frame 77
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 + 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;
}
}
this.play();
}
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 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 470 MovieClip "br23" in Frame 77
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 + 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;
}
}
this.play();
}
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 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 470 MovieClip "br22" in Frame 77
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 + 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;
}
}
this.play();
}
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 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 470 MovieClip "br8" in Frame 77
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 + 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;
}
}
this.play();
}
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 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 470 MovieClip "br7" in Frame 77
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 + 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;
}
}
this.play();
}
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 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 470 MovieClip "br13" in Frame 77
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 + 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;
}
}
this.play();
}
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 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 218 MovieClip "bal1" in Frame 77
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 = 5;
dy = 0.1;
}
}
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 78
stop();
Instance of Symbol 189 MovieClip in Frame 78
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 78
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L26");
_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 80
score = 0;
level = 26;
benodigdepunten = 2500;
levelsteen = false;
stop();
Instance of Symbol 189 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 543 MovieClip "bonus3" in Frame 80
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 189 MovieClip in Frame 80
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 80
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 558 MovieClip "beweegsteen3" in Frame 80
onClipEvent (load) {
snelheid = 1;
teller = 1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 200) {
teller = 10;
snelheid = snelheid * -1;
}
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 189 MovieClip in Frame 80
onClipEvent (load) {
teller = 1;
snelheid = 1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 200) {
teller = 10;
snelheid = snelheid * -1;
}
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 558 MovieClip "beweegsteen1" in Frame 80
onClipEvent (load) {
snelheid = 1;
teller = 1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 200) {
teller = 20;
snelheid = snelheid * -1;
}
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 189 MovieClip in Frame 80
onClipEvent (load) {
teller = 1;
snelheid = 1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 200) {
teller = 20;
snelheid = snelheid * -1;
}
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 558 MovieClip "beweegsteen2" in Frame 80
onClipEvent (load) {
snelheid = -1;
teller = 1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 200) {
teller = 1;
snelheid = snelheid * -1;
}
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 189 MovieClip in Frame 80
onClipEvent (load) {
teller = 1;
snelheid = -1;
}
onClipEvent (enterFrame) {
_y = (_y + snelheid);
teller = teller + 1;
if (teller >= 200) {
teller = 1;
snelheid = snelheid * -1;
}
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 585 MovieClip "bal1" in Frame 80
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 = 5;
dy = 0.1;
}
}
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 81
stop();
Instance of Symbol 189 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 81
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L27");
_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 83
magnet = false;
magnetloop = false;
level = 27;
score = 0;
benodigdepunten = 2000;
levelsteen = false;
stop();
Instance of Symbol 458 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dy = _root.bal1.dy - 0.2;
_root.bal1.dx = _root.bal1.dx + 0.2;
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true)) {
_root.bal2.dy = _root.bal2.dy - 0.2;
_root.bal2.dx = _root.bal2.dx + 0.2;
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true)) {
_root.bal3.dy = _root.bal3.dy - 0.2;
_root.bal3.dx = _root.bal3.dx + 0.2;
}
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 503 MovieClip "superbonus" in Frame 83
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.2;
_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.hit == false)) {
this.play();
_root.bal2.dy = _root.bal2.dy + 0.2;
_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 189 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 569 MovieClip in Frame 83
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;
}
}
this.play();
}
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;
}
}
this.play();
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true) and (_root.hit == false)) {
_root.hit = 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;
}
}
this.play();
}
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 146 MovieClip in Frame 83
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 146 MovieClip in Frame 83
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 218 MovieClip "bal1" in Frame 83
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 = 5;
dy = 0.5;
}
}
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 218 MovieClip "bal2" in Frame 83
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 = 5;
dy = 0.1;
}
}
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)) {
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 84
stop();
Instance of Symbol 189 MovieClip in Frame 84
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 84
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L28");
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L28");
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L28");
}
}
Frame 86
score = 0;
level = 28;
benodigdepunten = 1500;
levelsteen = false;
stop();
Instance of Symbol 503 MovieClip "superbonus" in Frame 86
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.hit == 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 424 MovieClip "raak33" in Frame 86
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 423 MovieClip in Frame 86
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 187 MovieClip "raak12" in Frame 86
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 189 MovieClip in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 187 MovieClip "raak13" in Frame 86
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 189 MovieClip in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 187 MovieClip "raak14" in Frame 86
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 189 MovieClip in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 187 MovieClip "raak11" in Frame 86
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 189 MovieClip in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 187 MovieClip "raak15" in Frame 86
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 189 MovieClip in Frame 86
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 218 MovieClip "bal1" in Frame 86
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 = 5;
dy = 0.5;
}
}
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 87
stop();
Instance of Symbol 189 MovieClip in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 87
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L29");
_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 89
score = 0;
magnet = false;
magnetloop = false;
level = 29;
benodigdepunten = 1500;
levelsteen = false;
stop();
Instance of Symbol 146 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 589 MovieClip in Frame 89
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 89
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 89
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 563 MovieClip in Frame 89
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 470 MovieClip "br44" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
this.play();
_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 470 MovieClip "br100" in Frame 89
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
this.play();
_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 218 MovieClip "bal1" in Frame 89
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 = 5;
dy = 0.1;
}
}
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 90
stop();
Instance of Symbol 189 MovieClip in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "level" in Frame 90
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L30");
_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 92
score = 0;
magnet = false;
magnetloop = false;
level = 30;
benodigdepunten = 0;
levelsteen = false;
stop();
Instance of Symbol 146 MovieClip in Frame 92
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 563 MovieClip "br48" in Frame 92
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 591 MovieClip "br31" in Frame 92
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.bal1.dy = _root.bal1.dy + 0.1;
_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 470 MovieClip "br44" in Frame 92
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_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 "br42" in Frame 92
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 470 MovieClip "br43" in Frame 92
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_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 470 MovieClip "br46" in Frame 92
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_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 470 MovieClip "br45" in Frame 92
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_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 491 MovieClip "cell" in Frame 92
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 493 MovieClip in Frame 92
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 218 MovieClip "bal1" in Frame 92
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 = 5;
dy = 0.1;
}
}
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 227 MovieClip "onzichtbaar" in Frame 92
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L31");
_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 93
stop();
Frame 95
score = 0;
level = 31;
benodigdepunten = 1000;
levelsteen = false;
stop();
Instance of Symbol 189 MovieClip in Frame 95
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 95
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 95
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 95
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 95
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 95
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 593 MovieClip "3" in Frame 95
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 593 MovieClip in Frame 95
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 423 MovieClip "1" in Frame 95
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 in Frame 95
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 in Frame 95
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 594 MovieClip in Frame 95
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 218 MovieClip "bal1" in Frame 95
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 = 5;
dy = 0.1;
}
}
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 96
stop();
Instance of Symbol 424 MovieClip in Frame 96
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 189 MovieClip in Frame 96
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 96
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L32");
_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 98
score = 0;
level = 32;
benodigdepunten = 2000;
levelsteen = false;
stop();
Instance of Symbol 542 MovieClip "bonus1" in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
this.gotoAndStop(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 + 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 (((_root.bonus1._currentframe == 2) and (_root.bonus2._currentframe == 2)) and (_root.bonus3._currentframe == 2)) {
_root.punten = 250;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
gotoAndPlay (3);
_root.bonus2.gotoAndPlay(3);
_root.bonus3.gotoAndPlay(3);
}
}
Instance of Symbol 542 MovieClip "bonus2" in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
this.gotoAndStop(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 + 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;
}
}
}
}
Instance of Symbol 542 MovieClip "bonus3" in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
this.gotoAndStop(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 + 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;
}
}
}
}
Instance of Symbol 520 MovieClip "au3" in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
this.play();
_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;
}
}
}
}
Instance of Symbol 146 MovieClip in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 98
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 187 MovieClip "raak5" in Frame 98
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;
}
}
this.play();
}
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 187 MovieClip "raak4" in Frame 98
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;
}
}
this.play();
}
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 187 MovieClip "raak40" in Frame 98
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;
}
}
this.play();
}
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 187 MovieClip "raak2" in Frame 98
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;
}
}
this.play();
}
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 187 MovieClip "raak3" in Frame 98
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;
}
}
this.play();
}
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 187 MovieClip "raak6" in Frame 98
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;
}
}
this.play();
}
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 187 MovieClip "raak18" in Frame 98
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;
}
}
this.play();
}
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 187 MovieClip "raak41" in Frame 98
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;
}
}
this.play();
}
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 596 MovieClip "bal1" in Frame 98
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 = 5;
dy = 0.1;
}
}
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 99
stop();
Instance of Symbol 189 MovieClip in Frame 99
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 99
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L33");
_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 101
score = 0;
level = 33;
benodigdepunten = 2000;
levelsteen = false;
stop();
Instance of Symbol 503 MovieClip "superbonus" in Frame 101
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.hit3 == 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 423 MovieClip in Frame 101
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 189 MovieClip in Frame 101
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 424 MovieClip "raak33" in Frame 101
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 218 MovieClip "bal1" in Frame 101
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 = 5;
dy = 0.5;
}
}
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 218 MovieClip "bal2" in Frame 101
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 = 5;
dy = 0.1;
}
}
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)) {
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 218 MovieClip "bal3" in Frame 101
onClipEvent (load) {
dx = 0;
dy = 0;
effect3 = 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 = 5;
dy = 0.1;
}
}
effect3 = effect3 * 0.95;
_x = (_x + dx);
_y = (_y + (dy + effect3));
_rotation = (_rotation + (effect3 * 20));
if ((_x < 109) and (_root.hit3 == false)) {
_root.hit3 = true;
dx = dx * -1;
effect3 = 0;
_root.ping.gotoAndPlay(2);
}
if (_y < 88) {
_y = 88;
dy = dy * -1;
effect3 = 0;
_root.pong.kaats3 = false;
_root.ping.gotoAndPlay(2);
} else if (_y > 381) {
_y = 381;
dy = dy * -1;
effect3 = 0;
_root.pong.kaats3 = 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 102
stop();
Instance of Symbol 189 MovieClip in Frame 102
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 102
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L34");
}
if (this.hitTest(_root.bal2._x, _root.bal2._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L34");
}
if (this.hitTest(_root.bal3._x, _root.bal3._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L34");
}
}
Frame 104
score = 0;
level = 34;
benodigdepunten = 1000;
levelsteen = false;
stop();
Instance of Symbol 458 MovieClip in Frame 104
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 458 MovieClip in Frame 104
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.bal1.dx = _root.bal1.dx + 0.4;
}
}
Instance of Symbol 599 MovieClip "bonus3" in Frame 104
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 146 MovieClip in Frame 104
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 104
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 104
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 104
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 104
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 104
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 187 MovieClip "raak6" in Frame 104
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 600 MovieClip "raak18" in Frame 104
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 218 MovieClip "bal1" in Frame 104
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 = 5;
dy = 0.1;
}
}
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 105
stop();
Instance of Symbol 189 MovieClip in Frame 105
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 227 MovieClip "onzichtbaar" in Frame 105
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("L35");
_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 107
score = 0;
level = 35;
benodigdepunten = 5000;
_root.pong.gungeladen = true;
levelsteen = false;
gun = false;
gunloop = false;
stop();
Instance of Symbol 602 MovieClip "au1" in Frame 107
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 503 MovieClip "superbonus" in Frame 107
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();
}
}
Instance of Symbol 146 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 189 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 146 MovieClip in Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
_root.hit = false;
updateAfterEvent();
}
}
Instance of Symbol 603 MovieClip "br48" in Frame 107
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 563 MovieClip "br31" in Frame 107
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.hit = true;
_root.bal1.dy = _root.bal1.dy + 0.1;
_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 "br43" in Frame 107
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 567 MovieClip "br42" in Frame 107
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 34 MovieClip "kogel" in Frame 107
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 218 MovieClip "bal1" in Frame 107
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 = 5;
dy = 0.1;
}
}
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 108
stop();
Instance of Symbol 227 MovieClip "level" in Frame 108
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
_root.totalscore = _root.totalscore + _root.score;
_root.gotoAndPlay("completed");
_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 111
_root.easymusic_mc.gotoAndPlay("starteasymusic");
trace("Jur");
Frame 319
_global.HSSER = HS;
_global.HSSER._visible = false;
stop();
Frame 320
_global.HSSER = HS;
_global.HSSER._visible = false;
_root.easymusic_mc.gotoAndPlay("starteasymusic");
Frame 323
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 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 10
_x = 750;
_root.pong.gungeladen = true;
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 3
stop();
Symbol 46 MovieClip Frame 5
stop();
Symbol 52 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 55 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 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 50
this.gotoAndStop(1);
Symbol 74 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 80 Button
on (press) {
getURL ("http://www.totallygame.com", "_blank");
}
Symbol 89 MovieClip Frame 1
if (_parent.introPlayed) {
this.gotoAndStop(215);
} else {
_parent.introPlayed = true;
}
Symbol 89 MovieClip Frame 215
_root.intromusic_mc.gotoAndPlay("startintromusic");
stop();
Symbol 99 Button
on (release) {
_root.heromusic_mc.gotoAndPlay("stopheromusic");
_root.intromusic_mc.gotoAndPlay("startintromusic");
gotoAndPlay (2);
}
Symbol 100 Button
on (release) {
_root.heromusic_mc.gotoAndPlay("stopheromusic");
gotoAndPlay ("info");
}
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 3
stop();
Symbol 106 MovieClip Frame 5
stop();
Symbol 113 Button
on (release) {
this.nextFrame();
}
Symbol 134 Button
on (release) {
_root.comicmusic_mc.gotoAndPlay("stopcomicmusic");
_root.nextFrame();
}
Symbol 138 Button
on (release) {
_root.comicmusic_mc.gotoAndPlay("stopcomicmusic");
_root.gotoAndStop(2);
}
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
stop();
Symbol 139 MovieClip Frame 3
stop();
Symbol 139 MovieClip Frame 4
stop();
Symbol 139 MovieClip Frame 5
stop();
Symbol 139 MovieClip Frame 6
stop();
Symbol 139 MovieClip Frame 7
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 3
stop();
Symbol 141 MovieClip Frame 5
stop();
Symbol 167 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 35
gotoAndPlay (1);
Symbol 218 MovieClip Frame 1
_root.pong.kaats1 = false;
_root.pong.kaats2 = false;
_root.pong.kaats3 = false;
stop();
Instance of Symbol 190 MovieClip in Symbol 218 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 218 MovieClip Frame 2
stop();
Symbol 218 MovieClip Frame 5
_root.pong.kaats1 = 0;
_root.pong.kaats2 = 0;
_root.pong.kaats3 = 0;
_root.magnet = false;
_rotation = 0;
Symbol 218 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 218 MovieClip Frame 46
this.dx = 5;
this.dy = 0.1;
gotoAndPlay (1);
Symbol 218 MovieClip Frame 47
this.aanuit._alpha = 10;
stop();
Symbol 218 MovieClip Frame 51
this.aanuit._alpha = 100;
Symbol 218 MovieClip Frame 55
this.aanuit._alpha = 10;
Symbol 218 MovieClip Frame 59
this.aanuit._alpha = 100;
Symbol 218 MovieClip Frame 63
this.aanuit._alpha = 10;
Symbol 218 MovieClip Frame 67
this.aanuit._alpha = 100;
Symbol 218 MovieClip Frame 71
this.aanuit._alpha = 10;
Symbol 218 MovieClip Frame 75
this.aanuit._alpha = 100;
Symbol 227 MovieClip Frame 1
_root.levelsteen = true;
Symbol 227 MovieClip Frame 87
stop();
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 2
stop();
Symbol 240 MovieClip Frame 3
stop();
Symbol 240 MovieClip Frame 4
stop();
Symbol 247 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip "houder" in Symbol 247 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = ((-this._parent._rotation) / 2) + 4;
}
Symbol 247 MovieClip Frame 2
stop();
Symbol 247 MovieClip Frame 3
stop();
Symbol 247 MovieClip Frame 4
stop();
Symbol 376 MovieClip Frame 88
_root.levelmusic_mc.gotoAndPlay("stoplevelmusic");
_root.gotoAndPlay("shop");
stop();
Symbol 378 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 2
stop();
Symbol 378 MovieClip Frame 3
stop();
Symbol 378 MovieClip Frame 4
_root.pong.thegun.gotoAndStop(4);
stop();
Instance of Symbol 377 MovieClip in Symbol 378 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 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 3
gotoAndStop (1);
Symbol 387 MovieClip Frame 4
stop();
Symbol 388 MovieClip Frame 1
stop();
Symbol 388 MovieClip Frame 2
stop();
Instance of Symbol 387 MovieClip "thegun" in Symbol 388 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = ((-this._parent._rotation) - 90);
}
Symbol 395 MovieClip Frame 1
stop();
Symbol 398 Button
on (press) {
removeMovieClip(_root.mc);
removeMovieClip(_root.mc2);
_root.score = 0;
_root.levens = 3;
_root.levelmusic_mc.gotoAndPlay("stoplevelmusic");
_root.gotoAndStop(2);
}
Symbol 401 Button
on (press) {
_root.levelmusic_mc.gotoAndPlay("stoplevelmusic");
gotoAndStop (2);
}
Symbol 406 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 3
stop();
Symbol 406 MovieClip Frame 5
stop();
Symbol 438 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 1
stop();
Instance of Symbol 440 MovieClip "gat1" in Symbol 446 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 470 MovieClip Frame 1
stop();
Symbol 470 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 470 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 476 MovieClip Frame 1
_root.gun = false;
stop();
Symbol 476 MovieClip Frame 2
_root.gun = true;
stop();
Instance of Symbol 470 MovieClip "break10" in Symbol 477 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 470 MovieClip "break11" in Symbol 477 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 476 MovieClip "gun" in Symbol 477 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "break12" in Symbol 477 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 470 MovieClip "break13" in Symbol 477 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 470 MovieClip "br9" in Symbol 482 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "br8" in Symbol 482 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "br7" in Symbol 482 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Symbol 488 MovieClip Frame 1
stop();
Symbol 488 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 470 MovieClip "br9" in Symbol 489 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "br7" in Symbol 489 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 488 MovieClip "br3" in Symbol 489 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
this.gotoAndStop(2);
_root.cell.play();
}
}
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 20
stop();
Symbol 491 MovieClip Frame 21
gotoAndStop (20);
Symbol 503 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 2
stop();
Instance of Symbol 509 MovieClip "onzichtbaar" in Symbol 510 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 470 MovieClip "break5" in Symbol 510 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 470 MovieClip "break6" in Symbol 510 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 470 MovieClip "break8" in Symbol 510 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 470 MovieClip "break9" in Symbol 510 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 470 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 470 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();
}
}
Instance of Symbol 470 MovieClip "break17" 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 470 MovieClip "break18" 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 470 MovieClip "break16" 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 470 MovieClip "break14" in Symbol 514 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 470 MovieClip "break15" in Symbol 514 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 520 MovieClip Frame 1
stop();
Symbol 520 MovieClip Frame 2
_root.bal1._alpha = 10;
Symbol 520 MovieClip Frame 9
_root.bal1._alpha = 100;
Symbol 520 MovieClip Frame 16
_root.bal1._alpha = 10;
Symbol 520 MovieClip Frame 23
_root.bal1._alpha = 100;
Symbol 520 MovieClip Frame 30
_root.bal1._alpha = 10;
Symbol 520 MovieClip Frame 37
_root.bal1._alpha = 100;
Symbol 520 MovieClip Frame 44
_root.bal1._alpha = 10;
Symbol 520 MovieClip Frame 51
_root.bal1._alpha = 100;
Instance of Symbol 520 MovieClip "au7" in Symbol 521 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "break22" in Symbol 521 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 528 MovieClip Frame 1
_root.pong.kaats1 = false;
_root.pong.kaats2 = false;
_root.pong.kaats3 = false;
stop();
Symbol 528 MovieClip Frame 2
stop();
Symbol 530 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 2
if (_root.magnet == true) {
this.bal2.gotoAndStop(2);
}
Symbol 530 MovieClip Frame 77
_root.punten = 250;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
Symbol 530 MovieClip Frame 138
_root.bal1._x = 349;
_root.bal1._y = 375;
_root.bal1.dx = 8;
_root.bal1._alpha = 100;
Symbol 542 MovieClip Frame 1
stop();
Instance of Symbol 542 MovieClip "bonus1" in Symbol 543 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.gotoAndStop(2);
}
if (((this._parent.bonus1._currentframe == 2) and (this._parent.bonus2._currentframe == 2)) and (this._parent.bonus3._currentframe == 2)) {
_root.punten = 250;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
gotoAndPlay (3);
this._parent.bonus2.gotoAndPlay(3);
this._parent.bonus3.gotoAndPlay(3);
}
}
Instance of Symbol 542 MovieClip "bonus2" in Symbol 543 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.gotoAndStop(2);
}
}
Instance of Symbol 542 MovieClip "bonus3" in Symbol 543 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.gotoAndStop(2);
}
}
Instance of Symbol 470 MovieClip "br9" in Symbol 543 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 470 MovieClip "br7" in Symbol 543 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 551 MovieClip Frame 1
stop();
Instance of Symbol 470 MovieClip "break14" in Symbol 559 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 470 MovieClip "break15" in Symbol 559 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 470 MovieClip "break17" in Symbol 559 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 470 MovieClip "break18" in Symbol 559 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 520 MovieClip "au7" in Symbol 559 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "break20" in Symbol 561 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 470 MovieClip "break14" in Symbol 563 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 470 MovieClip "break15" in Symbol 563 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 470 MovieClip "break17" in Symbol 563 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 470 MovieClip "break18" in Symbol 563 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 470 MovieClip "break20" in Symbol 564 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 470 MovieClip "break22" in Symbol 564 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 520 MovieClip "au5" in Symbol 566 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "br24" in Symbol 566 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "br23" in Symbol 566 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "br9" in Symbol 567 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "br8" in Symbol 567 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "br7" in Symbol 567 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Symbol 570 MovieClip Frame 1
stop();
Instance of Symbol 440 MovieClip "gat1" in Symbol 570 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);
this._parent.play();
_root.gat3.play();
_root.bal1._x = _root.gat3._x;
_root.bal1._y = _root.gat3._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.gat3.play();
_root.bal2._x = _root.gat3._x;
_root.bal2._y = _root.gat3._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 579 MovieClip Frame 1
_root.pong.kaats1 = false;
_root.pong.kaats2 = false;
_root.pong.kaats3 = false;
stop();
Instance of Symbol 190 MovieClip in Symbol 579 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 579 MovieClip Frame 2
stop();
Symbol 579 MovieClip Frame 5
_root.pong.kaats1 = 0;
_root.pong.kaats2 = 0;
_root.pong.kaats3 = 0;
_root.magnet = false;
_rotation = 0;
Symbol 579 MovieClip Frame 21
_root.pong.kaats1 = false;
_root.pong.kaats2 = false;
_root.pong.kaats3 = false;
this.over = false;
this.effect = 0;
this._x = 480;
this._y = 271;
Symbol 579 MovieClip Frame 46
this.dx = 5;
this.dy = 0.1;
gotoAndPlay (1);
Symbol 579 MovieClip Frame 47
this.aanuit._alpha = 10;
stop();
Symbol 579 MovieClip Frame 51
this.aanuit._alpha = 100;
Symbol 579 MovieClip Frame 55
this.aanuit._alpha = 10;
Symbol 579 MovieClip Frame 59
this.aanuit._alpha = 100;
Symbol 579 MovieClip Frame 63
this.aanuit._alpha = 10;
Symbol 579 MovieClip Frame 67
this.aanuit._alpha = 100;
Symbol 579 MovieClip Frame 71
this.aanuit._alpha = 10;
Symbol 579 MovieClip Frame 75
this.aanuit._alpha = 100;
Symbol 585 MovieClip Frame 1
_root.pong.kaats1 = false;
_root.pong.kaats2 = false;
_root.pong.kaats3 = false;
stop();
Instance of Symbol 190 MovieClip in Symbol 585 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 585 MovieClip Frame 2
stop();
Symbol 585 MovieClip Frame 5
_root.pong.kaats1 = 0;
_root.pong.kaats2 = 0;
_root.pong.kaats3 = 0;
_root.magnet = false;
_rotation = 0;
Symbol 585 MovieClip Frame 21
_root.pong.kaats1 = false;
_root.pong.kaats2 = false;
_root.pong.kaats3 = false;
this.over = false;
this.effect = 0;
this._x = 390;
this._y = 221;
Symbol 585 MovieClip Frame 46
this.dx = 5;
this.dy = 0.1;
gotoAndPlay (1);
Symbol 585 MovieClip Frame 47
this.aanuit._alpha = 10;
stop();
Symbol 585 MovieClip Frame 51
this.aanuit._alpha = 100;
Symbol 585 MovieClip Frame 55
this.aanuit._alpha = 10;
Symbol 585 MovieClip Frame 59
this.aanuit._alpha = 100;
Symbol 585 MovieClip Frame 63
this.aanuit._alpha = 10;
Symbol 585 MovieClip Frame 67
this.aanuit._alpha = 100;
Symbol 585 MovieClip Frame 71
this.aanuit._alpha = 10;
Symbol 585 MovieClip Frame 75
this.aanuit._alpha = 100;
Instance of Symbol 509 MovieClip "onzichtbaar" in Symbol 589 MovieClip Frame 1
onClipEvent (load) {
onzichtbaar = 50;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) or this.hitTest(_root.kogel._x, _root.kogel._y, true)) {
this.play();
_root.bal1._alpha = _root.bal1._alpha - onzichtbaar;
onzichtbaar = onzichtbaar * -1;
}
}
Instance of Symbol 503 MovieClip "raak40" in Symbol 589 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.ping.gotoAndPlay(2);
}
}
Instance of Symbol 520 MovieClip "au4" in Symbol 591 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 470 MovieClip "br5" in Symbol 591 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 470 MovieClip "br4" in Symbol 591 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 488 MovieClip "br3" in Symbol 591 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
this.gotoAndStop(2);
_root.cell.play();
}
}
Instance of Symbol 470 MovieClip "br2" in Symbol 591 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 470 MovieClip "break21" in Symbol 593 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 470 MovieClip "break20" in Symbol 593 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 503 MovieClip "raak40" in Symbol 594 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.ping.gotoAndPlay(2);
}
}
Instance of Symbol 503 MovieClip "raak6" in Symbol 594 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.ping.gotoAndPlay(2);
}
}
Instance of Symbol 503 MovieClip "raak7" in Symbol 594 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.ping.gotoAndPlay(2);
}
}
Instance of Symbol 503 MovieClip "raak5" in Symbol 594 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true) and (_root.hit == false)) {
this.play();
_root.punten = 100;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
_root.ping.gotoAndPlay(2);
}
}
Symbol 596 MovieClip Frame 1
_root.pong.kaats1 = false;
_root.pong.kaats2 = false;
_root.pong.kaats3 = false;
stop();
Instance of Symbol 190 MovieClip in Symbol 596 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 596 MovieClip Frame 2
stop();
Symbol 596 MovieClip Frame 5
_root.pong.kaats1 = 0;
_root.pong.kaats2 = 0;
_root.pong.kaats3 = 0;
_root.magnet = false;
Symbol 596 MovieClip Frame 21
_root.pong.kaats1 = false;
_root.pong.kaats2 = false;
_root.pong.kaats3 = false;
this.over = false;
this.effect = 0;
this._x = 480;
this._y = 170;
Symbol 596 MovieClip Frame 46
this.dx = 5;
this.dy = 0.1;
gotoAndPlay (1);
Symbol 596 MovieClip Frame 47
this.aanuit._alpha = 10;
stop();
Symbol 596 MovieClip Frame 51
this.aanuit._alpha = 100;
Symbol 596 MovieClip Frame 55
this.aanuit._alpha = 10;
Symbol 596 MovieClip Frame 59
this.aanuit._alpha = 100;
Symbol 596 MovieClip Frame 63
this.aanuit._alpha = 10;
Symbol 596 MovieClip Frame 67
this.aanuit._alpha = 100;
Symbol 596 MovieClip Frame 71
this.aanuit._alpha = 10;
Symbol 596 MovieClip Frame 75
this.aanuit._alpha = 100;
Instance of Symbol 542 MovieClip "bonus1" in Symbol 599 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.gotoAndStop(2);
}
if (((this._parent.bonus1._currentframe == 2) and (this._parent.bonus2._currentframe == 2)) and (this._parent.bonus3._currentframe == 2)) {
_root.punten = 250;
_root.score = _root.score + _root.punten;
_root.punten1.punten2.hoeveel = "+" + _root.punten;
_root.punten1.gotoAndPlay(2);
gotoAndPlay (3);
this._parent.bonus2.gotoAndPlay(3);
this._parent.bonus3.gotoAndPlay(3);
}
}
Instance of Symbol 542 MovieClip "bonus2" in Symbol 599 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.gotoAndStop(2);
}
}
Instance of Symbol 542 MovieClip "bonus3" in Symbol 599 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.gotoAndStop(2);
}
}
Instance of Symbol 470 MovieClip "break14" in Symbol 602 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 470 MovieClip "break15" in Symbol 602 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 470 MovieClip "break17" in Symbol 602 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 520 MovieClip "au7" in Symbol 602 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 520 MovieClip "au8" in Symbol 602 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
}
}
Instance of Symbol 470 MovieClip "break15" in Symbol 603 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 470 MovieClip "break17" in Symbol 603 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 470 MovieClip "break18" in Symbol 603 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 476 MovieClip "break3" in Symbol 603 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.bal1._x, _root.bal1._y, true)) {
this.play();
_root.pong.play();
_root.ping.gotoAndPlay(2);
}
}
Symbol 609 Button
on (release) {
gotoAndPlay (2);
}
Symbol 614 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 2
trace("Jur in de MC2");
Symbol 614 MovieClip Frame 3
trace("Jur in de MC3");
Symbol 614 MovieClip Frame 4
stop();
Symbol 614 MovieClip Frame 7
stop();
Symbol 619 Button
on (press) {
removeMovieClip(_root.mc);
removeMovieClip(_root.mc2);
_root.score = 0;
_root.levens = 3;
_root.easymusic_mc.gotoAndPlay("stopeasymusic");
_root.gotoAndStop(2);
}
Symbol 633 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 = true;
stop();
Symbol 633 MovieClip Frame 2
encrPath.gameScore = _root.totalscore;
encrPath.ecryptString = "13wEWIb";
stop();
Symbol 637 Button
on (release) {
_global.HSSER._visible = true;
}
Symbol 648 Button
on (release) {
_root.easymusic_mc.gotoAndPlay("stopeasymusic");
getURL ("https://secure.bmtmicro.com/servlets/Orders.ShoppingCart?CLR=0&CID=2249&PRODUCTID=22490001&AID=" + code, "_blank");
}
Symbol 649 Button
on (release) {
_root.easymusic_mc.gotoAndPlay("stopeasymusic");
_root.gotoAndStop(2);
}