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/10709969?noj=FRM10709969-5DC" width="1" height="1"></div>

~tower-defence.swf

This is the info page for
Flash #14397

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


Text
<p align="left"><font face="Arial" size="9" color="#ffff66" letterSpacing="0.000000" kerning="0"><b><i> </i></b></font></p><p align="left"></p>

<p align="left"></p><p align="left"></p>

<p align="center"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>0</b></font></p><p align="center"></p>

<p align="center"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>0</b></font></p><p align="center"></p>

<p align="center"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>1</b></font></p><p align="center"></p>

<p align="left"><font face="Tahoma" size="10" color="#ffcc00" letterSpacing="0.000000" kerning="0">30</font></p><p align="left"></p>

<p align="left"><font face="Tahoma" size="10" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>000</b></font></p><p align="left"></p>

<p align="left"><font face="Arial" size="9" color="#ff9900" letterSpacing="0.000000" kerning="0"><i>10000</i></font></p><p align="left"></p>

<p align="left"></p><p align="left"></p>

<p align="left"><font face="Tahoma" size="10" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>000</b></font></p><p align="left"></p>

<p align="left"><font face="Arial" size="9" color="#ff9900" letterSpacing="0.000000" kerning="0"><i>10000</i></font></p><p align="left"></p>

<p align="center"><font face="Arial" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">50</font></p><p align="center"></p>

<p align="left"></p><p align="left"></p>

ActionScript [AS1/AS2]

