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

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

Shape Wars.swf

This is the info page for
Flash #47657

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


Text
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 1
stop(); MochiAd.showPreGameAd({id:"194db9a9ffbdcc90", res:"550x400"}); mochi.MochiServices.connect("194db9a9ffbdcc90");
Instance of Symbol 9 MovieClip "progressbar" in Frame 1
onClipEvent (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 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop(); 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 8
onClipEvent (load) { startDrag (this, true); }
Instance of Symbol 87 MovieClip "trishot" in Frame 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 8
onClipEvent (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 9
stop(); 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 Button
on (release) { getURL ("http://www.flashninjaclan.com", "_blank"); }
Symbol 261 MovieClip [__Packages.mochi.MochiServices] Frame 0
class 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 0
class 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 0
class 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 Button
on (release) { _root.background.swapDepths(9999); _root.background.removeMovieClip(); _root.gotoAndPlay("game"); }
Symbol 31 Button
on (release) { _root.background.swapDepths(9999); _root.background.removeMovieClip(); _root.gotoAndPlay("instr"); }
Symbol 34 Button
on (release) { _root.gotoAndPlay("highscores"); }
Symbol 36 Button
on (release) { getURL ("http://www.flashninjaclan.com", "_blank"); }
Symbol 39 Button
on (release) { getURL ("http://www.java-gaming.com", "_blank"); }
Symbol 42 Button
on (release) { _root.background.swapDepths(9999); _root.background.removeMovieClip(); _root.gotoAndPlay("credits"); }
Symbol 58 Button
on (release) { _root.gotoAndPlay("instr2"); }
Symbol 76 Button
on (release) { _root.gotoAndPlay("menu"); }
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
stop();
Symbol 82 MovieClip Frame 3
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 2
stop();
Symbol 117 MovieClip Frame 3
stop();
Symbol 117 MovieClip Frame 4
stop();
Symbol 117 MovieClip Frame 5
stop();
Symbol 117 MovieClip Frame 6
stop();
Symbol 117 MovieClip Frame 7
stop();
Symbol 117 MovieClip Frame 8
stop();
Symbol 117 MovieClip Frame 9
stop();
Symbol 117 MovieClip Frame 10
stop();
Symbol 117 MovieClip Frame 11
stop();
Symbol 117 MovieClip Frame 12
stop();
Symbol 117 MovieClip Frame 13
stop();
Symbol 117 MovieClip Frame 14
stop();
Symbol 117 MovieClip Frame 15
stop();
Symbol 117 MovieClip Frame 16
stop();
Symbol 117 MovieClip Frame 17
stop();
Symbol 117 MovieClip Frame 18
stop();
Symbol 117 MovieClip Frame 19
stop();
Symbol 117 MovieClip Frame 20
stop();
Symbol 117 MovieClip Frame 21
stop();
Symbol 117 MovieClip Frame 22
stop();
Symbol 117 MovieClip Frame 23
stop();
Symbol 117 MovieClip Frame 24
stop();
Symbol 117 MovieClip Frame 25
stop();
Symbol 117 MovieClip Frame 26
stop();
Symbol 117 MovieClip Frame 27
stop();
Symbol 117 MovieClip Frame 28
stop();
Symbol 117 MovieClip Frame 29
stop();
Symbol 117 MovieClip Frame 30
stop();
Symbol 117 MovieClip Frame 31
stop();
Symbol 117 MovieClip Frame 32
stop();
Symbol 117 MovieClip Frame 33
stop();
Symbol 117 MovieClip Frame 34
stop();
Symbol 117 MovieClip Frame 35
stop();
Symbol 117 MovieClip Frame 36
stop();
Symbol 117 MovieClip Frame 37
stop();
Symbol 117 MovieClip Frame 38
stop();
Symbol 117 MovieClip Frame 39
stop();
Symbol 117 MovieClip Frame 40
stop();
Symbol 117 MovieClip Frame 41
stop();
Symbol 117 MovieClip Frame 42
stop();
Symbol 117 MovieClip Frame 43
stop();
Symbol 117 MovieClip Frame 44
stop();
Symbol 117 MovieClip Frame 45
stop();
Symbol 117 MovieClip Frame 46
stop();
Symbol 117 MovieClip Frame 47
stop();
Symbol 117 MovieClip Frame 48
stop();
Symbol 117 MovieClip Frame 49
stop();
Symbol 117 MovieClip Frame 50
stop();
Symbol 117 MovieClip Frame 51
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
this.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 9
this.reset();
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
if (_global.sound == 1) { _root.playsound4.start(0, 1); } this.dead = 1; _root.score = _root.score + 10;
Symbol 142 MovieClip Frame 7
this.removeMovieClip();
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
if (_global.sound == 1) { _root.playsound4.start(0, 1); } this.dead = 1; _root.score = _root.score + 10;
Symbol 149 MovieClip Frame 7
this.removeMovieClip();
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
if (_global.sound == 1) { _root.playsound4.start(0, 1); } this.dead = 1; _root.score = _root.score + 10;
Symbol 156 MovieClip Frame 7
this.removeMovieClip();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 2
stop();
Symbol 166 MovieClip Frame 3
stop();
Symbol 166 MovieClip Frame 4
stop();
Symbol 166 MovieClip Frame 5
stop();
Symbol 166 MovieClip Frame 6
stop();
Symbol 166 MovieClip Frame 7
stop();
Symbol 166 MovieClip Frame 8
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 2
if (_global.sound == 1) { _root.playsound3.start(0, 1); } this.dead = 1; _root.score = _root.score + 50;
Symbol 171 MovieClip Frame 5
this.removeMovieClip();
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 2
stop();
Symbol 181 MovieClip Frame 3
stop();
Symbol 181 MovieClip Frame 4
stop();
Symbol 181 MovieClip Frame 5
stop();
Symbol 181 MovieClip Frame 6
stop();
Symbol 181 MovieClip Frame 7
stop();
Symbol 181 MovieClip Frame 8
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 2
this.dead = 1; _root.score = _root.score + 50; if (_global.sound == 1) { _root.playsound3.start(0, 1); }
Symbol 186 MovieClip Frame 5
this.removeMovieClip();
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 2
stop();
Symbol 196 MovieClip Frame 3
stop();
Symbol 196 MovieClip Frame 4
stop();
Symbol 196 MovieClip Frame 5
stop();
Symbol 196 MovieClip Frame 6
stop();
Symbol 196 MovieClip Frame 7
stop();
Symbol 196 MovieClip Frame 8
stop();
Symbol 202 MovieClip Frame 1
stop(); this.val = 1;
Symbol 202 MovieClip Frame 2
stop(); this.val = 2;
Symbol 202 MovieClip Frame 3
stop(); this.val = 3;
Symbol 202 MovieClip Frame 4
this.dead = 1; _root.score = _root.score + 100; if (_global.sound == 1) { _root.playsound3.start(0, 1); }
Symbol 202 MovieClip Frame 7
stop(); this.removeMovieClip();
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 2
this.dead = 1; _root.score = _root.score + 50; if (_global.sound == 1) { _root.playsound3.start(0, 1); }
Symbol 208 MovieClip Frame 5
this.removeMovieClip();
Symbol 236 MovieClip Frame 1
stop(); this.bounce = 0;
Symbol 236 MovieClip Frame 2
stop();
Symbol 236 MovieClip Frame 3
stop();
Symbol 236 MovieClip Frame 4
this.bounce = 1; stop();
Symbol 236 MovieClip Frame 5
this.dead = 1; this.dead = 1;
Symbol 236 MovieClip Frame 6
this.swapDepths(9900); this.removeMovieClip();
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 2
this.dead = 1;
Symbol 241 MovieClip Frame 5
this.removeMovieClip();
Symbol 243 Button
on (release) { if (_global.sound == 1) { _global.sound = 0; stopAllSounds(); } else if (_global.sound == 0) { _global.sound = 1; playsound2.start(1, 1000000); } }
Symbol 251 Button
on (release) { _root.gotoAndPlay("menu"); }

Library Items

Symbol 1 Sound [shapewars]
Symbol 2 Sound [NICEDING]
Symbol 3 Sound [DINGS]
Symbol 4 GraphicUsed by:Timeline
Symbol 5 BitmapUsed by:6
Symbol 6 GraphicUses:5Used by:7
Symbol 7 ButtonUses:6Used by:Timeline
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:Timeline
Symbol 10 GraphicUsed by:14
Symbol 11 FontUsed by:12 13
Symbol 12 TextUses:11Used by:14  Timeline
Symbol 13 TextUses:11Used by:14  Timeline
Symbol 14 ButtonUses:10 12 13Used by:Timeline
Symbol 261 MovieClip [__Packages.mochi.MochiServices]
Symbol 262 MovieClip [__Packages.MochiAd]
Symbol 263 MovieClip [__Packages.mochi.MochiScores]
Symbol 15 GraphicUsed by:Timeline
Symbol 16 GraphicUsed by:Timeline
Symbol 17 GraphicUsed by:Timeline
Symbol 18 GraphicUsed by:Timeline
Symbol 19 GraphicUsed by:Timeline
Symbol 20 GraphicUsed by:Timeline
Symbol 21 GraphicUsed by:Timeline
Symbol 22 GraphicUsed by:Timeline
Symbol 23 FontUsed by:24 29 32 35 37 40 254 255
Symbol 24 TextUses:23Used by:28
Symbol 25 GraphicUsed by:28 31 34 36 39 42
Symbol 26 GraphicUsed by:28 31 34 36 39 42
Symbol 27 GraphicUsed by:28
Symbol 28 ButtonUses:24 25 26 27Used by:Timeline
Symbol 29 TextUses:23Used by:31
Symbol 30 GraphicUsed by:31
Symbol 31 ButtonUses:29 25 26 30Used by:Timeline
Symbol 32 TextUses:23Used by:34
Symbol 33 GraphicUsed by:34 36
Symbol 34 ButtonUses:32 25 26 33Used by:Timeline
Symbol 35 TextUses:23Used by:36
Symbol 36 ButtonUses:35 25 26 33Used by:Timeline
Symbol 37 TextUses:23Used by:39
Symbol 38 GraphicUsed by:39
Symbol 39 ButtonUses:37 25 26 38Used by:Timeline
Symbol 40 TextUses:23Used by:42
Symbol 41 GraphicUsed by:42
Symbol 42 ButtonUses:40 25 26 41Used by:Timeline
Symbol 43 GraphicUsed by:Timeline
Symbol 44 FontUsed by:45 220 221 222 248 249 252 253 257 258 259 260
Symbol 45 TextUses:44Used by:Timeline
Symbol 46 GraphicUsed by:Timeline
Symbol 47 GraphicUsed by:Timeline
Symbol 48 GraphicUsed by:Timeline
Symbol 49 GraphicUsed by:149  Timeline
Symbol 50 GraphicUsed by:142  Timeline
Symbol 51 GraphicUsed by:156  Timeline
Symbol 52 GraphicUsed by:236  Timeline
Symbol 53 FontUsed by:54 74 78
Symbol 54 TextUses:53Used by:Timeline
Symbol 55 GraphicUsed by:Timeline
Symbol 56 GraphicUsed by:Timeline
Symbol 57 GraphicUsed by:58
Symbol 58 ButtonUses:57Used by:Timeline
Symbol 59 GraphicUsed by:133  Timeline
Symbol 60 FontUsed by:61 62 64 65 67 68 70 71
Symbol 61 TextUses:60Used by:133  Timeline
Symbol 62 TextUses:60Used by:133  Timeline
Symbol 63 GraphicUsed by:131  Timeline
Symbol 64 TextUses:60Used by:131  Timeline
Symbol 65 TextUses:60Used by:131  Timeline
Symbol 66 GraphicUsed by:209  Timeline
Symbol 67 TextUses:60Used by:209  Timeline
Symbol 68 TextUses:60Used by:209  Timeline
Symbol 69 GraphicUsed by:132  Timeline
Symbol 70 TextUses:60Used by:132  Timeline
Symbol 71 TextUses:60Used by:132  Timeline
Symbol 72 GraphicUsed by:Timeline
Symbol 73 GraphicUsed by:Timeline
Symbol 74 TextUses:53Used by:Timeline
Symbol 75 GraphicUsed by:76
Symbol 76 ButtonUses:75Used by:Timeline
Symbol 77 GraphicUsed by:Timeline
Symbol 78 TextUses:53Used by:Timeline
Symbol 79 GraphicUsed by:82
Symbol 80 GraphicUsed by:82
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:79 80 81Used by:Timeline
Symbol 83 GraphicUsed by:Timeline
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:84Used by:Timeline
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:Timeline
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:Timeline
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:90Used by:Timeline
Symbol 92 GraphicUsed by:128
Symbol 93 GraphicUsed by:117
Symbol 94 GraphicUsed by:117
Symbol 95 GraphicUsed by:117
Symbol 96 GraphicUsed by:117
Symbol 97 GraphicUsed by:117
Symbol 98 GraphicUsed by:117
Symbol 99 GraphicUsed by:117
Symbol 100 GraphicUsed by:117
Symbol 101 GraphicUsed by:117
Symbol 102 GraphicUsed by:117
Symbol 103 GraphicUsed by:117
Symbol 104 GraphicUsed by:117
Symbol 105 GraphicUsed by:117
Symbol 106 GraphicUsed by:117
Symbol 107 GraphicUsed by:117
Symbol 108 GraphicUsed by:117
Symbol 109 GraphicUsed by:117
Symbol 110 GraphicUsed by:117
Symbol 111 GraphicUsed by:117
Symbol 112 GraphicUsed by:117
Symbol 113 GraphicUsed by:117
Symbol 114 GraphicUsed by:117
Symbol 115 GraphicUsed by:117
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116Used by:128
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:128
Symbol 120 GraphicUsed by:128
Symbol 121 GraphicUsed by:128
Symbol 122 GraphicUsed by:128
Symbol 123 GraphicUsed by:128
Symbol 124 GraphicUsed by:128
Symbol 125 GraphicUsed by:128
Symbol 126 GraphicUsed by:128
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:92 117 119 120 121 122 123 124 125 126 127Used by:Timeline
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:129Used by:Timeline
Symbol 131 MovieClipUses:63 64 65Used by:Timeline
Symbol 132 MovieClipUses:69 70 71Used by:Timeline
Symbol 133 MovieClipUses:59 61 62Used by:Timeline
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:134Used by:Timeline
Symbol 136 GraphicUsed by:142
Symbol 137 GraphicUsed by:142
Symbol 138 GraphicUsed by:142
Symbol 139 GraphicUsed by:142
Symbol 140 GraphicUsed by:142
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:50 136 137 138 139 140 141Used by:Timeline
Symbol 143 GraphicUsed by:149
Symbol 144 GraphicUsed by:149
Symbol 145 GraphicUsed by:149
Symbol 146 GraphicUsed by:149
Symbol 147 GraphicUsed by:149
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:49 143 144 145 146 147 148Used by:Timeline
Symbol 150 GraphicUsed by:156
Symbol 151 GraphicUsed by:156
Symbol 152 GraphicUsed by:156
Symbol 153 GraphicUsed by:156
Symbol 154 GraphicUsed by:156
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:51 150 151 152 153 154 155Used by:Timeline
Symbol 157 GraphicUsed by:171 202
Symbol 158 GraphicUsed by:166
Symbol 159 GraphicUsed by:166
Symbol 160 GraphicUsed by:166
Symbol 161 GraphicUsed by:166
Symbol 162 GraphicUsed by:166
Symbol 163 GraphicUsed by:166
Symbol 164 GraphicUsed by:166
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClipUses:158 159 160 161 162 163 164 165Used by:171 202
Symbol 167 GraphicUsed by:171
Symbol 168 GraphicUsed by:171
Symbol 169 GraphicUsed by:171
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:157 166 167 168 169 170Used by:Timeline
Symbol 172 GraphicUsed by:186
Symbol 173 GraphicUsed by:181
Symbol 174 GraphicUsed by:181
Symbol 175 GraphicUsed by:181
Symbol 176 GraphicUsed by:181
Symbol 177 GraphicUsed by:181
Symbol 178 GraphicUsed by:181
Symbol 179 GraphicUsed by:181
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:173 174 175 176 177 178 179 180Used by:186 202
Symbol 182 GraphicUsed by:186
Symbol 183 GraphicUsed by:186
Symbol 184 GraphicUsed by:186
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:172 181 182 183 184 185Used by:Timeline
Symbol 187 GraphicUsed by:202
Symbol 188 GraphicUsed by:196
Symbol 189 GraphicUsed by:196
Symbol 190 GraphicUsed by:196
Symbol 191 GraphicUsed by:196
Symbol 192 GraphicUsed by:196
Symbol 193 GraphicUsed by:196
Symbol 194 GraphicUsed by:196
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:188 189 190 191 192 193 194 195Used by:202 208
Symbol 197 GraphicUsed by:202
Symbol 198 GraphicUsed by:202
Symbol 199 GraphicUsed by:202
Symbol 200 GraphicUsed by:202
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClipUses:187 196 157 166 197 181 198 199 200 201Used by:Timeline
Symbol 203 GraphicUsed by:208
Symbol 204 GraphicUsed by:208
Symbol 205 GraphicUsed by:208
Symbol 206 GraphicUsed by:208
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:203 196 204 205 206 207Used by:Timeline
Symbol 209 MovieClipUses:66 67 68Used by:Timeline
Symbol 210 FontUsed by:211 212 213 214 215 216
Symbol 211 TextUses:210Used by:Timeline
Symbol 212 EditableTextUses:210Used by:Timeline
Symbol 213 EditableTextUses:210Used by:Timeline
Symbol 214 EditableTextUses:210Used by:Timeline
Symbol 215 EditableTextUses:210Used by:Timeline
Symbol 216 EditableTextUses:210Used by:Timeline
Symbol 217 GraphicUsed by:Timeline
Symbol 218 GraphicUsed by:Timeline
Symbol 219 GraphicUsed by:Timeline
Symbol 220 TextUses:44Used by:Timeline
Symbol 221 TextUses:44Used by:Timeline
Symbol 222 TextUses:44Used by:Timeline
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClipUses:223Used by:Timeline
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:Timeline
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:Timeline
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:Timeline
Symbol 231 GraphicUsed by:236
Symbol 232 GraphicUsed by:236
Symbol 233 GraphicUsed by:236
Symbol 234 GraphicUsed by:236
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClipUses:52 231 232 233 234 235Used by:Timeline
Symbol 237 GraphicUsed by:241
Symbol 238 GraphicUsed by:241
Symbol 239 GraphicUsed by:241
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:237 238 239 240Used by:Timeline
Symbol 242 GraphicUsed by:243
Symbol 243 ButtonUses:242Used by:Timeline
Symbol 244 GraphicUsed by:Timeline
Symbol 245 GraphicUsed by:Timeline
Symbol 246 GraphicUsed by:251
Symbol 247 GraphicUsed by:251
Symbol 248 TextUses:44Used by:251
Symbol 249 TextUses:44Used by:251
Symbol 250 GraphicUsed by:251
Symbol 251 ButtonUses:246 247 248 249 250Used by:Timeline
Symbol 252 TextUses:44Used by:Timeline
Symbol 253 TextUses:44Used by:Timeline
Symbol 254 TextUses:23Used by:Timeline
Symbol 255 TextUses:23Used by:Timeline
Symbol 256 GraphicUsed by:Timeline
Symbol 257 EditableTextUses:44Used by:Timeline
Symbol 258 EditableTextUses:44Used by:Timeline
Symbol 259 EditableTextUses:44Used by:Timeline
Symbol 260 EditableTextUses:44Used by:Timeline

Instance Names

"progressbar"Frame 1Symbol 9 MovieClip
"next"Frame 3Symbol 58 Button
"background"Frame 8Symbol 82 MovieClip
"dor"Frame 8Symbol 85 MovieClip
"trishot"Frame 8Symbol 87 MovieClip
"sqshot"Frame 8Symbol 89 MovieClip
"circleshot"Frame 8Symbol 91 MovieClip
"polygonenemy"Frame 8Symbol 128 MovieClip
"multiup"Frame 8Symbol 131 MovieClip
"octoup"Frame 8Symbol 132 MovieClip
"deflectorup"Frame 8Symbol 133 MovieClip
"polyshot"Frame 8Symbol 135 MovieClip
"circleenemy"Frame 8Symbol 142 MovieClip
"squareenemy"Frame 8Symbol 149 MovieClip
"triangleenemy"Frame 8Symbol 156 MovieClip
"bigcircle"Frame 8Symbol 171 MovieClip
"bigtriangle"Frame 8Symbol 186 MovieClip
"morphboss"Frame 8Symbol 202 MovieClip
"bigsquare"Frame 8Symbol 208 MovieClip
"pup"Frame 8Symbol 209 MovieClip
"score"Frame 8Symbol 212 EditableText
"life"Frame 8Symbol 213 EditableText
"pierceshot"Frame 8Symbol 214 EditableText
"multishot"Frame 8Symbol 215 EditableText
"octoshot"Frame 8Symbol 216 EditableText
"pillar4"Frame 8Symbol 224 MovieClip
"pillar1"Frame 8Symbol 226 MovieClip
"pillar3"Frame 8Symbol 228 MovieClip
"pillar2"Frame 8Symbol 230 MovieClip
"yourdude"Frame 8Symbol 236 MovieClip
"starshot"Frame 8Symbol 241 MovieClip
"thename"Frame 9Symbol 257 EditableText
"score"Frame 9Symbol 258 EditableText
"thename"Frame 10Symbol 259 EditableText
"score"Frame 10Symbol 260 EditableText
"bigbar"Symbol 128 MovieClip Frame 1Symbol 117 MovieClip
"redcenter"Symbol 128 MovieClip Frame 1Symbol 119 MovieClip
"cbar"Symbol 171 MovieClip Frame 1Symbol 166 MovieClip
"tbar"Symbol 186 MovieClip Frame 1Symbol 181 MovieClip
"sqbar"Symbol 202 MovieClip Frame 1Symbol 196 MovieClip
"cbar"Symbol 202 MovieClip Frame 2Symbol 166 MovieClip
"tbar"Symbol 202 MovieClip Frame 3Symbol 181 MovieClip
"sqbar"Symbol 208 MovieClip Frame 1Symbol 196 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "shapewars"
ExportAssets (56)Timeline Frame 1Symbol 2 as "NICEDING"
ExportAssets (56)Timeline Frame 1Symbol 3 as "DINGS"
ExportAssets (56)Timeline Frame 1Symbol 261 as "__Packages.mochi.MochiServices"
ExportAssets (56)Timeline Frame 1Symbol 262 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 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

scoreSymbol 212 EditableText""
lifeSymbol 213 EditableText""
pierceshotSymbol 214 EditableText""
multishotSymbol 215 EditableText""
octoshotSymbol 216 EditableText""
thenameSymbol 257 EditableText""
scoreSymbol 258 EditableText""
thenameSymbol 259 EditableText""
scoreSymbol 260 EditableText""




http://swfchan.com/10/47657/info.shtml
Created: 1/5 -2019 10:28:57 Last modified: 1/5 -2019 10:28:57 Server time: 14/05 -2024 07:17:11