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

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

Legitimate TD.swf

This is the info page for
Flash #67985

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


ActionScript [AS1/AS2]
Combined Code
// unknown tag 88 length 62 // unknown tag 88 length 67 movieClip 11 rowtoadd { } movieClip 13 bMSG { } movieClip 19 { } movieClip 22 { } movieClip 23 RAPID3A { frame 1 { if (this.hastarget == false) { this.stop(); } } frame 2 { if (_root.sOn) { _root.rapidSound.start(0, 1); } } frame 2 { this.TARGET_mc.life -= this.POWER; } } frame 1 { loader.stop(); lol = false; _root.origional.onEnterFrame = function () { if (lol == false) { trace(_root.getBytesLoaded() / _root.getBytesTotal()); loader.masker._width = (_root.getBytesLoaded() / _root.getBytesTotal()) * 650 * 1.265822784810127; if (_root.getBytesLoaded() / _root.getBytesTotal() >= 1) { loader.play(); lol = true; trace('AHDHSHFDHHDSF'); } } }; } frame 1 { stop(); System.security.allowDomain('*'); mochi.MochiServices.connect('708e098cee480479'); } frame 1 { } movieClip 28 { } instance origional of movieClip 28 { onClipEvent (load) { this.fall = Math.random() * (_root.fall - 20) + 10; this._alpha = 0; this._y -= fall; this.timeFall = Math.ceil(Math.random() * 5) + 15; this.dist = this.yy + this.fall; this.speed = this.dist / this.timeFall; this.falling = false; this.traveled = 0; this.chance = 0; this.colortime = 20; this.setbefore = false; } onClipEvent (enterFrame) { _root.loadedTotal = _root.getBytesLoaded() / _root.getBytesTotal(); if (_root.loadedTotal >= this.columnX / 38) { this.chance = 10; } if (_root.loadedTotal >= 1) { if (this.setbefore == false) { this.lifeTime = 90 + Math.random() * 50; this.setbefore = true; } this.chance = 3; if (this.colortime > 1) { this.gotoAndStop(this._currentframe + this.timeDist); --this.colortime; } if (this.colortime == 1) { this.gotoAndStop(100); } } else { this.timeDist = Math.floor((100 - this._currentframe) / 10); } if (falling == false) { this.lag = Math.ceil(Math.random() * this.chance); if (this.lag == 1) { falling = true; this.play(); } } if (this.speed * this.traveled / this.dist < 1) { if (falling) { this._y += this.speed; ++this.traveled; this._alpha = (this.speed * this.traveled / this.dist) * 100; } } else { this._y = this.yy + yPos; if (this.fake) { if (this._alpha > 10) { this._alpha -= 10; } else { this._alpha = 0; } } } if (this.lifeTime > 1) { --this.lifeTime; } else { if (this.lifeTime > 0) { if (this._alpha <= 11) { removeMovieClip(this); _root.dtscreated -= 1; } else { this._alpha -= 10; } } } } } movieClip 31 { } movieClip 32 { } movieClip 35 { } // unknown tag 88 length 64 button 47 { on (press) { _root.play(); } } button 48 { on (release) { getURL('http://www.thegamescenter.com', '_self'); } } movieClip 49 { frame 45 { this.stop(); } } movieClip 50 { frame 1 { _root.stop(); trace('hhah'); } frame 36 { stop(); } } // unknown tag 88 length 96 movieClip 54 { } movieClip 56 { } movieClip 58 { } movieClip 60 { } movieClip 62 { } movieClip 64 { } movieClip 65 { frame 1 { stop(); } } movieClip 68 { frame 1 { stop(); } } movieClip 70 { } movieClip 71 radio { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 20 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 74 { } movieClip 77 { } movieClip 79 { } movieClip 81 { } movieClip 82 explosion { frame 8 { removeMovieClip(this); stop(); this.removeMovieClip(); } } movieClip 83 { frame 1 { stop(); } } movieClip 84 tank { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 12 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 94 { } movieClip 96 { } movieClip 98 { } movieClip 100 { } movieClip 102 { } movieClip 104 { } movieClip 105 { frame 1 { stop(); } } movieClip 107 smiley { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 25 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 110 { frame 1 { gotoAndStop(Math.ceil(Math.random() * 2)); } } movieClip 111 binary { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 15 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 115 { frame 1 { stop(); } } movieClip 116 companion { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 16 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 118 { } movieClip 119 crack { } movieClip 121 { } movieClip 126 bEgg { frame 1 { stop(); } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } _root.MONEY += this.VALUE; } frame 12 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 128 { } movieClip 131 coconut { frame 1 { stop(); } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } _root.MONEY += this.VALUE; } frame 15 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 133 { } movieClip 134 { } movieClip 139 piano { frame 1 { stop(); } frame 2 { _root.MONEY += this.VALUE; if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } } frame 8 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 145 { } movieClip 152 wBall { frame 1 { stop(); } frame 2 { _root.MONEY += this.VALUE; if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } } frame 8 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 155 { } movieClip 156 { } movieClip 159 { } movieClip 162 { frame 20 { stop(); } } movieClip 163 flame_2 { } movieClip 165 { frame 10 { stop(); } } movieClip 167 ferrari { frame 1 { stop(); } frame 1 { } frame 2 { _root.MONEY += this.VALUE; if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } } frame 27 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 169 { } movieClip 172 hydrant { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 10 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 173 flame_3 { } movieClip 174 flame_4 { } movieClip 175 flame_5 { } movieClip 176 flame_6 { } movieClip 178 FWflame { } movieClip 182 { } movieClip 185 { } movieClip 186 { } movieClip 187 { } movieClip 198 helicopter { frame 1 { stop(); } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } _root.MONEY += this.VALUE; } frame 11 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 200 gMSG { } movieClip 202 missilem { } movieClip 204 { } movieClip 210 { } movieClip 211 nuke { frame 1 { stop(); } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } _root.MONEY += this.VALUE; } frame 5 { if (this.VALUE != 0) { gotoAndStop(110); } } frame 113 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 213 { } movieClip 214 { } movieClip 215 { } movieClip 219 people { frame 1 { stop(); b; } frame 2 { _root.MONEY += this.VALUE; if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } } frame 7 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 229 Schoolbus_back { frame 1 { stop(); } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } _root.MONEY += this.VALUE; } frame 10 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } // unknown tag 88 length 68 movieClip 241 schoolbus_front { frame 1 { stop(); } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } _root.MONEY += this.VALUE; } frame 9 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 249 schoolbus_mid { frame 1 { stop(); } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } _root.MONEY += this.VALUE; } frame 20 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 253 { frame 25 { removeMovieClip(this); } } movieClip 263 smart_car { frame 1 { stop(); this._rotation += 90; BAR.onEnterFrame = function () { this._rotation += Math.random() - Math.random(); }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } _root.MONEY += this.VALUE; } frame 11 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 265 { } movieClip 266 smoke { frame 20 { removeMovieClip(this); } } movieClip 275 { frame 1 { stop(); } } movieClip 279 { frame 1 { stop(); } } movieClip 287 { frame 1 { stop(); } } movieClip 289 block { frame 1 { stop(); } } movieClip 296 { frame 1 { stop(); } } movieClip 303 { frame 1 { stop(); } } movieClip 305 blockbottom { frame 1 { stop(); } } movieClip 314 { frame 1 { stop(); } } movieClip 323 { frame 1 { stop(); } } movieClip 325 blocktop { frame 1 { stop(); } } movieClip 332 BASIC { frame 43 { if (this.hastarget == false) { this.stop(); } } frame 44 { this.TARGET_mc.life -= this.POWER; if (_root.sOn) { _root.basicSound.start(0, 1); } } } movieClip 338 BASIC1A { frame 43 { if (this.hastarget == false) { this.stop(); } } frame 44 { this.TARGET_mc.life -= this.POWER; if (_root.sOn) { _root.basicSound.start(0, 1); } } } movieClip 344 BASIC2A { frame 35 { if (this.hastarget == false) { this.stop(); } } frame 36 { this.TARGET_mc.life -= this.POWER; if (_root.sOn) { _root.basicSound.start(0, 1); } } } movieClip 356 BASIC3A { frame 17 { if (this.hastarget == false) { this.stop(); } } frame 18 { this.TARGET_mc.life -= this.POWER; } frame 18 { if (_root.sOn) { _root.basicSound.start(0, 1); } } frame 35 { if (this.hastarget == false) { this.stop(); } } frame 36 { this.TARGET_mc.life -= this.POWER; if (_root.sOn) { _root.basicSound.start(0, 1); } } } movieClip 369 BASIC4A { frame 9 { if (this.hastarget == false) { this.stop(); } } frame 10 { if (_root.sOn) { _root.basicSound.start(0, 1); } } frame 10 { this.TARGET_mc.life -= this.POWER; } frame 21 { if (this.hastarget == false) { this.stop(); } } frame 22 { if (_root.sOn) { _root.basicSound.start(0, 1); } } frame 22 { this.TARGET_mc.life -= this.POWER; } } movieClip 382 BASIC5A { frame 2 { if (this.hastarget == false) { this.stop(); } } frame 3 { this.TARGET_mc.life -= this.POWER; } frame 3 { if (_root.sOn) { _root.basicSound.start(0, 1); } } frame 7 { if (this.hastarget == false) { this.stop(); } } frame 8 { if (_root.sOn) { _root.basicSound.start(0, 1); } } frame 8 { this.TARGET_mc.life -= this.POWER; } } movieClip 385 FLAME { frame 2 { if (this.hastarget == false) { this.stop(); } } frame 3 { if (_root.sOn) { _root.flameSound.start(0, 1); } } frame 3 { _root.FLAMEROFL(this._rotation, this.POWER, this._x, this._y, 2, this.TARGET_mc); this.smoke.duplicateMovieClip('smoke' + this.i, this.i); this.i += 1; } } movieClip 389 FLAME1A { frame 2 { if (this.hastarget == false) { this.stop(); } } frame 3 { _root.FLAMEROFL(this._rotation, this.POWER, this._x, this._y, 3, this.TARGET_mc); this.smoke.duplicateMovieClip('smoke' + this.i, this.i); this.i += 1; if (_root.sOn) { _root.flameSound.start(0, 1); } } } movieClip 391 FLAME2A { frame 2 { if (this.hastarget == false) { this.stop(); } } frame 3 { _root.FLAMEROFL(this._rotation, this.POWER, this._x, this._y, 4, this.TARGET_mc); this.smoke.duplicateMovieClip('smoke' + this.i, this.i); this.i += 1; if (_root.sOn) { _root.flameSound.start(0, 1); } } } movieClip 393 FLAME3A { frame 2 { if (this.hastarget == false) { this.stop(); } } frame 3 { _root.FLAMEROFL(this._rotation, this.POWER, this._x, this._y, 5, this.TARGET_mc); this.smoke.duplicateMovieClip('smoke' + this.i, this.i); this.i += 1; if (_root.sOn) { _root.flameSound.start(0, 1); } } } movieClip 395 FLAME4A { frame 2 { if (this.hastarget == false) { this.stop(); } } frame 3 { _root.FLAMEROFL(this._rotation, this.POWER, this._x, this._y, 6, this.TARGET_mc); this.smoke.duplicateMovieClip('smoke' + this.i, this.i); this.i += 1; if (_root.sOn) { _root.flameSound.start(0, 1); } } } movieClip 397 MISSILE { frame 43 { if (this.hastarget == false) { this.stop(); } } frame 44 { if (_root.sOn) { _root.missleSound.start(0, 1); } } frame 44 { _root.missile_it(this._x + 6, this._y - 6, this._rotation, this.POWER, 80, this); } } movieClip 399 MISSILE1A { frame 30 { if (this.hastarget == false) { this.stop(); } } frame 31 { _root.missile_it(this._x + 6, this._y - 6, this._rotation, this.POWER, 80, this); } frame 31 { if (_root.sOn) { _root.missleSound.start(0, 1); } } } movieClip 402 MISSILE2A { frame 20 { if (this.hastarget == false) { this.stop(); } } frame 21 { if (_root.sOn) { _root.missleSound.start(0, 1); } } frame 21 { _root.missile_it(this._x + 6, this._y - 6, this._rotation, this.POWER, 80, this); } } movieClip 405 MISSILE3A { frame 10 { if (this.hastarget == false) { this.stop(); } } frame 11 { _root.missile_it(this._x + 6, this._y - 6, this._rotation, this.POWER, 80, this); } frame 11 { if (_root.sOn) { _root.missleSound.start(0, 1); } } } movieClip 408 MISSILE4A { frame 5 { if (this.hastarget == false) { this.stop(); } } frame 6 { _root.missile_it(this._x + 6, this._y - 6, this._rotation, this.POWER, 80, this); } frame 6 { if (_root.sOn) { _root.missleSound.start(0, 1); } } } movieClip 410 RAPID { frame 1 { if (this.hastarget == false) { this.stop(); } } frame 2 { if (_root.sOn) { _root.rapidSound.start(0, 1); } } frame 2 { this.TARGET_mc.life -= this.POWER; } } movieClip 413 RAPID1A { frame 1 { if (this.hastarget == false) { this.stop(); } } frame 2 { if (_root.sOn) { _root.rapidSound.start(0, 1); } } frame 2 { this.TARGET_mc.life -= this.POWER; } } movieClip 416 RAPID2A { frame 1 { if (this.hastarget == false) { this.stop(); } } frame 2 { if (_root.sOn) { _root.rapidSound.start(0, 1); } } frame 2 { this.TARGET_mc.life -= this.POWER; } } movieClip 419 RAPID4A { frame 1 { if (this.hastarget == false) { this.stop(); } } frame 2 { if (_root.sOn) { _root.rapidSound.start(0, 1); } } frame 2 { this.TARGET_mc.life -= this.POWER; } } movieClip 423 { } movieClip 424 SLOW { frame 1 { stop(); } } movieClip 427 SLOW1A { frame 1 { stop(); } } movieClip 430 SLOW2A { frame 1 { stop(); } } movieClip 433 SLOW3A { frame 1 { stop(); } } movieClip 436 SLOW4A { frame 1 { stop(); } } movieClip 439 worm_1 { frame 1 { stop(); } frame 2 { _root.MONEY += this.VALUE; if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } } frame 7 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 459 { } movieClip 481 { } movieClip 482 person { frame 1 { stop(); } } movieClip 486 Obama { frame 1 { stop(); this._y -= 100; } frame 1 { this.MID.n = 0; this.MID.onEnterFrame = function () { this._parent._rotation = 120 * (Math.abs(Math.round(this.n) - this.n) - 0.25); this.n += 0.03 * (0.3 - Math.abs(Math.abs(Math.round(this.n) - this.n) - 0.25)); }; } frame 3 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 17 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 488 { } movieClip 489 cow { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 10 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 494 { frame 1 { gotoAndStop(Math.ceil(Math.random() * 4)); } } movieClip 495 { frame 1 { stop(); } } movieClip 496 balloon { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 10 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 501 { frame 1 { stop(); } } movieClip 502 molecule { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 10 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 506 { frame 1 { stop(); } } movieClip 507 palin { frame 1 { stop(); } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 15 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 531 { frame 1 { stop(); } } movieClip 532 paperclip { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 23 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 538 { } movieClip 539 { } movieClip 547 { } movieClip 548 { frame 1 { stop(); } } movieClip 549 eye_ball { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 20 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 553 { } movieClip 554 koopa { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 20 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 557 { } movieClip 567 spork { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 10 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 570 { } movieClip 572 { } movieClip 575 { } movieClip 576 vending_machine { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; this._y -= 200; this._width /= 2; this._height /= 2; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 11 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 579 { frame 1 { stop(); } } movieClip 581 yinyang { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; this._width /= 2; this._height /= 2; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 25 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 596 { } movieClip 599 { } movieClip 601 { } movieClip 602 soviet_flag { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 21 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 605 { } movieClip 607 { } movieClip 609 { } movieClip 611 { } movieClip 613 { } movieClip 615 { } movieClip 617 { } movieClip 619 { } movieClip 620 { frame 1 { stop(); } } movieClip 621 iphone { frame 1 { stop(); } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 16 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 626 { frame 1 { stop(); } } movieClip 628 vista { frame 1 { stop(); CUBE.onEnterFrame = function () {}; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 25 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 631 { } movieClip 633 { } movieClip 635 { } movieClip 637 { } movieClip 639 { } movieClip 640 { frame 1 { stop(); } } movieClip 641 remover { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 16 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 644 { } movieClip 646 { } movieClip 648 { } movieClip 650 { } movieClip 652 { } movieClip 654 { } movieClip 656 { } movieClip 657 pencil_front { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 12 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 659 pencil_mid { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 12 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 662 { } movieClip 663 pencil_back { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 12 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 673 drum_kit { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 16 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 676 { } movieClip 677 finder { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 16 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 680 { } movieClip 683 { } movieClip 685 { } movieClip 687 { } movieClip 689 { } movieClip 690 { frame 1 { stop(); } } movieClip 691 xbox { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; this._y -= 100; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 12 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 694 { } movieClip 696 { } movieClip 698 { } movieClip 700 { } movieClip 702 { } movieClip 704 { } movieClip 705 mario { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 15 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 708 { } movieClip 709 chuck_norris { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 27 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 711 { } movieClip 714 { } movieClip 716 { } movieClip 718 { } movieClip 720 { } movieClip 723 { } movieClip 726 { } movieClip 727 { } movieClip 730 { } movieClip 731 { } movieClip 733 { } movieClip 735 { } movieClip 736 wiimote { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.moneyMSG(this.VALUE, this._x, this._y); } CUBE.gotoAndPlay(2); _root.MONEY += this.VALUE; } frame 15 { _root.ENEMIESLEFT -= 1; removeMovieClip(this); } } movieClip 739 sun { frame 1 { stop(); CUBE.onEnterFrame = function () { CUBE._rotation += 2; }; } frame 2 { if (this.VALUE > 0) { _root.win(); this.swapDepths(1500000); _root.window.gotoAndPlay(54); } else { this.swapDepths(1500000); _root.lose(); } CUBE.gotoAndPlay(2); stop(); } } frame 3 { function spawnMoving(TYPE) { xx = 900; _root.gen.onEnterFrame = function () { _root.buttons._x = 900 - xx - 150; _root.menu_window._x = 900 - xx - 430; _root.menu_window.gotoAndStop(TYPE); xx -= 30; if (xx == 0) { delete this.onEnterFrame; } }; } function bringBack() { xx = 0; _root.gen.onEnterFrame = function () { _root.buttons._x = 900 - xx - 150; _root.menu_window._x = 900 - xx - 430; xx += 30; if (xx == 900) { _root.menu_window.gotoAndStop(1); delete this.onEnterFrame; } }; } stop(); } movieClip 742 { frame 120 { stop(); } } movieClip 744 { } movieClip 746 { } movieClip 748 { } movieClip 763 { } movieClip 764 { frame 60 { stop(); removeMovieClip(this); } frame 61 { _root.window.removeMovieClip(); } frame 285 { for (ALLOFIT in _root) { if (_root[ALLOFIT]._name != 'alphaC' || _root[ALLOFIT]._name != 'mochi') { _root[ALLOFIT].removeMovieClip(); } } _root._width /= 1.2; _root._height /= 1.2; _root.gotoAndPlay('armorgames'); _root.mochi.MochiScores.showLeaderboard({'boardID': '60e34f98e19efabb', 'score': _root.pPoints, 'width': 400, 'height': 500}); this.removeMovieClip(); } } instance of movieClip 764 { onClipEvent (load) { this.swapDepths(200000000); } } // unknown tag 88 length 64 movieClip 774 { } movieClip 775 { frame 1 { stop(); } frame 15 { if (this.rolledOver) { this.stop(); } } frame 29 { gotoAndStop(1); } } movieClip 783 { frame 1 { stop(); } frame 15 { if (this.rolledOver) { this.stop(); } } frame 29 { gotoAndStop(1); } } movieClip 787 { frame 1 { stop(); } frame 15 { if (this.rolledOver) { this.stop(); } } frame 29 { gotoAndStop(1); } } movieClip 788 { frame 61 { stop(); } instance of movieClip 775 { onClipEvent (load) { this.rolledOver = false; this.onRollOver = function () { this.rolledOver = true; this.play(); }; this.onRollOut = function () { this.rolledOver = false; this.play(); }; this.onRelease = function () { _root.spawnMoving('play'); }; } } instance of movieClip 783 { onClipEvent (load) { this.rolledOver = false; this.onRollOver = function () { this.rolledOver = true; this.play(); }; this.onRollOut = function () { this.rolledOver = false; this.play(); }; this.onRelease = function () { _root.spawnMoving('credits'); }; } } instance of movieClip 787 { onClipEvent (load) { this.rolledOver = false; this.onRollOver = function () { this.rolledOver = true; this.play(); }; this.onRollOut = function () { this.rolledOver = false; this.play(); }; this.onRelease = function () { _root.spawnMoving('how'); }; } } } movieClip 791 { frame 84 { _root.play(); } } movieClip 794 { } movieClip 818 { } movieClip 819 { frame 1 { stop(); } } movieClip 829 { } movieClip 850 { frame 10 { stop(); } } movieClip 852 { frame 1 { stop(); } } movieClip 864 { } movieClip 865 { } movieClip 866 { instance of movieClip 794 { onClipEvent (enterFrame) { this.onPress = function () { _root.bringBack(); }; } } instance thetext of movieClip 865 { onClipEvent (load) { this.onPress = function () { startDrag(this, false, 40, 600, 40, -600); }; this.onRelease = function () { this.stopDrag(); }; this.onReleaseOutside = function () { this.stopDrag(); }; } } } movieClip 868 { } frame 4 { function SETSOUND(numb) { _root.missleSound.setVolume(numb); _root.flameSound.setVolume(numb); _root.explosionSound.setVolume(numb); _root.rapidSound.setVolume(numb); _root.basicSound.setVolume(numb); } _root.firstSound = new Sound(); _root.firstSound.attachSound('explosion1'); _root.firstSound.setVolume(75); _root.flameSound = new Sound(); _root.flameSound.attachSound('flameSOUND'); _root.flameSound.setVolume(75); _root.rapidSound = new Sound(); _root.rapidSound.attachSound('rapidSOUND'); _root.rapidSound.setVolume(75); _root.basicSound = new Sound(); _root.basicSound.attachSound('basicSOUND'); _root.basicSound.setVolume(75); _root.missleSound = new Sound(); _root.missleSound.attachSound('missileSOUND'); _root.missleSound.setVolume(75); } frame 4 { function resetDisin() { _root.disintegrator.clear(); _root.disintegrator.lineStyle(3, 39423, 60); _root.disintegrator.beginFill(39423, 20); _root.disintegrator.moveTo(-50, _root.disy); _root.disintegrator.lineTo(450, _root.disy); _root.disintegrator.lineTo(450, 600); _root.disintegrator.lineTo(-50, 600); _root.disintegrator.lineTo(-50, _root.disy); } function createGrid() { xx = 1; while (xx <= 30) { _root.gridOn = true; _root.disintegrator.createEmptyMovieClip('dlt' + xx, xx); _root.disintegrator['dlt' + xx].lineStyle(2, 16777215, 40); _root.disintegrator['dlt' + xx].lineTo(-10, 0); _root.disintegrator['dlt' + xx].lineTo(10, 0); _root.disintegrator['dlt' + xx]._x = Math.random() * 400 + 20; _root.disintegrator['dlt' + xx]._y = Math.random() * 150 + _root.disy; _root.disintegrator['dlt' + xx]._width = 60; _root.disintegrator['dlt' + xx]._height = 2; if (Math.random() < 0.5) { _root.disintegrator['dlt' + xx].inverse = true; } else { _root.disintegrator['dlt' + xx].inverse = false; } _root.disintegrator['dlt' + xx].speed = Math.ceil(Math.random() * 50 + 20); if (_root.disintegrator['dlt' + xx].inverse == true) { _root.disintegrator['dlt' + xx].speed = 400 - _root.disintegrator['dlt' + xx].speed; } ++xx; } } function removeGrid() { _root.gridOn = false; for (all in _root.disintegrator) { _root.disintegrator[all].removeMovieClip(); } } stop(); _root.createEmptyMovieClip('disintegrator', 1002); var theotherdisblur = new flash.filters.GlowFilter(65280, 0.5, 100, 10, 7, 1); _root.disintegrator.lineStyle(3, 65280, 60); _root.disy = 350; _root.disintegrator.xx = 60; _root.resetDisin(); _root.disconst = 0.3; _root.disintegrator.onEnterFrame = function () { for (smt in _root.enemies) { if (this.hitTest(_root.enemies[smt])) { _root.enemies[smt].life -= Math.ceil(_root.ll / 10) * _root.disconst; } } for (one in this) { this[one]._x = (this[one]._x + this[one].speed) % 400; } }; _root.createGrid == true; } frame 4 { function createPeople() { _root.peopleOn = true; _root.people.onEnterFrame = function () { if (_root.panic == true) { if (_root.panicTimer > 0) { _root.panicTimer -= 1; } else { _root.panic = false; } } if (_root.panic == false) { _root.panicTimer = 120; for (person in this) { thisPerson = this[person]; if (thisPerson.checked == false) { thisPerson.checked = true; thisPerson.gotoAndStop(thisPerson.BASE); if (thisPerson.BASE == 1) { thisPerson.speed = Math.random(); } else { if (thisPerson.BASE == 2) { thisPerson.speed = -1 * Math.random(); } } } } } else { if (_root.panic == true) { for (person in this) { thisPerson = this[person]; thisPerson.checked = false; if (_root.panicx >= thisPerson._x) { thisPerson.newBase = 2; thisPerson.speed = -3.5; } else { thisPerson.newBase = 1; thisPerson.speed = 3.5; } thisPerson.gotoAndStop(this.newBase + 2); } } } if (_root.Timer > 0) { _root.Timer -= 1; } if (_root.Timer == 0) { for (person in this) { thisPerson = this[person]; if (thisPerson._x >= 450) { thisPerson._x = -49; thisPerson.checked = false; } else { if (this._x <= -50) { thisPerson._x = 449; thisPerson.checked = false; } } thisPerson.Timer = 100; } } for (person in this) { this[person]._x += this[person].speed; } }; peeps = 1; while (peeps <= 20) { _root.people.attachMovie('person', 'person' + peeps, peeps); _root.people['person' + peeps]._x = Math.random() * 20 * peeps; _root.people['person' + peeps]._y = 520 + Math.random() * 5; _root.people['person' + peeps]._width = 8.800000000000001; _root.people['person' + peeps]._height = 19.1; _root.people['person' + peeps].checked = false; if (peeps <= 10) { _root.people['person' + peeps].BASE = 2; _root.people.speed = -1 * (Math.random() + 1.5); } else { _root.people['person' + peeps].BASE = 1; _root.people.speed = Math.random() + 1.5; } peeps += 1; } } function removePeople() { _root.peopleOn = false; for (all in _root.people) { _root.people[all].removeMovieClip(); } _root.people.onEnterFrame = function () {}; } function applyPanic(XXX) { _root.panic = true; _root.panicx = XXX; } _root.panic = false; _root.panicx = 200; _root.Timer = 30; _root._quality = 'MED'; var peopleWhite = new flash.filters.GlowFilter(16777215, 100, 1.2, 1.2, 10, 1, false, false); _root.createEmptyMovieClip('people', 2854); _root.people.filters = [peopleWhite]; } frame 4 { function Missile_aim() { this.speed = 6; this.onEnterFrame = function () { this.targets = this.cannon.TARGET_mc; _root.rotateTowardMouse.apply(this, [this.targets._x, this.targets._y]); speedx = Math.sin(this._rotation * 0.0174532925199433) * 2; speedy = Math.cos(this._rotation * 0.0174532925199433) * 2 * -1; this._x += speedx * this.speed; this._y += speedy * this.speed; if (this.hitTest(this.targets.MID)) { _root.explosionfunction(this._x, this._y, this.rad * 1.5, this.dam); this.removeMovieClip(); } this.lifeTime -= 1; if (this.lifeTime <= 0) { this.removeMovieClip(); } this.sTimer -= 1; if (this.sTimer <= 0 && _root.msOn) { _root.smoke.attachMovie('smoke', 'smoke' + _root.sDepth, _root.sDepth); _root.smoke['smoke' + _root.sDepth]._x = this._x; _root.smoke['smoke' + _root.sDepth]._y = this._y; _root.smoke['smoke' + _root.sDepth]._rotation = Math.random() * 360; this.sTimer = 10; _root.sDepth += 1; } }; } function missile_it(xCord, yCord, rot, dam, rad, targ) { _root.smoke.attachMovie('missilem', 'missile' + _root.sDepth, _root.sDepth); Msl = _root.smoke['missile' + _root.sDepth]; Msl._x = xCord; Msl._y = yCord; Msl._rotation = rot; Msl.cannon = targ; Msl.dam = dam; Msl.rad = rad; Msl.sTimer = 0; Msl.lifeTime = 100; Missile_aim.apply(Msl); _root.sDepth += 1; } _root.sDepth = 1; } frame 4 { function FLAMEROFL(ROT, POWER, X, Y, NUM, TARG) { _root.smoke.attachMovie('flame_' + NUM, 'flame' + _root.sDepth, _root.sDepth); FLAME = _root.smoke['flame' + _root.sDepth]; FLAME._x = X; FLAME._y = Y; FLAME.speed = 0.1; FLAME._rotation = ROT; FLAME.xx = Math.sin(FLAME._rotation * 0.0174532925199433) * 2; FLAME.yy = Math.cos(FLAME._rotation * 0.0174532925199433) * 2 * -1; FLAME._x += FLAME.xx * 7; FLAME._y += FLAME.yy * 7; TARG.life -= POWER; FLAME.onEnterFrame = function () { this._x += this.xx * this.speed; this._y += this.yy * this.speed; }; _root.sDepth += 1; } function hitGround(xCord) { _root.smoke.attachMovie('crack', 'crack' + _root.sDepth, _root.sDepth); Exp = _root.smoke['crack' + _root.sDepth]; Exp._x = xCord + (Math.random() * 10 - 5); Exp._y = 510 + Math.random() * 30; _root.sDepth += 1; } function explosionfunction(xCord, yCord, rad, dam) { _root.smoke.createEmptyMovieClip('exp' + _root.sDepth, _root.sDepth); _root.firstSound.start(0, 1); pnt = rad / 2; hitarea = _root.smoke['exp' + _root.sDepth]; hitarea._x = xCord; hitarea._y = yCord; hitarea.lineStyle(1, '0xFF0000', 0); hitarea.moveTo(-pnt, pnt); hitarea.lineTo(pnt, pnt); hitarea.lineTo(pnt, -pnt); hitarea.lineTo(-pnt, -pnt); hitarea.lineTo(-pnt, pnt); _root.sDepth += 1; _root.explodeG(xCord, yCord, rad / 2); for (Smt in _root.enemies) { if (_root.enemies[Smt].hitTest(hitarea)) { _root.enemies[Smt].life -= dam; } } } function explodeG(xCord, yCord, rad) { if (_root.msOn == true) { _root.smoke.attachMovie('explosion', 'explosion' + _root.sDepth, _root.sDepth); Exp = _root.smoke['explosion' + _root.sDepth]; Exp._x = xCord; Exp._y = yCord; Exp._width = rad; Exp._height = Exp._width; _root.sDepth += 1; } } function fireWork(XX, YY, S) { rand = Math.ceil(Math.random() * 3); var v2 = new flash.filters.GlowFilter(16711680, 70, 8, 8, 5, 2, false, false); if (rand == 1) { v2 = new flash.filters.GlowFilter(65280, 70, 8, 8, 5, 2, false, false); } else { if (rand == 2) { v2 = new flash.filters.GlowFilter(255, 70, 8, 8, 5, 2, false, false); } } xx = 0; while (xx <= 50) { _root.fireWorks.attachMovie('FWflame', 'flame' + _root.FWD, _root.FWD); _root.fireWorks['flame' + _root.FWD]._x = XX; _root.fireWorks['flame' + _root.FWD]._y = YY; r = Math.random() * S; theta = Math.random() * 360; _root.fireWorks['flame' + _root.FWD]._xspeed = Math.cos(theta) * r; _root.fireWorks['flame' + _root.FWD]._yspeed = Math.sin(theta) * r; if (_root.fwOn == true) { _root.fireWorks['flame' + _root.FWD].filters = [v2]; } _root.BEAPARTICLE.apply(_root.fireWorks['flame' + _root.FWD]); _root.FWD += 1; xx += 1; } } function BEAPARTICLE() { this.lifeLeft = 100 + Math.ceil(Math.random() * 30); this.onEnterFrame = function () { this._alpha = this.lifeLeft; this.lifeLeft -= 1; if (this.lifeLeft <= 0) { this.removeMovieClip(); } this._xspeed *= 0.98; this._yspeed += 0.2; if (this._y >= 525) { this._yspeed *= -0.5; this._y = 525; this.lifeLeft = Math.ceil(this.lifeLeft / 2); } this._y += this._yspeed; this._x += this._xspeed; }; } _root.createEmptyMovieClip('fireWorks', 2999); _root.FWD = 1; } frame 4 { function MESSAGE() { this.onEnterFrame = function () { this._x += 0.7; this._y -= 0.4; this._alpha -= 5; if (this._alpha <= 0) { this.removeMovieClip(); } }; } _root.heal_mc.onPress = function () { if (_root.heal_mc._currentframe != 3) { _root.MODE = 'heal'; } else { _root.heal_mc.gotoAndStop(1); _root.MODE = 'none'; } }; _root.heal_mc.onEnterFrame = function () { if (_root.MODE == 'heal') { _root.heal_mc.gotoAndStop(3); } else { if (_root.heal_mc._currentframe != 2) { _root.heal_mc.gotoAndStop(1); } } }; _root.heal_mc.onRollOver = function () { _root.heal_mc.gotoAndStop(2); }; _root.heal_mc.onRollOut = function () { _root.heal_mc.gotoAndStop(1); }; _root.upgrade_mc.onPress = function () { if (_root.upgrade_mc._currentframe != 3) { _root.MODE = 'upgrade'; } else { _root.upgrade_mc.gotoAndStop(1); _root.MODE = 'none'; } }; _root.upgrade_mc.onEnterFrame = function () { if (_root.MODE == 'upgrade') { _root.upgrade_mc.gotoAndStop(3); } else { if (_root.upgrade_mc._currentframe != 2) { _root.upgrade_mc.gotoAndStop(1); } } }; _root.upgrade_mc.onRollOver = function () { _root.upgrade_mc.gotoAndStop(2); }; _root.upgrade_mc.onRollOut = function () { _root.upgrade_mc.gotoAndStop(1); }; _root.basic_mc.onPress = function () { if (_root.basic_mc._currentframe != 3) { _root.MODE = 'basic'; } else { _root.basic_mc.gotoAndStop(1); _root.MODE = 'none'; } }; _root.basic_mc.onEnterFrame = function () { if (_root.MODE == 'basic') { _root.basic_mc.gotoAndStop(3); } else { if (_root.basic_mc._currentframe != 2) { _root.basic_mc.gotoAndStop(1); } } }; _root.basic_mc.onRollOver = function () { _root.basic_mc.gotoAndStop(2); }; _root.basic_mc.onRollOut = function () { _root.basic_mc.gotoAndStop(1); }; _root.rapid_mc.onPress = function () { if (_root.rapid_mc._currentframe != 3) { _root.MODE = 'rapid'; } else { _root.rapid_mc.gotoAndStop(1); _root.MODE = 'none'; } }; _root.rapid_mc.onEnterFrame = function () { if (_root.MODE == 'rapid') { _root.rapid_mc.gotoAndStop(3); } else { if (_root.rapid_mc._currentframe != 2) { _root.rapid_mc.gotoAndStop(1); } } }; _root.rapid_mc.onRollOver = function () { _root.rapid_mc.gotoAndStop(2); }; _root.rapid_mc.onRollOut = function () { _root.rapid_mc.gotoAndStop(1); }; _root.flame_mc.onPress = function () { if (_root.flame_mc._currentframe != 3) { _root.MODE = 'flame'; } else { _root.flame_mc.gotoAndStop(1); _root.MODE = 'none'; } }; _root.flame_mc.onEnterFrame = function () { if (_root.MODE == 'flame') { _root.flame_mc.gotoAndStop(3); } else { if (_root.flame_mc._currentframe != 2) { _root.flame_mc.gotoAndStop(1); } } }; _root.flame_mc.onRollOver = function () { _root.flame_mc.gotoAndStop(2); }; _root.flame_mc.onRollOut = function () { _root.flame_mc.gotoAndStop(1); }; _root.slow_mc.onPress = function () { if (_root.slow_mc._currentframe != 3) { _root.MODE = 'slow'; } else { _root.slow_mc.gotoAndStop(1); _root.MODE = 'none'; } }; _root.slow_mc.onEnterFrame = function () { if (_root.MODE == 'slow') { _root.slow_mc.gotoAndStop(3); } else { if (_root.slow_mc._currentframe != 2) { _root.slow_mc.gotoAndStop(1); } } }; _root.slow_mc.onRollOver = function () { _root.slow_mc.gotoAndStop(2); }; _root.slow_mc.onRollOut = function () { _root.slow_mc.gotoAndStop(1); }; _root.missile_mc.onPress = function () { if (_root.missile_mc._currentframe != 3) { _root.MODE = 'missile'; } else { _root.missile_mc.gotoAndStop(1); _root.MODE = 'none'; } }; _root.missile_mc.onEnterFrame = function () { if (_root.MODE == 'missile') { _root.missile_mc.gotoAndStop(3); } else { if (_root.missile_mc._currentframe != 2) { _root.missile_mc.gotoAndStop(1); } } }; _root.missile_mc.onRollOver = function () { _root.missile_mc.gotoAndStop(2); }; _root.missile_mc.onRollOut = function () { _root.missile_mc.gotoAndStop(1); }; _root.disintegrator_mc.onPress = function () { if (_root.bPoints >= 10) { _root.disy -= 25; _root.bPoints -= 10; _root.removeGrid(); _root.resetDisin(); _root.drawGrid(); } }; _root.disintegrator_mc.onRollOver = function () { _root.disintegrator_mc.gotoAndStop(2); }; _root.disintegrator_mc.onRollOut = function () { _root.disintegrator_mc.gotoAndStop(1); }; _root.poser.onEnterFrame = function () { _root.BGs.gotoAndStop(_root.ll + 1); if (_root._xmouse <= 200) { _root.sideNUM = 2; } else { _root.sideNUM = 3; } _root.LEVEL(); if (_root.inMenus == false) { if (_root.qmOn == false) { if (_root._xmouse >= 350 && _root._ymouse <= 200) { if (_root.posertwo._x >= 410) { _root.posertwo._x -= 3; } } else { if (_root.posertwo._x <= 455) { _root.posertwo._x += 3; } } if (_root._xmouse <= 75 && _root._ymouse <= 350) { if (_root.poser._x <= 3) { _root.poser._x += 3; } } else { if (_root.poser._x >= -50) { _root.poser._x -= 3; } } } else { if (_root._xmouse >= 350 && _root._ymouse <= 200) { if (_root.posertwo._x >= 410) { _root.posertwo._x = 410; } } else { if (_root.posertwo._x <= 455) { _root.posertwo._x = 455; } } if (_root._xmouse <= 75 && _root._ymouse <= 350) { if (_root.poser._x <= 3) { _root.poser._x = 3; } } else { if (_root.poser._x >= -50) { _root.poser._x = -53; } } } } _root.disintegrator_mc._x = _root.posertwo._x - 50; _root.upgrade_mc._x = _root.disintegrator_mc._x; _root.heal_mc._x = _root.disintegrator_mc._x; _root.missile_mc._x = _root.poser._x; _root.rapid_mc._x = _root.missile_mc._x; _root.basic_mc._x = _root.missile_mc._x; _root.flame_mc._x = _root.missile_mc._x; _root.slow_mc._x = _root.missile_mc._x; _root.panelone._x = _root.poser._x - 5; _root.paneltwo._x = _root.posertwo._x + 5; if (_root.life <= 0) { _root.lose(); } }; } frame 4 { function MESSAGE() { this.onEnterFrame = function () { this._x += 0.7; this._y -= 0.4; this._alpha -= 5; if (this._alpha <= 0) { this.removeMovieClip(); } }; } function moneyMSG(AMOUNT, XCORD, YCORD) { if (AMOUNT < 0) { _root.MSGS.attachMovie('bMSG', 'MSG' + MSGNUM, MSGNUM); _root.MSGS['MSG' + MSGNUM].MSG.text = AMOUNT; } else { _root.MSGS.attachMovie('gMSG', 'MSG' + MSGNUM, MSGNUM); _root.MSGS['MSG' + MSGNUM].MSG.text = '+' + AMOUNT; } _root.MSGS['MSG' + MSGNUM]._x = XCORD; _root.MSGS['MSG' + MSGNUM]._y = YCORD; MESSAGE.apply(_root.MSGS['MSG' + MSGNUM]); ++_root.MSGNUM; } function lose() { trace('lost'); _root.poser.onEnterFrame = function () {}; _root.alphaC.play(); _root.alphaC.swapDepths(10000002); } function BLOCK() { this.occupied = false; this.onEnterFrame = function () { if (this.life <= 0) { if (this.TOP == true) { _root.TOPS[this.TOPN] = _root.CITY['block' + (this.TOPA - 1)]; _root.TOPS[this.TOPN].TOP = true; } removeMovieClip(this); _root.pHit += 1; } this.GG.gotoAndStop(this.maxlife - this.life + 1); _root[_root.MODE].apply(this.CLICK); }; } function upgrade() { this.onRollOver = function () { if (_root.bPoints >= 1 && this._parent.life == this._parent.maxlife) { _root.OK = true; this.gotoAndStop(2); } else { _root.OK = false; this.gotoAndStop(3); } }; this.onRollOut = function () { this.gotoAndStop(1); }; this.onRelease = function () { if (_root.OK) { _root.bPoints -= 1; moneyMSG(-1, this._parent._x, this._parent._y); this._parent.gotoAndStop(this._parent._currentframe + 1); this._parent.maxlife += 1; this._parent.life += 1; if (_root.bPoints >= 1 && this._parent.life == this._parent.maxlife) { _root.OK = true; this.gotoAndStop(2); } else { _root.OK = false; this.gotoAndStop(3); } } }; this.onReleaseOutside = function () { this.gotoAndStop(1); }; } function heal() { this.onRollOver = function () { if (_root.bPoints >= 1 && this._parent.life < this._parent.maxlife) { _root.OK = true; this.gotoAndStop(2); } else { _root.OK = false; this.gotoAndStop(3); } }; this.onRollOut = function () { this.gotoAndStop(1); }; this.onRelease = function () { if (_root.OK) { _root.bPoints -= 1; moneyMSG(-1, this._parent._x, this._parent._y); this._parent.life += 1; if (_root.bPoints >= 1 && this._parent.life < this._parent.maxlife) { _root.OK = true; this.gotoAndStop(2); } else { _root.OK = false; this.gotoAndStop(3); } } }; this.onReleaseOutside = function () { this.gotoAndStop(1); }; } function basic() { this.onRollOver = function () { if (this._parent.occupied == false) { _root.cursor_two.cost = _root.BASIC_COSTS[0]; _root.cursor_two.rates = _root.BASIC_RATES[0]; _root.cursor_two.power = _root.BASIC_POWERS[0]; _root.cursor_two.range = _root.BASIC_RANGES[0]; } if (this._parent.occupied == false) { _root.cursor_two.gotoAndStop(_root.sideNUM); } if (this._parent.occupied == false && _root.MONEY >= 20 && this._parent.life == this._parent.maxlife && this._parent.occupied == false) { _root.OK = true; this.OK = true; _root.cursor.gotoAndStop(2); this.gotoAndStop(2); } else { _root.OK = false; this.OK = false; this.gotoAndStop(3); _root.cursor.gotoAndStop(1); } }; this.onRollOut = function () { this.gotoAndStop(1); _root.cursor.gotoAndStop(1); _root.cursor_two.gotoAndStop(1); }; this.onRelease = function () { if (this.OK) { _root.MONEY -= 10; this._parent.occupied = true; moneyMSG(-10, this._parent._x, this._parent._y); _root.TURRETS.attachMovie('BASIC', 'tower' + _root.TT, _root.TT); _root.TURRETS['tower' + _root.TT]._x = this._parent._x + 12.5; _root.TURRETS['tower' + _root.TT]._y = this._parent._y - 12.5; _root.TURRETS['tower' + _root.TT].PARENT_mc = this._parent; _root.TURRETS['tower' + _root.TT].UPGRADE = 0; _root.TURRETS['tower' + _root.TT].types = 'basic'; _root.TURRETS['tower' + _root.TT].POWER = _root.BASIC_POWERS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].UP_COSTS = _root.BASIC_COSTS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].RANGE = _root.BASIC_RANGES[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].RATES = _root.BASIC_RATES[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TOWERONEA.apply(_root.TURRETS['tower' + _root.TT]); this._parent.CHILD = _root.TURRETS['tower' + _root.TT]; _root.TT += 1; if (_root.MONEY >= 10 && this._parent.life == this._parent.maxlife && this._parent.occupied == false) { this.OK = true; _root.OK = true; _root.cursor.gotoAndStop(3); this.gotoAndStop(2); } else { _root.OK = false; this.OK = false; _root.cursor.gotoAndStop(1); this.gotoAndStop(3); } } }; this.onReleaseOutside = function () { this.gotoAndStop(1); _root.cursor_two.gotoAndStop(1); _root.cursor.gotoAndStop(1); }; } function rapid() { this.onRollOver = function () { if (this._parent.occupied == false) { _root.cursor_two.cost = _root.RAPID_COSTS[0]; _root.cursor_two.rates = _root.RAPID_RATES[0]; _root.cursor_two.power = _root.RAPID_POWERS[0]; _root.cursor_two.range = _root.RAPID_RANGES[0]; } if (this._parent.occupied == false) { _root.cursor_two.gotoAndStop(_root.sideNUM); } if (this._parent.occupied == false && _root.MONEY >= 30 && this._parent.life == this._parent.maxlife && this._parent.occupied == false) { _root.OK = true; this.OK = true; _root.cursor.gotoAndStop(3); this.gotoAndStop(2); } else { _root.OK = false; this.OK = false; this.gotoAndStop(3); _root.cursor.gotoAndStop(1); } }; this.onRollOut = function () { this.gotoAndStop(1); _root.cursor.gotoAndStop(1); _root.cursor_two.gotoAndStop(1); }; this.onRelease = function () { if (this.OK) { _root.MONEY -= 30; this._parent.occupied = true; moneyMSG(-30, this._parent._x, this._parent._y); _root.TURRETS.attachMovie('RAPID', 'tower' + _root.TT, _root.TT); _root.TURRETS['tower' + _root.TT]._x = this._parent._x + 12.5; _root.TURRETS['tower' + _root.TT]._y = this._parent._y - 12.5; _root.TURRETS['tower' + _root.TT].PARENT_mc = this._parent; _root.TURRETS['tower' + _root.TT].types = 'rapid'; _root.TURRETS['tower' + _root.TT].UPGRADE = 0; _root.TURRETS['tower' + _root.TT].POWER = _root.RAPID_POWERS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].UP_COSTS = _root.RAPID_COSTS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].RANGE = _root.RAPID_RANGES[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].RATES = _root.RAPID_RATES[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TOWERONEA.apply(_root.TURRETS['tower' + _root.TT]); this._parent.CHILD = _root.TURRETS['tower' + _root.TT]; _root.TT += 1; if (_root.MONEY >= 30 && this._parent.life == this._parent.maxlife && this._parent.occupied == false) { this.OK = true; _root.OK = true; _root.cursor.gotoAndStop(3); this.gotoAndStop(2); } else { _root.OK = false; this.OK = false; _root.cursor.gotoAndStop(1); this.gotoAndStop(3); } } }; this.onReleaseOutside = function () { this.gotoAndStop(1); _root.cursor_two.gotoAndStop(1); _root.cursor.gotoAndStop(1); }; } function missile() { this.onRollOver = function () { if (this._parent.occupied == false) { _root.cursor_two.cost = _root.MISSILE_COSTS[0]; _root.cursor_two.rates = _root.MISSILE_RATES[0]; _root.cursor_two.power = _root.MISSILE_POWERS[0]; _root.cursor_two.range = _root.MISSILE_RANGES[0]; } if (this._parent.occupied == false) { _root.cursor_two.gotoAndStop(_root.sideNUM); } if (this._parent.occupied == false && _root.MONEY >= 40 && this._parent.life == this._parent.maxlife && this._parent.occupied == false) { _root.OK = true; this.OK = true; _root.cursor.gotoAndStop(3); this.gotoAndStop(2); } else { _root.OK = false; this.OK = false; this.gotoAndStop(3); _root.cursor.gotoAndStop(1); } }; this.onRollOut = function () { this.gotoAndStop(1); _root.cursor.gotoAndStop(1); _root.cursor_two.gotoAndStop(1); }; this.onRelease = function () { if (this.OK) { _root.MONEY -= 40; this._parent.occupied = true; moneyMSG(-40, this._parent._x, this._parent._y); _root.TURRETS.attachMovie('MISSILE', 'tower' + _root.TT, _root.TT); _root.TURRETS['tower' + _root.TT]._x = this._parent._x + 12.5; _root.TURRETS['tower' + _root.TT]._y = this._parent._y - 12.5; _root.TURRETS['tower' + _root.TT].PARENT_mc = this._parent; _root.TURRETS['tower' + _root.TT].types = 'missile'; _root.TURRETS['tower' + _root.TT].UPGRADE = 0; _root.TURRETS['tower' + _root.TT].i = 1; _root.TURRETS['tower' + _root.TT].POWER = _root.MISSILE_POWERS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].UP_COSTS = _root.MISSILE_COSTS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].RANGE = _root.MISSILE_RANGES[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].RATES = _root.MISSILE_RATES[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TOWERONEA.apply(_root.TURRETS['tower' + _root.TT]); this._parent.CHILD = _root.TURRETS['tower' + _root.TT]; _root.TT += 1; if (_root.MONEY >= 30 && this._parent.life == this._parent.maxlife && this._parent.occupied == false) { this.OK = true; _root.OK = true; _root.cursor.gotoAndStop(3); this.gotoAndStop(2); } else { _root.OK = false; this.OK = false; _root.cursor.gotoAndStop(1); this.gotoAndStop(3); } } }; this.onReleaseOutside = function () { this.gotoAndStop(1); _root.cursor_two.gotoAndStop(1); _root.cursor.gotoAndStop(1); }; } function flame() { this.onRollOver = function () { if (this._parent.occupied == false) { _root.cursor_two.cost = _root.FLAME_COSTS[0]; _root.cursor_two.rates = _root.FLAME_RATES[0]; _root.cursor_two.power = _root.FLAME_POWERS[0]; _root.cursor_two.range = _root.FLAME_RANGES[0]; } if (this._parent.occupied == false) { _root.cursor_two.gotoAndStop(_root.sideNUM); } if (this._parent.occupied == false && _root.MONEY >= 40 && this._parent.life == this._parent.maxlife && this._parent.occupied == false) { _root.OK = true; this.OK = true; _root.cursor.gotoAndStop(3); this.gotoAndStop(2); } else { _root.OK = false; this.OK = false; this.gotoAndStop(3); _root.cursor.gotoAndStop(1); } }; this.onRollOut = function () { this.gotoAndStop(1); _root.cursor.gotoAndStop(1); _root.cursor_two.gotoAndStop(1); }; this.onRelease = function () { if (this.OK) { _root.MONEY -= 40; this._parent.occupied = true; moneyMSG(-40, this._parent._x, this._parent._y); _root.TURRETS.attachMovie('FLAME', 'tower' + _root.TT, _root.TT); _root.TURRETS['tower' + _root.TT]._x = this._parent._x + 12.5; _root.TURRETS['tower' + _root.TT]._y = this._parent._y - 12.5; _root.TURRETS['tower' + _root.TT].PARENT_mc = this._parent; _root.TURRETS['tower' + _root.TT].types = 'flame'; _root.TURRETS['tower' + _root.TT].UPGRADE = 0; _root.TURRETS['tower' + _root.TT].i = 1; _root.TURRETS['tower' + _root.TT].POWER = _root.FLAME_POWERS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].UP_COSTS = _root.FLAME_COSTS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].RANGE = _root.FLAME_RANGES[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].RATES = _root.FLAME_RATES[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TOWERONEA.apply(_root.TURRETS['tower' + _root.TT]); this._parent.CHILD = _root.TURRETS['tower' + _root.TT]; _root.TT += 1; if (_root.MONEY >= 30 && this._parent.life == this._parent.maxlife && this._parent.occupied == false) { this.OK = true; _root.OK = true; _root.cursor.gotoAndStop(3); this.gotoAndStop(2); } else { _root.OK = false; this.OK = false; _root.cursor.gotoAndStop(1); this.gotoAndStop(3); } } }; this.onReleaseOutside = function () { this.gotoAndStop(1); _root.cursor_two.gotoAndStop(1); _root.cursor.gotoAndStop(1); }; } function slow() { this.onRollOver = function () { if (this._parent.occupied == false) { _root.cursor_two.cost = _root.SLOW_COSTS[0]; _root.cursor_two.slow = _root.SLOW_SLOWS[0] + '%'; } if (this._parent.occupied == false) { _root.cursor_two.gotoAndStop(_root.sideNUM + 2); } if (this._parent.occupied == false && _root.MONEY >= 50 && this._parent.life == this._parent.maxlife && this._parent.occupied == false) { _root.OK = true; this.OK = true; _root.cursor.gotoAndStop(3); this.gotoAndStop(2); } else { _root.OK = false; this.OK = false; this.gotoAndStop(3); _root.cursor.gotoAndStop(1); } }; this.onRollOut = function () { this.gotoAndStop(1); _root.cursor.gotoAndStop(1); _root.cursor_two.gotoAndStop(1); }; this.onRelease = function () { if (this.OK) { _root.MONEY -= 50; this._parent.occupied = true; moneyMSG(-50, this._parent._x, this._parent._y); _root.TURRETS.attachMovie('SLOW', 'tower' + _root.TT, _root.TT); _root.TURRETS['tower' + _root.TT]._x = this._parent._x + 12.5; _root.TURRETS['tower' + _root.TT]._y = this._parent._y - 12.5; _root.TURRETS['tower' + _root.TT].PARENT_mc = this._parent; _root.TURRETS['tower' + _root.TT].types = 'slow'; _root.TURRETS['tower' + _root.TT].UPGRADE = 0; _root.TURRETS['tower' + _root.TT].i = 1; _root.TURRETS['tower' + _root.TT].SLOW = _root.SLOW_SLOWS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].UP_COSTS = _root.SLOW_COSTS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].createEmptyMovieClip('draw', 2); _root.TURRETS['tower' + _root.TT].lineStyle(1, '0x000000', 0); _root.TURRETS['tower' + _root.TT].moveTo(0, 0); _root.TURRETS['tower' + _root.TT].lineTo(0, -1000); _root.TOWERTWOA.apply(_root.TURRETS['tower' + _root.TT]); this._parent.CHILD = _root.TURRETS['tower' + _root.TT]; _root.TT += 1; _root.check_shift(); if (_root.MONEY >= 50 && this._parent.life == this._parent.maxlife && this._parent.occupied == false) { this.OK = true; _root.OK = true; _root.cursor.gotoAndStop(3); this.gotoAndStop(2); } else { this.OK = false; _root.OK = false; _root.cursor.gotoAndStop(1); this.gotoAndStop(3); } } }; this.onReleaseOutside = function () { this.gotoAndStop(1); _root.cursor_two.gotoAndStop(1); _root.cursor.gotoAndStop(1); }; } function rotateTowardMouse(XX, YY) { this.deltaX = XX - this._x; this.deltaY = YY - this._y; this.rotationRadian = Math.atan2(this.deltaY, this.deltaX); this.rotationAngle = (this.rotationRadian / Math.PI) * 180; this._rotation = this.rotationAngle + 90; } function towerOne(Xcord) { _root.high = Math.ceil(Math.random() * 3) + 2; HIGH = 0; while (HIGH <= _root.high) { if (HIGH == 0) { _root.CITY.attachMovie('blockbottom', 'block' + _root.bb, _root.bb); } else { _root.CITY.attachMovie('block', 'block' + _root.bb, _root.bb); } _root.CITY['block' + _root.bb].TOPN = Xcord / 25; _root.CITY['block' + _root.bb].TOP = false; _root.CITY['block' + _root.bb].TOPA = _root.bb; if (HIGH == high) { _root.CITY.attachMovie('blocktop', 'block' + _root.bb, _root.bb); _root.TOPS[Xcord / 25] = _root.CITY['block' + _root.bb]; _root.CITY['block' + _root.bb].TOPN = Xcord / 25; _root.CITY['block' + _root.bb].TOP = true; _root.CITY['block' + _root.bb].TOPA = _root.bb; } currentB = _root.CITY['block' + _root.bb]; currentB.stop(); currentB._y = 520 - 24 * HIGH; currentB._x = Xcord; currentB.maxlife = 6; currentB.life = 6; BLOCK.apply(currentB); currentB._height = 25; currentB._width = 25; ++_root.bb; ++HIGH; } } function setupCity() { XCORD = 0; while (XCORD < 400) { towerOne(XCORD); XCORD += 25; } } function TOWERONEA() { this.hastarget = false; this.LOWEST = -10000; this.onEnterFrame = function () { if (this.PARENT_mc.life <= 0) { removeMovieClip(this); } _root.AIM.apply(this); FIRE.apply(this); this.CCOSTS = _root[this.types.toUpperCase() + '_COSTS']; this.CRANGES = _root[this.types.toUpperCase() + '_RANGES']; this.CPOWERS = _root[this.types.toUpperCase() + '_POWERS']; this.CRATES = _root[this.types.toUpperCase() + '_RATES']; if (this.hitTest(_root.cursor_two.middles)) { if (_root.MONEY >= this.CCOSTS[this.UPGRADE + 1]) { _root.OK = true; } else { _root.OK = false; } } }; this.onRollOver = function () { _root.cursor_two.gotoAndStop(_root.sideNUM); if (this.CCOSTS[this.UPGRADE + 1] < 10000) { _root.cursor_two.power = this.CPOWERS[this.UPGRADE + 1]; _root.cursor_two.cost = this.CCOSTS[this.UPGRADE + 1]; _root.cursor_two.rates = this.CRATES[this.UPGRADE + 1]; _root.cursor_two.range = this.CRANGES[this.UPGRADE + 1]; } else { _root.cursor_two.gotoAndStop(_root.sideNUM + 4); } }; this.onRollOut = function () { _root.cursor_two.gotoAndStop(1); }; this.onRelease = function () { if (_root.MONEY >= this.CCOSTS[this.UPGRADE + 1]) { _root.OK = false; PP = this.PARENT_mc; pX = this._x; pY = this._y; pU = this.UPGRADE; nU = pU + 1; pT = this.types; _root.MONEY -= this.CCOSTS[nU]; _root.moneyMSG(-this.CCOSTS[nU], pX, pY); _root.TURRETS.attachMovie(pT.toUpperCase() + nU + 'A', 'tower' + _root.TT, _root.TT); _root.TURRETS['tower' + _root.TT].PARENT_mc = PP; _root.TURRETS['tower' + _root.TT]._x = pX; _root.TURRETS['tower' + _root.TT].types = pT; _root.TURRETS['tower' + _root.TT]._y = pY; _root.TURRETS['tower' + _root.TT].UPGRADE = nU; _root.TURRETS['tower' + _root.TT].i = 1; _root.TURRETS['tower' + _root.TT].POWER = this.CPOWERS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].UP_COSTS = this.CCOSTS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].RANGE = this.CRANGES[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].RATES = this.CRATES[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TOWERONEA.apply(_root.TURRETS['tower' + _root.TT]); _root.TT += 1; this.removeMovieClip(); } }; } function TOWERTWOA() { this.hastarget = false; this.onEnterFrame = function () { if (this.PARENT_mc.life <= 0) { removeMovieClip(this); } this.CCOSTS = _root[this.types.toUpperCase() + '_COSTS']; this.CSLOWS = _root[this.types.toUpperCase() + '_SLOWS']; this.hastarget = false; for (ONE in _root.enemies) { if (this.hitTest(_root.enemies[ONE])) { this.hastarget = true; this.gotoAndStop(2); _root.enemies[ONE].slow = this.CSLOWS[this.UPGRADE]; _root.enemies[ONE].slowed = true; } } if (this.hastarget == false) { this.gotoAndStop(1); } if (this.hitTest(_root.cursor_two.middles)) { if (_root.MONEY >= 50) { _root.OKT = true; } else { _root.OKT = false; } } }; this.onRollOver = function () { _root.cursor_two.gotoAndStop(_root.sideNUM + 2); _root.cursor_two.slow = this.CSLOWS[this.UPGRADE + 1] + '%'; _root.cursor_two.cost = this.CCOSTS[this.UPGRADE + 1]; }; this.onRollOut = function () { _root.cursor_two.gotoAndStop(1); }; this.onRelease = function () { if (_root.MONEY >= this.CCOSTS[this.UPGRADE + 1]) { if (_root._ymouse < this._y + 10) { _root.OKT = false; pX = this._x; pY = this._y; pU = this.UPGRADE; nU = pU + 1; pT = this.types; PP = this.PARENT_mc; _root.MONEY -= this.CCOSTS[nU]; _root.moneyMSG(-this.CCOSTS[nU], pX, pY); _root.TURRETS.attachMovie(pT.toUpperCase() + nU + 'A', 'tower' + _root.TT, _root.TT); _root.TURRETS['tower' + _root.TT]._x = pX; _root.TURRETS['tower' + _root.TT].types = pT; _root.TURRETS['tower' + _root.TT]._y = pY; _root.TURRETS['tower' + _root.TT].PARENT_mc = PP; _root.TURRETS['tower' + _root.TT].UPGRADE = nU; _root.TURRETS['tower' + _root.TT].i = 1; _root.TURRETS['tower' + _root.TT].UP_COSTS = this.CCOSTS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].SLOWS = this.CSLOWS[_root.TURRETS['tower' + _root.TT].UPGRADE]; _root.TURRETS['tower' + _root.TT].lineStyle(1, '0x000000', 0); _root.TURRETS['tower' + _root.TT].moveTo(0, 0); _root.TURRETS['tower' + _root.TT].lineTo(0, -1000); _root.TOWERTWOA.apply(_root.TURRETS['tower' + _root.TT]); _root.TT += 1; this.removeMovieClip(); } } }; } function FIRE() { if (this.hastarget == true) { this.play(); } } function AIM() { if (this.hastarget == false) { for (ENEMY in _root.enemies) { this.a = _root.enemies[ENEMY]._x - this._x; this.b = _root.enemies[ENEMY]._y - this._y; if (Math.sqrt(this.a * this.a + this.b * this.b) <= this.RANGE) { if (_root.enemies[ENEMY]._y >= this.LOWEST._y && _root.enemies[ENEMY].life > 0) { this.LOWEST = _root.enemies[ENEMY]._y; this.TARGET_mc = _root.enemies[ENEMY]; this.hastarget = true; } } } } if (this.hastarget == true) { _root.rotateTowardMouse.apply(this, [this.TARGET_mc._x + 5, this.TARGET_mc._y - 5]); if (this.TARGET_mc.life <= 0) { this.hastarget = false; } } } function simulatemoney(level) { s = 0; i = 0; while (i < level - 1) { s += _root.Lenemies[i] * _root.Lvalues[i]; ++i; } _root.MONEY = int(_root.MONEY + s * 0.9); } function simulateTPoints(level) { _root.bPoints = 3 * (level - 1) + 30; } function enemy(names, Wid, High, SPE, LIFE, DAM, VAL, TYPE) { _root.enemies.attachMovie(names, 'enemy' + _root.ii, _root.ii); _root.enemies['enemy' + _root.ii]._width = Wid; _root.enemies['enemy' + _root.ii].special = false; if (_root.NUMOFENEMIES == 1) { _root.enemies['enemy' + _root.ii].special = true; } _root.enemies['enemy' + _root.ii]._height = High; _root.enemies['enemy' + _root.ii]._x = _root.xxx; _root.enemies['enemy' + _root.ii]._y = -30; _root.enemies['enemy' + _root.ii].speed = SPE; _root.enemies['enemy' + _root.ii].maxlife = LIFE; _root.enemies['enemy' + _root.ii].life = _root.enemies['enemy' + _root.ii].maxlife; _root.enemies['enemy' + _root.ii].DAM = DAM; _root.enemies['enemy' + _root.ii].VALUE = VAL; _root.ENEMYYEAH.apply(_root.enemies['enemy' + _root.ii], [TYPE]); _root.ii += 1; } function Wormenemy(names, Wid, High, SPE, LIFE, DAM, VAL, TYPE) { if (_root.NUMOFENEMIES == 1) { _root.WORMNUM = 3; _root.enemies.attachMovie(names + '_back', 'enemy' + _root.ii, _root.ii); _root.enemies['enemy' + _root.ii].special = true; } else { if (_root.NUMOFENEMIES == 30) { _root.WORMNUM = 1; _root.enemies.attachMovie(names + '_front', 'enemy' + _root.ii, _root.ii); } else { _root.WORMNUM = 2; _root.enemies.attachMovie(names + '_mid', 'enemy' + _root.ii, _root.ii); } } _root.enemies['enemy' + _root.ii]._width = Wid; _root.enemies['enemy' + _root.ii]._height = High[_root.WORMNUM - 1]; _root.enemies['enemy' + _root.ii]._x = _root.xxx; _root.enemies['enemy' + _root.ii]._y = -30; _root.enemies['enemy' + _root.ii].speed = SPE; _root.enemies['enemy' + _root.ii].maxlife = LIFE; _root.enemies['enemy' + _root.ii].life = _root.enemies['enemy' + _root.ii].maxlife; _root.enemies['enemy' + _root.ii].DAM = DAM; _root.enemies['enemy' + _root.ii].VALUE = VAL; _root.ENEMYYEAH.apply(_root.enemies['enemy' + _root.ii], [TYPE]); _root.ii += 1; } function ENEMYYEAH(TYPE) { if (TYPE == 1) { _root.wreckingball.apply(this); } else { if (TYPE == 2) { _root.exploENEMY.apply(this); } } } function SETNEXTLEVEL(ENEMIES) { _root.TIMER = 10000; _root.window._visible = true; _root.window.gotoAndStop(51); _root.NUMOFENEMIES = ENEMIES; _root.ENEMIESLEFT = ENEMIES; _root.ENEMIESLEFTTWO = ENEMIES; _root.bPoints += 3; } function LEVEL() { if (_root.TIMER == 0 && _root.NUMOFENEMIES > 0) { if (_root.Lpatterns[_root.ll - 1] == 'random') { _root.xxx = Math.ceil(Math.random() * 15) * 25 + 2; _root.enemy(_root.Lnames[_root.ll - 1], _root.Lwidths[_root.ll - 1], _root.Lheights[_root.ll - 1], _root.Lspeeds[_root.ll - 1], _root.Llife[_root.ll - 1], _root.Ldamage[_root.ll - 1], _root.Lvalues[_root.ll - 1], _root.Ltypes[_root.ll - 1]); _root.NUMOFENEMIES -= 1; } else { if (_root.Lpatterns[_root.ll - 1] == 'middle') { _root.xxx = 202; _root.enemy(_root.Lnames[_root.ll - 1], _root.Lwidths[_root.ll - 1], _root.Lheights[_root.ll - 1], _root.Lspeeds[_root.ll - 1], _root.Llife[_root.ll - 1], _root.Ldamage[_root.ll - 1], _root.Lvalues[_root.ll - 1], _root.Ltypes[_root.ll - 1]); _root.NUMOFENEMIES -= 1; } else { if (_root.Lpatterns[_root.ll - 1] == 'wave') { wave = 0; while (wave <= 15) { _root.xxx = wave * 25 + 2; _root.enemy(_root.Lnames[_root.ll - 1], _root.Lwidths[_root.ll - 1], _root.Lheights[_root.ll - 1], _root.Lspeeds[_root.ll - 1], _root.Llife[_root.ll - 1], _root.Ldamage[_root.ll - 1], _root.Lvalues[_root.ll - 1], _root.Ltypes[_root.ll - 1]); _root.NUMOFENEMIES -= 1; wave += 1; } } else { if (_root.Lpatterns[_root.ll - 1] == 'worm') { _root.xxx = 202; _root.Wormenemy(_root.Lnames[_root.ll - 1], _root.Lwidths[_root.ll - 1], _root.Lheights[_root.ll - 1], _root.Lspeeds[_root.ll - 1], _root.Llife[_root.ll - 1], _root.Ldamage[_root.ll - 1], _root.Lvalues[_root.ll - 1], _root.Ltypes[_root.ll - 1]); _root.NUMOFENEMIES -= 1; } } } } _root.TIMER = _root.Ltimers[_root.ll - 1]; } else { _root.TIMER -= 1; } } function wreckingball() { this.slow = 100; this.onEnterFrame = function () { this.life = Math.round(this.life); this._y += this.speed * this.slow / 100; this.BAR.gotoAndStop(100 - Math.floor(this.life * 100 / this.maxlife)); if (this.life <= 0 && this.DAM > 0) { _root.pDestroyed += 1; _root.ENEMIESLEFTTWO -= 1; this.play(); this.DAM = 0; this.speed = 0; } if (this._y >= 300 && this.DAM > 0) { xx = 0; while (xx < 16) { if (this.hitTest(_root.TOPS[xx])) { _root.pTouched += 1; _root.applyPanic(this._x); this.VALUE = 0; _root.ENEMIESLEFTTWO -= 1; _root.TOPS[xx].life -= this.DAM; this.speed = 0; this.life = 0; this.DAM = 0; this.play(); } xx += 1; } } if (this._y >= 520 && this.DAM > 0) { hitGround(this._x); _root.pTouched += 1; _root.applyPanic(this._x); this.VALUE = 0; _root.ENEMIESLEFTTWO -= 1; _root.life -= this.DAM; this.speed = 0; this.life = 0; this.DAM = 0; this.play(); } if (this.special && this.speed == 0) { this.special = false; _root.SETNEXTLEVEL(_root.Lenemies[_root.ll]); } }; } function exploENEMY() { this.slow = 100; this.onEnterFrame = function () { this._y += this.speed * this.slow / 100; this.BAR.gotoAndStop(100 - Math.floor(this.life * 100 / this.maxlife)); if (this.life <= 0 && this.DAM > 0) { _root.ENEMIESLEFTTWO -= 1; this.play(); this.DAM = 0; this.speed = 0; _root.pDestroyed += 1; false; } if (this._y >= 300) { xx = 0; while (xx < 16) { if (this.MID.hitTest(_root.TOPS[xx])) { this.VALUE = 0; _root.pTouched += 1; _root.applyPanic(this._x); for (BLOCKC in _root.CITY) { if (this.LOW.hitTest(_root.CITY[BLOCKC])) { _root.CITY[BLOCKC].life -= this.DAM; } if (this.HIGH.hitTest(_root.CITY[BLOCKC])) { _root.CITY[BLOCKC].life -= this.DAM; } } _root.ENEMIESLEFTTWO -= 1; this.speed = 0; this.life = 0; this.DAM = 0; this.play(); } xx += 1; } } if (this._y >= 520 && this.DAM > 0) { hitGround(this._x); _root.pTouched += 1; _root.applyPanic(this._x); this.VALUE = 0; _root.ENEMIESLEFTTWO -= 1; _root.life -= this.DAM * 2; this.speed = 0; this.life = 0; this.DAM = 0; this.play(); } if (this.special && this.speed == 0) { this.special = false; _root.SETNEXTLEVEL(_root.Lenemies[_root.ll]); } }; } _root.bb = 1; stop(); _root.pDestroyedTT = 0; _root.pEnemiesTT = 0; _root.pHitTT = 0; _root.setVolume(0); _root.msOn = false; _root.qmOn = true; _root.fwOn = false; _root.options.swapDepths(1000000000); _root.gridOn = false; _root.peopleOn = false; _root._width *= 1.2; _root._height *= 1.2; _root.sOn = true; _root.life = 100; _root.MODE = 'rapid'; _root.MONEY = 120; _root.inMenus = false; _root.TOPS = []; _root.OK = false; _root.OKT = false; _root.MSGNUM = 4; _root.UPGRADECOST = [0, 15, 30]; _root.i = 100; _root.TT = 300; _root.pEnemies = 10; _root.pDestroyed = 0; _root.pHit = 0; _root.pPos = 0; _root.pEarned = 0; _root.pScore = 0; _root.POINTS = 0; _root.pTouched = 0; _root.bPoints = 20; startDrag(_root.cursor, false); startDrag(_root.cursor_two, true); _root.createEmptyMovieClip('MSGS', 10000); _root.createEmptyMovieClip('enemies', 1001); _root.createEmptyMovieClip('TURRETS', 1000); _root.createEmptyMovieClip('smoke', 3000); _root.createEmptyMovieClip('burn', 99); _root.window.swapDepths(9999); _root.cursor.swapDepths(9998); _root.cursor_two.swapDepths(9997); createEmptyMovieClip('mochiHolder', 10000003); _root.BASIC_POWERS = [5, 10, 20, 20, 30, 60]; _root.BASIC_RATES = [40, 40, 35, 15, 10, 5]; _root.BASIC_COSTS = [10, 15, 40, 80, 200, 800, 100000]; _root.BASIC_RANGES = [200, 210, 220, 230, 240, 300]; _root.RAPID_POWERS = [1, 2, 4, 8, 16]; _root.RAPID_RATES = [3, 3, 3, 3, 2]; _root.RAPID_COSTS = [30, 30, 60, 120, 480, 100000]; _root.RAPID_RANGES = [150, 160, 180, 200, 250]; _root.FLAME_POWERS = [2, 4, 8, 16, 36]; _root.FLAME_RATES = [3, 3, 3, 3, 3]; _root.FLAME_COSTS = [40, 60, 80, 160, 640, 100000]; _root.FLAME_RANGES = [100, 160, 180, 200, 250]; _root.MISSILE_POWERS = [5, 10, 20, 20, 30]; _root.MISSILE_RATES = [40, 40, 30, 20, 10]; _root.MISSILE_COSTS = [40, 40, 100, 160, 600, 100000]; _root.MISSILE_RANGES = [300, 320, 360, 400, 500]; _root.SLOW_SLOWS = [90, 85, 80, 75, 70]; _root.SLOW_COSTS = [50, 50, 50, 50, 50, 100000]; _root.MODE = 'none'; _root.CITY.createEmptyMovieClip('INVIS', 1000); _root.createEmptyMovieClip('CITY', 1); setupCity(); TOWER.apply(_root.turretss); _root.ii = 1; _root.Lnames = ['wBall', 'coconut', 'piano', 'bEgg', 'wBall', 'helicopter', 'worm_1', 'nuke', 'ferrari', 'schoolbus', 'smart_car', 'companion', 'hydrant', 'binary', 'cow', 'balloon', 'obama', 'palin', 'molecule', 'paperclip', 'koopa', 'eye_ball', 'spork', 'vending_machine', 'remover', 'vista', 'yinyang', 'soviet_flag', 'iphone', 'pencil', 'drum_kit', 'tank', 'smiley', 'radio', 'finder', 'mario', 'xbox', 'wiimote', 'chuck_norris', 'sun']; _root.Lwidths = [20, 15, 20, 20, 20, 96.5, 20, 850, 78, 54, 130, 30, 40, 21, 48, 37, 100, 825, 89, 38, 43, 146, 44, 240, 114, 84, 84, 110, 135, 112, 84, 148, 84, 229, 100, 216, 137, 223, 509, 637]; _root.Lheights = [65, 25, 37, 25, 65, 136.5, 30, 900, 100, [62, 61, 68], 123, 25, 35, 28, 32, 34, 108, 764, 67, 61, 30, 120, 89, 330, 85, 101, 106, 95, 112, [194, 150, 154], 89, 148, 109, 187, 90, 242, 236, 281, 908, 772]; _root.Lspeeds = [3, 8, 4, 5, 4, 6, 2, 1, 4, 2, 8, 4, 5, 2, 8, 3, 2, 4, 3, 10, 6, 6, 8, 4, 8, 10, 6, 3, 12, 4, 8, 6, 10, 18, 5, 20, 8, 8, 3, 1]; _root.Llife = [10, 3, 20, 2, 10, 17, 20, 350, 80, 75, 40, 15, 100, 10, 75, 150, 80, 500, 200, 70, 50, 150, 150, 400, 100, 75, 75, 800, 450, 700, 500, 150, 100, 200, 200, 100, 750, 1000, 10000, 55000]; _root.Ldamage = [2, 1, 2, 1, 2, 1, 1, 3, 3, 1, 2, 2, 2, 2, 3, 2, 2, 3, 2, 4, 1, 2, 3, 3, 2, 1, 1, 3, 4, 3, 3, 3, 3, 3, 4, 3, 3, 3, 5, 1000]; _root.Lvalues = [1, 1, 3, 2, 1, 10, 1, 200, 5, 4, 3, 1, 5, 1, 5, 5, 4, 100, 5, 5, 3, 10, 10, 50, 3, 5, 5, 10, 25, 10, 20, 30, 5, 15, 20, 25, 40, 50, 5000, 100000]; _root.Ltypes = [1, 1, 1, 1, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]; _root.Lenemies = [10, 20, 10, 32, 20, 10, 50, 1, 15, 30, 50, 200, 20, 112, 50, 25, 50, 2, 40, 60, 100, 20, 20, 10, 80, 100, 100, 30, 15, 30, 30, 30, 100, 25, 64, 50, 50, 40, 1, 1]; _root.Ltimers = [20, 10, 20, 30, 10, 20, 2, 11, 20, 10, 10, 2, 10, 20, 10, 10, 15, 100, 15, 4, 2, 15, 10, 100, 4, 2, 1, 20, 30, 10, 10, 15, 3, 10, 10, 10, 10, 13, 50, 100]; _root.Lpatterns = ['random', 'random', 'random', 'wave', 'middle', 'random', 'middle', 'middle', 'random', 'worm', 'random', 'random', 'random', 'wave', 'random', 'random', 'random', 'middle', 'random', 'random', 'random', 'random', 'random', 'random', 'random', 'random', 'random', 'random', 'random', 'worm', 'random', 'random', 'random', 'random', 'wave', 'random', 'random', 'random', 'middle', 'middle']; _root.ll = 1; simulateTPoints(_root.ll); simulatemoney(_root.ll); _root.WORMNUM = 0; _root.TIMER = -1; _root.currentwindow = 2; _root.window.gotoAndStop(52); _root.window._x = 200; _root.TIMER = 9000; _root.NUMOFENEMIES = _root.Lenemies[_root.ll - 1]; _root.ENEMIESLEFT = _root.Lenemies[_root.ll - 1]; _root.ENEMIESLEFTTWO = _root.Lenemies[_root.ll - 1]; _root.poser.onEnterFrame = function () { _root.BGs.gotoAndStop(_root.ll + 1); if (_root._xmouse <= 200) { _root.sideNUM = 2; } else { _root.sideNUM = 3; } _root.LEVEL(); if (_root.inMenus == false) { if (_root.qmOn == false) { if (_root._xmouse >= 350 && _root._ymouse <= 200) { if (_root.posertwo._x >= 410) { _root.posertwo._x -= 3; } } else { if (_root.posertwo._x <= 455) { _root.posertwo._x += 3; } } if (_root._xmouse <= 75 && _root._ymouse <= 350) { if (_root.poser._x <= 3) { _root.poser._x += 3; } } else { if (_root.poser._x >= -50) { _root.poser._x -= 3; } } } else { if (_root._xmouse >= 350 && _root._ymouse <= 200) { if (_root.posertwo._x >= 410) { _root.posertwo._x = 410; } } else { if (_root.posertwo._x <= 455) { _root.posertwo._x = 455; } } if (_root._xmouse <= 75 && _root._ymouse <= 350) { if (_root.poser._x <= 3) { _root.poser._x = 3; } } else { if (_root.poser._x >= -50) { _root.poser._x = -53; } } } } _root.disintegrator_mc._x = _root.posertwo._x - 50; _root.upgrade_mc._x = _root.disintegrator_mc._x; _root.heal_mc._x = _root.disintegrator_mc._x; _root.missile_mc._x = _root.poser._x; _root.rapid_mc._x = _root.missile_mc._x; _root.basic_mc._x = _root.missile_mc._x; _root.flame_mc._x = _root.missile_mc._x; _root.slow_mc._x = _root.missile_mc._x; _root.panelone._x = _root.poser._x - 5; _root.paneltwo._x = _root.posertwo._x + 5; if (_root.life <= 0) { _root.lose(); } }; b; } movieClip 880 { frame 50 { stop(); } } movieClip 883 { frame 40 { stop(); } } movieClip 885 { frame 1 { stop(); } } movieClip 887 { } movieClip 889 { } movieClip 914 { frame 10 { stop(); } frame 10 { NAME = 'BASIC'; COST_txt.text = _root[NAME + '_COSTS'][0]; DAMAGE_txt.text = _root[NAME + '_POWERS'][0]; RANGE_txt.text = _root[NAME + '_RANGES'][0]; RATE_txt.text = _root[NAME + '_RATES'][0]; } } movieClip 915 { frame 1 { stop(); } } movieClip 923 { frame 10 { stop(); } frame 10 { NAME = 'RAPID'; COST_txt.text = _root[NAME + '_COSTS'][0]; DAMAGE_txt.text = _root[NAME + '_POWERS'][0]; RANGE_txt.text = _root[NAME + '_RANGES'][0]; RATE_txt.text = _root[NAME + '_RATES'][0]; } } movieClip 925 { frame 1 { stop(); } } movieClip 929 { } button 932 { on (release) { this._visible = false; _root.TIMER = 300; _root.inMenus = false; } } button 933 { on (release) { _root.currentwindow = _root.window._currentframe; _root.window.gotoAndStop(50); } } button 1070 { on (release) { _root.lose(); } } button 1074 { on (release) { _root.window.gotoAndStop(_root.currentwindow); } } button 1090 { on (release) { _root.pEnemiesTT += _root.pEnemies; _root.ll += 1; _root.pDestroyedTT += _root.pDestroyed; _root.pHitTT += _root.pHit; _root.pDestroyed = 0; _root.pHit = 0; _root.POINTS += _root.pScore; _root.pTouched = 0; _root.window.gotoAndStop(_root.ll + 1); } } movieClip 1094 { } button 1098 { on (release) { _root.window.gotoAndStop(_root.currentwindow); _root.window._visible = _root.windowvisible; } } movieClip 1104 { frame 1 { stop(); } } movieClip 1107 { frame 1 { stop(); } } // unknown tag 88 length 63 // unknown tag 88 length 88 movieClip 1128 { frame 51 { _root.inMenus = true; _root.MODE = 'none'; _root.pEnemies = _root.Lenemies[_root.ll - 1]; _root.pPos = _root.pEnemies * _root.Lvalues[_root.ll - 1]; _root.pEarned = _root.pDestroyed * _root.Lvalues[_root.ll - 1]; _root.pScore = Math.ceil(_root.pDestroyed / _root.pEnemies) * 100 - _root.pHit * 20 - _root.pTouched * 5; if (_root.pScore == 100) { perfect_mc._visible = true; _root.bPPoints += 2; _root.fireWork(Math.random() * 400, Math.random() * 550, 6); _root.fireWork(Math.random() * 400, Math.random() * 550, 6); _root.fireWork(Math.random() * 400, Math.random() * 550, 6); } else { perfect_mc._visible = false; } } frame 52 { stop(); } instance people_on of movieClip 1104 { onClipEvent (enterFrame) { if (_root.peopleOn) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.peopleOn == false) { _root.peopleOn = true; _root.createPeople(); } }; } } instance people_on of movieClip 1104 { onClipEvent (enterFrame) { if (_root.gridOn) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.gridOn == false) { _root.gridOn = true; _root.createGrid(); } }; } } instance people_on of movieClip 1107 { onClipEvent (enterFrame) { if (_root.gridOn == false) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.gridOn == true) { _root.gridOn = False; _root.removeGrid(); } }; } } instance people_on of movieClip 1107 { onClipEvent (enterFrame) { if (_root.peopleOn == false) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.peopleOn == true) { _root.peopleOn = false; _root.removePeople(); } }; } } instance people_on of movieClip 1104 { onClipEvent (enterFrame) { if (_root.qmOn == false) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.qmOn == true) { _root.qmOn = false; } }; } } instance people_on of movieClip 1107 { onClipEvent (enterFrame) { if (_root.qmOn) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.qmOn == false) { _root.qmOn = true; } }; } } instance people_on of movieClip 1104 { onClipEvent (enterFrame) { if (_root.fwOn) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.fwOn == false) { _root.fwOn = true; } }; } } instance people_on of movieClip 1107 { onClipEvent (enterFrame) { if (_root.fwOn == false) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.fwOn == true) { _root.fwOn = false; } }; } } instance people_on of movieClip 1104 { onClipEvent (enterFrame) { if (_root.msOn) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.msOn == false) { _root.msOn = true; } }; } } instance people_on of movieClip 1107 { onClipEvent (enterFrame) { if (_root.msOn == false) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.msOn == true) { _root.msOn = false; } }; } } instance people_on of movieClip 1104 { onClipEvent (enterFrame) { if (_root.sOn) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.sOn == false) { _root.sOn = true; _root.SETSOUND(75); } }; } } instance people_on of movieClip 1107 { onClipEvent (enterFrame) { if (_root.sOn == false) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } this.onPress = function () { if (_root.sOn == true) { _root.sOn = false; _root.SETSOUND(0); } }; } } frame 240 { for (all in _root) { if (_root[all]._name != 'window') { _root[all].removeMovieClip(); } } } frame 360 { stop(); } } instance window of movieClip 1128 { onClipEvent (load) { this.stop(); } } movieClip 1131 { frame 1 { if (_root.OK == true) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } } movieClip 1159 { frame 1 { stop(); } } instance cursor_two of movieClip 1159 { onClipEvent (load) { this.swapDepths(999999); } } movieClip 1167 { frame 10 { stop(); } frame 10 { NAME = 'FLAME'; COST_txt.text = _root[NAME + '_COSTS'][0]; DAMAGE_txt.text = _root[NAME + '_POWERS'][0]; RANGE_txt.text = _root[NAME + '_RANGES'][0]; RATE_txt.text = _root[NAME + '_RATES'][0]; } } movieClip 1169 { frame 1 { stop(); } } movieClip 1173 { } movieClip 1178 { } movieClip 1182 { } movieClip 1183 { instance of movieClip 1173 { onClipEvent (enterFrame) { this.onPress = function () { if (_root._quality == 'HIGH') { _root._quality = 'LOW'; } else { if (_root._quality == 'LOW') { _root._quality = 'HIGH'; } } }; } } instance of movieClip 1182 { onClipEvent (enterFrame) { this.onPress = function () { if (_root.window._currentframe != 52) { _root.windowvisible = _root.window._visible; _root.window._visible = true; _root.currentwindow = _root.window._currentframe; _root.window.gotoAndStop(52); } }; } } } instance of movieClip 1183 { onClipEvent (load) { this.swapDepths(30000); } } movieClip 1194 { frame 10 { stop(); } frame 10 { NAME = 'SLOW'; COST_txt.text = _root[NAME + '_COSTS'][0]; SLOW_txt.text = _root[NAME + '_SLOWS'][0] + '%'; } } movieClip 1196 { frame 1 { stop(); } } movieClip 1205 { frame 10 { stop(); } frame 10 { NAME = 'MISSILE'; COST_txt.text = _root[NAME + '_COSTS'][0]; DAMAGE_txt.text = _root[NAME + '_POWERS'][0]; RANGE_txt.text = _root[NAME + '_RANGES'][0]; RATE_txt.text = _root[NAME + '_RATES'][0]; } } movieClip 1207 { frame 1 { stop(); } } movieClip 1210 { frame 10 { stop(); } } movieClip 1211 { frame 1 { stop(); } } movieClip 1217 { } movieClip 1219 { } movieClip 1227 { } movieClip 1230 { } movieClip 1231 { frame 60 { stop(); } frame 61 { _root.window.removeMovieClip(); } frame 284 { function Continue() { this.play(); } function createrows() { trace(this._name); i = 0; while (i < 10) { touse = _root.imported[i].split(','); this.attachMovie('rowtoadd', 'row' + i, (i + 10) * 10); this['row' + i]._x = -550; this['row' + i]._y = -200 + i * 35; this['row' + i].rank_txt.text = i + 1; this['row' + i].name_txt.text = touse[0]; this['row' + i].score_txt.text = touse[1]; this['row' + i].date_txt.text = touse[2]; ++i; } } stop(); _global.stop(); _root.stop(); this.stop(); var lv = new LoadVars(); _root.imported = []; var rankk; lv.onData = function (src) { arr = src; trace(arr); _root.imported = arr.split(';'); createrows(); trace(_root.imported.length); loading._visible = false; trace(_root.imported[10].toString()); rankk = _root.imported[10].toString(); }; submit_btn.onRelease = function () { lv.name = inputter.text.toUpperCase(); trace('NAME:' + inputter.text.toUpperCase()); trace('SCORE:' + _root.POINTS); lv.score = _root.POINTS; lv.sendAndLoad('http://ltdleaderboard.appspot.com/', lv, 'GET'); this._x += 1000; }; no_btn.onRelease = function () { Continue(); }; lv.sendAndLoad('http://ltdleaderboard.appspot.com/', lv, 'GET'); _root._width /= 1.2; _root._height /= 1.2; } frame 285 { for (ALLOFIT in _root) { if (_root[ALLOFIT]._name != 'alphaC') { _root[ALLOFIT].removeMovieClip(); } } trace('lawl'); _root.gotoAndPlay('armorgames'); this.removeMovieClip(); } } instance alphaC of movieClip 1231 { onClipEvent (load) { this.swapDepths(200000000); } }




http://swfchan.com/14/67985/info.shtml
Created: 11/4 -2019 06:59:06 Last modified: 11/4 -2019 06:59:06 Server time: 05/11 -2024 11:44:15