Frame 1
function GiveMoney() { _root.money = _root.money + Math.round(_root.income); } var newMenu = new ContextMenu(); newMenu.hideBuiltInItems(); _root.menu = newMenu; stop(); ATK_DELAY = 5; GRD_TWR_DMG = 20; AIR_TWR_DMG = 20; BTH_TWR_DMG = 10; FIR_1 = 60; WTR_1 = 50; NTR_1 = 40; FIR_2 = 110; WTR_2 = 100; NTR_2 = 80; FIR_3 = 150; WTR_3 = 130; NTR_3 = 110; FIR_4 = 220; WTR_4 = 200; NTR_4 = 180; FIR_4 = 280; WTR_4 = 300; NTR_4 = 300; FIR_5 = 310; WTR_5 = 390; NTR_6 = 430; NTR_7 = 600; MODE = 0; SEL = 0; lives = 10; wave = 0; timerem = 19; money = 5000000 /* 0x4C4B40 */; health = 5; speed = 3; numtowers = 0; hit = false; num = 1; income = 1;
Frame 2
_root.attachMovie("arrow", "selArrow", 1000); stop();
Instance of Symbol 177 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit1 = true; } else { _root.hit1 = false; } }
Instance of Symbol 179 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit2 = true; } else { _root.hit2 = false; } }
Instance of Symbol 181 MovieClip "p3" in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit3 = true; } else { _root.hit3 = false; } }
Instance of Symbol 183 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit4 = true; } else { _root.hit4 = false; } }
Instance of Symbol 185 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit5 = true; } else { _root.hit5 = false; } }
Instance of Symbol 187 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit6 = true; } else { _root.hit6 = false; } }
Instance of Symbol 189 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit7 = true; } else { _root.hit7 = false; } }
Instance of Symbol 191 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit8 = true; } else { _root.hit8 = false; } }
Instance of Symbol 201 MovieClip "main" in Frame 2
onClipEvent (load) { function BuildTwr() { } function MakeTower(typ, x_, y_) { _root.attachMovie("tower", "TWR_" + _root.numtowers, _ymouse + _xmouse); _root["TWR_" + _root.numtowers]._x = x_; _root["TWR_" + _root.numtowers]._y = y_; _root["TWR_" + _root.numtowers].tur.bulspawned = false; if (typ == 1) { if (_root.money >= 18) { _root.money = _root.money - 18; _root["TWR_" + _root.numtowers].gotoAndStop(5); } } else if (typ == 2) { if (_root.money >= 10) { _root.money = _root.money - 10; _root["TWR_" + _root.numtowers].gotoAndStop(13); } } else if (typ == 3) { if (_root.money >= 15) { _root.money = _root.money - 15; _root["TWR_" + _root.numtowers].gotoAndStop(23); } } else if (typ == 4) { if (_root.money >= 2000) { _root.money = _root.money - 2000; _root["TWR_" + _root.numtowers].gotoAndStop(32); } } else if (typ == 5) { if (_root.money >= 40) { _root.money = _root.money - 40; _root["TWR_" + _root.numtowers].gotoAndStop(36); } } _root.numtowers++; } var allow = true; i = 0; m = 0; k = 0; } onClipEvent (enterFrame) { i++; if (i > 30) { i = 0; _root.timerem--; if (_root.messtim >= 0) { _root.messtim--; } } if (_root.timerem <= 0) { _root.timerem = 20; _root.wave++; _root.spawner.spawnCreature(2); _root.health = (_root.health * 1.1) + (_root.wave * 8.6); _root.income = (_root.income * 0.02) + (_root.wave * 1.1); } if (_root.messtim <= 0) { _root.mess.text = ""; } if (_root.lives <= 0) { _root.gotoAndStop(3); } if (_root.MODE == 1) { _root.guide_rect._x = _root._xmouse; _root.guide_rect._y = _root._ymouse; } if (m <= _root.numtowers) { if ((((((_root["TWR_" + m]._x - _root._xmouse) > 25) | ((_root["TWR_" + m]._x - _root._xmouse) < -25)) | (((_root["TWR_" + m]._y - _root._ymouse) > 25) | ((_root["TWR_" + m]._y - _root._ymouse) < -25))) & (_root._ymouse < 400)) & ((((((((!_root.hit1) & (!_root.hit2)) & (!_root.hit3)) & (!_root.hit4)) & (!_root.hit5)) & (!_root.hit6)) & (!_root.hit7)) & (!_root.hit8))) { allow = true; _root.guide_rect.gotoAndStop(1); } else { allow = false; _root.guide_rect.gotoAndStop(2); } m++; if (m >= _root.numtowers) { m = 0; } } } onClipEvent (mouseDown) { if (_root.MODE == 1) { if (_root.numtowers > 0) { k = 0; while (k < _root.numtowers) { if ((((((_root["TWR_" + k]._x - _root._xmouse) > 25) | ((_root["TWR_" + k]._x - _root._xmouse) < -25)) | (((_root["TWR_" + k]._y - _root._ymouse) > 25) | ((_root["TWR_" + k]._y - _root._ymouse) < -25))) & (_root._ymouse < 400)) & ((((((((!_root.hit1) & (!_root.hit2)) & (!_root.hit3)) & (!_root.hit4)) & (!_root.hit5)) & (!_root.hit6)) & (!_root.hit7)) & (!_root.hit8))) { allow = true; _root.guide_rect.gotoAndStop(1); } else { allow = false; _root.guide_rect.gotoAndStop(2); _root.mess.text = "Not Enough Space to Build There!"; _root.messtim = 3; } k++; } } else if ((_root._ymouse < 400) & ((((((((!_root.hit1) & (!_root.hit2)) & (!_root.hit3)) & (!_root.hit4)) & (!_root.hit5)) & (!_root.hit6)) & (!_root.hit7)) & (!_root.hit8))) { allow = true; _root.guide_rect.gotoAndStop(1); } else { allow = false; _root.guide_rect.gotoAndStop(2); _root.mess.text = "Please Build on the Grass."; _root.messtim = 3; } if (allow) { MakeTower(_root.SEL, _root.guide_rect._x, _root.guide_rect._y); _root.MODE = 0; _root.SEL = 0; _root.guide_rect._x = -100; _root.guide_rect._y = -100; } else { } } }
Instance of Symbol 80 MovieClip [creature] "c1" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; active = false; this._alpha = 100; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 80 MovieClip [creature] "c2" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 80 MovieClip [creature] "c3" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 80 MovieClip [creature] "c4" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 80 MovieClip [creature] "c5" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 80 MovieClip [creature] "c6" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 80 MovieClip [creature] "c7" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 80 MovieClip [creature] "c8" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 209 MovieClip in Frame 2
on (release) { if (_root._quality != "HIGH") { _root._quality = "HIGH"; } else { _root._quality = "LOW"; } }
Instance of Symbol 353 MovieClip in Frame 2
on (keyPress "<Space>") { if ((((((((_root.c1.active == false) & (_root.c2.active == false)) & (_root.c3.active == false)) & (_root.c4.active == false)) & (_root.c5.active == false)) & (_root.c6.active == false)) & (_root.c7.active == false)) & (_root.c8.active == false)) { _root.timerem = 0; } }
Frame 3
stop();
Frame 5
gotoAndStop (4);
Symbol 5 MovieClip [bullet] Frame 1
stop();
Symbol 5 MovieClip [bullet] Frame 2
stop();
Symbol 5 MovieClip [bullet] Frame 3
stop();
Symbol 5 MovieClip [bullet] Frame 4
stop();
Symbol 9 Button
on (release) { _root.MODE = 2; _root.selArrow._visible = true; _root.selArrow._x = _x; _root.selArrow._y = _y; _root.SEL = _name; _root.console.gotoAndStop(2); _root.console.nxt_dmg = turret.nxtdmg; _root.console.upg_price = nxtprice; _root.console.upgradable = upgradeable; _root.console.dmgtxt.text = turret.dmg; _root.console.namtxt.text = nam; _root.console.rngtxt.text = turret.range; _root.console.nxt_rng = nextrange; }
Symbol 12 MovieClip [turret] Frame 10
stop();
Symbol 76 MovieClip [tower] Frame 1
stop();
Symbol 76 MovieClip [tower] Frame 5
turret.dmg = 4; turret.range = 100; nextrange = 100; turret.nxtdmg = 12; nxtprice = 20; turret._y = -7.5; stop(); upgradeable = true; nam = "Small Fire Tower"; stop();
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 5
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > 150)) | (distancex < -150)) | (distancey > 150)) | (distancey < -150)) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } mindist = new Number(0); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } if (bulspawned == false) { _root.attachMovie("bullet", "BUL_" + _parent._name, 700 + _root.num); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["BUL_" + _parent._name].blendMode = "add"; _root["BUL_" + _parent._name].gotoAndStop(1); _root.num++; bulspawned = true; } }
Symbol 76 MovieClip [tower] Frame 6
turret.dmg = 12; turret.range = 100; nextrange = 100; turret.nxtdmg = 36; nxtprice = 30; turret._y = -12.5; stop(); upgradeable = true; nam = "Large Fire Tower";
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 6
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } mindist = new Number(0); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 7
turret.dmg = 36; turret.range = 100; nextrange = 100; turret.nxtdmg = 108; nxtprice = 50; turret._y = -12.5; stop(); upgradeable = true; nam = "Advanced Fire Tower";
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 7
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 150; _root["BUL_" + _parent._name]._yscale = 150; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } mindist = new Number(0); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 8
turret.dmg = 108; turret.range = 100; nextrange = 100; turret.nxtdmg = 300; nxtprice = 80; turret._y = -12.5; stop(); upgradeable = true; nam = "Great Fire Tower";
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 8
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } mindist = new Number(0); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 9
turret.dmg = 300; turret.range = 100; turret.nxtdmg = 2056; nextrange = 110; nxtprice = 600; turret._y = -12.5; stop(); upgradeable = true; nam = "Super Fire Tower";
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 9
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 200; _root["BUL_" + _parent._name]._yscale = 200; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 10
turret.dmg = 2056; turret.range = 110; turret.nxtdmg = 7021; nxtprice = 1500; nextrange = 120; turret._y = -12.5; stop(); upgradeable = true; nam = "Century Inferno Tower";
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 10
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 11
turret.dmg = 7021; turret.range = 120; turret.nxtdmg = "n/a"; nxtprice = "n/a"; nextrange = "n/a"; turret._y = -12.5; stop(); upgradeable = false; nam = "FireLord Elemental Tower";
Symbol 76 MovieClip [tower] Frame 12
gotoAndStop (8);
Symbol 76 MovieClip [tower] Frame 13
turret.dmg = 5; turret.nxtdmg = 15; nxtprice = 20; turret._y = -7.5; stop(); upgradeable = true; nam = "Water Tower"; turret.range = 100; nextrange = 150; stop();
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 13
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); this.play(); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } if (bulspawned == false) { _root.attachMovie("bullet", "BUL_" + _parent._name, 700 + _root.num); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["BUL_" + _parent._name].blendMode = "add"; _root["BUL_" + _parent._name].gotoAndStop(2); _root.num++; bulspawned = true; } }
Symbol 76 MovieClip [tower] Frame 14
turret.dmg = 15; turret.nxtdmg = 45; nxtprice = 40; turret._y = -12.5; stop(); upgradeable = true; nam = "Cold Water Tower"; turret.range = 150; nextrange = 150; stop();
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 14
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 15
turret.dmg = 45; turret.nxtdmg = 136; nxtprice = 80; turret._y = -12.5; stop(); upgradeable = true; nam = "Ice Tower"; turret.range = 150; nextrange = 180;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 15
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 150; _root["BUL_" + _parent._name]._yscale = 150; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } mindist = new Number(0); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 16
turret.nxtdmg = 405; nxtprice = 160; turret._y = -12.5; stop(); upgradeable = true; nam = "Frost Tower"; turret.range = 180; nextrange = 200;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 16
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 17
turret.dmg = 405; turret.nxtdmg = 1215; nxtprice = 320; turret._y = -12.5; stop(); upgradeable = true; nam = "Master Ice Tower"; turret.range = 200; nextrange = 200;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 17
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 200; _root["BUL_" + _parent._name]._yscale = 200; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 18
turret.dmg = 1215; turret.nxtdmg = 3342; nxtprice = 730; turret._y = -12.5; stop(); upgradeable = true; nam = "Termination Tower"; turret.range = 200; nextrange = 200;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 18
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 19
turret.dmg = 3342; turret.nxtdmg = 6684; nxtprice = 1000; turret._y = -12.5; stop(); upgradeable = true; nam = "Ultimate Ice Tower"; turret.range = 200; nextrange = 215;
Symbol 76 MovieClip [tower] Frame 20
turret.dmg = 6684; turret.nxtdmg = 7335; nxtprice = 1000; turret._y = -12.5; stop(); upgradeable = true; nam = "Ultimate Ice Tower"; turret.range = 215; nextrange = 300;
Symbol 76 MovieClip [tower] Frame 21
turret.dmg = 7335; turret.nxtdmg = "n/a"; nxtprice = "n/a"; turret._y = -32.5; stop(); upgradeable = false; nam = "Ultimate Ice Tower"; turret.range = 300; nextrange = "n/a";
Symbol 76 MovieClip [tower] Frame 22
gotoAndStop (13);
Symbol 76 MovieClip [tower] Frame 23
turret.dmg = 5; turret.nxtdmg = 15; nxtprice = 20; turret._y = -7.5; stop(); upgradeable = true; nam = "Small Nature Tower"; turret.range = 100; nextrange = 100; stop();
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 23
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } if (bulspawned == false) { _root.attachMovie("bullet", "BUL_" + _parent._name, 700 + _root.num); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["BUL_" + _parent._name].blendMode = "normal"; _root["BUL_" + _parent._name].gotoAndStop(3); _root.num++; bulspawned = true; } }
Symbol 76 MovieClip [tower] Frame 24
turret.dmg = 10; turret.nxtdmg = 45; nxtprice = 40; turret._y = -12.5; stop(); upgradeable = true; nam = "Large Nature Tower"; turret.range = 100; nextrange = 110;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 24
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 150; _root["BUL_" + _parent._name]._yscale = 150; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 25
turret.dmg = 20; turret.nxtdmg = 136; nxtprice = 80; turret._y = -12.5; stop(); upgradeable = true; nam = "Great Nature Tower"; turret.range = 110; nextrange = 150;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 25
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 26
turret.dmg = 90; turret.nxtdmg = 405; nxtprice = 160; turret._y = -12.5; stop(); upgradeable = true; nam = "Master Nature Tower"; turret.range = 150; nextrange = 170;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 26
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 200; _root["BUL_" + _parent._name]._yscale = 200; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 27
turret.dmg = 300; turret.nxtdmg = 1215; nxtprice = 320; turret._y = -12.5; stop(); upgradeable = true; nam = "Master Nature Tower"; turret.range = 170; nextrange = 190;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 27
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 28
turret.dmg = 1013; turret.nxtdmg = 3645; nxtprice = 640; turret._y = -12.5; stop(); upgradeable = true; nam = "Enchanted Nature Tower"; turret.range = 190; nextrange = 200;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 28
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 250; _root["BUL_" + _parent._name]._yscale = 250; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 29
turret.dmg = 1458; turret.nxtdmg = 9000; nxtprice = 1100; turret._y = -12.5; stop(); upgradeable = true; nam = "Supernatural Tower"; turret.range = 200; nextrange = 215;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 29
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 30
turret.dmg = 9000; turret.nxtdmg = "n/a"; nxtprice = "n/a"; turret._y = -12.5; stop(); upgradeable = false; nam = "Living Tower"; turret.range = 215; nextrange = "n/a";
Symbol 76 MovieClip [tower] Frame 31
gotoAndStop (18);
Symbol 76 MovieClip [tower] Frame 32
turret.dmg = 9090; turret.range = 150; nextrange = 100; turret.nxtdmg = 15050; nxtprice = 5000; turret._y = -7.5; stop(); upgradeable = true; nam = "Ultimate Armed Tower"; stop();
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 32
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 4); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 4); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } if (bulspawned == false) { _root.attachMovie("bullet", "BUL_" + _parent._name, 700 + _root.num); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["BUL_" + _parent._name].blendMode = "invert"; _root["BUL_" + _parent._name].gotoAndStop(4); _root.num++; bulspawned = true; } }
Symbol 76 MovieClip [tower] Frame 33
turret.dmg = 15050; turret.nxtdmg = 909090 /* 0x0DDF22 */; nxtprice = 15000; turret._y = -7.5; stop(); upgradeable = true; nam = "Flower Power Tower"; turret.range = 100; nextrange = 90;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 33
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 4); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 4); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 34
turret.dmg = 909090 /* 0x0DDF22 */; turret.nxtdmg = "n/a"; nxtprice = "n/a"; turret._y = -12.5; stop(); upgradeable = false; nam = "TTHHE ULLTTIMMATTE TTOWWERR"; turret.range = 90; nextrange = "n/a";
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 MovieClip [tower] Frame 34
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 150; _root["BUL_" + _parent._name]._yscale = 150; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 5); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 5); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.01745329; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 76 MovieClip [tower] Frame 36
turret.dmg = 40; turret.nxtdmg = "n/a"; nxtprice = "n/a"; turret._y = -12.5; stop(); upgradeable = false; nam = "Storm Tower"; turret.range = 100; nextrange = "n/a"; stop();
Instance of Symbol 75 MovieClip "turret" in Symbol 76 MovieClip [tower] Frame 36
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 4); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 4); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } if (bulspawned == false) { _root.attachMovie("bullet", "BUL_" + _parent._name, 700 + _root.num); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["BUL_" + _parent._name].blendMode = normal; _root["BUL_" + _parent._name].gotoAndStop(5); _root.num++; bulspawned = true; } }
Symbol 82 MovieClip [guide] Frame 1
this._visible = false;
Symbol 95 Button
on (release) { play(); }
Symbol 175 MovieClip Frame 1
_root.stop(); _root.start._visible = false; PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { _root.start._visible = true; this._visible = false; }
Symbol 175 MovieClip Frame 2
gotoAndPlay (1);
Symbol 221 MovieClip Frame 1
stop();
Symbol 257 Button
on (release) { if (_root.money >= 18) { _root.MODE = 1; _root.SEL = 1; } }
Symbol 260 Button
on (release) { if (_root.money >= 10) { _root.MODE = 1; _root.SEL = 2; } }
Symbol 263 Button
on (release) { if (_root.money >= 15) { _root.MODE = 1; _root.SEL = 3; } }
Symbol 277 Button
on (release) { if (_root.money >= 3000) { _root.MODE = 1; _root.SEL = 4; } }
Symbol 293 Button
on (release) { if (_root.money >= 40) { _root.MODE = 1; _root.SEL = 5; } }
Symbol 303 Button
on (release) { if (upgradable) { if (_root.money >= upg_price) { _root[_root.SEL].nextFrame(); _root[_root.SEL].turret.active = false; _root.money = _root.money - upg_price; _root.selArrow._visible = false; gotoAndStop (1); } else { _root.mess.text = "Insufficient Funds to Upgrade Selected Tower."; _root.messtim = 3; } } else { _root.mess.text = "This Tower Cannot be Upgraded Any Further."; _root.messtim = 3; } }
Symbol 310 Button
on (release) { _root.MODE = 0; _root.SEL = 0; _root.selArrow._visible = false; gotoAndStop (1); }
Symbol 324 MovieClip Frame 1
_root.ex._visible = true; stop();
Symbol 324 MovieClip Frame 2
var upg_price; var nxt_dmg; var upgadable; _root.ex._visible = false;
Symbol 331 Button
on (rollOver) { if (MODE == 1) { _root.MODE = 0; _root.SEL = 0; } _root.guide_rect._x = -100; _root.guide_rect._y = -100; }

