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>

RS Tower Defence.swf

This is the info page for
Flash #23887

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


Text
1

2

3

4

5

6

7

8

9

1

<p align="center"><font face="Verdana_10pt_st" size="10" color="#ffff00" letterSpacing="0.000000" kerning="1">+ $10</font></p>

<p align="center"></p>

<p align="right"></p>

<p align="left"><font face="Arial" size="10" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>fps</b></font></p>

1

2

3

SPONSORED BY:

<p align="left"><font face="impact" size="20" color="#000000" letterSpacing="0.000000" kerning="1"><a href="mailto:roman.sanine@hotmail.com">rS</a></font></p>

rS Tower Defence

Defend Your Castle

2.6

LOADING...

PLAY

Help

GFX:

<p align="left"><font face="Verdana_10pt_st" size="10" color="#000000" letterSpacing="0.000000" kerning="1">FULL</font></p>

Version 1

More Games

SPONSORED BY:

2.6

<p align="left"><font face="Verdana" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><a href="www.rstd.net">WWW.RSTD.NET</a></font></p>

BUY MENU

<p align="left"><font face="Verdana_10pt_st" size="10" color="#000000" letterSpacing="0.000000" kerning="1"><b>100%</b></font></p>

Twisted

Fish Loop

Star Loop

Choose a Path

ZigZag

Angle

Go Around

Classic

Z Hall

Detour

MEDIUM

EASY

HARD

EXPERT

VERY
EASY

Pause

Quality

Buy Menu

Sniper

Mixed Ele

Death

Biohazard

Cash

Slow

God Power

Gecko

2d

50gp

Fire

4d

Water

3d

30gp

Wind

1d

Ultrimate

800d

3000gp

A

10dmg

10gp

C

1000dmg

500gp

B

100dmg

80gp

300d

1000gp

?d

800gp

1000d

7000gp

100d

400gp

99999999999d

300000000g

<p align="center"></p>

Wave:

Citizens:

Time:

Money:

1234

1234

1234

12345678

Current

Next Level

Damage:

<p align="left"><font face="Verdana_12pt_st" size="12" color="#ff0000" letterSpacing="0.000000" kerning="1">100dmg</font></p>

<p align="left"><font face="Verdana_12pt_st" size="12" color="#ff0000" letterSpacing="0.000000" kerning="1">100dmg</font></p>

<p align="left"><font face="Verdana_12pt_st" size="12" color="#333333" letterSpacing="0.000000" kerning="1">Tower Name</font></p>

<p align="left"><font face="Verdana_12pt_st" size="12" color="#333333" letterSpacing="0.000000" kerning="1"><b>100gp</b></font></p>

Range:

<p align="left"><font face="Verdana_12pt_st" size="12" color="#0000ff" letterSpacing="0.000000" kerning="1">100rng</font></p>

Upgrade for

<p align="left"><font face="Verdana_12pt_st" size="12" color="#0000ff" letterSpacing="0.000000" kerning="1">100rng</font></p>

<p align="left"><font face="Verdana_12pt_st" size="12" color="#333333" letterSpacing="0.000000" kerning="1">Tower Name</font></p>

MONEY ERROR!

Sorry for the
inconvenience, but you
did something that caused
the money to become
"NaN." Please post and/or
take a screenshot of what
you did to make to make
this happen  in the
"Bugs/Glitches" forum.

<p align="center"><font face="Verdana_400pt_st" size="400" color="#000000" letterSpacing="0.000000" kerning="1"><b>100</b></font></p>

Your Castle has been Invaded.

<p align="left"><font face="Verdana_30pt_st" size="30" color="#000000" letterSpacing="0.000000" kerning="1"><b>You Scored 1234567.</b></font></p>

www.rstd.net

2.3

Back

Exactly 1 year ago, Tower Defence V1.3(aka VER3) was released, starting a new online competition that got people
from across the world hooked on defending castles. It was the first ever recognized flash-based tower defence game.
This game was very popular but it had many flaws. And now, V2 is finally here.
How to Play:
Click on your Castle to open up the Buy Menu. From here, you are able to buy towers and mines which you can
strategically place on the playing field. You want to build your towers as close to the path as possible becouse the
enemies walk along this path towards your castle, and the mines on the path. Click on the built mines to detonate
them. When a living enemy gets to the castle, a citizen in your castle will die. Once all your citizens die, the game is
over.
Keep in mind that every tower has its individual strengths and weaknesses.
Some are fast, others are slow.
Some are far ranged, others are close range.
Some towers are good in the beginning. Others are good in the end.

HELP

ActionScript [AS1/AS2]

