Frame 1
stop();
Frame 2
Mouse.hide();
stop();
_root.score = 0;
_root.level = 1;
_root.lives = 3;
_root.bestscore = 0;
Instance of Symbol 33 MovieClip in Frame 2
onClipEvent (load) {
this._name = "god";
}
Instance of Symbol 38 MovieClip in Frame 2
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.touchable = false;
_root.lives--;
clearInterval(_root.intervaltimer);
_root.ball1.failed = true;
_root.popsound2.start(0, 0);
switch (_root.ball1.angle) {
case 1 :
_root.ball1.angle = 12;
break;
case 2 :
_root.ball1.angle = 11;
break;
case 3 :
_root.ball1.angle = 10;
break;
case 4 :
_root.ball1.angle = 9;
break;
case 5 :
_root.ball1.angle = 8;
break;
case 6 :
_root.ball1.angle = 7;
break;
case 7 :
_root.ball1.angle = 6;
break;
case 8 :
_root.ball1.angle = 5;
break;
case 9 :
_root.ball1.angle = 4;
break;
case 10 :
_root.ball1.angle = 3;
break;
case 11 :
_root.ball1.angle = 2;
break;
case 12 :
_root.ball1.angle = 3;
}
}
}
Instance of Symbol 40 MovieClip in Frame 2
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.touchable = false;
_root.lives--;
clearInterval(_root.intervaltimer);
_root.timeleft = 30;
_root.timedisplay.text = _root.timeleft;
_root.ball1.failed = true;
_root.popsound2.start(0, 0);
switch (_root.ball1.angle) {
case 1 :
_root.ball1.angle = 6;
break;
case 2 :
_root.ball1.angle = 5;
break;
case 3 :
_root.ball1.angle = 4;
break;
case 4 :
_root.ball1.angle = 3;
break;
case 5 :
_root.ball1.angle = 2;
break;
case 6 :
_root.ball1.angle = 1;
break;
case 7 :
_root.ball1.angle = 12;
break;
case 8 :
_root.ball1.angle = 11;
break;
case 9 :
_root.ball1.angle = 10;
break;
case 10 :
_root.ball1.angle = 9;
break;
case 11 :
_root.ball1.angle = 8;
break;
case 12 :
_root.ball1.angle = 7;
}
}
}
Instance of Symbol 40 MovieClip in Frame 2
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.touchable = false;
_root.lives--;
clearInterval(_root.intervaltimer);
_root.ball1.failed = true;
_root.popsound2.start(0, 0);
switch (_root.ball1.angle) {
case 1 :
_root.ball1.angle = 6;
break;
case 2 :
_root.ball1.angle = 5;
break;
case 3 :
_root.ball1.angle = 4;
break;
case 4 :
_root.ball1.angle = 3;
break;
case 5 :
_root.ball1.angle = 2;
break;
case 6 :
_root.ball1.angle = 1;
break;
case 7 :
_root.ball1.angle = 12;
break;
case 8 :
_root.ball1.angle = 11;
break;
case 9 :
_root.ball1.angle = 10;
break;
case 10 :
_root.ball1.angle = 9;
break;
case 11 :
_root.ball1.angle = 8;
break;
case 12 :
_root.ball1.angle = 7;
}
}
}
Instance of Symbol 38 MovieClip in Frame 2
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.touchable = false;
_root.lives--;
clearInterval(_root.intervaltimer);
_root.ball1.failed = true;
_root.popsound2.start(0, 0);
switch (_root.ball1.angle) {
case 1 :
_root.ball1.angle = 12;
break;
case 2 :
_root.ball1.angle = 11;
break;
case 3 :
_root.ball1.angle = 10;
break;
case 4 :
_root.ball1.angle = 9;
break;
case 5 :
_root.ball1.angle = 8;
break;
case 6 :
_root.ball1.angle = 7;
break;
case 7 :
_root.ball1.angle = 6;
break;
case 8 :
_root.ball1.angle = 5;
break;
case 9 :
_root.ball1.angle = 4;
break;
case 10 :
_root.ball1.angle = 3;
break;
case 11 :
_root.ball1.angle = 2;
break;
case 12 :
_root.ball1.angle = 3;
}
}
}
Instance of Symbol 47 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.lives <= 0) {
this._alpha = 0;
}
}
Instance of Symbol 47 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.lives <= 1) {
this._alpha = 0;
}
}
Instance of Symbol 47 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.lives <= 2) {
this._alpha = 0;
}
}
Instance of Symbol 70 MovieClip in Frame 2
onClipEvent (load) {
this._name = "cursor";
}
onClipEvent (enterFrame) {
startDrag (this, true);
}
Frame 28
function time() {
_root.timeleft--;
_root.timedisplay.text = _root.timeleft;
if (_root.timeleft < 0) {
_root.ball1.touchable = false;
clearInterval(_root.intervaltimer);
_root.score = _root.score + (200 * _root.level);
_root.level++;
_root.scoredisplay.text = _root.score;
_root.timeleft = 0;
_root.timedisplay.text = _root.timeleft;
_root.leveldisplay.text = _root.level;
nicesound.start(0, 0);
_root.ball1.good = true;
}
}
_root.score = 0;
_root.level = 1;
_root.lives = 3;
_root.timeleft = 15;
_root.scoredisplay.text = _root.score;
_root.leveldisplay.text = _root.level;
_root.timedisplay.text = _root.timeleft;
popsound = new Sound();
popsound.attachSound("pop");
popsound2 = new Sound();
popsound2.attachSound("pop2");
nicesound = new Sound();
nicesound.attachSound("nice");
music = new Sound();
music.attachSound("music");
music.start(1, 99);
music.setVolume(35);
music2 = new Sound();
music2.attachSound("music2");
music3 = new Sound();
music3.attachSound("music3");
_root.currentsong = music;
_root.pressed = false;
stop();
Mouse.hide();
Instance of Symbol 33 MovieClip in Frame 28
onClipEvent (load) {
this._name = "god";
}
Instance of Symbol 78 MovieClip in Frame 28
onClipEvent (load) {
this._name = "ball1";
this.speed = 0;
this.yspeed = 0;
this.xspeed = 0;
this.maxspeed = 5;
this.failed = false;
this.good = false;
this.ready = true;
this.touchable = true;
this.speedfactor = 0.1;
}
onClipEvent (enterFrame) {
if (this.failed == true) {
this._alpha = this._alpha - 1;
_root.failedanimation.started = true;
} else if (this.good == true) {
this._alpha = this._alpha - 1;
_root.goodanimation.started = true;
}
if (this._alpha <= 1) {
this._alpha = 100;
this._x = 225;
this._y = 210;
this.speed = 0;
}
this._y = this._y - this.yspeed;
this._x = this._x + this.xspeed;
if ((Math.abs(this.yspeed) > this.maxspeed) && (this.yspeed > 0)) {
this.yspeed = this.yspeed - 0.5;
}
if ((Math.abs(this.yspeed) > this.maxspeed) && (this.yspeed < 0)) {
this.yspeed = this.yspeed + 0.5;
}
if ((Math.abs(this.xspeed) > this.maxspeed) && (this.xspeed > 0)) {
this.xspeed = this.xspeed - 0.5;
}
if ((Math.abs(this.xspeed) > this.maxspeed) && (this.xspeed < 0)) {
this.xspeed = this.xspeed + 0.5;
}
}
Instance of Symbol 38 MovieClip in Frame 28
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.touchable = false;
_root.lives--;
clearInterval(_root.intervaltimer);
_root.ball1.failed = true;
_root.popsound2.start(0, 0);
_root.ball1.xspeed = 0;
_root.ball1.yspeed = 0;
}
}
Instance of Symbol 40 MovieClip in Frame 28
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.touchable = false;
_root.lives--;
clearInterval(_root.intervaltimer);
_root.timedisplay.text = _root.timeleft;
_root.ball1.failed = true;
_root.popsound2.start(0, 0);
_root.ball1.xspeed = 0;
_root.ball1.yspeed = 0;
}
}
Instance of Symbol 40 MovieClip in Frame 28
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.touchable = false;
_root.lives--;
clearInterval(_root.intervaltimer);
_root.ball1.failed = true;
_root.popsound2.start(0, 0);
_root.ball1.xspeed = 0;
_root.ball1.yspeed = 0;
}
}
Instance of Symbol 38 MovieClip in Frame 28
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.touchable = false;
_root.lives--;
clearInterval(_root.intervaltimer);
_root.ball1.failed = true;
_root.popsound2.start(0, 0);
_root.ball1.xspeed = 0;
_root.ball1.yspeed = 0;
}
}
Instance of Symbol 47 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.lives <= 0) {
this._alpha = 0;
}
}
Instance of Symbol 47 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.lives <= 1) {
this._alpha = 0;
}
}
Instance of Symbol 47 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.lives <= 2) {
this._alpha = 0;
}
}
Instance of Symbol 84 MovieClip in Frame 28
onClipEvent (load) {
this._name = "failedanimation";
this.started = false;
this.current = false;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.started == true) {
_root.ball1.failed = false;
this.started = false;
this._y = 150;
this._x = 200;
this.current = true;
}
if (this.current == true) {
this._y = this._y + 2;
this._alpha--;
this._x = this._x + 0.2;
_root.ball1._alpha--;
_root.ball1.speed = 0.5;
}
if (this._alpha <= 2) {
this.current = false;
this._alpha = 100;
this._x = -400;
_root.ball1.ready = true;
_root.ball1.yspeed = 0;
_root.ball1.xspeed = 0;
}
}
Instance of Symbol 87 MovieClip in Frame 28
onClipEvent (load) {
this._name = "goodanimation";
this.started = false;
this.current = false;
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this.started == true) {
_root.ball1.good = false;
this.started = false;
this._y = 150;
this._x = 200;
this.current = true;
}
if (this.current == true) {
this._y = this._y + 2;
this._alpha--;
this._x = this._x + 0.2;
_root.ball1._alpha--;
_root.ball1.xspeed = _root.ball1.xspeed / 1.03;
_root.ball1.yspeed = _root.ball1.yspeed / 1.03;
}
if (this._alpha <= 2) {
this.current = false;
this._alpha = 100;
this._x = -400;
_root.ball1.ready = true;
_root.ball1.yspeed = 0;
_root.ball1.xspeed = 0;
}
}
Instance of Symbol 70 MovieClip in Frame 28
onClipEvent (load) {
this._name = "cursor";
}
onClipEvent (enterFrame) {
if ((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) {
_root.pressed = false;
}
startDrag (this, true);
}
Instance of Symbol 91 MovieClip in Frame 28
onClipEvent (load) {
this._name = "obstacle1";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.xspeed = -_root.ball1.xspeed;
}
}
Instance of Symbol 98 MovieClip in Frame 28
onClipEvent (load) {
this._name = "credits";
this.active = false;
}
onClipEvent (enterFrame) {
if (this.active == true) {
if (this._y > 280) {
this._y = this._y - 10;
}
}
if (this.active == false) {
if (this._y < 480) {
this._y = this._y + 10;
}
}
}
Instance of Symbol 100 MovieClip in Frame 28
onClipEvent (load) {
this._name = "obstacle2";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.yspeed = -_root.ball1.yspeed;
}
}
Instance of Symbol 107 MovieClip in Frame 28
onClipEvent (load) {
this._name = "obstacle4";
}
Instance of Symbol 109 MovieClip in Frame 28
onClipEvent (load) {
this._name = "obstacle5";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.yspeed = -_root.ball1.yspeed;
}
}
Instance of Symbol 111 MovieClip in Frame 28
onClipEvent (load) {
this._name = "obstacle6";
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.xspeed = -_root.ball1.xspeed;
}
}
Frame 29
stop();
_root.scoredisplay.text = _root.score;
if (_root.score > _root.bestscore) {
_root.bestscore = _root.score;
}
_root.bestscoredisplay.text = _root.bestscore;
Instance of Symbol 70 MovieClip in Frame 29
onClipEvent (load) {
this._name = "cursor";
}
onClipEvent (enterFrame) {
if ((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) {
_root.pressed = false;
}
startDrag (this, true);
}
Symbol 17 Button
on (release) {
_root.play();
}
Symbol 18 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 18 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 22 MovieClip in Symbol 25 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.yspeed = -_root.ball1.yspeed;
_root.ball1.xspeed = _root.ball1.xspeed + (_parent.speed / _root.ball1.speedfactor);
_root.score = _root.score + ((10 + _root.lives) + _root.level);
_root.scoredisplay.text = _root.score;
}
}
Instance of Symbol 24 MovieClip in Symbol 25 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.xspeed = -_root.ball1.xspeed;
}
}
Instance of Symbol 24 MovieClip in Symbol 25 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.xspeed = -_root.ball1.xspeed;
}
}
Instance of Symbol 22 MovieClip in Symbol 26 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.yspeed = -_root.ball1.yspeed;
_root.ball1.xspeed = _root.ball1.xspeed + (_parent.speed / _root.ball1.speedfactor);
_root.score = _root.score + ((10 + _root.lives) + _root.level);
_root.scoredisplay.text = _root.score;
}
}
Instance of Symbol 24 MovieClip in Symbol 26 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.xspeed = -_root.ball1.xspeed;
}
}
Instance of Symbol 24 MovieClip in Symbol 26 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.xspeed = -_root.ball1.xspeed;
}
}
Instance of Symbol 22 MovieClip in Symbol 30 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.xspeed = -_root.ball1.xspeed;
_root.ball1.yspeed = _root.ball1.yspeed - (_parent.speed / _root.ball1.speedfactor);
_root.score = _root.score + ((10 + _root.lives) + _root.level);
_root.scoredisplay.text = _root.score;
}
}
Instance of Symbol 29 MovieClip in Symbol 30 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.yspeed = -_root.ball1.yspeed;
}
}
Instance of Symbol 29 MovieClip in Symbol 30 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.yspeed = -_root.ball1.yspeed;
}
}
Instance of Symbol 22 MovieClip in Symbol 31 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.xspeed = -_root.ball1.xspeed;
_root.ball1.yspeed = _root.ball1.yspeed - (_parent.speed / _root.ball1.speedfactor);
_root.score = _root.score + ((10 + _root.lives) + _root.level);
_root.scoredisplay.text = _root.score;
}
}
Instance of Symbol 29 MovieClip in Symbol 31 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.yspeed = -_root.ball1.yspeed;
}
}
Instance of Symbol 29 MovieClip in Symbol 31 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.ball1.yspeed = -_root.ball1.yspeed;
}
}
Instance of Symbol 25 MovieClip in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
this.speed = 0;
this._name = "spike3";
}
onClipEvent (enterFrame) {
_x = (_x + this.speed);
this.speed = this.speed + (_xmouse / 15);
this.speed = this.speed / 1.65;
}
Instance of Symbol 26 MovieClip in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
this.speed = 0;
this._name = "spike4";
}
onClipEvent (enterFrame) {
_x = (_x + this.speed);
this.speed = this.speed - (_xmouse / 15);
this.speed = this.speed / 1.65;
}
Instance of Symbol 30 MovieClip in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
this.speed = 0;
this._name = "spike1";
}
onClipEvent (enterFrame) {
_y = (_y + this.speed);
this.speed = this.speed + (_ymouse / 15);
this.speed = this.speed / 1.65;
}
Instance of Symbol 31 MovieClip in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
this.speed = 0;
this._name = "spike2";
}
onClipEvent (enterFrame) {
_y = (_y + this.speed);
this.speed = this.speed - (_ymouse / 15);
this.speed = this.speed / 1.65;
}
Symbol 36 Button
on (press) {
if ((this.musicplaying == undefined) || (this.musicplaying == true)) {
_root.currentsong.stop();
this.musicplaying = false;
} else {
_root.currentsong.stop();
_root.currentsong.start(0, 99);
_root.currentsong.setVolume(50);
this.musicplaying = true;
}
}
Symbol 54 Button
on (press) {
_root.currentsong.stop();
_root.currentsong = music;
_root.currentsong.start(0, 99);
_root.currentsong.setVolume(50);
}
Symbol 56 Button
on (press) {
_root.currentsong.stop();
_root.currentsong = music2;
_root.currentsong.start(0, 99);
_root.currentsong.setVolume(50);
}
Symbol 58 Button
on (press) {
_root.currentsong.stop();
_root.currentsong = music3;
_root.currentsong.start(0, 99);
_root.currentsong.setVolume(50);
}
Symbol 62 Button
on (press) {
if (_root.credits.active == false) {
_root.credits.active = true;
} else {
_root.credits.active = false;
}
}
Symbol 71 Button
on (press) {
play();
}
Symbol 76 MovieClip Frame 1
stop();
stopAllSounds();
Symbol 79 Button
on (press) {
if ((this.musicplaying == undefined) || (this.musicplaying == true)) {
_root.currentsong.stop();
this.musicplaying = false;
} else {
_root.currentsong.stop();
_root.currentsong.start(0, 99);
_root.currentsong.setVolume(35);
this.musicplaying = true;
}
}
Symbol 89 Button
on (press) {
clearInterval(intervaltimer);
var intervaltimer = setInterval(time, 1000);
if (_root.lives == 0) {
_root.gotoAndStop(29);
}
if (_root.ball1.ready == true) {
switch (_root.level) {
case 1 :
_root.ball1.yspeed = 2;
_root.ball1.xspeed = 2.5;
_root.ball1.maxspeed = 4;
_root.ball1.speedfactor = 4;
_root.timeleft = 20;
break;
case 2 :
_root.ball1.yspeed = -3;
_root.ball1.xspeed = 2;
_root.ball1.maxspeed = 4.5;
_root.ball1.speedfactor = 3.5;
_root.timeleft = 25;
break;
case 3 :
_root.ball1.yspeed = -3.25;
_root.ball1.xspeed = 3;
_root.ball1.maxspeed = 4.75;
_root.ball1.speedfactor = 3;
_root.timeleft = 30;
_root.obstacle1._x = 225;
_root.obstacle1._y = 320;
break;
case 4 :
_root.ball1.yspeed = 4;
_root.ball1.xspeed = -3;
_root.ball1.maxspeed = 5;
_root.ball1.speedfactor = 2.75;
_root.timeleft = 35;
_root.obstacle1._x = 225;
_root.obstacle1._y = 320;
break;
case 5 :
_root.ball1.yspeed = -3.75;
_root.ball1.xspeed = -3.25;
_root.ball1.maxspeed = 5.25;
_root.ball1.speedfactor = 2.5;
_root.timeleft = 40;
_root.obstacle1._x = -20;
_root.obstacle1._y = 320;
break;
case 6 :
_root.ball1.yspeed = 4.5;
_root.ball1.xspeed = 4.5;
_root.ball1.maxspeed = 5.5;
_root.ball1.speedfactor = 2.25;
_root.timeleft = 45;
break;
case 7 :
_root.ball1.yspeed = 4.5;
_root.ball1.xspeed = -4.7;
_root.ball1.maxspeed = 5.5;
_root.ball1.speedfactor = 2;
_root.timeleft = 50;
_root.obstacle2._x = 225;
_root.obstacle2._y = 100;
break;
case 8 :
_root.ball1.yspeed = 3;
_root.ball1.xspeed = -4;
_root.ball1.maxspeed = 6;
_root.ball1.speedfactor = 1.75;
_root.timeleft = 55;
_root.obstacle2._x = 225;
_root.obstacle2._y = -15;
break;
case 9 :
_root.ball1.yspeed = -3.5;
_root.ball1.xspeed = 3.2;
_root.ball1.maxspeed = 6.25;
_root.ball1.speedfactor = 1.75;
_root.timeleft = 60;
_root.obstacle1._x = 225;
_root.obstacle1._y = 360;
_root.obstacle2._x = 225;
_root.obstacle2._y = 50;
break;
case 10 :
_root.ball1.yspeed = -4;
_root.ball1.xspeed = -4.5;
_root.ball1.maxspeed = 6.25;
_root.ball1.speedfactor = 1.5;
_root.timeleft = 65;
_root.obstacle1._x = -20;
_root.obstacle1._y = 320;
_root.obstacle2._x = 225;
_root.obstacle2._y = -15;
break;
case 11 :
_root.ball1.yspeed = 4.5;
_root.ball1.xspeed = 4;
_root.ball1.maxspeed = 6.5;
_root.ball1.speedfactor = 1.5;
_root.timeleft = 70;
break;
case 12 :
_root.ball1.yspeed = 2.5;
_root.ball1.xspeed = -5;
_root.ball1.maxspeed = 6.75;
_root.ball1.speedfactor = 1.25;
_root.timeleft = 75;
_root.obstacle4._x = 224;
_root.obstacle4._y = 214;
break;
case 13 :
_root.ball1.yspeed = 5;
_root.ball1.xspeed = 1.5;
_root.ball1.maxspeed = 6.75;
_root.ball1.speedfactor = 1.25;
_root.timeleft = 80;
_root.obstacle4._x = -224;
_root.obstacle4._y = -214;
break;
case 15 :
_root.ball1.yspeed = 5;
_root.ball1.xspeed = 5.2;
_root.ball1.maxspeed = 6.75;
_root.ball1.speedfactor = 1.25;
_root.timeleft = 85;
break;
case 16 :
_root.ball1.yspeed = 5.75;
_root.ball1.xspeed = -5.75;
_root.ball1.maxspeed = 7;
_root.ball1.speedfactor = 1;
_root.timeleft = 90;
break;
case 17 :
_root.ball1.yspeed = -5;
_root.ball1.xspeed = -4;
_root.ball1.maxspeed = 7.25;
_root.ball1.speedfactor = 1;
_root.timeleft = 95;
break;
case 18 :
_root.ball1.yspeed = -6;
_root.ball1.xspeed = 3.5;
_root.ball1.maxspeed = 7.25;
_root.ball1.speedfactor = 1;
_root.timeleft = 95;
_root.obstacle5._x = 224;
_root.obstacle5._y = 290;
break;
case 19 :
_root.ball1.yspeed = 6;
_root.ball1.xspeed = 4.5;
_root.ball1.maxspeed = 7.25;
_root.ball1.speedfactor = 1;
_root.timeleft = 95;
_root.obstacle5._x = 224;
_root.obstacle5._y = 290;
_root.obstacle6._x = 330;
_root.obstacle6._y = 206;
break;
case 20 :
_root.ball1.yspeed = -5.5;
_root.ball1.xspeed = -6;
_root.ball1.maxspeed = 7.5;
_root.ball1.speedfactor = 0.9;
_root.timeleft = 95;
_root.obstacle5._x = 224;
_root.obstacle5._y = 490;
_root.obstacle6._x = -20;
_root.obstacle6._y = 206;
break;
case 21 :
_root.ball1.yspeed = 6.5;
_root.ball1.xspeed = -6.25;
_root.ball1.maxspeed = 7.75;
_root.ball1.speedfactor = 0.9;
_root.timeleft = 95;
break;
case 22 :
_root.ball1.yspeed = 7;
_root.ball1.xspeed = 6.5;
_root.ball1.maxspeed = 8;
_root.ball1.speedfactor = 0.85;
_root.timeleft = 95;
break;
case 23 :
_root.ball1.yspeed = -7.5;
_root.ball1.xspeed = 7;
_root.ball1.maxspeed = 9;
_root.ball1.speedfactor = 0.85;
_root.timeleft = 95;
break;
case 24 :
_root.ball1.yspeed = 8;
_root.ball1.xspeed = -7.5;
_root.ball1.maxspeed = 9.5;
_root.ball1.speedfactor = 0.6;
_root.timeleft = 95;
break;
case 25 :
_root.ball1.yspeed = -8.5;
_root.ball1.xspeed = -9;
_root.ball1.maxspeed = 10;
_root.ball1.speedfactor = 0.6;
_root.timeleft = 120;
_root.obstacle4._x = 224;
_root.obstacle4._y = 214;
break;
case 26 :
_root.ball1.yspeed = 2;
_root.ball1.xspeed = 2.5;
_root.ball1.maxspeed = 4;
_root.ball1.speedfactor = 4;
_root.timeleft = 15;
_root.obstacle4._x = -224;
_root.obstacle4._y = -214;
_root.gotoAndStop(29);
}
_root.timedisplay.text = _root.timeleft;
_root.ball1.failed = false;
_root.ball1.ready = false;
_root.ball1.touchable = true;
}
}
Symbol 92 Button
on (press) {
_root.currentsong.stop();
_root.currentsong = music;
_root.currentsong.start(0, 99);
_root.currentsong.setVolume(35);
}
Symbol 93 Button
on (press) {
_root.currentsong.stop();
_root.currentsong = music2;
_root.currentsong.start(0, 99);
_root.currentsong.setVolume(35);
}
Symbol 94 Button
on (press) {
_root.currentsong.stop();
_root.currentsong = music3;
_root.currentsong.start(0, 99);
_root.currentsong.setVolume(35);
}
Instance of Symbol 102 MovieClip in Symbol 107 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.yspeed = -_root.ball1.yspeed;
}
}
Instance of Symbol 102 MovieClip in Symbol 107 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.yspeed = -_root.ball1.yspeed;
}
}
Instance of Symbol 104 MovieClip in Symbol 107 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.xspeed = -_root.ball1.xspeed;
}
}
Instance of Symbol 104 MovieClip in Symbol 107 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball1) && (_root.ball1.touchable == true)) {
_root.popsound.start(0, 0);
_root.ball1.xspeed = -_root.ball1.xspeed;
}
}
Symbol 120 Button
on (press) {
_root.level = 1;
_root.score = 0;
_root.currentsong.stop();
_root.gotoAndStop(28);
}