STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228131
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/23997638?noj=FRM23997638-15DC" width="1" height="1"></div>

Ball Breaker.swf

This is the info page for
Flash #22032

(Click the ID number above for more basic data on this flash file.)


Text
LOADING

bonus1

bonus2

bonus3

bonus4

block

bonus5

START

BALL BREAKER

BIG PUDDLE

SMALL PUDDLE

SUPER BALL

WEAPONS

BOMB

vars

func

sounds

0

SCORE:

GAME OVER

LEVEL

0

LEVEL

GET

READY !

0

GET

READY !

ActionScript [AS1/AS2]

Frame 1
ifFrameLoaded (44) { gotoAndPlay (5); } fscommand ("allowscale", "false");
Frame 4
gotoAndPlay (1);
Frame 5
stop();
Instance of Symbol 13 MovieClip "block" in Frame 5
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.vars.numofblocks--; if (_root.vars.numofblocks < 1) { _root.vars.theLevel = _root.vars.theLevel + 1; i = 0; while (i < 500) { removeMovieClip(_root["hardblock" + i]); i++; } _root.gotoAndPlay("level"); } _root.sounds.blockhit_sfx.start(0.79, 1); num = random(50); if (num == 8) { if (517 < _root.vars.bonus1counter) { _root.vars.bonus1counter = 500; } _root.vars.bonus1counter++; duplicateMovieClip (_root.bonus1, "bonus1" + _root.vars.bonus1counter, _root.vars.bonus1counter); _root["bonus1" + _root.vars.bonus1counter]._x = _x; _root["bonus1" + _root.vars.bonus1counter]._y = _y; } if (num == 6) { if (537 < _root.vars.bonus2counter) { _root.vars.bonus2counter = 520; } _root.vars.bonus2counter++; duplicateMovieClip (_root.bonus2, "bonus2" + _root.vars.bonus2counter, _root.vars.bonus2counter); _root["bonus2" + _root.vars.bonus2counter]._x = _x; _root["bonus2" + _root.vars.bonus2counter]._y = _y; } if (num == 4) { if (557 < _root.vars.bonus3counter) { _root.vars.bonus3counter = 540; } _root.vars.bonus3counter++; duplicateMovieClip (_root.bonus3, "bonus3" + _root.vars.bonus3counter, _root.vars.bonus3counter); _root["bonus3" + _root.vars.bonus3counter]._x = _x; _root["bonus3" + _root.vars.bonus3counter]._y = _y; } if (num == 3) { if (577 < _root.vars.bonus4counter) { _root.vars.bonus4counter = 560; } _root.vars.bonus4counter++; duplicateMovieClip (_root.bonus4, "bonus4" + _root.vars.bonus4counter, _root.vars.bonus4counter); _root["bonus4" + _root.vars.bonus4counter]._x = _x; _root["bonus4" + _root.vars.bonus4counter]._y = _y; } if (num == 2) { if (597 < _root.vars.bonus5counter) { _root.vars.bonus5counter = 580; } _root.vars.bonus5counter++; duplicateMovieClip (_root.bonus5, "bonus5" + _root.vars.bonus5counter, _root.vars.bonus5counter); _root["bonus5" + _root.vars.bonus5counter]._x = _x; _root["bonus5" + _root.vars.bonus5counter]._y = _y; } if (_root.vars.fireball == 0) { if (((_root.ball._x < (_x + 10)) and ((_x - 10) < _root.ball._x)) and ((_y - 3.5) < _root.ball._y)) { _root.ball._y = (_y + (_height / 2)) + (_root.ball._height / 2); _root.vars.bally = _root.vars.bally * -1; _root.vars.score = _root.vars.score + Number(10); this.removeMovieClip(); } if (((_root.ball._x < (_x + 10)) and ((_x - 10) < _root.ball._x)) and (_root.ball._y < (_y + 3.5))) { _root.ball._y = (_y - (_height / 2)) - (_root.ball._height / 2); _root.vars.bally = _root.vars.bally * -1; _root.vars.score = _root.vars.score + Number(10); this.removeMovieClip(); } if (((_root.ball._x < (_x - 5)) and ((_y - 3.5) < _root.ball._y)) and (_root.ball._y < (_y + 3.5))) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.score = _root.vars.score + Number(10); this.removeMovieClip(); } if ((((_x + 5) < _root.ball._x) and ((_y - 3.5) < _root.ball._y)) and (_root.ball._y < (_y + 3.5))) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.score = _root.vars.score + Number(10); this.removeMovieClip(); } this.removeMovieClip(); } else { _root.vars.score = _root.vars.score + Number(10); this.removeMovieClip(); } } if (_root.vars.bullet == 1) { if (this.hitTest(_root.bullet1)) { _root.vars.numofblocks--; if (_root.vars.numofblocks < 1) { i = 0; while (i < 500) { removeMovieClip(_root["hardblock" + i]); i++; } _root.vars.theLevel = _root.vars.theLevel + 1; _root.gotoAndPlay("level"); } _root.sounds.blockhit_sfx.start(0.79, 1); num = random(50); if (num == 8) { if (517 < _root.vars.bonus1counter) { _root.vars.bonus1counter = 500; } _root.vars.bonus1counter++; duplicateMovieClip (_root.bonus1, "bonus1" + _root.vars.bonus1counter, _root.vars.bonus1counter); _root["bonus1" + _root.vars.bonus1counter]._x = _x; _root["bonus1" + _root.vars.bonus1counter]._y = _y; } if (num == 6) { if (537 < _root.vars.bonus2counter) { _root.vars.bonus2counter = 520; } _root.vars.bonus2counter++; duplicateMovieClip (_root.bonus2, "bonus2" + _root.vars.bonus2counter, _root.vars.bonus2counter); _root["bonus2" + _root.vars.bonus2counter]._x = _x; _root["bonus2" + _root.vars.bonus2counter]._y = _y; } if (num == 4) { if (557 < _root.vars.bonus3counter) { _root.vars.bonus3counter = 540; } _root.vars.bonus3counter++; duplicateMovieClip (_root.bonus3, "bonus3" + _root.vars.bonus3counter, _root.vars.bonus3counter); _root["bonus3" + _root.vars.bonus3counter]._x = _x; _root["bonus3" + _root.vars.bonus3counter]._y = _y; } if (num == 3) { if (577 < _root.vars.bonus4counter) { _root.vars.bonus4counter = 560; } _root.vars.bonus4counter++; duplicateMovieClip (_root.bonus4, "bonus4" + _root.vars.bonus4counter, _root.vars.bonus4counter); _root["bonus4" + _root.vars.bonus4counter]._x = _x; _root["bonus4" + _root.vars.bonus4counter]._y = _y; } if (num == 2) { if (597 < _root.vars.bonus5counter) { _root.vars.bonus5counter = 580; } _root.vars.bonus5counter++; duplicateMovieClip (_root.bonus5, "bonus5" + _root.vars.bonus5counter, _root.vars.bonus5counter); _root["bonus5" + _root.vars.bonus5counter]._x = _x; _root["bonus5" + _root.vars.bonus5counter]._y = _y; } _root.vars.score = _root.vars.score + Number(10); _root.vars.bullet = 0; _root.bullet1.removeMovieClip(); this.removeMovieClip(); } } }
Instance of Symbol 16 MovieClip "bonus1" in Frame 5
onClipEvent (enterFrame) { if (this.hitTest(_root.ship)) { _root.vars.bullet = 0; _root.vars.gun = 0; _root.ship.gotoAndStop(2); this.removeMovieClip(); } if (str ne "bonus1") { _y = (_y + 2); if (235 < _y) { this.removeMovieClip(); } } } onClipEvent (load) { str = _name; }
Instance of Symbol 23 MovieClip "bonus2" in Frame 5
onClipEvent (enterFrame) { if (str ne "bonus2") { if (235 < _y) { this.removeMovieClip(); } _y = (_y + 2); } if (this.hitTest(_root.ship)) { _root.vars.gameon = 0; Set("_root.vars.:ballx", 3); Set("_root.vars.:bally", -3); _root.gotoAndPlay("miss"); _root.func.miss(); this.removeMovieClip(); } } onClipEvent (load) { str = _name; }
Instance of Symbol 26 MovieClip "bonus3" in Frame 5
onClipEvent (enterFrame) { if (this.hitTest(_root.ship)) { _root.vars.bullet = 0; _root.vars.gun = 0; _root.ship.gotoAndStop(3); this.removeMovieClip(); } if (str ne "bonus3") { _y = (_y + 2); if (235 < _y) { this.removeMovieClip(); } } } onClipEvent (load) { str = _name; }
Instance of Symbol 32 MovieClip "bonus4" in Frame 5
onClipEvent (enterFrame) { if (this.hitTest(_root.ship)) { _root.ball.gotoAndStop(2); _root.vars.fireball = 1; this.removeMovieClip(); } if (str ne "bonus4") { _y = (_y + 2); if (235 < _y) { this.removeMovieClip(); } } } onClipEvent (load) { str = _name; }
Instance of Symbol 41 MovieClip "bonus5" in Frame 5
onClipEvent (enterFrame) { if (this.hitTest(_root.ship)) { _root.ship.gotoAndStop(4); _root.vars.gun = 1; this.removeMovieClip(); } if (str ne "bonus5") { _y = (_y + 2); if (235 < _y) { this.removeMovieClip(); } } } onClipEvent (load) { str = _name; }
Instance of Symbol 44 MovieClip "bullet" in Frame 5
onClipEvent (enterFrame) { if (str ne "bullet") { _y = (_y - 7); if (_y < 23) { _root.vars.bullet = 0; this.removeMovieClip(); } } } onClipEvent (load) { str = _name; }
Instance of Symbol 48 MovieClip "hardblock" in Frame 5
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { gotoAndPlay (6); if (_root.vars.fireball == 0) { if (((_root.ball._x < (_x + 10)) and ((_x - 10) < _root.ball._x)) and ((_y - 3.5) < _root.ball._y)) { _root.ball._y = (_y + (_height / 2)) + (_root.ball._height / 2); _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if (((_root.ball._x < (_x + 10)) and ((_x - 10) < _root.ball._x)) and (_root.ball._y < (_y + 3.5))) { _root.ball._y = (_y - (_height / 2)) - (_root.ball._height / 2); _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if (((_root.ball._x < (_x - 5)) and ((_y - 3.5) < _root.ball._y)) and (_root.ball._y < (_y + 3.5))) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((((_x + 5) < _root.ball._x) and ((_y - 3.5) < _root.ball._y)) and (_root.ball._y < (_y + 3.5))) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if (((_x + 10) < _root.ball._x) and ((_y + 3.5) < _root.ball._y)) { if ((_root.vars.ballx < 0) and (0 < _root.vars.bally)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (_root.vars.bally < 0)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((_root.vars.ballx < 0) and (_root.vars.bally < 0)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.ball._y = (_y + (_height / 2)) + (_root.ball._height / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } } if (((_x + 10) < _root.ball._x) and (_root.ball._y < (_y - 3.5))) { if ((_root.vars.ballx < 0) and (_root.vars.bally < 0)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (0 < _root.vars.bally)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((_root.vars.ballx < 0) and (0 < _root.vars.bally)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.ball._y = (_y - (_height / 2)) - (_root.ball._height / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } } if ((_root.ball._x < (_x - 10)) and (_root.ball._y < (_y - 3.5))) { if ((_root.vars.ballx < 0) and (0 < _root.vars.bally)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (_root.vars.bally < 0)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (0 < _root.vars.bally)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.ball._y = (_y - (_height / 2)) - (_root.ball._height / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } } if ((_root.ball._x < (_x - 10)) and ((_y + 3.5) < _root.ball._y)) { if ((_root.vars.ballx < 0) and (_root.vars.bally < 0)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (_root.vars.bally < 0)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (0 < _root.vars.bally)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.ball._y = (_y + (_height / 2)) + (_root.ball._height / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } } } else { _root.vars.score = _root.vars.score + Number(20); _root.sounds.blockhit_sfx.start(0.79, 1); this.removeMovieClip(); } } if (_root.vars.bullet == 1) { if (this.hitTest(_root.bullet1)) { _root.sounds.blockhit_sfx.start(0.79, 1); _root.vars.score = _root.vars.score + Number(20); _root.vars.bullet = 0; _root.bullet1.removeMovieClip(); this.removeMovieClip(); } } }
Frame 12
_root.func.drawblocks();
Instance of Symbol 79 MovieClip "ship" in Frame 12
onClipEvent (enterFrame) { if (_root.vars.gameon == 1) { quarter = _width / 4; leftpoint = 2 * quarter; rightpoint = 2 * quarter; if (key.isdown(key.LEFT)) { if ((1 + leftpoint) < _x) { this._x = this._x - _root.vars.:boardmove; } else { this._x = 0 + rightpoint; } } if (key.isdown(key.RIGHT)) { if (_x < (318 - rightpoint)) { this._x = this._x + _root.vars.:boardmove; } else { this._x = 319 - rightpoint; } } if (key.isdown(key.SPACE)) { if ((_root.vars.gun == 1) and (_root.vars.bullet == 0)) { _root.vars.bullet = 1; duplicateMovieClip (_root.bullet, "bullet1", 2000); _root.bullet1._x = _x; _root.bullet1._y = _y; } } if (key.isdown(key.SHIFT)) { _root.vars.shiftpressed = _root.vars.shiftpressed + 1; if (_root.vars.shiftpressed < 10) { _root.ball._x = _root.ball._x - 4; } } if (this.hitTest(_root.ball)) { if (_root.vars.fireball == 1) { _root.ball._y = _y - 14; } else { _root.ball._y = _y - 10; } if ((_root.ball._x < _x) and ((_x - quarter) < _root.ball._x)) { if (_root.vars.:ballx < 0) { Set("_root.vars.:bally", -3.5); Set("_root.vars.:ballx", -1.5); } else { Set("_root.vars.:bally", -3.5); Set("_root.vars.:ballx", -1.5); } } if ((_x < _root.ball._x) and (_root.ball._x < (_x + quarter))) { if (_root.vars.:ballx < 0) { Set("_root.vars.:bally", -3.5); Set("_root.vars.:ballx", 1.5); } else { Set("_root.vars.:bally", -3.5); Set("_root.vars.:ballx", 1.5); } } if (_root.ball._x < (_x - quarter)) { if (_root.vars.:ballx < 0) { Set("_root.vars.:ballx", -3); Set("_root.vars.:bally", -3); } else { Set("_root.vars.:ballx", -3); Set("_root.vars.:bally", -3); } } if ((_x + quarter) < _root.ball._x) { if (_root.vars.:ballx < 0) { Set("_root.vars.:ballx", 3); Set("_root.vars.:bally", -3); } else { Set("_root.vars.:ballx", 3); Set("_root.vars.:bally", -3); } } _root.sounds.ballhitship_sfx.start(0.09, 1); } } }
Instance of Symbol 83 MovieClip "ball" in Frame 12
onClipEvent (enterFrame) { if (_root.vars.gameon == 1) { if (316 < _x) { _root.sounds.ballhit_sfx.start(0.1, 1); _root.ball._x = 315; Set("_root.vars.:ballx", _root.vars.:ballx * -1); } if (_x < 4) { _root.sounds.ballhit_sfx.start(0.1, 1); _root.ball._x = 5; Set("_root.vars.:ballx", _root.vars.:ballx * -1); } if (_y < 22) { _root.sounds.ballhit_sfx.start(0.1, 1); Set("_root.vars.:bally", _root.vars.:bally * -1); } if (270 < _y) { _root.func.miss(); if (4 < _root.vars.miss) { _root.gotoAndPlay("over"); } else { _root.gotoAndPlay("miss"); } _root.vars.gameon = 0; Set("_root.vars.:ballx", 3); Set("_root.vars.:bally", -3); } _x = (_x + _root.vars.:ballx); _y = (_y + _root.vars.:bally); updateAfterEvent(); } }
Instance of Symbol 13 MovieClip "block" in Frame 12
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.vars.numofblocks--; if (_root.vars.numofblocks < 1) { _root.vars.theLevel = _root.vars.theLevel + 1; i = 0; while (i < 500) { removeMovieClip(_root["hardblock" + i]); i++; } _root.gotoAndPlay("level"); } _root.sounds.blockhit_sfx.start(0.79, 1); num = random(50); if (num == 8) { if (517 < _root.vars.bonus1counter) { _root.vars.bonus1counter = 500; } _root.vars.bonus1counter++; duplicateMovieClip (_root.bonus1, "bonus1" + _root.vars.bonus1counter, _root.vars.bonus1counter); _root["bonus1" + _root.vars.bonus1counter]._x = _x; _root["bonus1" + _root.vars.bonus1counter]._y = _y; } if (num == 6) { if (537 < _root.vars.bonus2counter) { _root.vars.bonus2counter = 520; } _root.vars.bonus2counter++; duplicateMovieClip (_root.bonus2, "bonus2" + _root.vars.bonus2counter, _root.vars.bonus2counter); _root["bonus2" + _root.vars.bonus2counter]._x = _x; _root["bonus2" + _root.vars.bonus2counter]._y = _y; } if (num == 4) { if (557 < _root.vars.bonus3counter) { _root.vars.bonus3counter = 540; } _root.vars.bonus3counter++; duplicateMovieClip (_root.bonus3, "bonus3" + _root.vars.bonus3counter, _root.vars.bonus3counter); _root["bonus3" + _root.vars.bonus3counter]._x = _x; _root["bonus3" + _root.vars.bonus3counter]._y = _y; } if (num == 3) { if (577 < _root.vars.bonus4counter) { _root.vars.bonus4counter = 560; } _root.vars.bonus4counter++; duplicateMovieClip (_root.bonus4, "bonus4" + _root.vars.bonus4counter, _root.vars.bonus4counter); _root["bonus4" + _root.vars.bonus4counter]._x = _x; _root["bonus4" + _root.vars.bonus4counter]._y = _y; } if (num == 2) { if (597 < _root.vars.bonus5counter) { _root.vars.bonus5counter = 580; } _root.vars.bonus5counter++; duplicateMovieClip (_root.bonus5, "bonus5" + _root.vars.bonus5counter, _root.vars.bonus5counter); _root["bonus5" + _root.vars.bonus5counter]._x = _x; _root["bonus5" + _root.vars.bonus5counter]._y = _y; } if (_root.vars.fireball == 0) { if (((_root.ball._x < (_x + 10)) and ((_x - 10) < _root.ball._x)) and ((_y - 3.5) < _root.ball._y)) { _root.ball._y = (_y + (_height / 2)) + (_root.ball._height / 2); _root.vars.bally = _root.vars.bally * -1; _root.vars.score = _root.vars.score + Number(10); this.removeMovieClip(); } if (((_root.ball._x < (_x + 10)) and ((_x - 10) < _root.ball._x)) and (_root.ball._y < (_y + 3.5))) { _root.ball._y = (_y - (_height / 2)) - (_root.ball._height / 2); _root.vars.bally = _root.vars.bally * -1; _root.vars.score = _root.vars.score + Number(10); this.removeMovieClip(); } if (((_root.ball._x < (_x - 5)) and ((_y - 3.5) < _root.ball._y)) and (_root.ball._y < (_y + 3.5))) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.score = _root.vars.score + Number(10); this.removeMovieClip(); } if ((((_x + 5) < _root.ball._x) and ((_y - 3.5) < _root.ball._y)) and (_root.ball._y < (_y + 3.5))) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.score = _root.vars.score + Number(10); this.removeMovieClip(); } this.removeMovieClip(); } else { _root.vars.score = _root.vars.score + Number(10); this.removeMovieClip(); } } if (_root.vars.bullet == 1) { if (this.hitTest(_root.bullet1)) { _root.vars.numofblocks--; if (_root.vars.numofblocks < 1) { i = 0; while (i < 500) { removeMovieClip(_root["hardblock" + i]); i++; } _root.vars.theLevel = _root.vars.theLevel + 1; _root.gotoAndPlay("level"); } _root.sounds.blockhit_sfx.start(0.79, 1); num = random(50); if (num == 8) { if (517 < _root.vars.bonus1counter) { _root.vars.bonus1counter = 500; } _root.vars.bonus1counter++; duplicateMovieClip (_root.bonus1, "bonus1" + _root.vars.bonus1counter, _root.vars.bonus1counter); _root["bonus1" + _root.vars.bonus1counter]._x = _x; _root["bonus1" + _root.vars.bonus1counter]._y = _y; } if (num == 6) { if (537 < _root.vars.bonus2counter) { _root.vars.bonus2counter = 520; } _root.vars.bonus2counter++; duplicateMovieClip (_root.bonus2, "bonus2" + _root.vars.bonus2counter, _root.vars.bonus2counter); _root["bonus2" + _root.vars.bonus2counter]._x = _x; _root["bonus2" + _root.vars.bonus2counter]._y = _y; } if (num == 4) { if (557 < _root.vars.bonus3counter) { _root.vars.bonus3counter = 540; } _root.vars.bonus3counter++; duplicateMovieClip (_root.bonus3, "bonus3" + _root.vars.bonus3counter, _root.vars.bonus3counter); _root["bonus3" + _root.vars.bonus3counter]._x = _x; _root["bonus3" + _root.vars.bonus3counter]._y = _y; } if (num == 3) { if (577 < _root.vars.bonus4counter) { _root.vars.bonus4counter = 560; } _root.vars.bonus4counter++; duplicateMovieClip (_root.bonus4, "bonus4" + _root.vars.bonus4counter, _root.vars.bonus4counter); _root["bonus4" + _root.vars.bonus4counter]._x = _x; _root["bonus4" + _root.vars.bonus4counter]._y = _y; } if (num == 2) { if (597 < _root.vars.bonus5counter) { _root.vars.bonus5counter = 580; } _root.vars.bonus5counter++; duplicateMovieClip (_root.bonus5, "bonus5" + _root.vars.bonus5counter, _root.vars.bonus5counter); _root["bonus5" + _root.vars.bonus5counter]._x = _x; _root["bonus5" + _root.vars.bonus5counter]._y = _y; } _root.vars.score = _root.vars.score + Number(10); _root.vars.bullet = 0; _root.bullet1.removeMovieClip(); this.removeMovieClip(); } } }
Instance of Symbol 84 MovieClip "bonus1" in Frame 12
onClipEvent (enterFrame) { if (this.hitTest(_root.ship)) { _root.vars.bullet = 0; _root.vars.gun = 0; _root.ship.gotoAndStop(2); this.removeMovieClip(); } if (str ne "bonus1") { _y = (_y + 2); if (255 < _y) { this.removeMovieClip(); } } } onClipEvent (load) { str = _name; }
Instance of Symbol 85 MovieClip "bonus2" in Frame 12
onClipEvent (enterFrame) { if (str ne "bonus2") { if (255 < _y) { this.removeMovieClip(); } _y = (_y + 2); } if (this.hitTest(_root.ship)) { if (3 < _root.vars.miss) { _root.gotoAndPlay("over"); } else { _root.gotoAndPlay("miss"); } _root.vars.gameon = 0; Set("_root.vars.:ballx", 3); Set("_root.vars.:bally", -3); _root.func.miss(); this.removeMovieClip(); } } onClipEvent (load) { str = _name; }
Instance of Symbol 86 MovieClip "bonus3" in Frame 12
onClipEvent (enterFrame) { if (this.hitTest(_root.ship)) { _root.vars.bullet = 0; _root.vars.gun = 0; _root.ship.gotoAndStop(3); this.removeMovieClip(); } if (str ne "bonus3") { _y = (_y + 2); if (255 < _y) { this.removeMovieClip(); } } } onClipEvent (load) { str = _name; }
Instance of Symbol 87 MovieClip "bonus4" in Frame 12
onClipEvent (enterFrame) { if (this.hitTest(_root.ship)) { _root.ball.gotoAndStop(2); _root.vars.fireball = 1; this.removeMovieClip(); } if (str ne "bonus4") { _y = (_y + 2); if (255 < _y) { this.removeMovieClip(); } } } onClipEvent (load) { str = _name; }
Instance of Symbol 88 MovieClip "bonus5" in Frame 12
onClipEvent (enterFrame) { if (this.hitTest(_root.ship)) { _root.ship.gotoAndStop(4); _root.vars.gun = 1; this.removeMovieClip(); } if (str ne "bonus5") { _y = (_y + 2); if (255 < _y) { this.removeMovieClip(); } } } onClipEvent (load) { str = _name; }
Instance of Symbol 44 MovieClip "bullet" in Frame 12
onClipEvent (enterFrame) { if (str ne "bullet") { _y = (_y - 7); if (_y < 23) { _root.vars.bullet = 0; this.removeMovieClip(); } } } onClipEvent (load) { str = _name; }
Instance of Symbol 48 MovieClip "hardblock" in Frame 12
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { gotoAndPlay (6); if (_root.vars.fireball == 0) { if (((_root.ball._x < (_x + 10)) and ((_x - 10) < _root.ball._x)) and ((_y - 3.5) < _root.ball._y)) { _root.ball._y = (_y + (_height / 2)) + (_root.ball._height / 2); _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if (((_root.ball._x < (_x + 10)) and ((_x - 10) < _root.ball._x)) and (_root.ball._y < (_y + 3.5))) { _root.ball._y = (_y - (_height / 2)) - (_root.ball._height / 2); _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if (((_root.ball._x < (_x - 5)) and ((_y - 3.5) < _root.ball._y)) and (_root.ball._y < (_y + 3.5))) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((((_x + 5) < _root.ball._x) and ((_y - 3.5) < _root.ball._y)) and (_root.ball._y < (_y + 3.5))) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if (((_x + 10) < _root.ball._x) and ((_y + 3.5) < _root.ball._y)) { if ((_root.vars.ballx < 0) and (0 < _root.vars.bally)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (_root.vars.bally < 0)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((_root.vars.ballx < 0) and (_root.vars.bally < 0)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.ball._y = (_y + (_height / 2)) + (_root.ball._height / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } } if (((_x + 10) < _root.ball._x) and (_root.ball._y < (_y - 3.5))) { if ((_root.vars.ballx < 0) and (_root.vars.bally < 0)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (0 < _root.vars.bally)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((_root.vars.ballx < 0) and (0 < _root.vars.bally)) { _root.ball._x = (_x + (_width / 2)) + (_root.ball._width / 2); _root.ball._y = (_y - (_height / 2)) - (_root.ball._height / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } } if ((_root.ball._x < (_x - 10)) and (_root.ball._y < (_y - 3.5))) { if ((_root.vars.ballx < 0) and (0 < _root.vars.bally)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (_root.vars.bally < 0)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (0 < _root.vars.bally)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.ball._y = (_y - (_height / 2)) - (_root.ball._height / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } } if ((_root.ball._x < (_x - 10)) and ((_y + 3.5) < _root.ball._y)) { if ((_root.vars.ballx < 0) and (_root.vars.bally < 0)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (_root.vars.bally < 0)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.vars.bally = _root.vars.bally * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } if ((0 < _root.vars.ballx) and (0 < _root.vars.bally)) { _root.ball._x = (_x - (_width / 2)) - (_root.ball._width / 2); _root.ball._y = (_y + (_height / 2)) + (_root.ball._height / 2); _root.vars.ballx = _root.vars.ballx * -1; _root.sounds.blockhit_sfx.start(0.79, 1); } } } else { _root.vars.score = _root.vars.score + Number(20); _root.sounds.blockhit_sfx.start(0.79, 1); this.removeMovieClip(); } } if (_root.vars.bullet == 1) { if (this.hitTest(_root.bullet1)) { _root.sounds.blockhit_sfx.start(0.79, 1); _root.vars.score = _root.vars.score + Number(20); _root.vars.bullet = 0; _root.bullet1.removeMovieClip(); this.removeMovieClip(); } } }
Instance of Symbol 94 MovieClip "vars" in Frame 12
onClipEvent (load) { function setLevel(theLevel) { if (theLevel == 1) { linesnum = 9; l1 = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0]; l2 = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0]; l3 = [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0]; l4 = [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]; l5 = [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]; l6 = [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0]; l7 = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0]; l8 = [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0]; l1color = [0, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, 0]; l2color = [0, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, 0]; l3color = [0, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, 0]; l4color = [0, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, 0]; l5color = [0, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, 0]; l6color = [0, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, 0]; l7color = [0, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, 0]; l8color = [0, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, orange, 0]; } if (theLevel == 2) { linesnum = 11; l1 = [1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1]; l2 = [1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1]; l3 = [1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1]; l4 = [1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0]; l5 = [0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1]; l6 = [0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1]; l7 = [1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1]; l8 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; l9 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; l10 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; l1color = [cream, cream, 0, cream, cream, cream, 0, cream, cream, cream, 0, cream, cream, cream]; l2color = [cream, 0, 0, 0, cream, 0, 0, cream, 0, cream, 0, cream, 0, cream]; l3color = [cream, 0, 0, 0, cream, 0, 0, cream, 0, cream, 0, cream, 0, cream]; l4color = [cream, cream, 0, 0, cream, 0, 0, cream, cream, cream, 0, cream, cream, 0]; l5color = [0, cream, 0, 0, cream, 0, 0, cream, 0, cream, 0, cream, 0, cream]; l6color = [0, cream, 0, 0, cream, 0, 0, cream, 0, cream, 0, cream, 0, cream]; l7color = [cream, cream, 0, 0, cream, 0, 0, cream, 0, cream, 0, cream, 0, cream]; l9color = [grey, orange, grey, orange, grey, orange, grey, orange, grey, orange, grey, orange, grey, orange]; l10color = [grey, orange, grey, orange, grey, orange, grey, orange, grey, orange, grey, orange, grey, orange]; } if (theLevel == 3) { linesnum = 9; l1 = [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l2 = [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1]; l3 = [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l4 = [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1]; l5 = [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l6 = [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1]; l7 = [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l8 = [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1]; l1color = [red, 0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0]; l2color = [0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0]; l3color = [green, 0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0]; l4color = [0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0]; l5color = [red, 0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0]; l6color = [0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0]; l7color = [green, 0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0]; l8color = [0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0]; } if (theLevel == 4) { linesnum = 9; l1 = [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l2 = [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1]; l3 = [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l4 = [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1]; l5 = [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l6 = [0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1]; l7 = [1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l8 = [2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1]; l1color = [red, 0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0]; l2color = [0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0]; l3color = [green, 0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0]; l4color = [0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0]; l5color = [red, 0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0]; l6color = [0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0]; l7color = [green, 0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0]; l8color = [0, green, 0, red, 0, green, 0, red, 0, green, 0, red, 0, green, 0]; } if (theLevel == 5) { linesnum = 9; l1 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; l2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; l3 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 0]; l4 = [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 0]; l5 = [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0]; l6 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0]; l7 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0]; l8 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0]; l1color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l2color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l3color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l4color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l5color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l6color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l7color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; } if (theLevel == 6) { linesnum = 9; l1 = [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2]; l2 = [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2]; l3 = [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2]; l4 = [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2]; l5 = [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2]; l6 = [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2]; l7 = [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2]; l8 = [1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2]; l1color = [yellow, 0, red, 0, yellow, 0, red, 0, yellow, 0, red, 0, yellow]; l2color = [yellow, 0, red, 0, yellow, 0, red, 0, yellow, 0, red, 0, yellow]; l3color = [yellow, 0, red, 0, yellow, 0, red, 0, yellow, 0, red, 0, yellow]; l4color = [yellow, 0, red, 0, yellow, 0, red, 0, yellow, 0, red, 0, yellow]; l5color = [yellow, 0, red, 0, yellow, 0, red, 0, yellow, 0, red, 0, yellow]; l6color = [yellow, 0, red, 0, yellow, 0, red, 0, yellow, 0, red, 0, yellow]; l7color = [yellow, 0, red, 0, yellow, 0, red, 0, yellow, 0, red, 0, yellow]; l8color = [yellow, 0, red, 0, yellow, 0, red, 0, yellow, 0, red, 0, yellow]; } if (theLevel == 7) { linesnum = 10; l1 = [1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0]; l2 = [0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l3 = [0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l4 = [1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l5 = [1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l6 = [1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0]; l7 = [1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0]; l8 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; l9 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1]; l1color = [red, red, red, red, red, red, red, red, red, red, red, red, red, red]; l2color = [red, red, red, red, red, red, red, red, red, red, red, red, red, red]; l3color = [red, red, red, red, red, red, red, red, red, red, red, red, red, red]; l4color = [red, red, red, red, red, red, red, red, red, red, red, red, red, red]; l5color = [red, red, red, red, red, red, red, red, red, red, red, red, red, red]; l6color = [red, red, red, red, red, red, red, red, red, red, red, red, red, red]; l7color = [red, red, red, red, red, red, red, red, red, red, red, red, red, red]; l8color = [red, red, red, red, red, red, red, red, red, red, red, red, red, red]; l9color = [red, red, red, red, red, red, red, red, red, red, red, red, red, yellow]; } if (theLevel == 8) { linesnum = 11; l1 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; l2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; l3 = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0]; l4 = [0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]; l5 = [0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0]; l6 = [0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0]; l7 = [0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0]; l8 = [0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0]; l9 = [0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]; l10 = [0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0]; l1color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l2color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l3color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l4color = [yellow, yellow, yellow, yellow, blue, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l5color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l6color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, red, red, yellow, red, red, yellow]; l7color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, red, red, yellow, red, red, yellow]; l8color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l9color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l10color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; } if (theLevel == 9) { linesnum = 14; l1 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; l2 = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]; l3 = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]; l4 = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]; l5 = [1, 0, 0, 0, 0, 2, 0, 0, 2, 0, 0, 0, 0, 1]; l6 = [1, 0, 0, 0, 0, 2, 1, 1, 2, 0, 0, 0, 0, 1]; l7 = [1, 0, 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 1]; l8 = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]; l9 = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]; l10 = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]; l11 = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]; l12 = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; l1color = [yellow, cyan, yellow, cyan, yellow, cyan, yellow, cyan, yellow, cyan, yellow, cyan, yellow, cyan]; l2color = [cyan, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l3color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, cyan]; l4color = [cyan, yellow, yellow, yellow, blue, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l5color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, cyan]; l6color = [cyan, yellow, yellow, yellow, yellow, yellow, yellow, yellow, red, red, yellow, red, red, yellow]; l7color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, red, red, yellow, red, red, cyan]; l8color = [cyan, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l9color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, cyan]; l10color = [cyan, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow]; l11color = [yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, yellow, cyan]; l12color = [cyan, yellow, cyan, yellow, cyan, yellow, cyan, yellow, cyan, yellow, cyan, yellow, cyan, yellow]; } if (theLevel == 10) { linesnum = 14; l1 = [2, 0, 0, 2, 0, 0, 1, 1, 0, 0, 2, 0, 0, 0]; l2 = [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0]; l3 = [0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0]; l4 = [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]; l5 = [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]; l6 = [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]; l7 = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0]; l8 = [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0]; l9 = [0, 2, 0, 0, 0, 0, 2, 1, 2, 0, 0, 0, 0, 0]; l10 = [0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0]; l11 = [0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0]; l12 = [2, 0, 0, 0, 0, 1, 0, 1, 0, 0, 2, 0, 0, 0]; l13 = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2]; l1color = [0, 0, 0, 0, 0, 0, green, green]; l2color = [0, 0, 0, 0, green, green, red, red, green, green]; l3color = [0, 0, green, green, red, red, red, red, red, red, green, green]; l4color = [0, green, red, red, red, red, red, red, red, red, red, red, green]; l5color = [0, green, red, red, red, red, red, red, red, red, red, red, green]; l6color = [0, green, green, green, green, green, green, green, green, green, green, green, green]; l7color = [0, 0, 0, 0, 0, 0, 0, purple]; l8color = [0, 0, 0, 0, 0, 0, 0, purple]; l9color = [0, 0, 0, 0, 0, 0, 0, purple]; l10color = [0, 0, 0, 0, 0, 0, 0, purple]; l11color = [0, 0, 0, 0, 0, purple, 0, purple]; l12color = [0, 0, 0, 0, 0, purple, 0, purple]; l13color = [0, 0, 0, 0, 0, 0, purple, 0]; } } green = 6933340 /* 0x69CB5C */; red = 8138013 /* 0x7C2D1D */; orange = 15502080 /* 0xEC8B00 */; blue = 1772; yellow = 15134208 /* 0xE6EE00 */; purple = 15466690 /* 0xEC00C2 */; cyan = 15198535 /* 0xE7E947 */; cream = 14071345 /* 0xD6B631 */; grey = 9134104 /* 0x8B6018 */; boardmove = 6; ballx = 3; bally = 3; gameon = 1; shiftpressed = 0; bonus1counter = 500; bonus2counter = 520; bonus3counter = 540; bonus4counter = 560; bonus5counter = 580; bonus6counter = 600; numofblocks = 0; gun = 0; bullet = 0; miss = 0; fireball = 0; theLevel = 1; score = Number(0); setLevel(theLevel); }
Instance of Symbol 97 MovieClip "func" in Frame 12
onClipEvent (load) { function drawblocks() { line = 1; while (line < _root.vars.linesnum) { item = 0; while (item < 14) { if (_root.vars["l" + line][item] == 1) { blockscounter++; duplicateMovieClip (_root.block, "block" + blockscounter, blockscounter); _root.vars.numofblocks++; _root["block" + blockscounter]._x = cornerx + (item * 22); _root["block" + blockscounter]._y = cornery; myColor = new Color(_root["block" + blockscounter].cube); myColor.setRGB(_root.vars[("l" + line) + "color"][item]); } if (_root.vars["l" + line][item] == 2) { blockscounter++; duplicateMovieClip (_root.hardblock, "hardblock" + blockscounter, blockscounter); _root["hardblock" + blockscounter]._x = cornerx + (item * 22); _root["hardblock" + blockscounter]._y = cornery; } item++; } cornery = cornery + 9; line++; } } function miss() { i = 500; while (i < 520) { removeMovieClip(_root["bonus1" + i]); i++; } i = 520; while (i < 540) { removeMovieClip(_root["bonus2" + i]); i++; } i = 540; while (i < 560) { removeMovieClip(_root["bonus3" + i]); i++; } i = 560; while (i < 580) { removeMovieClip(_root["bonus4" + i]); i++; } i = 580; while (i < 600) { removeMovieClip(_root["bonus5" + i]); i++; } _root.vars.fireball = 0; _root.ball.gotoAndStop(1); _root.ship.gotoAndStop(1); _root.vars.bullet = 0; _root.vars.gun = 0; _root.vars.miss = _root.vars.miss + 1; _root["psila" + _root.vars.miss]._visible = false; } function clearblocks() { i = 1; while (i < 499) { removeMovieClip(_root["block" + i]); i++; } i = 1; while (i < 499) { removeMovieClip(_root["hardblock" + i]); i++; } i = 500; while (i < 520) { removeMovieClip(_root["bonus1" + i]); i++; } i = 520; while (i < 540) { removeMovieClip(_root["bonus2" + i]); i++; } i = 540; while (i < 560) { removeMovieClip(_root["bonus3" + i]); i++; } i = 560; while (i < 580) { removeMovieClip(_root["bonus4" + i]); i++; } i = 580; while (i < 600) { removeMovieClip(_root["bonus5" + i]); i++; } } function init() { with (_root.vars) { green = 1179448 /* 0x11FF38 */; red = 15597663 /* 0xEE005F */; orange = 15502080 /* 0xEC8B00 */; blue = 1772; yellow = 15134208 /* 0xE6EE00 */; purple = 15466690 /* 0xEC00C2 */; cyan = 4907230 /* 0x4AE0DE */; boardmove = 6; ballx = 3; bally = 3; gameon = 1; shiftpressed = 0; bonus1counter = 500; bonus2counter = 520; bonus3counter = 540; bonus4counter = 560; bonus5counter = 580; bonus6counter = 600; numofblocks = 0; gun = 0; bullet = 0; miss = 0; fireball = 0; theLevel = 1; score = Number(0); _root.ball.gotoAndStop(1); _root.ship.gotoAndStop(1); } } cornerx = 15; cornery = 40; theColor = 16621877 /* 0xFDA135 */; blockscounter = 0; }
Instance of Symbol 100 MovieClip "sounds" in Frame 12
onClipEvent (load) { ballhit_sfx = new Sound(); fire_sfx = new Sound(); ballhitship_sfx = new Sound(); blockhit_sfx = new Sound(); blockhit_sfx.attachSound("blockhit"); ballhitship_sfx.attachSound("ballhitship_sfx"); ballhit_sfx.attachSound("laser"); fire_sfx.attachSound("laser"); }
Frame 13
stop();
Frame 16
duplicateMovieClip (getready, "getready1", 2000); getready1._visible = true; getready1._x = getready._x; getready1._y = getready._y; getready1.gotoAndPlay(2);
Frame 17
stop();
Frame 22
stop();
Frame 29
_root.vars.ballx = 3; _root.vars.bally = 3; _root.vars.bonus1counter = 500; _root.vars.bonus2counter = 520; _root.vars.bonus3counter = 540; _root.vars.bonus4counter = 560; _root.vars.bonus5counter = 580; _root.vars.bonus6counter = 600; _root.vars.numofblocks = 0; _root.vars.gun = 0; _root.vars.bullet = 0; _root.vars.fireball = 0; _root.vars.gameon = 0; _root.vars.shiftpressed = 0; _root.func.cornerx = 15; _root.func.cornery = 40; _root.func.blockscounter = 0; _root.ball.gotoAndStop(1); _root.ship.gotoAndStop(1); _root.ball._x = _root.ship._x; _root.ball._y = _root.ship._y - 20; i = 0; while (i < 500) { removeMovieClip(_root["hardblock" + i]); i++; } i = 500; while (i < 520) { removeMovieClip(_root["bonus1" + i]); i++; } i = 520; while (i < 540) { removeMovieClip(_root["bonus2" + i]); i++; } i = 540; while (i < 560) { removeMovieClip(_root["bonus3" + i]); i++; } i = 560; while (i < 580) { removeMovieClip(_root["bonus4" + i]); i++; } i = 580; while (i < 600) { removeMovieClip(_root["bonus5" + i]); i++; } if (_root.vars.theLevel == 11) { _root.vars.score = Number(0); _root.vars.theLevel = 1; gotoAndStop (5); }
Frame 30
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 56 Button
on (release) { gotoAndPlay (29); }
Symbol 73 Button
on (press) { getURL ("http://www.star-interactive.com", "_blank"); }
Symbol 79 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 2
stop();
Symbol 79 MovieClip Frame 3
stop();
Symbol 79 MovieClip Frame 4
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 2
stop();
Symbol 104 Button
on (press) { getURL ("http://www.star-interactive.com", "_blank"); }
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
play();
Symbol 107 MovieClip Frame 55
_root.ball._x = 160; _root.ball._y = 220; _root.vars.gameon = 1; _root.gotoAndPlay("game1"); removeMovieClip(this);
Symbol 110 MovieClip Frame 100
_root.func.clearblocks();
Symbol 110 MovieClip Frame 103
_root.func.init(); _root.gotoAndPlay(1);
Symbol 121 MovieClip Frame 70
_root.vars.gameon = 1; _root.vars.setLevel(_root.vars.theLevel); _root.gotoAndStop("game"); gotoAndStop (1);

Library Items

Symbol 1 Sound [ballhitship_sfx]
Symbol 2 Sound [laser]
Symbol 3 Sound [blockhit]
Symbol 4 FontUsed by:5 27 28 29 33 34 42 93 96 99
Symbol 5 TextUses:4Used by:8
Symbol 6 GraphicUsed by:8
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:5 6 7Used by:Timeline
Symbol 9 GraphicUsed by:Timeline
Symbol 10 GraphicUsed by:13
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:13
Symbol 13 MovieClipUses:10 12Used by:Timeline
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:16 59 84
Symbol 16 MovieClipUses:15Used by:Timeline
Symbol 17 GraphicUsed by:23 60 85
Symbol 18 GraphicUsed by:23 60 85
Symbol 19 GraphicUsed by:23 60 85
Symbol 20 GraphicUsed by:23 60 85
Symbol 21 GraphicUsed by:23 60 85
Symbol 22 GraphicUsed by:23 60 85
Symbol 23 MovieClipUses:17 18 19 20 21 22Used by:Timeline
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:26 61 86
Symbol 26 MovieClipUses:25Used by:Timeline
Symbol 27 TextUses:4Used by:Timeline
Symbol 28 TextUses:4Used by:Timeline
Symbol 29 TextUses:4Used by:Timeline
Symbol 30 GraphicUsed by:32 62 87
Symbol 31 GraphicUsed by:32 62 87
Symbol 32 MovieClipUses:30 31Used by:Timeline
Symbol 33 TextUses:4Used by:Timeline
Symbol 34 TextUses:4Used by:Timeline
Symbol 35 GraphicUsed by:41 63 88
Symbol 36 GraphicUsed by:41 63 88
Symbol 37 GraphicUsed by:41 63 88
Symbol 38 GraphicUsed by:41 63 88
Symbol 39 GraphicUsed by:41 63 88
Symbol 40 GraphicUsed by:41 63 88
Symbol 41 MovieClipUses:35 36 37 38 39 40Used by:Timeline
Symbol 42 TextUses:4Used by:Timeline
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:Timeline
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:45 46 47Used by:Timeline
Symbol 49 GraphicUsed by:Timeline
Symbol 50 GraphicUsed by:Timeline
Symbol 51 GraphicUsed by:Timeline
Symbol 52 GraphicUsed by:56
Symbol 53 FontUsed by:54 57 101 102 108 112 113 114 115 116 117 118 120
Symbol 54 TextUses:53Used by:56
Symbol 55 GraphicUsed by:56
Symbol 56 ButtonUses:52 54 55Used by:Timeline
Symbol 57 TextUses:53Used by:Timeline
Symbol 58 GraphicUsed by:Timeline
Symbol 59 MovieClipUses:15Used by:Timeline
Symbol 60 MovieClipUses:17 18 19 20 21 22Used by:Timeline
Symbol 61 MovieClipUses:25Used by:Timeline
Symbol 62 MovieClipUses:30 31Used by:Timeline
Symbol 63 MovieClipUses:35 36 37 38 39 40Used by:Timeline
Symbol 64 FontUsed by:65 66 67 68 69
Symbol 65 TextUses:64Used by:Timeline
Symbol 66 TextUses:64Used by:Timeline
Symbol 67 TextUses:64Used by:Timeline
Symbol 68 TextUses:64Used by:Timeline
Symbol 69 TextUses:64Used by:Timeline
Symbol 70 GraphicUsed by:71 73 104
Symbol 71 MovieClipUses:70Used by:73 104
Symbol 72 GraphicUsed by:73 104
Symbol 73 ButtonUses:71 72 70Used by:Timeline
Symbol 74 GraphicUsed by:Timeline
Symbol 75 GraphicUsed by:79
Symbol 76 GraphicUsed by:79
Symbol 77 GraphicUsed by:79
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:75 76 77 78Used by:Timeline
Symbol 80 GraphicUsed by:83
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:83
Symbol 83 MovieClipUses:80 82Used by:Timeline
Symbol 84 MovieClipUses:15Used by:Timeline
Symbol 85 MovieClipUses:17 18 19 20 21 22Used by:Timeline
Symbol 86 MovieClipUses:25Used by:Timeline
Symbol 87 MovieClipUses:30 31Used by:Timeline
Symbol 88 MovieClipUses:35 36 37 38 39 40Used by:Timeline
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClipUses:89Used by:Timeline
Symbol 91 GraphicUsed by:Timeline
Symbol 92 GraphicUsed by:94
Symbol 93 TextUses:4Used by:94
Symbol 94 MovieClipUses:92 93Used by:Timeline
Symbol 95 GraphicUsed by:97
Symbol 96 TextUses:4Used by:97
Symbol 97 MovieClipUses:95 96Used by:Timeline
Symbol 98 GraphicUsed by:100
Symbol 99 TextUses:4Used by:100
Symbol 100 MovieClipUses:98 99Used by:Timeline
Symbol 101 EditableTextUses:53Used by:Timeline
Symbol 102 EditableTextUses:53Used by:Timeline
Symbol 103 GraphicUsed by:Timeline
Symbol 104 ButtonUses:71 72 70Used by:Timeline
Symbol 105 GraphicUsed by:107
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:105 106Used by:Timeline
Symbol 108 TextUses:53Used by:109
Symbol 109 MovieClipUses:108Used by:110
Symbol 110 MovieClipUses:109Used by:Timeline
Symbol 111 GraphicUsed by:121
Symbol 112 TextUses:53Used by:121
Symbol 113 EditableTextUses:53Used by:121
Symbol 114 TextUses:53Used by:121
Symbol 115 TextUses:53Used by:121
Symbol 116 TextUses:53Used by:121
Symbol 117 EditableTextUses:53Used by:121
Symbol 118 TextUses:53Used by:121
Symbol 119 FontUsed by:120
Symbol 120 TextUses:53 119Used by:121
Symbol 121 MovieClipUses:111 112 113 114 115 116 117 118 120Used by:Timeline

Instance Names

"block"Frame 5Symbol 13 MovieClip
"bonus1"Frame 5Symbol 16 MovieClip
"bonus2"Frame 5Symbol 23 MovieClip
"bonus3"Frame 5Symbol 26 MovieClip
"bonus4"Frame 5Symbol 32 MovieClip
"bonus5"Frame 5Symbol 41 MovieClip
"bullet"Frame 5Symbol 44 MovieClip
"hardblock"Frame 5Symbol 48 MovieClip
"ship"Frame 12Symbol 79 MovieClip
"ball"Frame 12Symbol 83 MovieClip
"block"Frame 12Symbol 13 MovieClip
"bonus1"Frame 12Symbol 84 MovieClip
"bonus2"Frame 12Symbol 85 MovieClip
"bonus3"Frame 12Symbol 86 MovieClip
"bonus4"Frame 12Symbol 87 MovieClip
"bonus5"Frame 12Symbol 88 MovieClip
"bullet"Frame 12Symbol 44 MovieClip
"hardblock"Frame 12Symbol 48 MovieClip
"psila1"Frame 12Symbol 90 MovieClip
"psila2"Frame 12Symbol 90 MovieClip
"psila3"Frame 12Symbol 90 MovieClip
"psila4"Frame 12Symbol 90 MovieClip
"vars"Frame 12Symbol 94 MovieClip
"func"Frame 12Symbol 97 MovieClip
"sounds"Frame 12Symbol 100 MovieClip
"getready"Frame 16Symbol 107 MovieClip
"gameover"Frame 21Symbol 110 MovieClip
"levelanim"Frame 30Symbol 121 MovieClip
"cube"Symbol 13 MovieClip Frame 1Symbol 12 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "ballhitship_sfx"
ExportAssets (56)Timeline Frame 1Symbol 2 as "laser"
ExportAssets (56)Timeline Frame 1Symbol 3 as "blockhit"

Labels

"menu"Frame 5
"game"Frame 12
"game1"Frame 13
"miss"Frame 16
"over"Frame 21
"level"Frame 29
"home"Symbol 71 MovieClip Frame 1

Dynamic Text Variables

_root.vars.scoreSymbol 101 EditableText"0 "
TextField8Symbol 102 EditableText"SCORE:"
_root.vars.theLevelSymbol 113 EditableText"0"
_root.vars.theLevelSymbol 117 EditableText"0"




http://swfchan.com/5/22032/info.shtml
Created: 27/5 -2019 06:52:21 Last modified: 27/5 -2019 06:52:21 Server time: 15/05 -2024 12:38:35