Frame 1
function itemfonction1(obj, item) {
getURL ("http://team-atemis.com", "blank");
}
function itemfonction2(obj, item) {
getURL ("http://Armorgames.com", "blank");
}
function itemfonction3(obj, item) {
stopAllSounds();
_root.shotsleft = 3;
_root.menusound.setVolume(50);
_root.menusound.start(0, 99);
_root.gotoAndStop(3);
}
Stage.scaleMode = "exactFit";
var lastHighscore = 0;
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem("Team-AtemiS.com", itemfonction1);
myMenu.customItems.push(item1);
item2 = new ContextMenuItem("ArmorGames.com", itemfonction2);
myMenu.customItems.push(item2);
item3 = new ContextMenuItem("Give up", itemfonction3);
myMenu.customItems.push(item3);
item3.separatorBefore = true;
_root.menu = myMenu;
_quality = "HIGH";
_root.currentdifficulty = "easy";
_root.easyhighscore = 0;
_root.mediumhighscore = 0;
_root.hardhighscore = 0;
_root.totalhighscore = 0;
_root.shotsleft = 3;
_root.level = 1;
_root.score = 0;
_root.resetlevels = true;
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.mediumunlocked = false;
_root.hardunlocked = false;
_root.vitesse = 0;
_root.menusound = new Sound();
_root.menusound.attachSound("menu");
Instance of Symbol 15 MovieClip in Frame 1
onClipEvent (load) {
this._name = "loading";
}
Frame 2
stop();
Frame 3
stop();
if (_root.sound == undefined) {
_root.sound = true;
}
beep1sound = new Sound();
beep1sound.attachSound("beep1");
clearingarray = new Array();
icecapsound = new Sound();
icecapsound.attachSound("icecap");
wingcapsound = new Sound();
wingcapsound.attachSound("wingcap");
alternateroutesound = new Sound();
alternateroutesound.attachSound("alternateroute");
Frame 4
stop();
Instance of Symbol 60 MovieClip in Frame 4
/* no clip actions */
Instance of Symbol 68 MovieClip in Frame 4
/* no clip actions */
Instance of Symbol 74 MovieClip in Frame 4
/* no clip actions */
Frame 5
stop();
Frame 6
function clear() {
i = 0;
while (i < 8) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
_root.levelcodedisplay.text = "Level code : 93209";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
_root.cursor.gotoAndStop(1);
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 102 MovieClip in Frame 6
onClipEvent (load) {
this._name = "env";
}
Instance of Symbol 68 MovieClip in Frame 6
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 60 MovieClip in Frame 6
/* no clip actions */
Instance of Symbol 146 MovieClip in Frame 6
onClipEvent (load) {
this.timer = 0;
this._name = "vitesseclip";
this.activated = true;
}
onClipEvent (enterFrame) {
if (this.activated == true) {
if (this.timer >= 2) {
this.timer = 0;
if (_root.grabbed == true) {
_root.vitesse = Math.abs(_root.xspeed) + Math.abs(_root.yspeed);
} else {
_root.vitesse = Math.abs(_root.env.ball.xspeed) + Math.abs(_root.env.ball.yspeed);
}
_root.vitessedisplay.text = Math.round(_root.vitesse) + " mph";
} else {
this.timer++;
}
} else {
_root.vitessedisplay.text = "";
}
}
Instance of Symbol 71 MovieClip in Frame 6
onClipEvent (load) {
if (_root.shotsleft < 3) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 71 MovieClip in Frame 6
onClipEvent (load) {
if (_root.shotsleft < 2) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 71 MovieClip in Frame 6
onClipEvent (load) {
if (_root.shotsleft < 1) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 151 MovieClip in Frame 6
onClipEvent (load) {
if (_root.sound == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
this._width = 40;
this._height = 40;
}
on (rollOut) {
this._width = 35;
this._height = 35;
}
on (press) {
if (_root.sound == true) {
stopAllSounds();
_root.sound = false;
this.gotoAndStop(2);
} else {
_root.icecapsound.setVolume(50);
_root.icecapsound.start(0, 99);
_root.sound = true;
this.gotoAndStop(1);
}
}
Instance of Symbol 153 MovieClip in Frame 6
on (press) {
switch (_root._quality) {
case "HIGH" :
_root._quality = "MEDIUM";
break;
case "MEDIUM" :
_root._quality = "LOW";
break;
case "LOW" :
_root._quality = "HIGH";
}
}
Frame 7
function clear() {
i = 0;
while (i < 7) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 2) {
_root.gotoAndStop(41);
}
_root.vitessedisplay._alpha = 100;
_root.levelcodedisplay.text = "Level code : 1644";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 164 MovieClip in Frame 7
onClipEvent (load) {
this._name = "env";
}
Instance of Symbol 68 MovieClip in Frame 7
/* no clip actions */
Instance of Symbol 60 MovieClip in Frame 7
/* no clip actions */
Instance of Symbol 146 MovieClip in Frame 7
onClipEvent (load) {
this.timer = 0;
this._name = "vitesseclip";
this.activated = true;
}
onClipEvent (enterFrame) {
if (this.activated == true) {
if (this.timer >= 2) {
this.timer = 0;
if (_root.grabbed == true) {
_root.vitesse = Math.abs(_root.xspeed) + Math.abs(_root.yspeed);
} else {
_root.vitesse = Math.abs(_root.env.ball.xspeed) + Math.abs(_root.env.ball.yspeed);
}
_root.vitessedisplay.text = Math.round(_root.vitesse) + " mph";
} else {
this.timer++;
}
} else {
_root.vitessedisplay.text = "";
}
}
Frame 8
function clear() {
i = 0;
while (i < 13) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 3) {
_root.gotoAndStop(41);
}
_root.vitessedisplay._alpha = 100;
_root.levelcodedisplay.text = "Level code : 07313";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 176 MovieClip in Frame 8
onClipEvent (load) {
this._name = "env";
}
Frame 9
function clear() {
i = 0;
while (i < 12) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 4) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 4117";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 192 MovieClip in Frame 9
onClipEvent (load) {
this._name = "env";
}
Instance of Symbol 146 MovieClip in Frame 9
onClipEvent (load) {
this.timer = 0;
this._name = "vitesseclip";
this.activated = true;
}
onClipEvent (enterFrame) {
if (this.activated == true) {
if (this.timer >= 2) {
this.timer = 0;
if (_root.grabbed == true) {
_root.vitesse = Math.abs(_root.xspeed) + Math.abs(_root.yspeed);
} else {
_root.vitesse = Math.abs(_root.env.ball.xspeed) + Math.abs(_root.env.ball.yspeed);
}
_root.vitessedisplay.text = Math.round(_root.vitesse) + " mph";
} else {
this.timer++;
}
} else {
_root.vitessedisplay.text = "";
}
}
Frame 10
function clear() {
i = 0;
while (i < 11) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 5) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 2703";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 220 MovieClip in Frame 10
onClipEvent (load) {
this._name = "env";
}
Instance of Symbol 68 MovieClip in Frame 10
/* no clip actions */
Frame 11
function clear() {
i = 0;
while (i < 9) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 6) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 54127";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 234 MovieClip in Frame 11
onClipEvent (load) {
this._name = "env";
}
Frame 12
function clear() {
i = 0;
while (i < 10) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 7) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 8280";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 254 MovieClip in Frame 12
onClipEvent (load) {
this._name = "env";
}
Frame 13
function clear() {
i = 0;
while (i < 8) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 8) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 139256";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 275 MovieClip in Frame 13
onClipEvent (load) {
this._name = "env";
}
Instance of Symbol 68 MovieClip in Frame 13
/* no clip actions */
Frame 14
function clear() {
i = 0;
while (i < 8) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 9) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 7605235";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 293 MovieClip in Frame 14
onClipEvent (load) {
this._name = "env";
}
Frame 15
function clear() {
i = 0;
while (i < 9) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 10) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 1450";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 315 MovieClip in Frame 15
onClipEvent (load) {
this._name = "env";
}
Frame 16
function clear() {
i = 0;
while (i < 11) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 11) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 1340";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 336 MovieClip in Frame 16
onClipEvent (load) {
this._name = "env";
}
Instance of Symbol 68 MovieClip in Frame 16
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Frame 16
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 151 MovieClip in Frame 16
onClipEvent (load) {
if (_root.sound == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
this._width = 40;
this._height = 40;
}
on (rollOut) {
this._width = 35;
this._height = 35;
}
on (press) {
if (_root.sound == true) {
stopAllSounds();
_root.sound = false;
this.gotoAndStop(2);
} else {
_root.wingcapsound.setVolume(50);
_root.wingcapsound.start(0, 99);
_root.sound = true;
this.gotoAndStop(1);
}
}
Frame 17
function clear() {
i = 0;
while (i < 6) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 12) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 713705";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 352 MovieClip in Frame 17
onClipEvent (load) {
this._name = "env";
}
Frame 18
function clear() {
i = 0;
while (i < 11) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 13) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 819819";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 367 MovieClip in Frame 18
onClipEvent (load) {
this._name = "env";
}
Frame 19
function clear() {
i = 0;
while (i < 9) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 14) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 20071";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 378 MovieClip in Frame 19
onClipEvent (load) {
this._name = "env";
}
Frame 20
function clear() {
i = 0;
while (i < 10) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 15) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 3995";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 388 MovieClip in Frame 20
onClipEvent (load) {
this._name = "env";
}
Frame 21
function clear() {
i = 0;
while (i < 9) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 16) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 318353";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 396 MovieClip in Frame 21
onClipEvent (load) {
this._name = "env";
}
Instance of Symbol 87 MovieClip in Frame 21
onClipEvent (load) {
this._name = "element1";
}
Frame 22
function clear() {
i = 0;
while (i < 11) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 17) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 01021";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 410 MovieClip in Frame 22
onClipEvent (load) {
this._name = "env";
}
Frame 23
function clear() {
i = 0;
while (i < 13) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 18) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 2221845";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 422 MovieClip in Frame 23
onClipEvent (load) {
this._name = "env";
}
Frame 24
function clear() {
i = 0;
while (i < 5) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 19) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 94107";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 430 MovieClip in Frame 24
onClipEvent (load) {
this._name = "env";
}
Frame 25
function clear() {
i = 0;
while (i < 9) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 20) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 2114";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 446 MovieClip in Frame 25
onClipEvent (load) {
this._name = "env";
}
Frame 26
function clear() {
i = 0;
while (i < 11) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 21) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 6252011";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 457 MovieClip in Frame 26
onClipEvent (load) {
this._name = "env";
}
Instance of Symbol 151 MovieClip in Frame 26
onClipEvent (load) {
if (_root.sound == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (rollOver) {
this._width = 40;
this._height = 40;
}
on (rollOut) {
this._width = 35;
this._height = 35;
}
on (press) {
if (_root.sound == true) {
stopAllSounds();
_root.sound = false;
this.gotoAndStop(2);
} else {
_root.alternateroutesound.setVolume(50);
_root.alternateroutesound.start(0, 99);
_root.sound = true;
this.gotoAndStop(1);
}
}
Frame 27
function clear() {
i = 0;
while (i < 12) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 22) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 58850";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 465 MovieClip in Frame 27
onClipEvent (load) {
this._name = "env";
}
Frame 28
function clear() {
i = 0;
while (i < 6) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 23) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 14712";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 473 MovieClip in Frame 28
onClipEvent (load) {
this._name = "env";
}
Frame 29
function clear() {
i = 0;
while (i < 6) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 24) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 369258";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 483 MovieClip in Frame 29
onClipEvent (load) {
this._name = "env";
}
Instance of Symbol 68 MovieClip in Frame 29
onClipEvent (load) {
this._name = "goal";
}
Frame 30
function clear() {
i = 0;
while (i < 12) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 25) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 1998";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 495 MovieClip in Frame 30
onClipEvent (load) {
this._name = "env";
}
Frame 31
function clear() {
i = 0;
while (i < 14) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 26) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 31226";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 505 MovieClip in Frame 31
onClipEvent (load) {
this._name = "env";
}
Frame 32
function clear() {
i = 0;
while (i < 9) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 27) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 4212";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 517 MovieClip in Frame 32
onClipEvent (load) {
this._name = "env";
}
Frame 33
function clear() {
i = 0;
while (i < 12) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 28) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 726199";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 527 MovieClip in Frame 33
onClipEvent (load) {
this._name = "env";
}
Frame 34
function clear() {
i = 0;
while (i < 11) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 29) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 10086";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification3._x = 1000;
_root.notification3._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 539 MovieClip in Frame 34
onClipEvent (load) {
this._name = "env";
}
Frame 35
function clear() {
i = 0;
while (i < 8) {
_root.env[_root.clearingarray[i]]._alpha = 0;
_root.env[_root.clearingarray[i]]._x = -2000;
i++;
}
clearInterval(clearingInterval);
}
function getmouse() {
xspeed = -(sourisx - _xmouse);
yspeed = -(sourisy - _ymouse);
getmouse2();
}
function getmouse2() {
sourisx = _xmouse;
sourisy = _ymouse;
}
stop();
if (_root.level != 30) {
_root.gotoAndStop(41);
}
_root.levelcodedisplay.text = "Level code : 103945";
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
_root.notification._x = 1000;
_root.notification._y = -1000;
_root.notification2._x = 1000;
_root.notification2._y = -1000;
_root.notification5._x = 1000;
_root.notification5._y = -1000;
bloop1sound = new Sound();
bloop1sound.attachSound("bloop1");
loadedsound = new Sound();
loadedsound.attachSound("loaded");
clearingInterval = setInterval(clear, 5);
mouselistener = new Object();
Mouse.addListener(mouselistener);
mouselistener.onMouseUp = function () {
if (grabbed == true) {
_root.grabbed = false;
_root.env.ball.xspeed = _root.xspeed;
_root.env.ball.yspeed = -_root.yspeed;
}
};
clearInterval(mouseInterval);
mouseInterval = setInterval(getmouse, 25);
Instance of Symbol 548 MovieClip in Frame 35
onClipEvent (load) {
this._name = "env";
}
Frame 36
stop();
Frame 37
stop();
var top_score = 0;
var top_nameZXY = "";
var highscore = new XML();
System.security.allowDomain("clubdubeau.com");
highscore.load("http://www.clubdubeau.com/team-atemis/toss_ball/highscore.xml?t=" + new Date().getTime());
highscore.ignoreWhite = true;
highscore.onLoad = function (success) {
var _local2;
var _local3;
var _local6;
var _local4 = new XML("<?xml version='1.0' encoding='ISO-8859-1' ?><main></main>");
var _local5 = false;
var _local7 = new LoadVars();
if (success) {
_local2 = 0;
while (_local2 < 20) {
_local3 = Number(String(_root.highscore.childNodes[0].childNodes[0].childNodes[1].childNodes[0]));
_local6 = String(_root.highscore.childNodes[0].childNodes[0].childNodes[0].childNodes[0]);
if (((_root.top_score > _local3) && (_root.lastHighscore != _root.top_score)) && (!_local5)) {
_local5 = true;
_root.lastHighscore = _root.top_score;
_local4.childNodes[0].appendChild(new XML(((("<top><name>" + _root.top_nameZXY) + "</name><score>") + _root.top_score) + "</score></top>"));
_root["name" + (_local2 + 1)].text = _root.top_nameZXY;
_root["score" + (_local2 + 1)].text = _root.top_score;
} else {
_local4.childNodes[0].appendChild(_root.highscore.childNodes[0].childNodes[0]);
_root["name" + (_local2 + 1)].text = _local6;
_root["score" + (_local2 + 1)].text = _local3;
}
_local2++;
}
if (_local5) {
_local7.score = _local4.toString();
_local7.sendAndLoad("http://www.clubdubeau.com/team-atemis/toss_ball/save_highscore.php", _local7, "POST");
}
} else {
throw new Error("Server not responding ...");
}
};
kblistener = new Object();
kblistener.onKeyDown = function () {
if (Key.isDown(13)) {
_root.top_score = _root.totalhighscore;
_root.top_nameZXY = String(_root.name_input.text);
_root.highscore.load("http://www.clubdubeau.com/team-atemis/toss_ball/highscore.xml?t=" + new Date().getTime());
}
};
Key.addListener(kblistener);
Frame 40
switch (_root.level) {
case 1 :
_root.gotoAndStop(6);
break;
case 2 :
_root.gotoAndStop(7);
break;
case 3 :
_root.gotoAndStop(8);
break;
case 4 :
_root.gotoAndStop(9);
break;
case 5 :
_root.gotoAndStop(10);
break;
case 6 :
_root.gotoAndStop(11);
break;
case 7 :
_root.gotoAndStop(12);
break;
case 8 :
_root.gotoAndStop(13);
break;
case 9 :
_root.gotoAndStop(14);
break;
case 10 :
_root.gotoAndStop(15);
break;
case 11 :
_root.gotoAndStop(16);
break;
case 12 :
_root.gotoAndStop(17);
break;
case 13 :
_root.gotoAndStop(18);
break;
case 14 :
_root.gotoAndStop(19);
break;
case 15 :
_root.gotoAndStop(20);
break;
case 16 :
_root.gotoAndStop(21);
break;
case 17 :
_root.gotoAndStop(22);
break;
case 18 :
_root.gotoAndStop(23);
break;
case 19 :
_root.gotoAndStop(24);
break;
case 20 :
_root.gotoAndStop(25);
break;
case 21 :
_root.gotoAndStop(26);
break;
case 22 :
_root.gotoAndStop(27);
break;
case 23 :
_root.gotoAndStop(28);
break;
case 24 :
_root.gotoAndStop(29);
break;
case 25 :
_root.gotoAndStop(30);
break;
case 26 :
_root.gotoAndStop(31);
break;
case 27 :
_root.gotoAndStop(32);
break;
case 28 :
_root.gotoAndStop(33);
break;
case 29 :
_root.gotoAndStop(34);
break;
case 30 :
_root.gotoAndStop(35);
}
Frame 41
stop();
if (_root.currentdifficulty == "easy") {
if (_root.score > _root.easyhighscore) {
_root.easyhighscore = _root.score;
}
}
if (_root.currentdifficulty == "medium") {
if (_root.score > _root.mediumhighscore) {
_root.mediumhighscore = _root.score;
}
}
if (_root.currentdifficulty == "hard") {
if (_root.score > _root.hardhighscore) {
_root.hardhighscore = _root.score;
}
}
_root.score = 0;
if (_root.easyhighscore != 0) {
_root.easyhighscoredisplay.text = _root.easyhighscore;
}
if (_root.mediumhighscore != 0) {
_root.mediumhighscoredisplay.text = _root.mediumhighscore;
}
if (_root.hardhighscore != 0) {
_root.hardhighscoredisplay.text = _root.hardhighscore;
}
if (((_root.easyhighscore + _root.mediumhighscore) + _root.hardhighscore) > _root.totalhighscore) {
_root.totalhighscore = (_root.easyhighscore + _root.mediumhighscore) + _root.hardhighscore;
}
if (_root.totalhighscore != 0) {
_root.totalhighscoredisplay.text = _root.totalhighscore;
_root.mottotalhighscore._alpha = 100;
} else {
_root.mottotalhighscore._alpha = 0;
}
Instance of Symbol 648 MovieClip "lockedsign" in Frame 41
/* no clip actions */
Frame 42
stop();
kblistener = new Object();
kblistener.onKeyDown = function () {
if (Key.isDown(13)) {
switch (_root.inputlevelcode.text) {
case "93209" :
stopAllSounds();
_root.level = 1;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(6);
break;
case "1644" :
stopAllSounds();
_root.level = 2;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(7);
break;
case "07313" :
stopAllSounds();
_root.level = 3;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(8);
break;
case "4117" :
stopAllSounds();
_root.level = 4;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(9);
break;
case "2703" :
stopAllSounds();
_root.level = 5;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(10);
break;
case "54127" :
stopAllSounds();
_root.level = 6;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(11);
break;
case "8280" :
stopAllSounds();
_root.level = 7;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(12);
break;
case "139256" :
stopAllSounds();
_root.level = 8;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(13);
break;
case "7605235" :
stopAllSounds();
_root.level = 9;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(14);
break;
case "1450" :
stopAllSounds();
_root.level = 10;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(15);
break;
case "1340" :
stopAllSounds();
_root.level = 11;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(16);
break;
case "713705" :
stopAllSounds();
_root.level = 12;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(17);
break;
case "819819" :
stopAllSounds();
_root.level = 13;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(18);
break;
case "20071" :
stopAllSounds();
_root.level = 14;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(19);
break;
case "3995" :
stopAllSounds();
_root.level = 15;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(20);
break;
case "318353" :
stopAllSounds();
_root.level = 16;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(21);
break;
case "01021" :
stopAllSounds();
_root.level = 17;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(22);
break;
case "2221845" :
stopAllSounds();
_root.level = 18;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(23);
break;
case "94107" :
stopAllSounds();
_root.level = 19;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(24);
break;
case "2114" :
stopAllSounds();
_root.level = 20;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(25);
break;
case "6252011" :
stopAllSounds();
_root.level = 21;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(26);
break;
case "58850" :
stopAllSounds();
_root.level = 22;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(27);
break;
case "14712" :
stopAllSounds();
_root.level = 23;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(28);
break;
case "369258" :
stopAllSounds();
_root.level = 24;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(29);
break;
case "1998" :
stopAllSounds();
_root.level = 25;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(30);
break;
case "31226" :
stopAllSounds();
_root.level = 26;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(31);
break;
case "4212" :
stopAllSounds();
_root.level = 27;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(32);
break;
case "726199" :
stopAllSounds();
_root.level = 28;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(33);
break;
case "10086" :
stopAllSounds();
_root.level = 29;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(34);
break;
case "103945" :
stopAllSounds();
_root.level = 30;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(35);
break;
case "EasterEggz" :
stopAllSounds();
_root.level = 1;
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(36);
break;
default :
_root.inputlevelcode.text = "-error";
}
}
};
Key.addListener(kblistener);
Instance of Symbol 12 MovieClip in Symbol 15 MovieClip Frame 1
onClipEvent (load) {
this._name = "loadbar";
_root.stop();
}
onClipEvent (enterFrame) {
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
this._xscale = PercentLoaded;
} else {
_root.gotoAndPlay(2);
}
}
Symbol 17 MovieClip Frame 16
stop();
Symbol 20 Button
on (rollOver) {
beep1sound.start();
}
on (press) {
getURL ("http://Armorgames.com", "blank");
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 30 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 37 MovieClip Frame 186
stopAllSounds();
_root.menusound.setVolume(50);
_root.menusound.start(0, 99);
_root.play();
Symbol 40 Button
on (rollOver) {
beep1sound.start();
}
on (release) {
_root.gotoAndStop(41);
}
Symbol 43 Button
on (rollOver) {
beep1sound.start();
}
on (release) {
_root.gotoAndStop(4);
}
Symbol 46 Button
on (rollOver) {
beep1sound.start();
}
on (press) {
_root.gotoAndStop(5);
}
Symbol 51 Button
on (rollOver) {
beep1sound.start();
}
on (press) {
getURL ("http://Armorgames.com", "blank");
}
Symbol 57 Button
on (rollOver) {
beep1sound.start();
}
on (press) {
_root.gotoAndStop(3);
}
Instance of Symbol 66 MovieClip in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
this._name = "hitbox";
}
Instance of Symbol 67 MovieClip in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
this._name = "hitbox2";
}
Instance of Symbol 68 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 60 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "element2";
}
Instance of Symbol 89 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 91 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 95 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 27;
_root.env.ball.xspeed = 1.1 * (-Math.abs(_root.env.ball.xspeed));
}
}
Instance of Symbol 95 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 60 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "element2";
}
Instance of Symbol 89 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 91 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 74 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 97 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 95 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 27;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 95 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 74 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 71 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.shotsleft--;
_root.vitesseclip.activated = false;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 99 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 110 MovieClip in Symbol 111 MovieClip Frame 1
onClipEvent (enterFrame) {
point = new Object();
point.x = _root.env.ball._x;
point.y = _root.env.ball._y;
_root.env.localToGlobal(point);
this._x = point.x / 8;
this._y = point.y / 8;
}
Instance of Symbol 111 MovieClip in Symbol 114 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -(_root.env._x / 8);
this._y = -(_root.env._y / 8);
}
Symbol 126 Button
on (press) {
_root.reseted = false;
_root.reseted2 = false;
_root.reseted3 = false;
if (_root.shotsleft == 0) {
_root.gotoAndStop(41);
} else {
_root.gotoAndStop(40);
}
}
Symbol 136 Button
on (press) {
_root.shotsleft = 3;
_root.clearingarray[0] = " ";
_root.clearingarray[1] = " ";
_root.clearingarray[2] = " ";
_root.clearingarray[2] = " ";
_root.clearingarray[3] = " ";
_root.clearingarray[4] = " ";
_root.clearingarray[5] = " ";
_root.clearingarray[6] = " ";
_root.clearingarray[7] = " ";
_root.clearingarray[8] = " ";
_root.clearingarray[9] = " ";
_root.clearingarray[10] = " ";
_root.clearingarray[11] = " ";
_root.clearingarray[12] = " ";
_root.clearingarray[13] = " ";
_root.clearingarray[14] = " ";
_root.clearingarray[15] = " ";
_root.clearingarray[16] = " ";
_root.clearingarray[17] = " ";
_root.clearingarray[18] = " ";
_root.clearingarray[19] = " ";
_root.clearingarray[20] = " ";
_root.clearingarray[21] = " ";
_root.clearingarray[22] = " ";
_root.clearingarray[23] = " ";
_root.clearingarray[24] = " ";
_root.clearingarray[25] = " ";
_root.gotoAndStop(40);
}
Symbol 142 Button
on (press) {
stopAllSounds();
_root.shotsleft = 3;
_root.clearingarray[0] = " ";
_root.clearingarray[1] = " ";
_root.clearingarray[2] = " ";
_root.clearingarray[2] = " ";
_root.clearingarray[3] = " ";
_root.clearingarray[4] = " ";
_root.clearingarray[5] = " ";
_root.clearingarray[6] = " ";
_root.clearingarray[7] = " ";
_root.clearingarray[8] = " ";
_root.clearingarray[9] = " ";
_root.clearingarray[10] = " ";
_root.clearingarray[11] = " ";
_root.clearingarray[12] = " ";
_root.clearingarray[13] = " ";
_root.clearingarray[14] = " ";
_root.clearingarray[15] = " ";
_root.clearingarray[16] = " ";
_root.clearingarray[17] = " ";
_root.clearingarray[18] = " ";
_root.clearingarray[19] = " ";
_root.clearingarray[20] = " ";
_root.clearingarray[21] = " ";
_root.clearingarray[22] = " ";
_root.clearingarray[23] = " ";
_root.clearingarray[24] = " ";
_root.clearingarray[25] = " ";
_root.menusound.setVolume(50);
_root.menusound.start(0, 99);
_root.gotoAndStop(41);
}
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
stop();
Instance of Symbol 68 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 60 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._name = "element2";
}
Instance of Symbol 60 MovieClip in Symbol 164 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 89 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 91 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 25;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 74 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 89 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 74 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 71 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 159 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 161 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 74 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 161 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 97 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 99 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 68 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 171 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 171 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 91 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 161 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus11";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[11] = "bonus11";
}
}
Instance of Symbol 74 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus12";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[12] = "bonus12";
}
}
Instance of Symbol 71 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 99 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 68 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 185 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 161 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 161 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 189 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 191 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 74 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus11";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[11] = "bonus11";
}
}
Instance of Symbol 71 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 99 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 68 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 205 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 207 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 209 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 211 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 27;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 213 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 215 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 217 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 219 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 74 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 74 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 71 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 99 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 68 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 207 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 74 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 205 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 227 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 205 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 209 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 74 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 231 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 233 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 71 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 99 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 68 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 209 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 247 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 247 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 249 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 249 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 249 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 251 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 251 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 253 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 74 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 71 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if ((((a * a) + (b * b)) > 160000) || (this._y > 600)) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 99 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 68 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 265 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 267 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 269 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 271 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 273 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 71 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 99 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 68 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 284 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 286 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 286 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 288 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 290 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 292 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 71 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 99 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 68 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 273 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 304 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 306 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 308 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 310 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 312 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 314 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 71 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if ((((a * a) + (b * b)) > 160000) || (this._y > 600)) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.reseted2 = true;
}
_root.notification4._x = 400;
_root.notification4._y = 300;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 74 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 99 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Symbol 318 Button
on (press) {
stopAllSounds();
_root.shotsleft = 3;
if ((_root.level == 11) && (_root.currentdifficulty == "easy")) {
_root.mediumunlocked = true;
} else {
if ((_root.level = _root.currentdifficulty == "medium")) {
_root.hardunlocked = true;
}
}
_root.clearingarray[0] = " ";
_root.clearingarray[1] = " ";
_root.clearingarray[2] = " ";
_root.clearingarray[2] = " ";
_root.clearingarray[3] = " ";
_root.clearingarray[4] = " ";
_root.clearingarray[5] = " ";
_root.clearingarray[6] = " ";
_root.clearingarray[7] = " ";
_root.clearingarray[8] = " ";
_root.clearingarray[9] = " ";
_root.clearingarray[10] = " ";
_root.clearingarray[11] = " ";
_root.clearingarray[12] = " ";
_root.clearingarray[13] = " ";
_root.clearingarray[14] = " ";
_root.clearingarray[15] = " ";
_root.clearingarray[16] = " ";
_root.clearingarray[17] = " ";
_root.clearingarray[18] = " ";
_root.clearingarray[19] = " ";
_root.clearingarray[20] = " ";
_root.clearingarray[21] = " ";
_root.clearingarray[22] = " ";
_root.clearingarray[23] = " ";
_root.clearingarray[24] = " ";
_root.clearingarray[25] = " ";
_root.gotoAndStop(41);
}
Instance of Symbol 68 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 74 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 74 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 327 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 329 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 331 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 333 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 331 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 312 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 71 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 99 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 68 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 331 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 312 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 345 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 347 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 347 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 349 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 349 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 331 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 351 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 71 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 101 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 68 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 74 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 74 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 312 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 351 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 365 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 99 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 71 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 68 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 366 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 99 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 377 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 71 MovieClip in Symbol 378 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 68 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 87 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 76 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 76 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 76 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 76 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 366 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 377 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 71 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 366 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 87 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 74 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 76 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 68 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 99 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 71 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 87 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 76 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 68 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 76 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 76 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 99 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 100 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 100 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 71 MovieClip in Symbol 410 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 87 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 76 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 74 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 74 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 76 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus11";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[11] = "bonus11";
}
}
Instance of Symbol 76 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus12";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[12] = "bonus12";
}
}
Instance of Symbol 74 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 99 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 100 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 100 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 71 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 87 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 76 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 76 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 101 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 71 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 87 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 76 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 76 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 366 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 99 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 71 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 10;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if ((((a * a) + (b * b)) > 160000) || (this._y > 600)) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification4._x = 400;
_root.notification4._y = 300;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 87 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 74 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 76 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 74 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 366 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 377 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 377 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 99 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 71 MovieClip in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 0;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if ((((a * a) + (b * b)) > 160000) || (this._y > 600)) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 87 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 76 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus11";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[11] = "bonus11";
}
}
Instance of Symbol 76 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 76 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 74 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 71 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 2;
this.xspeed = 2;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if ((((a * a) + (b * b)) > 160000) || (this._y > 600)) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 99 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 87 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 76 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 76 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 76 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 71 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 8;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if ((((a * a) + (b * b)) > 160000) || (this._y > 600)) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 99 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 100 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 99 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 87 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 76 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 76 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 71 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 2;
this.xspeed = 0;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if ((((a * a) + (b * b)) > 160000) || (this._y > 600)) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 377 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 99 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 99 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 99 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 87 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 76 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 74 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 74 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus11";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[11] = "bonus11";
}
}
Instance of Symbol 74 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 76 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 76 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 71 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 15;
this.xspeed = 3;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if ((((a * a) + (b * b)) > 160000) || (this._y > 600)) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 366 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 99 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 100 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
_parent.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 101 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 377 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 366 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 274 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 500 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball.gravity = -1;
}
}
Instance of Symbol 87 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 76 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 76 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 76 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 76 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 76 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 74 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 76 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus11";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[11] = "bonus11";
}
}
Instance of Symbol 74 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus12";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[12] = "bonus12";
}
}
Instance of Symbol 76 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus13";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[13] = "bonus13";
}
}
Instance of Symbol 71 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = -2;
this.xspeed = 5;
this.gravity = 1;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed = this.yspeed - this.gravity;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if ((((a * a) + (b * b)) > 160000) || (this._y > 600)) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if ((this._y > 1200) || (this._y < -1200)) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 366 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 101 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 377 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 25;
if (_parent.ball.yspeed > 3) {
_parent.ball.yspeed = (0.65 * (-_parent.ball.yspeed)) + 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 377 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 25;
if (_parent.ball.yspeed > 3) {
_parent.ball.yspeed = (0.65 * (-_parent.ball.yspeed)) + 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 377 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 25;
if (_parent.ball.yspeed > 3) {
_parent.ball.yspeed = (0.65 * (-_parent.ball.yspeed)) + 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 274 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 87 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 74 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 76 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 76 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 76 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 71 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 0;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 513 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 514 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 515 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 513 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 515 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 515 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 516 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 515 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 515 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 513 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 87 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 76 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[0] = "bonus10";
}
}
Instance of Symbol 74 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 76 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus11";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[11] = "bonus11";
}
}
Instance of Symbol 74 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 71 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = -2;
this.xspeed = 5;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if ((((a * a) + (b * b)) > 160000) || (this._y > 600)) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 513 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 514 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 516 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 515 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 514 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 515 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 513 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 513 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 515 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 515 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 515 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 516 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 87 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 76 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus10";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[10] = "bonus10";
}
}
Instance of Symbol 76 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 76 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 74 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus9";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[9] = "bonus9";
}
}
Instance of Symbol 74 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus8";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[8] = "bonus8";
}
}
Instance of Symbol 74 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 74 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 514 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 513 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 515 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 516 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 516 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 513 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 515 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 514 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y + 30;
_parent.ball.yspeed = 0.15 * (-_parent.ball.yspeed);
}
}
Instance of Symbol 516 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 513 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 516 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 513 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 515 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 515 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 515 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 71 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 0;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification._x = 400;
_root.notification._y = 300;
_root.notification.scoredisplay2.text = _root.score;
_root.notification.leveldisplay.text = _root.level;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Instance of Symbol 87 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._name = "element1";
}
Instance of Symbol 68 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._name = "goal";
}
Instance of Symbol 76 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus3";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[3] = "bonus3";
}
}
Instance of Symbol 74 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus4";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[4] = "bonus4";
}
}
Instance of Symbol 74 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[2] = "bonus2";
}
}
Instance of Symbol 74 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[5] = "bonus5";
}
}
Instance of Symbol 74 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[1] = "bonus1";
}
}
Instance of Symbol 74 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[6] = "bonus6";
}
}
Instance of Symbol 74 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus0";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 2;
this._x = -2000;
_root.clearingarray[0] = "bonus0";
}
}
Instance of Symbol 76 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._name = "bonus7";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.bloop1sound.start();
this._alpha = 0;
_root.score = _root.score + 10;
this._x = -2000;
_root.clearingarray[7] = "bonus7";
}
}
Instance of Symbol 516 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x + 30;
_root.env.ball.xspeed = Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 513 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.env.ball)) {
_root.env.ball._x = this._x - 30;
_root.env.ball.xspeed = -Math.abs(_root.env.ball.xspeed);
}
}
Instance of Symbol 515 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 515 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 515 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.ball)) {
_parent.ball._y = this._y - 25;
if (_parent.ball.yspeed < -3) {
_parent.ball.yspeed = (-(0.65 * _parent.ball.yspeed)) - 1;
} else {
_parent.ball.yspeed = 0;
}
}
}
Instance of Symbol 71 MovieClip in Symbol 548 MovieClip Frame 1
onClipEvent (load) {
this._name = "ball";
this.yspeed = 0;
this.xspeed = 0;
_root.grabbed = false;
this.touched = false;
this.stoptimer = 0;
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_root.env.localToGlobal(point);
if (point.x <= 150) {
_root.env._x = _root.env._x + (((200 - point.x) / 10) - 5);
if (_root.grabbed == true) {
this._x = this._x - (((200 - point.x) / 10) - 5);
}
} else if (point.x > 650) {
_root.env._x = _root.env._x + (((600 - point.x) / 10) + 5);
if (_root.grabbed == true) {
this._x = this._x - (((600 - point.x) / 10) + 5);
}
}
if (this._x > 775) {
this._x = 775;
this.xspeed = -this.xspeed;
}
if (point.y <= 150) {
_root.env._y = _root.env._y + (((200 - point.y) / 10) + 5);
if (_root.grabbed == true) {
this._y = this._y - (((200 - point.y) / 10) + 5);
}
} else if (point.y >= 450) {
_root.env._y = _root.env._y - (((point.y - 400) / 10) - 5);
if (_root.grabbed == true) {
this._y = this._y + (((point.y - 400) / 10) - 5);
}
}
if (_root.grabbed == false) {
stopDrag();
this._y = this._y - yspeed;
this._x = this._x + xspeed;
this.yspeed--;
this.xspeed = this.xspeed / 1.025;
} else {
startDrag ("");
a = Stage.height - this._y;
b = Stage.width - this._x;
if (((a * a) + (b * b)) > 160000) {
this._x = this._x - (2 * _root.xspeed);
this._y = this._y - (2 * _root.yspeed);
_root.grabbed = false;
}
}
if ((Math.abs(this.xspeed) < 0.2) && (Math.abs(this.yspeed) < 2.5)) {
this.stoptimer++;
this.xspeed = 0;
} else {
this.stoptimer = 0;
}
if (this.stoptimer >= 50) {
if (!this.hitTest(_parent.element1)) {
if (_root.reseted == false) {
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted = true;
}
if ((_root.shotsleft > 0) && (!this.hitTest(_parent.goal.hitbox))) {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
} else if (this.hitTest(_parent.goal.hitbox)) {
if (_root.reseted2 == false) {
_root.loadedsound.start();
_root.level++;
if (this.hitTest(_parent.goal.hitbox2)) {
_root.score = _root.score + 5;
}
_root.score = _root.score + 5;
_root.notification.leveldisplay2.text = _root.level;
_root.reseted2 = true;
}
_root.notification5._x = 400;
_root.notification5._y = 300;
} else if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
}
}
}
if (this._y > 1200) {
if (_root.reseted3 == false) {
_root.vitesseclip.activated = false;
_root.shotsleft--;
if (_root.score >= 2) {
_root.score = _root.score - 2;
}
_root.reseted3 = true;
}
if (_root.shotsleft <= 0) {
_root.notification3._x = 400;
_root.notification3._y = 300;
} else {
_root.notification2._x = 400;
_root.notification2._y = 300;
_root.notification2.shotsleftdisplay.text = _root.shotsleft;
_root.notification2.scoredisplay.text = _root.score;
}
}
}
on (press) {
a = Stage.height - this._y;
b = Stage.width - this._x;
if (this.hitTest(_parent.element1)) {
_root.grabbed = true;
}
}
Symbol 551 Button
on (press) {
stopAllSounds();
_root.shotsleft = 3;
_root.clearingarray[0] = " ";
_root.clearingarray[1] = " ";
_root.clearingarray[2] = " ";
_root.clearingarray[2] = " ";
_root.clearingarray[3] = " ";
_root.clearingarray[4] = " ";
_root.clearingarray[5] = " ";
_root.clearingarray[6] = " ";
_root.clearingarray[7] = " ";
_root.clearingarray[8] = " ";
_root.clearingarray[9] = " ";
_root.clearingarray[10] = " ";
_root.clearingarray[11] = " ";
_root.clearingarray[12] = " ";
_root.clearingarray[13] = " ";
_root.clearingarray[14] = " ";
_root.clearingarray[15] = " ";
_root.clearingarray[16] = " ";
_root.clearingarray[17] = " ";
_root.clearingarray[18] = " ";
_root.clearingarray[19] = " ";
_root.clearingarray[20] = " ";
_root.clearingarray[21] = " ";
_root.clearingarray[22] = " ";
_root.clearingarray[23] = " ";
_root.clearingarray[24] = " ";
_root.clearingarray[25] = " ";
_root.gotoAndStop(5);
}
Symbol 615 Button
on (rollOver) {
beep1sound.start();
}
on (press) {
_root.top_score = _root.totalhighscore;
_root.top_nameZXY = String(_root.name_input.text);
_root.highscore.load("http://www.clubdubeau.com/team-atemis/toss_ball/highscore.xml?t=" + new Date().getTime());
}
Symbol 639 Button
on (rollOver) {
if (_root.hardunlocked == false) {
_root.lockedsign._y = 457.4;
} else {
beep1sound.start();
}
}
on (rollOut) {
_root.lockedsign._y = 850;
}
on (press) {
if (_root.hardunlocked == true) {
_root.level = 21;
_root.currentdifficulty = "hard";
stopAllSounds();
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.gotoAndStop(26);
}
}
Symbol 642 Button
on (rollOver) {
if (_root.mediumunlocked == false) {
_root.lockedsign._y = 382;
} else {
beep1sound.start();
}
}
on (rollOut) {
_root.lockedsign._y = 850;
}
on (press) {
if (_root.mediumunlocked == true) {
_root.level = 11;
_root.currentdifficulty = "medium";
stopAllSounds();
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.gotoAndStop(16);
}
}
Symbol 645 Button
on (rollOver) {
beep1sound.start();
}
on (press) {
stopAllSounds();
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.level = 1;
_root.currentdifficulty = "easy";
_root.gotoAndStop(6);
}
Symbol 658 Button
on (rollOver) {
beep1sound.start();
}
on (press) {
_root.gotoAndStop(42);
}
Symbol 659 Button
on (rollOver) {
beep1sound.start();
}
on (press) {
gotoAndStop (37);
}
Symbol 660 Button
on (rollOver) {
beep1sound.start();
}
on (press) {
_root.gotoAndStop(41);
}
Symbol 667 Button
on (rollOver) {
_root.beep1sound.start();
}
on (press) {
switch (_root.inputlevelcode.text) {
case "93209" :
stopAllSounds();
_root.level = 1;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(6);
break;
case "1644" :
stopAllSounds();
_root.level = 2;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(7);
break;
case "07313" :
stopAllSounds();
_root.level = 3;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(8);
break;
case "4117" :
stopAllSounds();
_root.level = 4;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(9);
break;
case "2703" :
stopAllSounds();
_root.level = 5;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(10);
break;
case "54127" :
stopAllSounds();
_root.level = 6;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(11);
break;
case "8280" :
stopAllSounds();
_root.level = 7;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(12);
break;
case "139256" :
stopAllSounds();
_root.level = 8;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(13);
break;
case "7605235" :
stopAllSounds();
_root.level = 9;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(14);
break;
case "1450" :
stopAllSounds();
_root.level = 10;
if (_root.sound == true) {
icecapsound.setVolume(50);
icecapsound.start(0, 99);
}
_root.currentdifficulty = "easy";
_root.gotoAndStop(15);
break;
case "1340" :
stopAllSounds();
_root.level = 11;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(16);
break;
case "713705" :
stopAllSounds();
_root.level = 12;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(17);
break;
case "819819" :
stopAllSounds();
_root.level = 13;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(18);
break;
case "20071" :
stopAllSounds();
_root.level = 14;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(19);
break;
case "3995" :
stopAllSounds();
_root.level = 15;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(20);
break;
case "318353" :
stopAllSounds();
_root.level = 16;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(21);
break;
case "01021" :
stopAllSounds();
_root.level = 17;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(22);
break;
case "2221845" :
stopAllSounds();
_root.level = 18;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(23);
break;
case "94107" :
stopAllSounds();
_root.level = 19;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(24);
break;
case "2114" :
stopAllSounds();
_root.level = 20;
if (_root.sound == true) {
wingcapsound.setVolume(50);
wingcapsound.start(0, 99);
}
_root.currentdifficulty = "medium";
_root.mediumunlocked = true;
_root.gotoAndStop(25);
break;
case "6252011" :
stopAllSounds();
_root.level = 21;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(26);
break;
case "58850" :
stopAllSounds();
_root.level = 22;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(27);
break;
case "14712" :
stopAllSounds();
_root.level = 23;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(28);
break;
case "369258" :
stopAllSounds();
_root.level = 24;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(29);
break;
case "1998" :
stopAllSounds();
_root.level = 25;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(30);
break;
case "31226" :
stopAllSounds();
_root.level = 26;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(31);
break;
case "4212" :
stopAllSounds();
_root.level = 27;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(32);
break;
case "726199" :
stopAllSounds();
_root.level = 28;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(33);
break;
case "10086" :
stopAllSounds();
_root.level = 29;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(34);
break;
case "103945" :
stopAllSounds();
_root.level = 30;
if (_root.sound == true) {
alternateroutesound.setVolume(50);
alternateroutesound.start(0, 99);
}
_root.currentdifficulty = "hard";
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(35);
break;
case "EasterEggz" :
stopAllSounds();
_root.level = 1;
_root.mediumunlocked = true;
_root.hardunlocked = true;
_root.gotoAndStop(36);
break;
default :
_root.inputlevelcode.text = "-error";
}
}