Frame 36
stop(); var Wave = 0; var Time = 60; var Citizens = 12; var Money = 200; var Health; var MoneyInc; var DefaultSpeed = 4; var SlowSpeed = 3.5; var BuildMode; var Mode = 0; var numEnemies = 1; var minSize = 10; var allowAlpha = true; var TheTime = 0; SoundBass = new Sound(Beat_Bass); SoundBeat = new Sound(Beat_Beat); SoundChime = new Sound(Beat_Chime); SoundDX = new Sound(Beat_DX); SoundBass.attachSound("Beat_Bass"); SoundBeat.attachSound("Beat_Beat"); SoundChime.attachSound("Beat_Chime"); SoundDX.attachSound("Beat_DX"); var Selected; twrType = new Object(); twrArray = new Array(twrType); var numTowers = 0; addTower = new eval (function (X, Y, Mine, Type) { twrArray[num_towers].X = X; twrArray[num_towers].Y = Y; twrArray[num_towers].Mine = Mine; twrArray[num_towers].Type = Type; twrArray[num_towers].Level = 1; _root.numTowers = _root.numTowers + 1; })();
Instance of Symbol 227 MovieClip in Frame 36
onClipEvent (enterFrame) { loadedbytes = getBytesLoaded(); totalbytes = getBytesTotal(); if (loadedbytes >= totalbytes) { this.nextFrame(); } }
Frame 37
stop();
Instance of Symbol 262 MovieClip "Path" in Frame 37
onClipEvent (load) { this._visible = false; }
Instance of Symbol 265 MovieClip "LBL1" in Frame 37
onClipEvent (load) { var ROUND = Math.round; var SQRT = Math.sqrt; var NUM = 1; } onClipEvent (enterFrame) { _x = _root["p" + NUM]._x; _y = _root["p" + NUM]._y; this.VAL.text = Math.round(_root["p" + NUM].HP * 10) / 10; var XDIST = (_x - _root._xmouse); var YDIST = (_y - _root._ymouse); _alpha = (100 - ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST)))); }
Instance of Symbol 265 MovieClip "LBL2" in Frame 37
onClipEvent (load) { var ROUND = Math.round; var SQRT = Math.sqrt; var NUM = 2; } onClipEvent (enterFrame) { _x = _root["p" + NUM]._x; _y = _root["p" + NUM]._y; this.VAL.text = Math.round(_root["p" + NUM].HP * 10) / 10; var XDIST = (_x - _root._xmouse); var YDIST = (_y - _root._ymouse); _alpha = (100 - ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST)))); }
Instance of Symbol 265 MovieClip "LBL3" in Frame 37
onClipEvent (load) { var ROUND = Math.round; var SQRT = Math.sqrt; var NUM = 3; } onClipEvent (enterFrame) { _x = _root["p" + NUM]._x; _y = _root["p" + NUM]._y; this.VAL.text = Math.round(_root["p" + NUM].HP * 10) / 10; var XDIST = (_x - _root._xmouse); var YDIST = (_y - _root._ymouse); _alpha = (100 - ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST)))); }
Instance of Symbol 265 MovieClip "LBL4" in Frame 37
onClipEvent (load) { var ROUND = Math.round; var SQRT = Math.sqrt; var NUM = 4; } onClipEvent (enterFrame) { _x = _root["p" + NUM]._x; _y = _root["p" + NUM]._y; this.VAL.text = Math.round(_root["p" + NUM].HP * 10) / 10; var XDIST = (_x - _root._xmouse); var YDIST = (_y - _root._ymouse); _alpha = (100 - ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST)))); }
Instance of Symbol 265 MovieClip "LBL6" in Frame 37
onClipEvent (load) { var ROUND = Math.round; var SQRT = Math.sqrt; var NUM = 6; } onClipEvent (enterFrame) { _x = _root["p" + NUM]._x; _y = _root["p" + NUM]._y; this.VAL.text = Math.round(_root["p" + NUM].HP * 10) / 10; var XDIST = (_x - _root._xmouse); var YDIST = (_y - _root._ymouse); _alpha = (100 - ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST)))); }
Instance of Symbol 265 MovieClip "LBL8" in Frame 37
onClipEvent (load) { var ROUND = Math.round; var SQRT = Math.sqrt; var NUM = 8; } onClipEvent (enterFrame) { _x = _root["p" + NUM]._x; _y = _root["p" + NUM]._y; this.VAL.text = Math.round(_root["p" + NUM].HP * 10) / 10; var XDIST = (_x - _root._xmouse); var YDIST = (_y - _root._ymouse); _alpha = (100 - ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST)))); }
Instance of Symbol 265 MovieClip "LBL7" in Frame 37
onClipEvent (load) { var ROUND = Math.round; var SQRT = Math.sqrt; var NUM = 7; } onClipEvent (enterFrame) { _x = _root["p" + NUM]._x; _y = _root["p" + NUM]._y; this.VAL.text = Math.round(_root["p" + NUM].HP * 10) / 10; var XDIST = (_x - _root._xmouse); var YDIST = (_y - _root._ymouse); _alpha = (100 - ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST)))); }
Instance of Symbol 265 MovieClip "LBL5" in Frame 37
onClipEvent (load) { var ROUND = Math.round; var SQRT = Math.sqrt; var NUM = 5; } onClipEvent (enterFrame) { _x = _root["p" + NUM]._x; _y = _root["p" + NUM]._y; this.VAL.text = Math.round(_root["p" + NUM].HP * 10) / 10; var XDIST = (_x - _root._xmouse); var YDIST = (_y - _root._ymouse); _alpha = (100 - ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST)))); }
Instance of Symbol 265 MovieClip "LBL9" in Frame 37
onClipEvent (load) { var ROUND = Math.round; var SQRT = Math.sqrt; var NUM = 9; } onClipEvent (enterFrame) { _x = _root["p" + NUM]._x; _y = _root["p" + NUM]._y; this.VAL.text = Math.round(_root["p" + NUM].HP * 10) / 10; var XDIST = (_x - _root._xmouse); var YDIST = (_y - _root._ymouse); _alpha = (100 - ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST)))); }
Instance of Symbol 265 MovieClip "LBL10" in Frame 37
onClipEvent (load) { var ROUND = Math.round; var SQRT = Math.sqrt; var NUM = 10; } onClipEvent (enterFrame) { _x = _root["p" + NUM]._x; _y = _root["p" + NUM]._y; this.VAL.text = Math.round(_root["p" + NUM].HP * 10) / 10; var XDIST = (_x - _root._xmouse); var YDIST = (_y - _root._ymouse); _alpha = (100 - ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST)))); }
Frame 38
var k = 0; var s = 0; var g = 0; _root.Path._visible = true; Effect_Cash = function (Cash, X, Y) { k++; s = k + 2; while ((_root["TWR" + (k + 100)] != null) || (_root["TWR" + (s + 10000)] != null)) { k++; s = k + 2; } _root.attachMovie("Effect_Dust", "dust" + k, k + 100); _root["dust" + k]._x = X; _root["dust" + k]._y = Y; _root.attachMovie("Effect_PlusMoney", "cash" + s, s + 10000); _root["cash" + s]._x = X; _root["cash" + s]._y = Y; _root["cash" + s].Cash = Cash; }; Effect_Grass = function (X, Y) { while (_root["TWR" + (g + 20000)] != null) { g++; } _root.attachMovie("Particle_Grass", "grass" + g, g + 20000); _root["grass" + g]._x = X; _root["grass" + g]._y = Y; }; Effect_Poof = function (X, Y) { var _local2; while (_root["TWR" + (_local2 + 10000)] != null) { _local2++; } _root.attachMovie("Effect_Dust", "dust" + _local2, _local2 + 10000); _root["dust" + _local2]._x = X; _root["dust" + _local2]._y = Y; }; Effect_Z = function (X, Y, k) { _root.attachMovie("Particle_Z", "dust" + k, k + 10000); _root["dust" + k]._x = X; _root["dust" + k]._y = Y; }; stop();
Instance of Symbol 305 MovieClip "Box" in Frame 38
onClipEvent (load) { gotoAndStop (1); _visible = false; }
Instance of Symbol 385 MovieClip "MENU" in Frame 38
onClipEvent (load) { this._visible = false; }
Instance of Symbol 387 MovieClip "SelBox" in Frame 38
onClipEvent (load) { var Depth; var DepthAdd = 0; var Open = true; var tr; _visible = false; var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var SQRT = Math.sqrt; getDist = function () { var _local2 = xx - _root._xmouse; var _local3 = yy - _root._ymouse; if (ROUND(SQRT((_local2 * _local2) + (_local3 * _local3))) < 30) { Open = false; } }; getDist2 = function () { var _local2 = point_1_x - _root._xmouse; var _local3 = point_1_y - _root._ymouse; if (ROUND(SQRT((_local2 * _local2) + (_local3 * _local3))) < 30) { Open = false; } }; } onClipEvent (mouseMove) { if (_root.BuildMode == true) { _visible = true; _x = _root._xmouse; _y = _root._ymouse; } } onClipEvent (mouseUp) { Open = true; } onClipEvent (mouseDown) { Depth = (_root._xmouse * _root._ymouse) + DepthAdd; if (_root.BuildMode == true) { if ((((_root._xmouse > 15) && (_root._xmouse < 785)) && (_root._ymouse > 15)) && (_root._ymouse < 585)) { n = 1; while (n < _root.numPts) { var point_1_x = _root.Path["cp" + n]._x; var point_1_y = _root.Path["cp" + n]._y; var point_2_x = _root.Path["cp" + (n + 1)]._x; var point_2_y = _root.Path["cp" + (n + 1)]._y; var m1 = ((point_2_y - point_1_y) / (point_2_x - point_1_x)); var m2 = (-1 / m1); var x1 = point_1_x; var y1 = point_1_y; var x2 = _x; var y2 = _y; var xx = ((((((-m2) * x2) + y2) + (m1 * x1)) - y1) / (m1 - m2)); var yy = ((m1 * (xx - x1)) + y1); getDist2(); if (((point_1_x <= xx) && (xx <= point_2_x)) || ((point_1_x >= xx) && (xx >= point_2_x))) { getDist(); } n++; } t = 0; while (t < _root.numTowers) { tr = _root.twrArray[t]; var XDIST = (_root["twr" + tr]._x - _root._xmouse); var YDIST = (_root["twr" + tr]._y - _root._ymouse); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < 30) { Open = false; } t++; } if (Open == true) { if (_root["twr" + Depth] == null) { if (_root.Selected < 13) { _root.attachMovie(_root.Selected + "_TWR", "twr" + Depth, Depth); _root["twr" + Depth]._x = _root._xmouse; _root["twr" + Depth]._y = _root._ymouse; if (_root.Selected == 1) { _root.Money = _root.Money - 50; } else if (_root.Selected == 2) { _root.Money = _root.Money - 30; } else if (_root.Selected == 3) { _root.Money = _root.Money - 50; } else if (_root.Selected == 4) { _root.Money = _root.Money - 30; } else if (_root.Selected == 5) { _root.Money = _root.Money - 3000; } else if (_root.Selected == 6) { _root.Money = _root.Money - 1000; } else if (_root.Selected == 7) { _root.Money = _root.Money - 800; } else if (_root.Selected == 8) { _root.Money = _root.Money - 7000; } else if (_root.Selected == 9) { _root.Money = _root.Money - 800; } else if (_root.Selected == 10) { _root.Money = _root.Money - 400; } else if (_root.Selected == 11) { _root.Money = _root.Money - 500; } else if (_root.Selected == 12) { _root.Money = _root.Money - 300000000; } else if (_root.Selected == 13) { _root.txtMsg.text = "Can't Build There -- Please Build Mines on the Path"; } else if (_root.Selected == 14) { _root.txtMsg.text = "Can't Build There -- Please Build Mines on the Path"; } else if (_root.Selected == 15) { _root.txtMsg.text = "Can't Build There -- Please Build Mines on the Path"; } _root.twrArray[_root.numTowers] = Depth; _root.BuildMode = false; _root.numTowers++; _visible = false; _root.Effect_Grass(_root._xmouse, _root._ymouse); _x = 805; _y = 565; } } else { DepthAdd++; mouseDown(); } _root.txtMsg.text = ""; } else if (_root["twr" + Depth] == null) { if (_root.Selected >= 13) { _root.attachMovie(_root.Selected + "_TWR", "twr" + Depth, Depth); _root["twr" + Depth]._x = _root._xmouse; _root["twr" + Depth]._y = _root._ymouse; if (_root.Selected == 13) { _root.Money = _root.Money - 10; } else if (_root.Selected == 14) { _root.Money = _root.Money - 80; } else if (_root.Selected == 15) { _root.Money = _root.Money - 500; } else { _root.txtMsg.text = "Can't Build There -- Please Build Towers on the Grass"; } _root.twrArray[_root.numTowers] = Depth; _root.BuildMode = false; _root.numTowers++; _visible = false; _root.Effect_Grass(_root._xmouse, _root._ymouse); _x = 805; _y = 565; } } else { DepthAdd++; mouseDown(); } } } }
Instance of Symbol 424 MovieClip "p1" in Frame 38
onClipEvent (load) { var LIFETIME = 0; var SLOW_END = 0; var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _alpha = 100; var initX = _x; var initY = _y; var targetCP = 0; var active = false; var HP = _root.Health; var speed = 0; var REG_speed = _root.DefaultSpeed; var SLOW_speed = _root.SlowSpeed; var i = 0; var m = 10; var Boss = false; Death = function () { LIFETIME = 0; SLOW_END = 0; _root.Effect_Cash(Math.round(_root.DeathMoney), _x, _y); _x = initX; _y = initY; HP = _root.Health; targetCP = 0; active = false; _alpha = 100; _root.Money = _root.Money + Math.round(_root.DeathMoney); this.gotoAndStop(Math.ceil(_root.Wave / 7)); }; } onClipEvent (enterFrame) { if (active == true) { x = ROUND(_root.Path["cp" + targetCP]._x - _x); y = ROUND(_root.Path["cp" + targetCP]._y - _y) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); if (LIFETIME >= SLOW_END) { speed = REG_speed; SLOW_END = 0; } else { if (i > 5) { while (_root["TWR" + m] != null) { m++; } _root.Effect_Z(_x, _y, m); m++; i = 0; } else { i++; } speed = SLOW_speed; } _x = (_x + (SIN((_rotation + 90) * PIE) * speed)); _y = (_y + ((COS((_rotation + 90) * PIE) * speed) * -1)); var XDIST = (_root.Path["cp" + targetCP]._x - _x); var YDIST = (_root.Path["cp" + targetCP]._y - _y); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) <= speed) { _x = _root.Path["cp" + targetCP]._x; _y = _root.Path["cp" + targetCP]._y; if (targetCP == 0) { _x = _root.Path.cp1._x; _y = _root.Path.cp1._y; targetCP++; } targetCP++; } if (targetCP > _root.numPts) { this.gotoAndStop(Math.ceil(_root.Wave / 7)); _x = initX; _y = initY; _root.Citizens = _root.Citizens - 1; if (_root.Citizens <= 0) { _root.play(); } HP = _root.Health; targetCP = 0; active = false; } } }
Instance of Symbol 424 MovieClip "p2" in Frame 38
onClipEvent (load) { var LIFETIME = 0; var SLOW_END = 0; var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _alpha = 100; var initX = _x; var initY = _y; var targetCP = 0; var active = false; var HP = _root.Health; var speed = 0; var REG_speed = _root.DefaultSpeed; var SLOW_speed = _root.SlowSpeed; var i = 0; var m = 10; var Boss = false; Death = function () { LIFETIME = 0; SLOW_END = 0; _root.Effect_Cash(Math.round(_root.DeathMoney), _x, _y); _x = initX; _y = initY; HP = _root.Health; targetCP = 0; active = false; _alpha = 100; _root.Money = _root.Money + Math.round(_root.DeathMoney); this.gotoAndStop(Math.ceil(_root.Wave / 7)); }; } onClipEvent (enterFrame) { if (active == true) { x = ROUND(_root.Path["cp" + targetCP]._x - _x); y = ROUND(_root.Path["cp" + targetCP]._y - _y) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); if (LIFETIME >= SLOW_END) { speed = REG_speed; SLOW_END = 0; } else { if (i > 5) { while (_root["TWR" + m] != null) { m++; } _root.Effect_Z(_x, _y, m); m++; i = 0; } else { i++; } speed = SLOW_speed; } _x = (_x + (SIN((_rotation + 90) * PIE) * speed)); _y = (_y + ((COS((_rotation + 90) * PIE) * speed) * -1)); var XDIST = (_root.Path["cp" + targetCP]._x - _x); var YDIST = (_root.Path["cp" + targetCP]._y - _y); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) <= speed) { _x = _root.Path["cp" + targetCP]._x; _y = _root.Path["cp" + targetCP]._y; if (targetCP == 0) { _x = _root.Path.cp1._x; _y = _root.Path.cp1._y; targetCP++; } targetCP++; } if (targetCP > _root.numPts) { this.gotoAndStop(Math.ceil(_root.Wave / 7)); _x = initX; _y = initY; _root.Citizens = _root.Citizens - 1; if (_root.Citizens <= 0) { _root.play(); } HP = _root.Health; targetCP = 0; active = false; } } }
Instance of Symbol 424 MovieClip "p3" in Frame 38
onClipEvent (load) { var LIFETIME = 0; var SLOW_END = 0; var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _alpha = 100; var initX = _x; var initY = _y; var targetCP = 0; var active = false; var HP = _root.Health; var speed = 0; var REG_speed = _root.DefaultSpeed; var SLOW_speed = _root.SlowSpeed; var i = 0; var m = 10; var Boss = false; Death = function () { LIFETIME = 0; SLOW_END = 0; _root.Effect_Cash(Math.round(_root.DeathMoney), _x, _y); _x = initX; _y = initY; HP = _root.Health; targetCP = 0; active = false; _alpha = 100; _root.Money = _root.Money + Math.round(_root.DeathMoney); this.gotoAndStop(Math.ceil(_root.Wave / 7)); }; } onClipEvent (enterFrame) { if (active == true) { x = ROUND(_root.Path["cp" + targetCP]._x - _x); y = ROUND(_root.Path["cp" + targetCP]._y - _y) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); if (LIFETIME >= SLOW_END) { speed = REG_speed; SLOW_END = 0; } else { if (i > 5) { while (_root["TWR" + m] != null) { m++; } _root.Effect_Z(_x, _y, m); m++; i = 0; } else { i++; } speed = SLOW_speed; } _x = (_x + (SIN((_rotation + 90) * PIE) * speed)); _y = (_y + ((COS((_rotation + 90) * PIE) * speed) * -1)); var XDIST = (_root.Path["cp" + targetCP]._x - _x); var YDIST = (_root.Path["cp" + targetCP]._y - _y); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) <= speed) { _x = _root.Path["cp" + targetCP]._x; _y = _root.Path["cp" + targetCP]._y; if (targetCP == 0) { _x = _root.Path.cp1._x; _y = _root.Path.cp1._y; targetCP++; } targetCP++; } if (targetCP > _root.numPts) { this.gotoAndStop(Math.ceil(_root.Wave / 7)); _x = initX; _y = initY; _root.Citizens = _root.Citizens - 1; if (_root.Citizens <= 0) { _root.play(); } HP = _root.Health; targetCP = 0; active = false; } } }
Instance of Symbol 424 MovieClip "p4" in Frame 38
onClipEvent (load) { var LIFETIME = 0; var SLOW_END = 0; var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _alpha = 100; var initX = _x; var initY = _y; var targetCP = 0; var active = false; var HP = _root.Health; var speed = 0; var REG_speed = _root.DefaultSpeed; var SLOW_speed = _root.SlowSpeed; var i = 0; var m = 10; var Boss = false; Death = function () { LIFETIME = 0; SLOW_END = 0; _root.Effect_Cash(Math.round(_root.DeathMoney), _x, _y); _x = initX; _y = initY; HP = _root.Health; targetCP = 0; active = false; _alpha = 100; _root.Money = _root.Money + Math.round(_root.DeathMoney); this.gotoAndStop(Math.ceil(_root.Wave / 7)); }; } onClipEvent (enterFrame) { if (active == true) { x = ROUND(_root.Path["cp" + targetCP]._x - _x); y = ROUND(_root.Path["cp" + targetCP]._y - _y) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); if (LIFETIME >= SLOW_END) { speed = REG_speed; SLOW_END = 0; } else { if (i > 5) { while (_root["TWR" + m] != null) { m++; } _root.Effect_Z(_x, _y, m); m++; i = 0; } else { i++; } speed = SLOW_speed; } _x = (_x + (SIN((_rotation + 90) * PIE) * speed)); _y = (_y + ((COS((_rotation + 90) * PIE) * speed) * -1)); var XDIST = (_root.Path["cp" + targetCP]._x - _x); var YDIST = (_root.Path["cp" + targetCP]._y - _y); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) <= speed) { _x = _root.Path["cp" + targetCP]._x; _y = _root.Path["cp" + targetCP]._y; if (targetCP == 0) { _x = _root.Path.cp1._x; _y = _root.Path.cp1._y; targetCP++; } targetCP++; } if (targetCP > _root.numPts) { this.gotoAndStop(Math.ceil(_root.Wave / 7)); _x = initX; _y = initY; _root.Citizens = _root.Citizens - 1; if (_root.Citizens <= 0) { _root.play(); } HP = _root.Health; targetCP = 0; active = false; } } }
Instance of Symbol 424 MovieClip "p5" in Frame 38
onClipEvent (load) { var LIFETIME = 0; var SLOW_END = 0; var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _alpha = 100; var initX = _x; var initY = _y; var targetCP = 0; var active = false; var HP = _root.Health; var speed = 0; var REG_speed = _root.DefaultSpeed; var SLOW_speed = _root.SlowSpeed; var i = 0; var m = 10; var Boss = false; Death = function () { LIFETIME = 0; SLOW_END = 0; _root.Effect_Cash(Math.round(_root.DeathMoney), _x, _y); _x = initX; _y = initY; HP = _root.Health; targetCP = 0; active = false; _alpha = 100; _root.Money = _root.Money + Math.round(_root.DeathMoney); this.gotoAndStop(Math.ceil(_root.Wave / 7)); }; } onClipEvent (enterFrame) { if (active == true) { x = ROUND(_root.Path["cp" + targetCP]._x - _x); y = ROUND(_root.Path["cp" + targetCP]._y - _y) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); if (LIFETIME >= SLOW_END) { speed = REG_speed; SLOW_END = 0; } else { if (i > 5) { while (_root["TWR" + m] != null) { m++; } _root.Effect_Z(_x, _y, m); m++; i = 0; } else { i++; } speed = SLOW_speed; } _x = (_x + (SIN((_rotation + 90) * PIE) * speed)); _y = (_y + ((COS((_rotation + 90) * PIE) * speed) * -1)); var XDIST = (_root.Path["cp" + targetCP]._x - _x); var YDIST = (_root.Path["cp" + targetCP]._y - _y); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) <= speed) { _x = _root.Path["cp" + targetCP]._x; _y = _root.Path["cp" + targetCP]._y; if (targetCP == 0) { _x = _root.Path.cp1._x; _y = _root.Path.cp1._y; targetCP++; } targetCP++; } if (targetCP > _root.numPts) { this.gotoAndStop(Math.ceil(_root.Wave / 7)); _x = initX; _y = initY; _root.Citizens = _root.Citizens - 1; if (_root.Citizens <= 0) { _root.play(); } HP = _root.Health; targetCP = 0; active = false; } } }
Instance of Symbol 424 MovieClip "p6" in Frame 38
onClipEvent (load) { var LIFETIME = 0; var SLOW_END = 0; var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _alpha = 100; var initX = _x; var initY = _y; var targetCP = 0; var active = false; var HP = _root.Health; var speed = 0; var REG_speed = _root.DefaultSpeed; var SLOW_speed = _root.SlowSpeed; var i = 0; var m = 10; var Boss = false; Death = function () { LIFETIME = 0; SLOW_END = 0; _root.Effect_Cash(Math.round(_root.DeathMoney), _x, _y); _x = initX; _y = initY; HP = _root.Health; targetCP = 0; active = false; _alpha = 100; _root.Money = _root.Money + Math.round(_root.DeathMoney); this.gotoAndStop(Math.ceil(_root.Wave / 7)); }; } onClipEvent (enterFrame) { if (active == true) { x = ROUND(_root.Path["cp" + targetCP]._x - _x); y = ROUND(_root.Path["cp" + targetCP]._y - _y) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); if (LIFETIME >= SLOW_END) { speed = REG_speed; SLOW_END = 0; } else { if (i > 5) { while (_root["TWR" + m] != null) { m++; } _root.Effect_Z(_x, _y, m); m++; i = 0; } else { i++; } speed = SLOW_speed; } _x = (_x + (SIN((_rotation + 90) * PIE) * speed)); _y = (_y + ((COS((_rotation + 90) * PIE) * speed) * -1)); var XDIST = (_root.Path["cp" + targetCP]._x - _x); var YDIST = (_root.Path["cp" + targetCP]._y - _y); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) <= speed) { _x = _root.Path["cp" + targetCP]._x; _y = _root.Path["cp" + targetCP]._y; if (targetCP == 0) { _x = _root.Path.cp1._x; _y = _root.Path.cp1._y; targetCP++; } targetCP++; } if (targetCP > _root.numPts) { this.gotoAndStop(Math.ceil(_root.Wave / 7)); _x = initX; _y = initY; _root.Citizens = _root.Citizens - 1; if (_root.Citizens <= 0) { _root.play(); } HP = _root.Health; targetCP = 0; active = false; } } }
Instance of Symbol 424 MovieClip "p7" in Frame 38
onClipEvent (load) { var LIFETIME = 0; var SLOW_END = 0; var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _alpha = 100; var initX = _x; var initY = _y; var targetCP = 0; var active = false; var HP = _root.Health; var speed = 0; var REG_speed = _root.DefaultSpeed; var SLOW_speed = _root.SlowSpeed; var i = 0; var m = 10; var Boss = false; Death = function () { LIFETIME = 0; SLOW_END = 0; _root.Effect_Cash(Math.round(_root.DeathMoney), _x, _y); _x = initX; _y = initY; HP = _root.Health; targetCP = 0; active = false; _alpha = 100; _root.Money = _root.Money + Math.round(_root.DeathMoney); this.gotoAndStop(Math.ceil(_root.Wave / 7)); }; } onClipEvent (enterFrame) { if (active == true) { x = ROUND(_root.Path["cp" + targetCP]._x - _x); y = ROUND(_root.Path["cp" + targetCP]._y - _y) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); if (LIFETIME >= SLOW_END) { speed = REG_speed; SLOW_END = 0; } else { if (i > 5) { while (_root["TWR" + m] != null) { m++; } _root.Effect_Z(_x, _y, m); m++; i = 0; } else { i++; } speed = SLOW_speed; } _x = (_x + (SIN((_rotation + 90) * PIE) * speed)); _y = (_y + ((COS((_rotation + 90) * PIE) * speed) * -1)); var XDIST = (_root.Path["cp" + targetCP]._x - _x); var YDIST = (_root.Path["cp" + targetCP]._y - _y); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) <= speed) { _x = _root.Path["cp" + targetCP]._x; _y = _root.Path["cp" + targetCP]._y; if (targetCP == 0) { _x = _root.Path.cp1._x; _y = _root.Path.cp1._y; targetCP++; } targetCP++; } if (targetCP > _root.numPts) { this.gotoAndStop(Math.ceil(_root.Wave / 7)); _x = initX; _y = initY; _root.Citizens = _root.Citizens - 1; if (_root.Citizens <= 0) { _root.play(); } HP = _root.Health; targetCP = 0; active = false; } } }
Instance of Symbol 424 MovieClip "p8" in Frame 38
onClipEvent (load) { var LIFETIME = 0; var SLOW_END = 0; var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _alpha = 100; var initX = _x; var initY = _y; var targetCP = 0; var active = false; var HP = _root.Health; var speed = 0; var REG_speed = _root.DefaultSpeed; var SLOW_speed = _root.SlowSpeed; var i = 0; var m = 10; var Boss = false; Death = function () { LIFETIME = 0; SLOW_END = 0; _root.Effect_Cash(Math.round(_root.DeathMoney), _x, _y); _x = initX; _y = initY; HP = _root.Health; targetCP = 0; active = false; _alpha = 100; _root.Money = _root.Money + Math.round(_root.DeathMoney); this.gotoAndStop(Math.ceil(_root.Wave / 7)); }; } onClipEvent (enterFrame) { if (active == true) { x = ROUND(_root.Path["cp" + targetCP]._x - _x); y = ROUND(_root.Path["cp" + targetCP]._y - _y) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); if (LIFETIME >= SLOW_END) { speed = REG_speed; SLOW_END = 0; } else { if (i > 5) { while (_root["TWR" + m] != null) { m++; } _root.Effect_Z(_x, _y, m); m++; i = 0; } else { i++; } speed = SLOW_speed; } _x = (_x + (SIN((_rotation + 90) * PIE) * speed)); _y = (_y + ((COS((_rotation + 90) * PIE) * speed) * -1)); var XDIST = (_root.Path["cp" + targetCP]._x - _x); var YDIST = (_root.Path["cp" + targetCP]._y - _y); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) <= speed) { _x = _root.Path["cp" + targetCP]._x; _y = _root.Path["cp" + targetCP]._y; if (targetCP == 0) { _x = _root.Path.cp1._x; _y = _root.Path.cp1._y; targetCP++; } targetCP++; } if (targetCP > _root.numPts) { this.gotoAndStop(Math.ceil(_root.Wave / 7)); _x = initX; _y = initY; _root.Citizens = _root.Citizens - 1; if (_root.Citizens <= 0) { _root.play(); } HP = _root.Health; targetCP = 0; active = false; } } }
Instance of Symbol 424 MovieClip "p9" in Frame 38
onClipEvent (load) { var LIFETIME = 0; var SLOW_END = 0; var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _alpha = 100; var initX = _x; var initY = _y; var targetCP = 0; var active = false; var HP = _root.Health; var speed = 0; var REG_speed = _root.DefaultSpeed; var SLOW_speed = _root.SlowSpeed; var i = 0; var m = 10; var Boss = false; Death = function () { LIFETIME = 0; SLOW_END = 0; _root.Effect_Cash(Math.round(_root.DeathMoney), _x, _y); _x = initX; _y = initY; HP = _root.Health; targetCP = 0; active = false; _alpha = 100; _root.Money = _root.Money + Math.round(_root.DeathMoney); this.gotoAndStop(Math.ceil(_root.Wave / 7)); }; } onClipEvent (enterFrame) { if (active == true) { x = ROUND(_root.Path["cp" + targetCP]._x - _x); y = ROUND(_root.Path["cp" + targetCP]._y - _y) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); if (LIFETIME >= SLOW_END) { speed = REG_speed; SLOW_END = 0; } else { if (i > 5) { while (_root["TWR" + m] != null) { m++; } _root.Effect_Z(_x, _y, m); m++; i = 0; } else { i++; } speed = SLOW_speed; } _x = (_x + (SIN((_rotation + 90) * PIE) * speed)); _y = (_y + ((COS((_rotation + 90) * PIE) * speed) * -1)); var XDIST = (_root.Path["cp" + targetCP]._x - _x); var YDIST = (_root.Path["cp" + targetCP]._y - _y); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) <= speed) { _x = _root.Path["cp" + targetCP]._x; _y = _root.Path["cp" + targetCP]._y; if (targetCP == 0) { _x = _root.Path.cp1._x; _y = _root.Path.cp1._y; targetCP++; } targetCP++; } if (targetCP > _root.numPts) { this.gotoAndStop(Math.ceil(_root.Wave / 7)); _x = initX; _y = initY; _root.Citizens = _root.Citizens - 1; if (_root.Citizens <= 0) { _root.play(); } HP = _root.Health; targetCP = 0; active = false; } } }
Instance of Symbol 424 MovieClip "p10" in Frame 38
onClipEvent (load) { var LIFETIME = 0; var SLOW_END = 0; var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _alpha = 100; var initX = _x; var initY = _y; var targetCP = 0; var active = false; var HP = _root.Health; var speed = 0; var REG_speed = _root.DefaultSpeed; var SLOW_speed = _root.SlowSpeed; var i = 0; var m = 10; var Boss = false; Death = function () { LIFETIME = 0; SLOW_END = 0; _root.Effect_Cash(Math.round(_root.DeathMoney), _x, _y); _x = initX; _y = initY; HP = _root.Health; targetCP = 0; active = false; _alpha = 100; _root.Money = _root.Money + Math.round(_root.DeathMoney); this.gotoAndStop(Math.ceil(_root.Wave / 7)); }; } onClipEvent (enterFrame) { if (active == true) { x = ROUND(_root.Path["cp" + targetCP]._x - _x); y = ROUND(_root.Path["cp" + targetCP]._y - _y) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); if (LIFETIME >= SLOW_END) { speed = REG_speed; SLOW_END = 0; } else { if (i > 5) { while (_root["TWR" + m] != null) { m++; } _root.Effect_Z(_x, _y, m); m++; i = 0; } else { i++; } speed = SLOW_speed; } _x = (_x + (SIN((_rotation + 90) * PIE) * speed)); _y = (_y + ((COS((_rotation + 90) * PIE) * speed) * -1)); var XDIST = (_root.Path["cp" + targetCP]._x - _x); var YDIST = (_root.Path["cp" + targetCP]._y - _y); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) <= speed) { _x = _root.Path["cp" + targetCP]._x; _y = _root.Path["cp" + targetCP]._y; if (targetCP == 0) { _x = _root.Path.cp1._x; _y = _root.Path.cp1._y; targetCP++; } targetCP++; } if (targetCP > _root.numPts) { this.gotoAndStop(Math.ceil(_root.Wave / 7)); _x = initX; _y = initY; _root.Citizens = _root.Citizens - 1; if (_root.Citizens <= 0) { _root.play(); } HP = _root.Health; targetCP = 0; active = false; } } }
Instance of Symbol 455 MovieClip "ToolTip" in Frame 38
onClipEvent (load) { this.swapDepths(1E18); GetValues = function (SEL) { NowName.text = _root["twr" + SEL].Tower.NAME; NowDmg.text = _root["twr" + SEL].Tower.DMG; NowRng.text = _root["twr" + SEL].Tower.RNG; NewName.text = "Required Level: " + _root["twr" + SEL].Tower.REQUIRE; NewDmg.text = _root["twr" + SEL].Tower.DMG_NEXT; NewRng.text = _root["twr" + SEL].Tower.RNG_NEXT; NewCost.text = _root["twr" + SEL].Tower.COST_NEXT; }; stop(); }
Instance of Symbol 457 MovieClip "Loop" in Frame 38
onClipEvent (load) { var subtimer = 0; var Pause = false; } onClipEvent (keyDown) { } onClipEvent (enterFrame) { if (Pause == false) { subtimer = subtimer + 1; } if (subtimer >= 30) { if (_root.Money == undefined) { _root.error._visible = true; _root.Money = -100; } _root.Time = _root.Time - 1; _root.TheTime++; subtimer = 0; i = 1; while (i <= 10) { _root["p" + i].LIFETIME++; i++; } } if (_root.Time <= 0) { _root.Wave = _root.Wave + 1; _root.Time = 40; _root.stopDrag(); if ((((((((((((((((_root.Wave == 7) || (_root.Wave == 14)) || (_root.Wave == 21)) || (_root.Wave == 28)) || (_root.Wave == 35)) || (_root.Wave == 42)) || (_root.Wave == 49)) || (_root.Wave == 56)) || (_root.Wave == 63)) || (_root.Wave == 70)) || (_root.Wave == 77)) || (_root.Wave == 84)) || (_root.Wave == 91)) || (_root.Wave == 98)) || (_root.Wave == 105)) || (_root.Wave == 112)) { _root.BOSS = true; } else { _root.BOSS = false; } if (_root.BOSS == true) { _root.Health = (0.03 * Math.pow(_root.Wave + 2, 2.65)) * 5; _root.DeathMoney = (0.16 * Math.pow(_root.Wave + 3, 1.2)) * 30; _root.p1.HP = _root.Health; _root.p1.active = true; _root.p1._xscale = (_root.p1._yscale = 200); _root.BOSS = false; } else { _root.Health = 0.03 * Math.pow(_root.Wave + 2, 2.65); _root.DeathMoney = (0.08 * Math.pow(_root.Wave, 1.2)) + 1; i = 1; while (i <= 10) { _root["p" + i].HP = _root.Health; _root["p" + i].active = true; _root.p1._xscale = (_root.p1._yscale = 100); i++; } } } }
Instance of Symbol 463 MovieClip "error" in Frame 38
onClipEvent (load) { _visible = false; }
Frame 39
Score.text = ("You Scored " + _root.Wave) + "."; gotoAndStop (5);
Frame 40
stop();
Frame 41
gotoAndPlay (40);
Frame 42
_root.stopAllSounds();
Symbol 7 MovieClip [Water_Hit] Frame 3
this.removeMovieClip();
Symbol 10 MovieClip [Wind_Hit] Frame 3
this.removeMovieClip();
Symbol 13 MovieClip [Fire_Hit] Frame 3
this.removeMovieClip();
Symbol 16 MovieClip [Earth_Hit] Frame 3
this.removeMovieClip();
Symbol 20 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 33 MovieClip [Earth_Tower] Frame 1
NAME = "Lil Gecko"; COST = 20; DMG = 2; RNG = 110; COST_NEXT = 30; DMG_NEXT = 4; RNG_NEXT = 180; DEL = 1; SPD = 3; REQUIRE = 0; stop();
Instance of Symbol 22 MovieClip "Arrow" in Symbol 33 MovieClip [Earth_Tower] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _y = 0; _x = 0; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Instance of Symbol 23 MovieClip "Ball" in Symbol 33 MovieClip [Earth_Tower] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k >= 0) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Earth", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } k = 0; } else { k++; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; myAtkTime = _root.TheTime + _parent.DEL; } } } }
Symbol 33 MovieClip [Earth_Tower] Frame 3
NAME = "Gecko Jr."; COST = 30; DMG = 4; RNG = 110; COST_NEXT = 60; DMG_NEXT = 12; RNG_NEXT = 180; DEL = 0; SPD = 3; REQUIRE = 10; Arrow._x = (Arrow._y = -6); stop();
Instance of Symbol 22 MovieClip "Arrow" in Symbol 33 MovieClip [Earth_Tower] Frame 3
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _y = -1; _x = -1; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Symbol 33 MovieClip [Earth_Tower] Frame 5
NAME = "Gecko"; COST = 60; DMG = 12; RNG = 110; COST_NEXT = 120; DMG_NEXT = 48; RNG_NEXT = 180; DEL = 0; SPD = 3; REQUIRE = 15; Arrow._x = (Arrow._y = -7); stop();
Instance of Symbol 22 MovieClip "Arrow" in Symbol 33 MovieClip [Earth_Tower] Frame 5
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _y = -2; _x = -2; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Symbol 33 MovieClip [Earth_Tower] Frame 7
NAME = "Gecko Sr."; COST = 120; DMG = 48; RNG = 110; COST_NEXT = 240; DMG_NEXT = 240; RNG_NEXT = 180; DEL = 0; SPD = 3; REQUIRE = 30; Arrow._x = (Arrow._y = -8); stop();
Instance of Symbol 22 MovieClip "Arrow" in Symbol 33 MovieClip [Earth_Tower] Frame 7
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _y = -3; _x = -3; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Symbol 33 MovieClip [Earth_Tower] Frame 9
NAME = "Great Gecko"; COST = 240; DMG = 240; RNG = 110; COST_NEXT = 880; DMG_NEXT = 1440; RNG_NEXT = 200; DEL = 0; SPD = 3; REQUIRE = 44; Arrow._x = (Arrow._y = -9); stop();
Instance of Symbol 22 MovieClip "Arrow" in Symbol 33 MovieClip [Earth_Tower] Frame 9
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _y = -4; _x = -4; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Symbol 33 MovieClip [Earth_Tower] Frame 11
NAME = "Elder Gecko"; COST = 880; DMG = 1440; RNG = 160; COST_NEXT = 2120; DMG_NEXT = 10080; RNG_NEXT = 200; DEL = 0; SPD = 3; REQUIRE = 70; Arrow._x = (Arrow._y = -10); stop();
Instance of Symbol 22 MovieClip "Arrow" in Symbol 33 MovieClip [Earth_Tower] Frame 11
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _y = -5; _x = -5; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Symbol 33 MovieClip [Earth_Tower] Frame 13
NAME = "Enchanted Gecko"; COST = 2120; DMG = 10080; RNG = 160; COST_NEXT = 20000; DMG_NEXT = 80640 /* 0x013B00 */; RNG_NEXT = 200; DEL = 0; SPD = 3; REQUIRE = 90; Arrow._x = (Arrow._y = -11); stop();
Instance of Symbol 22 MovieClip "Arrow" in Symbol 33 MovieClip [Earth_Tower] Frame 13
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _y = -6; _x = -6; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Symbol 33 MovieClip [Earth_Tower] Frame 15
NAME = "Mystical Gecko"; COST = 20000; DMG = 80640 /* 0x013B00 */; RNG = 170; COST_NEXT = "---"; DMG_NEXT = "---"; RNG_NEXT = "---"; DEL = 0; SPD = 3; REQUIRE = Infinity; Arrow._x = (Arrow._y = -12); stop();
Instance of Symbol 22 MovieClip "Arrow" in Symbol 33 MovieClip [Earth_Tower] Frame 15
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _y = -7; _x = -7; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Symbol 33 MovieClip [Earth_Tower] Frame 16
gotoAndStop (15); _root.txtMsg = "No Further Upgrades Available";
Instance of Symbol 33 MovieClip [Earth_Tower] "Tower" in Symbol 34 MovieClip [3_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= RNG) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = (Ball._y = 0); } recDist = _local3; } else { Ball.attack = false; Ball._x = (Ball._y = 0); } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { pickNewTarget(); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Symbol 36 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 41 MovieClip [Wind_Tower] Frame 1
NAME = "Hand Fan"; COST = 30; DMG = 2; RNG = 100; COST_NEXT = 50; DMG_NEXT = 4; RNG_NEXT = 180; SPD = 4; REQUIRE = 0; stop();
Instance of Symbol 38 MovieClip "Arrow" in Symbol 41 MovieClip [Wind_Tower] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Instance of Symbol 40 MovieClip "Ball" in Symbol 41 MovieClip [Wind_Tower] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; } onClipEvent (enterFrame) { if (attack == true) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Wind", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; } } }
Symbol 41 MovieClip [Wind_Tower] Frame 3
NAME = "Electric Fan"; COST = 50; DMG = 4; RNG = 110; COST_NEXT = 100; DMG_NEXT = 6; RNG_NEXT = 200; SPD = 5; REQUIRE = 3; stop();
Symbol 41 MovieClip [Wind_Tower] Frame 5
NAME = "Wind Mill"; COST = 100; DMG = 6; RNG = 120; COST_NEXT = 250; DMG_NEXT = 10; RNG_NEXT = 200; SPD = 5; REQUIRE = 3; stop();
Symbol 41 MovieClip [Wind_Tower] Frame 7
NAME = "Wind Generator"; COST = 250; DMG = 10; RNG = 130; COST_NEXT = 500; DMG_NEXT = 14; RNG_NEXT = 200; SPD = 6; REQUIRE = 3; stop();
Symbol 41 MovieClip [Wind_Tower] Frame 9
NAME = "Wind Tunnel"; COST = 500; DMG = 14; RNG = 130; COST_NEXT = 1800; DMG_NEXT = 20; RNG_NEXT = 200; SPD = 7; REQUIRE = 6; stop();
Symbol 41 MovieClip [Wind_Tower] Frame 11
NAME = "Twister Generator"; COST = 1800; DMG = 20; RNG = 150; COST_NEXT = 4100; DMG_NEXT = 25; RNG_NEXT = 200; SPD = 8; REQUIRE = 40; stop();
Symbol 41 MovieClip [Wind_Tower] Frame 13
NAME = "Tornado Generator"; COST = 4100; DMG = 25; RNG = 160; COST_NEXT = 20500; DMG_NEXT = 40; RNG_NEXT = 200; SPD = 9; REQUIRE = 45; stop();
Symbol 41 MovieClip [Wind_Tower] Frame 15
NAME = "Hurricane Generator"; COST = 20500; DMG = 40; RNG = 160; COST_NEXT = "---"; DMG_NEXT = "---"; RNG_NEXT = "---"; SPD = 10; REQUIRE = Infinity; stop();
Symbol 41 MovieClip [Wind_Tower] Frame 16
gotoAndStop (15); _root.txtMsg.text = "No Further Upgrades Available";
Instance of Symbol 41 MovieClip [Wind_Tower] "Tower" in Symbol 42 MovieClip [4_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= RNG) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = (Ball._y = 0); } recDist = _local3; } else { Ball.attack = false; Ball._x = (Ball._y = 0); } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { pickNewTarget(); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Symbol 45 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 50 MovieClip [Water_Tower] Frame 1
NAME = "Faucet"; COST = 30; DMG = 3; RNG = 150; DEL = 0; COST_NEXT = 50; DMG_NEXT = 6; RNG_NEXT = 210; SPD = 3; REQUIRE = 0; stop();
Instance of Symbol 47 MovieClip "Arrow" in Symbol 50 MovieClip [Water_Tower] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Instance of Symbol 48 MovieClip "Ball" in Symbol 50 MovieClip [Water_Tower] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k >= 0) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Water", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } k = 0; } else { k++; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; myAtkTime = _root.TheTime + _parent.DEL; } } } }
Symbol 50 MovieClip [Water_Tower] Frame 3
NAME = "Garden Hose"; COST = 50; DMG = 6; RNG = 160; COST_NEXT = 100; DMG_NEXT = 18; RNG_NEXT = 210; SPD = 3; REQUIRE = 8; stop();
Symbol 50 MovieClip [Water_Tower] Frame 5
NAME = "Fire Hydrant"; COST = 100; DMG = 18; RNG = 165; COST_NEXT = 180; DMG_NEXT = 72; RNG_NEXT = 210; SPD = 3; REQUIRE = 30; stop();
Symbol 50 MovieClip [Water_Tower] Frame 7
NAME = "Fire Station"; COST = 180; DMG = 72; RNG = 170; COST_NEXT = 350; DMG_NEXT = 360; RNG_NEXT = 220; SPD = 3; REQUIRE = 45; stop();
Symbol 50 MovieClip [Water_Tower] Frame 9
NAME = "Water Plant"; COST = 350; DMG = 360; RNG = 180; COST_NEXT = 1700; DMG_NEXT = 2160; RNG_NEXT = 230; SPD = 3; REQUIRE = 60; stop();
Symbol 50 MovieClip [Water_Tower] Frame 11
NAME = "Water Plant"; COST = 1700; DMG = 2160; RNG = 182; COST_NEXT = 5000; DMG_NEXT = 15120; RNG_NEXT = 240; SPD = 3; REQUIRE = 80; stop();
Symbol 50 MovieClip [Water_Tower] Frame 13
NAME = "Water Plant"; COST = 5000; DMG = 15120; RNG = 185; COST_NEXT = 30000; DMG_NEXT = 120960 /* 0x01D880 */; RNG_NEXT = 260; SPD = 3; REQUIRE = 120; stop();
Symbol 50 MovieClip [Water_Tower] Frame 15
NAME = "Toxic Dump"; COST = 30000; DMG = 120960 /* 0x01D880 */; RNG = 185; COST_NEXT = 200000 /* 0x030D40 */; DMG_NEXT = 1000000 /* 0x0F4240 */; RNG_NEXT = 400; SPD = 3; REQUIRE = 160; stop();
Symbol 50 MovieClip [Water_Tower] Frame 17
NAME = "UltraToxic Waste"; COST = 200000 /* 0x030D40 */; DMG = 1000000 /* 0x0F4240 */; RNG = 300; COST_NEXT = "---"; DMG_NEXT = "---"; RNG_NEXT = "---"; SPD = 3; REQUIRE = Infinity; stop();
Symbol 50 MovieClip [Water_Tower] Frame 18
gotoAndStop (17); _root.txtMsg = "No Further Upgrades Available";
Instance of Symbol 50 MovieClip [Water_Tower] "Tower" in Symbol 51 MovieClip [2_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= RNG) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = (Ball._y = 0); } recDist = _local3; } else { Ball.attack = false; Ball._x = (Ball._y = 0); } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { pickNewTarget(); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Symbol 55 Button
on (press) { _root.Effect_Poof(this._x, this._y); i = 1; while (i < 11) { var XDIST = (this._x - _root["p" + i]._x); var YDIST = (this._y - _root["p" + i]._y); if (Math.round(Math.sqrt((XDIST * XDIST) + (YDIST * YDIST))) <= 70) { _root["p" + i].HP = _root["p" + i].HP - 100; _root["p" + i]._alpha = (_root["p" + i].HP / _root.Health) * 100; if (_root["p" + i].HP <= 0) { _root["p" + i].Death(); } } i++; } this.removeMovieClip(); }
Symbol 56 MovieClip [14_TWR] Frame 5
stop();
Symbol 59 Button
on (press) { _root.Effect_Poof(this._x, this._y); i = 1; while (i < 11) { var XDIST = (this._x - _root["p" + i]._x); var YDIST = (this._y - _root["p" + i]._y); if (Math.round(Math.sqrt((XDIST * XDIST) + (YDIST * YDIST))) <= 70) { _root["p" + i].HP = _root["p" + i].HP - 1000; _root["p" + i]._alpha = (_root["p" + i].HP / _root.Health) * 100; if (_root["p" + i].HP <= 0) { _root["p" + i].Death(); } } i++; } this.removeMovieClip(); }
Symbol 60 MovieClip [15_TWR] Frame 5
stop();
Symbol 63 Button
on (press) { _root.Effect_Poof(this._x, this._y); i = 1; while (i < 11) { var XDIST = (this._x - _root["p" + i]._x); var YDIST = (this._y - _root["p" + i]._y); if (Math.round(Math.sqrt((XDIST * XDIST) + (YDIST * YDIST))) <= 70) { _root["p" + i].HP = _root["p" + i].HP - 10; _root["p" + i]._alpha = (_root["p" + i].HP / _root.Health) * 100; if (_root["p" + i].HP <= 0) { _root["p" + i].Death(); } } i++; } this.removeMovieClip(); }
Symbol 64 MovieClip [13_TWR] Frame 5
stop();
Symbol 66 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 70 MovieClip Frame 1
NAME = "Death [Ultimate Chance]"; COST = 1000; DMG = 1000; RNG = 130; COST_NEXT = "---"; DMG_NEXT = "---"; RNG_NEXT = "---"; SPD = 3; REQUIRE = Infinity; stop();
Instance of Symbol 68 MovieClip "Arrow" in Symbol 70 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } rotation = angle * -1; }
Instance of Symbol 69 MovieClip "Ball" in Symbol 70 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k >= 0) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Death", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } k = 0; } else { k++; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; myAtkTime = _root.TheTime + _parent.DEL; } } } }
Instance of Symbol 70 MovieClip "Tower" in Symbol 71 MovieClip [8_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= RNG) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = (Ball._y = 0); } recDist = _local3; } else { Ball.attack = false; Ball._x = (Ball._y = 0); } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { pickNewTarget(); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Symbol 74 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 79 MovieClip Frame 1
NAME = "Biohazard [Follower]"; COST = 1000; DMG = 70; RNG = 100; DEL = 1; COST_NEXT = "---"; DMG_NEXT = "---"; RNG_NEXT = "---"; SPD = 3; REQUIRE = Infinity; stop();
Instance of Symbol 76 MovieClip "Arrow" in Symbol 79 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Instance of Symbol 77 MovieClip "Ball" in Symbol 79 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k >= 0) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Ult", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } k = 0; } else { k++; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; myAtkTime = _root.TheTime + _parent.DEL; } } } }
Instance of Symbol 79 MovieClip "Tower" in Symbol 80 MovieClip [9_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= 800) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = (Ball._y = 0); } recDist = _local3; } else { Ball.attack = false; Ball._x = (Ball._y = 0); } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { Arrow._rotation = Arrow.angle * -1; _parent._x = _parent._x + (SIN((Arrow._rotation + 90) * PIE) * 2); _parent._y = _parent._y + ((COS((Arrow._rotation + 90) * PIE) * 2) * -1); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Symbol 82 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 86 MovieClip Frame 1
NAME = "Godly Tower"; COST = 300000000 /* 0x11E1A300 */; DMG = 99999999999; RNG = 220; COST_NEXT = "---"; DMG_NEXT = "---"; RNG_NEXT = "---"; SPD = 3; REQUIRE = Infinity; stop();
Instance of Symbol 84 MovieClip "Arrow" in Symbol 86 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Instance of Symbol 85 MovieClip "Ball" in Symbol 86 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var ele = 2; var s = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); rotation = _parent.Arrow.angle * -1; if ((rotation < 90) && (rotation >= -90)) { _parent.DMG = 100000 /* 0x0186A0 */; ele = 1; } else { _parent.DMG = 10000; ele = 2; } _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k > 1) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } s = o + 1; while ((_root["eff" + s] != null) && (_root["twr" + s] != null)) { s++; } if (ele == 1) { _root.attachMovie("Particle_S2", "eff" + o, o); _root.attachMovie("Particle_S", "eff" + s, s); } else { _root.attachMovie("Particle_r2", "eff" + o, o); _root.attachMovie("Particle_r", "eff" + s, s); } _root["eff" + s]._x = _parent._parent._x + _x; _root["eff" + s]._y = _parent._parent._y + _y; _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; s++; k = 0; if (o > 100) { o = 0; } } else { k++; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; myAtkTime = _root.TheTime + _parent.DEL; } } } }
Instance of Symbol 86 MovieClip "Tower" in Symbol 87 MovieClip [12_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= RNG) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = (Ball._y = 0); } recDist = _local3; } else { Ball.attack = false; Ball._x = (Ball._y = 0); } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { pickNewTarget(); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Symbol 90 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 94 MovieClip Frame 1
NAME = "Ultimate-1"; COST = 1000; DMG = 400; RNG = 200; DEL = 3; COST_NEXT = 2000; DMG_NEXT = 2000; RNG_NEXT = 210; SPD = 3; REQUIRE = 50; stop();
Instance of Symbol 92 MovieClip "Arrow" in Symbol 94 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Instance of Symbol 93 MovieClip "Ball" in Symbol 94 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k >= 0) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Ult", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } k = 0; } else { k++; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; myAtkTime = _root.TheTime + _parent.DEL; } } } }
Symbol 94 MovieClip Frame 3
NAME = "Ultimate-2"; COST = 2000; DMG = 1000; RNG = 210; DEL = 2; COST_NEXT = 4000; DMG_NEXT = 6000; RNG_NEXT = 220; SPD = 3; REQUIRE = 70; Arrow._x = (Arrow._y = -6); stop();
Symbol 94 MovieClip Frame 5
NAME = "Ultimate-3"; COST = 4000; DMG = 3000; RNG = 220; DEL = 2; COST_NEXT = 6000; DMG_NEXT = 24000; RNG_NEXT = 220; SPD = 3; REQUIRE = 80; Arrow._x = (Arrow._y = -7); stop();
Symbol 94 MovieClip Frame 7
NAME = "Ultimate-4"; COST = 6000; DMG = 10000; RNG = 220; DEL = 2; COST_NEXT = 9000; DMG_NEXT = 120000 /* 0x01D4C0 */; RNG_NEXT = 220; SPD = 3; REQUIRE = 85; Arrow._x = (Arrow._y = -8); stop();
Symbol 94 MovieClip Frame 9
NAME = "Ultimate-5"; COST = 9000; DMG = 60000; RNG = 220; DEL = 2; COST_NEXT = 15000; DMG_NEXT = 720000 /* 0x0AFC80 */; RNG_NEXT = 230; SPD = 3; REQUIRE = 150; Arrow._x = (Arrow._y = -9); stop();
Symbol 94 MovieClip Frame 11
NAME = "Ultimate6"; COST = 15000; DMG = 90000 /* 0x015F90 */; RNG = 230; DEL = 2; COST_NEXT = "---"; DMG_NEXT = "---"; RNG_NEXT = "---"; SPD = 3; REQUIRE = Infinity; Arrow._x = (Arrow._y = -10); stop();
Symbol 94 MovieClip Frame 12
gotoAndStop (11); _root.txtMsg.text = "No Further Upgrades Available";
Instance of Symbol 94 MovieClip "Tower" in Symbol 95 MovieClip [5_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= RNG) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = (Ball._y = 0); } recDist = _local3; } else { Ball.attack = false; Ball._x = (Ball._y = 0); } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { pickNewTarget(); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Symbol 99 MovieClip [Effect_PlusMoney] Frame 1
txtCash.text = ["+ $" + Cash];
Symbol 99 MovieClip [Effect_PlusMoney] Frame 30
this.removeMovieClip();
Symbol 101 MovieClip Frame 30
stop();
Instance of Symbol 101 MovieClip in Symbol 102 MovieClip [Effect_Dust] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); }
Instance of Symbol 101 MovieClip in Symbol 102 MovieClip [Effect_Dust] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); }
Instance of Symbol 101 MovieClip in Symbol 102 MovieClip [Effect_Dust] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); }
Instance of Symbol 101 MovieClip in Symbol 102 MovieClip [Effect_Dust] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); }
Instance of Symbol 101 MovieClip in Symbol 102 MovieClip [Effect_Dust] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); }
Instance of Symbol 101 MovieClip in Symbol 102 MovieClip [Effect_Dust] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); }
Symbol 102 MovieClip [Effect_Dust] Frame 30
this.removeMovieClip();
Symbol 108 MovieClip Frame 30
_parent.removeMovieClip();
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip [Particle_Fire] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 1); if (allowAlpha) { _alpha = (_alpha * 0.97); if (_alpha < minSize) { _parent.removeMovieClip(); } } else { _yscale = (_yscale * 0.94); _xscale = (_yscale * 0.94); if (_xscale < minSize) { _parent.removeMovieClip(); } } }
Instance of Symbol 111 MovieClip in Symbol 112 MovieClip [Particle_Water] Frame 1
onClipEvent (load) { _yscale = ((Math.random() * 50) + 50); _xscale = ((Math.random() * 50) + 50); _rotation = ((Math.random() * 50) + 50); minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 2); _yscale = (_yscale * 0.97); _xscale = (_yscale * 0.97); if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Instance of Symbol 114 MovieClip in Symbol 115 MovieClip [Particle_Z] Frame 1
onClipEvent (load) { minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _yscale = (_yscale * 0.9); _xscale = (_yscale * 0.9); _x = (_x+1); if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Instance of Symbol 117 MovieClip in Symbol 118 MovieClip [Particle_Cash] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); minSize = _root.minSize; var XS = ((Math.random() * 10) - 5); var YS = ((Math.random() * 10) - 5); allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 2); _yscale = (_yscale * 0.95); _xscale = (_yscale * 0.95); _parent._x = _parent._x + XS; _parent._y = _parent._y + YS; if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Instance of Symbol 120 MovieClip in Symbol 121 MovieClip [Particle_Needle] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 2); _yscale = (_yscale * 0.95); _xscale = (_yscale * 0.95); if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Instance of Symbol 123 MovieClip in Symbol 124 MovieClip [Particle_Earth] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 2); _yscale = (_yscale * 0.95); _xscale = (_yscale * 0.95); if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Instance of Symbol 126 MovieClip in Symbol 127 MovieClip [Particle_r2] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 2); _yscale = (_yscale * 0.98); _xscale = (_yscale * 0.98); if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Instance of Symbol 129 MovieClip in Symbol 130 MovieClip [Particle_r] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 2); _yscale = (_yscale * 0.98); _xscale = (_yscale * 0.98); if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Instance of Symbol 132 MovieClip in Symbol 133 MovieClip [Particle_S2] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 2); _yscale = (_yscale * 0.98); _xscale = (_yscale * 0.98); if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip [Particle_S] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 2); _yscale = (_yscale * 0.98); _xscale = (_yscale * 0.98); if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Instance of Symbol 138 MovieClip in Symbol 139 MovieClip [Particle_Ult] Frame 1
onClipEvent (load) { _rotation = (Math.random() * 360); minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 2); _yscale = (_yscale * 0.98); _xscale = (_yscale * 0.98); if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Instance of Symbol 141 MovieClip in Symbol 142 MovieClip [Particle_Wind] Frame 1
onClipEvent (load) { minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 30); _yscale = (_yscale * 0.95); _xscale = (_yscale * 0.95); if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip [Particle_Grass] Frame 1
onClipEvent (load) { this._rotation = Math.random() * 360; }
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip [Particle_Grass] Frame 1
onClipEvent (load) { this._rotation = Math.random() * 360; }
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip [Particle_Grass] Frame 1
onClipEvent (load) { this._rotation = Math.random() * 360; }
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip [Particle_Grass] Frame 1
onClipEvent (load) { this._rotation = Math.random() * 360; }
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip [Particle_Grass] Frame 1
onClipEvent (load) { this._rotation = Math.random() * 360; }
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip [Particle_Grass] Frame 1
onClipEvent (load) { this._rotation = Math.random() * 360; }
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip [Particle_Grass] Frame 1
onClipEvent (load) { this._rotation = Math.random() * 360; }
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip [Particle_Grass] Frame 1
onClipEvent (load) { this._rotation = Math.random() * 360; }
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip [Particle_Grass] Frame 1
onClipEvent (load) { this._rotation = Math.random() * 360; }
Symbol 145 MovieClip [Particle_Grass] Frame 30
this.removeMovieClip();
Symbol 147 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 152 MovieClip Frame 1
var NAME = "Mixed Tower"; var COST = 1000; var DMG = 1; var nDMG = 0; var RNG = 160; var COST_NEXT = 1900; var DMG_NEXT = 2; var RNG_NEXT = 210; var SPD = 3; var REQUIRE = 0; stop();
Instance of Symbol 149 MovieClip "Arrow" in Symbol 152 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k >= 0) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Water", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } k = 0; } else { k++; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; myAtkTime = _root.TheTime + _parent.DEL; } } } }
Instance of Symbol 150 MovieClip "Ball" in Symbol 152 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } var rotation = (angle * -1); while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } if (ele == 1) { _root.attachMovie("Particle_Water", "eff" + o, o); } else if (ele == 2) { _root.attachMovie("Particle_Wind", "eff" + o, o); } else if (ele == 3) { _root.attachMovie("Particle_Fire", "eff" + o, o); } else if (ele == 4) { _root.attachMovie("Particle_Earth", "eff" + o, o); } _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } _x = (_x + (SIN((rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); _root.sniperLine.clear(); _root.sniperLine.moveTo(_root["p" + _parent.Target]._x, _root["p" + _parent.Target]._y); _root.sniperLine.lineTo(_parent._parent._x, _parent._parent._y); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; myAtkTime = _root.TheTime + _parent.DEL; } } } }
Symbol 152 MovieClip Frame 3
var NAME = "Enhanced Mixed Tower"; var COST = 1500; var DMG = 2; var RNG = 170; var COST_NEXT = "---"; var DMG_NEXT = "---"; var RNG_NEXT = "---"; var SPD = 3; var REQUIRE = Infinity; stop();
Instance of Symbol 149 MovieClip "Arrow" in Symbol 152 MovieClip Frame 3
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } rotation = angle * -1; if ((rotation < 0) && (rotation >= -90)) { _parent.nDMG = 240 * _parent.DMG; _parent.RNG = 180; _parent.SPD = 3; _parent.Ball.ele = 4; } else if ((rotation < -90) && (rotation >= -180)) { _parent.nDMG = 480 * _parent.DMG; _parent.RNG = 180; _parent.SPD = 2.5; _parent.Ball.ele = 3; } else if ((rotation < -180) && (rotation >= -270)) { _parent.nDMG = 6 * _parent.DMG; _parent.RNG = 200; _parent.SPD = 7; _parent.Ball.ele = 2; } else { _parent.nDMG = 360 * _parent.DMG; _parent.RNG = 220; _parent.SPD = 3; _parent.Ball.ele = 1; } }
Instance of Symbol 152 MovieClip "Tower" in Symbol 153 MovieClip [7_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= RNG) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = (Ball._y = 0); } recDist = _local3; } else { Ball.attack = false; Ball._x = (Ball._y = 0); } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { pickNewTarget(); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Symbol 155 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 160 MovieClip Frame 1
NAME = "HitMan"; COST = 1000; DMG = 500; RNG = 800; DEL = 6; COST_NEXT = "---"; DMG_NEXT = "---"; RNG_NEXT = "---"; SPD = 3; REQUIRE = Infinity; stop();
Instance of Symbol 157 MovieClip "Arrow" in Symbol 160 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Instance of Symbol 159 MovieClip "Ball" in Symbol 160 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k >= 0) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Death", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } k = 0; } else { k++; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; myAtkTime = _root.TheTime + _parent.DEL; } } } }
Instance of Symbol 160 MovieClip "Tower" in Symbol 161 MovieClip [6_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= RNG) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = (Ball._y = 0); } recDist = _local3; } else { Ball.attack = false; Ball._x = (Ball._y = 0); } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { pickNewTarget(); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Instance of Symbol 163 MovieClip in Symbol 164 MovieClip [Particle_Death] Frame 1
onClipEvent (load) { minSize = _root.minSize; allowAlpha = _root.allowAlpha; } onClipEvent (enterFrame) { _rotation = (_rotation + 2); _yscale = (_yscale * 0.95); _xscale = (_yscale * 0.95); if (allowAlpha) { _alpha = _xscale; } if (_xscale < minSize) { _parent.removeMovieClip(); } }
Symbol 168 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 171 MovieClip [Fire_Tower] Frame 1
NAME = "Candle"; COST = 30; DMG = 4; RNG = 130; COST_NEXT = 50; DMG_NEXT = 8; RNG_NEXT = 180; DEL = 0; SPD = 3; REQUIRE = 0; stop();
Instance of Symbol 170 MovieClip "Arrow" in Symbol 171 MovieClip [Fire_Tower] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Instance of Symbol 166 MovieClip [Fire_Ball] "Ball" in Symbol 171 MovieClip [Fire_Tower] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k >= 0) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Fire", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } k = 0; } else { k++; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; myAtkTime = _root.TheTime + _parent.DEL; } } } }
Symbol 171 MovieClip [Fire_Tower] Frame 3
NAME = "Lighter"; COST = 50; DMG = 8; RNG = 130; COST_NEXT = 140; DMG_NEXT = 24; RNG_NEXT = 180; SPD = 4; DEL = 0; REQUIRE = 0; stop();
Symbol 171 MovieClip [Fire_Tower] Frame 5
NAME = "Fire"; COST = 140; DMG = 24; RNG = 140; COST_NEXT = 280; DMG_NEXT = 96; RNG_NEXT = 180; SPD = 8; DEL = 1; REQUIRE = 0; stop();
Symbol 171 MovieClip [Fire_Tower] Frame 7
NAME = "Barbeque"; COST = 280; DMG = 96; RNG = 150; COST_NEXT = 460; DMG_NEXT = 480; RNG_NEXT = 180; SPD = 7; DEL = 1; REQUIRE = 0; stop();
Symbol 171 MovieClip [Fire_Tower] Frame 9
NAME = "Inferno"; COST = 460; DMG = 480; RNG = 160; COST_NEXT = 2120; DMG_NEXT = 2880; RNG_NEXT = 185; SPD = 7; DEL = 1; REQUIRE = 55; stop();
Symbol 171 MovieClip [Fire_Tower] Frame 11
NAME = "Flamethrower"; COST = 2120; DMG = 2880; RNG = 165; COST_NEXT = 17750; DMG_NEXT = 20160; RNG_NEXT = 190; SPD = 8; DEL = 1; REQUIRE = 75; stop();
Symbol 171 MovieClip [Fire_Tower] Frame 13
NAME = "Advanced Fire Tower"; COST = 17750; DMG = 20160; RNG = 170; COST_NEXT = 0; DMG_NEXT = 0; RNG_NEXT = 0; SPD = 4; DEL = 1; REQUIRE = Infinity; stop();
Symbol 171 MovieClip [Fire_Tower] Frame 14
gotoAndStop (13); _root.txtMsg = "No Further Upgrades Available";
Instance of Symbol 171 MovieClip [Fire_Tower] "Tower" in Symbol 172 MovieClip [1_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= RNG) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = (Ball._y = 0); } recDist = _local3; } else { Ball.attack = false; Ball._x = (Ball._y = 0); } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { pickNewTarget(); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Symbol 176 MovieClip [fps] Frame 1
fps = 30; var timeinit = new Date(); var lasttime = timeinit.getMilliseconds(); onEnterFrame = function () { var _local1 = new Date(); timepassed = (((_local1.getMilliseconds() - lasttime) >= 0) ? (_local1.getMilliseconds() - lasttime) : (1000 + (_local1.getMilliseconds() - lasttime))); fps = Math.round(10000 / timepassed) / 10; lasttime = _local1.getMilliseconds(); };
Symbol 178 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 187 MovieClip Frame 1
NAME = "Thief"; COST = 20; DMG = 2; RNG = 180; DEL = 5; COST_NEXT = 300; DMG_NEXT = 2; RNG_NEXT = 180; SPD = 5; REQUIRE = 0; stop();
Instance of Symbol 180 MovieClip "Ball" in Symbol 187 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { _visible = true; x = ROUND(_x); y = ROUND(_y) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x - (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y - ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k > 3) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Cash", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } } else { k++; } var XDIST = _x; var YDIST = _y; if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root.Money = _root.Money + _parent.DMG; _x = (_root["p" + _parent.Target]._x - _parent._parent._x); _y = (_root["p" + _parent.Target]._y - _parent._parent._y); _parent.Target = 1; _parent.pickNewTarget(); attack = false; } } } }
Instance of Symbol 182 MovieClip "Arrow" in Symbol 187 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Symbol 187 MovieClip Frame 3
NAME = "Robber"; COST = 300; DMG = 4; RNG = 180; COST_NEXT = 600; DMG_NEXT = 2; RNG_NEXT = 180; SPD = 2; REQUIRE = 10; stop();
Instance of Symbol 180 MovieClip "Ball" in Symbol 187 MovieClip Frame 3
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k >= 0) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Cash", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } k = 0; } else { k++; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].HP = _root["p" + _parent.Target].HP - _parent.DMG; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; myAtkTime = _root.TheTime + _parent.DEL; } } } }
Instance of Symbol 182 MovieClip "Arrow" in Symbol 187 MovieClip Frame 3
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _x = -7; _y = -7; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Symbol 187 MovieClip Frame 5
NAME = "Cold Thief"; COST = 600; DMG = 9; RNG = 180; COST_NEXT = "---"; DMG_NEXT = "---"; RNG_NEXT = "---"; SPD = 3; REQUIRE = Infinity; stop();
Instance of Symbol 182 MovieClip "Arrow" in Symbol 187 MovieClip Frame 5
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; _x = -9; _y = -9; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Instance of Symbol 187 MovieClip "Tower" in Symbol 188 MovieClip [11_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= RNG) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = PointTarget._x - _parent._x; Ball._y = PointTarget._y - _parent._y; } recDist = _local3; } else { Ball.attack = false; Ball._x = PointTarget._x - _parent._x; Ball._y = PointTarget._y - _parent._y; } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { pickNewTarget(); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Symbol 190 Button
on (press) { _root.BuildMode = false; _root.Selected = _parent.getDepth(); _root.Box._x = (_root.ToolTip._x = _parent._x); _root.Box._y = (_root.ToolTip._y = _parent._y); _root.ToolTip.GetValues(_root.Selected); _root.ToolTip._visible = true; _root.Box._visible = true; _root.Box.play(); }
Symbol 194 MovieClip Frame 1
NAME = "Thief"; COST = "---"; DMG = "---"; RNG = 200; COST_NEXT = "---"; DMG_NEXT = "---"; RNG_NEXT = "---"; SPD = 5; REQUIRE = Infinity; stop();
Instance of Symbol 192 MovieClip "Arrow" in Symbol 194 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; } onClipEvent (enterFrame) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } }
Instance of Symbol 193 MovieClip "Ball" in Symbol 194 MovieClip Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var rotation = 0; var o = 1; var k = 0; var myTime = 0; var myAtkTime = (myTime + _parent.DEL); } onClipEvent (enterFrame) { if (attack == true) { if (_root.TheTime >= myAtkTime) { x = ROUND(_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); y = ROUND(_root["p" + _parent.Target]._y - (_parent._parent._y + _y)) * -1; angle = ATAN(y / x) / PIE; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } _rotation = (angle * -1); _x = (_x + (SIN((_rotation + 90) * PIE) * (_parent.SPD * 2))); _y = (_y + ((COS((_rotation + 90) * PIE) * (_parent.SPD * 2)) * -1)); if (k > 5) { while ((_root["eff" + o] != null) && (_root["twr" + o] != null)) { o++; } _root.attachMovie("Particle_Needle", "eff" + o, o); _root["eff" + o]._x = _parent._parent._x + _x; _root["eff" + o]._y = _parent._parent._y + _y; o++; k = 0; if (o > 100) { o = 0; } } else { k++; } var XDIST = (_root["p" + _parent.Target]._x - (_parent._parent._x + _x)); var YDIST = (_root["p" + _parent.Target]._y - (_parent._parent._y + _y)); if (ROUND(SQRT((XDIST * XDIST) + (YDIST * YDIST))) < ((_parent.SPD * 2) + 1)) { _root["p" + _parent.Target].SLOW_END = _root["p" + _parent.Target].LIFETIME + 5; _root["p" + _parent.Target]._alpha = (_root["p" + _parent.Target].HP / _root.Health) * 100; _x = 0; _y = 0; if (_root["p" + _parent.Target].HP <= 0) { _root["p" + _parent.Target].Death(); } _parent.Target = 1; _parent.pickNewTarget(); attack = false; } } } }
Instance of Symbol 194 MovieClip "Tower" in Symbol 195 MovieClip [10_TWR] Frame 1
onClipEvent (load) { var ATAN = Math.atan; var SIN = Math.sin; var COS = Math.cos; var ROUND = Math.round; var PIE = (Math.PI/180); var angle = 0; var SQRT = Math.sqrt; var Target = 1; var Parent = _parent; var PointTarget = _root["p" + Target]; var RNG; var recDist = 9999; pickNewTarget = function () { recDist = 9000; i = 1; while (i < 11) { var _local5 = _root["p" + i]._x - _parent._x; var _local4 = _root["p" + i]._y - _parent._y; var _local3 = ROUND(SQRT((_local5 * _local5) + (_local4 * _local4))); if (_root["p" + i].active && (_root["p" + i].targetCP > 1)) { if (_local3 <= RNG) { if (_local3 <= recDist) { Target = i; PointTarget = _root["p" + Target]; } } else { Ball.attack = false; Ball._x = (Ball._y = 0); } recDist = _local3; } else { Ball.attack = false; Ball._x = (Ball._y = 0); } i++; } }; killTarget = function () { if (PointTarget.active && (PointTarget.targetCP > 1)) { var _local4 = _root["p" + Target]._x - _parent._x; var _local3 = _root["p" + Target]._y - _parent._y; var _local5 = ROUND(SQRT((_local4 * _local4) + (_local3 * _local3))); if (_local5 <= RNG) { Arrow._rotation = Arrow.angle * -1; Ball.attack = true; Ball._visible = true; } else { pickNewTarget(); } } else { pickNewTarget(); } }; } onClipEvent (enterFrame) { killTarget(); }
Symbol 214 Button
on (release) { _root.gotoAndStop(42); }
Symbol 215 Button
on (release) { _root.play(); }
Symbol 219 Button
on (press) { _root.Mode++; if (_root.Mode == 1) { GFX.text = "NORMAL"; _root.minSize = 20; _root.allowAlpha = false; } else if (_root.Mode == 2) { GFX.text = "LOW"; _root.minSize = 40; _root.allowAlpha = false; } else { _root.Mode = 0; GFX.text = "FULL"; _root.minSize = 10; _root.allowAlpha = true; } }
Symbol 223 Button
on (release) { getURL ("http://www.gamegecko.com/towerdefense.php", 1); }
Symbol 225 Button
on (release) { getURL ("http://www.gamegecko.com", 1); }
Symbol 227 MovieClip Frame 1
stop();
Symbol 231 Button
on (release) { getURL ("http://www.gamegecko.com/", 1); }
Symbol 241 Button
on (release) { if (_root.MENU._visible == true) { _root.MENU._visible = false; } else { _root.MENU._visible = true; } _root.ToolTip._visible = false; _root.Selected = 0; _root.BuildMode = false; _root.Box._visible = false; } on (rollOver) { _root.BuildMode = false; _root.Selected = 0; _root.SelBox._visible = false; _root.ToolTip._visible = false; }
Symbol 246 Button
on (release) { if (_root.MENU._visible == true) { _root.MENU._visible = false; } else { _root.MENU._visible = true; } _root.ToolTip._visible = false; _root.Selected = 0; _root.BuildMode = false; _root.Box._visible = false; } on (rollOver) { _root.BuildMode = false; _root.Selected = 0; _root.SelBox._visible = false; }
Symbol 262 MovieClip Frame 1
_root.numPts = 10; stop();
Symbol 262 MovieClip Frame 2
_root.numPts = 9; stop();
Symbol 262 MovieClip Frame 3
_root.numPts = 6; stop();
Symbol 262 MovieClip Frame 4
_root.numPts = 6; stop();
Symbol 262 MovieClip Frame 5
_root.numPts = 5; stop();
Symbol 262 MovieClip Frame 6
_root.numPts = 3; stop();
Symbol 262 MovieClip Frame 7
_root.numPts = 6; stop();
Symbol 262 MovieClip Frame 8
_root.numPts = 7; stop();
Symbol 262 MovieClip Frame 9
_root.numPts = 8; stop();
Symbol 268 Button
on (press) { _root.Path.gotoAndStop(2); play(); }
Symbol 269 Button
on (press) { _root.Path.gotoAndStop(5); play(); }
Symbol 270 Button
on (press) { _root.Path.gotoAndStop(8); play(); }
Symbol 275 Button
on (press) { _root.Path.gotoAndStop(3); play(); }
Symbol 276 Button
on (press) { _root.Path.gotoAndStop(6); play(); }
Symbol 277 Button
on (press) { _root.Path.gotoAndStop(9); play(); }
Symbol 281 Button
on (press) { _root.Path.gotoAndStop(1); play(); }
Symbol 282 Button
on (press) { _root.Path.gotoAndStop(4); play(); }
Symbol 283 Button
on (press) { _root.Path.gotoAndStop(7); play(); }
Symbol 294 Button
on (release) { if ((((((((((_root.p1.active == false) && (_root.p2.active == false)) && (_root.p3.active == false)) && (_root.p4.active == false)) && (_root.p5.active == false)) && (_root.p6.active == false)) && (_root.p7.active == false)) && (_root.p8.active == false)) && (_root.p9.active == false)) && (_root.p10.active == false)) { if (_root.Loop.Pause == true) { _root.Loop.Pause = false; } else { _root.Loop.Pause = true; } } }
Symbol 296 Button
on (release) { if (_root._quality == "HIGH") { _root._quality = "LOW"; } else { _root._quality = "HIGH"; } }
Symbol 300 Button
on (release) { getURL ("http://www.gamegecko.com/", 1); }
Symbol 307 Button
on (press) { this.startDrag(); } on (release) { stopDrag(); }
Symbol 312 Button
on (release) { if (_root.Money >= 2000) { _root.BuildMode = true; _root.Selected = 6; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 315 Button
on (release) { if (_root.Money >= 800) { _root.BuildMode = true; _root.Selected = 7; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 318 Button
on (release) { if (_root.Money >= 7000) { _root.BuildMode = true; _root.Selected = 8; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 321 Button
on (release) { if (_root.Money >= 800) { _root.BuildMode = true; _root.Selected = 9; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 325 Button
on (release) { if (_root.Money >= 500) { _root.BuildMode = true; _root.Selected = 11; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 328 Button
on (release) { if (_root.Money >= 400) { _root.BuildMode = true; _root.Selected = 10; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 332 Button
on (release) { if (_root.Money >= 300000000) { _root.BuildMode = true; _root.Selected = 12; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 335 Button
on (release) { _visible = false; _root.Selected = 0; _root.BuildMode = false; }
Symbol 339 Button
on (release) { if (_root.Money >= 50) { _root.BuildMode = true; _root.Selected = 3; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 344 Button
on (release) { if (_root.Money >= 50) { _root.BuildMode = true; _root.Selected = 1; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 348 Button
on (release) { if (_root.Money >= 30) { _root.BuildMode = true; _root.Selected = 2; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 353 Button
on (release) { if (_root.Money >= 30) { _root.BuildMode = true; _root.Selected = 4; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 357 Button
on (release) { if (_root.Money >= 3000) { _root.BuildMode = true; _root.Selected = 5; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 362 Button
on (release) { if (_root.Money >= 10) { _root.BuildMode = true; _root.Selected = 13; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 367 Button
on (release) { if (_root.Money >= 500) { _root.BuildMode = true; _root.Selected = 15; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 372 Button
on (release) { if (_root.Money >= 80) { _root.BuildMode = true; _root.Selected = 14; _root.ToolTip._visible = false; } else { _root.txtMsg.text = "Insufficient Funds."; } _visible = false; }
Symbol 385 MovieClip Frame 1
GetValues = function (SEL) { NowName.text = _root["twr" + SEL].Tower.NAME; NowDmg.text = _root["twr" + SEL].Tower.DMG; NowRng.text = _root["twr" + SEL].Tower.RNG; NewName.text = _root["twr" + SEL].Tower.NAME_NEXT; NewDmg.text = _root["twr" + SEL].Tower.DMG_NEXT; NewRng.text = _root["twr" + SEL].Tower.RNG_NEXT; NewCost.text = _root["twr" + SEL].Tower.COST_NEXT; trace("GOT VALUES: DMG = " + _root["twr" + SEL].Tower.DMG); }; stop();
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 2
stop();
Symbol 438 Button
on (press) { this.startDrag(0); } on (release) { stopDrag(); }
Symbol 443 Button
on (release) { var NEXTCOST = _root["twr" + _root.Selected].Tower.COST_NEXT; var REQ = _root["twr" + _root.Selected].Tower.REQUIRE; if (NEXTCOST <= _root.Money) { if (_root.Wave >= REQ) { _root.Money = _root.Money - NEXTCOST; _root["twr" + _root.Selected].Tower.play(); _root.Effect_Grass(_root["twr" + _root.Selected]._x, _root["twr" + _root.Selected]._y); _visible = false; _root.Selected = 0; _root.BuildMode = false; _root.Box._visible = false; } else { _root.txtMsg.text = ("You must be on wave [" + REQ) + "] or higher to upgrade!"; } } else { _root.txtMsg.text = "Insufficient Funds!"; } }
Symbol 453 Button
on (release) { _visible = false; _root.Selected = 0; _root.BuildMode = false; _root.Box._visible = false; }
Symbol 455 MovieClip Frame 1
GetValues(_root.Selected); stop();
Symbol 459 Button
on (keyPress "<Space>") { if ((((((((((_root.p1.active == false) && (_root.p2.active == false)) && (_root.p3.active == false)) && (_root.p4.active == false)) && (_root.p5.active == false)) && (_root.p6.active == false)) && (_root.p7.active == false)) && (_root.p8.active == false)) && (_root.p9.active == false)) && (_root.p10.active == false)) { _root.Time = 0; _root.Loop.Pause = false; } }
Symbol 472 Button
on (press) { getURL ("www.rstd.net", 1); }
Symbol 473 Button
on (release) { _visible = false; }
Symbol 479 Button
on (release) { gotoAndStop (36); }

Library Items

Symbol 1 Sound [Beat_DX]
Symbol 2 Sound [Beat_Chime]
Symbol 3 Sound [Beat_Beat]
Symbol 4 Sound [Beat_Bass]
Symbol 5 GraphicUsed by:7
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClip [Water_Hit]Uses:5 6
Symbol 8 GraphicUsed by:10
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip [Wind_Hit]Uses:8 9
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip [Fire_Hit]Uses:11 12
Symbol 14 GraphicUsed by:16
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip [Earth_Hit]Uses:14 15
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClip [Cannon]Uses:17
Symbol 19 GraphicUsed by:20 33
Symbol 20 ButtonUses:19Used by:33
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:33
Symbol 23 MovieClipUsed by:33
Symbol 24 FontUsed by:25 26 27 28 29 30 31 32 49 78 183 184 186 209 233 239 271 272 273 274 278 279 280 284 285 286 474 478 481
Symbol 25 TextUses:24Used by:33 41 50 94 152 160 171
Symbol 26 TextUses:24Used by:33 41 50 94 152 171
Symbol 27 TextUses:24Used by:33 41 50 94 171
Symbol 28 TextUses:24Used by:33 41 50 94 171
Symbol 29 TextUses:24Used by:33 41 50 94 171
Symbol 30 TextUses:24Used by:33 50 94 171
Symbol 31 TextUses:24Used by:33 50 171
Symbol 32 TextUses:24Used by:33 50
Symbol 33 MovieClip [Earth_Tower]Uses:19 20 22 23 25 26 27 28 29 30 31 32Used by:34
Symbol 34 MovieClip [3_TWR]Uses:33
Symbol 35 GraphicUsed by:36
Symbol 36 ButtonUses:35Used by:41
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:41
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:41
Symbol 41 MovieClip [Wind_Tower]Uses:36 38 40 25 26 27 28 29Used by:42
Symbol 42 MovieClip [4_TWR]Uses:41
Symbol 43 GraphicUsed by:50
Symbol 44 GraphicUsed by:45 50 152 160
Symbol 45 ButtonUses:44Used by:50
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:50
Symbol 48 MovieClipUsed by:50
Symbol 49 TextUses:24Used by:50
Symbol 50 MovieClip [Water_Tower]Uses:43 44 45 47 48 25 26 27 28 29 30 31 32 49Used by:51
Symbol 51 MovieClip [2_TWR]Uses:50
Symbol 52 GraphicUsed by:56
Symbol 53 GraphicUsed by:56
Symbol 54 GraphicUsed by:55 59 63 335 424 453 473
Symbol 55 ButtonUses:54Used by:56
Symbol 56 MovieClip [14_TWR]Uses:52 53 55
Symbol 57 GraphicUsed by:60
Symbol 58 GraphicUsed by:60
Symbol 59 ButtonUses:54Used by:60
Symbol 60 MovieClip [15_TWR]Uses:57 58 59
Symbol 61 GraphicUsed by:64
Symbol 62 GraphicUsed by:64
Symbol 63 ButtonUses:54Used by:64
Symbol 64 MovieClip [13_TWR]Uses:61 62 63
Symbol 65 GraphicUsed by:66
Symbol 66 ButtonUses:65Used by:70
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:70
Symbol 69 MovieClipUsed by:70
Symbol 70 MovieClipUses:66 68 69Used by:71
Symbol 71 MovieClip [8_TWR]Uses:70
Symbol 72 GraphicUsed by:80
Symbol 73 GraphicUsed by:74
Symbol 74 ButtonUses:73Used by:79
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:79
Symbol 77 MovieClipUsed by:79
Symbol 78 TextUses:24Used by:79
Symbol 79 MovieClipUses:74 76 77 78Used by:80
Symbol 80 MovieClip [9_TWR]Uses:72 79
Symbol 81 GraphicUsed by:82
Symbol 82 ButtonUses:81Used by:86
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:86
Symbol 85 MovieClipUsed by:86
Symbol 86 MovieClipUses:82 84 85Used by:87
Symbol 87 MovieClip [12_TWR]Uses:86
Symbol 88 GraphicUsed by:94
Symbol 89 GraphicUsed by:90
Symbol 90 ButtonUses:89Used by:94
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:94
Symbol 93 MovieClipUsed by:94
Symbol 94 MovieClipUses:88 90 92 93 25 26 27 28 29 30Used by:95
Symbol 95 MovieClip [5_TWR]Uses:94
Symbol 96 FontUsed by:97 98 222 264 308 340 341 345 349 350 354 358 359 363 364 368 369 373 374 375 376 377 378 379 380 381 382 383 384
Symbol 97 EditableTextUses:96 220Used by:99
Symbol 98 EditableTextUses:96Used by:99
Symbol 99 MovieClip [Effect_PlusMoney]Uses:97 98
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:102
Symbol 102 MovieClip [Effect_Dust]Uses:101
Symbol 103 ShapeTweeningUsed by:108
Symbol 104 ShapeTweeningUsed by:108
Symbol 105 ShapeTweeningUsed by:108
Symbol 106 ShapeTweeningUsed by:108
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:103 104 105 106 107Used by:109
Symbol 109 MovieClip [Particle_Fire]Uses:108
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClipUses:110Used by:112
Symbol 112 MovieClip [Particle_Water]Uses:111
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:113Used by:115
Symbol 115 MovieClip [Particle_Z]Uses:114
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:116Used by:118
Symbol 118 MovieClip [Particle_Cash]Uses:117
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:121
Symbol 121 MovieClip [Particle_Needle]Uses:120
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClipUses:122Used by:124
Symbol 124 MovieClip [Particle_Earth]Uses:123
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:127
Symbol 127 MovieClip [Particle_r2]Uses:126
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:130
Symbol 130 MovieClip [Particle_r]Uses:129
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:131Used by:133
Symbol 133 MovieClip [Particle_S2]Uses:132
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:134Used by:136
Symbol 136 MovieClip [Particle_S]Uses:135
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:139
Symbol 139 MovieClip [Particle_Ult]Uses:138
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:140Used by:142
Symbol 142 MovieClip [Particle_Wind]Uses:141
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClipUses:143Used by:145
Symbol 145 MovieClip [Particle_Grass]Uses:144
Symbol 146 GraphicUsed by:147
Symbol 147 ButtonUses:146Used by:152
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:152
Symbol 150 MovieClipUsed by:152
Symbol 151 GraphicUsed by:152 187
Symbol 152 MovieClipUses:44 147 149 150 25 151 26Used by:153
Symbol 153 MovieClip [7_TWR]Uses:152
Symbol 154 GraphicUsed by:155
Symbol 155 ButtonUses:154Used by:160
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClipUses:156Used by:160
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:158Used by:160
Symbol 160 MovieClipUses:44 155 157 159 25Used by:161
Symbol 161 MovieClip [6_TWR]Uses:160
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClipUses:162Used by:164
Symbol 164 MovieClip [Particle_Death]Uses:163
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClip [Fire_Ball]Uses:165Used by:171
Symbol 167 GraphicUsed by:168 171
Symbol 168 ButtonUses:167Used by:171
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:169Used by:171
Symbol 171 MovieClip [Fire_Tower]Uses:167 168 170 166 25 26 27 28 29 30 31Used by:172
Symbol 172 MovieClip [1_TWR]Uses:171Used by:Timeline
Symbol 173 FontUsed by:174 175 288 289 290 291 292 461 462
Symbol 174 EditableTextUses:173Used by:176
Symbol 175 EditableTextUses:173Used by:176
Symbol 176 MovieClip [fps]Uses:174 175Used by:Timeline
Symbol 177 GraphicUsed by:178
Symbol 178 ButtonUses:177Used by:187
Symbol 179 GraphicUsed by:180
Symbol 180 MovieClipUses:179Used by:187
Symbol 181 GraphicUsed by:182
Symbol 182 MovieClipUses:181Used by:187
Symbol 183 TextUses:24Used by:187
Symbol 184 TextUses:24Used by:187
Symbol 185 GraphicUsed by:187
Symbol 186 TextUses:24Used by:187
Symbol 187 MovieClipUses:178 180 182 183 151 184 185 186Used by:188
Symbol 188 MovieClip [11_TWR]Uses:187Used by:Timeline
Symbol 189 GraphicUsed by:190
Symbol 190 ButtonUses:189Used by:194
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClipUses:191Used by:194
Symbol 193 MovieClipUsed by:194
Symbol 194 MovieClipUses:190 192 193Used by:195
Symbol 195 MovieClip [10_TWR]Uses:194Used by:Timeline
Symbol 196 BitmapUsed by:197 314 338
Symbol 197 GraphicUses:196Used by:Timeline
Symbol 198 FontUsed by:199 228 232
Symbol 199 TextUses:198Used by:Timeline
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:Timeline
Symbol 202 FontUsed by:203
Symbol 203 EditableTextUses:202 205Used by:Timeline
Symbol 204 GraphicUsed by:Timeline
Symbol 205 FontUsed by:203 206 207 208
Symbol 206 TextUses:205Used by:Timeline
Symbol 207 TextUses:205Used by:Timeline
Symbol 208 TextUses:205Used by:Timeline
Symbol 209 TextUses:24Used by:227
Symbol 210 GraphicUsed by:227
Symbol 211 GraphicUsed by:214 215 219 223 225
Symbol 212 GraphicUsed by:214 215 219 223 225
Symbol 213 GraphicUsed by:214 215 219 223 225
Symbol 214 ButtonUses:211 212 213Used by:227
Symbol 215 ButtonUses:211 212 213Used by:227
Symbol 216 FontUsed by:217 218 224 226 233 481 482
Symbol 217 TextUses:216Used by:227
Symbol 218 TextUses:216Used by:227
Symbol 219 ButtonUses:211 212 213Used by:227
Symbol 220 FontUsed by:97 221 222 264 295 297 310 313 316 319 323 326 330 337 342 346 351 355 361 366 371 476
Symbol 221 TextUses:220Used by:227
Symbol 222 EditableTextUses:96 220Used by:227
Symbol 223 ButtonUses:211 212 213Used by:227
Symbol 224 TextUses:216Used by:227
Symbol 225 ButtonUses:211 212 213Used by:227
Symbol 226 TextUses:216Used by:227
Symbol 227 MovieClipUses:209 210 214 215 217 218 219 221 222 223 224 225 226Used by:Timeline
Symbol 228 TextUses:198Used by:Timeline
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:231
Symbol 231 ButtonUses:230Used by:Timeline
Symbol 232 TextUses:198Used by:Timeline
Symbol 233 EditableTextUses:24 216 468 480Used by:Timeline
Symbol 234 SoundUsed by:Timeline
Symbol 235 GraphicUsed by:262
Symbol 236 GraphicUsed by:237
Symbol 237 MovieClipUses:236Used by:262
Symbol 238 GraphicUsed by:241 246
Symbol 239 TextUses:24Used by:241 246
Symbol 240 GraphicUsed by:241 246
Symbol 241 ButtonUses:238 239 240Used by:262
Symbol 242 GraphicUsed by:262
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClipUses:243Used by:262
Symbol 245 GraphicUsed by:262
Symbol 246 ButtonUses:238 239 240Used by:262
Symbol 247 GraphicUsed by:262
Symbol 248 GraphicUsed by:262
Symbol 249 GraphicUsed by:262
Symbol 250 GraphicUsed by:262
Symbol 251 GraphicUsed by:262
Symbol 252 GraphicUsed by:262
Symbol 253 GraphicUsed by:262
Symbol 254 GraphicUsed by:262
Symbol 255 GraphicUsed by:262
Symbol 256 GraphicUsed by:262
Symbol 257 GraphicUsed by:262
Symbol 258 GraphicUsed by:262
Symbol 259 GraphicUsed by:262
Symbol 260 GraphicUsed by:262
Symbol 261 GraphicUsed by:262
Symbol 262 MovieClipUses:235 237 241 242 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261Used by:Timeline
Symbol 263 GraphicUsed by:265
Symbol 264 EditableTextUses:96 220Used by:265
Symbol 265 MovieClipUses:263 264Used by:Timeline
Symbol 266 GraphicUsed by:Timeline
Symbol 267 GraphicUsed by:268 269 270 275 276 277 281 282 283
Symbol 268 ButtonUses:267Used by:Timeline
Symbol 269 ButtonUses:267Used by:Timeline
Symbol 270 ButtonUses:267Used by:Timeline
Symbol 271 TextUses:24Used by:Timeline
Symbol 272 TextUses:24Used by:Timeline
Symbol 273 TextUses:24Used by:Timeline
Symbol 274 TextUses:24Used by:Timeline
Symbol 275 ButtonUses:267Used by:Timeline
Symbol 276 ButtonUses:267Used by:Timeline
Symbol 277 ButtonUses:267Used by:Timeline
Symbol 278 TextUses:24Used by:Timeline
Symbol 279 TextUses:24Used by:Timeline
Symbol 280 TextUses:24Used by:Timeline
Symbol 281 ButtonUses:267Used by:Timeline
Symbol 282 ButtonUses:267Used by:Timeline
Symbol 283 ButtonUses:267Used by:Timeline
Symbol 284 TextUses:24Used by:Timeline
Symbol 285 TextUses:24Used by:Timeline
Symbol 286 TextUses:24Used by:Timeline
Symbol 287 GraphicUsed by:Timeline
Symbol 288 TextUses:173Used by:Timeline
Symbol 289 TextUses:173Used by:Timeline
Symbol 290 TextUses:173Used by:Timeline
Symbol 291 TextUses:173Used by:Timeline
Symbol 292 TextUses:173Used by:Timeline
Symbol 293 GraphicUsed by:294 296
Symbol 294 ButtonUses:293Used by:Timeline
Symbol 295 TextUses:220Used by:Timeline
Symbol 296 ButtonUses:293Used by:Timeline
Symbol 297 TextUses:220Used by:Timeline
Symbol 298 BitmapUsed by:299
Symbol 299 GraphicUses:298Used by:300
Symbol 300 ButtonUses:299Used by:Timeline
Symbol 301 GraphicUsed by:Timeline
Symbol 302 ShapeTweeningUsed by:305
Symbol 303 ShapeTweeningUsed by:305
Symbol 304 GraphicUsed by:305
Symbol 305 MovieClipUses:302 303 304Used by:Timeline
Symbol 306 GraphicUsed by:307
Symbol 307 ButtonUses:306Used by:385
Symbol 308 TextUses:96Used by:385
Symbol 309 GraphicUsed by:312 315 318 321 328
Symbol 310 TextUses:220Used by:312
Symbol 311 GraphicUsed by:312
Symbol 312 ButtonUses:309 310 311Used by:385
Symbol 313 TextUses:220Used by:315
Symbol 314 GraphicUses:196Used by:315
Symbol 315 ButtonUses:309 313 314Used by:385
Symbol 316 TextUses:220Used by:318
Symbol 317 GraphicUsed by:318
Symbol 318 ButtonUses:309 316 317Used by:385
Symbol 319 TextUses:220Used by:321
Symbol 320 GraphicUsed by:321
Symbol 321 ButtonUses:309 319 320Used by:385
Symbol 322 GraphicUsed by:325
Symbol 323 TextUses:220Used by:325
Symbol 324 GraphicUsed by:325
Symbol 325 ButtonUses:322 323 324Used by:385
Symbol 326 TextUses:220Used by:328
Symbol 327 GraphicUsed by:328
Symbol 328 ButtonUses:309 326 327Used by:385
Symbol 329 GraphicUsed by:332
Symbol 330 TextUses:220Used by:332
Symbol 331 GraphicUsed by:332
Symbol 332 ButtonUses:329 330 331Used by:385
Symbol 333 GraphicUsed by:335 453 473
Symbol 334 GraphicUsed by:335 453 473
Symbol 335 ButtonUses:333 334 54Used by:385
Symbol 336 GraphicUsed by:339 344 348 353 357
Symbol 337 TextUses:220Used by:339
Symbol 338 GraphicUses:196Used by:339
Symbol 339 ButtonUses:336 337 338Used by:385
Symbol 340 TextUses:96Used by:385
Symbol 341 TextUses:96Used by:385
Symbol 342 TextUses:220Used by:344
Symbol 343 GraphicUsed by:344
Symbol 344 ButtonUses:336 342 343Used by:385
Symbol 345 TextUses:96Used by:385
Symbol 346 TextUses:220Used by:348
Symbol 347 GraphicUsed by:348
Symbol 348 ButtonUses:336 346 347Used by:385
Symbol 349 TextUses:96Used by:385
Symbol 350 TextUses:96Used by:385
Symbol 351 TextUses:220Used by:353
Symbol 352 GraphicUsed by:353
Symbol 353 ButtonUses:336 351 352Used by:385
Symbol 354 TextUses:96Used by:385
Symbol 355 TextUses:220Used by:357
Symbol 356 GraphicUsed by:357
Symbol 357 ButtonUses:336 355 356Used by:385
Symbol 358 TextUses:96Used by:385
Symbol 359 TextUses:96Used by:385
Symbol 360 GraphicUsed by:362
Symbol 361 TextUses:220Used by:362
Symbol 362 ButtonUses:360 361Used by:385
Symbol 363 TextUses:96Used by:385
Symbol 364 TextUses:96Used by:385
Symbol 365 GraphicUsed by:367
Symbol 366 TextUses:220Used by:367
Symbol 367 ButtonUses:365 366Used by:385
Symbol 368 TextUses:96Used by:385
Symbol 369 TextUses:96Used by:385
Symbol 370 GraphicUsed by:372
Symbol 371 TextUses:220Used by:372
Symbol 372 ButtonUses:370 371Used by:385
Symbol 373 TextUses:96Used by:385
Symbol 374 TextUses:96Used by:385
Symbol 375 TextUses:96Used by:385
Symbol 376 TextUses:96Used by:385
Symbol 377 TextUses:96Used by:385
Symbol 378 TextUses:96Used by:385
Symbol 379 TextUses:96Used by:385
Symbol 380 TextUses:96Used by:385
Symbol 381 TextUses:96Used by:385
Symbol 382 TextUses:96Used by:385
Symbol 383 TextUses:96Used by:385
Symbol 384 TextUses:96Used by:385
Symbol 385 MovieClipUses:307 308 312 315 318 321 325 328 332 335 339 340 341 344 345 348 349 350 353 354 357 358 359 362 363 364 367 368 369 372 373 374 375 376 377 378 379 380 381 382 383 384Used by:Timeline
Symbol 386 GraphicUsed by:387
Symbol 387 MovieClipUses:386Used by:Timeline
Symbol 388 FontUsed by:389 444 445 446 447 449 450 452 454
Symbol 389 EditableTextUses:388Used by:Timeline
Symbol 390 GraphicUsed by:424
Symbol 391 GraphicUsed by:397
Symbol 392 GraphicUsed by:397
Symbol 393 GraphicUsed by:397
Symbol 394 GraphicUsed by:397
Symbol 395 GraphicUsed by:397
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:391 392 393 394 395 396Used by:424
Symbol 398 GraphicUsed by:424
Symbol 399 GraphicUsed by:401
Symbol 400 GraphicUsed by:401
Symbol 401 MovieClipUses:399 400Used by:424
Symbol 402 GraphicUsed by:405
Symbol 403 GraphicUsed by:405
Symbol 404 GraphicUsed by:405
Symbol 405 MovieClipUses:402 403 404Used by:424
Symbol 406 GraphicUsed by:409
Symbol 407 GraphicUsed by:409
Symbol 408 GraphicUsed by:409
Symbol 409 MovieClipUses:406 407 408Used by:424
Symbol 410 GraphicUsed by:413
Symbol 411 GraphicUsed by:413
Symbol 412 GraphicUsed by:413
Symbol 413 MovieClipUses:410 411 412Used by:424
Symbol 414 GraphicUsed by:422
Symbol 415 GraphicUsed by:422
Symbol 416 GraphicUsed by:422
Symbol 417 GraphicUsed by:422
Symbol 418 GraphicUsed by:422
Symbol 419 GraphicUsed by:422
Symbol 420 GraphicUsed by:422
Symbol 421 GraphicUsed by:422
Symbol 422 MovieClipUses:414 415 416 417 418 419 420 421Used by:424
Symbol 423 GraphicUsed by:424
Symbol 424 MovieClipUses:54 390 397 398 401 405 409 413 422 423Used by:Timeline
Symbol 425 FontUsed by:426 427 428 429
Symbol 426 TextUses:425Used by:Timeline
Symbol 427 TextUses:425Used by:Timeline
Symbol 428 TextUses:425Used by:Timeline
Symbol 429 TextUses:425Used by:Timeline
Symbol 430 FontUsed by:431 432 433 434 439 440 448 451
Symbol 431 EditableTextUses:430Used by:Timeline
Symbol 432 EditableTextUses:430Used by:Timeline
Symbol 433 EditableTextUses:430Used by:Timeline
Symbol 434 EditableTextUses:430Used by:Timeline
Symbol 435 GraphicUsed by:455
Symbol 436 GraphicUsed by:438
Symbol 437 GraphicUsed by:438
Symbol 438 ButtonUses:436 437Used by:455
Symbol 439 TextUses:430Used by:455
Symbol 440 TextUses:430Used by:455
Symbol 441 GraphicUsed by:455
Symbol 442 GraphicUsed by:443
Symbol 443 ButtonUses:442Used by:455
Symbol 444 TextUses:388Used by:455
Symbol 445 EditableTextUses:388Used by:455
Symbol 446 EditableTextUses:388Used by:455
Symbol 447 EditableTextUses:388Used by:455
Symbol 448 EditableTextUses:430Used by:455
Symbol 449 TextUses:388Used by:455
Symbol 450 EditableTextUses:388Used by:455
Symbol 451 TextUses:430Used by:455
Symbol 452 EditableTextUses:388Used by:455
Symbol 453 ButtonUses:333 334 54Used by:455
Symbol 454 EditableTextUses:388Used by:455
Symbol 455 MovieClipUses:435 438 439 440 441 443 444 445 446 447 448 449 450 451 452 453 454Used by:Timeline
Symbol 456 GraphicUsed by:457
Symbol 457 MovieClipUses:456Used by:Timeline
Symbol 458 GraphicUsed by:459
Symbol 459 ButtonUses:458Used by:Timeline
Symbol 460 GraphicUsed by:Timeline
Symbol 461 TextUses:173Used by:463
Symbol 462 TextUses:173Used by:463
Symbol 463 MovieClipUses:461 462Used by:Timeline
Symbol 464 FontUsed by:465
Symbol 465 EditableTextUses:464Used by:Timeline
Symbol 466 FontUsed by:467
Symbol 467 TextUses:466Used by:Timeline
Symbol 468 FontUsed by:233 469
Symbol 469 EditableTextUses:468Used by:Timeline
Symbol 470 GraphicUsed by:475
Symbol 471 GraphicUsed by:472
Symbol 472 ButtonUses:471Used by:475
Symbol 473 ButtonUses:333 334 54Used by:475
Symbol 474 TextUses:24Used by:475
Symbol 475 MovieClipUses:470 472 473 474Used by:Timeline
Symbol 476 TextUses:220Used by:Timeline
Symbol 477 GraphicUsed by:479
Symbol 478 TextUses:24Used by:479
Symbol 479 ButtonUses:477 478Used by:Timeline
Symbol 480 FontUsed by:233 481
Symbol 481 TextUses:24 216 480Used by:Timeline
Symbol 482 TextUses:216Used by:Timeline

Instance Names

"Path"Frame 37Symbol 262 MovieClip
"LBL1"Frame 37Symbol 265 MovieClip
"LBL2"Frame 37Symbol 265 MovieClip
"LBL3"Frame 37Symbol 265 MovieClip
"LBL4"Frame 37Symbol 265 MovieClip
"LBL6"Frame 37Symbol 265 MovieClip
"LBL8"Frame 37Symbol 265 MovieClip
"LBL7"Frame 37Symbol 265 MovieClip
"LBL5"Frame 37Symbol 265 MovieClip
"LBL9"Frame 37Symbol 265 MovieClip
"LBL10"Frame 37Symbol 265 MovieClip
"Box"Frame 38Symbol 305 MovieClip
"MENU"Frame 38Symbol 385 MovieClip
"SelBox"Frame 38Symbol 387 MovieClip
"txtMsg"Frame 38Symbol 389 EditableText
"p1"Frame 38Symbol 424 MovieClip
"p2"Frame 38Symbol 424 MovieClip
"p3"Frame 38Symbol 424 MovieClip
"p4"Frame 38Symbol 424 MovieClip
"p5"Frame 38Symbol 424 MovieClip
"p6"Frame 38Symbol 424 MovieClip
"p7"Frame 38Symbol 424 MovieClip
"p8"Frame 38Symbol 424 MovieClip
"p9"Frame 38Symbol 424 MovieClip
"p10"Frame 38Symbol 424 MovieClip
"ToolTip"Frame 38Symbol 455 MovieClip
"Loop"Frame 38Symbol 457 MovieClip
"error"Frame 38Symbol 463 MovieClip
"Score"Frame 39Symbol 469 EditableText
"Arrow"Symbol 33 MovieClip [Earth_Tower] Frame 1Symbol 22 MovieClip
"Ball"Symbol 33 MovieClip [Earth_Tower] Frame 1Symbol 23 MovieClip
"Arrow"Symbol 33 MovieClip [Earth_Tower] Frame 3Symbol 22 MovieClip
"Arrow"Symbol 33 MovieClip [Earth_Tower] Frame 5Symbol 22 MovieClip
"Arrow"Symbol 33 MovieClip [Earth_Tower] Frame 7Symbol 22 MovieClip
"Arrow"Symbol 33 MovieClip [Earth_Tower] Frame 9Symbol 22 MovieClip
"Arrow"Symbol 33 MovieClip [Earth_Tower] Frame 11Symbol 22 MovieClip
"Arrow"Symbol 33 MovieClip [Earth_Tower] Frame 13Symbol 22 MovieClip
"Arrow"Symbol 33 MovieClip [Earth_Tower] Frame 15Symbol 22 MovieClip
"Tower"Symbol 34 MovieClip [3_TWR] Frame 1Symbol 33 MovieClip [Earth_Tower]
"Arrow"Symbol 41 MovieClip [Wind_Tower] Frame 1Symbol 38 MovieClip
"Ball"Symbol 41 MovieClip [Wind_Tower] Frame 1Symbol 40 MovieClip
"Tower"Symbol 42 MovieClip [4_TWR] Frame 1Symbol 41 MovieClip [Wind_Tower]
"Arrow"Symbol 50 MovieClip [Water_Tower] Frame 1Symbol 47 MovieClip
"Ball"Symbol 50 MovieClip [Water_Tower] Frame 1Symbol 48 MovieClip
"Tower"Symbol 51 MovieClip [2_TWR] Frame 1Symbol 50 MovieClip [Water_Tower]
"Arrow"Symbol 70 MovieClip Frame 1Symbol 68 MovieClip
"Ball"Symbol 70 MovieClip Frame 1Symbol 69 MovieClip
"Tower"Symbol 71 MovieClip [8_TWR] Frame 1Symbol 70 MovieClip
"Arrow"Symbol 79 MovieClip Frame 1Symbol 76 MovieClip
"Ball"Symbol 79 MovieClip Frame 1Symbol 77 MovieClip
"Tower"Symbol 80 MovieClip [9_TWR] Frame 1Symbol 79 MovieClip
"Arrow"Symbol 86 MovieClip Frame 1Symbol 84 MovieClip
"Ball"Symbol 86 MovieClip Frame 1Symbol 85 MovieClip
"Tower"Symbol 87 MovieClip [12_TWR] Frame 1Symbol 86 MovieClip
"Arrow"Symbol 94 MovieClip Frame 1Symbol 92 MovieClip
"Ball"Symbol 94 MovieClip Frame 1Symbol 93 MovieClip
"Tower"Symbol 95 MovieClip [5_TWR] Frame 1Symbol 94 MovieClip
"txtCash"Symbol 99 MovieClip [Effect_PlusMoney] Frame 1Symbol 97 EditableText
"txtCash"Symbol 99 MovieClip [Effect_PlusMoney] Frame 30Symbol 98 EditableText
"Arrow"Symbol 152 MovieClip Frame 1Symbol 149 MovieClip
"Ball"Symbol 152 MovieClip Frame 1Symbol 150 MovieClip
"Arrow"Symbol 152 MovieClip Frame 3Symbol 149 MovieClip
"Tower"Symbol 153 MovieClip [7_TWR] Frame 1Symbol 152 MovieClip
"Arrow"Symbol 160 MovieClip Frame 1Symbol 157 MovieClip
"Ball"Symbol 160 MovieClip Frame 1Symbol 159 MovieClip
"Tower"Symbol 161 MovieClip [6_TWR] Frame 1Symbol 160 MovieClip
"Arrow"Symbol 171 MovieClip [Fire_Tower] Frame 1Symbol 170 MovieClip
"Ball"Symbol 171 MovieClip [Fire_Tower] Frame 1Symbol 166 MovieClip [Fire_Ball]
"Tower"Symbol 172 MovieClip [1_TWR] Frame 1Symbol 171 MovieClip [Fire_Tower]
"Ball"Symbol 187 MovieClip Frame 1Symbol 180 MovieClip
"Arrow"Symbol 187 MovieClip Frame 1Symbol 182 MovieClip
"Ball"Symbol 187 MovieClip Frame 3Symbol 180 MovieClip
"Arrow"Symbol 187 MovieClip Frame 3Symbol 182 MovieClip
"Arrow"Symbol 187 MovieClip Frame 5Symbol 182 MovieClip
"Tower"Symbol 188 MovieClip [11_TWR] Frame 1Symbol 187 MovieClip
"Arrow"Symbol 194 MovieClip Frame 1Symbol 192 MovieClip
"Ball"Symbol 194 MovieClip Frame 1Symbol 193 MovieClip
"Tower"Symbol 195 MovieClip [10_TWR] Frame 1Symbol 194 MovieClip
"GFX"Symbol 227 MovieClip Frame 2Symbol 222 EditableText
"cp1"Symbol 262 MovieClip Frame 1Symbol 237 MovieClip
"cp2"Symbol 262 MovieClip Frame 1Symbol 237 MovieClip
"cp3"Symbol 262 MovieClip Frame 1Symbol 237 MovieClip
"cp4"Symbol 262 MovieClip Frame 1Symbol 237 MovieClip
"cp5"Symbol 262 MovieClip Frame 1Symbol 237 MovieClip
"cp6"Symbol 262 MovieClip Frame 1Symbol 237 MovieClip
"cp7"Symbol 262 MovieClip Frame 1Symbol 237 MovieClip
"cp8"Symbol 262 MovieClip Frame 1Symbol 237 MovieClip
"cp9"Symbol 262 MovieClip Frame 1Symbol 237 MovieClip
"cp10"Symbol 262 MovieClip Frame 1Symbol 237 MovieClip
"cp0"Symbol 262 MovieClip Frame 1Symbol 244 MovieClip
"cp3"Symbol 262 MovieClip Frame 7Symbol 237 MovieClip
"cp4"Symbol 262 MovieClip Frame 7Symbol 237 MovieClip
"cp5"Symbol 262 MovieClip Frame 7Symbol 237 MovieClip
"cp6"Symbol 262 MovieClip Frame 7Symbol 237 MovieClip
"cp2"Symbol 262 MovieClip Frame 8Symbol 237 MovieClip
"cp7"Symbol 262 MovieClip Frame 8Symbol 237 MovieClip
"cp8"Symbol 262 MovieClip Frame 9Symbol 237 MovieClip
"VAL"Symbol 265 MovieClip Frame 1Symbol 264 EditableText
"NewDmg"Symbol 455 MovieClip Frame 1Symbol 445 EditableText
"NowDmg"Symbol 455 MovieClip Frame 1Symbol 446 EditableText
"NowName"Symbol 455 MovieClip Frame 1Symbol 447 EditableText
"NewCost"Symbol 455 MovieClip Frame 1Symbol 448 EditableText
"NowRng"Symbol 455 MovieClip Frame 1Symbol 450 EditableText
"NewRng"Symbol 455 MovieClip Frame 1Symbol 452 EditableText
"NewName"Symbol 455 MovieClip Frame 1Symbol 454 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "Beat_DX"
ExportAssets (56)Timeline Frame 1Symbol 2 as "Beat_Chime"
ExportAssets (56)Timeline Frame 1Symbol 3 as "Beat_Beat"
ExportAssets (56)Timeline Frame 1Symbol 4 as "Beat_Bass"
ExportAssets (56)Timeline Frame 1Symbol 7 as "Water_Hit"
ExportAssets (56)Timeline Frame 1Symbol 10 as "Wind_Hit"
ExportAssets (56)Timeline Frame 1Symbol 13 as "Fire_Hit"
ExportAssets (56)Timeline Frame 1Symbol 16 as "Earth_Hit"
ExportAssets (56)Timeline Frame 1Symbol 18 as "Cannon"
ExportAssets (56)Timeline Frame 1Symbol 33 as "Earth_Tower"
ExportAssets (56)Timeline Frame 1Symbol 34 as "3_TWR"
ExportAssets (56)Timeline Frame 1Symbol 41 as "Wind_Tower"
ExportAssets (56)Timeline Frame 1Symbol 42 as "4_TWR"
ExportAssets (56)Timeline Frame 1Symbol 50 as "Water_Tower"
ExportAssets (56)Timeline Frame 1Symbol 51 as "2_TWR"
ExportAssets (56)Timeline Frame 1Symbol 56 as "14_TWR"
ExportAssets (56)Timeline Frame 1Symbol 60 as "15_TWR"
ExportAssets (56)Timeline Frame 1Symbol 64 as "13_TWR"
ExportAssets (56)Timeline Frame 1Symbol 71 as "8_TWR"
ExportAssets (56)Timeline Frame 1Symbol 80 as "9_TWR"
ExportAssets (56)Timeline Frame 1Symbol 87 as "12_TWR"
ExportAssets (56)Timeline Frame 1Symbol 95 as "5_TWR"
ExportAssets (56)Timeline Frame 1Symbol 99 as "Effect_PlusMoney"
ExportAssets (56)Timeline Frame 1Symbol 102 as "Effect_Dust"
ExportAssets (56)Timeline Frame 1Symbol 109 as "Particle_Fire"
ExportAssets (56)Timeline Frame 1Symbol 112 as "Particle_Water"
ExportAssets (56)Timeline Frame 1Symbol 115 as "Particle_Z"
ExportAssets (56)Timeline Frame 1Symbol 118 as "Particle_Cash"
ExportAssets (56)Timeline Frame 1Symbol 121 as "Particle_Needle"
ExportAssets (56)Timeline Frame 1Symbol 124 as "Particle_Earth"
ExportAssets (56)Timeline Frame 1Symbol 127 as "Particle_r2"
ExportAssets (56)Timeline Frame 1Symbol 130 as "Particle_r"
ExportAssets (56)Timeline Frame 1Symbol 133 as "Particle_S2"
ExportAssets (56)Timeline Frame 1Symbol 136 as "Particle_S"
ExportAssets (56)Timeline Frame 1Symbol 139 as "Particle_Ult"
ExportAssets (56)Timeline Frame 1Symbol 142 as "Particle_Wind"
ExportAssets (56)Timeline Frame 1Symbol 145 as "Particle_Grass"
ExportAssets (56)Timeline Frame 1Symbol 153 as "7_TWR"
ExportAssets (56)Timeline Frame 1Symbol 161 as "6_TWR"
ExportAssets (56)Timeline Frame 1Symbol 164 as "Particle_Death"
ExportAssets (56)Timeline Frame 1Symbol 166 as "Fire_Ball"
ExportAssets (56)Timeline Frame 1Symbol 171 as "Fire_Tower"
ExportAssets (56)Timeline Frame 1Symbol 172 as "1_TWR"
ExportAssets (56)Timeline Frame 1Symbol 176 as "fps"
ExportAssets (56)Timeline Frame 1Symbol 188 as "11_TWR"
ExportAssets (56)Timeline Frame 1Symbol 195 as "10_TWR"

Dynamic Text Variables

fpsSymbol 174 EditableText"<p align="right"></p>"
_root.WaveSymbol 431 EditableText"1234"
_root.CitizensSymbol 432 EditableText"1234"
_root.TimeSymbol 433 EditableText"1234"
_root.MoneySymbol 434 EditableText"12345678"
_root.WaveSymbol 465 EditableText"<p align="center"><font face="Verdana_400pt_st" size="400" color="#000000" letterSpacing="0.000000" kerning="1"><b>100</b></font></p>"




http://swfchan.com/5/23887/info.shtml
Created: 25/5 -2019 19:54:26 Last modified: 25/5 -2019 19:54:26 Server time: 05/11 -2024 08:29:48