Library Items

Symbol 1 GraphicUsed by:5
Symbol 2 GraphicUsed by:5
Symbol 3 GraphicUsed by:5
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip [bullet]Uses:1 2 3 4
Symbol 6 GraphicUsed by:9
Symbol 7 GraphicUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 ButtonUses:6 7 8Used by:76
Symbol 10 GraphicUsed by:76
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClip [turret]Uses:11Used by:76
Symbol 13 GraphicUsed by:76
Symbol 14 GraphicUsed by:76
Symbol 15 GraphicUsed by:76
Symbol 16 GraphicUsed by:76
Symbol 17 GraphicUsed by:76
Symbol 18 GraphicUsed by:76
Symbol 19 ShapeTweeningUsed by:24
Symbol 20 GraphicUsed by:24
Symbol 21 ShapeTweeningUsed by:24
Symbol 22 GraphicUsed by:24
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:19 20 21 22 23Used by:76
Symbol 25 GraphicUsed by:76
Symbol 26 GraphicUsed by:76
Symbol 27 GraphicUsed by:76
Symbol 28 GraphicUsed by:76
Symbol 29 GraphicUsed by:76
Symbol 30 GraphicUsed by:76
Symbol 31 GraphicUsed by:76
Symbol 32 GraphicUsed by:34
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:32 33Used by:76
Symbol 35 GraphicUsed by:76
Symbol 36 GraphicUsed by:76
Symbol 37 GraphicUsed by:76
Symbol 38 GraphicUsed by:76
Symbol 39 GraphicUsed by:76
Symbol 40 GraphicUsed by:76
Symbol 41 GraphicUsed by:76
Symbol 42 GraphicUsed by:76
Symbol 43 GraphicUsed by:76
Symbol 44 GraphicUsed by:54
Symbol 45 GraphicUsed by:54
Symbol 46 GraphicUsed by:54
Symbol 47 GraphicUsed by:54
Symbol 48 GraphicUsed by:54
Symbol 49 GraphicUsed by:54
Symbol 50 GraphicUsed by:54
Symbol 51 GraphicUsed by:54
Symbol 52 GraphicUsed by:54
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:44 45 46 47 48 49 50 51 52 53Used by:76
Symbol 55 GraphicUsed by:76
Symbol 56 GraphicUsed by:76
Symbol 57 GraphicUsed by:76
Symbol 58 GraphicUsed by:76
Symbol 59 GraphicUsed by:76
Symbol 60 GraphicUsed by:66
Symbol 61 ShapeTweeningUsed by:66
Symbol 62 GraphicUsed by:66
Symbol 63 ShapeTweeningUsed by:66
Symbol 64 GraphicUsed by:66
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:60 61 62 63 64 65Used by:76
Symbol 67 GraphicUsed by:75
Symbol 68 GraphicUsed by:75
Symbol 69 GraphicUsed by:75
Symbol 70 GraphicUsed by:75
Symbol 71 GraphicUsed by:75
Symbol 72 GraphicUsed by:75
Symbol 73 GraphicUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:67 68 69 70 71 72 73 74Used by:76
Symbol 76 MovieClip [tower]Uses:9 10 12 13 14 15 16 17 18 24 25 26 27 28 29 30 31 34 35 36 37 38 39 40 41 42 43 54 55 56 57 58 59 66 75
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClip [arrow]Uses:77
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClip [creature]Uses:79Used by:Timeline
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClip [guide]Uses:81Used by:Timeline
Symbol 83 GraphicUsed by:Timeline
Symbol 84 GraphicUsed by:92
Symbol 85 GraphicUsed by:92 367 372
Symbol 86 GraphicUsed by:92
Symbol 87 GraphicUsed by:92
Symbol 88 GraphicUsed by:92
Symbol 89 GraphicUsed by:92 367
Symbol 90 GraphicUsed by:92 367
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:84 85 86 87 88 89 90 91Used by:Timeline
Symbol 93 GraphicUsed by:95
Symbol 94 GraphicUsed by:95
Symbol 95 ButtonUses:93 94Used by:Timeline
Symbol 96 GraphicUsed by:161 242 298 314
Symbol 97 GraphicUsed by:161
Symbol 98 GraphicUsed by:161 174 218 229 288 393
Symbol 99 GraphicUsed by:161 218 229 233 247
Symbol 100 GraphicUsed by:161
Symbol 101 GraphicUsed by:161
Symbol 102 GraphicUsed by:161
Symbol 103 GraphicUsed by:161 174 218 229 233 238 242 247 288 298 304 314 323 327
Symbol 104 GraphicUsed by:161
Symbol 105 GraphicUsed by:161
Symbol 106 GraphicUsed by:161 174 288
Symbol 107 GraphicUsed by:161 174 288
Symbol 108 GraphicUsed by:161
Symbol 109 GraphicUsed by:161
Symbol 110 GraphicUsed by:161 288
Symbol 111 GraphicUsed by:161 174 200 218 247 288 393
Symbol 112 GraphicUsed by:161
Symbol 113 GraphicUsed by:161
Symbol 114 GraphicUsed by:161
Symbol 115 GraphicUsed by:161
Symbol 116 GraphicUsed by:161
Symbol 117 GraphicUsed by:161
Symbol 118 GraphicUsed by:161
Symbol 119 GraphicUsed by:161
Symbol 120 GraphicUsed by:161
Symbol 121 GraphicUsed by:161
Symbol 122 GraphicUsed by:161
Symbol 123 GraphicUsed by:161
Symbol 124 GraphicUsed by:161
Symbol 125 GraphicUsed by:161
Symbol 126 GraphicUsed by:161
Symbol 127 GraphicUsed by:161 233 242 298 314 327
Symbol 128 GraphicUsed by:161
Symbol 129 GraphicUsed by:161
Symbol 130 GraphicUsed by:161
Symbol 131 GraphicUsed by:161
Symbol 132 GraphicUsed by:161
Symbol 133 GraphicUsed by:161
Symbol 134 GraphicUsed by:161 233
Symbol 135 GraphicUsed by:161
Symbol 136 GraphicUsed by:161 288
Symbol 137 GraphicUsed by:161
Symbol 138 GraphicUsed by:161
Symbol 139 GraphicUsed by:161
Symbol 140 GraphicUsed by:161
Symbol 141 GraphicUsed by:161
Symbol 142 GraphicUsed by:161
Symbol 143 GraphicUsed by:161
Symbol 144 GraphicUsed by:161 200
Symbol 145 GraphicUsed by:161
Symbol 146 GraphicUsed by:161
Symbol 147 GraphicUsed by:161
Symbol 148 GraphicUsed by:161
Symbol 149 GraphicUsed by:161
Symbol 150 GraphicUsed by:161 229
Symbol 151 GraphicUsed by:161
Symbol 152 GraphicUsed by:161
Symbol 153 GraphicUsed by:161
Symbol 154 GraphicUsed by:161
Symbol 155 GraphicUsed by:161 314 323
Symbol 156 GraphicUsed by:161
Symbol 157 GraphicUsed by:161
Symbol 158 GraphicUsed by:161
Symbol 159 GraphicUsed by:161
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClipUses:96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160Used by:Timeline
Symbol 162 GraphicUsed by:Timeline
Symbol 163 GraphicUsed by:164 175
Symbol 164 MovieClipUses:163Used by:175
Symbol 165 GraphicUsed by:174 242 298 304
Symbol 166 GraphicUsed by:174 288
Symbol 167 GraphicUsed by:174 288
Symbol 168 GraphicUsed by:174
Symbol 169 GraphicUsed by:174 288
Symbol 170 GraphicUsed by:174 288
Symbol 171 GraphicUsed by:174
Symbol 172 GraphicUsed by:174 288
Symbol 173 GraphicUsed by:174
Symbol 174 MovieClipUses:165 111 103 166 167 168 98 169 170 171 106 172 107 173Used by:175
Symbol 175 MovieClipUses:164 163 174Used by:Timeline
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:176Used by:Timeline
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:Timeline
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:180Used by:Timeline
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:182Used by:Timeline
Symbol 184 GraphicUsed by:185
Symbol 185 MovieClipUses:184Used by:Timeline
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClipUses:186Used by:Timeline
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClipUses:188Used by:Timeline
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClipUses:190Used by:Timeline
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:192Used by:Timeline
Symbol 194 GraphicUsed by:201
Symbol 195 GraphicUsed by:200
Symbol 196 GraphicUsed by:200
Symbol 197 GraphicUsed by:200
Symbol 198 GraphicUsed by:200
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClipUses:195 196 197 198 111 144 199Used by:201
Symbol 201 MovieClipUses:194 200Used by:Timeline
Symbol 202 FontUsed by:203 373
Symbol 203 EditableTextUses:202Used by:Timeline
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClipUses:204Used by:Timeline
Symbol 206 GraphicUsed by:209
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:207Used by:209
Symbol 209 MovieClipUses:206 208Used by:Timeline
Symbol 210 GraphicUsed by:218 238 298 304 314 323
Symbol 211 GraphicUsed by:218 233 298 304
Symbol 212 GraphicUsed by:218
Symbol 213 GraphicUsed by:218
Symbol 214 GraphicUsed by:218 229 247
Symbol 215 GraphicUsed by:218 242
Symbol 216 GraphicUsed by:218
Symbol 217 GraphicUsed by:218 327
Symbol 218 MovieClipUses:210 211 212 213 99 214 215 103 216 111 98 217Used by:Timeline
Symbol 219 GraphicUsed by:221
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClipUses:219 220Used by:Timeline
Symbol 222 FontUsed by:223 328
Symbol 223 EditableTextUses:222Used by:Timeline
Symbol 224 GraphicUsed by:Timeline
Symbol 225 FontUsed by:226 231 235
Symbol 226 EditableTextUses:225Used by:Timeline
Symbol 227 GraphicUsed by:229
Symbol 228 GraphicUsed by:229 233 247 323 327
Symbol 229 MovieClipUses:150 98 214 227 103 228 99Used by:Timeline
Symbol 230 GraphicUsed by:Timeline
Symbol 231 EditableTextUses:225Used by:Timeline
Symbol 232 GraphicUsed by:233 242
Symbol 233 MovieClipUses:232 103 134 127 228 211 99Used by:Timeline
Symbol 234 GraphicUsed by:Timeline
Symbol 235 EditableTextUses:225Used by:Timeline
Symbol 236 GraphicUsed by:238
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:236 210 237 103Used by:Timeline
Symbol 239 GraphicUsed by:324
Symbol 240 GraphicUsed by:242 298 314
Symbol 241 GraphicUsed by:242 298 304 314
Symbol 242 MovieClipUses:96 127 240 103 241 232 215 165Used by:324
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClipUses:243Used by:324
Symbol 245 GraphicUsed by:247
Symbol 246 GraphicUsed by:247 288 314
Symbol 247 MovieClipUses:245 111 103 246 228 214 99Used by:324
Symbol 248 GraphicUsed by:250 252 254
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClipUses:248 249Used by:324
Symbol 251 GraphicUsed by:252 273 290
Symbol 252 MovieClipUses:248 251Used by:324
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClipUses:248 253Used by:324
Symbol 255 GraphicUsed by:257
Symbol 256 GraphicUsed by:257
Symbol 257 ButtonUses:255 256Used by:324
Symbol 258 GraphicUsed by:260
Symbol 259 GraphicUsed by:260
Symbol 260 ButtonUses:258 259Used by:324
Symbol 261 GraphicUsed by:263
Symbol 262 GraphicUsed by:263
Symbol 263 ButtonUses:261 262Used by:324
Symbol 264 GraphicUsed by:324
Symbol 265 GraphicUsed by:269
Symbol 266 GraphicUsed by:269 271 280 295 305 393
Symbol 267 GraphicUsed by:269 271 280 295 305 393
Symbol 268 GraphicUsed by:269 271 280 295 305 319 393
Symbol 269 MovieClipUses:265 266 267 268Used by:324
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270 266 267 268Used by:324
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:272 251Used by:324
Symbol 274 GraphicUsed by:324
Symbol 275 GraphicUsed by:277
Symbol 276 GraphicUsed by:277
Symbol 277 ButtonUses:275 276Used by:324
Symbol 278 GraphicUsed by:280
Symbol 279 GraphicUsed by:280 295
Symbol 280 MovieClipUses:278 279 266 267 268Used by:324
Symbol 281 GraphicUsed by:288
Symbol 282 GraphicUsed by:288
Symbol 283 GraphicUsed by:288
Symbol 284 GraphicUsed by:288
Symbol 285 GraphicUsed by:288
Symbol 286 GraphicUsed by:288
Symbol 287 GraphicUsed by:288
Symbol 288 MovieClipUses:281 106 136 103 246 110 167 282 169 170 283 284 285 286 166 107 111 287 98 172Used by:324
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClipUses:289 251Used by:324
Symbol 291 GraphicUsed by:293
Symbol 292 GraphicUsed by:293
Symbol 293 ButtonUses:291 292Used by:324
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClipUses:294 279 266 267 268Used by:324
Symbol 296 GraphicUsed by:298 304
Symbol 297 GraphicUsed by:298 304 314 323
Symbol 298 MovieClipUses:96 127 240 103 241 296 165 297 210 211Used by:324
Symbol 299 FontUsed by:300
Symbol 300 EditableTextUses:299Used by:324
Symbol 301 GraphicUsed by:303
Symbol 302 GraphicUsed by:303
Symbol 303 ButtonUses:301 302Used by:324
Symbol 304 MovieClipUses:296 165 297 241 210 211 103Used by:324
Symbol 305 MovieClipUses:266 267 268Used by:324
Symbol 306 FontUsed by:307 320
Symbol 307 EditableTextUses:306Used by:324
Symbol 308 GraphicUsed by:310
Symbol 309 GraphicUsed by:310
Symbol 310 ButtonUses:308 309Used by:324
Symbol 311 FontUsed by:312 315 321
Symbol 312 EditableTextUses:311Used by:324
Symbol 313 GraphicUsed by:314
Symbol 314 MovieClipUses:96 127 240 103 241 313 210 246 297 155Used by:324
Symbol 315 EditableTextUses:311Used by:324
Symbol 316 GraphicUsed by:319 393
Symbol 317 GraphicUsed by:319 393
Symbol 318 GraphicUsed by:319 393
Symbol 319 MovieClipUses:316 317 318 268Used by:324
Symbol 320 EditableTextUses:306Used by:324
Symbol 321 EditableTextUses:311Used by:324
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322 210 228 297 103 155Used by:324
Symbol 324 MovieClipUses:239 242 244 247 250 252 254 257 260 263 264 269 271 273 274 277 280 288 290 293 295 298 300 303 304 305 307 310 312 314 315 319 320 321 323Used by:Timeline
Symbol 325 GraphicUsed by:Timeline
Symbol 326 GraphicUsed by:327
Symbol 327 MovieClipUses:326 127 228 103 217Used by:Timeline
Symbol 328 EditableTextUses:222Used by:Timeline
Symbol 329 GraphicUsed by:331
Symbol 330 GraphicUsed by:331
Symbol 331 ButtonUses:329 330Used by:Timeline
Symbol 332 GraphicUsed by:352
Symbol 333 GraphicUsed by:352
Symbol 334 GraphicUsed by:352
Symbol 335 GraphicUsed by:352
Symbol 336 GraphicUsed by:352
Symbol 337 GraphicUsed by:352
Symbol 338 GraphicUsed by:352
Symbol 339 GraphicUsed by:352
Symbol 340 GraphicUsed by:352
Symbol 341 GraphicUsed by:352
Symbol 342 GraphicUsed by:352
Symbol 343 GraphicUsed by:352
Symbol 344 GraphicUsed by:352
Symbol 345 GraphicUsed by:352
Symbol 346 GraphicUsed by:352
Symbol 347 GraphicUsed by:352
Symbol 348 GraphicUsed by:352
Symbol 349 GraphicUsed by:352
Symbol 350 GraphicUsed by:352
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351Used by:353
Symbol 353 MovieClipUses:352Used by:Timeline
Symbol 354 GraphicUsed by:Timeline
Symbol 355 GraphicUsed by:367 372
Symbol 356 GraphicUsed by:367 372
Symbol 357 GraphicUsed by:367 372
Symbol 358 GraphicUsed by:367
Symbol 359 GraphicUsed by:367
Symbol 360 GraphicUsed by:367
Symbol 361 GraphicUsed by:367 372
Symbol 362 GraphicUsed by:367
Symbol 363 GraphicUsed by:367
Symbol 364 GraphicUsed by:367
Symbol 365 GraphicUsed by:367
Symbol 366 GraphicUsed by:367 372
Symbol 367 MovieClipUses:355 85 356 357 358 90 359 360 89 361 362 363 364 365 366Used by:Timeline
Symbol 368 GraphicUsed by:Timeline
Symbol 369 GraphicUsed by:372
Symbol 370 GraphicUsed by:372
Symbol 371 GraphicUsed by:372
Symbol 372 MovieClipUses:355 85 356 369 370 357 361 366 371Used by:Timeline
Symbol 373 EditableTextUses:202Used by:Timeline
Symbol 374 GraphicUsed by:393
Symbol 375 GraphicUsed by:393
Symbol 376 GraphicUsed by:393
Symbol 377 GraphicUsed by:393
Symbol 378 GraphicUsed by:393
Symbol 379 GraphicUsed by:393
Symbol 380 GraphicUsed by:393
Symbol 381 GraphicUsed by:393
Symbol 382 GraphicUsed by:393
Symbol 383 GraphicUsed by:393
Symbol 384 GraphicUsed by:393
Symbol 385 GraphicUsed by:393
Symbol 386 GraphicUsed by:393
Symbol 387 GraphicUsed by:393
Symbol 388 GraphicUsed by:393
Symbol 389 GraphicUsed by:393
Symbol 390 GraphicUsed by:393
Symbol 391 GraphicUsed by:393
Symbol 392 GraphicUsed by:393
Symbol 393 MovieClipUses:374 375 376 377 98 268 378 111 379 380 381 382 383 317 384 266 385 386 318 387 316 267 388 389 390 391 392Used by:Timeline

