Frame 1
stop();
var Newgrounds_API = new NewgroundsAPI_AS2(35);
_root.ThemeVar = random(6);
Frame 2
stopAllSounds();
nextFrame();
Frame 5
soundtest = false;
var title_sound = new Sound();
title_sound.attachSound("musictitle");
var music1_sound = new Sound();
music1_sound.attachSound("music1");
var music2_sound = new Sound();
music2_sound.attachSound("music2");
var music3_sound = new Sound();
music3_sound.attachSound("music3");
var music4_sound = new Sound();
music4_sound.attachSound("music4");
var music5_sound = new Sound();
music5_sound.attachSound("music5");
var music6_sound = new Sound();
music6_sound.attachSound("music6");
var music7_sound = new Sound();
music7_sound.attachSound("music7");
onEnterFrame = function () {
_root.konami = 0;
soundtest2 = 100;
};
Instance of Symbol 169 MovieClip in Frame 6
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 8 MovieClip [ball] in Frame 6
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Frame 15
title_sound.start(0, 999);
title_sound.setVolume(soundtest2);
_root.konami = 0;
Instance of Symbol 177 MovieClip [spark] in Frame 16
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 169 MovieClip in Frame 24
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 8 MovieClip [ball] in Frame 24
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 177 MovieClip [spark] in Frame 34
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 169 MovieClip in Frame 40
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 8 MovieClip [ball] in Frame 40
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 177 MovieClip [spark] in Frame 50
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 169 MovieClip in Frame 57
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 8 MovieClip [ball] in Frame 57
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 177 MovieClip [spark] in Frame 67
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 169 MovieClip in Frame 77
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 8 MovieClip [ball] in Frame 77
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 196 MovieClip "outside_circle" in Frame 87
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 177 MovieClip [spark] in Frame 87
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Frame 107
stop();
_root.konami = 0;
_root.buttondown = false;
onEnterFrame = function () {
if (_root.buttondown == false) {
if (Key.isDown(38)) {
if (_root.konami < 2) {
_root.konami++;
}
_root.buttondown = true;
}
if (Key.isDown(40)) {
if ((_root.konami == 2) || (_root.konami == 3)) {
_root.konami++;
}
_root.buttondown = true;
}
if (Key.isDown(37)) {
if ((_root.konami == 4) || (_root.konami == 6)) {
_root.konami++;
}
_root.buttondown = true;
}
if (Key.isDown(39)) {
if ((_root.konami == 5) || (_root.konami == 7)) {
_root.konami++;
}
_root.buttondown = true;
}
if (Key.isDown(66)) {
if (_root.konami == 8) {
_root.konami++;
}
_root.buttondown = true;
}
if (Key.isDown(65)) {
if (_root.konami == 9) {
_root.konami++;
}
_root.buttondown = true;
}
if (Key.isDown(13)) {
if (_root.konami == 10) {
_root.blackout.play();
_root.ThemeVar = 7;
}
_root.buttondown = true;
}
}
if (((((((!Key.isDown(38)) && (!Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(65))) && (!Key.isDown(66))) && (!Key.isDown(13))) {
_root.buttondown = false;
}
if (_root.blackout._currentframe > 1) {
if (soundtest2 < 10) {
soundtest2 = 0;
title_sound.stop();
} else {
soundtest2 = soundtest2 - 10;
title_sound.setVolume(soundtest2);
}
}
};
Frame 108
soundtest2 = 100;
onEnterFrame = function () {
_root.konami = 0;
if (soundtest2 < 10) {
soundtest2 = 0;
title_sound.stop();
} else {
soundtest2 = soundtest2 - 10;
title_sound.setVolume(soundtest2);
}
};
Frame 122
_root.ThemeTemp = _root.ThemeVar;
_root.restart = false;
_root.music = "";
onEnterFrame = function () {
if (soundtest == false) {
gotoAndPlay ("Title");
}
};
Instance of Symbol 196 MovieClip "outside_circle" in Frame 123
onClipEvent (load) {
this.gotoAndStop(_root.ThemeTemp);
}
Frame 137
stop();
_root.musicswitch = false;
_root.musicplaying = "";
onEnterFrame = function () {
_root[_root.musicplaying + "_sound"].setVolume(soundtest2);
if (_root.blackout._currentframe == 1) {
if (_root.restart == true) {
if (soundtest2 < 10) {
soundtest2 = 0;
_root[_root.musicplaying + "_sound"].stop();
} else {
soundtest2 = soundtest2 - 10;
}
if (_root.restartblackout._currentframe == 1) {
_root.restartblackout.play();
}
if (_root.restartblackout._currentframe == 11) {
_root.musicplaying = _root.music;
_root.musicswitch = true;
_root.outside_circle.gotoAndStop(_root.ThemeTemp);
_root.restart = false;
}
}
if (_root.restart == false) {
if (soundtest2 > 90) {
soundtest2 = 100;
} else {
soundtest2 = soundtest2 + 10;
}
}
if (_root.musicswitch == true) {
_root[_root.musicplaying + "_sound"].start(0, 999);
_root.musicswitch = false;
}
} else if (soundtest2 < 10) {
soundtest2 = 0;
_root[_root.musicplaying + "_sound"].stop();
} else {
soundtest2 = soundtest2 - 10;
}
};
Frame 138
stop();
play();
Frame 139
stop();
gamelost = false;
_root.pauseplay = true;
_root.gamepaused = false;
_root.hithit = false;
_root.scalebouncedelay = false;
scalebounce = 6;
_root.countscore = false;
_root.gamestart = false;
_root.gamerestart = false;
_root.lives = 3;
_root.rotaterestart = 0;
_root.lifeleft.life0.gotoAndStop(_root.ThemeVar);
_root.lifeleft.life1.gotoAndStop(_root.ThemeVar);
_root.lifeleft.life2.gotoAndStop(_root.ThemeVar);
_root.game.ball.gotoAndStop(_root.ThemeVar);
_root.game.paddle.gotoAndStop(_root.ThemeVar);
_root.game.circle_back.gotoAndStop(_root.ThemeVar);
_root.game.outside_circle.gotoAndStop(_root.ThemeVar);
_root.game.balldie.gotoAndStop(_root.ThemeVar);
var BG_sound = new Sound();
BG_sound.attachSound("music" + _root.ThemeVar);
_root.musicstart = false;
volumecheck = 100;
onEnterFrame = function () {
if (_root.gamestart == true) {
if (_root.gamepaused == true) {
if ((100 - ((_root.pausescreen._currentframe * _root.pausescreen._currentframe) / 6)) < 100) {
BG_sound.setVolume(100 - ((_root.pausescreen._currentframe * _root.pausescreen._currentframe) / 6));
} else {
BG_sound.setVolume(0);
BG_sound.stop();
}
} else if (gamelost == false) {
if (((Math.sqrt((_root.game.ball._x * _root.game.ball._x) + (_root.game.ball._y * _root.game.ball._y)) / 4) + 60) > 100) {
BG_sound.setVolume(100);
} else {
BG_sound.setVolume((Math.sqrt((_root.game.ball._x * _root.game.ball._x) + (_root.game.ball._y * _root.game.ball._y)) / 4) + 60);
}
} else {
if (volumecheck > 0) {
volumecheck = volumecheck - 4;
} else {
volumecheck = 0;
}
BG_sound.setVolume(volumecheck);
}
if ((!Key.isDown(32)) && (!Key.isDown(13))) {
_root.pauseplay = true;
}
if (_root.gamepaused == false) {
if (gamelost == false) {
if (Key.isDown(32) || (Key.isDown(13))) {
if (_root.pauseplay == true) {
_root.gamepaused = true;
_root.pausescreen.play();
_root.pauseplay = false;
}
}
}
if (_root.musicstart == false) {
BG_sound.start(0, 999);
BG_sound.setVolume(60);
_root.musicstart = true;
}
_root.game.ball._xscale = (Math.sqrt((160 - Math.sqrt((_root.game.ball._x * _root.game.ball._x) + (_root.game.ball._y * _root.game.ball._y))) * (160 - Math.sqrt((_root.game.ball._x * _root.game.ball._x) + (_root.game.ball._y * _root.game.ball._y)))) / 2) + 100;
_root.game.ball._yscale = (Math.sqrt((160 - Math.sqrt((_root.game.ball._x * _root.game.ball._x) + (_root.game.ball._y * _root.game.ball._y))) * (160 - Math.sqrt((_root.game.ball._x * _root.game.ball._x) + (_root.game.ball._y * _root.game.ball._y)))) / 2) + 100;
if (_root.score > 9) {
if (gamelost == false) {
rotateby = (_root.score - 10) / 2;
}
_root.game._rotation = _root.game._rotation + rotateby;
_root.game.paddle._rotation = _root.game.paddle._rotation - rotateby;
_root.game.outside_circle._rotation = _root.game.outside_circle._rotation - (2 * rotateby);
} else {
rotateby = 0;
}
if (_root.hithit == false) {
scalebounce = 6;
}
if (_root.score > 19) {
if (_root.hithit == true) {
_root.game._xscale = _root.game._xscale + scalebounce;
_root.game._yscale = _root.game._yscale + scalebounce;
if (_root.game._xscale <= 100) {
_root.game._xscale = 100;
_root.game._yscale = 100;
scalebounce = 6;
_root.hithit = false;
_root.scalebouncedelay = false;
}
if (scalebouncedelay == true) {
scalebounce++;
if (scalebounce == -1) {
scalebouncedelay = false;
}
} else if (scalebounce == -4) {
scalebounce = -4;
_root.scalebouncedelay = true;
} else {
scalebounce--;
}
}
}
if (_root.rotaterestart > 0) {
if (gamelost == false) {
_root.rotaterestart = _root.rotaterestart - 0.25;
_root.game._rotation = _root.game._rotation + _root.rotaterestart;
_root.game.paddle._rotation = _root.game.paddle._rotation - _root.rotaterestart;
_root.game.outside_circle._rotation = _root.game.outside_circle._rotation - (2 * _root.rotaterestart);
}
} else {
_root.rotaterestart = 0;
}
if ((((_root.game.ball._x > 200) || (_root.game.ball._x < -200)) || (_root.game.ball._y > 200)) || (_root.game.ball._y < -200)) {
if (_root.gamerestart == false) {
_root.gamerestart = true;
_root.rotaterestart = _root.rotateby;
_root.lives--;
_root.lifeleft["life" + _root.lives]._alpha = 0;
}
if (_root.lives == 0) {
if (_root.score > _root.bestscore) {
_root.bestscore = _root.score;
}
_root.gamelost = true;
}
}
if (gamelost == true) {
if (_root.rotateby > 0) {
_root.rotateby = _root.rotateby - 0.5;
}
if (_root.rotateby == 0) {
_root.blackout.play();
}
}
}
}
};
Frame 140
_root.score = -1;
_root.score1 = -1;
_root.score2 = 0;
_root.score3 = 0;
gamelost = false;
counter = 0;
urlgot = false;
stopAllSounds();
stop();
onEnterFrame = function () {
if (_root.countscore == true) {
if (_root.score < _root.bestscore) {
_root.score++;
if (_root.score1 == 9) {
if (_root.score2 == 9) {
_root.score3++;
_root.score2 = 0;
} else {
_root.score2++;
}
_root.score1 = 0;
} else {
_root.score1++;
}
LCDnumber();
} else {
this.attachMovie("spark", "spark1", 2);
this.attachMovie("spark", "spark2", 3);
spark1._xscale = 200;
spark1._yscale = 200;
spark2._xscale = 200;
spark2._yscale = 200;
spark1._x = 243;
spark1._y = 50;
spark2._x = 319;
spark2._y = 50;
_root.countscore = false;
}
}
LCDnumber = function () {
if (_root.score1 == 0) {
_root.LCDnumber1.LCD1.gotoAndStop("on");
_root.LCDnumber1.LCD2.gotoAndStop("on");
_root.LCDnumber1.LCD3.gotoAndStop("on");
_root.LCDnumber1.LCD4.gotoAndStop("on");
_root.LCDnumber1.LCD5.gotoAndStop("on");
_root.LCDnumber1.LCD6.gotoAndStop("on");
_root.LCDnumber1.LCD7.gotoAndStop("off");
}
if (_root.score1 == 1) {
_root.LCDnumber1.LCD1.gotoAndStop("off");
_root.LCDnumber1.LCD2.gotoAndStop("on");
_root.LCDnumber1.LCD3.gotoAndStop("on");
_root.LCDnumber1.LCD4.gotoAndStop("off");
_root.LCDnumber1.LCD5.gotoAndStop("off");
_root.LCDnumber1.LCD6.gotoAndStop("off");
_root.LCDnumber1.LCD7.gotoAndStop("off");
}
if (_root.score1 == 2) {
_root.LCDnumber1.LCD1.gotoAndStop("on");
_root.LCDnumber1.LCD2.gotoAndStop("on");
_root.LCDnumber1.LCD3.gotoAndStop("off");
_root.LCDnumber1.LCD4.gotoAndStop("on");
_root.LCDnumber1.LCD5.gotoAndStop("on");
_root.LCDnumber1.LCD6.gotoAndStop("off");
_root.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.score1 == 3) {
_root.LCDnumber1.LCD1.gotoAndStop("on");
_root.LCDnumber1.LCD2.gotoAndStop("on");
_root.LCDnumber1.LCD3.gotoAndStop("on");
_root.LCDnumber1.LCD4.gotoAndStop("on");
_root.LCDnumber1.LCD5.gotoAndStop("off");
_root.LCDnumber1.LCD6.gotoAndStop("off");
_root.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.score1 == 4) {
_root.LCDnumber1.LCD1.gotoAndStop("off");
_root.LCDnumber1.LCD2.gotoAndStop("on");
_root.LCDnumber1.LCD3.gotoAndStop("on");
_root.LCDnumber1.LCD4.gotoAndStop("off");
_root.LCDnumber1.LCD5.gotoAndStop("off");
_root.LCDnumber1.LCD6.gotoAndStop("on");
_root.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.score1 == 5) {
_root.LCDnumber1.LCD1.gotoAndStop("on");
_root.LCDnumber1.LCD2.gotoAndStop("off");
_root.LCDnumber1.LCD3.gotoAndStop("on");
_root.LCDnumber1.LCD4.gotoAndStop("on");
_root.LCDnumber1.LCD5.gotoAndStop("off");
_root.LCDnumber1.LCD6.gotoAndStop("on");
_root.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.score1 == 6) {
_root.LCDnumber1.LCD1.gotoAndStop("on");
_root.LCDnumber1.LCD2.gotoAndStop("off");
_root.LCDnumber1.LCD3.gotoAndStop("on");
_root.LCDnumber1.LCD4.gotoAndStop("on");
_root.LCDnumber1.LCD5.gotoAndStop("on");
_root.LCDnumber1.LCD6.gotoAndStop("on");
_root.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.score1 == 7) {
_root.LCDnumber1.LCD1.gotoAndStop("on");
_root.LCDnumber1.LCD2.gotoAndStop("on");
_root.LCDnumber1.LCD3.gotoAndStop("on");
_root.LCDnumber1.LCD4.gotoAndStop("off");
_root.LCDnumber1.LCD5.gotoAndStop("off");
_root.LCDnumber1.LCD6.gotoAndStop("off");
_root.LCDnumber1.LCD7.gotoAndStop("off");
}
if (_root.score1 == 8) {
_root.LCDnumber1.LCD1.gotoAndStop("on");
_root.LCDnumber1.LCD2.gotoAndStop("on");
_root.LCDnumber1.LCD3.gotoAndStop("on");
_root.LCDnumber1.LCD4.gotoAndStop("on");
_root.LCDnumber1.LCD5.gotoAndStop("on");
_root.LCDnumber1.LCD6.gotoAndStop("on");
_root.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.score1 == 9) {
_root.LCDnumber1.LCD1.gotoAndStop("on");
_root.LCDnumber1.LCD2.gotoAndStop("on");
_root.LCDnumber1.LCD3.gotoAndStop("on");
_root.LCDnumber1.LCD4.gotoAndStop("on");
_root.LCDnumber1.LCD5.gotoAndStop("off");
_root.LCDnumber1.LCD6.gotoAndStop("on");
_root.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.score2 == 0) {
_root.LCDnumber2.LCD1.gotoAndStop("on");
_root.LCDnumber2.LCD2.gotoAndStop("on");
_root.LCDnumber2.LCD3.gotoAndStop("on");
_root.LCDnumber2.LCD4.gotoAndStop("on");
_root.LCDnumber2.LCD5.gotoAndStop("on");
_root.LCDnumber2.LCD6.gotoAndStop("on");
_root.LCDnumber2.LCD7.gotoAndStop("off");
}
if (_root.score2 == 1) {
_root.LCDnumber2.LCD1.gotoAndStop("off");
_root.LCDnumber2.LCD2.gotoAndStop("on");
_root.LCDnumber2.LCD3.gotoAndStop("on");
_root.LCDnumber2.LCD4.gotoAndStop("off");
_root.LCDnumber2.LCD5.gotoAndStop("off");
_root.LCDnumber2.LCD6.gotoAndStop("off");
_root.LCDnumber2.LCD7.gotoAndStop("off");
}
if (_root.score2 == 2) {
_root.LCDnumber2.LCD1.gotoAndStop("on");
_root.LCDnumber2.LCD2.gotoAndStop("on");
_root.LCDnumber2.LCD3.gotoAndStop("off");
_root.LCDnumber2.LCD4.gotoAndStop("on");
_root.LCDnumber2.LCD5.gotoAndStop("on");
_root.LCDnumber2.LCD6.gotoAndStop("off");
_root.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.score2 == 3) {
_root.LCDnumber2.LCD1.gotoAndStop("on");
_root.LCDnumber2.LCD2.gotoAndStop("on");
_root.LCDnumber2.LCD3.gotoAndStop("on");
_root.LCDnumber2.LCD4.gotoAndStop("on");
_root.LCDnumber2.LCD5.gotoAndStop("off");
_root.LCDnumber2.LCD6.gotoAndStop("off");
_root.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.score2 == 4) {
_root.LCDnumber2.LCD1.gotoAndStop("off");
_root.LCDnumber2.LCD2.gotoAndStop("on");
_root.LCDnumber2.LCD3.gotoAndStop("on");
_root.LCDnumber2.LCD4.gotoAndStop("off");
_root.LCDnumber2.LCD5.gotoAndStop("off");
_root.LCDnumber2.LCD6.gotoAndStop("on");
_root.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.score2 == 5) {
_root.LCDnumber2.LCD1.gotoAndStop("on");
_root.LCDnumber2.LCD2.gotoAndStop("off");
_root.LCDnumber2.LCD3.gotoAndStop("on");
_root.LCDnumber2.LCD4.gotoAndStop("on");
_root.LCDnumber2.LCD5.gotoAndStop("off");
_root.LCDnumber2.LCD6.gotoAndStop("on");
_root.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.score2 == 6) {
_root.LCDnumber2.LCD1.gotoAndStop("on");
_root.LCDnumber2.LCD2.gotoAndStop("off");
_root.LCDnumber2.LCD3.gotoAndStop("on");
_root.LCDnumber2.LCD4.gotoAndStop("on");
_root.LCDnumber2.LCD5.gotoAndStop("on");
_root.LCDnumber2.LCD6.gotoAndStop("on");
_root.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.score2 == 7) {
_root.LCDnumber2.LCD1.gotoAndStop("on");
_root.LCDnumber2.LCD2.gotoAndStop("on");
_root.LCDnumber2.LCD3.gotoAndStop("on");
_root.LCDnumber2.LCD4.gotoAndStop("off");
_root.LCDnumber2.LCD5.gotoAndStop("off");
_root.LCDnumber2.LCD6.gotoAndStop("off");
_root.LCDnumber2.LCD7.gotoAndStop("off");
}
if (_root.score2 == 8) {
_root.LCDnumber2.LCD1.gotoAndStop("on");
_root.LCDnumber2.LCD2.gotoAndStop("on");
_root.LCDnumber2.LCD3.gotoAndStop("on");
_root.LCDnumber2.LCD4.gotoAndStop("on");
_root.LCDnumber2.LCD5.gotoAndStop("on");
_root.LCDnumber2.LCD6.gotoAndStop("on");
_root.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.score2 == 9) {
_root.LCDnumber2.LCD1.gotoAndStop("on");
_root.LCDnumber2.LCD2.gotoAndStop("on");
_root.LCDnumber2.LCD3.gotoAndStop("on");
_root.LCDnumber2.LCD4.gotoAndStop("on");
_root.LCDnumber2.LCD5.gotoAndStop("off");
_root.LCDnumber2.LCD6.gotoAndStop("on");
_root.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.score3 == 0) {
_root.LCDnumber3._alpha = 0;
}
if (_root.score3 == 1) {
_root.LCDnumber3._alpha = 100;
_root.LCDnumber3.LCD1.gotoAndStop("off");
_root.LCDnumber3.LCD2.gotoAndStop("on");
_root.LCDnumber3.LCD3.gotoAndStop("on");
_root.LCDnumber3.LCD4.gotoAndStop("off");
_root.LCDnumber3.LCD5.gotoAndStop("off");
_root.LCDnumber3.LCD6.gotoAndStop("off");
_root.LCDnumber3.LCD7.gotoAndStop("off");
}
if (_root.score3 == 2) {
_root.LCDnumber3.LCD1.gotoAndStop("on");
_root.LCDnumber3.LCD2.gotoAndStop("on");
_root.LCDnumber3.LCD3.gotoAndStop("off");
_root.LCDnumber3.LCD4.gotoAndStop("on");
_root.LCDnumber3.LCD5.gotoAndStop("on");
_root.LCDnumber3.LCD6.gotoAndStop("off");
_root.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.score3 == 3) {
_root.LCDnumber3.LCD1.gotoAndStop("on");
_root.LCDnumber3.LCD2.gotoAndStop("on");
_root.LCDnumber3.LCD3.gotoAndStop("on");
_root.LCDnumber3.LCD4.gotoAndStop("on");
_root.LCDnumber3.LCD5.gotoAndStop("off");
_root.LCDnumber3.LCD6.gotoAndStop("off");
_root.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.score3 == 4) {
_root.LCDnumber3.LCD1.gotoAndStop("off");
_root.LCDnumber3.LCD2.gotoAndStop("on");
_root.LCDnumber3.LCD3.gotoAndStop("on");
_root.LCDnumber3.LCD4.gotoAndStop("off");
_root.LCDnumber3.LCD5.gotoAndStop("off");
_root.LCDnumber3.LCD6.gotoAndStop("on");
_root.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.score3 == 5) {
_root.LCDnumber3.LCD1.gotoAndStop("on");
_root.LCDnumber3.LCD2.gotoAndStop("off");
_root.LCDnumber3.LCD3.gotoAndStop("on");
_root.LCDnumber3.LCD4.gotoAndStop("on");
_root.LCDnumber3.LCD5.gotoAndStop("off");
_root.LCDnumber3.LCD6.gotoAndStop("on");
_root.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.score3 == 6) {
_root.LCDnumber3.LCD1.gotoAndStop("on");
_root.LCDnumber3.LCD2.gotoAndStop("off");
_root.LCDnumber3.LCD3.gotoAndStop("on");
_root.LCDnumber3.LCD4.gotoAndStop("on");
_root.LCDnumber3.LCD5.gotoAndStop("on");
_root.LCDnumber3.LCD6.gotoAndStop("on");
_root.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.score3 == 7) {
_root.LCDnumber3.LCD1.gotoAndStop("on");
_root.LCDnumber3.LCD2.gotoAndStop("on");
_root.LCDnumber3.LCD3.gotoAndStop("on");
_root.LCDnumber3.LCD4.gotoAndStop("off");
_root.LCDnumber3.LCD5.gotoAndStop("off");
_root.LCDnumber3.LCD6.gotoAndStop("off");
_root.LCDnumber3.LCD7.gotoAndStop("off");
}
if (_root.score3 == 8) {
_root.LCDnumber3.LCD1.gotoAndStop("on");
_root.LCDnumber3.LCD2.gotoAndStop("on");
_root.LCDnumber3.LCD3.gotoAndStop("on");
_root.LCDnumber3.LCD4.gotoAndStop("on");
_root.LCDnumber3.LCD5.gotoAndStop("on");
_root.LCDnumber3.LCD6.gotoAndStop("on");
_root.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.score3 == 9) {
_root.LCDnumber3.LCD1.gotoAndStop("on");
_root.LCDnumber3.LCD2.gotoAndStop("on");
_root.LCDnumber3.LCD3.gotoAndStop("on");
_root.LCDnumber3.LCD4.gotoAndStop("on");
_root.LCDnumber3.LCD5.gotoAndStop("off");
_root.LCDnumber3.LCD6.gotoAndStop("on");
_root.LCDnumber3.LCD7.gotoAndStop("on");
}
};
};
Instance of Symbol 196 MovieClip "outside_circle" in Frame 140
onClipEvent (enterFrame) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 306 MovieClip "LCDnumber3" in Frame 140
onClipEvent (load) {
_root.LCDnumber3._alpha = 0;
}
Symbol 8 MovieClip [ball] Frame 1
stop();
Symbol 8 MovieClip [ball] Frame 2
stop();
Symbol 8 MovieClip [ball] Frame 3
stop();
Symbol 8 MovieClip [ball] Frame 4
stop();
Symbol 8 MovieClip [ball] Frame 5
stop();
Symbol 8 MovieClip [ball] Frame 6
stop();
Symbol 8 MovieClip [ball] Frame 7
stop();
Symbol 27 MovieClip Frame 40
stop();
Symbol 41 Button
on (press) {
tellTarget (_root) {
nextFrame();
};
}
Symbol 42 Button
on (press) {
gotoAndStop ("end");
_root.gotoAndStop(3);
}
Instance of Symbol 17 MovieClip in Symbol 43 MovieClip Frame 1
onClipEvent (load) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop("lastframe");
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndPlay("loaded");
}
}
Symbol 43 MovieClip Frame 101
play();
Symbol 43 MovieClip Frame 165
stop();
Symbol 49 Button
on (release) {
_global.NewgroundsAPI_DataObject.API.LoadNewgrounds();
}
Symbol 55 Button
on (release) {
_global.NewgroundsAPI_DataObject.API.LoadNewgrounds();
}
Symbol 57 MovieClip Frame 1
function startAd(ngad_url) {
System.security.allowDomain("70.87.128.99");
System.security.allowInsecureDomain("70.87.128.99");
System.security.allowDomain("ads.shizmoo.com");
System.security.allowInsecureDomain("ads.shizmoo.com");
System.security.allowDomain("www.cpmstar.com");
System.security.allowInsecureDomain("www.cpmstar.com");
System.security.allowDomain("server.cpmstar.com");
System.security.allowInsecureDomain("server.cpmstar.com");
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace("\r::IGNORE THE FOLLOWING ERROR IF THE AD LOADS::");
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), "GET");
}
};
var CPMStarPoolID = 731;
var CPMStarSubPoolID = 3;
ngads_redirect.load(ngad_url);
}
_root.stop();
if (_global.NewgroundsAPI_DataObject.ad_url) {
startAd(_global.NewgroundsAPI_DataObject.ad_url);
}
_global.NewgroundsAPI_DataObject.API.onAdsApproved = function () {
startAd(_global.NewgroundsAPI_DataObject.ad_url);
};
stop();
Symbol 394 MovieClip [__Packages.NewgroundsAPI_AS2] Frame 0
class NewgroundsAPI_AS2
{
var movie_id, error_format, header_format, normal_format, link_format, host, stat_ids, data_object, debug_mode, movie_version;
function NewgroundsAPI_AS2 (id) {
movie_id = id;
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
stat_ids = new Object();
stat_ids.movie_views = 1;
stat_ids.author_referrals = 2;
stat_ids.ng_referrals = 3;
stat_ids.version_referrals = 4;
if (!_global.NewgroundsAPI_DataObject) {
_global.NewgroundsAPI_DataObject = new Object();
_global.NewgroundsAPI_DataObject.API = this;
var params = new Object();
params.id = movie_id;
params.host = host;
params.stat = stat_ids.movie_views;
sendStats(params);
}
data_object = _global.NewgroundsAPI_DataObject;
}
function sendStats(params, openInBrowser) {
if (debug_mode) {
params.debug = true;
}
var packet = "?as=2";
for (var i in params) {
packet = packet + ((("&" + i) + "=") + escape(String(params[i])));
}
if (openInBrowser) {
getURL (script_url + packet, "_blank");
} else {
var XML_in = new XML();
XML_in.ignoreWhite = true;
XML_in.onLoad = function (success) {
var params = new Object();
var i = 0;
while (i < this.firstChild.childNodes.length) {
var param = this.firstChild.childNodes[i];
var param_name = param.nodeName;
var param_value = param.attributes.value;
if (param_value == Number(param_value)) {
param_value = Number(param_value);
}
params[param_name] = param_value;
i++;
}
_global.NewgroundsAPI_DataObject.API.eventHandler(params);
};
XML_in.load(script_url + packet);
}
}
function setDebugMode(bool) {
debug_mode = bool;
}
function setMovieVersion(version) {
movie_version = version.toString();
}
function LoadNewgrounds(page) {
var params = new Object();
params.id = movie_id;
params.host = host;
params.stat = stat_ids.ng_referrals;
if (!data_log.loaded_newgrounds) {
data_log.loaded_newgrounds = true;
} else {
params.skiplog = 1;
}
if (page) {
params.page = page;
}
sendStats(params, true);
}
function LoadMySite() {
var params = new Object();
params.id = movie_id;
params.host = host;
params.stat = stat_ids.author_referrals;
if (!data_log.loaded_mysite) {
data_log.loaded_mysite = true;
} else {
params.skiplog = 1;
}
sendStats(params, true);
}
function getHost() {
return(host);
}
function getMovieVersion() {
return(movie_version);
}
function eventHandler(params) {
for (var i in params) {
data_object[i] = unescape(params[i]);
}
if (data_object.deny_host) {
onDenyHost(host, data_object.movie_url);
}
if (data_object.ad_url and (!stop_ad)) {
onAdsApproved();
}
if (data_object.movie_version != movie_version) {
onNewVersionAvailable(data_object.movie_version, data_object.movie_url);
}
if (data_object.request_portal_url) {
var output = new Object();
output.id = movie_id;
output.portal_url = _url;
sendStats(output);
}
if (data_object.settings_loaded) {
onSettingsLoaded(data_object.settings_loaded);
}
}
function onAdsApproved() {
}
function onSettingsLoaded(success) {
if (success) {
trace("NG API settings have successfully been loaded");
} else {
trace("NG API settings failed to load, make sure you have the correct Movie ID");
}
}
function onNewVersionAvailable(version, url) {
if ((!url) or (url.length < 1)) {
url = "http://www.newgrounds.com";
}
trace((("VERSION " + version) + " at ") + url);
var center = new Object();
center.x = Stage.width / 2;
center.y = Stage.height / 2;
_root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(center.x - 240, center.y - 120);
_root.NGAPI_new_version_overlay.lineTo(center.x + 240, center.y - 120);
_root.NGAPI_new_version_overlay.lineTo(center.x + 240, center.y + 80);
_root.NGAPI_new_version_overlay.lineTo(center.x - 240, center.y + 80);
_root.NGAPI_new_version_overlay.lineTo(center.x - 240, center.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0);
_root.NGAPI_new_version_overlay.exit.moveTo(center.x + 210, center.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 230, center.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 230, center.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 210, center.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 210, center.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(center.x + 214, center.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 226, center.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(center.x + 226, center.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(center.x + 214, center.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var message = ((("Version " + version) + " is now available at:") + newline);
var link_start = message.length;
message = message + url;
var link_end = message.length;
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, center.x - 210, center.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format);
_root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = message;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(normal_format);
link_format.url = (((((script_url + "?as=2&id=") + movie_id) + "&host=") + host) + "&stat=") + stat_ids.version_referrals;
_root.NGAPI_new_version_overlay.message.setTextFormat(link_start, link_end, link_format);
}
function onDenyHost(host, real_host) {
stop_ad = true;
trace("DENIED " + host);
_root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var message = (((((("This movie has not been approved for use on " + host) + ".") + newline) + newline) + "For an aproved copy, please visit:") + newline);
var link_start = message.length;
message = message + real_host;
var link_end = message.length;
_root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = "ERROR!";
_root.NGAPI_deny_host_overlay.error.setTextFormat(error_format);
_root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = message;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format);
link_format.url = real_host;
_root.NGAPI_deny_host_overlay.message.setTextFormat(link_start, link_end, link_format);
}
var data_log = new Object();
var script_url = "http://www.ngads.com/gateway.php";
var stop_ad = false;
}
Symbol 78 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var scaleX = (sX / this._width);
var scaleY = (sY / this._height);
_parent._x = cX - (this._x * scaleX);
_parent._y = cY - (this._y * scaleY);
_parent._xscale = 100 * scaleX;
_parent._yscale = 100 * scaleY;
}
function resetStage() {
var resetTrans = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(resetTrans);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 117 MovieClip Frame 1
_quality = "LOW";
_root.stop();
Instance of Symbol 78 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.subtitle._x = this._x - (3.6 * this._xscale);
_root.subtitle._y = this._y + (1.6 * this._yscale);
_root.subtitle._xscale = this._xscale;
_root.subtitle._yscale = this._yscale;
}
Symbol 117 MovieClip Frame 362
_root.play();
Symbol 120 MovieClip Frame 20
stop();
Symbol 121 MovieClip Frame 25
stop();
Symbol 161 MovieClip Frame 1
_root.stop();
Symbol 161 MovieClip Frame 280
_root.play();
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 3
stop();
Symbol 169 MovieClip Frame 4
stop();
Symbol 169 MovieClip Frame 5
stop();
Symbol 169 MovieClip Frame 6
stop();
Symbol 169 MovieClip Frame 7
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 2
stop();
Symbol 176 MovieClip Frame 3
stop();
Symbol 176 MovieClip Frame 4
stop();
Symbol 176 MovieClip Frame 5
stop();
Symbol 176 MovieClip Frame 6
stop();
Symbol 176 MovieClip Frame 7
stop();
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Instance of Symbol 176 MovieClip in Symbol 177 MovieClip [spark] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
xmove = random(10) - 5;
ymove = random(30) - 13;
rotate = random(20) - 10;
}
onClipEvent (enterFrame) {
this._x = this._x + xmove;
ymove--;
this._y = this._y - ymove;
this._rotation = this._rotation + rotate;
}
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 2
stop();
Symbol 196 MovieClip Frame 3
stop();
Symbol 196 MovieClip Frame 4
stop();
Symbol 196 MovieClip Frame 5
stop();
Symbol 202 Button
on (release) {
if (_root.Instru._currentframe == 1) {
if (_root.Option._currentframe == 1) {
getURL ("http://www.newgrounds.com/", "_blank");
}
}
}
Instance of Symbol 169 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
}
Instance of Symbol 8 MovieClip [ball] in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.ThemeVar);
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Symbol 208 Button
on (release) {
gotoAndPlay (138);
stopAllSounds();
}
Symbol 210 Button
on (release) {
getURL ("http://www.psy-city.co.uk/", "_blank");
}
Symbol 212 Button
on (release) {
if (_root.Instru._currentframe == 1) {
if (_root.Option._currentframe == 1) {
gotoAndPlay (138);
stopAllSounds();
}
}
}
Symbol 213 Button
on (release) {
if (_root.Instru._currentframe == 1) {
if (_root.Option._currentframe == 1) {
_root.Instru.play();
}
}
}
Symbol 214 Button
on (release) {
if (_root.Instru._currentframe == 1) {
if (_root.Option._currentframe == 1) {
_root.Option.play();
}
}
}
Symbol 215 Button
on (release) {
if (_root.Instru._currentframe == 1) {
if (_root.Option._currentframe == 1) {
getURL ("http://www.psy-city.co.uk/", "_blank");
}
}
}
Symbol 221 Button
on (release) {
play();
}
Symbol 222 MovieClip Frame 1
stop();
stop();
Symbol 222 MovieClip Frame 15
stop();
stop();
Symbol 229 Button
on (release) {
this.play();
}
Symbol 230 Button
on (release) {
_root._quality = "HIGH";
}
Symbol 231 Button
on (release) {
_root._quality = "LOW";
}
Symbol 232 Button
on (release) {
_root._quality = "MEDIUM";
}
Symbol 233 Button
on (release) {
_root.soundtest = true;
_root.play();
}
Symbol 234 Button
on (release) {
_root.ThemeVar = 1;
_root.blackout.play();
}
Symbol 235 Button
on (release) {
_root.ThemeVar = 2;
_root.blackout.play();
}
Symbol 236 Button
on (release) {
_root.ThemeVar = 3;
_root.blackout.play();
}
Symbol 237 Button
on (release) {
_root.ThemeVar = 4;
_root.blackout.play();
}
Symbol 238 Button
on (release) {
_root.ThemeVar = 5;
_root.blackout.play();
}
Symbol 239 Button
on (release) {
_root.ThemeVar = 6;
_root.blackout.play();
}
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 15
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 25
_root.gotoAndPlay(5);
Symbol 245 Button
on (release) {
getURL ("http://sonic.sight.sheezyart.com/", "_blank");
}
Symbol 247 Button
on (release) {
_root.blackout.play();
}
Symbol 249 Button
on (release) {
_root.music = "title";
_root.restart = true;
}
Symbol 250 Button
on (release) {
_root.music = "music1";
_root.restart = true;
_root.ThemeTemp = 1;
}
Symbol 251 Button
on (release) {
_root.music = "music2";
_root.restart = true;
_root.ThemeTemp = 2;
}
Symbol 252 Button
on (release) {
_root.music = "music3";
_root.restart = true;
_root.ThemeTemp = 3;
}
Symbol 253 Button
on (release) {
_root.music = "music4";
_root.restart = true;
_root.ThemeTemp = 4;
}
Symbol 254 Button
on (release) {
_root.music = "music5";
_root.restart = true;
_root.ThemeTemp = 5;
}
Symbol 255 Button
on (release) {
_root.music = "music6";
_root.restart = true;
_root.ThemeTemp = 6;
}
Symbol 256 Button
on (release) {
_root.music = "music7";
_root.restart = true;
_root.ThemeTemp = 7;
}
Symbol 259 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 2
stop();
Symbol 270 MovieClip Frame 3
stop();
Symbol 270 MovieClip Frame 4
stop();
Symbol 275 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 18
stop();
Symbol 297 MovieClip Frame 35
stop();
Symbol 300 MovieClip Frame 5
stop();
Symbol 303 MovieClip Frame 5
stop();
Symbol 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 2
stop();
Symbol 305 MovieClip Frame 3
stop();
Symbol 306 MovieClip Frame 5
stop();
Symbol 318 MovieClip Frame 12
stop();
Symbol 323 MovieClip Frame 6
stop();
Symbol 330 MovieClip Frame 8
stop();
Symbol 339 MovieClip Frame 10
stop();
Symbol 344 MovieClip Frame 7
stop();
Symbol 350 MovieClip Frame 20
stop();
Symbol 351 MovieClip Frame 6
stop();
Symbol 352 MovieClip [balldie] Frame 1
stop();
Symbol 352 MovieClip [balldie] Frame 2
stop();
Symbol 352 MovieClip [balldie] Frame 3
stop();
Symbol 352 MovieClip [balldie] Frame 4
stop();
Symbol 352 MovieClip [balldie] Frame 5
stop();
Symbol 352 MovieClip [balldie] Frame 6
stop();
Symbol 352 MovieClip [balldie] Frame 7
stop();
Symbol 353 MovieClip Frame 1
stop();
loadball = true;
circleplay = true;
hitright = true;
hitcounter = 0;
balldienow = true;
_root.game.lifemove2 = 16;
_root.game.lifemove = false;
_root.game.paddlealpha2 = 0;
_root.game.backalpha2 = 0;
_root.game.outside_circle_hide._alpha = 100;
_root.game.paddle._alpha = 0;
_root.game.paddlealpha = false;
_root.game.backalpha = false;
_root.countdownstart = true;
_root.secondcount = 5;
_root.score = 0;
_root.bestscore = 0;
this.score1 = 4;
this.score2 = 0;
this.score3 = 0;
var beep1_sound = new Sound();
beep1_sound.attachSound("beep1");
var beep2_sound = new Sound();
beep2_sound.attachSound("beep2");
onEnterFrame = function () {
if (_root.gamestart == false) {
_root.secondcount--;
if (_root.secondcount == 0) {
_root.game.score1--;
LCDnumber();
if (_root.game.score1 == 0) {
beep2_sound.start();
_root.game.flashMC.gotoAndPlay(1);
_root.gamestart = true;
} else {
_root.game.LCDnumber1._alpha = 100;
_root.game.LCDnumber2._alpha = 100;
beep1_sound.start();
beep1_sound.setVolume(100);
if (this.score1 == 3) {
if (_root.game.bounding_circle._currentframe == 1) {
_root.game.bounding_circle.play();
}
}
if (this.score1 == 2) {
_root.game.backalpha = true;
}
if (this.score1 == 1) {
_root.game.lifemove = true;
_root.game.paddlealpha = true;
}
}
_root.secondcount = _root.secondcount + 32;
}
if (_root.game.lifemove == true) {
if (_root.game.lifemove2 > 0) {
_root.game.lifemove2--;
} else {
_root.game.lifemove2 = 0;
}
_root.lifeleft._x = _root.lifeleft._x - _root.game.lifemove2;
}
if (_root.game.paddlealpha == true) {
if (_root.game.paddlealpha2 < 98) {
_root.game.paddlealpha2 = _root.game.paddlealpha2 + 3;
} else {
_root.game.paddlealpha2 = 100;
}
_root.game.paddle._alpha = _root.game.paddlealpha2;
}
if (_root.game.backalpha == true) {
if (_root.game.backalpha2 < 98) {
_root.game.backalpha2 = _root.game.backalpha2 + 3;
} else {
_root.game.backalpha2 = 100;
}
_root.game.outside_circle_hide._alpha = 100 - _root.game.backalpha2;
}
}
if (_root.gamestart == true) {
if (_root.gamerestart == true) {
if (balldienow == true) {
this.attachMovie("balldie", "balldie", 3);
this.balldie.gotoAndStop(_root.ThemeVar);
this.balldie._x = this.ball._x;
this.balldie._y = this.ball._y;
this.balldie._rotation = this.ball._rotation;
removeMovieClip(ball);
if (_root.lives == 0) {
balldienow = false;
}
}
if (_root.lives > 0) {
_root.game.score1 = 0;
_root.game.score2 = 0;
if (_root.score > _root.bestscore) {
_root.bestscore = _root.score;
}
_root.score = 0;
LCDnumber();
GenerateBalls(1, this, bounding_circle);
_root.gamerestart = false;
}
}
if (_root.gamepaused == false) {
_root.game.ball._rotation = _root.game.ball._rotation + 5;
}
if (hitright == false) {
hitcounter++;
if (hitcounter > 6) {
hitright = true;
}
}
if (_root.gamelost == true) {
if (_root.rotateby == 0) {
if (circleplay == true) {
if (_root.lives == 0) {
_root.game.bounding_circle.play();
circleplay = false;
}
}
}
}
if (loadball == true) {
LCDnumber();
GenerateBalls(1, this, bounding_circle);
loadball = false;
}
}
MoveByAngle = function (mc, angle, power) {
if (_root.gamepaused == false) {
mc._x = mc._x + (Math.cos(angle) * power);
mc._y = mc._y + (Math.sin(angle) * power);
}
};
DistanceBetween = function (mc1, mc2) {
var dx = (mc2._x - mc1._x);
var dy = (mc2._y - mc1._y);
return(Math.sqrt((dx * dx) + (dy * dy)));
};
AngleBetween = function (mc1, mc2) {
var dx = (mc2._x - mc1._x);
var dy = (mc2._y - mc1._y);
return(Math.atan2(dy, dx));
};
BouncingBallEnterFrame = function () {
MoveByAngle(this, this.angle, this.power);
var origin_distance = DistanceBetween(this, this.bounding_mc);
if (_root.game.ball.hitTest(_root.game.paddle)) {
if ((origin_distance >= this.range) && ((origin_distance - this.range) < 10)) {
if (hitright == true) {
hitcounter = 0;
SparkWhenHit();
this.sparkhit = true;
_root.game.flashMC.gotoAndPlay(1);
_root.hithit = true;
_root.score++;
if (_root.game.score1 == 9) {
_root.game.score1 = 0;
if (_root.game.score2 == 9) {
_root.game.score2 = 0;
_root.game.score3++;
} else {
_root.game.score2++;
}
} else {
_root.game.score1++;
}
LCDnumber();
var origin_angle = AngleBetween(this, this.bounding_mc);
MoveByAngle(this, origin_angle, origin_distance - this.range);
var da = (origin_angle - this.angle);
this.angle = this.angle + (Math.PI + (2 * da));
if (ball.power < 6) {
ball.power++;
}
hitright = false;
}
}
}
};
GenerateBalls = function (count) {
var depth = 0;
var i = 0;
while (i < count) {
var ball = this.attachMovie("ball", "ball", 100);
ball.gotoAndStop(_root.ThemeVar);
ball.angle = (Math.PI*2) * Math.random(4);
ball.power = 3;
ball.bounding_mc = bounding_circle;
ball.range = (ball.bounding_mc._width / 2) - (ball._width / 2);
ball._x = ball.bounding_mc._x;
ball._y = ball.bounding_mc._y;
MoveByAngle(ball, (Math.PI*2) * Math.random(), 10);
ball.onEnterFrame = BouncingBallEnterFrame;
i++;
}
};
SparkWhenHit = function () {
this.attachMovie("spark", "spark", 2);
this.spark._x = this.ball._x;
this.spark._y = this.ball._y;
};
};
LCDnumber = function () {
_root.game.LCDnumber1.gotoAndPlay("switch");
_root.game.LCDnumber2.gotoAndPlay("switch");
_root.game.LCDnumber3.gotoAndPlay("switch");
_root.game.LCDnumber1.LCD1.gotoAndStop("switch");
_root.game.LCDnumber1.LCD2.gotoAndStop("switch");
_root.game.LCDnumber1.LCD3.gotoAndStop("switch");
_root.game.LCDnumber1.LCD4.gotoAndStop("switch");
_root.game.LCDnumber1.LCD5.gotoAndStop("switch");
_root.game.LCDnumber1.LCD6.gotoAndStop("switch");
_root.game.LCDnumber1.LCD7.gotoAndStop("switch");
_root.game.LCDnumber2.LCD1.gotoAndStop("switch");
_root.game.LCDnumber2.LCD2.gotoAndStop("switch");
_root.game.LCDnumber2.LCD3.gotoAndStop("switch");
_root.game.LCDnumber2.LCD4.gotoAndStop("switch");
_root.game.LCDnumber2.LCD5.gotoAndStop("switch");
_root.game.LCDnumber2.LCD6.gotoAndStop("switch");
_root.game.LCDnumber2.LCD7.gotoAndStop("switch");
_root.game.LCDnumber3.LCD1.gotoAndStop("switch");
_root.game.LCDnumber3.LCD2.gotoAndStop("switch");
_root.game.LCDnumber3.LCD3.gotoAndStop("switch");
_root.game.LCDnumber3.LCD4.gotoAndStop("switch");
_root.game.LCDnumber3.LCD5.gotoAndStop("switch");
_root.game.LCDnumber3.LCD6.gotoAndStop("switch");
_root.game.LCDnumber3.LCD7.gotoAndStop("switch");
if (_root.game.score1 == 0) {
_root.game.LCDnumber1.LCD1.gotoAndStop("on");
_root.game.LCDnumber1.LCD2.gotoAndStop("on");
_root.game.LCDnumber1.LCD3.gotoAndStop("on");
_root.game.LCDnumber1.LCD4.gotoAndStop("on");
_root.game.LCDnumber1.LCD5.gotoAndStop("on");
_root.game.LCDnumber1.LCD6.gotoAndStop("on");
_root.game.LCDnumber1.LCD7.gotoAndStop("off");
}
if (_root.game.score1 == 1) {
_root.game.LCDnumber1.LCD1.gotoAndStop("off");
_root.game.LCDnumber1.LCD2.gotoAndStop("on");
_root.game.LCDnumber1.LCD3.gotoAndStop("on");
_root.game.LCDnumber1.LCD4.gotoAndStop("off");
_root.game.LCDnumber1.LCD5.gotoAndStop("off");
_root.game.LCDnumber1.LCD6.gotoAndStop("off");
_root.game.LCDnumber1.LCD7.gotoAndStop("off");
}
if (_root.game.score1 == 2) {
_root.game.LCDnumber1.LCD1.gotoAndStop("on");
_root.game.LCDnumber1.LCD2.gotoAndStop("on");
_root.game.LCDnumber1.LCD3.gotoAndStop("off");
_root.game.LCDnumber1.LCD4.gotoAndStop("on");
_root.game.LCDnumber1.LCD5.gotoAndStop("on");
_root.game.LCDnumber1.LCD6.gotoAndStop("off");
_root.game.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.game.score1 == 3) {
_root.game.LCDnumber1.LCD1.gotoAndStop("on");
_root.game.LCDnumber1.LCD2.gotoAndStop("on");
_root.game.LCDnumber1.LCD3.gotoAndStop("on");
_root.game.LCDnumber1.LCD4.gotoAndStop("on");
_root.game.LCDnumber1.LCD5.gotoAndStop("off");
_root.game.LCDnumber1.LCD6.gotoAndStop("off");
_root.game.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.game.score1 == 4) {
_root.game.LCDnumber1.LCD1.gotoAndStop("off");
_root.game.LCDnumber1.LCD2.gotoAndStop("on");
_root.game.LCDnumber1.LCD3.gotoAndStop("on");
_root.game.LCDnumber1.LCD4.gotoAndStop("off");
_root.game.LCDnumber1.LCD5.gotoAndStop("off");
_root.game.LCDnumber1.LCD6.gotoAndStop("on");
_root.game.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.game.score1 == 5) {
_root.game.LCDnumber1.LCD1.gotoAndStop("on");
_root.game.LCDnumber1.LCD2.gotoAndStop("off");
_root.game.LCDnumber1.LCD3.gotoAndStop("on");
_root.game.LCDnumber1.LCD4.gotoAndStop("on");
_root.game.LCDnumber1.LCD5.gotoAndStop("off");
_root.game.LCDnumber1.LCD6.gotoAndStop("on");
_root.game.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.game.score1 == 6) {
_root.game.LCDnumber1.LCD1.gotoAndStop("on");
_root.game.LCDnumber1.LCD2.gotoAndStop("off");
_root.game.LCDnumber1.LCD3.gotoAndStop("on");
_root.game.LCDnumber1.LCD4.gotoAndStop("on");
_root.game.LCDnumber1.LCD5.gotoAndStop("on");
_root.game.LCDnumber1.LCD6.gotoAndStop("on");
_root.game.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.game.score1 == 7) {
_root.game.LCDnumber1.LCD1.gotoAndStop("on");
_root.game.LCDnumber1.LCD2.gotoAndStop("on");
_root.game.LCDnumber1.LCD3.gotoAndStop("on");
_root.game.LCDnumber1.LCD4.gotoAndStop("off");
_root.game.LCDnumber1.LCD5.gotoAndStop("off");
_root.game.LCDnumber1.LCD6.gotoAndStop("off");
_root.game.LCDnumber1.LCD7.gotoAndStop("off");
}
if (_root.game.score1 == 8) {
_root.game.LCDnumber1.LCD1.gotoAndStop("on");
_root.game.LCDnumber1.LCD2.gotoAndStop("on");
_root.game.LCDnumber1.LCD3.gotoAndStop("on");
_root.game.LCDnumber1.LCD4.gotoAndStop("on");
_root.game.LCDnumber1.LCD5.gotoAndStop("on");
_root.game.LCDnumber1.LCD6.gotoAndStop("on");
_root.game.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.game.score1 == 9) {
_root.game.LCDnumber1.LCD1.gotoAndStop("on");
_root.game.LCDnumber1.LCD2.gotoAndStop("on");
_root.game.LCDnumber1.LCD3.gotoAndStop("on");
_root.game.LCDnumber1.LCD4.gotoAndStop("on");
_root.game.LCDnumber1.LCD5.gotoAndStop("off");
_root.game.LCDnumber1.LCD6.gotoAndStop("on");
_root.game.LCDnumber1.LCD7.gotoAndStop("on");
}
if (_root.game.score2 == 0) {
_root.game.LCDnumber2.LCD1.gotoAndStop("on");
_root.game.LCDnumber2.LCD2.gotoAndStop("on");
_root.game.LCDnumber2.LCD3.gotoAndStop("on");
_root.game.LCDnumber2.LCD4.gotoAndStop("on");
_root.game.LCDnumber2.LCD5.gotoAndStop("on");
_root.game.LCDnumber2.LCD6.gotoAndStop("on");
_root.game.LCDnumber2.LCD7.gotoAndStop("off");
}
if (_root.game.score2 == 1) {
_root.game.LCDnumber2.LCD1.gotoAndStop("off");
_root.game.LCDnumber2.LCD2.gotoAndStop("on");
_root.game.LCDnumber2.LCD3.gotoAndStop("on");
_root.game.LCDnumber2.LCD4.gotoAndStop("off");
_root.game.LCDnumber2.LCD5.gotoAndStop("off");
_root.game.LCDnumber2.LCD6.gotoAndStop("off");
_root.game.LCDnumber2.LCD7.gotoAndStop("off");
}
if (_root.game.score2 == 2) {
_root.game.LCDnumber2.LCD1.gotoAndStop("on");
_root.game.LCDnumber2.LCD2.gotoAndStop("on");
_root.game.LCDnumber2.LCD3.gotoAndStop("off");
_root.game.LCDnumber2.LCD4.gotoAndStop("on");
_root.game.LCDnumber2.LCD5.gotoAndStop("on");
_root.game.LCDnumber2.LCD6.gotoAndStop("off");
_root.game.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.game.score2 == 3) {
_root.game.LCDnumber2.LCD1.gotoAndStop("on");
_root.game.LCDnumber2.LCD2.gotoAndStop("on");
_root.game.LCDnumber2.LCD3.gotoAndStop("on");
_root.game.LCDnumber2.LCD4.gotoAndStop("on");
_root.game.LCDnumber2.LCD5.gotoAndStop("off");
_root.game.LCDnumber2.LCD6.gotoAndStop("off");
_root.game.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.game.score2 == 4) {
_root.game.LCDnumber2.LCD1.gotoAndStop("off");
_root.game.LCDnumber2.LCD2.gotoAndStop("on");
_root.game.LCDnumber2.LCD3.gotoAndStop("on");
_root.game.LCDnumber2.LCD4.gotoAndStop("off");
_root.game.LCDnumber2.LCD5.gotoAndStop("off");
_root.game.LCDnumber2.LCD6.gotoAndStop("on");
_root.game.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.game.score2 == 5) {
_root.game.LCDnumber2.LCD1.gotoAndStop("on");
_root.game.LCDnumber2.LCD2.gotoAndStop("off");
_root.game.LCDnumber2.LCD3.gotoAndStop("on");
_root.game.LCDnumber2.LCD4.gotoAndStop("on");
_root.game.LCDnumber2.LCD5.gotoAndStop("off");
_root.game.LCDnumber2.LCD6.gotoAndStop("on");
_root.game.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.game.score2 == 6) {
_root.game.LCDnumber2.LCD1.gotoAndStop("on");
_root.game.LCDnumber2.LCD2.gotoAndStop("off");
_root.game.LCDnumber2.LCD3.gotoAndStop("on");
_root.game.LCDnumber2.LCD4.gotoAndStop("on");
_root.game.LCDnumber2.LCD5.gotoAndStop("on");
_root.game.LCDnumber2.LCD6.gotoAndStop("on");
_root.game.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.game.score2 == 7) {
_root.game.LCDnumber2.LCD1.gotoAndStop("on");
_root.game.LCDnumber2.LCD2.gotoAndStop("on");
_root.game.LCDnumber2.LCD3.gotoAndStop("on");
_root.game.LCDnumber2.LCD4.gotoAndStop("off");
_root.game.LCDnumber2.LCD5.gotoAndStop("off");
_root.game.LCDnumber2.LCD6.gotoAndStop("off");
_root.game.LCDnumber2.LCD7.gotoAndStop("off");
}
if (_root.game.score2 == 8) {
_root.game.LCDnumber2.LCD1.gotoAndStop("on");
_root.game.LCDnumber2.LCD2.gotoAndStop("on");
_root.game.LCDnumber2.LCD3.gotoAndStop("on");
_root.game.LCDnumber2.LCD4.gotoAndStop("on");
_root.game.LCDnumber2.LCD5.gotoAndStop("on");
_root.game.LCDnumber2.LCD6.gotoAndStop("on");
_root.game.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.game.score2 == 9) {
_root.game.LCDnumber2.LCD1.gotoAndStop("on");
_root.game.LCDnumber2.LCD2.gotoAndStop("on");
_root.game.LCDnumber2.LCD3.gotoAndStop("on");
_root.game.LCDnumber2.LCD4.gotoAndStop("on");
_root.game.LCDnumber2.LCD5.gotoAndStop("off");
_root.game.LCDnumber2.LCD6.gotoAndStop("on");
_root.game.LCDnumber2.LCD7.gotoAndStop("on");
}
if (_root.game.score3 == 0) {
_root.game.LCDnumber3._alpha = 0;
}
if (_root.game.score3 == 1) {
_root.game.LCDnumber3._alpha = 100;
_root.game.LCDnumber3.LCD1.gotoAndStop("off");
_root.game.LCDnumber3.LCD2.gotoAndStop("on");
_root.game.LCDnumber3.LCD3.gotoAndStop("on");
_root.game.LCDnumber3.LCD4.gotoAndStop("off");
_root.game.LCDnumber3.LCD5.gotoAndStop("off");
_root.game.LCDnumber3.LCD6.gotoAndStop("off");
_root.game.LCDnumber3.LCD7.gotoAndStop("off");
}
if (_root.game.score3 == 2) {
_root.game.LCDnumber3.LCD1.gotoAndStop("on");
_root.game.LCDnumber3.LCD2.gotoAndStop("on");
_root.game.LCDnumber3.LCD3.gotoAndStop("off");
_root.game.LCDnumber3.LCD4.gotoAndStop("on");
_root.game.LCDnumber3.LCD5.gotoAndStop("on");
_root.game.LCDnumber3.LCD6.gotoAndStop("off");
_root.game.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.game.score3 == 3) {
_root.game.LCDnumber3.LCD1.gotoAndStop("on");
_root.game.LCDnumber3.LCD2.gotoAndStop("on");
_root.game.LCDnumber3.LCD3.gotoAndStop("on");
_root.game.LCDnumber3.LCD4.gotoAndStop("on");
_root.game.LCDnumber3.LCD5.gotoAndStop("off");
_root.game.LCDnumber3.LCD6.gotoAndStop("off");
_root.game.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.game.score3 == 4) {
_root.game.LCDnumber3.LCD1.gotoAndStop("off");
_root.game.LCDnumber3.LCD2.gotoAndStop("on");
_root.game.LCDnumber3.LCD3.gotoAndStop("on");
_root.game.LCDnumber3.LCD4.gotoAndStop("off");
_root.game.LCDnumber3.LCD5.gotoAndStop("off");
_root.game.LCDnumber3.LCD6.gotoAndStop("on");
_root.game.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.game.score3 == 5) {
_root.game.LCDnumber3.LCD1.gotoAndStop("on");
_root.game.LCDnumber3.LCD2.gotoAndStop("off");
_root.game.LCDnumber3.LCD3.gotoAndStop("on");
_root.game.LCDnumber3.LCD4.gotoAndStop("on");
_root.game.LCDnumber3.LCD5.gotoAndStop("off");
_root.game.LCDnumber3.LCD6.gotoAndStop("on");
_root.game.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.game.score3 == 6) {
_root.game.LCDnumber3.LCD1.gotoAndStop("on");
_root.game.LCDnumber3.LCD2.gotoAndStop("off");
_root.game.LCDnumber3.LCD3.gotoAndStop("on");
_root.game.LCDnumber3.LCD4.gotoAndStop("on");
_root.game.LCDnumber3.LCD5.gotoAndStop("on");
_root.game.LCDnumber3.LCD6.gotoAndStop("on");
_root.game.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.game.score3 == 7) {
_root.game.LCDnumber3.LCD1.gotoAndStop("on");
_root.game.LCDnumber3.LCD2.gotoAndStop("on");
_root.game.LCDnumber3.LCD3.gotoAndStop("on");
_root.game.LCDnumber3.LCD4.gotoAndStop("off");
_root.game.LCDnumber3.LCD5.gotoAndStop("off");
_root.game.LCDnumber3.LCD6.gotoAndStop("off");
_root.game.LCDnumber3.LCD7.gotoAndStop("off");
}
if (_root.game.score3 == 8) {
_root.game.LCDnumber3.LCD1.gotoAndStop("on");
_root.game.LCDnumber3.LCD2.gotoAndStop("on");
_root.game.LCDnumber3.LCD3.gotoAndStop("on");
_root.game.LCDnumber3.LCD4.gotoAndStop("on");
_root.game.LCDnumber3.LCD5.gotoAndStop("on");
_root.game.LCDnumber3.LCD6.gotoAndStop("on");
_root.game.LCDnumber3.LCD7.gotoAndStop("on");
}
if (_root.game.score3 == 9) {
_root.game.LCDnumber3.LCD1.gotoAndStop("on");
_root.game.LCDnumber3.LCD2.gotoAndStop("on");
_root.game.LCDnumber3.LCD3.gotoAndStop("on");
_root.game.LCDnumber3.LCD4.gotoAndStop("on");
_root.game.LCDnumber3.LCD5.gotoAndStop("off");
_root.game.LCDnumber3.LCD6.gotoAndStop("on");
_root.game.LCDnumber3.LCD7.gotoAndStop("on");
}
};
Instance of Symbol 169 MovieClip "paddle" in Symbol 353 MovieClip Frame 1
onClipEvent (load) {
rotationvalue = 0;
}
onClipEvent (enterFrame) {
if (_root.gamepaused == false) {
if (_root.gamestart == true) {
this._rotation = this._rotation + rotationvalue;
if (_root.gamelost == false) {
if (Key.isDown(37)) {
if (rotationvalue > -10) {
rotationvalue = rotationvalue - 2;
}
}
if (Key.isDown(39)) {
if (rotationvalue < 10) {
rotationvalue = rotationvalue + 2;
}
}
if ((!Key.isDown(39)) && (!Key.isDown(37))) {
if (rotationvalue < 0) {
rotationvalue = rotationvalue + 2;
} else if (rotationvalue > 0) {
rotationvalue = rotationvalue - 2;
}
}
}
if (_root.gamelost == true) {
if (rotationvalue < 0) {
rotationvalue++;
} else if (rotationvalue > 0) {
rotationvalue--;
}
}
}
}
}
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 25
_root.nextFrame();
Symbol 372 Button
on (release) {
this.gotoAndStop(1);
_root.gamepaused = false;
}
on (keyPress "<Space>") {
if (_root.pauseplay == true) {
this.gotoAndStop(1);
_root.gamepaused = false;
_root.pauseplay = false;
}
}
on (keyPress "<Enter>") {
if (_root.pauseplay == true) {
this.gotoAndStop(1);
_root.gamepaused = false;
_root.pauseplay = false;
}
}
Symbol 374 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 18
stop();
Symbol 374 MovieClip Frame 25
_root.gotoAndPlay(5);
Symbol 384 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 4
play();
Symbol 385 Button
on (release) {
_root.blackout2.play();
}
Symbol 386 Button
on (release) {
_root.blackout1.play();
}
Symbol 387 Button
on (release) {
getURL ("http://rankz.armorbot.com/bounce_coil/", "_blank");
}
Symbol 388 Button
on (release) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = par3;
par227.c2NvcmUx = par4 + "Z";
par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U");
par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A");
par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y");
par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B");
par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
_root.SendMsg.gotoAndStop(3);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST");
}
if (_root.Inputname.text == "Enter Name Here") {
_root.SendMsg.gotoAndStop(4);
} else {
_root.SendMsg.gotoAndStop(2);
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.Inputname.text;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.bestscore;
__rankz_send__("MjE2MGolZSVhJW4lcw==", "YmVuRGhDems=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
_root.button._x = -300;
}
}
Symbol 389 Button
on (release) {
getURL ("http://www.newgrounds.com/", "_blank");
}
Symbol 391 MovieClip Frame 25
stop();
_root.countscore = true;
Symbol 393 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 25
_root.prevFrame();