STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #47657 |
JAVA- GAMING .COM |
JAVA- GAMING .COM |
PLAY |
INSTRUCTIONS |
HIGH SCORES |
MORE GAMES |
JAVA-GAMING.COM |
CREDITS |
SHAPE WARS |
This is you. Use the mouse to move, left-click to shoot, and hold the spacebar to anchor yourself in place. You shoot three basic projectiles...circles, squares and triangles. Use the 'A' key to switch to circles, 'S' for squares, and 'D' for triangles. Your remaining life is indicated next to the heart symbol. This is the enemy shape generator. It is not hurt by normal shots. It will not harm you if you touch it, but you will be knocked backwards. If you have the defense shield powerup and touch it, you will lose the powerup. Only the pentagon powerup shot can hurt it and it takes a lot of shots to kill. These are the basic enemy types. Each enemy can only be killed by matching your projectile to it's shape. As the game progresses they will start to shoot and chase you. They fire star-shaped shots. |
D |
D |
M |
M |
P |
P |
O |
O |
If you get far enough in the game, bigger 'boss' shapes will start to appear. These take more than one shot to kill and carry their life bar inside of them. You must also match your projectile shapes with bosses to kill them. These are the three projectile powerups in the game. 'M' is Multi-fire, which gives you 3-way fire. 'P' is piercing shots. This powerup allows your bullets to penetrate standard enemies. 'O' is pentagon shots which can kill any type of shape. You have a limited number of each for every powerup you collect. The amount is indicated at the top next to their symbols. This the defense shield powerup. It will make you 'super' for a short amount of time. While you are super-powered, enemies can't hurt you and you can kill them by merely touching them. You turn green/purple when you are super. Your outline will turn purple when it is about to run out. |
Progamming - Flashninjaclan.com(me) Graphics - RushVision of Flashkit Music - NG Portal(Forgot The name, if you know, tell me) Inspiration - Coolio Niato's Color Wars game. |
Score: |
M |
P |
O |
SUBMIT |
SUBMIT |
GAME OVER |
GAME OVER |
NAME: |
SCORE: |
ActionScript [AS1/AS2]
Frame 1stop(); MochiAd.showPreGameAd({id:"194db9a9ffbdcc90", res:"550x400"}); mochi.MochiServices.connect("194db9a9ffbdcc90");Instance of Symbol 9 MovieClip "progressbar" in Frame 1onClipEvent (load) { totalFileSize = _root.getBytesTotal(); this._xscale = 0; } onClipEvent (enterFrame) { bytesLoaded = _root.getBytesLoaded(); amountLoaded = bytesLoaded / totalFileSize; percentLoaded = int(100 * amountLoaded); this._xscale = percentLoaded; _root.loadingMessage = percentLoaded + "%"; if (amountLoaded >= 1) { } }Frame 2stop();Frame 3stop();Frame 4stop();Frame 5stop();Frame 6stop(); mochi.MochiScores.showLeaderboard({boardID:"c6135f8907a8453b"});Frame 7_root.gotoAndPlay("menu");Frame 8_global.sound = 1; _global.killedoctos = 0; killoctos = 0; playsound2 = new Sound(this); playsound2.attachSound("shapewars"); playsound2.start(1, 100000); playsound3 = new Sound(this); playsound3.attachSound("NICEDING"); playsound4 = new Sound(this); playsound4.attachSound("DINGS"); shotval = 1; multishot = 0; pierceshot = 0; octoshot = 0; deflector = 0; life = 11; distance = 1; score = 0; starshotcount = 1; _global.score = 0; stop();Instance of Symbol 85 MovieClip "dor" in Frame 8onClipEvent (load) { startDrag (this, true); }Instance of Symbol 87 MovieClip "trishot" in Frame 8onClipEvent (load) { if (this._name == "trishot") { this._visible = false; } else { this._visible = true; } this.shotmovespeed = 30; this._x = _root.yourdude._x; this._y = _root.yourdude._y; this.xdis = this._x - _root.dor._x; this.ydis = this._y - _root.dor._y; this.totaldist = Math.sqrt((this.xdis * this.xdis) + (this.ydis * this.ydis)); if (this.val == 1) { this.xspeed = (this.xdis / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; } else if (this.val == 2) { if (Math.abs(this.ydis) > Math.abs(this.xdis)) { this.xdis = this.xdis + 1.5; } else if (Math.abs(this.xdis) > Math.abs(this.ydis)) { this.ydis = this.ydis + 1.5; } this.xspeed = (this.xdis / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; if (this.xdis == this.ydis) { this.xspeed = this.xspeed + 5; } } else if (this.val == 3) { if (Math.abs(this.ydis) > Math.abs(this.xdis)) { this.xdis = this.xdis - 1.5; } else if (Math.abs(this.xdis) > Math.abs(this.ydis)) { this.ydis = this.ydis - 1.5; } this.xspeed = ((this.xdis - 1.5) / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; if (this.xdis == this.ydis) { this.xspeed = this.xspeed - 5; } } } onClipEvent (enterFrame) { if (this._name != "trishot") { this._x = this._x - this.xspeed; this._y = this._y - this.yspeed; if ((((this._x > 560) || (this._x < -10)) || (this._y > 410)) || (this._y < -10)) { this.removeMovieClip(); } i = 1; while (i <= 15) { if (this.hitTest(_root["triangleenemy" + i]) && (_root["triangleenemy" + i].dead == 0)) { _root["triangleenemy" + i].gotoAndPlay(2); if (_root.pierceshot <= 0) { this.removeMovieClip(); } } if (this.hitTest(_root["bigtriangle" + i]) && (_root["bigtriangle" + i].dead == 0)) { _root["bigtriangle" + i].lives--; this.removeMovieClip(); } if ((this.hitTest(_root["morphboss" + i]) && (_root["morphboss" + i].dead == 0)) && (_root["morphboss" + i].val == 3)) { _root["morphboss" + i].lives--; this.removeMovieClip(); } i++; } } }Instance of Symbol 89 MovieClip "sqshot" in Frame 8onClipEvent (load) { if (this._name == "sqshot") { this._visible = false; } else { this._visible = true; } this.shotmovespeed = 30; this._x = _root.yourdude._x; this._y = _root.yourdude._y; this.xdis = this._x - _root.dor._x; this.ydis = this._y - _root.dor._y; this.totaldist = Math.sqrt((this.xdis * this.xdis) + (this.ydis * this.ydis)); if (this.val == 1) { this.xspeed = (this.xdis / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; } else if (this.val == 2) { if (Math.abs(this.ydis) > Math.abs(this.xdis)) { this.xdis = this.xdis + 1.5; } else if (Math.abs(this.xdis) > Math.abs(this.ydis)) { this.ydis = this.ydis + 1.5; } this.xspeed = (this.xdis / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; if (this.xdis == this.ydis) { this.xspeed = this.xspeed + 5; } } else if (this.val == 3) { if (Math.abs(this.ydis) > Math.abs(this.xdis)) { this.xdis = this.xdis - 1.5; } else if (Math.abs(this.xdis) > Math.abs(this.ydis)) { this.ydis = this.ydis - 1.5; } this.xspeed = ((this.xdis - 1.5) / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; if (this.xdis == this.ydis) { this.xspeed = this.xspeed - 5; } } } onClipEvent (enterFrame) { if (this._name != "sqshot") { this._x = this._x - this.xspeed; this._y = this._y - this.yspeed; if ((((this._x > 560) || (this._x < -10)) || (this._y > 410)) || (this._y < -10)) { this.removeMovieClip(); } i = 1; while (i <= 15) { if (this.hitTest(_root["squareenemy" + i]) && (_root["squareenemy" + i].dead == 0)) { _root["squareenemy" + i].gotoAndPlay(2); if (_root.pierceshot <= 0) { this.removeMovieClip(); } } if (this.hitTest(_root["bigsquare" + i]) && (_root["bigsquare" + i].dead == 0)) { _root["bigsquare" + i].lives--; this.removeMovieClip(); } if ((this.hitTest(_root["morphboss" + i]) && (_root["morphboss" + i].dead == 0)) && (_root["morphboss" + i].val == 1)) { _root["morphboss" + i].lives--; this.removeMovieClip(); } i++; } } }Instance of Symbol 91 MovieClip "circleshot" in Frame 8onClipEvent (load) { if (this._name == "circleshot") { this._visible = false; } else { this._visible = true; } this.shotmovespeed = 30; this._x = _root.yourdude._x; this._y = _root.yourdude._y; this.xdis = this._x - _root.dor._x; this.ydis = this._y - _root.dor._y; this.totaldist = Math.sqrt((this.xdis * this.xdis) + (this.ydis * this.ydis)); if (this.val == 1) { this.xspeed = (this.xdis / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; } else if (this.val == 2) { if (Math.abs(this.ydis) > Math.abs(this.xdis)) { this.xdis = this.xdis + 1.5; } else if (Math.abs(this.xdis) > Math.abs(this.ydis)) { this.ydis = this.ydis + 1.5; } this.xspeed = (this.xdis / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; if (this.xdis == this.ydis) { this.xspeed = this.xspeed + 5; } } else if (this.val == 3) { if (Math.abs(this.ydis) > Math.abs(this.xdis)) { this.xdis = this.xdis - 1.5; } else if (Math.abs(this.xdis) > Math.abs(this.ydis)) { this.ydis = this.ydis - 1.5; } this.xspeed = ((this.xdis - 1.5) / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; if (this.xdis == this.ydis) { this.xspeed = this.xspeed - 5; } } } onClipEvent (enterFrame) { if (this._name != "circleshot") { this._x = this._x - this.xspeed; this._y = this._y - this.yspeed; if ((((this._x > 560) || (this._x < -10)) || (this._y > 410)) || (this._y < -10)) { this.removeMovieClip(); } i = 1; while (i <= 15) { if (this.hitTest(_root["circleenemy" + i]) && (_root["circleenemy" + i].dead == 0)) { _root["circleenemy" + i].gotoAndPlay(2); if (_root.pierceshot <= 0) { this.removeMovieClip(); } } if (this.hitTest(_root["bigcircle" + i]) && (_root["bigcircle" + i].dead == 0)) { _root["bigcircle" + i].lives--; this.removeMovieClip(); } if ((this.hitTest(_root["morphboss" + i]) && (_root["morphboss" + i].dead == 0)) && (_root["morphboss" + i].val == 2)) { _root["morphboss" + i].lives--; this.removeMovieClip(); } i++; } } }Instance of Symbol 128 MovieClip "polygonenemy" in Frame 8onClipEvent (load) { function reset() { if (this._name == "polygonenemy") { this._visible = false; } else { this._visible = true; } this._y = 500; this.barhit = 0; this._x = random(200) + 150; this.countcirc = 1; this.counttri = 1; this.countsquare = 1; this.countbigcirc = 1; this.countmorph = 99; this.countbigtrian = 1; this.countbigsquare = 1; this.bigtriangles = 1; this.bigcircs = 1; this.morphs = 1; this.bigsquares = 1; this.ccount = 1; this.sqcount = 1; this.tricount = 1; this.xspeed = (random(3) + 3) - random(7); this.yspeed = (-random(5)) - 1; if (this.xspeed == 0) { this.xspeed = 2; } if (this.yspeed == 0) { this.yspeed = 2; } this.lives = 50; this.dead = 0; } this.reset(); } onClipEvent (enterFrame) { if (this._name != "polygonenemy") { this.countbigsquare++; this.countmorph++; this.countbigtrian++; this.countcirc++; this.counttri++; this.countsquare++; this.countbigcirc++; this.bigbar.gotoAndPlay(51 - this.lives); if ((this.lives <= 0) && (this.dead == 0)) { this.play(); } i = 1; while (i <= 4) { if ((i == 1) || (i == 3)) { if (this.hitTest(_root["pillar" + i])) { this.xspeed = -this.xspeed; } } else if (i == 2) { if (this.hitTest(_root["pillar" + i])) { this.yspeed = -this.yspeed; this.barhit = 1; } } else if (i == 4) { if (this.hitTest(_root["pillar" + i]) && (this.barhit == 1)) { this.yspeed = -this.yspeed; } } i++; } if (_root.distance > 100) { this._x = this._x + this.xspeed; } this._y = this._y + this.yspeed; if (((this.countcirc % 70) == 0) && (_root.distance > 100)) { _root.circleenemy.duplicateMovieClip("circleenemy" + this.ccount, this.ccount + 2100, circleenemy); _root["circleenemy" + this.ccount]._x = this._x; _root["circleenemy" + this.ccount]._y = this._y; this.ccount++; if (this.ccount > 15) { this.ccount = 1; } } if (((this.counttri % 85) == 0) && (_root.distance > 450)) { _root.triangleenemy.duplicateMovieClip("triangleenemy" + this.tricount, this.tricount + 2200, triangleenemy); _root["triangleenemy" + this.tricount]._x = this._x; _root["triangleenemy" + this.tricount]._y = this._y; this.tricount++; if (this.tricount > 15) { this.tricount = 1; } } if (((this.countsquare % 95) == 0) && (_root.distance > 800)) { _root.squareenemy.duplicateMovieClip("squareenemy" + this.sqcount, this.sqcount + 2300, squareenemy); _root["squareenemy" + this.sqcount]._x = this._x; _root["squareenemy" + this.sqcount]._y = this._y; this.sqcount++; if (this.sqcount > 15) { this.sqcount = 1; } } if (((this.countbigcirc % 200) == 0) && (_root.distance > 1500)) { _root.bigcircle.duplicateMovieClip("bigcircle" + this.bigcircs, this.bigcircs + 4100, bigcircle); _root["bigcircle" + this.bigcircs]._x = this._x; _root["bigcircle" + this.bigcircs]._y = this._y; this.bigcircs++; if (this.bigcircs > 6) { this.bigcircs = 1; } } if (((this.countbigtrian % 250) == 0) && (_root.distance > 2000)) { _root.bigtriangle.duplicateMovieClip("bigtriangle" + this.bigtriangles, this.bigtriangles + 4200, bigtriangle); _root["bigtriangle" + this.bigtriangles]._x = this._x; _root["bigtriangle" + this.bigtriangles]._y = this._y; this.bigtriangles++; if (this.bigtriangles > 6) { this.bigtriangles = 1; } } if (((this.countbigsquare % 300) == 0) & (_root.distance > 2600)) { _root.bigsquare.duplicateMovieClip("bigsquare" + this.bigsquares, this.bigsquares + 4300, bigsquare); _root["bigsquare" + this.bigsquares]._x = this._x; _root["bigsquare" + this.bigsquares]._y = this._y; this.bigsquares++; if (this.bigsquares > 6) { this.bigsquares = 1; } } if (((this.countmorph % 400) == 0) && (_root.distance > 3000)) { _root.morphboss.duplicateMovieClip("morphboss" + this.morphs, this.morphs + 4400, morphboss); _root["morphboss" + this.morphs]._x = this._x; _root["morphboss" + this.morphs]._y = this._y; this.morphs++; if (this.morphs > 4) { this.morphs = 1; } } if ((this.hitTest(_root.yourdude) && (_root.yourdude.bounce == 0)) && (this.dead == 0)) { _root.yourdude.gotoAndPlay(4); _root.deflector = 0; _root.yourdude.deflectioncount = 150; if (this._x > _root.yourdude._x) { _root.yourdude.xspeed = -30; } else { _root.yourdude.xspeed = 30; } if (this._y >= _root.yourdude._y) { _root.yourdude.yspeed = -30; } else { _root.yourdude.yspeed = 30; } } } }Instance of Symbol 130 MovieClip in Frame 8onClipEvent (load) { _root.polygonenemy.duplicateMovieClip("polygonenemy1", 7001, polygonenemy); } onClipEvent (enterFrame) { _root.distance++; _global.score = _root.score; _global.killedoctos = _root.killedoctos; if ((_root.life <= 0) && (_root.yourdude.dead == 0)) { _root.polygonenemy.swapDepths(9999); _root.polygonenemy.removeMovieClip(); _root.polygonenemy1.removeMovieClip(); _root.morphboss.swapDepths(9998); _root.morphboss.removeMovieClip(); _root.bigcircle.swapDepths(9997); _root.bigcircle.removeMovieClip(); _root.bigsquare.swapDepths(9996); _root.bigsquare.removeMovieClip(); _root.bigtriangle.swapDepths(9995); _root.bigtriangle.removeMovieClip(); _root.triangleenemy.swapDepths(9994); _root.triangleenemy.removeMovieClip(); _root.circleenemy.swapDepths(9993); _root.circleenemy.removeMovieClip(); _root.squareenemy.swapDepths(9992); _root.squareenemy.removeMovieClip(); _root.starshot.swapDepths(9991); _root.starshot.removeMovieClip(); _root.circleshot.swapDepths(9990); _root.circleshot.removeMovieClip(); _root.sqshot.swapDepths(9989); _root.sqshot.removeMovieClip(); _root.trishot.swapDepths(9988); _root.trishot.removeMovieClip(); _root.polyshot.swapDepths(9987); _root.polyshot.removeMovieClip(); _root.pup.swapDepths(9986); _root.pup.removeMovieClip(); _root.deflectorup.swapDepths(9985); _root.deflectorup.removeMovieClip(); _root.octoup.swapDepths(9984); _root.octoup.removeMovieClip(); _root.multiup.swapDepths(9983); _root.multiup.removeMovieClip(); _root.background.swapDepths(9982); _root.background.removeMovieClip(); i = 1; while (i <= 35) { _root["morphboss" + i].removeMovieClip(); _root["bigcircle" + i].removeMovieClip(); _root["bigsquare" + i].removeMovieClip(); _root["bigtriangle" + i].removeMovieClip(); _root["triangleenemy" + i].removeMovieClip(); _root["circleenemy" + i].removeMovieClip(); _root["squareenemy" + i].removeMovieClip(); _root["starshot" + i].removeMovieClip(); _root["circleshot" + i].removeMovieClip(); _root["sqshot" + i].removeMovieClip(); _root["trishot" + i].removeMovieClip(); _root["polyshot" + i].removeMovieClip(); i++; } _root.yourdude.gotoAndPlay(5); _root.gotoAndPlay("gameover"); } if (Key.isDown(65)) { _root.shotval = 1; _root.background.gotoAndStop(1); } else if (Key.isDown(83)) { _root.shotval = 2; _root.background.gotoAndStop(2); } else if (Key.isDown(68)) { _root.shotval = 3; _root.background.gotoAndStop(3); } }Instance of Symbol 131 MovieClip "multiup" in Frame 8onClipEvent (load) { function reset() { this._visible = false; this.count = 1; this._x = random(400) + 50; this._y = random(300) + 50; } this.reset(); } onClipEvent (enterFrame) { this.count++; if ((this.count > 150) && (_root.distance > 750)) { this._visible = true; } if ((this._visible == true) && (this.hitTest(_root.yourdude))) { _root.multishot = _root.multishot + 20; this.reset(); } }Instance of Symbol 132 MovieClip "octoup" in Frame 8onClipEvent (load) { function reset() { this._visible = false; this.count = 1; this._x = random(400) + 50; this._y = random(300) + 50; } this.reset(); } onClipEvent (enterFrame) { this.count++; if ((this.count > 300) && (_root.distance > 1200)) { this._visible = true; } if ((this._visible == true) && (this.hitTest(_root.yourdude))) { _root.octoshot = _root.octoshot + 20; this.reset(); } }Instance of Symbol 133 MovieClip "deflectorup" in Frame 8onClipEvent (load) { function reset() { this._visible = false; this.count = 1; this._x = random(400) + 50; this._y = random(300) + 50; } this.reset(); } onClipEvent (enterFrame) { this.count++; if ((this.count > 600) && (_root.distance > 1600)) { this._visible = true; } if ((this._visible == true) && (this.hitTest(_root.yourdude))) { _root.deflector = 1; _root.yourdude.gotoAndPlay(2); this.reset(); } }Instance of Symbol 135 MovieClip "polyshot" in Frame 8onClipEvent (load) { if (this._name == "polyshot") { this._visible = false; } else { this._visible = true; } this.shotmovespeed = 30; this._x = _root.yourdude._x; this._y = _root.yourdude._y; this.xdis = this._x - _root.dor._x; this.ydis = this._y - _root.dor._y; this.totaldist = Math.sqrt((this.xdis * this.xdis) + (this.ydis * this.ydis)); if (this.val == 1) { this.xspeed = (this.xdis / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; } else if (this.val == 2) { if (Math.abs(this.ydis) > Math.abs(this.xdis)) { this.xdis = this.xdis + 1.5; } else if (Math.abs(this.xdis) > Math.abs(this.ydis)) { this.ydis = this.ydis + 1.5; } this.xspeed = (this.xdis / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; if (this.xdis == this.ydis) { this.xspeed = this.xspeed + 5; } } else if (this.val == 3) { if (Math.abs(this.ydis) > Math.abs(this.xdis)) { this.xdis = this.xdis - 1.5; } else if (Math.abs(this.xdis) > Math.abs(this.ydis)) { this.ydis = this.ydis - 1.5; } this.xspeed = ((this.xdis - 1.5) / this.totaldist) * this.shotmovespeed; this.yspeed = (this.ydis / this.totaldist) * this.shotmovespeed; if (this.xdis == this.ydis) { this.xspeed = this.xspeed - 5; } } } onClipEvent (enterFrame) { if (this._name != "polyshot") { this._x = this._x - this.xspeed; this._y = this._y - this.yspeed; if ((((this._x > 560) || (this._x < -10)) || (this._y > 410)) || (this._y < -10)) { this.removeMovieClip(); } if (this.hitTest(_root.polygonenemy1.redcenter)) { _root.polygonenemy1.lives = _root.polygonenemy1.lives - 2; this.removeMovieClip(); } i = 1; while (i <= 15) { if (this.hitTest(_root["bigcircle" + i]) && (_root["bigcircle" + i].dead == 0)) { _root["bigcircle" + i].lives--; this.removeMovieClip(); } if (this.hitTest(_root["bigtriangle" + i]) && (_root["bigtriangle" + i].dead == 0)) { _root["bigtriangle" + i].lives--; this.removeMovieClip(); } if (this.hitTest(_root["circleenemy" + i]) && (_root["circleenemy" + i].dead == 0)) { _root["circleenemy" + i].gotoAndPlay(2); if (_root.pierceshot <= 0) { this.removeMovieClip(); } } if (this.hitTest(_root["squareenemy" + i]) && (_root["squareenemy" + i].dead == 0)) { _root["squareenemy" + i].gotoAndPlay(2); if (_root.pierceshot <= 0) { this.removeMovieClip(); } } if (this.hitTest(_root["triangleenemy" + i]) && (_root["triangleenemy" + i].dead == 0)) { _root["triangleenemy" + i].gotoAndPlay(2); if (_root.pierceshot <= 0) { this.removeMovieClip(); } } if (this.hitTest(_root["bigsquare" + i]) && (_root["bigsquare" + i].dead == 0)) { _root["bigsquare" + i].lives--; this.removeMovieClip(); } if (this.hitTest(_root["morphboss" + i]) && (_root["morphboss" + i].dead == 0)) { _root["morphboss" + i].lives--; this.removeMovieClip(); } i++; } } }Instance of Symbol 142 MovieClip "circleenemy" in Frame 8onClipEvent (load) { if (this._name == "circleenemy") { this._visible = false; } else { this._visible = true; } this.xspeed = (random(4) + 4) - random(10); this.yspeed = (random(4) + 4) - random(10); if (this.xspeed == 0) { this.xspeed = 4; } if (this.yspeed == 0) { this.yspeed = 4; } if (_root.distance > 1000) { this.speedval = random(50); if (this.speedval > 26) { this.xspeed = this.xspeed * 2; this.yspeed = this.yspeed * 2; } } if (this.xspeed == _root.polygonenemy.xspeed) { this.xspeed = this.xspeed * 1.25; } if (this.yspeed == _root.polygonenemy.yspeed) { this.yspeed = this.yspeed * 1.25; } this.dead = 0; } onClipEvent (enterFrame) { if (this._name != "circleenemy") { i = 1; while (i <= 4) { if ((i == 1) || (i == 3)) { if (this.hitTest(_root["pillar" + i])) { this.xspeed = -this.xspeed; } } else if (this.hitTest(_root["pillar" + i])) { this.yspeed = -this.yspeed; } i++; } this._x = this._x + this.xspeed; this._y = this._y + this.yspeed; if (this.hitTest(_root.yourdude) && (this.dead == 0)) { if (_root.deflector == 1) { this.gotoAndPlay(2); } else if (_root.yourdude.bounce == 0) { _root.life--; _root.yourdude.gotoAndPlay(4); if (this._x > _root.yourdude._x) { _root.yourdude.xspeed = -12; } else { _root.yourdude.xspeed = 12; } if (this._y >= _root.yourdude._y) { _root.yourdude.yspeed = -12; } else { _root.yourdude.yspeed = 12; } this.gotoAndPlay(2); } } } }Instance of Symbol 149 MovieClip "squareenemy" in Frame 8onClipEvent (load) { if (this._name == "squareenemy") { this._visible = false; } else { this._visible = true; } this.xspeed = (random(4) + 4) - random(10); this.yspeed = (random(4) + 4) - random(10); if (this.xspeed == 0) { this.xspeed = 4; } if (this.yspeed == 0) { this.yspeed = 4; } if (_root.distance > 1800) { this.isfollow = random(50); if (this.isfollow > 30) { this.alf = 1; } else { this.alf = 0; } } else { this.alf = 0; } if (this.xspeed == _root.polygonenemy.xspeed) { this.xspeed = this.xspeed * 1.25; } if (this.yspeed == _root.polygonenemy.yspeed) { this.yspeed = this.yspeed * 1.25; } this.dead = 0; } onClipEvent (enterFrame) { if (this._name != "squareenemy") { if (this.alf == 1) { this.xdis = this._x - _root.yourdude._x; this.ydis = this._y - _root.yourdude._y; this.totaldist = Math.sqrt((this.xdis * this.xdis) + (this.ydis * this.ydis)); this.xspeed = (this.xdis / this.totaldist) * 5; this.yspeed = (this.ydis / this.totaldist) * 5; } i = 1; while (i <= 4) { if ((i == 1) || (i == 3)) { if (this.hitTest(_root["pillar" + i])) { this.xspeed = -this.xspeed; } } else if (this.hitTest(_root["pillar" + i])) { this.yspeed = -this.yspeed; } i++; } if (this.alf == 1) { this._x = this._x - this.xspeed; this._y = this._y - this.yspeed; } else { this._x = this._x + this.xspeed; this._y = this._y + this.yspeed; } if (this.hitTest(_root.yourdude) && (this.dead == 0)) { if (_root.deflector == 1) { this.gotoAndPlay(2); } else if (_root.yourdude.bounce == 0) { _root.life--; _root.yourdude.gotoAndPlay(4); if (this._x > _root.yourdude._x) { _root.yourdude.xspeed = -12; } else { _root.yourdude.xspeed = 12; } if (this._y >= _root.yourdude._y) { _root.yourdude.yspeed = -12; } else { _root.yourdude.yspeed = 12; } this.gotoAndPlay(2); } } } }Instance of Symbol 156 MovieClip "triangleenemy" in Frame 8onClipEvent (load) { if (_root.distance > 1400) { this.ishot = random(50); if (this.ishot > 30) { this.shot = 1; } else { this.shot = 0; } } else { this.shot = 0; } if (this._name == "triangleenemy") { this._visible = false; } else { this._visible = true; } this.xspeed = (random(4) + 4) - random(10); this.yspeed = (random(4) + 4) - random(10); if (this.xspeed == 0) { this.xspeed = 4; } if (this.yspeed == 0) { this.yspeed = 4; } if (this.xspeed == _root.polygonenemy.xspeed) { this.xspeed = this.xspeed * 1.25; } if (this.yspeed == _root.polygonenemy.yspeed) { this.yspeed = this.yspeed * 1.25; } this.dead = 0; this.shotcounter = 1; } onClipEvent (enterFrame) { if (this._name != "triangleenemy") { this.shotcounter++; i = 1; while (i <= 4) { if ((i == 1) || (i == 3)) { if (this.hitTest(_root["pillar" + i])) { this.xspeed = -this.xspeed; } } else if (this.hitTest(_root["pillar" + i])) { this.yspeed = -this.yspeed; } i++; } this._x = this._x + this.xspeed; this._y = this._y + this.yspeed; if (this.hitTest(_root.yourdude) && (this.dead == 0)) { if (_root.deflector == 1) { this.gotoAndPlay(2); } else if (_root.yourdude.bounce == 0) { _root.life--; _root.yourdude.gotoAndPlay(4); if (this._x > _root.yourdude._x) { _root.yourdude.xspeed = -12; } else { _root.yourdude.xspeed = 12; } if (this._y >= _root.yourdude._y) { _root.yourdude.yspeed = -12; } else { _root.yourdude.yspeed = 12; } this.gotoAndPlay(2); } } if (this.shot == 1) { this._rotation = (Math.atan2(_root.yourdude._y - this._y, _root.yourdude._x - this._x) * 180) / Math.PI; } if ((this.shot == 1) && ((this.shotcounter % 75) == 0)) { _root.starshot.duplicateMovieClip("starshot" + _root.starshotcount, _root.starshotcount + 3200, starshot); _root["starshot" + _root.starshotcount]._x = this._x; _root["starshot" + _root.starshotcount]._y = this._y; _root.starshotcount++; if (_root.starshotcount > 30) { _root.starshotcount = 1; } } } }Instance of Symbol 171 MovieClip "bigcircle" in Frame 8onClipEvent (load) { if (this._name == "bigcircle") { this._visible = false; } else { this.visible = true; } this.xspeed = (random(4) + 4) - random(10); this.yspeed = (random(4) + 4) - random(10); if (this.xspeed == 0) { this.xspeed = 4; } if (this.yspeed == 0) { this.yspeed = 4; } this.xspeed = this.xspeed * 2; this.yspeed = this.yspeed * 2; this.lives = 5; this.dead = 0; } onClipEvent (enterFrame) { if (this._name != "bigcircle") { if ((this.lives <= 0) && (this.dead == 0)) { this.gotoAndPlay(2); } this._x = this._x + this.xspeed; this._y = this._y + this.yspeed; i = 1; while (i <= 4) { if ((i == 1) || (i == 3)) { if (this.hitTest(_root["pillar" + i])) { this.xspeed = -this.xspeed; } } else if (this.hitTest(_root["pillar" + i])) { this.yspeed = -this.yspeed; } i++; } this.cbar.gotoAndPlay(6 - this.lives); if (this.hitTest(_root.yourdude) && (this.dead == 0)) { if (_root.deflector == 1) { this.lives--; } else if (_root.yourdude.bounce == 0) { _root.life--; _root.yourdude.gotoAndPlay(4); if (this._x > _root.yourdude._x) { _root.yourdude.xspeed = -12; } else { _root.yourdude.xspeed = 12; } if (this._y >= _root.yourdude._y) { _root.yourdude.yspeed = -12; } else { _root.yourdude.yspeed = 12; } } } } }Instance of Symbol 186 MovieClip "bigtriangle" in Frame 8onClipEvent (load) { if (this._name == "bigtriangle") { this._visible = false; } else { this.visible = true; } this.xspeed = (random(4) + 4) - random(10); this.yspeed = (random(4) + 4) - random(10); if (this.xspeed == 0) { this.xspeed = 4; } if (this.yspeed == 0) { this.yspeed = 4; } if (this.xspeed == _root.polygonenemy.xspeed) { this.xspeed = this.xspeed * 1.25; } if (this.yspeed == _root.polygonenemy.yspeed) { this.yspeed = this.yspeed * 1.25; } this.lives = 7; this.starcount = 1; this.dead = 0; } onClipEvent (enterFrame) { if (this._name != "bigtriangle") { this.starcount++; if ((this.starcount % 60) == 0) { _root.starshot.duplicateMovieClip("starshot" + _root.starshotcount, _root.starshotcount + 3200, starshot); _root["starshot" + _root.starshotcount]._x = this._x; _root["starshot" + _root.starshotcount]._y = this._y; _root.starshotcount++; if (_root.starshotcount > 30) { _root.starshotcount = 1; } } this._rotation = (Math.atan2(_root.yourdude._y - this._y, _root.yourdude._x - this._x) * 180) / Math.PI; if ((this.lives <= 0) && (this.dead == 0)) { this.gotoAndPlay(2); } this._x = this._x + this.xspeed; this._y = this._y + this.yspeed; i = 1; while (i <= 4) { if ((i == 1) || (i == 3)) { if (this.hitTest(_root["pillar" + i])) { this.xspeed = -this.xspeed; } } else if (this.hitTest(_root["pillar" + i])) { this.yspeed = -this.yspeed; } i++; } this.tbar.gotoAndPlay(8 - this.lives); if (this.hitTest(_root.yourdude) && (this.dead == 0)) { if (_root.deflector == 1) { this.lives--; } else if (_root.yourdude.bounce == 0) { _root.life--; _root.yourdude.gotoAndPlay(4); if (this._x > _root.yourdude._x) { _root.yourdude.xspeed = -12; } else { _root.yourdude.xspeed = 12; } if (this._y >= _root.yourdude._y) { _root.yourdude.yspeed = -12; } else { _root.yourdude.yspeed = 12; } } } } }Instance of Symbol 202 MovieClip "morphboss" in Frame 8onClipEvent (load) { if (this._name == "morphboss") { this._visible = false; } else { this._visible = true; } this.dead = 0; this.shotcounter = 1; this.lives = 7; this.deadcount = 1; } onClipEvent (enterFrame) { if (this._name != "morphboss") { this.shotcounter++; if (this.dead == 0) { if (this.val == 1) { this.sqbar.gotoAndPlay(8 - this.lives); } else if (this.val == 2) { this.cbar.gotoAndPlay(8 - this.lives); } else if (this.val == 3) { this.tbar.gotoAndPlay(8 - this.lives); } if ((this.lives <= 0) && (this.dead == 0)) { this.gotoAndPlay(4); } } if (this.dead == 1) { this.deadcount++; } if (this.deadcount > 5) { this.removeMovieClip(); } if ((this.shotcounter % 70) == 0) { if (this.val == 1) { this.gotoAndPlay(2); } else if (this.val == 2) { this.gotoAndPlay(3); } else if (this.val == 3) { this.gotoAndPlay(1); } } this.xdis = this._x - _root.yourdude._x; this.ydis = this._y - _root.yourdude._y; this.totaldist = Math.sqrt((this.xdis * this.xdis) + (this.ydis * this.ydis)); this.xspeed = (this.xdis / this.totaldist) * 3; this.yspeed = (this.ydis / this.totaldist) * 3; this._x = this._x - this.xspeed; this._y = this._y - this.yspeed; if ((this.shotcounter % 100) == 0) { _root.starshot.duplicateMovieClip("starshot" + _root.starshotcount, _root.starshotcount + 3200, starshot); _root["starshot" + _root.starshotcount]._x = this._x; _root["starshot" + _root.starshotcount]._y = this._y; _root.starshotcount++; if (_root.starshotcount > 30) { _root.starshotcount = 1; } } if (this.hitTest(_root.yourdude) && (this.dead == 0)) { if (_root.deflector == 1) { this.lives--; } else if (_root.yourdude.bounce == 0) { _root.life--; _root.yourdude.gotoAndPlay(4); if (this._x > _root.yourdude._x) { _root.yourdude.xspeed = -12; } else { _root.yourdude.xspeed = 12; } if (this._y >= _root.yourdude._y) { _root.yourdude.yspeed = -12; } else { _root.yourdude.yspeed = 12; } } } } }Instance of Symbol 208 MovieClip "bigsquare" in Frame 8onClipEvent (load) { if (this._name == "bigsquare") { this._visible = false; } else { this._visible = true; } this.lives = 6; this.dead = 0; } onClipEvent (enterFrame) { if (this._name != "bigsquare") { this.xdis = this._x - _root.yourdude._x; this.ydis = this._y - _root.yourdude._y; this.totaldist = Math.sqrt((this.xdis * this.xdis) + (this.ydis * this.ydis)); this.xspeed = (this.xdis / this.totaldist) * 5; this.yspeed = (this.ydis / this.totaldist) * 5; this._x = this._x - this.xspeed; this._y = this._y - this.yspeed; if ((this.lives <= 0) && (this.dead == 0)) { this.gotoAndPlay(2); } this.sqbar.gotoAndPlay(7 - this.lives); i = 1; while (i <= 4) { if ((i == 1) || (i == 3)) { if (this.hitTest(_root["pillar" + i])) { this.xspeed = -this.xspeed; } } else if (this.hitTest(_root["pillar" + i])) { this.yspeed = -this.yspeed; } i++; } if (this.hitTest(_root.yourdude) && (this.dead == 0)) { if (_root.deflector == 1) { this.lives--; } else if (_root.yourdude.bounce == 0) { _root.life--; _root.yourdude.gotoAndPlay(4); if (this._x > _root.yourdude._x) { _root.yourdude.xspeed = -12; } else { _root.yourdude.xspeed = 12; } if (this._y >= _root.yourdude._y) { _root.yourdude.yspeed = -12; } else { _root.yourdude.yspeed = 12; } } } } }Instance of Symbol 209 MovieClip "pup" in Frame 8onClipEvent (load) { function reset() { this._visible = false; this.count = 1; this._x = random(400) + 50; this._y = random(300) + 50; } this.reset(); } onClipEvent (enterFrame) { this.count++; if ((this.count > 200) && (_root.distance > 300)) { this._visible = true; } if ((this._visible == true) && (this.hitTest(_root.yourdude))) { _root.pierceshot = _root.pierceshot + 20; this.reset(); } }Instance of Symbol 236 MovieClip "yourdude" in Frame 8onClipEvent (load) { Mouse.hide(); this.squareshot = 1; this.triangleshot = 1; this.circleshot = 1; this.octagonshot = 1; this._rotation = 0; this.deflectioncount = 150; this.bounce = 0; this.dead = 0; this.xspeed = 0; this.yspeed = 0; this.bccount = 1; } onClipEvent (enterFrame) { var xMouse = _root._xmouse; var yMouse = _root._ymouse; this._rotation = (Math.atan2(yMouse - this._y, xMouse - this._x) * 180) / Math.PI; if ((!Key.isDown(32)) && (this.bounce == 0)) { if (Math.abs(xMouse - this._x) > 2) { this._x = this._x - ((this._x - xMouse) / 2); this._y = this._y - ((this._y - yMouse) / 2); } } if (_root.deflector == 1) { this.deflectioncount--; } if ((this.deflectioncount <= 15) && (_root.deflector == 1)) { this.gotoAndStop(3); } if (this.deflectioncount <= 0) { _root.deflector = 0; this.deflectioncount = 150; this.gotoAndPlay(1); } if (this.bounce == 1) { this.bccount++; this._x = this._x + this.xspeed; this._y = this._y + this.yspeed; if (this.bccount >= 5) { this.gotoAndPlay(1); } } else { this.bccount = 1; } } onClipEvent (mouseDown) { if (_root.pierceshot > 0) { _root.pierceshot--; } if (_root.octoshot > 0) { _root.polyshot.duplicateMovieClip("polyshot" + this.octagonshot, this.octagonshot + 1800, polyshot); _root["polyshot" + this.octagonshot].val = 1; this.octagonshot++; if (_root.multishot > 0) { _root.polyshot.duplicateMovieClip("polyshot" + this.octagonshot, this.octagonshot + 1800, polyshot); _root["polyshot" + this.octagonshot].val = 2; this.octagonshot++; _root.polyshot.duplicateMovieClip("polyshot" + this.octagonshot, this.octagonshot + 1800, polyshot); _root["polyshot" + this.octagonshot].val = 3; this.octagonshot++; _root.multishot--; } if (this.octagonshot > 34) { this.octagonshot = 1; } _root.octoshot--; } else { if (_root.shotval == 1) { _root.circleshot.duplicateMovieClip("circleshot" + this.circleshot, this.circleshot + 1000, circleshot); _root["circleshot" + this.circleshot].val = 1; this.circleshot++; if (_root.multishot > 0) { _root.circleshot.duplicateMovieClip("circleshot" + this.circleshot, this.circleshot + 1000, circleshot); _root["circleshot" + this.circleshot].val = 2; this.circleshot++; _root.circleshot.duplicateMovieClip("circleshot" + this.circleshot, this.circleshot + 1000, circleshot); _root["circleshot" + this.circleshot].val = 3; this.circleshot++; _root.multishot--; } if (this.circleshot > 34) { this.circleshot = 1; } } if (_root.shotval == 2) { _root.sqshot.duplicateMovieClip("sqshot" + this.squareshot, this.squareshot + 1100, sqshot); _root["sqshot" + this.squareshot].val = 1; this.squareshot++; if (_root.multishot > 0) { _root.sqshot.duplicateMovieClip("sqshot" + this.squareshot, this.squareshot + 1100, sqshot); _root["sqshot" + this.squareshot].val = 2; this.squareshot++; _root.sqshot.duplicateMovieClip("sqshot" + this.squareshot, this.squareshot + 1100, sqshot); _root["sqshot" + this.squareshot].val = 3; this.squareshot++; _root.multishot--; } if (this.squareshot > 34) { this.squareshot = 1; } } if (_root.shotval == 3) { _root.trishot.duplicateMovieClip("trishot" + this.triangleshot, this.triangleshot + 1200, triangleshot); _root["trishot" + this.triangleshot].val = 1; this.triangleshot++; if (_root.multishot > 0) { _root.trishot.duplicateMovieClip("trishot" + this.triangleshot, this.triangleshot + 1200, triangleshot); _root["trishot" + this.triangleshot].val = 2; this.triangleshot++; _root.trishot.duplicateMovieClip("trishot" + this.triangleshot, this.triangleshot + 1200, triangleshot); _root["trishot" + this.triangleshot].val = 3; this.triangleshot++; _root.multishot--; } if (this.triangleshot > 34) { this.triangleshot = 1; } } } }Instance of Symbol 241 MovieClip "starshot" in Frame 8onClipEvent (load) { if (this._name == "starshot") { this._visible = false; } else { this._visible = true; } this.dead = 0; this.xdis = this._x - _root.yourdude._x; this.ydis = this._y - _root.yourdude._y; this.totaldist = Math.sqrt((this.xdis * this.xdis) + (this.ydis * this.ydis)); this.xspeed = (this.xdis / this.totaldist) * 15; this.yspeed = (this.ydis / this.totaldist) * 15; } onClipEvent (enterFrame) { if (this.name != "starshot") { this._x = this._x - this.xspeed; this._y = this._y - this.yspeed; if ((((this._x > 550) || (this._x < 0)) || (this._y > 400)) || (this._y < 0)) { this.removeMovieClip(); } if (this.hitTest(_root.yourdude) && (this.dead == 0)) { if (_root.deflector == 1) { this.removeMovieClip(); } else { _root.life--; this.gotoAndPlay(2); } } } }Frame 9stop(); stopAllSounds(); Mouse.show(); thename = "Your name Here"; score = _global.score; mochi.MochiScores.showLeaderboard({boardID:"c6135f8907a8453b", score:_global.score});Frame 10_root.gotoAndPlay("menu");Symbol 7 Buttonon (release) { getURL ("http://www.flashninjaclan.com", "_blank"); }Symbol 261 MovieClip [__Packages.mochi.MochiServices] Frame 0class mochi.MochiServices { static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel; function MochiServices () { } static function get id() { return(_id); } static function get clip() { return(_container); } static function get childClip() { return(_clip); } static function getVersion() { return("1.32"); } static function allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function get isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function set comChannelName(val) { if (val != undefined) { if (val.length > 3) { _sendChannelName = val + "_fromgame"; _rcvChannelName = val; initComChannels(); } } //return(__get__comChannelName()); } static function get connected() { return(_connected); } static function connect(id, clip, onError) { if ((!_connected) && (_clip == undefined)) { trace("MochiServices Connecting..."); _connecting = true; init(id, clip); } if (onError != undefined) { mochi.MochiServices.onError = onError; } else if (mochi.MochiServices.onError == undefined) { mochi.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } static function disconnect() { if (_connected || (_connecting)) { _connecting = (_connected = false); flush(true); if (_clip != undefined) { _clip.removeMovieClip(); delete _clip; } _listenChannel.close(); _rcvChannel.close(); } } static function init(id, clip) { _id = id; if (clip != undefined) { _container = clip; } else { _container = _root; } loadCommunicator(id, _container); } static function loadCommunicator(id, clip) { var _local2 = "_mochiservices_com_" + id; if (_clip != null) { return(_clip); } if (!isNetworkAvailable) { return(null); } allowDomains(_gatewayURL); _clip = clip.createEmptyMovieClip(_local2, 10336, false); _loader = new MovieClipLoader(); if (_loaderListener.waitInterval != null) { clearInterval(_loaderListener.waitInterval); } _loaderListener = {}; _loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) { trace("MochiServices could not load."); mochi.MochiServices.disconnect(); mochi.MochiServices.onError.apply(null, [errorCode]); }; _loaderListener.onLoadStart = function (target_mc) { this.isLoading = true; }; _loaderListener.startTime = getTimer(); _loaderListener.wait = function () { if ((getTimer() - this.startTime) > 10000) { if (!this.isLoading) { mochi.MochiServices.disconnect(); mochi.MochiServices.onError.apply(null, ["IOError"]); } clearInterval(this.waitInterval); } }; _loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000); _loader.addListener(_loaderListener); _loader.loadClip(_gatewayURL, _clip); _sendChannel = new LocalConnection(); _sendChannel._queue = []; _rcvChannel = new LocalConnection(); _rcvChannel.allowDomain = function (d) { return(true); }; _rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain; _rcvChannel._nextcallbackID = 0; _rcvChannel._callbacks = {}; listen(); return(_clip); } static function onStatus(infoObject) { if (!(infoObject.level === "error")) { } else { _connected = false; _listenChannel.connect(_listenChannelName); } } static function listen() { _listenChannel = new LocalConnection(); _listenChannel.handshake = function (args) { mochi.MochiServices.__set__comChannelName(args.newChannel); }; _listenChannel.allowDomain = function (d) { return(true); }; _listenChannel.allowInsecureDomain = _listenChannel.allowDomain; _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } static function initComChannels() { if (!_connected) { _sendChannel.onStatus = function (infoObject) { mochi.MochiServices.onStatus(infoObject); }; _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()}); _rcvChannel.onStatus = function (infoObject) { mochi.MochiServices.onStatus(infoObject); }; _rcvChannel.onReceive = function (pkg) { var _local5 = pkg.callbackID; var _local4 = this._callbacks[_local5]; if (!_local4) { return(undefined); } var _local2 = _local4.callbackMethod; var _local3 = _local4.callbackObject; if (_local3 && (typeof(_local2) == "string")) { _local2 = _local3[_local2]; } if (_local2 != undefined) { _local2.apply(_local3, pkg.args); } delete this._callbacks[_local5]; }; _rcvChannel.onError = function () { mochi.MochiServices.onError.apply(null, ["IOError"]); }; _rcvChannel.connect(_rcvChannelName); trace("connected!"); _connecting = false; _connected = true; _listenChannel.close(); while (_sendChannel._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift()); } } } static function flush(error) { var _local1; var _local2; while (_sendChannel._queue.length > 0) { _local1 = _sendChannel._queue.shift(); if (_local1.callbackID != null) { _local2 = _rcvChannel._callbacks[_local1.callbackID]; } delete _rcvChannel._callbacks[_local1.callbackID]; if (error) { handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod); } } } static function handleError(args, callbackObject, callbackMethod) { if (args != null) { if (args.onError != null) { args.onError.apply(null, ["NotConnected"]); } if ((args.options != null) && (args.options.onError != null)) { args.options.onError.apply(null, ["NotConnected"]); } } if (callbackMethod != null) { args = {}; args.error = true; args.errorCode = "NotConnected"; if ((callbackObject != null) && (typeof(callbackMethod) == "string")) { callbackObject[callbackMethod](args); } else if (callbackMethod != null) { callbackMethod.apply(args); } } } static function send(methodName, args, callbackObject, callbackMethod) { if (_connected) { _sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID}); } else { if ((_clip == undefined) || (!_connecting)) { onError.apply(null, ["NotConnected"]); handleError(args, callbackObject, callbackMethod); flush(true); return(undefined); } _sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID}); } _rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod}; _rcvChannel._nextcallbackID++; } static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf"; static var _listenChannelName = "__mochiservices"; static var _connecting = false; static var _connected = false; }Symbol 262 MovieClip [__Packages.MochiAd] Frame 0class MochiAd { function MochiAd () { } static function getVersion() { return("2.1"); } static function showPreGameAd(options) { var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local27); var clip = options.clip; var _local23 = 11000; var _local26 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local7._x = 10; _local7._y = _local13 - 20; var _local22 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local24 = options.outline; delete options.outline; var _local5 = _local7.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local7.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local22); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local6 = _local7.createEmptyMovieClip("_outline", 3); _local6.lineStyle(0, _local24, 100); _local6.moveTo(0, 0); _local6.lineTo(_local4 - 20, 0); _local6.lineTo(_local4 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); chk.ad_msec = _local23; chk.ad_timeout = _local26; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showTimedAd(options) { showInterLevelAd(options); } static function showPreloaderAd(options) { showPreGameAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function _loadCommunicator(options) { var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = _parseOptions(options, _local26); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!_isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; _allowDomains(_local21); delete options.id; delete options.com_server; var _local25 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local25); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb_arg) { var _local8 = parseInt(cb_arg); var _local4 = this._callbacks[_local8]; if (!_local4) { return(undefined); } delete this._callbacks[_local8]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); } static function fetchHighScores(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } return(_local4); } }Symbol 263 MovieClip [__Packages.mochi.MochiScores] Frame 0class mochi.MochiScores { static var boardID, onClose, onError; function MochiScores () { } static function setBoardID(boardID) { mochi.MochiScores.boardID = boardID; mochi.MochiServices.send("scores_setBoardID", {boardID:boardID}); } static function showLeaderboard(options) { if (options.clip != null) { if ((options.clip != mochi.MochiServices.__get__clip()) || (mochi.MochiServices.__get__childClip()._target == undefined)) { mochi.MochiServices.disconnect(); mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip); } delete options.clip; } if (options.name != null) { if (typeof(options.name) == "object") { if (options.name.text != undefined) { options.name = options.name.text; } } } if (options.score != null) { if (typeof(options.score) == "object") { if (options.score.text != undefined) { options.score = options.score.text; } } } if (options.onDisplay != null) { options.onDisplay(); } else { mochi.MochiServices.__get__clip().stop(); } if (options.onClose != null) { onClose = options.onClose; } else { onClose = function () { mochi.MochiServices.__get__clip().play(); }; } if (options.onError != null) { onError = options.onError; } else { onError = onClose; } if (options.boardID == null) { if (boardID != null) { options.boardID = boardID; } } mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose); } static function closeLeaderboard() { mochi.MochiServices.send("scores_closeLeaderboard"); } static function getPlayerInfo(callbackObj, callbackMethod) { mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod); } static function submit(score, name, callbackObj, callbackMethod) { mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod); } static function requestList(callbackObj, callbackMethod) { mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod); } static function scoresArrayToObjects(scores) { var _local5 = {}; var _local1; var _local4; var _local2; var _local6; for (var _local8 in scores) { if (typeof(scores[_local8]) == "object") { if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) { _local5[_local8] = []; _local2 = scores[_local8]; _local4 = 0; while (_local4 < _local2.rows.length) { _local6 = {}; _local1 = 0; while (_local1 < _local2.cols.length) { _local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1]; _local1++; } _local5[_local8].push(_local6); _local4++; } } else { _local5[_local8] = {}; for (var _local7 in scores[_local8]) { _local5[_local8][_local7] = scores[_local8][_local7]; } } } else { _local5[_local8] = scores[_local8]; } } return(_local5); } static function doClose(args) { if (args.error == true) { if (args.errorCode == undefined) { args.errorCode = "IOError"; } onError.apply(null, [args.errorCode]); } else { onClose.apply(); } } }Symbol 28 Buttonon (release) { _root.background.swapDepths(9999); _root.background.removeMovieClip(); _root.gotoAndPlay("game"); }Symbol 31 Buttonon (release) { _root.background.swapDepths(9999); _root.background.removeMovieClip(); _root.gotoAndPlay("instr"); }Symbol 34 Buttonon (release) { _root.gotoAndPlay("highscores"); }Symbol 36 Buttonon (release) { getURL ("http://www.flashninjaclan.com", "_blank"); }Symbol 39 Buttonon (release) { getURL ("http://www.java-gaming.com", "_blank"); }Symbol 42 Buttonon (release) { _root.background.swapDepths(9999); _root.background.removeMovieClip(); _root.gotoAndPlay("credits"); }Symbol 58 Buttonon (release) { _root.gotoAndPlay("instr2"); }Symbol 76 Buttonon (release) { _root.gotoAndPlay("menu"); }Symbol 82 MovieClip Frame 1stop();Symbol 82 MovieClip Frame 2stop();Symbol 82 MovieClip Frame 3stop();Symbol 117 MovieClip Frame 1stop();Symbol 117 MovieClip Frame 2stop();Symbol 117 MovieClip Frame 3stop();Symbol 117 MovieClip Frame 4stop();Symbol 117 MovieClip Frame 5stop();Symbol 117 MovieClip Frame 6stop();Symbol 117 MovieClip Frame 7stop();Symbol 117 MovieClip Frame 8stop();Symbol 117 MovieClip Frame 9stop();Symbol 117 MovieClip Frame 10stop();Symbol 117 MovieClip Frame 11stop();Symbol 117 MovieClip Frame 12stop();Symbol 117 MovieClip Frame 13stop();Symbol 117 MovieClip Frame 14stop();Symbol 117 MovieClip Frame 15stop();Symbol 117 MovieClip Frame 16stop();Symbol 117 MovieClip Frame 17stop();Symbol 117 MovieClip Frame 18stop();Symbol 117 MovieClip Frame 19stop();Symbol 117 MovieClip Frame 20stop();Symbol 117 MovieClip Frame 21stop();Symbol 117 MovieClip Frame 22stop();Symbol 117 MovieClip Frame 23stop();Symbol 117 MovieClip Frame 24stop();Symbol 117 MovieClip Frame 25stop();Symbol 117 MovieClip Frame 26stop();Symbol 117 MovieClip Frame 27stop();Symbol 117 MovieClip Frame 28stop();Symbol 117 MovieClip Frame 29stop();Symbol 117 MovieClip Frame 30stop();Symbol 117 MovieClip Frame 31stop();Symbol 117 MovieClip Frame 32stop();Symbol 117 MovieClip Frame 33stop();Symbol 117 MovieClip Frame 34stop();Symbol 117 MovieClip Frame 35stop();Symbol 117 MovieClip Frame 36stop();Symbol 117 MovieClip Frame 37stop();Symbol 117 MovieClip Frame 38stop();Symbol 117 MovieClip Frame 39stop();Symbol 117 MovieClip Frame 40stop();Symbol 117 MovieClip Frame 41stop();Symbol 117 MovieClip Frame 42stop();Symbol 117 MovieClip Frame 43stop();Symbol 117 MovieClip Frame 44stop();Symbol 117 MovieClip Frame 45stop();Symbol 117 MovieClip Frame 46stop();Symbol 117 MovieClip Frame 47stop();Symbol 117 MovieClip Frame 48stop();Symbol 117 MovieClip Frame 49stop();Symbol 117 MovieClip Frame 50stop();Symbol 117 MovieClip Frame 51stop();Symbol 128 MovieClip Frame 1stop();Symbol 128 MovieClip Frame 2this.dead = 1; if (_global.sound == 1) { _root.playsound3.start(0, 1); } _root.score = _root.score + 500; _root.killedoctos = _root.killedoctos + 1;Symbol 128 MovieClip Frame 9this.reset();Symbol 142 MovieClip Frame 1stop();Symbol 142 MovieClip Frame 2if (_global.sound == 1) { _root.playsound4.start(0, 1); } this.dead = 1; _root.score = _root.score + 10;Symbol 142 MovieClip Frame 7this.removeMovieClip();Symbol 149 MovieClip Frame 1stop();Symbol 149 MovieClip Frame 2if (_global.sound == 1) { _root.playsound4.start(0, 1); } this.dead = 1; _root.score = _root.score + 10;Symbol 149 MovieClip Frame 7this.removeMovieClip();Symbol 156 MovieClip Frame 1stop();Symbol 156 MovieClip Frame 2if (_global.sound == 1) { _root.playsound4.start(0, 1); } this.dead = 1; _root.score = _root.score + 10;Symbol 156 MovieClip Frame 7this.removeMovieClip();Symbol 166 MovieClip Frame 1stop();Symbol 166 MovieClip Frame 2stop();Symbol 166 MovieClip Frame 3stop();Symbol 166 MovieClip Frame 4stop();Symbol 166 MovieClip Frame 5stop();Symbol 166 MovieClip Frame 6stop();Symbol 166 MovieClip Frame 7stop();Symbol 166 MovieClip Frame 8stop();Symbol 171 MovieClip Frame 1stop();Symbol 171 MovieClip Frame 2if (_global.sound == 1) { _root.playsound3.start(0, 1); } this.dead = 1; _root.score = _root.score + 50;Symbol 171 MovieClip Frame 5this.removeMovieClip();Symbol 181 MovieClip Frame 1stop();Symbol 181 MovieClip Frame 2stop();Symbol 181 MovieClip Frame 3stop();Symbol 181 MovieClip Frame 4stop();Symbol 181 MovieClip Frame 5stop();Symbol 181 MovieClip Frame 6stop();Symbol 181 MovieClip Frame 7stop();Symbol 181 MovieClip Frame 8stop();Symbol 186 MovieClip Frame 1stop();Symbol 186 MovieClip Frame 2this.dead = 1; _root.score = _root.score + 50; if (_global.sound == 1) { _root.playsound3.start(0, 1); }Symbol 186 MovieClip Frame 5this.removeMovieClip();Symbol 196 MovieClip Frame 1stop();Symbol 196 MovieClip Frame 2stop();Symbol 196 MovieClip Frame 3stop();Symbol 196 MovieClip Frame 4stop();Symbol 196 MovieClip Frame 5stop();Symbol 196 MovieClip Frame 6stop();Symbol 196 MovieClip Frame 7stop();Symbol 196 MovieClip Frame 8stop();Symbol 202 MovieClip Frame 1stop(); this.val = 1;Symbol 202 MovieClip Frame 2stop(); this.val = 2;Symbol 202 MovieClip Frame 3stop(); this.val = 3;Symbol 202 MovieClip Frame 4this.dead = 1; _root.score = _root.score + 100; if (_global.sound == 1) { _root.playsound3.start(0, 1); }Symbol 202 MovieClip Frame 7stop(); this.removeMovieClip();Symbol 208 MovieClip Frame 1stop();Symbol 208 MovieClip Frame 2this.dead = 1; _root.score = _root.score + 50; if (_global.sound == 1) { _root.playsound3.start(0, 1); }Symbol 208 MovieClip Frame 5this.removeMovieClip();Symbol 236 MovieClip Frame 1stop(); this.bounce = 0;Symbol 236 MovieClip Frame 2stop();Symbol 236 MovieClip Frame 3stop();Symbol 236 MovieClip Frame 4this.bounce = 1; stop();Symbol 236 MovieClip Frame 5this.dead = 1; this.dead = 1;Symbol 236 MovieClip Frame 6this.swapDepths(9900); this.removeMovieClip();Symbol 241 MovieClip Frame 1stop();Symbol 241 MovieClip Frame 2this.dead = 1;Symbol 241 MovieClip Frame 5this.removeMovieClip();Symbol 243 Buttonon (release) { if (_global.sound == 1) { _global.sound = 0; stopAllSounds(); } else if (_global.sound == 0) { _global.sound = 1; playsound2.start(1, 1000000); } }Symbol 251 Buttonon (release) { _root.gotoAndPlay("menu"); }
Library Items
Symbol 1 Sound [shapewars] | ||
Symbol 2 Sound [NICEDING] | ||
Symbol 3 Sound [DINGS] | ||
Symbol 4 Graphic | Used by:Timeline | |
Symbol 5 Bitmap | Used by:6 | |
Symbol 6 Graphic | Uses:5 | Used by:7 |
Symbol 7 Button | Uses:6 | Used by:Timeline |
Symbol 8 Graphic | Used by:9 | |
Symbol 9 MovieClip | Uses:8 | Used by:Timeline |
Symbol 10 Graphic | Used by:14 | |
Symbol 11 Font | Used by:12 13 | |
Symbol 12 Text | Uses:11 | Used by:14 Timeline |
Symbol 13 Text | Uses:11 | Used by:14 Timeline |
Symbol 14 Button | Uses:10 12 13 | Used by:Timeline |
Symbol 261 MovieClip [__Packages.mochi.MochiServices] | ||
Symbol 262 MovieClip [__Packages.MochiAd] | ||
Symbol 263 MovieClip [__Packages.mochi.MochiScores] | ||
Symbol 15 Graphic | Used by:Timeline | |
Symbol 16 Graphic | Used by:Timeline | |
Symbol 17 Graphic | Used by:Timeline | |
Symbol 18 Graphic | Used by:Timeline | |
Symbol 19 Graphic | Used by:Timeline | |
Symbol 20 Graphic | Used by:Timeline | |
Symbol 21 Graphic | Used by:Timeline | |
Symbol 22 Graphic | Used by:Timeline | |
Symbol 23 Font | Used by:24 29 32 35 37 40 254 255 | |
Symbol 24 Text | Uses:23 | Used by:28 |
Symbol 25 Graphic | Used by:28 31 34 36 39 42 | |
Symbol 26 Graphic | Used by:28 31 34 36 39 42 | |
Symbol 27 Graphic | Used by:28 | |
Symbol 28 Button | Uses:24 25 26 27 | Used by:Timeline |
Symbol 29 Text | Uses:23 | Used by:31 |
Symbol 30 Graphic | Used by:31 | |
Symbol 31 Button | Uses:29 25 26 30 | Used by:Timeline |
Symbol 32 Text | Uses:23 | Used by:34 |
Symbol 33 Graphic | Used by:34 36 | |
Symbol 34 Button | Uses:32 25 26 33 | Used by:Timeline |
Symbol 35 Text | Uses:23 | Used by:36 |
Symbol 36 Button | Uses:35 25 26 33 | Used by:Timeline |
Symbol 37 Text | Uses:23 | Used by:39 |
Symbol 38 Graphic | Used by:39 | |
Symbol 39 Button | Uses:37 25 26 38 | Used by:Timeline |
Symbol 40 Text | Uses:23 | Used by:42 |
Symbol 41 Graphic | Used by:42 | |
Symbol 42 Button | Uses:40 25 26 41 | Used by:Timeline |
Symbol 43 Graphic | Used by:Timeline | |
Symbol 44 Font | Used by:45 220 221 222 248 249 252 253 257 258 259 260 | |
Symbol 45 Text | Uses:44 | Used by:Timeline |
Symbol 46 Graphic | Used by:Timeline | |
Symbol 47 Graphic | Used by:Timeline | |
Symbol 48 Graphic | Used by:Timeline | |
Symbol 49 Graphic | Used by:149 Timeline | |
Symbol 50 Graphic | Used by:142 Timeline | |
Symbol 51 Graphic | Used by:156 Timeline | |
Symbol 52 Graphic | Used by:236 Timeline | |
Symbol 53 Font | Used by:54 74 78 | |
Symbol 54 Text | Uses:53 | Used by:Timeline |
Symbol 55 Graphic | Used by:Timeline | |
Symbol 56 Graphic | Used by:Timeline | |
Symbol 57 Graphic | Used by:58 | |
Symbol 58 Button | Uses:57 | Used by:Timeline |
Symbol 59 Graphic | Used by:133 Timeline | |
Symbol 60 Font | Used by:61 62 64 65 67 68 70 71 | |
Symbol 61 Text | Uses:60 | Used by:133 Timeline |
Symbol 62 Text | Uses:60 | Used by:133 Timeline |
Symbol 63 Graphic | Used by:131 Timeline | |
Symbol 64 Text | Uses:60 | Used by:131 Timeline |
Symbol 65 Text | Uses:60 | Used by:131 Timeline |
Symbol 66 Graphic | Used by:209 Timeline | |
Symbol 67 Text | Uses:60 | Used by:209 Timeline |
Symbol 68 Text | Uses:60 | Used by:209 Timeline |
Symbol 69 Graphic | Used by:132 Timeline | |
Symbol 70 Text | Uses:60 | Used by:132 Timeline |
Symbol 71 Text | Uses:60 | Used by:132 Timeline |
Symbol 72 Graphic | Used by:Timeline | |
Symbol 73 Graphic | Used by:Timeline | |
Symbol 74 Text | Uses:53 | Used by:Timeline |
Symbol 75 Graphic | Used by:76 | |
Symbol 76 Button | Uses:75 | Used by:Timeline |
Symbol 77 Graphic | Used by:Timeline | |
Symbol 78 Text | Uses:53 | Used by:Timeline |
Symbol 79 Graphic | Used by:82 | |
Symbol 80 Graphic | Used by:82 | |
Symbol 81 Graphic | Used by:82 | |
Symbol 82 MovieClip | Uses:79 80 81 | Used by:Timeline |
Symbol 83 Graphic | Used by:Timeline | |
Symbol 84 Graphic | Used by:85 | |
Symbol 85 MovieClip | Uses:84 | Used by:Timeline |
Symbol 86 Graphic | Used by:87 | |
Symbol 87 MovieClip | Uses:86 | Used by:Timeline |
Symbol 88 Graphic | Used by:89 | |
Symbol 89 MovieClip | Uses:88 | Used by:Timeline |
Symbol 90 Graphic | Used by:91 | |
Symbol 91 MovieClip | Uses:90 | Used by:Timeline |
Symbol 92 Graphic | Used by:128 | |
Symbol 93 Graphic | Used by:117 | |
Symbol 94 Graphic | Used by:117 | |
Symbol 95 Graphic | Used by:117 | |
Symbol 96 Graphic | Used by:117 | |
Symbol 97 Graphic | Used by:117 | |
Symbol 98 Graphic | Used by:117 | |
Symbol 99 Graphic | Used by:117 | |
Symbol 100 Graphic | Used by:117 | |
Symbol 101 Graphic | Used by:117 | |
Symbol 102 Graphic | Used by:117 | |
Symbol 103 Graphic | Used by:117 | |
Symbol 104 Graphic | Used by:117 | |
Symbol 105 Graphic | Used by:117 | |
Symbol 106 Graphic | Used by:117 | |
Symbol 107 Graphic | Used by:117 | |
Symbol 108 Graphic | Used by:117 | |
Symbol 109 Graphic | Used by:117 | |
Symbol 110 Graphic | Used by:117 | |
Symbol 111 Graphic | Used by:117 | |
Symbol 112 Graphic | Used by:117 | |
Symbol 113 Graphic | Used by:117 | |
Symbol 114 Graphic | Used by:117 | |
Symbol 115 Graphic | Used by:117 | |
Symbol 116 Graphic | Used by:117 | |
Symbol 117 MovieClip | Uses:93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | Used by:128 |
Symbol 118 Graphic | Used by:119 | |
Symbol 119 MovieClip | Uses:118 | Used by:128 |
Symbol 120 Graphic | Used by:128 | |
Symbol 121 Graphic | Used by:128 | |
Symbol 122 Graphic | Used by:128 | |
Symbol 123 Graphic | Used by:128 | |
Symbol 124 Graphic | Used by:128 | |
Symbol 125 Graphic | Used by:128 | |
Symbol 126 Graphic | Used by:128 | |
Symbol 127 Graphic | Used by:128 | |
Symbol 128 MovieClip | Uses:92 117 119 120 121 122 123 124 125 126 127 | Used by:Timeline |
Symbol 129 Graphic | Used by:130 | |
Symbol 130 MovieClip | Uses:129 | Used by:Timeline |
Symbol 131 MovieClip | Uses:63 64 65 | Used by:Timeline |
Symbol 132 MovieClip | Uses:69 70 71 | Used by:Timeline |
Symbol 133 MovieClip | Uses:59 61 62 | Used by:Timeline |
Symbol 134 Graphic | Used by:135 | |
Symbol 135 MovieClip | Uses:134 | Used by:Timeline |
Symbol 136 Graphic | Used by:142 | |
Symbol 137 Graphic | Used by:142 | |
Symbol 138 Graphic | Used by:142 | |
Symbol 139 Graphic | Used by:142 | |
Symbol 140 Graphic | Used by:142 | |
Symbol 141 Graphic | Used by:142 | |
Symbol 142 MovieClip | Uses:50 136 137 138 139 140 141 | Used by:Timeline |
Symbol 143 Graphic | Used by:149 | |
Symbol 144 Graphic | Used by:149 | |
Symbol 145 Graphic | Used by:149 | |
Symbol 146 Graphic | Used by:149 | |
Symbol 147 Graphic | Used by:149 | |
Symbol 148 Graphic | Used by:149 | |
Symbol 149 MovieClip | Uses:49 143 144 145 146 147 148 | Used by:Timeline |
Symbol 150 Graphic | Used by:156 | |
Symbol 151 Graphic | Used by:156 | |
Symbol 152 Graphic | Used by:156 | |
Symbol 153 Graphic | Used by:156 | |
Symbol 154 Graphic | Used by:156 | |
Symbol 155 Graphic | Used by:156 | |
Symbol 156 MovieClip | Uses:51 150 151 152 153 154 155 | Used by:Timeline |
Symbol 157 Graphic | Used by:171 202 | |
Symbol 158 Graphic | Used by:166 | |
Symbol 159 Graphic | Used by:166 | |
Symbol 160 Graphic | Used by:166 | |
Symbol 161 Graphic | Used by:166 | |
Symbol 162 Graphic | Used by:166 | |
Symbol 163 Graphic | Used by:166 | |
Symbol 164 Graphic | Used by:166 | |
Symbol 165 Graphic | Used by:166 | |
Symbol 166 MovieClip | Uses:158 159 160 161 162 163 164 165 | Used by:171 202 |
Symbol 167 Graphic | Used by:171 | |
Symbol 168 Graphic | Used by:171 | |
Symbol 169 Graphic | Used by:171 | |
Symbol 170 Graphic | Used by:171 | |
Symbol 171 MovieClip | Uses:157 166 167 168 169 170 | Used by:Timeline |
Symbol 172 Graphic | Used by:186 | |
Symbol 173 Graphic | Used by:181 | |
Symbol 174 Graphic | Used by:181 | |
Symbol 175 Graphic | Used by:181 | |
Symbol 176 Graphic | Used by:181 | |
Symbol 177 Graphic | Used by:181 | |
Symbol 178 Graphic | Used by:181 | |
Symbol 179 Graphic | Used by:181 | |
Symbol 180 Graphic | Used by:181 | |
Symbol 181 MovieClip | Uses:173 174 175 176 177 178 179 180 | Used by:186 202 |
Symbol 182 Graphic | Used by:186 | |
Symbol 183 Graphic | Used by:186 | |
Symbol 184 Graphic | Used by:186 | |
Symbol 185 Graphic | Used by:186 | |
Symbol 186 MovieClip | Uses:172 181 182 183 184 185 | Used by:Timeline |
Symbol 187 Graphic | Used by:202 | |
Symbol 188 Graphic | Used by:196 | |
Symbol 189 Graphic | Used by:196 | |
Symbol 190 Graphic | Used by:196 | |
Symbol 191 Graphic | Used by:196 | |
Symbol 192 Graphic | Used by:196 | |
Symbol 193 Graphic | Used by:196 | |
Symbol 194 Graphic | Used by:196 | |
Symbol 195 Graphic | Used by:196 | |
Symbol 196 MovieClip | Uses:188 189 190 191 192 193 194 195 | Used by:202 208 |
Symbol 197 Graphic | Used by:202 | |
Symbol 198 Graphic | Used by:202 | |
Symbol 199 Graphic | Used by:202 | |
Symbol 200 Graphic | Used by:202 | |
Symbol 201 Graphic | Used by:202 | |
Symbol 202 MovieClip | Uses:187 196 157 166 197 181 198 199 200 201 | Used by:Timeline |
Symbol 203 Graphic | Used by:208 | |
Symbol 204 Graphic | Used by:208 | |
Symbol 205 Graphic | Used by:208 | |
Symbol 206 Graphic | Used by:208 | |
Symbol 207 Graphic | Used by:208 | |
Symbol 208 MovieClip | Uses:203 196 204 205 206 207 | Used by:Timeline |
Symbol 209 MovieClip | Uses:66 67 68 | Used by:Timeline |
Symbol 210 Font | Used by:211 212 213 214 215 216 | |
Symbol 211 Text | Uses:210 | Used by:Timeline |
Symbol 212 EditableText | Uses:210 | Used by:Timeline |
Symbol 213 EditableText | Uses:210 | Used by:Timeline |
Symbol 214 EditableText | Uses:210 | Used by:Timeline |
Symbol 215 EditableText | Uses:210 | Used by:Timeline |
Symbol 216 EditableText | Uses:210 | Used by:Timeline |
Symbol 217 Graphic | Used by:Timeline | |
Symbol 218 Graphic | Used by:Timeline | |
Symbol 219 Graphic | Used by:Timeline | |
Symbol 220 Text | Uses:44 | Used by:Timeline |
Symbol 221 Text | Uses:44 | Used by:Timeline |
Symbol 222 Text | Uses:44 | Used by:Timeline |
Symbol 223 Graphic | Used by:224 | |
Symbol 224 MovieClip | Uses:223 | Used by:Timeline |
Symbol 225 Graphic | Used by:226 | |
Symbol 226 MovieClip | Uses:225 | Used by:Timeline |
Symbol 227 Graphic | Used by:228 | |
Symbol 228 MovieClip | Uses:227 | Used by:Timeline |
Symbol 229 Graphic | Used by:230 | |
Symbol 230 MovieClip | Uses:229 | Used by:Timeline |
Symbol 231 Graphic | Used by:236 | |
Symbol 232 Graphic | Used by:236 | |
Symbol 233 Graphic | Used by:236 | |
Symbol 234 Graphic | Used by:236 | |
Symbol 235 Graphic | Used by:236 | |
Symbol 236 MovieClip | Uses:52 231 232 233 234 235 | Used by:Timeline |
Symbol 237 Graphic | Used by:241 | |
Symbol 238 Graphic | Used by:241 | |
Symbol 239 Graphic | Used by:241 | |
Symbol 240 Graphic | Used by:241 | |
Symbol 241 MovieClip | Uses:237 238 239 240 | Used by:Timeline |
Symbol 242 Graphic | Used by:243 | |
Symbol 243 Button | Uses:242 | Used by:Timeline |
Symbol 244 Graphic | Used by:Timeline | |
Symbol 245 Graphic | Used by:Timeline | |
Symbol 246 Graphic | Used by:251 | |
Symbol 247 Graphic | Used by:251 | |
Symbol 248 Text | Uses:44 | Used by:251 |
Symbol 249 Text | Uses:44 | Used by:251 |
Symbol 250 Graphic | Used by:251 | |
Symbol 251 Button | Uses:246 247 248 249 250 | Used by:Timeline |
Symbol 252 Text | Uses:44 | Used by:Timeline |
Symbol 253 Text | Uses:44 | Used by:Timeline |
Symbol 254 Text | Uses:23 | Used by:Timeline |
Symbol 255 Text | Uses:23 | Used by:Timeline |
Symbol 256 Graphic | Used by:Timeline | |
Symbol 257 EditableText | Uses:44 | Used by:Timeline |
Symbol 258 EditableText | Uses:44 | Used by:Timeline |
Symbol 259 EditableText | Uses:44 | Used by:Timeline |
Symbol 260 EditableText | Uses:44 | Used by:Timeline |
Instance Names
"progressbar" | Frame 1 | Symbol 9 MovieClip |
"next" | Frame 3 | Symbol 58 Button |
"background" | Frame 8 | Symbol 82 MovieClip |
"dor" | Frame 8 | Symbol 85 MovieClip |
"trishot" | Frame 8 | Symbol 87 MovieClip |
"sqshot" | Frame 8 | Symbol 89 MovieClip |
"circleshot" | Frame 8 | Symbol 91 MovieClip |
"polygonenemy" | Frame 8 | Symbol 128 MovieClip |
"multiup" | Frame 8 | Symbol 131 MovieClip |
"octoup" | Frame 8 | Symbol 132 MovieClip |
"deflectorup" | Frame 8 | Symbol 133 MovieClip |
"polyshot" | Frame 8 | Symbol 135 MovieClip |
"circleenemy" | Frame 8 | Symbol 142 MovieClip |
"squareenemy" | Frame 8 | Symbol 149 MovieClip |
"triangleenemy" | Frame 8 | Symbol 156 MovieClip |
"bigcircle" | Frame 8 | Symbol 171 MovieClip |
"bigtriangle" | Frame 8 | Symbol 186 MovieClip |
"morphboss" | Frame 8 | Symbol 202 MovieClip |
"bigsquare" | Frame 8 | Symbol 208 MovieClip |
"pup" | Frame 8 | Symbol 209 MovieClip |
"score" | Frame 8 | Symbol 212 EditableText |
"life" | Frame 8 | Symbol 213 EditableText |
"pierceshot" | Frame 8 | Symbol 214 EditableText |
"multishot" | Frame 8 | Symbol 215 EditableText |
"octoshot" | Frame 8 | Symbol 216 EditableText |
"pillar4" | Frame 8 | Symbol 224 MovieClip |
"pillar1" | Frame 8 | Symbol 226 MovieClip |
"pillar3" | Frame 8 | Symbol 228 MovieClip |
"pillar2" | Frame 8 | Symbol 230 MovieClip |
"yourdude" | Frame 8 | Symbol 236 MovieClip |
"starshot" | Frame 8 | Symbol 241 MovieClip |
"thename" | Frame 9 | Symbol 257 EditableText |
"score" | Frame 9 | Symbol 258 EditableText |
"thename" | Frame 10 | Symbol 259 EditableText |
"score" | Frame 10 | Symbol 260 EditableText |
"bigbar" | Symbol 128 MovieClip Frame 1 | Symbol 117 MovieClip |
"redcenter" | Symbol 128 MovieClip Frame 1 | Symbol 119 MovieClip |
"cbar" | Symbol 171 MovieClip Frame 1 | Symbol 166 MovieClip |
"tbar" | Symbol 186 MovieClip Frame 1 | Symbol 181 MovieClip |
"sqbar" | Symbol 202 MovieClip Frame 1 | Symbol 196 MovieClip |
"cbar" | Symbol 202 MovieClip Frame 2 | Symbol 166 MovieClip |
"tbar" | Symbol 202 MovieClip Frame 3 | Symbol 181 MovieClip |
"sqbar" | Symbol 208 MovieClip Frame 1 | Symbol 196 MovieClip |
Special Tags
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "shapewars" |
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "NICEDING" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "DINGS" |
ExportAssets (56) | Timeline Frame 1 | Symbol 261 as "__Packages.mochi.MochiServices" |
ExportAssets (56) | Timeline Frame 1 | Symbol 262 as "__Packages.MochiAd" |
ExportAssets (56) | Timeline Frame 1 | Symbol 263 as "__Packages.mochi.MochiScores" |
Labels
"menu" | Frame 2 |
"instr" | Frame 3 |
"instr2" | Frame 4 |
"credits" | Frame 5 |
"highscores" | Frame 6 |
"game" | Frame 8 |
"gameover" | Frame 9 |
"sqbar" | Symbol 208 MovieClip Frame 1 |
Dynamic Text Variables
score | Symbol 212 EditableText | "" |
life | Symbol 213 EditableText | "" |
pierceshot | Symbol 214 EditableText | "" |
multishot | Symbol 215 EditableText | "" |
octoshot | Symbol 216 EditableText | "" |
thename | Symbol 257 EditableText | "" |
score | Symbol 258 EditableText | "" |
thename | Symbol 259 EditableText | "" |
score | Symbol 260 EditableText | "" |
|