Instance Names

"Start"Frame 1Symbol 95 Button
"p3"Frame 2Symbol 181 MovieClip
"castle"Frame 2Symbol 193 MovieClip
"main"Frame 2Symbol 201 MovieClip
"d1"Frame 2Symbol 82 MovieClip [guide]
"d2"Frame 2Symbol 82 MovieClip [guide]
"d3"Frame 2Symbol 82 MovieClip [guide]
"d4"Frame 2Symbol 82 MovieClip [guide]
"d5"Frame 2Symbol 82 MovieClip [guide]
"d6"Frame 2Symbol 82 MovieClip [guide]
"d7"Frame 2Symbol 82 MovieClip [guide]
"d8"Frame 2Symbol 82 MovieClip [guide]
"mess"Frame 2Symbol 203 EditableText
"c1"Frame 2Symbol 80 MovieClip [creature]
"c2"Frame 2Symbol 80 MovieClip [creature]
"c3"Frame 2Symbol 80 MovieClip [creature]
"c4"Frame 2Symbol 80 MovieClip [creature]
"c5"Frame 2Symbol 80 MovieClip [creature]
"c6"Frame 2Symbol 80 MovieClip [creature]
"c7"Frame 2Symbol 80 MovieClip [creature]
"c8"Frame 2Symbol 80 MovieClip [creature]
"guide_rect"Frame 2Symbol 221 MovieClip
"console"Frame 2Symbol 324 MovieClip
"ex"Frame 2Symbol 331 Button
"score"Frame 3Symbol 373 EditableText
"turret"Symbol 76 MovieClip [tower] Frame 5Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 6Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 7Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 8Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 9Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 10Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 13Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 14Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 15Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 16Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 17Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 18Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 23Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 24Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 25Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 26Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 27Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 28Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 29Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 32Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 33Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 34Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 36Symbol 75 MovieClip
"bar"Symbol 175 MovieClip Frame 1Symbol 164 MovieClip
"bar"Symbol 324 MovieClip Frame 1Symbol 244 MovieClip
"fire_btn"Symbol 324 MovieClip Frame 1Symbol 257 Button
"water_btn"Symbol 324 MovieClip Frame 1Symbol 260 Button
"nature_btn"Symbol 324 MovieClip Frame 1Symbol 263 Button
"upgrade_btn"Symbol 324 MovieClip Frame 2Symbol 303 Button
"dmgtxt"Symbol 324 MovieClip Frame 2Symbol 312 EditableText
"namtxt"Symbol 324 MovieClip Frame 2Symbol 315 EditableText
"rngtxt"Symbol 324 MovieClip Frame 2Symbol 321 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 5 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 12 as "turret"
ExportAssets (56)Timeline Frame 1Symbol 76 as "tower"
ExportAssets (56)Timeline Frame 1Symbol 78 as "arrow"
ExportAssets (56)Timeline Frame 1Symbol 80 as "creature"
ExportAssets (56)Timeline Frame 1Symbol 82 as "guide"

Dynamic Text Variables

_root.income*8Symbol 223 EditableText"<p align="left"></p><p align="left"></p>"
_root.livesSymbol 226 EditableText"<p align="center"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>0</b></font></p><p align="center"></p>"
_root.timeremSymbol 231 EditableText"<p align="center"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>0</b></font></p><p align="center"></p>"
_root.waveSymbol 235 EditableText"<p align="center"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>1</b></font></p><p align="center"></p>"
upg_priceSymbol 300 EditableText"<p align="left"><font face="Tahoma" size="10" color="#ffcc00" letterSpacing="0.000000" kerning="0">30</font></p><p align="left"></p>"
nxt_dmgSymbol 307 EditableText"<p align="left"><font face="Tahoma" size="10" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>000</b></font></p><p align="left"></p>"
nxt_rngSymbol 320 EditableText"<p align="left"><font face="Tahoma" size="10" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>000</b></font></p><p align="left"></p>"
_root.moneySymbol 328 EditableText"<p align="center"><font face="Arial" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">50</font></p><p align="center"></p>"
_root.waveSymbol 373 EditableText"<p align="left"></p><p align="left"></p>"




http://swfchan.com/3/14397/info.shtml
Created: 3/6 -2019 18:51:30 Last modified: 3/6 -2019 18:51:30 Server time: 05/11 -2024 08:23:32