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

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

canyondefence.swf

This is the info page for
Flash #51727

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


Text
Free Games AND ShowS

MINICLIP.COM INTRO COMPONENT v1.7

Place this component on the top layer of
the first and second frame and other
content on frame two onwards.
The silhouette helps you position the
preloader correctly on your page.

The game is loading (0%)

The game is loading (0%)

Buildings

Buildings

Basic

Basic

Advanced

Advanced

OK

EARNED

SAVED

DIFFICULTY BONUS

TOTAL SCORE

=

9999999

x99999

999999999

9999999

999999999

x99999

+999%

999999999

YOU WIN!

YOU LOSE!

CLICK TO CONTINUE

Paused

Paused

ABILITIES

INFO PANEL

MISSILE TURRET
Anti-Ground

Nothing

INFO PANEL

HOWITZER
Splash damage
Anti-Ground

Quest: HOWITZER
Launch missile from
NUCELAR SILO

INFO PANEL

TESLA TOWER
Damages all around
Anti-Ground

Quest: TESLA TOWER
Build 5 GOO CANNONS

INFO PANEL

GUTLING LASER
Pierces shields
Anti-Ground

Quest: GUTLING LASER
Destroy 40 flying
enemies

INFO PANEL

NULIFICATOR
Eliminates enemy effects
Anti-Ground / Anti-Air

Quest: NULIFICATOR
Build LABORATORY

INFO PANEL

AA Gun
Anti-Air

INFO PANEL

GOO CANNON
Slows down enemies
Anti-Ground / Anti-Air

Quest: GOO CANNON
Destroy 5 flying
enemies

INFO PANEL

CHAIN GUN
Hits up to 3 enemies
Anti-Ground

Quest: CHAIN GUN
Collect 1000 $

INFO PANEL

GAUSS CANNON
Pierces shields
Anti-Air

Quest: GAUSS CANNON
Build RADAR DOME

INFO PANEL

OIL SPRAY
Reduce enemy control
Anti-Ground

Quest: OIL SPRAY
Construct 10 walls

INFO PANEL

NUCLEAR SILO
Gives LAUNCH MISSILE
ability.

Quest: NUCLEAR SILO
Build 5 MISSILE
TURRETS

INFO PANEL

WALL FACTORY
Gives CONSTRUCT
WALL ability.

Quest: WALL FACTORY
Build 15
towers/structures

INFO PANEL

RECYCLER
+50% reward for
enemies

Quest: RECYCLER
Build 3 CHAINGUNS or
TESLA TOWERS

INFO PANEL

RADAR DOME
+10% towers damage
+10% towers range

Quest: RADAR DOME
Build 7 AA GUNS

INFO PANEL

LABORATORY
Gives STOP TIME
ability.

Quest: LABORATORY
Build 2 WALL
FACTORIES

99999

10

Next attack: #00
99 SMALL units Lv[2]
GROUND / AUTO-REPAIR

00:00

MESSAGE
MESSAGE

PLAY

YES

NO

Quit?
Are you sure?

PLAY

PLAY

Scores

Scores

?

Help

Help

www.iriysoft.ru

www.iriysoft.ru

Back

Back

SELECT MAP

EASY

30 ATTACKS
ATTACK DELAY 2:00
SCORE BONUS 0%

HARD

50 ATTACKS
ATTACK DELAY 1:00
SCORE BONUS 50%

NORMAL

40 ATTACKS
ATTACK DELAY 1:30
SCORE BONUS 25%

SELECT DIFFICULTY

Only a winding canyon divides the enemies
from the peaceful town...

Your task is to build the ideal defense system to protect your city.
Build your defense in preparation for the attacks. The next wave is displayed at
the bottom of your control panel.

You build your defense using the different towers available in the Control Panel
(shown on the right).
The towers will attack enemies that come within their shooting range. Different
towers attack different types of enemy (ground and air) so plan wisely.
To build a tower - make a selection in the control panel, then move the cursor to
a vacant space on the map (on the rocks, not the road) and click to place.
To proceed to the next attack click “PLAY" or press the spacebar.

Menu

Menu

TOOLTIP TEXT

Embed Font

Embed Font

Preloader.

Content.

ActionScript [AS1/AS2]

Frame 3
stop();
Symbol 2 MovieClip [id_mcGame] Frame 1
#initclip 17 Object.registerClass("id_mcGame", CGame); #endinitclip
Symbol 9 Button
on (release) { getURL ("http://www.miniclip.com/", "_blank"); }
Symbol 10 MovieClip Frame 2
_parent.mcAnimation.play(); stop();
Symbol 10 MovieClip Frame 13
_parent.gotoAndPlay("preload"); stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 60
Symbol 26 MovieClip Frame 121
_parent.mcBackground.play(); stop();
Symbol 31 MovieClip Frame 1
this._visible = false;
Symbol 37 Button
on (release) { getURL ("http://www.miniclip.com", "_blank"); }
Symbol 42 MovieClip Frame 2
if (_url.indexOf("http") > -1) { if (_parent._parent._parent.loadAdNow) { cacheBuster = getTimer() + random(999999); showAd = "http://www.miniclip.com/swfcontent/push/didyouknow.swf?cacheBuster" + cacheBuster; trace("Loading ad: " + showAd); mcAd.loadMovie(showAd); } else { gotoAndPlay(_currentframe - 1); } }
Symbol 42 MovieClip Frame 4
if ((mcAd.getBytesTotal() != 0) && (mcAd.getBytesLoaded() == mcAd.getBytesTotal())) { gotoAndStop ("showAd"); } else { gotoAndPlay(_currentframe - 1); }
Symbol 42 MovieClip Frame 12
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 100
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 12
_root.play(); _root.isFinished = true; _parent.stop(); stop();
Symbol 54 MovieClip Frame 1
loadAdNow = false; _root.stop(); play();
Instance of Symbol 31 MovieClip "mcIntro" in Symbol 54 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 54 MovieClip Frame 2
xPos = _x; yPos = _y; mcBackground._x = mcBackground._x - xPos; mcBackground._y = mcBackground._y - yPos; mcAnimation._x = mcAnimation._x - xPos; mcAnimation._y = mcAnimation._y - yPos; var stageWidth = Stage.width; var stageHeight = Stage.height; var centerStageX = (stageWidth / 2); var centerStageY = (stageHeight / 2); mcBackground._width = stageWidth; mcBackground._height = stageHeight; mcAnimation._x = mcAnimation._x + centerStageX; mcAnimation._y = mcAnimation._y + (centerStageY - (stageHeight / 10)); stop();
Instance of Symbol 53 MovieClip "mcLoadingAnimated" in Symbol 54 MovieClip Frame 2
onClipEvent (load) { _visible = false; }
Symbol 54 MovieClip Frame 3
var loadedPercent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (loadedPercent == 100) { _root.play(); stop(); } else { loadAdNow = true; mcLoadingAnimated._visible = true; }
Symbol 54 MovieClip Frame 5
var loadedPercent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (loadedPercent < 100) { mcLoadingAnimated.mcLoading.gotoAndStop(loadedPercent); mcLoadingAnimated.mcLoading.txtPercentLoaded1 = ("The game is loading (" + loadedPercent) + "%)"; mcLoadingAnimated.mcLoading.txtPercentLoaded2 = ("The game is loading (" + loadedPercent) + "%)"; gotoAndPlay(_currentframe - 1); } else { mcLoadingAnimated.play(); stop(); }
Symbol 727 MovieClip [__Packages.CEventMovieClip] Frame 0
class CEventMovieClip extends MovieClip { var _parent; function CEventMovieClip () { super(); } function dispatchMessage(__numMessage, __objParam, __mcInvoker) { if (__numMessage == undefined) { __numMessage = MSG_UNDEFINED; } if (__mcInvoker == undefined) { __mcInvoker = this; } var _local3 = _parent; do { if (_local3 instanceof CEventMovieClip) { _local3.processMessage(__numMessage, __objParam, __mcInvoker); return(true); } _local3 = _local3._parent; } while (_local3 != _root); return(false); } function processMessage(__numMessage, __objParam, __mcInvoker) { dispatchMessage(__numMessage, __objParam, __mcInvoker); } static var MSG_UNDEFINED = 0; static var MSG_TOGGLEPRESS = 1; static var MSG_MOUSECLICK = 2; static var MSG_MOUSEOVER = 3; static var MSG_MOUSEOUT = 4; static var MSG_TARGETLOST = 5; static var MSG_READYTOSHOOT = 6; static var MSG_SPLASHEFFECT = 7; static var MSG_CREATEGFX = 8; static var MSG_ENEMYDEAD = 9; static var MSG_ENEMYPASSED = 10; static var MSG_HURRYATTACK = 11; static var MSG_QUITGAME = 12; static var MSG_PAUSEGAME = 13; }
Symbol 728 MovieClip [__Packages.CGame] Frame 0
class CGame extends CEventMovieClip { var _parent, _numState, _mcMainScreen, _mcOptionsScreen, _mcRulesScreen, _mcViewScoreScreen, _mcSaveScoreScreen, _mcMissionUI, _mcGamePaused, _mcQuitDialog, _mcGameOverDialog, _mapCurrent, _cursorCurrent, _layerCanvas, attachMovie, numMap, numProgram, _arrAbilities, _numMoneyEarned, numScore, _arrQuests1, _arrQuests2, _arrQuests3, _boolPaused, _boolInit, onEnterFrame, _numFunds, _numPopulation, _numProgram, _numProgramPtr, _numEnemiesTimer, _numEnemiesPeriod, _boolPausedBeforeQuit; function CGame () { super(); CSoundService.createSoundService(Const.SOUND_NAMES, _parent, 9999); numState = (STATE_MAINSCREEN); } function get numState() { return(_numState); } function set numState(__numValue) { if (_numState != __numValue) { _numState = __numValue; _mcMainScreen.removeMovieClip(); _mcOptionsScreen.removeMovieClip(); _mcRulesScreen.removeMovieClip(); _mcViewScoreScreen.removeMovieClip(); _mcSaveScoreScreen.removeMovieClip(); _mcMissionUI.removeMovieClip(); _mcGamePaused.removeMovieClip(); _mcQuitDialog.removeMovieClip(); _mcGameOverDialog.removeMovieClip(); _mapCurrent.removeMovieClip(); _cursorCurrent.removeMovieClip(); _layerCanvas.removeMovieClip(); switch (_numState) { case STATE_MAINSCREEN : attachMovie("id_mcMainScreen", "_mcMainScreen", 1); var _local3 = CSoundService.getSoundAt(Const.SND_MAINLOOP); _local3.setVolume(100); CSoundService.playLoopSound(Const.SND_MAINLOOP); break; case STATE_OPTIONSSCREEN : attachMovie("id_mcOptionsScreen", "_mcOptionsScreen", 1); _local3 = CSoundService.getSoundAt(Const.SND_MAINLOOP); _local3.setVolume(100); CSoundService.playLoopSound(Const.SND_MAINLOOP); break; case STATE_RULESSCREEN : attachMovie("id_mcRulesScreen", "_mcRulesScreen", 1); _local3 = CSoundService.getSoundAt(Const.SND_MAINLOOP); _local3.setVolume(100); CSoundService.playLoopSound(Const.SND_MAINLOOP); break; case STATE_VIEWSCORE : attachMovie("id_mcViewScore", "_mcViewScoreScreen", 1); _local3 = CSoundService.getSoundAt(Const.SND_MAINLOOP); _local3.setVolume(100); CSoundService.playLoopSound(Const.SND_MAINLOOP); break; case STATE_SAVESCORE : attachMovie("id_mcSaveScore", "_mcSaveScoreScreen", 1); _local3 = CSoundService.getSoundAt(Const.SND_MAINLOOP); _local3.setVolume(100); CSoundService.playLoopSound(Const.SND_MAINLOOP); break; case STATE_MISSION : attachMovie("id_map", "_mapCurrent", 1); attachMovie("id_layer", "_layerCanvas", 3); attachMovie("id_cursor", "_cursorCurrent", 4); attachMovie("id_missionUI", "_mcMissionUI", 5, {_x:448}); if (numMap == undefined) { numMap = 1; } if (numProgram == undefined) { numProgram = 0; } loadMission(numMap, numProgram); _cursorCurrent.initCursor(_mapCurrent); CBuilding.RANGE_BONUS = 0; _arrAbilities = new Array(); _arrAbilities.push(new CAbility(CAbility.TYPE_SELL, _mcMissionUI._mcBtnAbility1, 1)); _arrAbilities.push(new CAbility(CAbility.TYPE_MISSILE, _mcMissionUI._mcBtnAbility2, 0)); _arrAbilities.push(new CAbility(CAbility.TYPE_WALL, _mcMissionUI._mcBtnAbility3, 0)); _arrAbilities.push(new CAbility(CAbility.TYPE_TIMEBOMB, _mcMissionUI._mcBtnAbility4, 0)); _arrAbilities.push(new CAbility(CAbility.TYPE_MONEYBONUS, undefined, 0)); _arrAbilities.push(new CAbility(CAbility.TYPE_TOWERBONUS, undefined, 0)); numFunds = (INITIAL_FUNDS); _numMoneyEarned = 0; numPopulation = (INITIAL_POPULATION); numScore = 0; _arrQuests1 = new Array(new CQuest(CQuest.TYPE_TOWERS1_1), new CQuest(CQuest.TYPE_TOWERS1_2), new CQuest(CQuest.TYPE_TOWERS1_3), new CQuest(CQuest.TYPE_TOWERS1_4), new CQuest(CQuest.TYPE_TOWERS1_5)); _arrQuests2 = new Array(new CQuest(CQuest.TYPE_TOWERS2_1), new CQuest(CQuest.TYPE_TOWERS2_2), new CQuest(CQuest.TYPE_TOWERS2_3), new CQuest(CQuest.TYPE_TOWERS2_4), new CQuest(CQuest.TYPE_TOWERS2_5)); _arrQuests3 = new Array(new CQuest(CQuest.TYPE_STRUCTURES_1), new CQuest(CQuest.TYPE_STRUCTURES_2), new CQuest(CQuest.TYPE_STRUCTURES_3), new CQuest(CQuest.TYPE_STRUCTURES_4), new CQuest(CQuest.TYPE_STRUCTURES_5)); var _local2 = 1; while (_local2 <= 3) { this["_arrQuests" + _local2].current = -1; _local2++; } _boolPaused = false; _boolInit = true; onEnterFrame = oefProcessMission; _local3 = CSoundService.getSoundAt(Const.SND_MAINLOOP); _local3.setVolume(30); CSoundService.playLoopSound(Const.SND_MAINLOOP); } } //return(numState); } function get numFunds() { return(_numFunds); } function set numFunds(__numValue) { _numFunds = __numValue; if (_numFunds < 0) { _numFunds = 0; } _mcMissionUI.updatePriceColor(_numFunds); _arrQuests2[2].numPoints = _numFunds; if (_arrQuests2[2].boolActive) { _mcMissionUI.updateQuest(2, 3, _arrQuests2[2]); } _mcMissionUI.textFunds.text = String(_numFunds); //return(numFunds); } function get numPopulation() { return(_numPopulation); } function set numPopulation(__numValue) { _numPopulation = __numValue; if (_numPopulation <= 0) { _numPopulation = 0; } _mcMissionUI.textPopulation.text = String(_numPopulation); //return(numPopulation); } function get boolPaused() { return(_boolPaused); } function set boolPaused(__boolValue) { if (numState == STATE_MISSION) { _boolPaused = __boolValue; _mapCurrent.__set__boolPaused(__boolValue); if (_boolPaused) { attachMovie("mc_gamepaused", "_mcGamePaused", 100, {_x:80, _y:140}); onEnterFrame = null; _layerCanvas.clear(); _cursorCurrent.clear(); } else { _mcGamePaused.removeMovieClip(); onEnterFrame = oefProcessMission; } _mcMissionUI.boolEnabled = !_boolPaused; if (!_mapCurrent.__get__noEnemies()) { _mcMissionUI._btnStartAttack._visible = false; } } //return(boolPaused); } function processMessage(__numMessage, __objParam, __mcInvoker) { switch (__numMessage) { case CEventMovieClip.MSG_TOGGLEPRESS : var _local5 = CToggleButton(__mcInvoker); if (_mcMissionUI.hitTest(_root._xmouse, _root._ymouse, true)) { if (__objParam.isHit) { _local5.__set__boolPressed(!_local5.__get__boolPressed()); } else { _local5.__set__boolPressed(false); } _cursorCurrent.clear(); } if (__objParam.isHit && (_local5.__get__boolPressed())) { switch (_local5) { case _mcMissionUI._mcTabPage1._mcBtnBuilding1 : _cursorCurrent.attachBuilding(CBuilding.TYPE_TOWER_1_1); break; case _mcMissionUI._mcTabPage1._mcBtnBuilding2 : _cursorCurrent.attachBuilding(CBuilding.TYPE_TOWER_1_2); break; case _mcMissionUI._mcTabPage1._mcBtnBuilding3 : _cursorCurrent.attachBuilding(CBuilding.TYPE_TOWER_1_3); break; case _mcMissionUI._mcTabPage1._mcBtnBuilding4 : _cursorCurrent.attachBuilding(CBuilding.TYPE_TOWER_1_4); break; case _mcMissionUI._mcTabPage1._mcBtnBuilding5 : _cursorCurrent.attachBuilding(CBuilding.TYPE_TOWER_1_5); break; case _mcMissionUI._mcTabPage2._mcBtnBuilding1 : _cursorCurrent.attachBuilding(CBuilding.TYPE_TOWER_2_1); break; case _mcMissionUI._mcTabPage2._mcBtnBuilding2 : _cursorCurrent.attachBuilding(CBuilding.TYPE_TOWER_2_2); break; case _mcMissionUI._mcTabPage2._mcBtnBuilding3 : _cursorCurrent.attachBuilding(CBuilding.TYPE_TOWER_2_3); break; case _mcMissionUI._mcTabPage2._mcBtnBuilding4 : _cursorCurrent.attachBuilding(CBuilding.TYPE_TOWER_2_4); break; case _mcMissionUI._mcTabPage2._mcBtnBuilding5 : _cursorCurrent.attachBuilding(CBuilding.TYPE_TOWER_2_5); break; case _mcMissionUI._mcTabPage3._mcBtnBuilding1 : _cursorCurrent.attachBuilding(CBuilding.TYPE_BULIDING_1); break; case _mcMissionUI._mcTabPage3._mcBtnBuilding2 : _cursorCurrent.attachBuilding(CBuilding.TYPE_BULIDING_2); break; case _mcMissionUI._mcTabPage3._mcBtnBuilding3 : _cursorCurrent.attachBuilding(CBuilding.TYPE_BULIDING_3); break; case _mcMissionUI._mcTabPage3._mcBtnBuilding4 : _cursorCurrent.attachBuilding(CBuilding.TYPE_BULIDING_4); break; case _mcMissionUI._mcTabPage3._mcBtnBuilding5 : _cursorCurrent.attachBuilding(CBuilding.TYPE_BULIDING_5); break; case _mcMissionUI._mcBtnAbility1 : _cursorCurrent.attachAbility(CAbility.TYPE_SELL); break; case _mcMissionUI._mcBtnAbility2 : _cursorCurrent.attachAbility(CAbility.TYPE_MISSILE); break; case _mcMissionUI._mcBtnAbility3 : _cursorCurrent.attachAbility(CAbility.TYPE_WALL); break; case _mcMissionUI._mcBtnAbility4 : _cursorCurrent.attachAbility(CAbility.TYPE_TIMEBOMB); } } break; case CEventMovieClip.MSG_MOUSECLICK : if (((_cursorCurrent.__get__numState() != CCursor.STATE_CLEAR) && (!__objParam.free)) && (!__objParam.out)) { CSoundService.playSound(Const.SND_ERROR); } if ((((_cursorCurrent.__get__numState() == CCursor.STATE_BUILDING) && (__objParam.free)) && (!__objParam.out)) && (numFunds < _cursorCurrent.__get__buildingCursor()._numPrice)) { _mcMissionUI.showMessage("NOT ENOUGH\nMONEY!", true); } if ((((_cursorCurrent.__get__numState() == CCursor.STATE_BUILDING) && (__objParam.free)) && (!__objParam.out)) && (numFunds >= _cursorCurrent.__get__buildingCursor()._numPrice)) { _mapCurrent.addBuilding(_cursorCurrent.__get__buildingCursor()); numFunds = numFunds - _cursorCurrent.__get__buildingCursor()._numPrice; _cursorCurrent.refresh(); CSoundService.playSound(Const.SND_CONSTRUCTION); switch (_cursorCurrent.__get__buildingCursor().__get__numType()) { case CBuilding.TYPE_TOWER_1_1 : _arrQuests3[0].numPoints++; if (_arrQuests3[0].boolActive) { _mcMissionUI.updateQuest(3, 1, _arrQuests3[0]); } break; case CBuilding.TYPE_TOWER_1_3 : _arrQuests3[2].numPoints++; if (_arrQuests3[2].boolActive) { _mcMissionUI.updateQuest(3, 3, _arrQuests3[2]); } break; case CBuilding.TYPE_TOWER_2_2 : _arrQuests1[2].numPoints++; if (_arrQuests1[2].boolActive) { _mcMissionUI.updateQuest(1, 3, _arrQuests1[2]); } break; case CBuilding.TYPE_TOWER_2_1 : _arrQuests3[3].numPoints++; if (_arrQuests3[3].boolActive) { _mcMissionUI.updateQuest(3, 4, _arrQuests3[3]); } break; case CBuilding.TYPE_TOWER_2_3 : _arrQuests3[2].numPoints++; if (_arrQuests3[2].boolActive) { _mcMissionUI.updateQuest(3, 3, _arrQuests3[2]); } break; case CBuilding.TYPE_BULIDING_1 : _arrAbilities[1].numSources++; break; case CBuilding.TYPE_BULIDING_2 : _arrAbilities[2].numSources++; _arrQuests3[4].numPoints++; if (_arrQuests3[4].boolActive) { _mcMissionUI.updateQuest(3, 5, _arrQuests3[4]); } break; case CBuilding.TYPE_BULIDING_3 : _arrAbilities[4].numSources++; break; case CBuilding.TYPE_BULIDING_4 : _arrAbilities[5].numSources++; CBuilding.RANGE_BONUS = CBuilding.RANGE_BONUS + 0.1; CBlast.DAMAGE_BONUS = CBlast.DAMAGE_BONUS + 0.1; _arrQuests2[3].numPoints++; if (_arrQuests2[3].boolActive) { _mcMissionUI.updateQuest(2, 4, _arrQuests2[3]); } break; case CBuilding.TYPE_BULIDING_5 : _arrAbilities[3].numSources++; _arrQuests1[4].numPoints++; if (!_arrQuests1[4].boolActive) { break; } _mcMissionUI.updateQuest(1, 5, _arrQuests1[4]); } _arrQuests3[1].numPoints++; if (_arrQuests3[1].boolActive) { _mcMissionUI.updateQuest(3, 2, _arrQuests3[1]); } } if (((_cursorCurrent.__get__numState() == CCursor.STATE_ABILITY) && (__objParam.free)) && (!__objParam.out)) { var _local6; var _local9 = true; switch (_cursorCurrent.__get__numAbility()) { case CAbility.TYPE_SELL : _local6 = 0; var _local8 = _mapCurrent.getBuildingAt(__objParam.i, __objParam.j); numFunds = numFunds + Math.round(0.5 * _local8._numPrice); switch (_local8.__get__numType()) { case CBuilding.TYPE_TOWER_1_1 : _arrQuests3[0].numPoints--; if (_arrQuests3[0].boolActive) { _mcMissionUI.updateQuest(3, 1, _arrQuests3[0]); } break; case CBuilding.TYPE_TOWER_1_3 : _arrQuests3[2].numPoints--; if (_arrQuests3[2].boolActive) { _mcMissionUI.updateQuest(3, 3, _arrQuests3[2]); } break; case CBuilding.TYPE_TOWER_2_1 : _arrQuests3[3].numPoints--; if (_arrQuests3[3].boolActive) { _mcMissionUI.updateQuest(3, 4, _arrQuests3[3]); } break; case CBuilding.TYPE_TOWER_2_2 : _arrQuests1[2].numPoints--; if (_arrQuests1[2].boolActive) { _mcMissionUI.updateQuest(1, 3, _arrQuests1[2]); } break; case CBuilding.TYPE_TOWER_2_3 : _arrQuests3[2].numPoints--; if (_arrQuests3[2].boolActive) { _mcMissionUI.updateQuest(3, 3, _arrQuests3[2]); } break; case CBuilding.TYPE_BULIDING_1 : _arrAbilities[1].numSources--; break; case CBuilding.TYPE_BULIDING_2 : _arrAbilities[2].numSources--; _arrQuests3[4].numPoints--; if (_arrQuests3[4].boolActive) { _mcMissionUI.updateQuest(3, 5, _arrQuests3[4]); } break; case CBuilding.TYPE_BULIDING_3 : _arrAbilities[4].numSources--; break; case CBuilding.TYPE_BULIDING_4 : _arrAbilities[5].numSources--; CBuilding.RANGE_BONUS = CBuilding.RANGE_BONUS - 0.1; CBlast.DAMAGE_BONUS = CBlast.DAMAGE_BONUS - 0.1; _arrQuests2[3].numPoints--; if (_arrQuests2[3].boolActive) { _mcMissionUI.updateQuest(2, 4, _arrQuests2[3]); } break; case CBuilding.TYPE_BULIDING_5 : _arrAbilities[3].numSources--; _arrQuests1[4].numPoints--; if (!_arrQuests1[4].boolActive) { break; } _mcMissionUI.updateQuest(1, 5, _arrQuests1[4]); } CSoundService.playSound(Const.SND_SELL); _arrQuests3[1].numPoints--; if (_arrQuests3[1].boolActive) { _mcMissionUI.updateQuest(3, 2, _arrQuests3[1]); } _mapCurrent.deleteBuilding(_local8); _layerCanvas.clear(); break; case CAbility.TYPE_MISSILE : _local6 = 1; var _local12 = {x:224, y:500, direction:new CVector(0, -1), altitude:CMap.ALTITUDE_BOTH, type:CBlast.TYPE_MISSILE, targetsEnemy:false, targetX:_root._xmouse, targetY:_root._ymouse, speed:6}; _mapCurrent.addBlast(_local12); CSoundService.playSound(Const.SND_NUCLEARLAUNCH); if (_arrQuests1[1].boolActive) { _arrQuests1[1].numPoints++; _mcMissionUI.updateQuest(1, 2, _arrQuests1[1]); } break; case CAbility.TYPE_WALL : _local6 = 2; if (__objParam.free && (!__objParam.out)) { if (_mapCurrent.isHitWithGroundEnemy(__mcInvoker.mcCursor)) { _mcMissionUI.showMessage("YOU CAN'T INSTALL WALL\nOVER THE ENEMY!", true); _local9 = false; break; } if (!_mapCurrent.markCacheMatrix(__objParam.i, __objParam.j)) { _mcMissionUI.showMessage("YOU CAN'T\nBLOCK PATH!", true); _local9 = false; } else { _mapCurrent.addWall(__objParam.i, __objParam.j); _mapCurrent.toggleGrid(false); CSoundService.playSound(Const.SND_CONSTRUCTION); _arrQuests2[4].numPoints++; if (_arrQuests2[4].boolActive) { _mcMissionUI.updateQuest(2, 5, _arrQuests2[4]); } break; _local6 = 3; _mapCurrent.applySplashEffect(new CEffect(CEffect.TYPE_TIMESTOP, undefined, 120), _root._xmouse, _root._ymouse, 100, CMap.ALTITUDE_BOTH); CSoundService.playSound(Const.SND_TIMESTOP); } } break; case CAbility.TYPE_TIMEBOMB : _local6 = 3; _mapCurrent.applySplashEffect(new CEffect(CEffect.TYPE_TIMESTOP, undefined, 120), _root._xmouse, _root._ymouse, 100, CMap.ALTITUDE_BOTH); CSoundService.playSound(Const.SND_TIMESTOP); } if (_local9) { if (_arrAbilities[_local6].reset()) { _cursorCurrent.clear(); } } } break; case CEventMovieClip.MSG_MOUSEOVER : if ((((__mcInvoker instanceof CBuilding) && (__mcInvoker._boolTower)) && ((_cursorCurrent.__get__numState() == CCursor.STATE_CLEAR) || (__objParam.forceShow))) && (!boolPaused)) { var _local10 = {x:__mcInvoker._mcObject.mcGun._x, y:__mcInvoker._mcObject.mcGun._y}; __mcInvoker._mcObject.localToGlobal(_local10); _layerCanvas.globalToLocal(_local10); var _local15 = _layerCanvas.addElement("id_tower_range", {_x:_local10.x, _y:_local10.y, _width:2 * Math.floor(__mcInvoker.numRange), _height:2 * Math.floor(__mcInvoker.numRange)}); } break; case CEventMovieClip.MSG_MOUSEOUT : if (((__mcInvoker instanceof CBuilding) && (__mcInvoker._boolTower)) && ((_cursorCurrent.__get__numState() == CCursor.STATE_CLEAR) || (__objParam.forceHide))) { _layerCanvas.clear(); } break; case CEventMovieClip.MSG_TARGETLOST : if (__mcInvoker instanceof CBuilding) { var _local10 = {x:__mcInvoker._mcObject.mcGun._x, y:__mcInvoker._mcObject.mcGun._y}; __mcInvoker._mcObject.localToGlobal(_local10); __mcInvoker._enemyTarget = _mapCurrent.getNearestEnemy(_local10.x, _local10.y, Math.floor(__mcInvoker._numRange * (1 + CBuilding.RANGE_BONUS)), __mcInvoker._numAimingAltitude); } if (__mcInvoker instanceof CBlast) { var _local10 = {x:__mcInvoker._mcObject._x, y:__mcInvoker._mcObject._y}; __mcInvoker.localToGlobal(_local10); __mcInvoker._mcTarget = _mapCurrent.getNearestEnemy(_local10.x, _local10.y, __objParam.range, __objParam.alt, __objParam.forbidden); } break; case CEventMovieClip.MSG_READYTOSHOOT : _mapCurrent.addBlast(__objParam); break; case CEventMovieClip.MSG_SPLASHEFFECT : _mapCurrent.applySplashEffect(__objParam.effect, __objParam.centerX, __objParam.centerY, __objParam.radius, __objParam.altitude); break; case CEventMovieClip.MSG_CREATEGFX : _mapCurrent.addGFX(__objParam); break; case CEventMovieClip.MSG_ENEMYDEAD : var _local11 = Math.round(__mcInvoker._numReward * (1 + (0.5 * _arrAbilities[4].numSources))); numFunds = numFunds + _local11; _numMoneyEarned = _numMoneyEarned + _local11; _mapCurrent.addGFX(__objParam); if (__mcInvoker.numAltitude == CMap.ALTITUDE_AIR) { _arrQuests2[1].numPoints++; if (_arrQuests2[1].boolActive) { _mcMissionUI.updateQuest(2, 2, _arrQuests2[1]); } } if (__mcInvoker.numAltitude == CMap.ALTITUDE_AIR) { _arrQuests1[3].numPoints++; if (_arrQuests1[3].boolActive) { _mcMissionUI.updateQuest(1, 4, _arrQuests1[3]); } } __mcInvoker.remove(); if (_mapCurrent.__get__noEnemies()) { if (_numProgramPtr >= PROGRAMS[_numProgram].length) { showGameOverDialog(true); } else { _mcMissionUI._btnStartAttack._visible = true; } } break; case CEventMovieClip.MSG_ENEMYPASSED : numPopulation = ((numPopulation-1)); __mcInvoker.remove(); CSoundService.playSound(Const.SND_POPDEAD, true); if (numPopulation == 0) { showGameOverDialog(false); } else if (_mapCurrent.__get__noEnemies()) { if (_numProgramPtr >= PROGRAMS[_numProgram].length) { showGameOverDialog(true); } else { _mcMissionUI._btnStartAttack._visible = true; } } break; case CEventMovieClip.MSG_HURRYATTACK : _numEnemiesTimer = _numEnemiesPeriod; for (var _local7 in _arrAbilities) { _arrAbilities[_local7].numTimer = _arrAbilities[_local7].numTimer - _numEnemiesTimer; } break; case CEventMovieClip.MSG_QUITGAME : _boolPausedBeforeQuit = boolPaused; boolPaused = (true); _mcMissionUI.switchServiceButtonsVisibility(false); attachMovie("mc_quitdialog", "_mcQuitDialog", 100, {_x:80, _y:140}); break; case CEventMovieClip.MSG_PAUSEGAME : boolPaused = (__objParam.pause); } } function loadMission(__numMapID, __numProgramID) { _numProgram = __numProgramID; _numProgramPtr = 0; _numEnemiesPeriod = WAVE_TIME[numProgram]; _numEnemiesTimer = 0; _mapCurrent.loadMap(__numMapID); updateWaveScreen(PROGRAMS[_numProgram][_numProgramPtr]); } function createAttackWave(__objWave) { var _local4; if (__objWave.alt == WAVE_ALT_GROUND) { switch (__objWave.size) { case WAVE_SIZE_TINY : _local4 = CEnemy.TYPE_BAGGI; break; case WAVE_SIZE_SMALL : _local4 = CEnemy.TYPE_TRICYCLE; break; case WAVE_SIZE_MEDIUM : _local4 = CEnemy.TYPE_CAR; break; case WAVE_SIZE_BIG : _local4 = CEnemy.TYPE_HOWERTANK; } } else { switch (__objWave.size) { case WAVE_SIZE_TINY : _local4 = CEnemy.TYPE_PLANE; break; case WAVE_SIZE_SMALL : _local4 = CEnemy.TYPE_INSECT; break; case WAVE_SIZE_MEDIUM : _local4 = CEnemy.TYPE_SCORPIO; } } var _local5; switch (__objWave.effect) { case WAVE_EFFECT_FAST : _local5 = new CEffect(CEffect.TYPE_FAST, {percent:0.5}, -1); break; case WAVE_EFFECT_REPAIR : _local5 = new CEffect(CEffect.TYPE_REPAIR, {percent:0.005}, -1); break; case WAVE_EFFECT_SHIELD : _local5 = new CEffect(CEffect.TYPE_SHIELD, {pass:0.1}, -1); } var _local2 = 0; while (_local2 < __objWave.qty) { _mapCurrent.addEnemy(_local4, __objWave.level, _local5.makeCopy(), _local2); _local2++; } } function updateWaveScreen(__objWave) { if (__objWave != undefined) { var _local2 = ("Next attack: #" + (_numProgramPtr + 1).toString()) + newline; _local2 = _local2 + (String(__objWave.qty) + " "); switch (__objWave.size) { case WAVE_SIZE_TINY : _local2 = _local2 + "TINY "; break; case WAVE_SIZE_SMALL : _local2 = _local2 + "SMALL "; break; case WAVE_SIZE_MEDIUM : _local2 = _local2 + "MEDIUM "; break; case WAVE_SIZE_BIG : _local2 = _local2 + "BIG "; } _local2 = _local2 + "unit"; if (__objWave.qty > 1) { _local2 = _local2 + "s"; } _local2 = _local2 + ((" Lv[" + __objWave.level.toString()) + "]"); switch (__objWave.alt) { case WAVE_ALT_GROUND : _local2 = _local2 + "\nGROUND"; break; case WAVE_ALT_AIR : _local2 = _local2 + "\nAIR"; } switch (__objWave.effect) { case WAVE_EFFECT_FAST : _local2 = _local2 + " / FAST"; break; case WAVE_EFFECT_REPAIR : _local2 = _local2 + " / AUTOREPAIR"; break; case WAVE_EFFECT_SHIELD : _local2 = _local2 + " / SHIELDED"; } _mcMissionUI.textScreen.text = _local2; } if (_numProgramPtr >= PROGRAMS[_numProgram].length) { _mcMissionUI.textScreen._visible = false; _mcMissionUI.textTimer._visible = false; } var _local3 = Math.floor((_numEnemiesPeriod - _numEnemiesTimer) / 24); if (_local3 < 0) { _local3 = 0; } var _local5 = Math.floor(_local3 / 60); _local3 = _local3 - (_local5 * 60); _mcMissionUI.textTimer.text = (((((_local5 < 10) ? "0" : "") + _local5.toString()) + ":") + ((_local3 < 10) ? "0" : "")) + _local3.toString(); } function onQuitDialogClose(__boolQuit) { if (__boolQuit) { numState = (STATE_MAINSCREEN); } else { _mcQuitDialog.removeMovieClip(); boolPaused = (_boolPausedBeforeQuit); _mcMissionUI.switchServiceButtonsVisibility(true); } CSoundService.playSound(Const.SND_SWITCH); } function showGameOverDialog(__boolWin) { boolPaused = (true); attachMovie("mc_gameoverdialog", "_mcGameOverDialog", 100, {_x:40, _y:85}); if (!__boolWin) { _mcGameOverDialog.mcMessage.gotoAndStop(2); } _mcMissionUI.switchServiceButtonsVisibility(false); _mcGameOverDialog.textMoneyQty.text = _numMoneyEarned.toString(); _mcGameOverDialog.textMoneyMult.text = "x" + MONEY_SCORE_MULT.toString(); var _local2 = _numMoneyEarned * MONEY_SCORE_MULT; _mcGameOverDialog.textMoneyScore.text = _local2.toString(); _mcGameOverDialog.textPopQty.text = numPopulation.toString(); _mcGameOverDialog.textPopMult.text = "x" + POP_SCORE_MULT.toString(); var _local3 = numPopulation * POP_SCORE_MULT; _mcGameOverDialog.textPopScore.text = _local3.toString(); _mcGameOverDialog.textBonus.text = ("+" + (SCORE_BONUS[numProgram] * 100)) + " %"; numScore = Math.round((_local2 + _local3) * (1 + SCORE_BONUS[numProgram])); _mcGameOverDialog.textTotalScore.text = numScore.toString(); } function onGameOverDialogClose() { numState = (STATE_SAVESCORE); CSoundService.playSound(Const.SND_SWITCH); } function oefProcessMission() { if (_boolInit) { _arrAbilities[1].boolAvaliable = false; _arrAbilities[2].boolAvaliable = false; _arrAbilities[3].boolAvaliable = false; _boolInit = false; } if (_numEnemiesTimer > _numEnemiesPeriod) { _numEnemiesTimer = 0; createAttackWave(PROGRAMS[_numProgram][_numProgramPtr]); _numProgramPtr++; updateWaveScreen(PROGRAMS[_numProgram][_numProgramPtr]); _mcMissionUI._btnStartAttack._visible = false; } else { _numEnemiesTimer++; updateWaveScreen(); } for (var _local3 in _arrAbilities) { _arrAbilities[_local3].tick(); } if (!Const.DISABLE_QUESTS) { var _local3 = 1; while (_local3 <= 3) { var _local2 = this["_arrQuests" + _local3]; if (_local2.current == -1) { _local2.current = 0; _mcMissionUI.changeBBState(_local3, _local2.current + 1, CMissionUIPanel.BB_STATE_QUEST); _local2[_local2.current].boolActive = true; _mcMissionUI.updateQuest(_local3, _local2.current + 1, _local2[_local2.current]); } if (_local2[_local2.current].boolComplete) { _mcMissionUI.changeBBState(_local3, _local2.current + 1, CMissionUIPanel.BB_STATE_SHOW); _mcMissionUI.changeBBState(_local3, _local2.current + 2, CMissionUIPanel.BB_STATE_QUEST); _local2[_local2.current].boolActive = false; _local2[_local2.current + 1].boolActive = true; _mcMissionUI.updateQuest(_local3, _local2.current + 2, _local2[_local2.current + 1]); _mcMissionUI.updatePriceColor(numFunds); if (_local2[_local2.current].numPointCap > 0) { _mcMissionUI.showMessage("Quest complete!\n" + _local2[_local2.current].strCompleteMsg); } _local2.current++; } _local3++; } } _mapCurrent.process(); } static var STATE_MAINSCREEN = 1; static var STATE_OPTIONSSCREEN = 2; static var STATE_RULESSCREEN = 3; static var STATE_VIEWSCORE = 4; static var STATE_SAVESCORE = 5; static var STATE_MISSION = 6; static var INITIAL_FUNDS = 350; static var INITIAL_POPULATION = 10; static var MONEY_SCORE_MULT = 1; static var POP_SCORE_MULT = 10000; static var WAVE_ALT_GROUND = 1; static var WAVE_ALT_AIR = 2; static var WAVE_SIZE_TINY = 1; static var WAVE_SIZE_SMALL = 2; static var WAVE_SIZE_MEDIUM = 3; static var WAVE_SIZE_BIG = 4; static var WAVE_EFFECT_FAST = 1; static var WAVE_EFFECT_SHIELD = 2; static var WAVE_EFFECT_REPAIR = 3; static var WAVE_TIME = new Array(2880, 2160, 1440); static var SCORE_BONUS = new Array(0, 0.25, 0.5); static var PROGRAMS = new Array(new Array({alt:WAVE_ALT_GROUND, qty:1, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:2, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:1, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:2, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_AIR, qty:1, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_AIR, qty:1, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:1, size:WAVE_SIZE_MEDIUM, level:1}, {alt:WAVE_ALT_AIR, qty:2, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:2, size:WAVE_SIZE_MEDIUM, level:1}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_AIR, qty:2, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:2, size:WAVE_SIZE_TINY, level:1, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:1, size:WAVE_SIZE_MEDIUM, level:1, effect:WAVE_EFFECT_REPAIR}, {alt:WAVE_ALT_AIR, qty:1, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_MEDIUM, level:1}, {alt:WAVE_ALT_AIR, qty:2, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_AIR, qty:2, size:WAVE_SIZE_MEDIUM, level:1}, {alt:WAVE_ALT_GROUND, qty:2, size:WAVE_SIZE_BIG, level:1}, {alt:WAVE_ALT_GROUND, qty:2, size:WAVE_SIZE_BIG, level:1, effect:WAVE_EFFECT_REPAIR}), new Array({alt:WAVE_ALT_GROUND, qty:1, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:3, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_AIR, qty:1, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:1, size:WAVE_SIZE_SMALL, level:1, effect:WAVE_EFFECT_REPAIR}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_TINY, level:1, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_MEDIUM, level:1}, {alt:WAVE_ALT_AIR, qty:8, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:10, size:WAVE_SIZE_MEDIUM, level:1}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_TINY, level:2}, {alt:WAVE_ALT_GROUND, qty:1, size:WAVE_SIZE_BIG, level:1}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_AIR, qty:2, size:WAVE_SIZE_MEDIUM, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1, effect:WAVE_EFFECT_REPAIR}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_TINY, level:2}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_SMALL, level:1, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_AIR, qty:12, size:WAVE_SIZE_TINY, level:2}, {alt:WAVE_ALT_AIR, qty:8, size:WAVE_SIZE_TINY, level:1, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_GROUND, qty:10, size:WAVE_SIZE_SMALL, level:2}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_MEDIUM, level:2}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:3}, {alt:WAVE_ALT_GROUND, qty:2, size:WAVE_SIZE_BIG, level:1, effect:WAVE_EFFECT_REPAIR}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_MEDIUM, level:2}, {alt:WAVE_ALT_GROUND, qty:2, size:WAVE_SIZE_TINY, level:1, effect:WAVE_EFFECT_SHIELD}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_MEDIUM, level:3}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_SMALL, level:3}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_MEDIUM, level:3}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:2, effect:WAVE_EFFECT_SHIELD}, {alt:WAVE_ALT_AIR, qty:1, size:WAVE_SIZE_MEDIUM, level:1, effect:WAVE_EFFECT_SHIELD}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_BIG, level:3, effect:WAVE_EFFECT_FAST}), new Array({alt:WAVE_ALT_GROUND, qty:1, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_AIR, qty:1, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:1, size:WAVE_SIZE_SMALL, level:1, effect:WAVE_EFFECT_REPAIR}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_TINY, level:1, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_MEDIUM, level:1}, {alt:WAVE_ALT_AIR, qty:8, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_TINY, level:1}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_MEDIUM, level:1}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_TINY, level:2}, {alt:WAVE_ALT_GROUND, qty:1, size:WAVE_SIZE_BIG, level:1}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_SMALL, level:1}, {alt:WAVE_ALT_AIR, qty:2, size:WAVE_SIZE_MEDIUM, level:1}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:1, effect:WAVE_EFFECT_REPAIR}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_TINY, level:2}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_SMALL, level:1, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_AIR, qty:12, size:WAVE_SIZE_TINY, level:2}, {alt:WAVE_ALT_AIR, qty:8, size:WAVE_SIZE_TINY, level:1, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_SMALL, level:2}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_MEDIUM, level:2}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:3}, {alt:WAVE_ALT_GROUND, qty:2, size:WAVE_SIZE_BIG, level:1, effect:WAVE_EFFECT_REPAIR}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_MEDIUM, level:2}, {alt:WAVE_ALT_GROUND, qty:2, size:WAVE_SIZE_TINY, level:1, effect:WAVE_EFFECT_SHIELD}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_MEDIUM, level:3}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_SMALL, level:3}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_MEDIUM, level:3}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_SMALL, level:2, effect:WAVE_EFFECT_SHIELD}, {alt:WAVE_ALT_AIR, qty:1, size:WAVE_SIZE_MEDIUM, level:1, effect:WAVE_EFFECT_SHIELD}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_SMALL, level:4}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_MEDIUM, level:4}, {alt:WAVE_ALT_GROUND, qty:1, size:WAVE_SIZE_BIG, level:2, effect:WAVE_EFFECT_REPAIR}, {alt:WAVE_ALT_GROUND, qty:2, size:WAVE_SIZE_BIG, level:2, effect:WAVE_EFFECT_SHIELD}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_MEDIUM, level:2, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_AIR, qty:8, size:WAVE_SIZE_SMALL, level:3}, {alt:WAVE_ALT_GROUND, qty:12, size:WAVE_SIZE_MEDIUM, level:3}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_BIG, level:3, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_GROUND, qty:8, size:WAVE_SIZE_TINY, level:5, effect:WAVE_EFFECT_FAST}, {alt:WAVE_ALT_GROUND, qty:4, size:WAVE_SIZE_BIG, level:4, effect:WAVE_EFFECT_REPAIR}, {alt:WAVE_ALT_AIR, qty:4, size:WAVE_SIZE_MEDIUM, level:4, effect:WAVE_EFFECT_REPAIR})); }
Symbol 729 MovieClip [__Packages.CMap] Frame 0
class CMap extends MovieClip { var attachMovie, _matrixCache, _boolPaused, _layerBuildings, _layerEnemies1, _layerEnemies2, _layerEffects1, _layerEffects2, _layerBlasts1, _matrixPattern, localToGlobal, _mcGrid, _layerWalls, _layerWallShadows, _layerInfo; function CMap () { super(); attachMovie("id_layer", "_layerEnemies1", 2); attachMovie("id_layer", "_layerWallShadows", 3); attachMovie("id_layer", "_layerWalls", 4); attachMovie("id_layer", "_layerEffects1", 5); attachMovie("id_layer", "_layerBuildings", 8); attachMovie("id_layer", "_layerBlasts1", 9); attachMovie("id_layer", "_layerEffects2", 10); attachMovie("id_layer", "_layerEnemies2", 11); attachMovie("id_layer", "_layerInfo", 12); _matrixCache = new Array(Const.MATRIX_WIDTH * Const.MATRIX_HEIGHT); _matrixCache.width = Const.MATRIX_WIDTH; _matrixCache.height = Const.MATRIX_HEIGHT; _boolPaused = false; } function get buildingsLayer() { return(_layerBuildings); } function get enemiesLayer1() { return(_layerEnemies1); } function get enemiesLayer2() { return(_layerEnemies2); } function get noEnemies() { for (var _local2 in _layerEnemies1) { if (_layerEnemies1[_local2] instanceof CEnemy) { return(false); } } for (var _local2 in _layerEnemies2) { if (_layerEnemies2[_local2] instanceof CEnemy) { return(false); } } return(true); } function get boolPaused() { return(_boolPaused); } function set boolPaused(__boolValue) { _boolPaused = __boolValue; _layerEffects1.__set__boolPaused(__boolValue); _layerEffects2.__set__boolPaused(__boolValue); _layerBlasts1.__set__boolPaused(__boolValue); _layerEnemies1.__set__boolPaused(__boolValue); _layerEnemies2.__set__boolPaused(__boolValue); //return(boolPaused); } function loadMap(__numIndex) { _matrixPattern = new Array(Const.MATRIX_WIDTH * Const.MATRIX_HEIGHT); _matrixPattern.width = Const.MATRIX_WIDTH; _matrixPattern.height = Const.MATRIX_HEIGHT; var _local5 = attachMovie((SYMBOL_BASE + __numIndex.toString()) + "_matrix", "_mcMatrix", 1); if (_local5 == undefined) { Const.TRACE((("ERROR! Couldn't load map " + SYMBOL_BASE) + __numIndex.toString()) + "_matrix"); return(false); } var _local4 = {x:0, y:0}; localToGlobal(_local4); var _local3 = 0; while (_local3 < Const.MATRIX_HEIGHT) { var _local2 = 0; while (_local2 < Const.MATRIX_WIDTH) { if (_local5.hitTest((_local4.x + (Const.MATRIX_CELL_WIDTH / 2)) + (_local2 * Const.MATRIX_CELL_WIDTH), (_local4.y + (Const.MATRIX_CELL_HEIGHT / 2)) + (_local3 * Const.MATRIX_CELL_HEIGHT), true)) { _matrixPattern[(_local3 * Const.MATRIX_WIDTH) + _local2] = CELL_ROCK; } else { _matrixPattern[(_local3 * Const.MATRIX_WIDTH) + _local2] = CELL_VOID; } _local2++; } _local3++; } _local5.removeMovieClip(); attachMovie((SYMBOL_BASE + __numIndex.toString()) + "_sand", "_mcSand", 1); attachMovie((SYMBOL_BASE + __numIndex.toString()) + "_landscape", "_mcLandscape", 6); attachMovie("id_grid", "_mcGrid", 7); _mcGrid._visible = false; markCacheMatrix(); writeMatrixFromCache(); return(true); } function markCacheMatrix(__numNewWallI, __numNewWallJ) { var _local7 = 0; while (_local7 < _matrixPattern.length) { _matrixCache[_local7] = _matrixPattern[_local7]; _local7++; } var _local2 = new Array(); var _local3; if ((__numNewWallI == undefined) || (__numNewWallJ == undefined)) { _local3 = CELL_VOID; } else if (_matrixCache[(__numNewWallI * _matrixCache.width) + __numNewWallJ] <= CELL_VOID) { _local3 = CELL_VOID - _matrixCache[(__numNewWallI * _matrixCache.width) + __numNewWallJ]; _matrixCache[(__numNewWallI * _matrixCache.width) + __numNewWallJ] = CELL_WALL; } _local7 = 0; while (_local7 < _matrixCache.height) { var _local4 = 0; while (_local4 < _matrixCache.width) { if (_matrixCache[(_local7 * _matrixCache.width) + _local4] < CELL_VOID) { if (_matrixCache[(_local7 * _matrixCache.width) + _local4] == (CELL_VOID - _local3)) { _local2.push({i:_local7, j:_local4}); } else if (_matrixCache[(_local7 * _matrixCache.width) + _local4] < (CELL_VOID - _local3)) { _matrixCache[(_local7 * _matrixCache.width) + _local4] = CELL_VOID; } } _local4++; } _local7++; } if (_local3 == CELL_VOID) { _local3 = 1; _local2 = getExitCells(); for (_local7 in _local2) { _matrixCache[(_local2[_local7].i * _matrixCache.width) + _local2[_local7].j] = CELL_VOID - _local3; } } var _local5 = false; var _local6; _local3++; while (!_local5) { _local6 = new Array(); _local5 = true; for (var _local8 in _local2) { _local7 = Math.max(_local2[_local8].i - 1, 0); while (_local7 <= Math.min(_local2[_local8].i + 1, _matrixCache.height - 1)) { var _local4 = Math.max(_local2[_local8].j - 1, 0); while (_local4 <= Math.min(_local2[_local8].j + 1, _matrixCache.width - 1)) { if (((_local7 != _local2[_local8].i) && (_local4 != _local2[_local8].j)) || ((_local7 == _local2[_local8].i) && (_local4 == _local2[_local8].j))) { } else if (_matrixCache[(_local7 * _matrixCache.width) + _local4] == CELL_VOID) { _matrixCache[(_local7 * _matrixCache.width) + _local4] = CELL_VOID - _local3; _local6.push({i:_local7, j:_local4}); _local5 = false; } _local4++; } _local7++; } } _local3++; _local2 = _local6; } _local7 = 0; while (_local7 < _matrixCache.length) { if (_matrixCache[_local7] == CELL_VOID) { return(false); } _local7++; } return(true); } function writeMatrixFromCache() { var _local2 = 0; while (_local2 < _matrixPattern.length) { _matrixPattern[_local2] = _matrixCache[_local2]; _local2++; } } function addWall(__numCellI, __numCellJ) { _layerWalls.addElement("id_cursor_wall", {_x:__numCellJ * Const.MATRIX_CELL_WIDTH, _y:__numCellI * Const.MATRIX_CELL_HEIGHT}); _layerWallShadows.addElement("id_wall_shadow", {_x:__numCellJ * Const.MATRIX_CELL_WIDTH, _y:__numCellI * Const.MATRIX_CELL_HEIGHT}); writeMatrixFromCache(); trace(((("Added wall at [" + __numCellI) + ",") + __numCellJ) + "]"); var _local2; for (var _local3 in _layerEnemies1) { if (_layerEnemies1[_local3] instanceof CEnemy) { _local2 = CEnemy(_layerEnemies1[_local3]); trace(((("Enemy at [" + _local2._numCellI) + ",") + _local2._numCellJ) + "]"); _local2.updateWaypoint(); } } } function cellHitTest(__numX, __numY) { var _local2 = {out:false, i:0, j:0, x:0, y:0}; var _local3 = {x:0, y:0}; localToGlobal(_local3); _local2.j = Math.floor((__numX - _local3.x) / Const.MATRIX_CELL_WIDTH); _local2.i = Math.floor((__numY - _local3.y) / Const.MATRIX_CELL_HEIGHT); if (_local2.i < 0) { _local2.out = true; _local2.j = undefined; } if (_local2.j < 0) { _local2.out = true; _local2.j = undefined; } if (_local2.j >= _matrixPattern.width) { _local2.out = true; _local2.j = undefined; } if (_local2.i >= _matrixPattern.height) { _local2.out = true; _local2.j = undefined; } _local2.x = _local3.x + (_local2.j * Const.MATRIX_CELL_WIDTH); _local2.y = _local3.y + (_local2.i * Const.MATRIX_CELL_HEIGHT); return(_local2); } function checkPlacingSpace(__numI, __numJ, __matrixPattern) { if ((((__numI < 0) || (__numJ < 0)) || ((__numI + __matrixPattern.height) > _matrixPattern.height)) || ((__numJ + __matrixPattern.width) > _matrixPattern.width)) { return(false); } var _local3 = 0; while (_local3 < __matrixPattern.height) { var _local2 = 0; while (_local2 < __matrixPattern.width) { if (((__matrixPattern[(_local3 * __matrixPattern.width) + _local2] != CBuilding.CELL_VOID) && (_matrixPattern[((_local3 + __numI) * _matrixPattern.width) + (_local2 + __numJ)] != CELL_ROCK)) && (_matrixPattern[((_local3 + __numI) * _matrixPattern.width) + (_local2 + __numJ)] != CELL_WALL)) { return(false); } _local2++; } _local3++; } return(true); } function checkBuildingSpace(__numI, __numJ) { return(_matrixPattern[(__numI * _matrixPattern.width) + __numJ] >= CELL_BUILDING); } function checkWallSpace(__numI, __numJ) { if (((((_matrixPattern[(__numI * _matrixPattern.width) + __numJ] > CELL_VOID) || (__numI == 0)) || (__numJ == 0)) || (__numI == (_matrixPattern.height - 1))) || (__numJ == (_matrixPattern.width - 1))) { return(false); } return(true); } function isHitWithGroundEnemy(__mcTarget) { var _local2 = false; for (var _local4 in _layerEnemies1) { if ((_layerEnemies1[_local4] instanceof CEnemy) && (_layerEnemies1[_local4].hitTest(__mcTarget))) { _local2 = true; break; } } return(_local2); } function addBuilding(__buildingSource) { var _local2 = _layerBuildings.addElement("id_building"); if (!_local2.copyFrom(__buildingSource)) { return(false); } _local2.numState = CBuilding.STATE_INSTALLED; var _local4 = 0; while (_local4 < _local2._matrixPattern.height) { var _local3 = 0; while (_local3 < _local2._matrixPattern.width) { if (_local2._matrixPattern[(_local4 * _local2._matrixPattern.width) + _local3] == CBuilding.CELL_OCCUPIED) { _matrixPattern[((_local4 + _local2._numCellI) * _matrixPattern.width) + (_local3 + _local2._numCellJ)] = CELL_BUILDING + _local2.getDepth(); } _local3++; } _local4++; } return(true); } function getBuildingAt(__numI, __numJ) { var _local2 = _matrixPattern[(__numI * _matrixPattern.width) + __numJ] - CELL_BUILDING; return(CBuilding(_layerBuildings.getInstanceAtDepth(_local2))); } function deleteBuilding(__bldTarget) { if (__bldTarget._parent == _layerBuildings) { var _local4 = 0; while (_local4 < __bldTarget._matrixPattern.height) { var _local2 = 0; while (_local2 < __bldTarget._matrixPattern.width) { if (__bldTarget._matrixPattern[(_local4 * __bldTarget._matrixPattern.width) + _local2] == CBuilding.CELL_OCCUPIED) { _matrixPattern[((_local4 + __bldTarget._numCellI) * _matrixPattern.width) + (_local2 + __bldTarget._numCellJ)] = CELL_ROCK; } _local2++; } _local4++; } __bldTarget.removeMovieClip(); } } function addEnemy(__numType, __numLevel, __effectInitial, __numWaveIndex) { var _local5 = false; if (((__numType == CEnemy.TYPE_PLANE) || (__numType == CEnemy.TYPE_INSECT)) || (__numType == CEnemy.TYPE_SCORPIO)) { _local5 = true; } var _local3; var _local4; if (_local5) { _local3 = 0; _local4 = 4 + random(6); } else { var _local6 = getEntryCells(); var _local7 = random(_local6.length); _local3 = _local6[_local7].i; _local4 = _local6[_local7].j; } var _local2; if (_local5) { _local2 = _layerEnemies2.addElement("id_enemy", {_mapReference:this, _numCellI:_local3, _numCellJ:_local4}); _local2.numAltitude = ALTITUDE_AIR; } else { _local2 = _layerEnemies1.addElement("id_enemy", {_mapReference:this, _numCellI:_local3, _numCellJ:_local4}); _local2.numAltitude = ALTITUDE_GROUND; } _local2._x = (_local4 * Const.MATRIX_CELL_WIDTH) + (Const.MATRIX_CELL_WIDTH / 2); _local2._y = (_local3 * Const.MATRIX_CELL_HEIGHT) + (Const.MATRIX_CELL_HEIGHT / 2); if (_local3 == 0) { _local2._y = _local2._y - Const.MATRIX_CELL_HEIGHT; _local2._x = _local2._x + (random(16) - 8); _local2._y = _local2._y - (35 * __numWaveIndex); _local2._vectSpeed.numX = 0; _local2._vectSpeed.numY = 100; } else if (_local4 == 0) { _local2._x = _local2._x - Const.MATRIX_CELL_WIDTH; _local2._y = _local2._y + (random(16) - 8); _local2._x = _local2._x - (35 * __numWaveIndex); _local2._vectSpeed.numX = 100; _local2._vectSpeed.numY = 0; } if (_local5) { _local2._numWaypointX = _local2._x; _local2._numWaypointY = (_matrixPattern.height * Const.MATRIX_CELL_HEIGHT) + (Const.MATRIX_CELL_HEIGHT / 2); } else { _local2.updateWaypoint(); } _local2.initEnemy(__numType, __numLevel, _layerInfo); if (__effectInitial != undefined) { _local2.applyEffect(__effectInitial); } } function addBlast(__objParam) { _layerBlasts1.globalToLocal(__objParam); var _local4 = {_x:__objParam.x, _y:__objParam.y, vectSpeed:__objParam.direction, numSpeed:__objParam.speed, _numAltitude:__objParam.altitude}; var _local3 = _layerBlasts1.addElement("id_blast", _local4); _local3.initBlast(__objParam.type); if (__objParam.targetsEnemy) { _local3.setTarget(__objParam.targetsEnemy, __objParam.target); } else { _local3.setTarget(__objParam.targetsEnemy, {x:__objParam.targetX, y:__objParam.targetY}); } } function addGFX(__objParam) { var _local4; if ((__objParam.altitude == ALTITUDE_AIR) || (__objParam.altitude == ALTITUDE_BOTH)) { _local4 = _layerEffects2; } else { _local4 = _layerEffects1; } _local4.globalToLocal(__objParam); var _local3 = {_x:__objParam.x, _y:__objParam.y}; if (__objParam.radius) { _local3._width = 2 * __objParam.radius; _local3._height = 2 * __objParam.radius; } _local4.addElement(__objParam.symbol, _local3); } function getEntryCells() { var _local2 = new Array(); var _local3 = 0; while (_local3 < _matrixPattern.width) { if (_matrixPattern[_local3] <= CELL_VOID) { _local2.push({i:0, j:_local3}); } _local3++; } var _local4 = 0; while (_local4 < _matrixPattern.height) { if (_matrixPattern[_local4 * _matrixPattern.width] <= CELL_VOID) { _local2.push({i:_local4, j:0}); } _local4++; } return(_local2); } function getNextCell(__numCellI, __numCellJ) { var _local7; var _local6 = false; var _local5 = Math.max(__numCellI - 1, 0); while (_local5 <= Math.min(__numCellI + 1, _matrixPattern.height - 1)) { var _local4 = Math.max(__numCellJ - 1, 0); while (_local4 <= Math.min(__numCellJ + 1, _matrixPattern.width - 1)) { if (((_local5 != __numCellI) && (_local4 != __numCellJ)) || ((_local5 == __numCellI) && (_local4 == __numCellJ))) { } else if ((_matrixPattern[(_local5 * _matrixPattern.width) + _local4] == (_matrixPattern[(__numCellI * _matrixPattern.width) + __numCellJ] + 1)) && (_matrixPattern[(_local5 * _matrixPattern.width) + _local4] <= CELL_VOID)) { _local7 = {i:_local5, j:_local4}; _local6 = true; break; } _local4++; } if (_local6) { break; } _local5++; } return(_local7); } function getExitCells() { var _local2 = new Array(); var _local3 = 0; while (_local3 < _matrixPattern.width) { if (_matrixPattern[((_matrixPattern.height - 1) * _matrixPattern.width) + _local3] <= CELL_VOID) { _local2.push({i:_matrixPattern.height - 1, j:_local3}); } _local3++; } var _local4 = 0; while (_local4 < _matrixPattern.height) { if (_matrixPattern[((_local4 + 1) * _matrixPattern.width) - 1] <= CELL_VOID) { _local2.push({i:_local4, j:_matrixPattern.width - 1}); } _local4++; } return(_local2); } function getNearestEnemy(__numX, __numY, __numRange, __numAltitude, __enemyForbidden) { var _local3 = 999999 /* 0x0F423F */; var _local4; var _local2; if ((__numAltitude == ALTITUDE_GROUND) || (__numAltitude == ALTITUDE_BOTH)) { for (var _local9 in _layerEnemies1) { if ((((_layerEnemies1[_local9] instanceof CEnemy) && (_layerEnemies1[_local9] != __enemyForbidden)) && (_layerEnemies1[_local9]._x > 0)) && (_layerEnemies1[_local9]._y > 0)) { _local2 = _layerEnemies1[_local9].getDistanceFrom(__numX, __numY); if ((_local2 <= __numRange) && (_local2 < _local3)) { _local3 = _local2; _local4 = _layerEnemies1[_local9]; } } } } if ((__numAltitude == ALTITUDE_AIR) || (__numAltitude == ALTITUDE_BOTH)) { for (var _local9 in _layerEnemies2) { if ((((_layerEnemies2[_local9] instanceof CEnemy) && (_layerEnemies2[_local9] != __enemyForbidden)) && (_layerEnemies2[_local9]._x > 0)) && (_layerEnemies2[_local9]._y > 0)) { _local2 = _layerEnemies2[_local9].getDistanceFrom(__numX, __numY); if ((_local2 <= __numRange) && (_local2 < _local3)) { _local3 = _local2; _local4 = _layerEnemies2[_local9]; } } } } return(_local4); } function applySplashEffect(__effectSplash, __numCenterX, __numCenterY, __numRadius, __numAltitude) { var _local2; if ((__numAltitude == ALTITUDE_GROUND) || (__numAltitude == ALTITUDE_BOTH)) { for (var _local7 in _layerEnemies1) { if (_layerEnemies1[_local7] instanceof CEnemy) { _local2 = _layerEnemies1[_local7].getDistanceFrom(__numCenterX, __numCenterY); if (_local2 <= __numRadius) { _layerEnemies1[_local7].applyEffect(__effectSplash); } } } } if ((__numAltitude == ALTITUDE_AIR) || (__numAltitude == ALTITUDE_BOTH)) { for (var _local7 in _layerEnemies2) { if (_layerEnemies2[_local7] instanceof CEnemy) { _local2 = _layerEnemies2[_local7].getDistanceFrom(__numCenterX, __numCenterY); if (_local2 <= __numRadius) { _layerEnemies2[_local7].applyEffect(__effectSplash); } } } } } function toggleGrid(__boolVisible) { _mcGrid._visible = __boolVisible; } function process() { _layerEnemies1.process(); _layerEnemies2.process(); _layerBuildings.process(); _layerBlasts1.process(); } static var CELL_VOID = 0; static var CELL_ROCK = 1; static var CELL_WALL = 2; static var CELL_BUILDING = 10; static var ALTITUDE_GROUND = 1; static var ALTITUDE_AIR = 2; static var ALTITUDE_BOTH = 3; static var SYMBOL_BASE = "id_map"; }
Symbol 730 MovieClip [__Packages.CLayer] Frame 0
class CLayer extends MovieClip { var _numCounter, _boolPaused, attachMovie, getNextHighestDepth; function CLayer () { super(); _numCounter = 0; _boolPaused = false; } function get boolPaused() { return(_boolPaused); } function set boolPaused(__boolValue) { _boolPaused = __boolValue; if (_boolPaused) { for (var _local3 in this) { if (this[_local3] instanceof MovieClip) { this[_local3].stop(); for (var _local2 in this[_local3]) { this[_local3][_local2].stop(); } if (this[_local3]._mcObject != undefined) { for (var _local2 in this[_local3]._mcObject) { this[_local3]._mcObject[_local2].stop(); } } } } } else { for (var _local3 in this) { if (this[_local3] instanceof MovieClip) { this[_local3].play(); for (var _local2 in this[_local3]) { this[_local3][_local2].play(); } if (this[_local3]._mcObject != undefined) { for (var _local2 in this[_local3]._mcObject) { this[_local3]._mcObject[_local2].play(); } } } } } //return(boolPaused); } function clear() { for (var _local2 in this) { if (this[_local2] instanceof MovieClip) { this[_local2].removeMovieClip(); } } _numCounter = 0; } function addElement(__strSymbolName, __objInit) { _numCounter++; return(attachMovie(__strSymbolName, "_mcElement" + _numCounter, getNextHighestDepth(), __objInit)); } function removeElement(__mcTarget) { if (__mcTarget._parent != this) { Const.TRACE(("ERROR! " + __mcTarget) + " isn't element of layer."); return(false); } __mcTarget.removeMovieClip(); return(true); } function process() { for (var _local2 in this) { if (this[_local2] instanceof MovieClip) { this[_local2].process(); } } } }
Symbol 731 MovieClip [__Packages.Const] Frame 0
class Const { function Const () { } static function TRACE(__strMessage) { if (TRACE_DEBUG_INFO) { trace(__strMessage); } } static var TRACE_DEBUG_INFO = false; static var DISABLE_QUESTS = false; static var MATRIX_CELL_WIDTH = 32; static var MATRIX_CELL_HEIGHT = 32; static var MATRIX_WIDTH = 14; static var MATRIX_HEIGHT = 14; static var SOUND_NAMES = new Array("snd_mainLoop", "snd_quest", "snd_error", "snd_nuclearExplosion", "snd_switch", "snd_popDead", "snd_nuclearLaunch", "snd_timeStop", "snd_construction", "snd_sell", "snd_bigExplosion", "snd_mediumExplosion", "snd_smallExplosion", "snd_NulificatorShot", "snd_teslaTowerShot", "snd_gaussCannonShot", "snd_gutlingLaserShot", "snd_oilSprayShot", "snd_chainGunShot", "snd_gooCannonShot", "snd_mortarShot", "snd_aaGunShot", "snd_missileTurretShot", "snd_hit"); static var SND_MAINLOOP = 0; static var SND_QUEST = 1; static var SND_ERROR = 2; static var SND_NUCLEAREXPLOSION = 3; static var SND_SWITCH = 4; static var SND_POPDEAD = 5; static var SND_NUCLEARLAUNCH = 6; static var SND_TIMESTOP = 7; static var SND_CONSTRUCTION = 8; static var SND_SELL = 9; static var SND_BIGEXPLOSION = 10; static var SND_MEDIUMEXPLOSION = 11; static var SND_SMALLEXPLOSION = 12; static var SND_NULIFICATORSHOT = 13; static var SND_TESLATOWERSHOT = 14; static var SND_GAUSSCANNONSHOT = 15; static var SND_GUTLINGLASERSHOT = 16; static var SND_OILSPRAYSHOT = 17; static var SND_CHAINGUNSHOT = 18; static var SND_GOOCANNONSHOT = 19; static var SND_MORTARSHOT = 20; static var SND_AAGUNSHOT = 21; static var SND_MISSILETURRETSHOT = 22; static var SND_HIT = 23; }
Symbol 732 MovieClip [__Packages.CEnemy] Frame 0
class CEnemy extends CEventMovieClip { var boolExists, _boolNearExit, _boolAutoMove, _numType, _numMaxSpeed, _numThrottle, _numTurnSpeed, _vectSpeed, _numMaxHealth, _strDeathEffect, _numLevel, _numHealth, _mcHealthBar, _numReward, numAltitude, _y, _x, dispatchMessage, attachMovie, _mcObject, localToGlobal, _arrEffects, _mapReference, _numCellI, _numCellJ, _numWaypointX, _numWaypointY, _mcFastEffect, getNextHighestDepth, _mcSlowEffect, _mcRepairEffect, _mcShieldEffect, _width, _height, _rotation, _numOldCellI, _numOldCellJ, removeMovieClip, _parent; function CEnemy () { super(); boolExists = true; _boolNearExit = false; _boolAutoMove = false; } function get numType() { return(_numType); } function set numType(__numValue) { if (_numType != __numValue) { _numType = __numValue; switch (_numType) { case TYPE_BAGGI : _numMaxSpeed = 2; _numThrottle = 0.3; _numTurnSpeed = 0.11; _vectSpeed = new CVector(1, 1); _vectSpeed.__set__numLength(_numMaxSpeed); _numMaxHealth = 15; _strDeathEffect = "id_gfx_explosion_small"; break; case TYPE_TRICYCLE : _numMaxSpeed = 1.7; _numThrottle = 0.3; _numTurnSpeed = 0.1; _vectSpeed = new CVector(1, 1); _vectSpeed.__set__numLength(_numMaxSpeed); _numMaxHealth = 35; _strDeathEffect = "id_gfx_explosion_medium"; break; case TYPE_CAR : _numMaxSpeed = 1.5; _numThrottle = 0.25; _numTurnSpeed = 0.08; _vectSpeed = new CVector(1, 1); _vectSpeed.__set__numLength(_numMaxSpeed); _numMaxHealth = 70; _strDeathEffect = "id_gfx_explosion_medium"; break; case TYPE_HOWERTANK : _numMaxSpeed = 1.1; _numThrottle = 0.2; _numTurnSpeed = 0.06; _vectSpeed = new CVector(1, 1); _vectSpeed.__set__numLength(_numMaxSpeed); _numMaxHealth = 120; _strDeathEffect = "id_gfx_explosion_big"; break; case TYPE_PLANE : _numMaxSpeed = 1.8; _numThrottle = 0.3; _numTurnSpeed = 0.11; _vectSpeed = new CVector(0, 1); _vectSpeed.__set__numLength(_numMaxSpeed); _numMaxHealth = 8; _strDeathEffect = "id_gfx_explosion_small"; break; case TYPE_INSECT : _numMaxSpeed = 1.5; _numThrottle = 0.3; _numTurnSpeed = 0.16; _vectSpeed = new CVector(0, 1); _vectSpeed.__set__numLength(_numMaxSpeed); _numMaxHealth = 20; _strDeathEffect = "id_gfx_explosion_medium"; break; case TYPE_SCORPIO : _numMaxSpeed = 1.2; _numThrottle = 0.3; _numTurnSpeed = 0.06; _vectSpeed = new CVector(0, 1); _vectSpeed.__set__numLength(_numMaxSpeed); _numMaxHealth = 40; _strDeathEffect = "id_gfx_explosion_big"; } _numMaxHealth = _numMaxHealth + Math.round((1.2 * (_numLevel - 1)) * _numMaxHealth); var _local2 = ((_numMaxHealth < 100) ? (_numMaxHealth) : 100); _numHealth = _numMaxHealth; _mcHealthBar._width = _local2 / 2; _numReward = REWARDS[_numType - 1] * (1 + (0.5 * (_numLevel - 1))); } //return(numType); } function get numHealth() { return(_numHealth); } function set numHealth(__numValue) { _numHealth = __numValue; if (_numHealth < 0) { _numHealth = 0; } if (_numHealth > _numMaxHealth) { _numHealth = _numMaxHealth; } _mcHealthBar.mcBar._width = (100 * _numHealth) / _numMaxHealth; if (_numHealth == 0) { var _local2 = {symbol:_strDeathEffect, x:_x, y:_y, altitude:numAltitude}; dispatchMessage(CEventMovieClip.MSG_ENEMYDEAD, _local2); } //return(numHealth); } function initEnemy(__numType, __numLevel, __mcLayerInfo) { attachMovie(SYMBOL_BASE + __numType.toString(), "_mcObject", 1); _mcHealthBar = __mcLayerInfo.addElement("id_healthbar"); var _local2 = {x:_mcObject._x, y:(_mcObject._y - (_mcObject._height / 2)) - 5}; localToGlobal(_local2); __mcLayerInfo.globalToLocal(_local2); _mcHealthBar._x = _local2.x; _mcHealthBar._y = _local2.y; _numLevel = __numLevel; numType = (__numType); _arrEffects = new Array(); } function updateWaypoint() { _boolAutoMove = false; var _local2 = _mapReference.getNextCell(_numCellI, _numCellJ); if (_local2 == undefined) { return(false); } if (_numCellJ == _local2.j) { if (_numCellI < _local2.i) { _numWaypointX = (_numCellJ + 0.5) * Const.MATRIX_CELL_WIDTH; _numWaypointY = (_numCellI + 1) * Const.MATRIX_CELL_HEIGHT; } else { _numWaypointX = (_numCellJ + 0.5) * Const.MATRIX_CELL_WIDTH; _numWaypointY = _numCellI * Const.MATRIX_CELL_HEIGHT; } } if (_numCellI == _local2.i) { if (_numCellJ < _local2.j) { _numWaypointX = (_numCellJ + 1) * Const.MATRIX_CELL_WIDTH; _numWaypointY = (_numCellI + 0.5) * Const.MATRIX_CELL_HEIGHT; } else { _numWaypointX = _numCellJ * Const.MATRIX_CELL_WIDTH; _numWaypointY = (_numCellI + 0.5) * Const.MATRIX_CELL_HEIGHT; } } return(true); } function process() { if (_vectSpeed.__get__numLength() < _numMaxSpeed) { _vectSpeed.numLength = _vectSpeed.numLength + _numMaxSpeed; } if (_vectSpeed.__get__numLength() > _numMaxSpeed) { _vectSpeed.__set__numLength(_numMaxSpeed); } var _local15 = false; var _local8 = false; var _local4 = false; var _local11 = false; var _local6 = false; var _local7 = false; var _local17 = false; var _local9 = 0; var _local12 = 0; var _local10 = 0; var _local19 = 0; var _local18 = 0; var _local5 = 1; var _local3 = 0; var _local2 = 0; while (_local2 < _arrEffects.length) { switch (_arrEffects[_local2].numType) { case CEffect.TYPE_DAMAGE : _local15 = true; _local10 = _local10 + _arrEffects[_local2].objParams.damage; break; case CEffect.TYPE_FAST : _local8 = true; _local9 = _local9 + (_vectSpeed.__get__numLength() * _arrEffects[_local2].objParams.percent); break; case CEffect.TYPE_SLOW : _local4 = true; _local12 = _local12 + (_vectSpeed.__get__numLength() * _arrEffects[_local2].objParams.percent); break; case CEffect.TYPE_CLEAR : _local11 = true; break; case CEffect.TYPE_REPAIR : _local6 = true; _local19 = _local19 + (_numMaxHealth * _arrEffects[_local2].objParams.percent); break; case CEffect.TYPE_SHIELD : _local7 = true; _local5 = Math.min(_local5, _arrEffects[_local2].objParams.pass); break; case CEffect.TYPE_PIERCEDAMAGE : _local18 = _local18 + _arrEffects[_local2].objParams.damage; break; case CEffect.TYPE_CONFUSE : _local3 = _local3 + (_numTurnSpeed * _arrEffects[_local2].objParams.percent); if (_local3 >= _numTurnSpeed) { _local3 = _numTurnSpeed; } break; case CEffect.TYPE_TIMESTOP : _local4 = true; _local17 = true; } if (_arrEffects[_local2].tick()) { _arrEffects.splice(_local2, 1); _local2--; } _local2++; } _vectSpeed.numLength = _vectSpeed.numLength + (_local9 - _local12); if (_vectSpeed.__get__numLength() < MIN_SPEED) { _vectSpeed.__set__numLength(MIN_SPEED); } var _local20 = _numTurnSpeed - _local3; if (_local17) { _vectSpeed.__set__numLength(0); _local20 = 0; } numHealth = numHealth + ((_local19 - _local18) - (_local5 * _local10)); if (_local11) { _arrEffects = new Array(); } if (_local8 && (_mcFastEffect == undefined)) { attachMovie("id_effect_fast", "_mcFastEffect", getNextHighestDepth(), {_width:1.3 * _mcObject._width, _height:1.3 * _mcObject._height}); } if ((!_local8) && (_mcFastEffect != undefined)) { _mcFastEffect.removeMovieClip(); } if (_local4 && (_mcSlowEffect == undefined)) { attachMovie("id_effect_slow", "_mcSlowEffect", getNextHighestDepth(), {_width:1.3 * _mcObject._width, _height:1.3 * _mcObject._height}); } if ((!_local4) && (_mcSlowEffect != undefined)) { _mcSlowEffect.removeMovieClip(); } if (_local6 && (_mcRepairEffect == undefined)) { attachMovie("id_effect_repair", "_mcRepairEffect", getNextHighestDepth(), {_width:1.3 * _mcObject._width, _height:1.3 * _mcObject._height}); } if ((!_local6) && (_mcRepairEffect != undefined)) { _mcRepairEffect.removeMovieClip(); } if (_local7 && (_mcShieldEffect == undefined)) { attachMovie("id_effect_shield", "_mcShieldEffect", getNextHighestDepth(), {_width:1.3 * _mcObject._width, _height:1.3 * _mcObject._height}); } if ((!_local7) && (_mcShieldEffect != undefined)) { _mcShieldEffect.removeMovieClip(); } if (_local15) { CSoundService.playSound(Const.SND_HIT); } var _local16 = new CVector(0, 0); if (_boolNearExit) { if (((_x - (_width / 2)) > (Const.MATRIX_WIDTH * Const.MATRIX_CELL_WIDTH)) || ((_y - (_height / 2)) > (Const.MATRIX_HEIGHT * Const.MATRIX_CELL_HEIGHT))) { dispatchMessage(CEventMovieClip.MSG_ENEMYPASSED); } if (_numCellI == (_mapReference._matrixPattern.height - 1)) { _local16.__set__numY(1); } if (_numCellJ == (_mapReference._matrixPattern.width - 1)) { _local16.__set__numX(1); } } else { _local16.__set__numX(_numWaypointX - _x); _local16.__set__numY(_numWaypointY - _y); } if (numAltitude != CMap.ALTITUDE_AIR) { var _local21 = _vectSpeed.getAngleWith(_local16); if (_local21 > WAYPOINT_TURN_TOLERANCE) { var _local23 = (_local16.__get__numX() * _vectSpeed.__get__numY()) - (_vectSpeed.__get__numX() * _local16.__get__numY()); var _local22 = ((_local20 > _local21) ? (_local21) : (_local20)); if (_local23 > 0) { _vectSpeed.rotate(_local22); } else { _vectSpeed.rotate(-_local22); } } } var _local25 = _x; var _local24 = _y; _x = _x + _vectSpeed.numX; _y = _y + _vectSpeed.numY; _rotation = _vectSpeed.numRotation; var _local13 = Math.floor(_x / Const.MATRIX_CELL_WIDTH); var _local14 = Math.floor(_y / Const.MATRIX_CELL_HEIGHT); if ((((((numAltitude != CMap.ALTITUDE_AIR) && (_local14 >= 0)) && (_local14 < Const.MATRIX_HEIGHT)) && (_local13 >= 0)) && (_local13 < Const.MATRIX_WIDTH)) && (_mapReference._matrixPattern[(_local14 * Const.MATRIX_WIDTH) + _local13] > CMap.CELL_VOID)) { _vectSpeed.__set__numLength(0.1); _x = _local25; _y = _local24; _local14 = -1; _local13 = -1; } else { _mcHealthBar._x = _mcHealthBar._x + _vectSpeed.numX; _mcHealthBar._y = _mcHealthBar._y + _vectSpeed.numY; } if (((_local14 >= 0) && (_local13 >= 0)) && ((_numCellI != _local14) || (_numCellJ != _local13))) { _numOldCellI = _numCellI; _numOldCellJ = _numCellJ; _numCellJ = _local13; _numCellI = _local14; if ((numAltitude == CMap.ALTITUDE_AIR) || (!updateWaypoint())) { _boolNearExit = true; } } } function restoreOldCell() { _numCellI = _numOldCellI; _numCellJ = _numOldCellJ; } function remove() { _mcHealthBar.removeMovieClip(); removeMovieClip(); } function getDistanceFrom(__numX, __numY) { var _local2 = {x:__numX, y:__numY}; _parent.globalToLocal(_local2); return(Math.sqrt(((_x - _local2.x) * (_x - _local2.x)) + ((_y - _local2.y) * (_y - _local2.y)))); } function applyEffect(__effectNew) { _arrEffects.push(__effectNew); } static var TYPE_BAGGI = 1; static var TYPE_TRICYCLE = 2; static var TYPE_CAR = 3; static var TYPE_HOWERTANK = 4; static var TYPE_PLANE = 5; static var TYPE_INSECT = 6; static var TYPE_SCORPIO = 7; static var REWARDS = new Array(20, 50, 85, 120, 30, 75, 100); static var SYMBOL_BASE = "id_enemy"; static var WAYPOINT_HIT_TOLERANCE = 20; static var WAYPOINT_TURN_TOLERANCE = 0.1; static var WAYPOINT_RANDOM = 16; static var MIN_SPEED = 0.35; }
Symbol 733 MovieClip [__Packages.CVector] Frame 0
class CVector { var _numX, _numY; function CVector (__numX, __numY) { _numX = __numX; _numY = __numY; } function get numX() { return(_numX); } function set numX(__numNew) { _numX = __numNew; //return(numX); } function get numY() { return(_numY); } function set numY(__numNew) { _numY = __numNew; //return(numY); } function get numLength() { return(Math.sqrt((_numX * _numX) + (_numY * _numY))); } function set numLength(__numNew) { if (__numNew < MIN_LENGTH) { __numNew = MIN_LENGTH; } if (numLength) { var _local2 = __numNew / numLength; _numX = _numX * _local2; _numY = _numY * _local2; } //return(numLength); } function get numRotation() { var _local2 = (180 * getAngleWith(new CVector(0, -1))) / Math.PI; if (_numX < 0) { _local2 = _local2 * -1; } return(_local2); } function set numRotation(__numValue) { var _local2 = numLength; _numX = 0; _numY = 1; rotate((-3.14159265358979 * __numValue) / 180); numLength = (_local2); //return(numRotation); } function makeCopy() { return(new CVector(_numX, _numY)); } function addVector(__vectAdd) { _numX = _numX + __vectAdd.numX; _numY = _numY + __vectAdd.numY; } function rotate(__numAngle) { if (__numAngle) { var _local3 = Math.atan2(_numX, _numY) + __numAngle; var _local2 = numLength; _numX = _local2 * Math.sin(_local3); _numY = _local2 * Math.cos(_local3); } } function oneWayTo(__vector, __precision) { return(Math.abs((_numX * __vector.__get__numY()) - (_numY * __vector.__get__numX())) <= __precision); } function getAngleWith(__vector) { return(Math.acos(((_numX * __vector.__get__numX()) + (_numY * __vector.__get__numY())) / (numLength * __vector.__get__numLength()))); } function getProjection(__vector) { return(((_numX * __vector.__get__numX()) + (_numY * __vector.__get__numY())) / __vector.__get__numLength()); } function toString() { return(new String(((("|" + _numX) + ",") + _numY) + "|")); } var MIN_LENGTH = 0.001; }
Symbol 734 MovieClip [__Packages.CEffect] Frame 0
class CEffect { var numType, objParams, _numDuration, _numTimer; function CEffect (__numType, __objParams, __numDuration) { numType = __numType; objParams = __objParams; _numDuration = __numDuration; if (_numDuration == undefined) { _numTimer = 0; } else { _numTimer = _numDuration; } } function tick() { if (_numTimer == 0) { return(true); } _numTimer--; return(false); } function makeCopy() { return(new CEffect(numType, objParams, _numDuration)); } static var TYPE_DAMAGE = 1; static var TYPE_FAST = 2; static var TYPE_SLOW = 3; static var TYPE_CLEAR = 4; static var TYPE_REPAIR = 5; static var TYPE_SHIELD = 6; static var TYPE_PIERCEDAMAGE = 7; static var TYPE_CONFUSE = 8; static var TYPE_TIMESTOP = 9; }
Symbol 735 MovieClip [__Packages.CSoundService] Frame 0
class CSoundService extends MovieClip { var m_sounds, m_soundsState, m_soundsNames, createEmptyMovieClip, onEnterFrame; function CSoundService () { super(); } function realPlaySound(id, repeatCount) { if (m_soundOff) { return(undefined); } Sound(m_sounds[id]).start(0, repeatCount); } function processSounds() { var _local2 = 0; while (_local2 < m_sounds.length) { if (m_soundsState[_local2] > 0) { realPlaySound(_local2, m_soundsState[_local2]); m_soundsState[_local2] = ST_PLAY; } _local2++; } } function init(soundNames) { m_soundsNames = soundNames; m_sounds = new Array(soundNames.length); m_soundsState = new Array(soundNames.length); var _local2 = 0; while (_local2 < soundNames.length) { var _local4 = createEmptyMovieClip("_contMovie" + _local2, 1000 + _local2); var _local3 = new Sound(_local4); _local3.attachSound(soundNames[_local2]); m_soundsState[_local2] = ST_STOP; _local3.sounID = _local2; _local3.parent = m_instance; _local3.onSoundComplete = function () { this.parent.m_soundsState[this.sounID] = CSoundService.ST_STOP; }; m_sounds[_local2] = _local3; _local2++; } onEnterFrame = processSounds; } static function createSoundService(soundNames, soundsPlace, depthInSoundsPlace) { m_instance = CSoundService(soundsPlace.attachMovie("dmSoundService", "__SoundServiceObject", depthInSoundsPlace)); m_instance.init(soundNames); return(m_instance); } static function playLoopSound(soundID) { if ((m_instance.m_loopSoundID >= 0) && (m_instance.m_loopSoundID != soundID)) { stopSound(m_instance.m_loopSoundID); } m_instance.m_loopSoundID = soundID; if (!soundIsPlay(m_instance.m_loopSoundID)) { playCurLoopSound(); } } static function playCurLoopSound() { playSound(m_instance.m_loopSoundID, true, 9999); } static function stopCurLoopSound() { stopSound(m_instance.m_loopSoundID); m_instance.m_loopSoundID = -1; } static function soundOff() { var _local1 = 0; while (_local1 < m_instance.m_sounds.length) { stopSound(_local1); _local1++; } m_instance.m_soundOff = true; } static function soundOn() { m_instance.m_soundOff = false; if (m_instance.m_loopSoundID >= 0) { playCurLoopSound(); } } static function soundIsPlay(id) { return(m_instance.m_soundsState[id] != ST_STOP); } static function playSound(id, ifSoundStop, repeatCount) { if (repeatCount == undefined) { repeatCount = 1; } if (ifSoundStop == undefined) { ifSoundStop = false; } if (m_instance.m_soundOff) { return(undefined); } if (ifSoundStop && (soundIsPlay(id))) { return(undefined); } m_instance.m_soundsState[id] = repeatCount; } static function stopSound(id) { Sound(m_instance.m_sounds[id]).stop(m_instance.m_soundsNames[id]); m_instance.m_soundsState[id] = ST_STOP; } static function getSoundAt(soundNum) { return(m_instance.m_sounds[soundNum]); } static function soundIsOn() { return(!m_instance.m_soundOff); } static function stopAllSound() { var _local1 = 0; while (_local1 < m_instance.m_sounds.length) { stopSound(_local1); _local1++; } } var m_loopSoundID = -1; static var m_instance = null; var m_soundOff = false; static var ST_PLAY = -1; static var ST_STOP = 0; static var PLAY_OPT_ALWAYS = 0; static var PLAY_OPT_IFSTOP = 1; static var PLAY_OPT_STOPANDPLAY = 2; }
Symbol 736 MovieClip [__Packages.CBuilding] Frame 0
class CBuilding extends CEventMovieClip { var _boolMouseOver, _boolTower, useHandCursor, _numState, _numType, _numRange, _numTurnSpeed, _numAimingAltitude, _numReloadTime, _numReloadTimer, _numPrice, onRollOver, onRollOut, _vectDirection, attachMovie, _mcMatrix, localToGlobal, _matrixPattern, _parent, _x, _y, _numCellI, _numCellJ, dispatchMessage, _enemyTarget, _mcObject; function CBuilding () { super(); _boolMouseOver = false; _boolTower = false; useHandCursor = false; _numState = STATE_UNDEFINED; } function get numType() { return(_numType); } function set numType(__numValue) { if (_numType != __numValue) { _numType = __numValue; switch (_numType) { case TYPE_TOWER_1_1 : _boolTower = true; _numRange = 100; _numTurnSpeed = 0.1; _numAimingAltitude = CMap.ALTITUDE_GROUND; _numReloadTime = 36; _numReloadTimer = _numReloadTime; break; case TYPE_TOWER_1_2 : _boolTower = true; _numRange = 200; _numTurnSpeed = 0.05; _numAimingAltitude = CMap.ALTITUDE_GROUND; _numReloadTime = 108; _numReloadTimer = _numReloadTime; break; case TYPE_TOWER_1_3 : _boolTower = true; _numRange = 60; _numTurnSpeed = 0; _numAimingAltitude = CMap.ALTITUDE_GROUND; _numReloadTime = 48; _numReloadTimer = _numReloadTime; break; case TYPE_TOWER_1_4 : _boolTower = true; _numRange = 70; _numTurnSpeed = 0.1; _numAimingAltitude = CMap.ALTITUDE_GROUND; _numReloadTime = 6; _numReloadTimer = _numReloadTime; break; case TYPE_TOWER_1_5 : _boolTower = true; _numRange = 100; _numTurnSpeed = 0.1; _numAimingAltitude = CMap.ALTITUDE_BOTH; _numReloadTime = 250; _numReloadTimer = _numReloadTime; break; case TYPE_TOWER_2_1 : _boolTower = true; _numRange = 110; _numTurnSpeed = 0.1; _numAimingAltitude = CMap.ALTITUDE_AIR; _numReloadTime = 6; _numReloadTimer = _numReloadTime; break; case TYPE_TOWER_2_2 : _boolTower = true; _numRange = 90; _numTurnSpeed = 0.1; _numAimingAltitude = CMap.ALTITUDE_BOTH; _numReloadTime = 24; _numReloadTimer = _numReloadTime; break; case TYPE_TOWER_2_3 : _boolTower = true; _numRange = 100; _numTurnSpeed = 0.1; _numAimingAltitude = CMap.ALTITUDE_GROUND; _numReloadTime = 24; _numReloadTimer = _numReloadTime; break; case TYPE_TOWER_2_4 : _boolTower = true; _numRange = 90; _numTurnSpeed = 0.1; _numAimingAltitude = CMap.ALTITUDE_AIR; _numReloadTime = 24; _numReloadTimer = _numReloadTime; break; case TYPE_TOWER_2_5 : _boolTower = true; _numRange = 120; _numTurnSpeed = 0.1; _numAimingAltitude = CMap.ALTITUDE_GROUND; _numReloadTime = 24; _numReloadTimer = _numReloadTime; break; case TYPE_BULIDING_1 : case TYPE_BULIDING_2 : case TYPE_BULIDING_3 : case TYPE_BULIDING_4 : case TYPE_BULIDING_5 : _boolTower = false; } _numPrice = PRICES[_numType - 1]; } //return(numType); } function get numRange() { return(_numRange * (1 + RANGE_BONUS)); } function get numState() { return(_numState); } function set numState(__newValue) { if (_numState != __newValue) { _numState = __newValue; switch (_numState) { case STATE_PLACING : onRollOver = undefined; onRollOut = undefined; break; case STATE_INSTALLED : onRollOver = onInstalledRollOver; onRollOut = onInstalledRollOut; } } //return(numState); } function initBuilding(__numType) { numType = (__numType); trace("Building type " + numType); _vectDirection = new CVector(0, -1); if (MATRICES[__numType] == undefined) { if (attachMovie((SYMBOL_BASE + __numType.toString()) + "_matrix", "_mcMatrix", 0) == undefined) { Const.TRACE((("ERROR! Couldn't load building matrix " + SYMBOL_BASE) + __numType.toString()) + "_matrix"); return(false); } var _local8 = Math.ceil(_mcMatrix._width / Const.MATRIX_CELL_WIDTH); var _local7 = Math.ceil(_mcMatrix._height / Const.MATRIX_CELL_HEIGHT); MATRICES[__numType] = new Array(_local8 * _local7); MATRICES[__numType].width = _local8; MATRICES[__numType].height = _local7; var _local5 = {x:_mcMatrix._x, y:_mcMatrix._y}; localToGlobal(_local5); var _local4 = 0; while (_local4 < MATRICES[__numType].height) { var _local3 = 0; while (_local3 < MATRICES[__numType].width) { if (_mcMatrix.hitTest((_local5.x + (Const.MATRIX_CELL_WIDTH / 2)) + (_local3 * Const.MATRIX_CELL_WIDTH), (_local5.y + (Const.MATRIX_CELL_HEIGHT / 2)) + (_local4 * Const.MATRIX_CELL_HEIGHT), true)) { MATRICES[__numType][(_local4 * MATRICES[__numType].width) + _local3] = CELL_OCCUPIED; } else { MATRICES[__numType][(_local4 * MATRICES[__numType].width) + _local3] = CELL_VOID; } _local3++; } _local4++; } _mcMatrix.removeMovieClip(); } _matrixPattern = MATRICES[__numType]; if (attachMovie(SYMBOL_BASE + __numType.toString(), "_mcObject", 1) == undefined) { Const.TRACE(("ERROR! Couldn't load construction image " + SYMBOL_BASE) + __numType.toString()); return(false); } if (Const.TRACE_DEBUG_INFO) { var _local6 = "Buidling matrix: \n"; var _local4 = 0; while (_local4 < _matrixPattern.height) { var _local3 = 0; while (_local3 < _matrixPattern.width) { _local6 = _local6 + (_matrixPattern[(_local4 * _matrixPattern.width) + _local3] + " "); _local3++; } _local6 = _local6 + newline; _local4++; } Const.TRACE(_local6); } return(true); } function copyFrom(__buildingSource) { var _local2 = {x:0, y:0}; __buildingSource.localToGlobal(_local2); _parent.globalToLocal(_local2); _x = _local2.x; _y = _local2.y; if (!initBuilding(__buildingSource.__get__numType())) { return(false); } _numCellI = __buildingSource._numCellI; _numCellJ = __buildingSource._numCellJ; _numState = __buildingSource.numState; return(true); } function onInstalledRollOver() { if (!_boolMouseOver) { _boolMouseOver = true; dispatchMessage(CEventMovieClip.MSG_MOUSEOVER); } updateAfterEvent(); } function onInstalledRollOut() { if (_boolMouseOver) { _boolMouseOver = false; dispatchMessage(CEventMovieClip.MSG_MOUSEOUT); } updateAfterEvent(); } function process() { if (_boolTower) { if (_numReloadTimer > 0) { _numReloadTimer--; } if (_enemyTarget == undefined) { dispatchMessage(CEventMovieClip.MSG_TARGETLOST); } if (_enemyTarget != undefined) { var _local3 = {x:_mcObject.mcGun._x, y:_mcObject.mcGun._y}; _mcObject.localToGlobal(_local3); _enemyTarget._parent.globalToLocal(_local3); var _local6 = _enemyTarget.getDistanceFrom(_local3.x, _local3.y); if ((_local6 > numRange) || (_local6 == undefined)) { _enemyTarget = undefined; } else { var _local4 = new CVector(_enemyTarget._x - _local3.x, _enemyTarget._y - _local3.y); if (_vectDirection.getAngleWith(_local4) <= ENEMY_TURN_TOLERANCE) { if (_numReloadTimer == 0) { var _local2 = {x:_local3.x, y:_local3.y, direction:_vectDirection, altitude:_enemyTarget.numAltitude}; var _local5 = {x:_enemyTarget._x, y:_enemyTarget._y}; _enemyTarget._parent.localToGlobal(_local5); switch (_numType) { case TYPE_TOWER_1_1 : _local2.type = CBlast.TYPE_ROCKET; _local2.targetsEnemy = true; _local2.target = _enemyTarget; _local2.speed = 3; CSoundService.playSound(Const.SND_MISSILETURRETSHOT); break; case TYPE_TOWER_1_2 : _local2.type = CBlast.TYPE_BALL; _local2.targetsEnemy = false; _local2.targetX = _local5.x; _local2.targetY = _local5.y; _local2.speed = 3; CSoundService.playSound(Const.SND_MORTARSHOT); break; case TYPE_TOWER_1_3 : _local2.type = CBlast.TYPE_ELECTRICFIELD; _local2.targetsEnemy = false; _local2.targetX = _local3.x; _local2.targetY = _local3.y; _local2.speed = 0; CSoundService.playSound(Const.SND_TESLATOWERSHOT); break; case TYPE_TOWER_1_4 : _local2.type = CBlast.TYPE_LASERBEAM; _local2.targetsEnemy = true; _local2.target = _enemyTarget; _local2.speed = _local4.numLength; CSoundService.playSound(Const.SND_GUTLINGLASERSHOT); break; case TYPE_TOWER_1_5 : _local2.type = CBlast.TYPE_NULIFYBALL; _local2.targetsEnemy = true; _local2.target = _enemyTarget; _local2.speed = 4; CSoundService.playSound(Const.SND_NULIFICATORSHOT); break; case TYPE_TOWER_2_1 : _local2.type = CBlast.TYPE_AASHELL; _local2.targetsEnemy = true; _local2.target = _enemyTarget; _local2.speed = _local4.numLength; CSoundService.playSound(Const.SND_AAGUNSHOT); break; case TYPE_TOWER_2_2 : _local2.type = CBlast.TYPE_SLOWSHOT; _local2.targetsEnemy = true; _local2.target = _enemyTarget; _local2.speed = 4; CSoundService.playSound(Const.SND_GOOCANNONSHOT); break; case TYPE_TOWER_2_3 : _local2.type = CBlast.TYPE_CHAINBLAST; _local2.targetsEnemy = true; _local2.target = _enemyTarget; _local2.speed = 7; CSoundService.playSound(Const.SND_CHAINGUNSHOT); break; case TYPE_TOWER_2_4 : _local2.type = CBlast.TYPE_GAUSSRAIL; _local2.targetsEnemy = true; _local2.target = _enemyTarget; _local2.speed = _local4.numLength; CSoundService.playSound(Const.SND_GAUSSCANNONSHOT); break; case TYPE_TOWER_2_5 : _local2.type = CBlast.TYPE_CONFUSEBALL; _local2.targetsEnemy = true; _local2.target = _enemyTarget; _local2.speed = 5; CSoundService.playSound(Const.SND_OILSPRAYSHOT); } dispatchMessage(CEventMovieClip.MSG_READYTOSHOOT, _local2); _numReloadTimer = _numReloadTime; } } else if (_numTurnSpeed == 0) { _vectDirection.__set__numX(_local4.numX); _vectDirection.__set__numY(_local4.numY); _vectDirection.__set__numLength(1); } else { var _local7 = (_local4.__get__numX() * _vectDirection.__get__numY()) - (_vectDirection.__get__numX() * _local4.__get__numY()); if (_local7 > 0) { _vectDirection.rotate(_numTurnSpeed); } else { _vectDirection.rotate(-_numTurnSpeed); } } _mcObject.mcGun._rotation = _vectDirection.numRotation; } } } } static var TYPE_TOWER_1_1 = 1; static var TYPE_TOWER_1_2 = 2; static var TYPE_TOWER_1_3 = 3; static var TYPE_TOWER_1_4 = 4; static var TYPE_TOWER_1_5 = 5; static var TYPE_TOWER_2_1 = 6; static var TYPE_TOWER_2_2 = 7; static var TYPE_TOWER_2_3 = 8; static var TYPE_TOWER_2_4 = 9; static var TYPE_TOWER_2_5 = 10; static var TYPE_BULIDING_1 = 11; static var TYPE_BULIDING_2 = 12; static var TYPE_BULIDING_3 = 13; static var TYPE_BULIDING_4 = 14; static var TYPE_BULIDING_5 = 15; static var PRICES = new Array(100, 200, 500, 800, 1000, 150, 200, 500, 800, 1000, 500, 800, 900, 1200, 1250); static var MATRICES = new Array(15); static var SYMBOL_BASE = "id_construction"; static var CELL_VOID = 0; static var CELL_OCCUPIED = 1; static var STATE_UNDEFINED = 0; static var STATE_PLACING = 1; static var STATE_INSTALLED = 2; static var ENEMY_TURN_TOLERANCE = 0.1; static var RANGE_BONUS = 0; static var _BONUS = 0; }
Symbol 737 MovieClip [__Packages.CBlast] Frame 0
class CBlast extends CEventMovieClip { var _numLiveTimer, _numType, _numTurnSpeed, _numDamage, _numSplashRadius, _strEffectSymbol, lineStyle, moveTo, lineTo, _vectSpeed, _numTTL, _numSpeed, attachMovie, _boolTargetsEnemy, _mcTarget, _numTargetX, _numTargetY, removeMovieClip, _parent, _x, _y, dispatchMessage, _numAltitude, _rotation; function CBlast () { super(); _numLiveTimer = TTL; } function get numType() { return(_numType); } function set numType(__numValue) { if (_numType != __numValue) { _numType = __numValue; switch (_numType) { case TYPE_ROCKET : _numTurnSpeed = 0.2; _numDamage = 5 * (1 + DAMAGE_BONUS); _numSplashRadius = 0; break; case TYPE_BALL : _numTurnSpeed = 0.05; _numDamage = 20 * (1 + DAMAGE_BONUS); _numSplashRadius = 25; _strEffectSymbol = "id_gfx_splash"; break; case TYPE_SLOWSHOT : _numTurnSpeed = 0.1; _numDamage = 1 * (1 + DAMAGE_BONUS); _numSplashRadius = 15; _strEffectSymbol = "id_gfx_slowsplash"; break; case TYPE_ELECTRICFIELD : _numTurnSpeed = 0; _numDamage = 10 * (1 + DAMAGE_BONUS); _numSplashRadius = 60 * (1 + CBuilding.RANGE_BONUS); _strEffectSymbol = "id_gfx_electricfield"; break; case TYPE_NULIFYBALL : _numTurnSpeed = 0.1; _numSplashRadius = 0; break; case TYPE_LASERBEAM : _numTurnSpeed = 0; _numDamage = 2 * (1 + DAMAGE_BONUS); _numSplashRadius = 0; lineStyle(0, 16732240); moveTo(0, 0); lineTo(0, _vectSpeed.__get__numLength()); lineStyle(0, 16711680, 50); moveTo(1, 0); lineTo(1, _vectSpeed.__get__numLength()); moveTo(-1, 0); lineTo(-1, _vectSpeed.__get__numLength()); break; case TYPE_AASHELL : _numTurnSpeed = 0; _numDamage = 1 * (1 + DAMAGE_BONUS); _numSplashRadius = 0; _strEffectSymbol = "id_gfx_aablast"; break; case TYPE_MISSILE : _numTurnSpeed = 0.1; _numDamage = 25 * (1 + DAMAGE_BONUS); _numSplashRadius = 100; _strEffectSymbol = "id_gfx_missileblast"; break; case TYPE_CHAINBLAST : _numTurnSpeed = Math.PI; _numDamage = 8 * (1 + DAMAGE_BONUS); _numSplashRadius = 0; _numTTL = 1; break; case TYPE_GAUSSRAIL : _numTurnSpeed = 0; _numDamage = 8 * (1 + DAMAGE_BONUS); _numSplashRadius = 0; lineStyle(0, 0, 70); moveTo(0, 0); lineTo(0, _vectSpeed.__get__numLength()); lineStyle(0, 0, 40); moveTo(1, 0); lineTo(1, _vectSpeed.__get__numLength()); moveTo(-1, 0); lineTo(-1, _vectSpeed.__get__numLength()); break; case TYPE_CONFUSEBALL : _numTurnSpeed = 0.5; _numDamage = 3 * (1 + DAMAGE_BONUS); _numSplashRadius = 0; } } //return(numType); } function get vectSpeed() { return(_vectSpeed); } function set vectSpeed(__vectPattern) { _vectSpeed = __vectPattern.makeCopy(); _vectSpeed.__set__numLength(_numSpeed); //return(vectSpeed); } function get numSpeed() { return(_numSpeed); } function set numSpeed(__numValue) { _numSpeed = __numValue; _vectSpeed.__set__numLength(_numSpeed); //return(numSpeed); } function initBlast(__numType) { attachMovie(SYMBOL_BASE + __numType.toString(), "_mcObject", 1); numType = (__numType); } function setTarget(__boolTargetsEnemy, __objTarget) { _boolTargetsEnemy = __boolTargetsEnemy; if (_boolTargetsEnemy) { _mcTarget = MovieClip(__objTarget); } else { _numTargetX = __objTarget.x; _numTargetY = __objTarget.y; } } function process() { if (_boolTargetsEnemy && (!_mcTarget.boolExists)) { _numLiveTimer--; if (_numLiveTimer == 0) { removeMovieClip(); } } else { var _local2 = new Object(); if (_boolTargetsEnemy) { _local2.x = _mcTarget._x; _local2.y = _mcTarget._y; _mcTarget._parent.localToGlobal(objTargetGlobal); } else { _local2.x = _numTargetX; _local2.y = _numTargetY; } var objTargetGlobal = {x:_local2.x, y:_local2.y}; _parent.globalToLocal(_local2); var _local3 = new CVector(_local2.x - _x, _local2.y - _y); if (_local3.__get__numLength() <= TARGET_HIT_TOLERANCE) { switch (_numType) { case TYPE_ROCKET : case TYPE_AASHELL : _mcTarget.applyEffect(new CEffect(CEffect.TYPE_DAMAGE, {damage:_numDamage})); break; case TYPE_CHAINBLAST : _mcTarget.applyEffect(new CEffect(CEffect.TYPE_DAMAGE, {damage:_numDamage / _numTTL})); break; case TYPE_MISSILE : dispatchMessage(CEventMovieClip.MSG_SPLASHEFFECT, {effect:new CEffect(CEffect.TYPE_PIERCEDAMAGE, {damage:_numDamage}), centerX:objTargetGlobal.x, centerY:objTargetGlobal.y, radius:_numSplashRadius, altitude:_numAltitude}); case TYPE_BALL : case TYPE_ELECTRICFIELD : dispatchMessage(CEventMovieClip.MSG_SPLASHEFFECT, {effect:new CEffect(CEffect.TYPE_DAMAGE, {damage:_numDamage}), centerX:objTargetGlobal.x, centerY:objTargetGlobal.y, radius:_numSplashRadius, altitude:_numAltitude}); break; case TYPE_SLOWSHOT : _mcTarget.applyEffect(new CEffect(CEffect.TYPE_DAMAGE, {damage:_numDamage})); dispatchMessage(CEventMovieClip.MSG_SPLASHEFFECT, {effect:new CEffect(CEffect.TYPE_SLOW, {percent:0.25}, 36), centerX:objTargetGlobal.x, centerY:objTargetGlobal.y, radius:_numSplashRadius, altitude:_numAltitude}); break; case TYPE_NULIFYBALL : _mcTarget.applyEffect(new CEffect(CEffect.TYPE_CLEAR)); break; case TYPE_LASERBEAM : case TYPE_GAUSSRAIL : _mcTarget.applyEffect(new CEffect(CEffect.TYPE_PIERCEDAMAGE, {damage:_numDamage})); break; case TYPE_CONFUSEBALL : _mcTarget.applyEffect(new CEffect(CEffect.TYPE_DAMAGE, {damage:_numDamage})); _mcTarget.applyEffect(new CEffect(CEffect.TYPE_CONFUSE, {percent:0.7}, 60)); } if (_strEffectSymbol) { var _local4 = {symbol:_strEffectSymbol, x:_x, y:_y, altitude:_numAltitude}; if (_numType == TYPE_ELECTRICFIELD) { _local4.altitude = CMap.ALTITUDE_AIR; _local4.radius = _numSplashRadius; } _parent.localToGlobal(_local4); dispatchMessage(CEventMovieClip.MSG_CREATEGFX, _local4); } if ((_numType == TYPE_CHAINBLAST) && (_numTTL < 3)) { _numTTL++; var _local7 = _mcTarget; _mcTarget = undefined; dispatchMessage(CEventMovieClip.MSG_TARGETLOST, {range:50, alt:CMap.ALTITUDE_GROUND, forbidden:_local7}); if (!_mcTarget.boolExists) { removeMovieClip(); } } else { removeMovieClip(); } } var _local5 = _vectSpeed.getAngleWith(_local3); if (_local5 > TARGET_TURN_TOLERANCE) { var _local8 = (_local3.__get__numX() * _vectSpeed.__get__numY()) - (_vectSpeed.__get__numX() * _local3.__get__numY()); var _local6 = ((_numTurnSpeed > _local5) ? (_local5) : (_numTurnSpeed)); if (_local8 > 0) { _vectSpeed.rotate(_local6); } else { _vectSpeed.rotate(-_local6); } } } _x = _x + _vectSpeed.numX; _y = _y + _vectSpeed.numY; _rotation = _vectSpeed.numRotation; } static var TYPE_ROCKET = 1; static var TYPE_BALL = 2; static var TYPE_SLOWSHOT = 3; static var TYPE_ELECTRICFIELD = 4; static var TYPE_NULIFYBALL = 5; static var TYPE_LASERBEAM = 6; static var TYPE_AASHELL = 7; static var TYPE_MISSILE = 8; static var TYPE_CHAINBLAST = 9; static var TYPE_GAUSSRAIL = 10; static var TYPE_CONFUSEBALL = 11; static var SYMBOL_BASE = "id_blast"; static var TARGET_HIT_TOLERANCE = 10; static var TARGET_TURN_TOLERANCE = 0.1; static var TTL = 100; static var DAMAGE_BONUS = 0; }
Symbol 738 MovieClip [__Packages.CCursor] Frame 0
class CCursor extends CEventMovieClip { var _numState, mcCursor, _numAbilityAttached, _mapReference, attachMovie, _boolJustAttached, filters, _objCell, _parent, _visible, _x, _y, dispatchMessage, _alpha; function CCursor () { super(); } function get numState() { return(_numState); } function set numState(__newValue) { if (_numState != __newValue) { _numState = __newValue; } //return(numState); } function get buildingCursor() { return(CBuilding(mcCursor)); } function get numAbility() { return(_numAbilityAttached); } function initCursor(__mapReference) { _mapReference = __mapReference; } function attachBuilding(__numType) { clear(); attachMovie("id_building", "mcCursor", CURSOR_DEPTH); if (mcCursor.initBuilding(__numType) == false) { return(false); } mcCursor.numState = CBuilding.STATE_PLACING; numState = (STATE_BUILDING); _boolJustAttached = true; return(true); } function attachAbility(__numType) { _numAbilityAttached = __numType; attachMovie(CAbility.getCursorSymbol(__numType), "mcCursor", CURSOR_DEPTH); numState = (STATE_ABILITY); _boolJustAttached = true; } function clear() { if (!_boolJustAttached) { mcCursor.removeMovieClip(); numState = (STATE_CLEAR); filters = new Array(); } } function refresh() { if (numState != STATE_CLEAR) { _objCell = _mapReference.cellHitTest(_root._xmouse, _root._ymouse); _parent.globalToLocal(_objCell); var _local4 = (mcCursor._numCellI != _objCell.i) || (mcCursor._numCellJ != _objCell.j); mcCursor._numCellI = _objCell.i; mcCursor._numCellJ = _objCell.j; _visible = !_objCell.out; if (numState == STATE_BUILDING) { _x = _objCell.x; _y = _objCell.y; if (_local4) { dispatchMessage(CEventMovieClip.MSG_MOUSEOUT, {forceHide:true}, buildingCursor); if (!_objCell.out) { dispatchMessage(CEventMovieClip.MSG_MOUSEOVER, {forceShow:true}, buildingCursor); } _mapReference.toggleGrid(!_objCell.out); } if (_mapReference.checkPlacingSpace(_objCell.i, _objCell.j, mcCursor._matrixPattern)) { _objCell.free = true; var _local3 = new Array(); _local3.push(PERMISSION_GLOW); filters = _local3; } else { _objCell.free = false; var _local3 = new Array(); _local3.push(FORBIDDEN_GLOW); filters = _local3; } } else if ((numState == STATE_ABILITY) && (numAbility == CAbility.TYPE_WALL)) { _x = _objCell.x; _y = _objCell.y; if (_mapReference.checkWallSpace(_objCell.i, _objCell.j)) { _objCell.free = true; var _local3 = new Array(); _local3.push(PERMISSION_GLOW); filters = _local3; } else { _objCell.free = false; var _local3 = new Array(); _local3.push(FORBIDDEN_GLOW); filters = _local3; } _mapReference.toggleGrid(!_objCell.out); } else { _x = _parent._xmouse; _y = _parent._ymouse; switch (numAbility) { case CAbility.TYPE_SELL : if (_mapReference.checkBuildingSpace(_objCell.i, _objCell.j)) { _objCell.free = true; filters = new Array(); } else { _objCell.free = false; var _local3 = new Array(); _local3.push(FORBIDDEN_GLOW); filters = _local3; } _mapReference.toggleGrid(!_objCell.out); break; case CAbility.TYPE_MISSILE : case CAbility.TYPE_TIMEBOMB : _objCell.free = true; _alpha = 100; } } } } function onMouseMove() { refresh(); updateAfterEvent(); } function onMouseDown() { if ((numState == STATE_BUILDING) || (numState == STATE_ABILITY)) { refresh(); dispatchMessage(CEventMovieClip.MSG_MOUSECLICK, _objCell); } updateAfterEvent(); } function onEnterFrame() { _boolJustAttached = false; } static var CURSOR_DEPTH = 1; static var STATE_CLEAR = 0; static var STATE_BUILDING = 1; static var STATE_ABILITY = 2; static var FORBIDDEN_GLOW = new flash.filters.GlowFilter(16711680, 30, 7, 7); static var PERMISSION_GLOW = new flash.filters.GlowFilter(65280, 30, 7, 7); }
Symbol 739 MovieClip [__Packages.CAbility] Frame 0
class CAbility { var numType, _numCooldown, tgbtnLink, _numSources, _boolAvaliable, _numTimer; function CAbility (__numType, __tgbtnLink, __numSources) { numType = __numType; switch (numType) { case TYPE_SELL : case TYPE_MONEYBONUS : case TYPE_TOWERBONUS : _numCooldown = 0; break; case TYPE_MISSILE : _numCooldown = 5400; break; case TYPE_WALL : _numCooldown = 5400; break; case TYPE_TIMEBOMB : _numCooldown = 5400; } tgbtnLink = __tgbtnLink; tgbtnLink.mcClock.gotoAndStop(7201); numSources = (__numSources); } static function getCursorSymbol(__numType) { switch (__numType) { case TYPE_SELL : return("id_cursor_sell"); case TYPE_MISSILE : return("id_cursor_missile"); case TYPE_WALL : return("id_cursor_wall"); case TYPE_TIMEBOMB : return("id_cursor_timebomb"); } return(undefined); } function get numSources() { return(_numSources); } function set numSources(__numValue) { _numSources = __numValue; if (_numSources < 0) { _numSources = 0; } boolAvaliable = (_numSources > 0); //return(numSources); } function get boolAvaliable() { return(_boolAvaliable); } function set boolAvaliable(__boolValue) { if ((!_boolAvaliable) && (__boolValue)) { numTimer = (0); } _boolAvaliable = __boolValue; tgbtnLink.__set__boolEnabled(_boolAvaliable); tgbtnLink._visible = _boolAvaliable; //return(boolAvaliable); } function get numTimer() { return(_numTimer); } function set numTimer(__numValue) { _numTimer = __numValue; if (_numTimer < 0) { _numTimer = 0; } updateClock(); //return(numTimer); } function tick() { if (_boolAvaliable) { if (numTimer == 0) { if (!tgbtnLink.__get__boolEnabled()) { tgbtnLink.__set__boolEnabled(true); } } else { numTimer = numTimer - numSources; } } } function updateClock() { tgbtnLink.mcClock.gotoAndStop(7201 - Math.floor((7200 * _numTimer) / _numCooldown)); } function reset() { numTimer = (_numCooldown); if (numTimer > 0) { tgbtnLink.__set__boolEnabled(false); return(true); } return(false); } static var TYPE_SELL = 1; static var TYPE_MISSILE = 2; static var TYPE_WALL = 3; static var TYPE_TIMEBOMB = 4; static var TYPE_MONEYBONUS = 5; static var TYPE_TOWERBONUS = 6; }
Symbol 740 MovieClip [__Packages.CToggleButton] Frame 0
class CToggleButton extends CEventMovieClip { var mcHitArea, _boolPressed, _boolEnabled, gotoAndStop, _numToolTipTimer, _strToolTip, onRollOver, onRollOut, attachMovie, _mcToolTip, onEnterFrame, onMouseMove, dispatchMessage, _visible, _xmouse, _ymouse; function CToggleButton () { super(); if (mcHitArea == undefined) { mcHitArea = this; } _boolPressed = false; _boolEnabled = true; } function get boolPressed() { return(_boolPressed); } function set boolPressed(__boolValue) { if (_boolPressed != __boolValue) { _boolPressed = __boolValue; if (_boolPressed) { gotoAndStop("frmPressed"); } else { gotoAndStop("frmReleased"); } } //return(boolPressed); } function get boolEnabled() { return(_boolEnabled); } function set boolEnabled(__boolValue) { if (_boolEnabled != __boolValue) { _boolEnabled = __boolValue; if (_boolEnabled == false) { boolPressed = (false); } else { _numToolTipTimer = TOOLTIP_DELAY; } } //return(boolEnabled); } function get strToolTip() { return(_strToolTip); } function set strToolTip(__strValue) { _strToolTip = (" " + __strValue) + " "; if ((_strToolTip != undefined) && (_strToolTip != "")) { onRollOver = ttOnRollOver; onRollOut = ttOnRollOut; attachMovie("id_mcToolTip", "_mcToolTip", 1); _mcToolTip.textToolTip.autoSize = true; _mcToolTip.textToolTip.text = _strToolTip; _mcToolTip._visible = false; } else { onRollOver = undefined; onRollOut = undefined; onEnterFrame = undefined; onMouseMove = undefined; _mcToolTip.removeMovieClip(); } //return(strToolTip); } function onMouseDown() { if (_boolEnabled) { if (mcHitArea.hitTest(_root._xmouse, _root._ymouse, true)) { dispatchMessage(CEventMovieClip.MSG_TOGGLEPRESS, {isHit:true}); CSoundService.playSound(Const.SND_SWITCH); } else { dispatchMessage(CEventMovieClip.MSG_TOGGLEPRESS, {isHit:false}); } } if ((_strToolTip != undefined) && (_strToolTip != "")) { toggleToolTip(false); _numToolTipTimer = TOOLTIP_DELAY; } updateAfterEvent(); } function toggleToolTip(__boolShow) { if (_visible || (!__boolShow)) { _mcToolTip._visible = __boolShow; if (__boolShow) { _mcToolTip._x = _xmouse - _mcToolTip._width; _mcToolTip._y = _ymouse + 22; } } } function ttOnRollOver() { onEnterFrame = ttOnEnterFrame; onMouseMove = ttOnMouseMove; _numToolTipTimer = TOOLTIP_DELAY; updateAfterEvent(); } function ttOnRollOut() { toggleToolTip(false); onEnterFrame = undefined; onMouseMove = undefined; updateAfterEvent(); } function ttOnMouseMove() { toggleToolTip(false); _numToolTipTimer = TOOLTIP_DELAY; updateAfterEvent(); } function ttOnEnterFrame() { _numToolTipTimer--; if (_numToolTipTimer == 0) { toggleToolTip(true); } } static var TOOLTIP_DELAY = 12; }
Symbol 741 MovieClip [__Packages.CQuest] Frame 0
class CQuest { var _numPoints, boolActive, _numType, _numPointCap, strCompleteMsg; function CQuest (__numType) { numType = (__numType); _numPoints = 0; boolActive = false; } function get numType() { return(_numType); } function set numType(__numValue) { if (_numType != __numValue) { _numType = __numValue; switch (_numType) { case TYPE_TOWERS1_1 : _numPointCap = 0; strCompleteMsg = "MISSILE TURRET"; break; case TYPE_TOWERS1_2 : _numPointCap = 1; strCompleteMsg = "HOWITZER"; break; case TYPE_TOWERS1_3 : _numPointCap = 5; strCompleteMsg = "TESLA TOWER"; break; case TYPE_TOWERS1_4 : _numPointCap = 40; strCompleteMsg = "GUTLING LASER"; break; case TYPE_TOWERS1_5 : _numPointCap = 1; strCompleteMsg = "NULIFICATOR"; break; case TYPE_TOWERS2_1 : _numPointCap = 0; strCompleteMsg = "AA GUN"; break; case TYPE_TOWERS2_2 : _numPointCap = 5; strCompleteMsg = "GOO CANNON"; break; case TYPE_TOWERS2_3 : _numPointCap = 1000; strCompleteMsg = "CHAIN GUN"; break; case TYPE_TOWERS2_4 : _numPointCap = 1; strCompleteMsg = "GAUSS CANNON"; break; case TYPE_TOWERS2_5 : _numPointCap = 10; strCompleteMsg = "OIL SPRAY"; break; case TYPE_STRUCTURES_1 : _numPointCap = 5; strCompleteMsg = "NUCLEAR SILO"; break; case TYPE_STRUCTURES_2 : _numPointCap = 15; strCompleteMsg = "WALL FACTORY"; break; case TYPE_STRUCTURES_3 : _numPointCap = 3; strCompleteMsg = "RECYCLER"; break; case TYPE_STRUCTURES_4 : _numPointCap = 7; strCompleteMsg = "RADAR DOME"; break; case TYPE_STRUCTURES_5 : strCompleteMsg = "LABORATORY"; _numPointCap = 2; } } //return(numType); } function get numPoints() { return(_numPoints); } function set numPoints(__numValue) { _numPoints = __numValue; if (_numPoints < 0) { _numPoints = 0; } //return(numPoints); } function get numPointCap() { return(_numPointCap); } function get boolComplete() { return(_numPoints >= _numPointCap); } static var TYPE_TOWERS1_1 = 1; static var TYPE_TOWERS1_2 = 2; static var TYPE_TOWERS1_3 = 3; static var TYPE_TOWERS1_4 = 4; static var TYPE_TOWERS1_5 = 5; static var TYPE_TOWERS2_1 = 6; static var TYPE_TOWERS2_2 = 7; static var TYPE_TOWERS2_3 = 8; static var TYPE_TOWERS2_4 = 9; static var TYPE_TOWERS2_5 = 10; static var TYPE_STRUCTURES_1 = 11; static var TYPE_STRUCTURES_2 = 12; static var TYPE_STRUCTURES_3 = 13; static var TYPE_STRUCTURES_4 = 14; static var TYPE_STRUCTURES_5 = 15; }
Symbol 742 MovieClip [__Packages.CMissionUIPanel] Frame 0
class CMissionUIPanel extends CEventMovieClip { var onEnterFrame, _boolEnabled, _btnStartAttack, _mcBtnAbility1, _mcBtnAbility2, _mcBtnAbility3, _mcBtnAbility4, _visible, textMessage, _numCurrentTab, dispatchMessage, _mcPauseSwitch, _btnQuit, textTimer, textScreen, _mcErrorBlink, numMessageTimer, _mcSoundSwitch, _mcTabButton1, _mcTabButton2, _mcTabButton3; function CMissionUIPanel () { super(); Key.addListener(this); onEnterFrame = oefInit; } function get boolEnabled() { return(_boolEnabled); } function set boolEnabled(__boolValue) { _boolEnabled = __boolValue; _btnStartAttack._visible = _boolEnabled; //return(boolEnabled); } function oefInit() { var _local3 = 1; while (_local3 <= 3) { var _local2 = 1; while (_local2 <= 5) { if (Const.DISABLE_QUESTS) { changeBBState(_local3, _local2, BB_STATE_SHOW); } else { changeBBState(_local3, _local2, BB_STATE_HIDE); } _local2++; } _local3++; } _mcBtnAbility1.__set__strToolTip("SELL"); _mcBtnAbility2.__set__strToolTip("LAUNCH MISSILE"); _mcBtnAbility3.__set__strToolTip("CONSTRUCT WALL"); _mcBtnAbility4.__set__strToolTip("STOP TIME"); onTabChange(1); _visible = true; textMessage._visible = false; boolEnabled = (true); onEnterFrame = undefined; } function changeBBState(__numTabPage, __numButton, __numState) { var _local2 = CToggleButton(this[TABPAGE_NAME_BASE + __numTabPage]["_mcBtnBuilding" + __numButton]); switch (__numState) { case BB_STATE_HIDE : _local2._visible = false; _local2.__set__boolEnabled(false); this[TABPAGE_NAME_BASE + __numTabPage]["_mcDescription" + __numButton].gotoAndStop(3); break; case BB_STATE_QUEST : _local2._visible = false; _local2.__set__boolEnabled(false); this[TABPAGE_NAME_BASE + __numTabPage]["_mcDescription" + __numButton].gotoAndStop(2); break; case BB_STATE_SHOW : if (_numCurrentTab == __numTabPage) { _local2._visible = true; _local2.__set__boolEnabled(true); } this[TABPAGE_NAME_BASE + __numTabPage]["_mcDescription" + __numButton].gotoAndStop(1); this[TABPAGE_NAME_BASE + __numTabPage]["_mcDescription" + __numButton].textInfo.text = "PRICE: " + String(CBuilding.PRICES[((__numTabPage - 1) * 5) + (__numButton - 1)]); } } function updateQuest(__numTabPage, __numButton, __quest) { this[TABPAGE_NAME_BASE + __numTabPage]["_mcDescription" + __numButton].textInfo.text = (__quest.__get__numPoints().toString() + " / ") + __quest.__get__numPointCap().toString(); } function onTabChange(__numTabIndex) { _numCurrentTab = __numTabIndex; var _local5; var _local3 = 1; while (_local3 <= TABS_NUMBER) { _local5 = CToggleButton(this[TABBUTTON_NAME_BASE + _local3]); var _local4 = false; if (_local3 == _numCurrentTab) { _local4 = true; } _local5.__set__boolPressed(_local4); this[TABPAGE_NAME_BASE + _local3]._visible = _local4; var _local2 = 1; while (_local2 <= 5) { if (this[TABPAGE_NAME_BASE + _local3]["_mcDescription" + _local2]._currentframe == 1) { this[TABPAGE_NAME_BASE + _local3]["_mcBtnBuilding" + _local2].boolEnabled = _local4; this[TABPAGE_NAME_BASE + _local3]["_mcBtnBuilding" + _local2]._visible = _local4; } _local2++; } _local3++; } } function updatePriceColor(__numFunds) { var _local3 = 1; while (_local3 <= 3) { var _local2 = 1; while (_local2 <= 5) { if (this[TABPAGE_NAME_BASE + _local3]["_mcDescription" + _local2]._currentframe == 1) { if (__numFunds >= CBuilding.PRICES[((_local3 - 1) * 5) + (_local2 - 1)]) { this[TABPAGE_NAME_BASE + _local3]["_mcDescription" + _local2].textInfo.textColor = 0; } else { this[TABPAGE_NAME_BASE + _local3]["_mcDescription" + _local2].textInfo.textColor = 16711680 /* 0xFF0000 */; } } _local2++; } _local3++; } } function onHurryRelease() { dispatchMessage(CEventMovieClip.MSG_HURRYATTACK); CSoundService.playSound(Const.SND_SWITCH); } function onQuitRelease() { dispatchMessage(CEventMovieClip.MSG_QUITGAME); CSoundService.playSound(Const.SND_SWITCH); } function onPauseRelease(__boolPause) { dispatchMessage(CEventMovieClip.MSG_PAUSEGAME, {pause:__boolPause}); CSoundService.playSound(Const.SND_SWITCH); } function switchServiceButtonsVisibility(__boolVisible) { _mcPauseSwitch._visible = __boolVisible; _btnQuit._visible = __boolVisible; } function showMessage(__strMessage, __boolError) { if (__boolError == undefined) { __boolError = false; } textTimer._visible = false; textScreen._visible = false; textMessage.text = __strMessage; textMessage._visible = true; _mcErrorBlink.play(); if (__boolError) { CSoundService.playSound(Const.SND_ERROR); } else { CSoundService.playSound(Const.SND_QUEST); } numMessageTimer = MESSAGE_DELAY; onEnterFrame = oefWaitMessage; } function onKeyDown() { if (Key.isDown(32) && (_btnStartAttack._visible)) { onHurryRelease(); } if (Key.isDown(80) && (_mcPauseSwitch._visible)) { if (_mcPauseSwitch._currentframe == 1) { onPauseRelease(true); } else { onPauseRelease(false); } _mcPauseSwitch.play(); } if (Key.isDown(77) && (_mcSoundSwitch._visible)) { if (_mcSoundSwitch._currentframe == 1) { CSoundService.soundOff(); } else { CSoundService.soundOn(); } _mcSoundSwitch.play(); } if (Key.isDown(81) && (_btnQuit._visible)) { onQuitRelease(); } } function oefWaitMessage() { numMessageTimer--; if (numMessageTimer == 0) { textTimer._visible = true; textScreen._visible = true; textMessage._visible = false; onEnterFrame = undefined; } } function processMessage(__numMessage, __objParam, __mcInvoker) { var _local2 = false; if (!(__numMessage === CEventMovieClip.MSG_TOGGLEPRESS)) { } else if (!boolEnabled) { _local2 = true; } else { var _local3 = CToggleButton(__mcInvoker); if (((_local3 == _mcTabButton1) || (_local3 == _mcTabButton2)) || (_local3 == _mcTabButton3)) { _local2 = true; } if (__objParam.isHit && (!_local3.__get__boolPressed())) { switch (_local3) { case _mcTabButton1 : onTabChange(1); _mcTabButton2.__set__boolPressed(false); _mcTabButton3.__set__boolPressed(false); _local2 = true; break; case _mcTabButton2 : onTabChange(2); _mcTabButton1.__set__boolPressed(false); _mcTabButton3.__set__boolPressed(false); _local2 = true; break; case _mcTabButton3 : onTabChange(3); _mcTabButton1.__set__boolPressed(false); _mcTabButton2.__set__boolPressed(false); _local2 = true; } } } if (!_local2) { dispatchMessage(__numMessage, __objParam, __mcInvoker); } } static var TABBUTTON_NAME_BASE = "_mcTabButton"; static var TABPAGE_NAME_BASE = "_mcTabPage"; static var FRAME_NAME_BASE = "_mcFrame"; static var TABS_NUMBER = 3; static var BB_STATE_HIDE = 1; static var BB_STATE_QUEST = 2; static var BB_STATE_SHOW = 3; static var MESSAGE_DELAY = 48; }
Symbol 55 MovieClip [id_blast] Frame 1
#initclip 50 Object.registerClass("id_blast", CBlast); #endinitclip
Symbol 85 MovieClip [id_building] Frame 1
#initclip 18 Object.registerClass("id_building", CBuilding); #endinitclip
Symbol 201 MovieClip [id_effect_slow] Frame 11
Symbol 202 MovieClip [id_enemy] Frame 1
#initclip 19 Object.registerClass("id_enemy", CEnemy); #endinitclip
Symbol 208 MovieClip [id_enemy2] Frame 1
#initclip 20 Object.registerClass("id_enemy2", CEnemy); #endinitclip
Symbol 211 MovieClip [id_enemy3] Frame 1
#initclip 21 Object.registerClass("id_enemy3", CEnemy); #endinitclip
Symbol 231 MovieClip [id_gfx_aablast] Frame 4
this.removeMovieClip();
Symbol 260 MovieClip [id_gfx_explosion_big] Frame 1
CSoundService.playSound(Const.SND_BIGEXPLOSION);
Symbol 260 MovieClip [id_gfx_explosion_big] Frame 15
this.removeMovieClip();
Symbol 264 MovieClip [id_gfx_electricfield] Frame 4
this.removeMovieClip();
Symbol 281 MovieClip [id_gfx_explosion_medium] Frame 1
CSoundService.playSound(Const.SND_MEDIUMEXPLOSION);
Symbol 281 MovieClip [id_gfx_explosion_medium] Frame 9
this.removeMovieClip();
Symbol 292 MovieClip [id_gfx_missileblast] Frame 1
CSoundService.playSound(Const.SND_NUCLEAREXPLOSION);
Symbol 292 MovieClip [id_gfx_missileblast] Frame 6
this.removeMovieClip();
Symbol 296 MovieClip [id_gfx_slowsplash] Frame 4
this.removeMovieClip();
Symbol 313 MovieClip [id_gfx_explosion_small] Frame 1
CSoundService.playSound(Const.SND_SMALLEXPLOSION);
Symbol 313 MovieClip [id_gfx_explosion_small] Frame 9
this.removeMovieClip();
Symbol 318 MovieClip [id_gfx_splash] Frame 4
this.removeMovieClip();
Symbol 327 MovieClip [mc_button_ability_1] Frame 1
#initclip 22 Object.registerClass("mc_button_ability_1", CToggleButton); #endinitclip stop();
Symbol 327 MovieClip [mc_button_ability_1] Frame 2
stop();
Symbol 330 MovieClip [mc_button_ability_2] Frame 1
#initclip 23 Object.registerClass("mc_button_ability_2", CToggleButton); #endinitclip stop();
Symbol 330 MovieClip [mc_button_ability_2] Frame 2
stop();
Symbol 333 MovieClip [mc_button_ability_3] Frame 1
#initclip 24 Object.registerClass("mc_button_ability_3", CToggleButton); #endinitclip stop();
Symbol 333 MovieClip [mc_button_ability_3] Frame 2
stop();
Symbol 336 MovieClip [mc_button_ability_4] Frame 1
#initclip 25 Object.registerClass("mc_button_ability_4", CToggleButton); #endinitclip stop();
Symbol 336 MovieClip [mc_button_ability_4] Frame 2
stop();
Symbol 340 MovieClip [mc_button_structure_1] Frame 1
#initclip 26 Object.registerClass("mc_button_structure_1", CToggleButton); #endinitclip stop();
Symbol 340 MovieClip [mc_button_structure_1] Frame 2
stop();
Symbol 343 MovieClip [mc_button_structure_2] Frame 1
#initclip 27 Object.registerClass("mc_button_structure_2", CToggleButton); #endinitclip stop();
Symbol 343 MovieClip [mc_button_structure_2] Frame 2
stop();
Symbol 346 MovieClip [mc_button_structure_3] Frame 1
#initclip 28 Object.registerClass("mc_button_structure_3", CToggleButton); #endinitclip stop();
Symbol 346 MovieClip [mc_button_structure_3] Frame 2
stop();
Symbol 349 MovieClip [mc_button_structure_4] Frame 1
#initclip 29 Object.registerClass("mc_button_structure_4", CToggleButton); #endinitclip stop();
Symbol 349 MovieClip [mc_button_structure_4] Frame 2
stop();
Symbol 352 MovieClip [mc_button_structure_5] Frame 1
#initclip 30 Object.registerClass("mc_button_structure_5", CToggleButton); #endinitclip stop();
Symbol 352 MovieClip [mc_button_structure_5] Frame 2
stop();
Symbol 358 MovieClip [mc_button_structures_tab] Frame 1
#initclip 31 Object.registerClass("mc_button_structures_tab", CToggleButton); #endinitclip stop();
Symbol 358 MovieClip [mc_button_structures_tab] Frame 2
stop();
Symbol 361 MovieClip [mc_button_tower_1_1] Frame 1
#initclip 32 Object.registerClass("mc_button_tower_1_1", CToggleButton); #endinitclip stop();
Symbol 361 MovieClip [mc_button_tower_1_1] Frame 2
stop();
Symbol 364 MovieClip [mc_button_tower_1_2] Frame 1
#initclip 33 Object.registerClass("mc_button_tower_1_2", CToggleButton); #endinitclip stop();
Symbol 364 MovieClip [mc_button_tower_1_2] Frame 2
stop();
Symbol 367 MovieClip [mc_button_tower_1_3] Frame 1
#initclip 34 Object.registerClass("mc_button_tower_1_3", CToggleButton); #endinitclip stop();
Symbol 367 MovieClip [mc_button_tower_1_3] Frame 2
stop();
Symbol 370 MovieClip [mc_button_tower_1_4] Frame 1
#initclip 35 Object.registerClass("mc_button_tower_1_4", CToggleButton); #endinitclip stop();
Symbol 370 MovieClip [mc_button_tower_1_4] Frame 2
stop();
Symbol 373 MovieClip [mc_button_tower_1_5] Frame 1
#initclip 36 Object.registerClass("mc_button_tower_1_5", CToggleButton); #endinitclip stop();
Symbol 373 MovieClip [mc_button_tower_1_5] Frame 2
stop();
Symbol 376 MovieClip [mc_button_tower_2_2] Frame 1
#initclip 37 Object.registerClass("mc_button_tower_2_2", CToggleButton); #endinitclip stop();
Symbol 376 MovieClip [mc_button_tower_2_2] Frame 2
stop();
Symbol 379 MovieClip [mc_button_tower_2_1] Frame 1
#initclip 38 Object.registerClass("mc_button_tower_2_1", CToggleButton); #endinitclip stop();
Symbol 379 MovieClip [mc_button_tower_2_1] Frame 2
stop();
Symbol 382 MovieClip [mc_button_tower_2_3] Frame 1
#initclip 39 Object.registerClass("mc_button_tower_2_3", CToggleButton); #endinitclip stop();
Symbol 382 MovieClip [mc_button_tower_2_3] Frame 2
stop();
Symbol 385 MovieClip [mc_button_tower_2_4] Frame 1
#initclip 40 Object.registerClass("mc_button_tower_2_4", CToggleButton); #endinitclip stop();
Symbol 385 MovieClip [mc_button_tower_2_4] Frame 2
stop();
Symbol 388 MovieClip [mc_button_tower_2_5] Frame 1
#initclip 41 Object.registerClass("mc_button_tower_2_5", CToggleButton); #endinitclip stop();
Symbol 388 MovieClip [mc_button_tower_2_5] Frame 2
stop();
Symbol 391 MovieClip [mc_button_towers1_tab] Frame 1
#initclip 42 Object.registerClass("mc_button_towers1_tab", CToggleButton); #endinitclip stop();
Symbol 391 MovieClip [mc_button_towers1_tab] Frame 2
stop();
Symbol 394 MovieClip [mc_button_towers2_tab] Frame 1
#initclip 43 Object.registerClass("mc_button_towers2_tab", CToggleButton); #endinitclip stop();
Symbol 394 MovieClip [mc_button_towers2_tab] Frame 2
stop();
Symbol 400 Button
on (release) { _parent.onGameOverDialogClose(); }
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 2
stop();
Symbol 435 Button
on (release) { getURL ("http://www.miniclip.com/", "_blank"); }
Symbol 529 MovieClip Frame 1
stop();
Symbol 533 Button
on (release) { this.onHurryRelease(); }
Symbol 535 Button
on (release) { this.onQuitRelease(); }
Symbol 538 Button
on (release) { this.play(); _parent.onPauseRelease(true); }
Symbol 540 Button
on (release) { this.play(); _parent.onPauseRelease(false); }
Symbol 541 MovieClip Frame 1
stop();
Symbol 541 MovieClip Frame 2
stop();
Symbol 543 Button
on (release) { this.play(); CSoundService.soundOff(); }
Symbol 545 Button
on (release) { this.play(); CSoundService.soundOn(); }
Symbol 546 MovieClip Frame 1
if (!CSoundService.soundIsOn()) { this.gotoAndStop(2); } stop();
Symbol 546 MovieClip Frame 2
stop();
Symbol 547 MovieClip [id_missionUI] Frame 1
#initclip 44 Object.registerClass("id_missionUI", CMissionUIPanel); #endinitclip
Symbol 550 Button
on (release) { _parent.onQuitDialogClose(true); }
Symbol 552 Button
on (release) { _parent.onQuitDialogClose(false); }
Symbol 555 Button
on (release) { getURL ("http://www.miniclip.com", "_blank"); }
Symbol 564 Button
on (release) { CSoundService.playSound(Const.SND_SWITCH); _parent.numState = CGame.STATE_OPTIONSSCREEN; }
Symbol 571 Button
on (release) { CSoundService.playSound(Const.SND_SWITCH); _parent.numState = CGame.STATE_VIEWSCORE; }
Symbol 575 Button
on (release) { CSoundService.playSound(Const.SND_SWITCH); _parent.numState = CGame.STATE_RULESSCREEN; }
Symbol 580 Button
on (release) { getURL ("http://www.iriysoft.ru", "_blank"); }
Symbol 586 Button
on (release) { CSoundService.playSound(Const.SND_SWITCH); _parent.numState = CGame.STATE_MAINSCREEN; }
Symbol 615 Button
on (release) { _parent._parent.numMap = 1; _parent.mcSelectedMap.gotoAndStop(1); CSoundService.playSound(Const.SND_SWITCH); _parent.gotoAndStop(2); }
Symbol 616 Button
on (release) { _parent._parent.numMap = 2; _parent.mcSelectedMap.gotoAndStop(2); CSoundService.playSound(Const.SND_SWITCH); _parent.gotoAndStop(2); }
Symbol 617 Button
on (release) { _parent._parent.numMap = 3; _parent.mcSelectedMap.gotoAndStop(3); CSoundService.playSound(Const.SND_SWITCH); _parent.gotoAndStop(2); }
Symbol 618 MovieClip Frame 1
this.mcNoise2.gotoAndPlay(9); this.mcNoise3.gotoAndPlay(43); stop();
Symbol 620 Button
on (release) { CSoundService.playSound(Const.SND_SWITCH); this.gotoAndStop(1); }
Symbol 642 MovieClip Frame 1
stop();
Symbol 643 Button
on (release) { CSoundService.playSound(Const.SND_SWITCH); _parent.numProgram = 0; _parent.numState = CGame.STATE_MISSION; }
Symbol 644 Button
on (release) { CSoundService.playSound(Const.SND_SWITCH); _parent.numProgram = 1; _parent.numState = CGame.STATE_MISSION; }
Symbol 645 Button
on (release) { CSoundService.playSound(Const.SND_SWITCH); _parent.numProgram = 2; _parent.numState = CGame.STATE_MISSION; }
Symbol 647 MovieClip [id_mcOptionsScreen] Frame 1
stop();
Symbol 647 MovieClip [id_mcOptionsScreen] Frame 2
stop();
Symbol 663 MovieClip [id_map] Frame 1
#initclip 45 Object.registerClass("id_map", CMap); #endinitclip
Symbol 670 MovieClip [id_cursor] Frame 1
#initclip 46 Object.registerClass("id_cursor", CCursor); #endinitclip
Symbol 671 MovieClip [id_mapLayer] Frame 1
#initclip 47 Object.registerClass("id_mapLayer", CMap); #endinitclip
Symbol 672 MovieClip [id_layer] Frame 1
#initclip 48 Object.registerClass("id_layer", CLayer); #endinitclip
Symbol 696 MovieClip Frame 1
stop();
Symbol 697 MovieClip [dmSoundService] Frame 1
#initclip 49 Object.registerClass("dmSoundService", CSoundService); #endinitclip
Symbol 701 MovieClip Frame 1
this._visible = false;
Symbol 710 Button
on (release) { gameURL = ("http://www.miniclip.com/" + gamename) + ".htm"; getURL (gameURL, "_blank"); }
Symbol 712 MovieClip Frame 1
System.security.allowDomain("www.miniclip.com");
Instance of Symbol 701 MovieClip "mcHighscores" in Symbol 712 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 712 MovieClip Frame 2
if ((((_url.indexOf("miniclip.com") == -1) && (_url.indexOf("miniclip.net") == -1)) && (_url.indexOf("miniclip.co.uk") == -1)) && (_url.indexOf("miniclips.com"))) { gotoAndStop(_currentframe + 1); } else { var noCache = (getTimer() + random(100000)); mcTarget.loadMovie("http://www.miniclip.com/swfcontent/highscore.swf?noCache=" + noCache); stop(); }
Symbol 712 MovieClip Frame 3
stop();
Symbol 715 Button
on (release) { CSoundService.playSound(Const.SND_SWITCH); _parent.numState = CGame.STATE_MAINSCREEN; }
Instance of Symbol 712 MovieClip "comHighscores" in Symbol 716 MovieClip [id_mcSaveScore] Frame 1
//component parameters onClipEvent (construct) { scoreLocation = "_root.mcGame.numScore"; gamename = "canyon"; saveScore = true; scoreIsTime = false; scoreReversed = false; negativeScoreAllowed = false; }
Instance of Symbol 712 MovieClip "comHighscores" in Symbol 717 MovieClip [id_mcViewScore] Frame 1
//component parameters onClipEvent (construct) { scoreLocation = "_root.mcGame.numScore"; gamename = "canyon"; saveScore = false; scoreIsTime = false; scoreReversed = false; negativeScoreAllowed = false; }

Library Items

Symbol 1 Sound [snd_error]Used by:696
Symbol 2 MovieClip [id_mcGame]Used by:Timeline
Symbol 3 GraphicUsed by:4 113 124 130 135 142 149 156 163 170
Symbol 4 MovieClip [id_construction2_matrix]Uses:3Used by:Timeline
Symbol 5 GraphicUsed by:51 319 535 610  Timeline
Symbol 6 GraphicUsed by:10
Symbol 7 GraphicUsed by:10
Symbol 8 GraphicUsed by:9
Symbol 9 ButtonUses:8Used by:10
Symbol 10 MovieClipUses:6 7 9Used by:54
Symbol 11 GraphicUsed by:26
Symbol 12 ShapeTweeningUsed by:26
Symbol 13 GraphicUsed by:26
Symbol 14 SoundUsed by:26
Symbol 15 GraphicUsed by:26 710
Symbol 16 GraphicUsed by:26
Symbol 17 BitmapUsed by:18
Symbol 18 GraphicUses:17Used by:26
Symbol 19 GraphicUsed by:26
Symbol 20 GraphicUsed by:26
Symbol 21 GraphicUsed by:26
Symbol 22 SoundUsed by:26
Symbol 23 FontUsed by:24 723
Symbol 24 TextUses:23Used by:26
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:11 12 13 14 15 16 18 19 20 21 22 24 25Used by:54
Symbol 27 GraphicUsed by:31
Symbol 28 FontUsed by:29 30 44 47 725 726
Symbol 29 TextUses:28Used by:31
Symbol 30 TextUses:28Used by:31
Symbol 31 MovieClipUses:27 29 30Used by:54
Symbol 32 ShapeTweeningUsed by:53
Symbol 33 GraphicUsed by:51
Symbol 34 GraphicUsed by:37
Symbol 35 GraphicUsed by:37
Symbol 36 GraphicUsed by:37
Symbol 37 ButtonUses:34 35 36Used by:51
Symbol 38 GraphicUsed by:42
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:42
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:38 40 41Used by:51
Symbol 43 GraphicUsed by:51
Symbol 44 EditableTextUses:28Used by:51
Symbol 45 ShapeTweeningUsed by:51
Symbol 46 GraphicUsed by:51
Symbol 47 EditableTextUses:28Used by:51
Symbol 48 GraphicUsed by:51
Symbol 49 GraphicUsed by:51
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:33 37 42 43 44 45 46 47 48 49 50 5Used by:53
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:32 51 52Used by:54
Symbol 54 MovieClipUses:10 26 31 53Used by:Timeline
Symbol 727 MovieClip [__Packages.CEventMovieClip]
Symbol 728 MovieClip [__Packages.CGame]
Symbol 729 MovieClip [__Packages.CMap]
Symbol 730 MovieClip [__Packages.CLayer]
Symbol 731 MovieClip [__Packages.Const]
Symbol 732 MovieClip [__Packages.CEnemy]
Symbol 733 MovieClip [__Packages.CVector]
Symbol 734 MovieClip [__Packages.CEffect]
Symbol 735 MovieClip [__Packages.CSoundService]
Symbol 736 MovieClip [__Packages.CBuilding]
Symbol 737 MovieClip [__Packages.CBlast]
Symbol 738 MovieClip [__Packages.CCursor]
Symbol 739 MovieClip [__Packages.CAbility]
Symbol 740 MovieClip [__Packages.CToggleButton]
Symbol 741 MovieClip [__Packages.CQuest]
Symbol 742 MovieClip [__Packages.CMissionUIPanel]
Symbol 55 MovieClip [id_blast]Used by:Timeline
Symbol 56 GraphicUsed by:66
Symbol 57 GraphicUsed by:60
Symbol 58 GraphicUsed by:60
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:57 58 59Used by:66
Symbol 61 GraphicUsed by:66
Symbol 62 GraphicUsed by:65
Symbol 63 GraphicUsed by:65
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:62 63 64Used by:66
Symbol 66 MovieClip [id_blast1]Uses:56 60 61 65Used by:Timeline
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:69
Symbol 69 MovieClip [id_blast2]Uses:68Used by:Timeline
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClip [id_blast3]Uses:70Used by:Timeline
Symbol 72 MovieClip [id_blast4]Used by:Timeline
Symbol 73 GraphicUsed by:76
Symbol 74 GraphicUsed by:76
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClip [id_blast5]Uses:73 74 75Used by:Timeline
Symbol 77 GraphicUsed by:80
Symbol 78 GraphicUsed by:80
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClip [id_blast8]Uses:77 78 79Used by:Timeline
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClip [id_blast9]Uses:81Used by:Timeline
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClip [id_blast11]Uses:83Used by:Timeline
Symbol 85 MovieClip [id_building]Used by:Timeline
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:88
Symbol 88 MovieClip [id_construction11]Uses:87Used by:Timeline
Symbol 89 GraphicUsed by:90 94 98 102 106
Symbol 90 MovieClip [id_construction11_matrix]Uses:89Used by:Timeline
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:93
Symbol 93 MovieClip [id_construction12]Uses:92Used by:Timeline
Symbol 94 MovieClip [id_construction12_matrix]Uses:89Used by:Timeline
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:97
Symbol 97 MovieClip [id_construction13]Uses:96Used by:Timeline
Symbol 98 MovieClip [id_construction13_matrix]Uses:89Used by:Timeline
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:101
Symbol 101 MovieClip [id_construction14]Uses:100Used by:Timeline
Symbol 102 MovieClip [id_construction14_matrix]Uses:89Used by:Timeline
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:105
Symbol 105 MovieClip [id_construction15]Uses:104Used by:Timeline
Symbol 106 MovieClip [id_construction15_matrix]Uses:89Used by:Timeline
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:112
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:111
Symbol 111 MovieClipUses:110Used by:112
Symbol 112 MovieClip [id_construction1]Uses:108 111Used by:Timeline
Symbol 113 MovieClip [id_construction1_matrix]Uses:3Used by:Timeline
Symbol 114 BitmapUsed by:115
Symbol 115 GraphicUses:114Used by:119
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:118
Symbol 118 MovieClipUses:117Used by:119
Symbol 119 MovieClip [id_construction2]Uses:115 118Used by:Timeline
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:123
Symbol 122 MovieClipUsed by:123
Symbol 123 MovieClip [id_construction3]Uses:121 122Used by:Timeline
Symbol 124 MovieClip [id_construction3_matrix]Uses:3Used by:Timeline
Symbol 125 GraphicUsed by:129 134
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:128
Symbol 128 MovieClipUses:127Used by:129
Symbol 129 MovieClip [id_construction4]Uses:125 128Used by:Timeline
Symbol 130 MovieClip [id_construction4_matrix]Uses:3Used by:Timeline
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:133
Symbol 133 MovieClipUses:132Used by:134
Symbol 134 MovieClip [id_construction5]Uses:125 133Used by:Timeline
Symbol 135 MovieClip [id_construction5_matrix]Uses:3Used by:Timeline
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:141
Symbol 138 BitmapUsed by:139
Symbol 139 GraphicUses:138Used by:140
Symbol 140 MovieClipUses:139Used by:141
Symbol 141 MovieClip [id_construction6]Uses:137 140Used by:Timeline
Symbol 142 MovieClip [id_construction6_matrix]Uses:3Used by:Timeline
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:148
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:147
Symbol 147 MovieClipUses:146Used by:148
Symbol 148 MovieClip [id_construction7]Uses:144 147Used by:Timeline
Symbol 149 MovieClip [id_construction7_matrix]Uses:3Used by:Timeline
Symbol 150 BitmapUsed by:151
Symbol 151 GraphicUses:150Used by:155
Symbol 152 BitmapUsed by:153
Symbol 153 GraphicUses:152Used by:154
Symbol 154 MovieClipUses:153Used by:155
Symbol 155 MovieClip [id_construction8]Uses:151 154Used by:Timeline
Symbol 156 MovieClip [id_construction8_matrix]Uses:3Used by:Timeline
Symbol 157 BitmapUsed by:158
Symbol 158 GraphicUses:157Used by:162
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:161
Symbol 161 MovieClipUses:160Used by:162
Symbol 162 MovieClip [id_construction9]Uses:158 161Used by:Timeline
Symbol 163 MovieClip [id_construction9_matrix]Uses:3Used by:Timeline
Symbol 164 BitmapUsed by:165
Symbol 165 GraphicUses:164Used by:169
Symbol 166 BitmapUsed by:167
Symbol 167 GraphicUses:166Used by:168
Symbol 168 MovieClipUses:167Used by:169
Symbol 169 MovieClip [id_construction10]Uses:165 168Used by:Timeline
Symbol 170 MovieClip [id_construction10_matrix]Uses:3Used by:Timeline
Symbol 171 GraphicUsed by:174
Symbol 172 GraphicUsed by:174
Symbol 173 GraphicUsed by:174
Symbol 174 MovieClip [id_cursor_missile]Uses:171 172 173Used by:Timeline
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClip [id_cursor_sell]Uses:175Used by:Timeline
Symbol 177 GraphicUsed by:180
Symbol 178 GraphicUsed by:180
Symbol 179 GraphicUsed by:180
Symbol 180 MovieClip [id_cursor_timebomb]Uses:177 178 179Used by:Timeline
Symbol 181 BitmapUsed by:182
Symbol 182 GraphicUses:181Used by:183
Symbol 183 MovieClip [id_cursor_wall]Uses:182Used by:Timeline
Symbol 184 GraphicUsed by:185
Symbol 185 MovieClip [id_wall_shadow]Uses:184Used by:Timeline
Symbol 186 GraphicUsed by:189
Symbol 187 GraphicUsed by:189
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClip [id_effect_fast]Uses:186 187 188Used by:Timeline
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClipUses:190Used by:192
Symbol 192 MovieClip [id_effect_repair]Uses:191Used by:Timeline
Symbol 193 ShapeTweeningUsed by:197
Symbol 194 ShapeTweeningUsed by:197
Symbol 195 ShapeTweeningUsed by:197
Symbol 196 GraphicUsed by:197
Symbol 197 MovieClip [id_effect_shield]Uses:193 194 195 196Used by:Timeline
Symbol 198 ShapeTweeningUsed by:201
Symbol 199 ShapeTweeningUsed by:201
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClip [id_effect_slow]Uses:198 199 200Used by:Timeline
Symbol 202 MovieClip [id_enemy]Used by:Timeline
Symbol 203 BitmapUsed by:204
Symbol 204 GraphicUses:203Used by:205
Symbol 205 MovieClip [id_enemy1]Uses:204Used by:Timeline
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:208
Symbol 208 MovieClip [id_enemy2]Uses:207Used by:Timeline
Symbol 209 BitmapUsed by:210
Symbol 210 GraphicUses:209Used by:211
Symbol 211 MovieClip [id_enemy3]Uses:210Used by:Timeline
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:214
Symbol 214 MovieClip [id_enemy4]Uses:213Used by:Timeline
Symbol 215 BitmapUsed by:216
Symbol 216 GraphicUses:215Used by:217
Symbol 217 MovieClip [id_enemy5]Uses:216Used by:Timeline
Symbol 218 BitmapUsed by:219
Symbol 219 GraphicUses:218Used by:220
Symbol 220 MovieClip [id_enemy6]Uses:219Used by:Timeline
Symbol 221 BitmapUsed by:222
Symbol 222 GraphicUses:221Used by:223
Symbol 223 MovieClip [id_enemy7]Uses:222Used by:Timeline
Symbol 224 GraphicUsed by:227
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:227
Symbol 227 MovieClip [id_healthbar]Uses:224 226Used by:Timeline
Symbol 228 GraphicUsed by:231
Symbol 229 GraphicUsed by:231
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClip [id_gfx_aablast]Uses:228 229 230Used by:Timeline
Symbol 232 BitmapUsed by:233
Symbol 233 GraphicUses:232Used by:260
Symbol 234 BitmapUsed by:235
Symbol 235 GraphicUses:234Used by:260
Symbol 236 BitmapUsed by:237
Symbol 237 GraphicUses:236Used by:260
Symbol 238 BitmapUsed by:239
Symbol 239 GraphicUses:238Used by:260
Symbol 240 BitmapUsed by:241
Symbol 241 GraphicUses:240Used by:260
Symbol 242 BitmapUsed by:243
Symbol 243 GraphicUses:242Used by:260
Symbol 244 BitmapUsed by:245
Symbol 245 GraphicUses:244Used by:260
Symbol 246 BitmapUsed by:247
Symbol 247 GraphicUses:246Used by:260
Symbol 248 BitmapUsed by:249
Symbol 249 GraphicUses:248Used by:260
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:260
Symbol 252 BitmapUsed by:253
Symbol 253 GraphicUses:252Used by:260
Symbol 254 BitmapUsed by:255
Symbol 255 GraphicUses:254Used by:260
Symbol 256 BitmapUsed by:257
Symbol 257 GraphicUses:256Used by:260
Symbol 258 BitmapUsed by:259
Symbol 259 GraphicUses:258Used by:260
Symbol 260 MovieClip [id_gfx_explosion_big]Uses:233 235 237 239 241 243 245 247 249 251 253 255 257 259Used by:Timeline
Symbol 261 GraphicUsed by:264
Symbol 262 GraphicUsed by:264
Symbol 263 GraphicUsed by:264
Symbol 264 MovieClip [id_gfx_electricfield]Uses:261 262 263Used by:Timeline
Symbol 265 BitmapUsed by:266
Symbol 266 GraphicUses:265Used by:281
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:281
Symbol 269 BitmapUsed by:270
Symbol 270 GraphicUses:269Used by:281
Symbol 271 BitmapUsed by:272
Symbol 272 GraphicUses:271Used by:281
Symbol 273 BitmapUsed by:274
Symbol 274 GraphicUses:273Used by:281
Symbol 275 BitmapUsed by:276
Symbol 276 GraphicUses:275Used by:281
Symbol 277 BitmapUsed by:278
Symbol 278 GraphicUses:277Used by:281
Symbol 279 BitmapUsed by:280
Symbol 280 GraphicUses:279Used by:281
Symbol 281 MovieClip [id_gfx_explosion_medium]Uses:266 268 270 272 274 276 278 280Used by:Timeline
Symbol 282 BitmapUsed by:283
Symbol 283 GraphicUses:282Used by:292
Symbol 284 BitmapUsed by:285
Symbol 285 GraphicUses:284Used by:292
Symbol 286 BitmapUsed by:287
Symbol 287 GraphicUses:286Used by:292
Symbol 288 BitmapUsed by:289
Symbol 289 GraphicUses:288Used by:292
Symbol 290 BitmapUsed by:291
Symbol 291 GraphicUses:290Used by:292
Symbol 292 MovieClip [id_gfx_missileblast]Uses:283 285 287 289 291Used by:Timeline
Symbol 293 GraphicUsed by:296
Symbol 294 GraphicUsed by:296
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClip [id_gfx_slowsplash]Uses:293 294 295Used by:Timeline
Symbol 297 BitmapUsed by:298
Symbol 298 GraphicUses:297Used by:313
Symbol 299 BitmapUsed by:300
Symbol 300 GraphicUses:299Used by:313
Symbol 301 BitmapUsed by:302
Symbol 302 GraphicUses:301Used by:313
Symbol 303 BitmapUsed by:304
Symbol 304 GraphicUses:303Used by:313
Symbol 305 BitmapUsed by:306
Symbol 306 GraphicUses:305Used by:313
Symbol 307 BitmapUsed by:308
Symbol 308 GraphicUses:307Used by:313
Symbol 309 BitmapUsed by:310
Symbol 310 GraphicUses:309Used by:313
Symbol 311 BitmapUsed by:312
Symbol 312 GraphicUses:311Used by:313
Symbol 313 MovieClip [id_gfx_explosion_small]Uses:298 300 302 304 306 308 310 312Used by:Timeline
Symbol 314 ShapeTweeningUsed by:318
Symbol 315 ShapeTweeningUsed by:318
Symbol 316 ShapeTweeningUsed by:318
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClip [id_gfx_splash]Uses:314 315 316 317Used by:Timeline
Symbol 319 MovieClipUses:5Used by:327 330 333 336 340 343 346 349 352 361 364 367 370 373 376 379 382 385 388
Symbol 320 BitmapUsed by:321
Symbol 321 GraphicUses:320Used by:327
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322Used by:325
Symbol 324 GraphicUsed by:325
Symbol 325 MovieClipUses:323 324Used by:327 330 333 336
Symbol 326 GraphicUsed by:327 330 333 336
Symbol 327 MovieClip [mc_button_ability_1]Uses:319 321 325 326Used by:547  Timeline
Symbol 328 BitmapUsed by:329
Symbol 329 GraphicUses:328Used by:330
Symbol 330 MovieClip [mc_button_ability_2]Uses:319 329 325 326Used by:547  Timeline
Symbol 331 BitmapUsed by:332
Symbol 332 GraphicUses:331Used by:333
Symbol 333 MovieClip [mc_button_ability_3]Uses:319 332 325 326Used by:547  Timeline
Symbol 334 BitmapUsed by:335
Symbol 335 GraphicUses:334Used by:336
Symbol 336 MovieClip [mc_button_ability_4]Uses:319 335 325 326Used by:547  Timeline
Symbol 337 BitmapUsed by:338
Symbol 338 GraphicUses:337Used by:340
Symbol 339 GraphicUsed by:340 343 346 349 352 361 364 367 370 373 376 379 382 385 388
Symbol 340 MovieClip [mc_button_structure_1]Uses:319 338 339Used by:516  Timeline
Symbol 341 BitmapUsed by:342
Symbol 342 GraphicUses:341Used by:343
Symbol 343 MovieClip [mc_button_structure_2]Uses:319 342 339Used by:516  Timeline
Symbol 344 BitmapUsed by:345
Symbol 345 GraphicUses:344Used by:346
Symbol 346 MovieClip [mc_button_structure_3]Uses:319 345 339Used by:516  Timeline
Symbol 347 BitmapUsed by:348
Symbol 348 GraphicUses:347Used by:349
Symbol 349 MovieClip [mc_button_structure_4]Uses:319 348 339Used by:516  Timeline
Symbol 350 BitmapUsed by:351
Symbol 351 GraphicUses:350Used by:352
Symbol 352 MovieClip [mc_button_structure_5]Uses:319 351 339Used by:516  Timeline
Symbol 353 GraphicUsed by:354 400 533 550 552
Symbol 354 MovieClipUses:353Used by:358 391 394 400 533 550 552
Symbol 355 FontUsed by:356 357 389 390 392 393 627 628 632 633 636 637 650
Symbol 356 TextUses:355Used by:358
Symbol 357 TextUses:355Used by:358
Symbol 358 MovieClip [mc_button_structures_tab]Uses:354 356 357Used by:547  Timeline
Symbol 359 BitmapUsed by:360
Symbol 360 GraphicUses:359Used by:361
Symbol 361 MovieClip [mc_button_tower_1_1]Uses:319 360 339Used by:473  Timeline
Symbol 362 BitmapUsed by:363
Symbol 363 GraphicUses:362Used by:364
Symbol 364 MovieClip [mc_button_tower_1_2]Uses:319 363 339Used by:473  Timeline
Symbol 365 BitmapUsed by:366
Symbol 366 GraphicUses:365Used by:367
Symbol 367 MovieClip [mc_button_tower_1_3]Uses:319 366 339Used by:473  Timeline
Symbol 368 BitmapUsed by:369
Symbol 369 GraphicUses:368Used by:370
Symbol 370 MovieClip [mc_button_tower_1_4]Uses:319 369 339Used by:473  Timeline
Symbol 371 BitmapUsed by:372
Symbol 372 GraphicUses:371Used by:373
Symbol 373 MovieClip [mc_button_tower_1_5]Uses:319 372 339Used by:473  Timeline
Symbol 374 BitmapUsed by:375
Symbol 375 GraphicUses:374Used by:376
Symbol 376 MovieClip [mc_button_tower_2_2]Uses:319 375 339Used by:494  Timeline
Symbol 377 BitmapUsed by:378
Symbol 378 GraphicUses:377Used by:379
Symbol 379 MovieClip [mc_button_tower_2_1]Uses:319 378 339Used by:494  Timeline
Symbol 380 BitmapUsed by:381
Symbol 381 GraphicUses:380Used by:382
Symbol 382 MovieClip [mc_button_tower_2_3]Uses:319 381 339Used by:494  Timeline
Symbol 383 BitmapUsed by:384
Symbol 384 GraphicUses:383Used by:385
Symbol 385 MovieClip [mc_button_tower_2_4]Uses:319 384 339Used by:494  Timeline
Symbol 386 BitmapUsed by:387
Symbol 387 GraphicUses:386Used by:388
Symbol 388 MovieClip [mc_button_tower_2_5]Uses:319 387 339Used by:494  Timeline
Symbol 389 TextUses:355Used by:391
Symbol 390 TextUses:355Used by:391
Symbol 391 MovieClip [mc_button_towers1_tab]Uses:354 389 390Used by:547  Timeline
Symbol 392 TextUses:355Used by:394
Symbol 393 TextUses:355Used by:394
Symbol 394 MovieClip [mc_button_towers2_tab]Uses:354 392 393Used by:547  Timeline
Symbol 395 BitmapUsed by:396 430 439
Symbol 396 GraphicUses:395Used by:397
Symbol 397 MovieClipUses:396Used by:428
Symbol 398 FontUsed by:399 403 404 405 406 414 415 416 417 418 419 420 421 424 432 436 437 447 451 452 457 458 459 461 462 463 465 466 467 469 470 471 475 476 478 479 480 482 483 484 486 487 488 490 491 496 497 498 500 501 502 504 505 506 508 509 510 512 513 514 518 519 521 522 523 532 549 551 553 560 563 567 570 572 573 574 584 585 619 646 713 714
Symbol 399 TextUses:398Used by:400
Symbol 400 ButtonUses:354 399 353Used by:428
Symbol 401 BitmapUsed by:402 520 548
Symbol 402 GraphicUses:401Used by:428
Symbol 403 TextUses:398Used by:428
Symbol 404 TextUses:398Used by:428
Symbol 405 TextUses:398Used by:428
Symbol 406 TextUses:398Used by:428
Symbol 407 GraphicUsed by:408
Symbol 408 MovieClipUses:407Used by:409 547
Symbol 409 MovieClipUses:408Used by:428 456 460 464 468 472 477 481 485 489 493 499 503 507 511 515
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClipUses:410Used by:428 547
Symbol 412 FontUsed by:413
Symbol 413 TextUses:412Used by:428
Symbol 414 EditableTextUses:398Used by:428
Symbol 415 EditableTextUses:398Used by:428
Symbol 416 EditableTextUses:398Used by:428
Symbol 417 EditableTextUses:398Used by:428
Symbol 418 EditableTextUses:398Used by:428
Symbol 419 EditableTextUses:398Used by:428
Symbol 420 EditableTextUses:398Used by:428
Symbol 421 EditableTextUses:398Used by:428
Symbol 422 BitmapUsed by:423 530 548
Symbol 423 GraphicUses:422Used by:428
Symbol 424 TextUses:398Used by:427
Symbol 425 FontUsed by:426 455 492
Symbol 426 TextUses:425Used by:427
Symbol 427 MovieClipUses:424 426Used by:428
Symbol 428 MovieClip [mc_gameoverdialog]Uses:397 400 402 403 404 405 406 409 411 413 414 415 416 417 418 419 420 421 423 427Used by:Timeline
Symbol 429 GraphicUsed by:438
Symbol 430 GraphicUses:395Used by:431
Symbol 431 MovieClipUses:430Used by:438 554
Symbol 432 TextUses:398Used by:438
Symbol 433 GraphicUsed by:435
Symbol 434 GraphicUsed by:435
Symbol 435 ButtonUses:433 434Used by:438 581 647 657 716 717
Symbol 436 TextUses:398Used by:438
Symbol 437 TextUses:398Used by:438
Symbol 438 MovieClip [mc_gamepaused]Uses:429 431 432 435 436 437Used by:Timeline
Symbol 439 GraphicUses:395Used by:440
Symbol 440 MovieClipUses:439Used by:547
Symbol 441 BitmapUsed by:442
Symbol 442 GraphicUses:441Used by:443
Symbol 443 MovieClipUses:442Used by:547
Symbol 444 BitmapUsed by:445
Symbol 445 GraphicUses:444Used by:446
Symbol 446 MovieClipUses:445Used by:547
Symbol 447 TextUses:398Used by:547
Symbol 448 GraphicUsed by:547
Symbol 449 GraphicUsed by:473
Symbol 450 GraphicUsed by:456 460 464 468 472 477 481 485 489 493 499 503 507 511 515
Symbol 451 EditableTextUses:398Used by:456
Symbol 452 TextUses:398Used by:456
Symbol 453 GraphicUsed by:454
Symbol 454 MovieClipUses:453Used by:456 460 464 468 472 477 481 485 489 493 499 503 507 511 515
Symbol 455 TextUses:425Used by:456 477
Symbol 456 MovieClipUses:450 409 451 452 454 455Used by:473
Symbol 457 EditableTextUses:398Used by:460
Symbol 458 TextUses:398Used by:460
Symbol 459 TextUses:398Used by:460
Symbol 460 MovieClipUses:450 457 409 458 454 459Used by:473
Symbol 461 EditableTextUses:398Used by:464
Symbol 462 TextUses:398Used by:464
Symbol 463 TextUses:398Used by:464
Symbol 464 MovieClipUses:450 461 409 462 454 463Used by:473
Symbol 465 EditableTextUses:398Used by:468
Symbol 466 TextUses:398Used by:468
Symbol 467 TextUses:398Used by:468
Symbol 468 MovieClipUses:450 465 409 466 454 467Used by:473
Symbol 469 EditableTextUses:398Used by:472
Symbol 470 TextUses:398Used by:472
Symbol 471 TextUses:398Used by:472
Symbol 472 MovieClipUses:450 469 409 470 454 471Used by:473
Symbol 473 MovieClipUses:367 370 373 364 361 449 456 460 464 468 472Used by:547
Symbol 474 GraphicUsed by:494
Symbol 475 EditableTextUses:398Used by:477
Symbol 476 TextUses:398Used by:477
Symbol 477 MovieClipUses:450 409 475 476 454 455Used by:494
Symbol 478 EditableTextUses:398Used by:481
Symbol 479 TextUses:398Used by:481
Symbol 480 TextUses:398Used by:481
Symbol 481 MovieClipUses:450 409 478 479 454 480Used by:494
Symbol 482 EditableTextUses:398Used by:485
Symbol 483 TextUses:398Used by:485
Symbol 484 TextUses:398Used by:485
Symbol 485 MovieClipUses:450 409 482 483 454 484Used by:494
Symbol 486 EditableTextUses:398Used by:489
Symbol 487 TextUses:398Used by:489
Symbol 488 TextUses:398Used by:489
Symbol 489 MovieClipUses:450 409 486 487 454 488Used by:494
Symbol 490 EditableTextUses:398Used by:493
Symbol 491 TextUses:398Used by:493
Symbol 492 TextUses:425Used by:493
Symbol 493 MovieClipUses:450 409 490 491 454 492Used by:494
Symbol 494 MovieClipUses:474 382 385 388 379 376 477 481 485 489 493Used by:547
Symbol 495 GraphicUsed by:516
Symbol 496 EditableTextUses:398Used by:499
Symbol 497 TextUses:398Used by:499
Symbol 498 TextUses:398Used by:499
Symbol 499 MovieClipUses:450 409 496 497 454 498Used by:516
Symbol 500 EditableTextUses:398Used by:503
Symbol 501 TextUses:398Used by:503
Symbol 502 TextUses:398Used by:503
Symbol 503 MovieClipUses:450 409 500 501 454 502Used by:516
Symbol 504 EditableTextUses:398Used by:507
Symbol 505 TextUses:398Used by:507
Symbol 506 TextUses:398Used by:507
Symbol 507 MovieClipUses:450 409 504 505 454 506Used by:516
Symbol 508 EditableTextUses:398Used by:511
Symbol 509 TextUses:398Used by:511
Symbol 510 TextUses:398Used by:511
Symbol 511 MovieClipUses:450 409 508 509 454 510Used by:516
Symbol 512 EditableTextUses:398Used by:515
Symbol 513 TextUses:398Used by:515
Symbol 514 TextUses:398Used by:515
Symbol 515 MovieClipUses:450 409 512 513 454 514Used by:516
Symbol 516 MovieClipUses:495 346 349 352 343 340 499 503 507 511 515Used by:547
Symbol 517 GraphicUsed by:547
Symbol 518 EditableTextUses:398Used by:547
Symbol 519 EditableTextUses:398Used by:547
Symbol 520 GraphicUses:401Used by:547
Symbol 521 EditableTextUses:398Used by:547
Symbol 522 EditableTextUses:398Used by:547
Symbol 523 EditableTextUses:398Used by:547
Symbol 524 ShapeTweeningUsed by:529
Symbol 525 ShapeTweeningUsed by:529
Symbol 526 ShapeTweeningUsed by:529
Symbol 527 ShapeTweeningUsed by:529
Symbol 528 GraphicUsed by:529
Symbol 529 MovieClipUses:524 525 526 527 528Used by:547
Symbol 530 GraphicUses:422Used by:547
Symbol 531 GraphicUsed by:533
Symbol 532 TextUses:398Used by:533
Symbol 533 ButtonUses:354 531 532 353Used by:547
Symbol 534 GraphicUsed by:535
Symbol 535 ButtonUses:534 5Used by:547
Symbol 536 GraphicUsed by:541
Symbol 537 GraphicUsed by:538 540 543 545 571 615 616 617 643 644 645  Timeline
Symbol 538 ButtonUses:537Used by:541
Symbol 539 GraphicUsed by:541
Symbol 540 ButtonUses:537Used by:541
Symbol 541 MovieClipUses:536 538 539 540Used by:547
Symbol 542 GraphicUsed by:546
Symbol 543 ButtonUses:537Used by:546
Symbol 544 GraphicUsed by:546
Symbol 545 ButtonUses:537Used by:546
Symbol 546 MovieClipUses:542 543 544 545Used by:547
Symbol 547 MovieClip [id_missionUI]Uses:440 443 446 447 448 473 494 516 358 394 391 517 518 519 411 408 520 521 522 523 529 530 533 535 541 546 327 330 333 336Used by:Timeline
Symbol 548 GraphicUses:422 401Used by:554
Symbol 549 TextUses:398Used by:550
Symbol 550 ButtonUses:354 549 353Used by:554
Symbol 551 TextUses:398Used by:552
Symbol 552 ButtonUses:354 551 353Used by:554
Symbol 553 TextUses:398Used by:554
Symbol 554 MovieClip [mc_quitdialog]Uses:431 548 550 552 553Used by:Timeline
Symbol 555 ButtonUsed by:581
Symbol 556 BitmapUsed by:557
Symbol 557 GraphicUses:556Used by:581
Symbol 558 BitmapUsed by:559
Symbol 559 GraphicUses:558Used by:564
Symbol 560 TextUses:398Used by:564
Symbol 561 GraphicUsed by:562
Symbol 562 MovieClipUses:561Used by:564
Symbol 563 TextUses:398Used by:564
Symbol 564 ButtonUses:559 560 562 563Used by:581
Symbol 565 BitmapUsed by:566
Symbol 566 GraphicUses:565Used by:571 575 586 620 715
Symbol 567 TextUses:398Used by:571
Symbol 568 GraphicUsed by:569
Symbol 569 MovieClipUses:568Used by:571
Symbol 570 TextUses:398Used by:571
Symbol 571 ButtonUses:566 567 569 570 537Used by:581
Symbol 572 TextUses:398Used by:575
Symbol 573 TextUses:398Used by:575
Symbol 574 TextUses:398Used by:575
Symbol 575 ButtonUses:566 572 573 574Used by:581
Symbol 576 FontUsed by:577 578
Symbol 577 TextUses:576Used by:580
Symbol 578 TextUses:576Used by:580
Symbol 579 GraphicUsed by:580
Symbol 580 ButtonUses:577 578 579Used by:581
Symbol 581 MovieClip [id_mcMainScreen]Uses:555 557 564 571 575 435 580Used by:Timeline
Symbol 582 BitmapUsed by:583
Symbol 583 GraphicUses:582Used by:647
Symbol 584 TextUses:398Used by:586 620
Symbol 585 TextUses:398Used by:586 620
Symbol 586 ButtonUses:566 584 585Used by:647 657 717
Symbol 587 BitmapUsed by:588
Symbol 588 GraphicUses:587Used by:589
Symbol 589 MovieClip [id_map1_sand]Uses:588Used by:593  Timeline
Symbol 590 BitmapUsed by:591
Symbol 591 GraphicUses:590Used by:592
Symbol 592 MovieClip [id_map1_landscape]Uses:591Used by:593  Timeline
Symbol 593 MovieClipUses:589 592Used by:618
Symbol 594 BitmapUsed by:595
Symbol 595 GraphicUses:594Used by:596
Symbol 596 MovieClip [id_map2_sand]Uses:595Used by:600  Timeline
Symbol 597 BitmapUsed by:598
Symbol 598 GraphicUses:597Used by:599
Symbol 599 MovieClip [id_map2_landscape]Uses:598Used by:600  Timeline
Symbol 600 MovieClipUses:596 599Used by:618
Symbol 601 BitmapUsed by:602
Symbol 602 GraphicUses:601Used by:603
Symbol 603 MovieClip [id_map3_sand]Uses:602Used by:607  Timeline
Symbol 604 BitmapUsed by:605
Symbol 605 GraphicUses:604Used by:606
Symbol 606 MovieClip [id_map3_landscape]Uses:605Used by:607  Timeline
Symbol 607 MovieClipUses:603 606Used by:618
Symbol 608 GraphicUsed by:609
Symbol 609 MovieClipUses:608Used by:610
Symbol 610 MovieClipUses:5 609Used by:618
Symbol 611 BitmapUsed by:613
Symbol 612 BitmapUsed by:613
Symbol 613 GraphicUses:611 612Used by:618
Symbol 614 GraphicUsed by:615 616 617 643 644 645
Symbol 615 ButtonUses:614 537Used by:618
Symbol 616 ButtonUses:614 537Used by:618
Symbol 617 ButtonUses:614 537Used by:618
Symbol 618 MovieClipUses:593 600 607 610 613 615 616 617Used by:647
Symbol 619 TextUses:398Used by:647
Symbol 620 ButtonUses:566 584 585Used by:647
Symbol 621 BitmapUsed by:622
Symbol 622 GraphicUses:621Used by:642
Symbol 623 BitmapUsed by:624
Symbol 624 GraphicUses:623Used by:642
Symbol 625 BitmapUsed by:626
Symbol 626 GraphicUses:625Used by:642
Symbol 627 TextUses:355Used by:630
Symbol 628 TextUses:355Used by:630
Symbol 629 GraphicUsed by:630
Symbol 630 MovieClipUses:627 628 629Used by:642
Symbol 631 GraphicUsed by:634
Symbol 632 TextUses:355Used by:634
Symbol 633 TextUses:355Used by:634
Symbol 634 MovieClipUses:631 632 633Used by:642
Symbol 635 GraphicUsed by:638
Symbol 636 TextUses:355Used by:638
Symbol 637 TextUses:355Used by:638
Symbol 638 MovieClipUses:635 636 637Used by:642
Symbol 639 BitmapUsed by:641
Symbol 640 BitmapUsed by:641
Symbol 641 GraphicUses:639 640Used by:642
Symbol 642 MovieClipUses:622 624 626 630 634 638 641Used by:647
Symbol 643 ButtonUses:614 537Used by:647
Symbol 644 ButtonUses:614 537Used by:647
Symbol 645 ButtonUses:614 537Used by:647
Symbol 646 TextUses:398Used by:647
Symbol 647 MovieClip [id_mcOptionsScreen]Uses:583 435 586 618 619 620 642 643 644 645 646Used by:Timeline
Symbol 648 BitmapUsed by:649
Symbol 649 GraphicUses:648Used by:657
Symbol 650 TextUses:355Used by:657
Symbol 651 FontUsed by:652 653
Symbol 652 TextUses:651Used by:657
Symbol 653 TextUses:651Used by:657
Symbol 654 BitmapUsed by:655
Symbol 655 GraphicUses:654Used by:656
Symbol 656 MovieClipUses:655Used by:657
Symbol 657 MovieClip [id_mcRulesScreen]Uses:649 586 435 650 652 653 656Used by:Timeline
Symbol 658 GraphicUsed by:660
Symbol 659 GraphicUsed by:660
Symbol 660 MovieClip [id_tower_range]Uses:658 659Used by:Timeline
Symbol 661 GraphicUsed by:662
Symbol 662 MovieClip [id_grid]Uses:661Used by:Timeline
Symbol 663 MovieClip [id_map]Used by:Timeline
Symbol 664 GraphicUsed by:665
Symbol 665 MovieClip [id_map1_matrix]Uses:664Used by:Timeline
Symbol 666 GraphicUsed by:667
Symbol 667 MovieClip [id_map2_matrix]Uses:666Used by:Timeline
Symbol 668 GraphicUsed by:669
Symbol 669 MovieClip [id_map3_matrix]Uses:668Used by:Timeline
Symbol 670 MovieClip [id_cursor]Used by:Timeline
Symbol 671 MovieClip [id_mapLayer]Used by:Timeline
Symbol 672 MovieClip [id_layer]Used by:Timeline
Symbol 673 Sound [snd_aaGunShot]Used by:696
Symbol 674 Sound [snd_bigExplosion]Used by:696
Symbol 675 Sound [snd_chainGunShot]Used by:696
Symbol 676 Sound [snd_construction]Used by:696
Symbol 677 Sound [snd_gaussCannonShot]Used by:696
Symbol 678 Sound [snd_gooCannonShot]Used by:696
Symbol 679 Sound [snd_gutlingLaserShot]Used by:696
Symbol 680 Sound [snd_hit]Used by:696
Symbol 681 Sound [snd_mainLoop]Used by:696
Symbol 682 Sound [snd_mediumExplosion]Used by:696
Symbol 683 Sound [snd_missileTurretShot]Used by:696
Symbol 684 Sound [snd_mortarShot]Used by:696
Symbol 685 Sound [snd_nuclearExplosion]Used by:696
Symbol 686 Sound [snd_nuclearLaunch]Used by:696
Symbol 687 Sound [snd_NulificatorShot]Used by:696
Symbol 688 Sound [snd_oilSprayShot]Used by:696
Symbol 689 Sound [snd_popDead]Used by:696
Symbol 690 Sound [snd_sell]Used by:696
Symbol 691 Sound [snd_smallExplosion]Used by:696
Symbol 692 Sound [snd_switch]Used by:696
Symbol 693 Sound [snd_teslaTowerShot]Used by:696
Symbol 694 Sound [snd_timeStop]Used by:696
Symbol 695 Sound [snd_quest]Used by:696
Symbol 696 MovieClipUses:673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 1Used by:Timeline
Symbol 697 MovieClip [dmSoundService]Used by:Timeline
Symbol 698 BitmapUsed by:699
Symbol 699 GraphicUses:698Used by:716 717
Symbol 700 GraphicUsed by:701
Symbol 701 MovieClipUses:700Used by:712
Symbol 702 MovieClipUsed by:712
Symbol 703 GraphicUsed by:712
Symbol 704 GraphicUsed by:712
Symbol 705 GraphicUsed by:712
Symbol 706 GraphicUsed by:710
Symbol 707 GraphicUsed by:708 710
Symbol 708 MovieClipUses:707Used by:710
Symbol 709 GraphicUsed by:710
Symbol 710 ButtonUses:706 708 709 15 707Used by:712
Symbol 711 GraphicUsed by:712
Symbol 712 MovieClipUses:701 702 703 704 705 710 711Used by:716 717
Symbol 713 TextUses:398Used by:715
Symbol 714 TextUses:398Used by:715
Symbol 715 ButtonUses:566 713 714Used by:716
Symbol 716 MovieClip [id_mcSaveScore]Uses:699 712 715 435Used by:Timeline
Symbol 717 MovieClip [id_mcViewScore]Uses:699 712 586 435Used by:Timeline
Symbol 718 FontUsed by:719
Symbol 719 EditableTextUses:718Used by:720
Symbol 720 MovieClip [id_mcToolTip]Uses:719Used by:Timeline
Symbol 721 FontUsed by:722
Symbol 722 EditableTextUses:721Used by:Timeline
Symbol 723 EditableTextUses:23Used by:Timeline
Symbol 724 GraphicUsed by:Timeline
Symbol 725 TextUses:28Used by:Timeline
Symbol 726 TextUses:28Used by:Timeline

Instance Names

"mcGame"Frame 3Symbol 2 MovieClip [id_mcGame]
"mcAd"Symbol 42 MovieClip Frame 1Symbol 40 MovieClip
"mcLoading"Symbol 53 MovieClip Frame 1Symbol 51 MovieClip
"mcLoading"Symbol 53 MovieClip Frame 11Symbol 51 MovieClip
"mcBackground"Symbol 54 MovieClip Frame 1Symbol 10 MovieClip
"mcAnimation"Symbol 54 MovieClip Frame 1Symbol 26 MovieClip
"mcIntro"Symbol 54 MovieClip Frame 1Symbol 31 MovieClip
"mcLoadingAnimated"Symbol 54 MovieClip Frame 2Symbol 53 MovieClip
"mcGun"Symbol 112 MovieClip [id_construction1] Frame 1Symbol 111 MovieClip
"mcGun"Symbol 119 MovieClip [id_construction2] Frame 1Symbol 118 MovieClip
"mcGun"Symbol 123 MovieClip [id_construction3] Frame 1Symbol 122 MovieClip
"mcGun"Symbol 129 MovieClip [id_construction4] Frame 1Symbol 128 MovieClip
"mcGun"Symbol 134 MovieClip [id_construction5] Frame 1Symbol 133 MovieClip
"mcGun"Symbol 141 MovieClip [id_construction6] Frame 1Symbol 140 MovieClip
"mcGun"Symbol 148 MovieClip [id_construction7] Frame 1Symbol 147 MovieClip
"mcGun"Symbol 155 MovieClip [id_construction8] Frame 1Symbol 154 MovieClip
"mcGun"Symbol 162 MovieClip [id_construction9] Frame 1Symbol 161 MovieClip
"mcGun"Symbol 169 MovieClip [id_construction10] Frame 1Symbol 168 MovieClip
"mcBar"Symbol 227 MovieClip [id_healthbar] Frame 1Symbol 226 MovieClip
"mcRightShade"Symbol 325 MovieClip Frame 1Symbol 323 MovieClip
"mcRightShade"Symbol 325 MovieClip Frame 1Symbol 323 MovieClip
"mcHitArea"Symbol 327 MovieClip [mc_button_ability_1] Frame 1Symbol 319 MovieClip
"mcClock"Symbol 327 MovieClip [mc_button_ability_1] Frame 1Symbol 325 MovieClip
"mcHitArea"Symbol 330 MovieClip [mc_button_ability_2] Frame 1Symbol 319 MovieClip
"mcClock"Symbol 330 MovieClip [mc_button_ability_2] Frame 1Symbol 325 MovieClip
"mcHitArea"Symbol 333 MovieClip [mc_button_ability_3] Frame 1Symbol 319 MovieClip
"mcClock"Symbol 333 MovieClip [mc_button_ability_3] Frame 1Symbol 325 MovieClip
"mcHitArea"Symbol 336 MovieClip [mc_button_ability_4] Frame 1Symbol 319 MovieClip
"mcClock"Symbol 336 MovieClip [mc_button_ability_4] Frame 1Symbol 325 MovieClip
"mcHitArea"Symbol 340 MovieClip [mc_button_structure_1] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 343 MovieClip [mc_button_structure_2] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 346 MovieClip [mc_button_structure_3] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 349 MovieClip [mc_button_structure_4] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 352 MovieClip [mc_button_structure_5] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 361 MovieClip [mc_button_tower_1_1] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 364 MovieClip [mc_button_tower_1_2] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 367 MovieClip [mc_button_tower_1_3] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 370 MovieClip [mc_button_tower_1_4] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 373 MovieClip [mc_button_tower_1_5] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 376 MovieClip [mc_button_tower_2_2] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 379 MovieClip [mc_button_tower_2_1] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 382 MovieClip [mc_button_tower_2_3] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 385 MovieClip [mc_button_tower_2_4] Frame 1Symbol 319 MovieClip
"mcHitArea"Symbol 388 MovieClip [mc_button_tower_2_5] Frame 1Symbol 319 MovieClip
"textMoneyQty"Symbol 428 MovieClip [mc_gameoverdialog] Frame 1Symbol 414 EditableText
"textMoneyMult"Symbol 428 MovieClip [mc_gameoverdialog] Frame 1Symbol 415 EditableText
"textMoneyScore"Symbol 428 MovieClip [mc_gameoverdialog] Frame 1Symbol 416 EditableText
"textPopQty"Symbol 428 MovieClip [mc_gameoverdialog] Frame 1Symbol 417 EditableText
"textPopScore"Symbol 428 MovieClip [mc_gameoverdialog] Frame 1Symbol 418 EditableText
"textPopMult"Symbol 428 MovieClip [mc_gameoverdialog] Frame 1Symbol 419 EditableText
"textBonus"Symbol 428 MovieClip [mc_gameoverdialog] Frame 1Symbol 420 EditableText
"textTotalScore"Symbol 428 MovieClip [mc_gameoverdialog] Frame 1Symbol 421 EditableText
"mcMessage"Symbol 428 MovieClip [mc_gameoverdialog] Frame 1Symbol 427 MovieClip
"textInfo"Symbol 456 MovieClip Frame 1Symbol 451 EditableText
"textInfo"Symbol 460 MovieClip Frame 1Symbol 457 EditableText
"textInfo"Symbol 464 MovieClip Frame 1Symbol 461 EditableText
"textInfo"Symbol 468 MovieClip Frame 1Symbol 465 EditableText
"textInfo"Symbol 472 MovieClip Frame 1Symbol 469 EditableText
"_mcBtnBuilding3"Symbol 473 MovieClip Frame 1Symbol 367 MovieClip [mc_button_tower_1_3]
"_mcBtnBuilding4"Symbol 473 MovieClip Frame 1Symbol 370 MovieClip [mc_button_tower_1_4]
"_mcBtnBuilding5"Symbol 473 MovieClip Frame 1Symbol 373 MovieClip [mc_button_tower_1_5]
"_mcBtnBuilding2"Symbol 473 MovieClip Frame 1Symbol 364 MovieClip [mc_button_tower_1_2]
"_mcBtnBuilding1"Symbol 473 MovieClip Frame 1Symbol 361 MovieClip [mc_button_tower_1_1]
"_mcDescription1"Symbol 473 MovieClip Frame 1Symbol 456 MovieClip
"_mcDescription2"Symbol 473 MovieClip Frame 1Symbol 460 MovieClip
"_mcDescription3"Symbol 473 MovieClip Frame 1Symbol 464 MovieClip
"_mcDescription4"Symbol 473 MovieClip Frame 1Symbol 468 MovieClip
"_mcDescription5"Symbol 473 MovieClip Frame 1Symbol 472 MovieClip
"textInfo"Symbol 477 MovieClip Frame 1Symbol 475 EditableText
"textInfo"Symbol 481 MovieClip Frame 1Symbol 478 EditableText
"textInfo"Symbol 485 MovieClip Frame 1Symbol 482 EditableText
"textInfo"Symbol 489 MovieClip Frame 1Symbol 486 EditableText
"textInfo"Symbol 493 MovieClip Frame 1Symbol 490 EditableText
"_mcBtnBuilding3"Symbol 494 MovieClip Frame 1Symbol 382 MovieClip [mc_button_tower_2_3]
"_mcBtnBuilding4"Symbol 494 MovieClip Frame 1Symbol 385 MovieClip [mc_button_tower_2_4]
"_mcBtnBuilding5"Symbol 494 MovieClip Frame 1Symbol 388 MovieClip [mc_button_tower_2_5]
"_mcBtnBuilding2"Symbol 494 MovieClip Frame 1Symbol 379 MovieClip [mc_button_tower_2_1]
"_mcBtnBuilding1"Symbol 494 MovieClip Frame 1Symbol 376 MovieClip [mc_button_tower_2_2]
"_mcDescription1"Symbol 494 MovieClip Frame 1Symbol 477 MovieClip
"_mcDescription2"Symbol 494 MovieClip Frame 1Symbol 481 MovieClip
"_mcDescription3"Symbol 494 MovieClip Frame 1Symbol 485 MovieClip
"_mcDescription4"Symbol 494 MovieClip Frame 1Symbol 489 MovieClip
"_mcDescription5"Symbol 494 MovieClip Frame 1Symbol 493 MovieClip
"textInfo"Symbol 499 MovieClip Frame 1Symbol 496 EditableText
"textInfo"Symbol 503 MovieClip Frame 1Symbol 500 EditableText
"textInfo"Symbol 507 MovieClip Frame 1Symbol 504 EditableText
"textInfo"Symbol 511 MovieClip Frame 1Symbol 508 EditableText
"textInfo"Symbol 515 MovieClip Frame 1Symbol 512 EditableText
"_mcBtnBuilding3"Symbol 516 MovieClip Frame 1Symbol 346 MovieClip [mc_button_structure_3]
"_mcBtnBuilding4"Symbol 516 MovieClip Frame 1Symbol 349 MovieClip [mc_button_structure_4]
"_mcBtnBuilding5"Symbol 516 MovieClip Frame 1Symbol 352 MovieClip [mc_button_structure_5]
"_mcBtnBuilding2"Symbol 516 MovieClip Frame 1Symbol 343 MovieClip [mc_button_structure_2]
"_mcBtnBuilding1"Symbol 516 MovieClip Frame 1Symbol 340 MovieClip [mc_button_structure_1]
"_mcDescription1"Symbol 516 MovieClip Frame 1Symbol 499 MovieClip
"_mcDescription2"Symbol 516 MovieClip Frame 1Symbol 503 MovieClip
"_mcDescription3"Symbol 516 MovieClip Frame 1Symbol 507 MovieClip
"_mcDescription4"Symbol 516 MovieClip Frame 1Symbol 511 MovieClip
"_mcDescription5"Symbol 516 MovieClip Frame 1Symbol 515 MovieClip
"_btnInner"Symbol 541 MovieClip Frame 1Symbol 538 Button
"_btnInner"Symbol 541 MovieClip Frame 2Symbol 540 Button
"_btnInner"Symbol 546 MovieClip Frame 1Symbol 543 Button
"_btnInner"Symbol 546 MovieClip Frame 2Symbol 545 Button
"_mcTabPage1"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 473 MovieClip
"_mcTabPage2"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 494 MovieClip
"_mcTabPage3"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 516 MovieClip
"_mcTabButton3"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 358 MovieClip [mc_button_structures_tab]
"_mcTabButton2"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 394 MovieClip [mc_button_towers2_tab]
"_mcTabButton1"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 391 MovieClip [mc_button_towers1_tab]
"textFunds"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 518 EditableText
"textPopulation"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 519 EditableText
"textScreen"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 521 EditableText
"textTimer"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 522 EditableText
"textMessage"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 523 EditableText
"_mcErrorBlink"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 529 MovieClip
"_btnStartAttack"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 533 Button
"_btnQuit"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 535 Button
"_mcPauseSwitch"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 541 MovieClip
"_mcSoundSwitch"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 546 MovieClip
"_mcBtnAbility1"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 327 MovieClip [mc_button_ability_1]
"_mcBtnAbility2"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 330 MovieClip [mc_button_ability_2]
"_mcBtnAbility3"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 333 MovieClip [mc_button_ability_3]
"_mcBtnAbility4"Symbol 547 MovieClip [id_missionUI] Frame 1Symbol 336 MovieClip [mc_button_ability_4]
"mcNoise2"Symbol 618 MovieClip Frame 1Symbol 610 MovieClip
"mcNoise3"Symbol 618 MovieClip Frame 1Symbol 610 MovieClip
"mcMapSelector"Symbol 647 MovieClip [id_mcOptionsScreen] Frame 1Symbol 618 MovieClip
"mcProgramSelector"Symbol 647 MovieClip [id_mcOptionsScreen] Frame 2Symbol 642 MovieClip
"mcHighscores"Symbol 712 MovieClip Frame 1Symbol 701 MovieClip
"mcTarget"Symbol 712 MovieClip Frame 2Symbol 702 MovieClip
"comHighscores"Symbol 716 MovieClip [id_mcSaveScore] Frame 1Symbol 712 MovieClip
"comHighscores"Symbol 717 MovieClip [id_mcViewScore] Frame 1Symbol 712 MovieClip
"textToolTip"Symbol 720 MovieClip [id_mcToolTip] Frame 1Symbol 719 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "snd_error"
ExportAssets (56)Timeline Frame 1Symbol 2 as "id_mcGame"
ExportAssets (56)Timeline Frame 1Symbol 4 as "id_construction2_matrix"
ExportAssets (56)Timeline Frame 1Symbol 727 as "__Packages.CEventMovieClip"
ExportAssets (56)Timeline Frame 1Symbol 728 as "__Packages.CGame"
ExportAssets (56)Timeline Frame 1Symbol 729 as "__Packages.CMap"
ExportAssets (56)Timeline Frame 1Symbol 730 as "__Packages.CLayer"
ExportAssets (56)Timeline Frame 1Symbol 731 as "__Packages.Const"
ExportAssets (56)Timeline Frame 1Symbol 732 as "__Packages.CEnemy"
ExportAssets (56)Timeline Frame 1Symbol 733 as "__Packages.CVector"
ExportAssets (56)Timeline Frame 1Symbol 734 as "__Packages.CEffect"
ExportAssets (56)Timeline Frame 1Symbol 735 as "__Packages.CSoundService"
ExportAssets (56)Timeline Frame 1Symbol 736 as "__Packages.CBuilding"
ExportAssets (56)Timeline Frame 1Symbol 737 as "__Packages.CBlast"
ExportAssets (56)Timeline Frame 1Symbol 738 as "__Packages.CCursor"
ExportAssets (56)Timeline Frame 1Symbol 739 as "__Packages.CAbility"
ExportAssets (56)Timeline Frame 1Symbol 740 as "__Packages.CToggleButton"
ExportAssets (56)Timeline Frame 1Symbol 741 as "__Packages.CQuest"
ExportAssets (56)Timeline Frame 1Symbol 742 as "__Packages.CMissionUIPanel"
ExportAssets (56)Timeline Frame 2Symbol 55 as "id_blast"
ExportAssets (56)Timeline Frame 2Symbol 66 as "id_blast1"
ExportAssets (56)Timeline Frame 2Symbol 69 as "id_blast2"
ExportAssets (56)Timeline Frame 2Symbol 71 as "id_blast3"
ExportAssets (56)Timeline Frame 2Symbol 72 as "id_blast4"
ExportAssets (56)Timeline Frame 2Symbol 76 as "id_blast5"
ExportAssets (56)Timeline Frame 2Symbol 80 as "id_blast8"
ExportAssets (56)Timeline Frame 2Symbol 82 as "id_blast9"
ExportAssets (56)Timeline Frame 2Symbol 84 as "id_blast11"
ExportAssets (56)Timeline Frame 2Symbol 85 as "id_building"
ExportAssets (56)Timeline Frame 2Symbol 88 as "id_construction11"
ExportAssets (56)Timeline Frame 2Symbol 90 as "id_construction11_matrix"
ExportAssets (56)Timeline Frame 2Symbol 93 as "id_construction12"
ExportAssets (56)Timeline Frame 2Symbol 94 as "id_construction12_matrix"
ExportAssets (56)Timeline Frame 2Symbol 97 as "id_construction13"
ExportAssets (56)Timeline Frame 2Symbol 98 as "id_construction13_matrix"
ExportAssets (56)Timeline Frame 2Symbol 101 as "id_construction14"
ExportAssets (56)Timeline Frame 2Symbol 102 as "id_construction14_matrix"
ExportAssets (56)Timeline Frame 2Symbol 105 as "id_construction15"
ExportAssets (56)Timeline Frame 2Symbol 106 as "id_construction15_matrix"
ExportAssets (56)Timeline Frame 2Symbol 112 as "id_construction1"
ExportAssets (56)Timeline Frame 2Symbol 113 as "id_construction1_matrix"
ExportAssets (56)Timeline Frame 2Symbol 119 as "id_construction2"
ExportAssets (56)Timeline Frame 2Symbol 123 as "id_construction3"
ExportAssets (56)Timeline Frame 2Symbol 124 as "id_construction3_matrix"
ExportAssets (56)Timeline Frame 2Symbol 129 as "id_construction4"
ExportAssets (56)Timeline Frame 2Symbol 130 as "id_construction4_matrix"
ExportAssets (56)Timeline Frame 2Symbol 134 as "id_construction5"
ExportAssets (56)Timeline Frame 2Symbol 135 as "id_construction5_matrix"
ExportAssets (56)Timeline Frame 2Symbol 141 as "id_construction6"
ExportAssets (56)Timeline Frame 2Symbol 142 as "id_construction6_matrix"
ExportAssets (56)Timeline Frame 2Symbol 148 as "id_construction7"
ExportAssets (56)Timeline Frame 2Symbol 149 as "id_construction7_matrix"
ExportAssets (56)Timeline Frame 2Symbol 155 as "id_construction8"
ExportAssets (56)Timeline Frame 2Symbol 156 as "id_construction8_matrix"
ExportAssets (56)Timeline Frame 2Symbol 162 as "id_construction9"
ExportAssets (56)Timeline Frame 2Symbol 163 as "id_construction9_matrix"
ExportAssets (56)Timeline Frame 2Symbol 169 as "id_construction10"
ExportAssets (56)Timeline Frame 2Symbol 170 as "id_construction10_matrix"
ExportAssets (56)Timeline Frame 2Symbol 174 as "id_cursor_missile"
ExportAssets (56)Timeline Frame 2Symbol 176 as "id_cursor_sell"
ExportAssets (56)Timeline Frame 2Symbol 180 as "id_cursor_timebomb"
ExportAssets (56)Timeline Frame 2Symbol 183 as "id_cursor_wall"
ExportAssets (56)Timeline Frame 2Symbol 185 as "id_wall_shadow"
ExportAssets (56)Timeline Frame 2Symbol 189 as "id_effect_fast"
ExportAssets (56)Timeline Frame 2Symbol 192 as "id_effect_repair"
ExportAssets (56)Timeline Frame 2Symbol 197 as "id_effect_shield"
ExportAssets (56)Timeline Frame 2Symbol 201 as "id_effect_slow"
ExportAssets (56)Timeline Frame 2Symbol 202 as "id_enemy"
ExportAssets (56)Timeline Frame 2Symbol 205 as "id_enemy1"
ExportAssets (56)Timeline Frame 2Symbol 208 as "id_enemy2"
ExportAssets (56)Timeline Frame 2Symbol 211 as "id_enemy3"
ExportAssets (56)Timeline Frame 2Symbol 214 as "id_enemy4"
ExportAssets (56)Timeline Frame 2Symbol 217 as "id_enemy5"
ExportAssets (56)Timeline Frame 2Symbol 220 as "id_enemy6"
ExportAssets (56)Timeline Frame 2Symbol 223 as "id_enemy7"
ExportAssets (56)Timeline Frame 2Symbol 227 as "id_healthbar"
ExportAssets (56)Timeline Frame 2Symbol 231 as "id_gfx_aablast"
ExportAssets (56)Timeline Frame 2Symbol 260 as "id_gfx_explosion_big"
ExportAssets (56)Timeline Frame 2Symbol 264 as "id_gfx_electricfield"
ExportAssets (56)Timeline Frame 2Symbol 281 as "id_gfx_explosion_medium"
ExportAssets (56)Timeline Frame 2Symbol 292 as "id_gfx_missileblast"
ExportAssets (56)Timeline Frame 2Symbol 296 as "id_gfx_slowsplash"
ExportAssets (56)Timeline Frame 2Symbol 313 as "id_gfx_explosion_small"
ExportAssets (56)Timeline Frame 2Symbol 318 as "id_gfx_splash"
ExportAssets (56)Timeline Frame 2Symbol 327 as "mc_button_ability_1"
ExportAssets (56)Timeline Frame 2Symbol 330 as "mc_button_ability_2"
ExportAssets (56)Timeline Frame 2Symbol 333 as "mc_button_ability_3"
ExportAssets (56)Timeline Frame 2Symbol 336 as "mc_button_ability_4"
ExportAssets (56)Timeline Frame 2Symbol 340 as "mc_button_structure_1"
ExportAssets (56)Timeline Frame 2Symbol 343 as "mc_button_structure_2"
ExportAssets (56)Timeline Frame 2Symbol 346 as "mc_button_structure_3"
ExportAssets (56)Timeline Frame 2Symbol 349 as "mc_button_structure_4"
ExportAssets (56)Timeline Frame 2Symbol 352 as "mc_button_structure_5"
ExportAssets (56)Timeline Frame 2Symbol 358 as "mc_button_structures_tab"
ExportAssets (56)Timeline Frame 2Symbol 361 as "mc_button_tower_1_1"
ExportAssets (56)Timeline Frame 2Symbol 364 as "mc_button_tower_1_2"
ExportAssets (56)Timeline Frame 2Symbol 367 as "mc_button_tower_1_3"
ExportAssets (56)Timeline Frame 2Symbol 370 as "mc_button_tower_1_4"
ExportAssets (56)Timeline Frame 2Symbol 373 as "mc_button_tower_1_5"
ExportAssets (56)Timeline Frame 2Symbol 376 as "mc_button_tower_2_2"
ExportAssets (56)Timeline Frame 2Symbol 379 as "mc_button_tower_2_1"
ExportAssets (56)Timeline Frame 2Symbol 382 as "mc_button_tower_2_3"
ExportAssets (56)Timeline Frame 2Symbol 385 as "mc_button_tower_2_4"
ExportAssets (56)Timeline Frame 2Symbol 388 as "mc_button_tower_2_5"
ExportAssets (56)Timeline Frame 2Symbol 391 as "mc_button_towers1_tab"
ExportAssets (56)Timeline Frame 2Symbol 394 as "mc_button_towers2_tab"
ExportAssets (56)Timeline Frame 2Symbol 428 as "mc_gameoverdialog"
ExportAssets (56)Timeline Frame 2Symbol 438 as "mc_gamepaused"
ExportAssets (56)Timeline Frame 2Symbol 547 as "id_missionUI"
ExportAssets (56)Timeline Frame 2Symbol 554 as "mc_quitdialog"
ExportAssets (56)Timeline Frame 2Symbol 581 as "id_mcMainScreen"
ExportAssets (56)Timeline Frame 2Symbol 589 as "id_map1_sand"
ExportAssets (56)Timeline Frame 2Symbol 592 as "id_map1_landscape"
ExportAssets (56)Timeline Frame 2Symbol 596 as "id_map2_sand"
ExportAssets (56)Timeline Frame 2Symbol 599 as "id_map2_landscape"
ExportAssets (56)Timeline Frame 2Symbol 603 as "id_map3_sand"
ExportAssets (56)Timeline Frame 2Symbol 606 as "id_map3_landscape"
ExportAssets (56)Timeline Frame 2Symbol 647 as "id_mcOptionsScreen"
ExportAssets (56)Timeline Frame 2Symbol 657 as "id_mcRulesScreen"
ExportAssets (56)Timeline Frame 2Symbol 660 as "id_tower_range"
ExportAssets (56)Timeline Frame 2Symbol 662 as "id_grid"
ExportAssets (56)Timeline Frame 2Symbol 663 as "id_map"
ExportAssets (56)Timeline Frame 2Symbol 665 as "id_map1_matrix"
ExportAssets (56)Timeline Frame 2Symbol 667 as "id_map2_matrix"
ExportAssets (56)Timeline Frame 2Symbol 669 as "id_map3_matrix"
ExportAssets (56)Timeline Frame 2Symbol 670 as "id_cursor"
ExportAssets (56)Timeline Frame 2Symbol 671 as "id_mapLayer"
ExportAssets (56)Timeline Frame 2Symbol 672 as "id_layer"
ExportAssets (56)Timeline Frame 2Symbol 673 as "snd_aaGunShot"
ExportAssets (56)Timeline Frame 2Symbol 674 as "snd_bigExplosion"
ExportAssets (56)Timeline Frame 2Symbol 675 as "snd_chainGunShot"
ExportAssets (56)Timeline Frame 2Symbol 676 as "snd_construction"
ExportAssets (56)Timeline Frame 2Symbol 677 as "snd_gaussCannonShot"
ExportAssets (56)Timeline Frame 2Symbol 678 as "snd_gooCannonShot"
ExportAssets (56)Timeline Frame 2Symbol 679 as "snd_gutlingLaserShot"
ExportAssets (56)Timeline Frame 2Symbol 680 as "snd_hit"
ExportAssets (56)Timeline Frame 2Symbol 681 as "snd_mainLoop"
ExportAssets (56)Timeline Frame 2Symbol 682 as "snd_mediumExplosion"
ExportAssets (56)Timeline Frame 2Symbol 683 as "snd_missileTurretShot"
ExportAssets (56)Timeline Frame 2Symbol 684 as "snd_mortarShot"
ExportAssets (56)Timeline Frame 2Symbol 685 as "snd_nuclearExplosion"
ExportAssets (56)Timeline Frame 2Symbol 686 as "snd_nuclearLaunch"
ExportAssets (56)Timeline Frame 2Symbol 687 as "snd_NulificatorShot"
ExportAssets (56)Timeline Frame 2Symbol 688 as "snd_oilSprayShot"
ExportAssets (56)Timeline Frame 2Symbol 689 as "snd_popDead"
ExportAssets (56)Timeline Frame 2Symbol 690 as "snd_sell"
ExportAssets (56)Timeline Frame 2Symbol 691 as "snd_smallExplosion"
ExportAssets (56)Timeline Frame 2Symbol 692 as "snd_switch"
ExportAssets (56)Timeline Frame 2Symbol 693 as "snd_teslaTowerShot"
ExportAssets (56)Timeline Frame 2Symbol 694 as "snd_timeStop"
ExportAssets (56)Timeline Frame 2Symbol 695 as "snd_quest"
ExportAssets (56)Timeline Frame 2Symbol 697 as "dmSoundService"
ExportAssets (56)Timeline Frame 2Symbol 716 as "id_mcSaveScore"
ExportAssets (56)Timeline Frame 2Symbol 717 as "id_mcViewScore"
ExportAssets (56)Timeline Frame 2Symbol 720 as "id_mcToolTip"

Labels

"loadAd"Symbol 42 MovieClip Frame 2
"showAd"Symbol 42 MovieClip Frame 12
"preload"Symbol 54 MovieClip Frame 3
"frmReleased"Symbol 327 MovieClip [mc_button_ability_1] Frame 1
"frmPressed"Symbol 327 MovieClip [mc_button_ability_1] Frame 2
"frmReleased"Symbol 330 MovieClip [mc_button_ability_2] Frame 1
"frmPressed"Symbol 330 MovieClip [mc_button_ability_2] Frame 2
"frmReleased"Symbol 333 MovieClip [mc_button_ability_3] Frame 1
"frmPressed"Symbol 333 MovieClip [mc_button_ability_3] Frame 2
"frmReleased"Symbol 336 MovieClip [mc_button_ability_4] Frame 1
"frmPressed"Symbol 336 MovieClip [mc_button_ability_4] Frame 2
"frmReleased"Symbol 340 MovieClip [mc_button_structure_1] Frame 1
"frmPressed"Symbol 340 MovieClip [mc_button_structure_1] Frame 2
"frmReleased"Symbol 343 MovieClip [mc_button_structure_2] Frame 1
"frmPressed"Symbol 343 MovieClip [mc_button_structure_2] Frame 2
"frmReleased"Symbol 346 MovieClip [mc_button_structure_3] Frame 1
"frmPressed"Symbol 346 MovieClip [mc_button_structure_3] Frame 2
"frmReleased"Symbol 349 MovieClip [mc_button_structure_4] Frame 1
"frmPressed"Symbol 349 MovieClip [mc_button_structure_4] Frame 2
"frmReleased"Symbol 352 MovieClip [mc_button_structure_5] Frame 1
"frmPressed"Symbol 352 MovieClip [mc_button_structure_5] Frame 2
"frmReleased"Symbol 358 MovieClip [mc_button_structures_tab] Frame 1
"frmPressed"Symbol 358 MovieClip [mc_button_structures_tab] Frame 2
"frmReleased"Symbol 361 MovieClip [mc_button_tower_1_1] Frame 1
"frmPressed"Symbol 361 MovieClip [mc_button_tower_1_1] Frame 2
"frmReleased"Symbol 364 MovieClip [mc_button_tower_1_2] Frame 1
"frmPressed"Symbol 364 MovieClip [mc_button_tower_1_2] Frame 2
"frmReleased"Symbol 367 MovieClip [mc_button_tower_1_3] Frame 1
"frmPressed"Symbol 367 MovieClip [mc_button_tower_1_3] Frame 2
"frmReleased"Symbol 370 MovieClip [mc_button_tower_1_4] Frame 1
"frmPressed"Symbol 370 MovieClip [mc_button_tower_1_4] Frame 2
"frmReleased"Symbol 373 MovieClip [mc_button_tower_1_5] Frame 1
"frmPressed"Symbol 373 MovieClip [mc_button_tower_1_5] Frame 2
"frmReleased"Symbol 376 MovieClip [mc_button_tower_2_2] Frame 1
"frmPressed"Symbol 376 MovieClip [mc_button_tower_2_2] Frame 2
"frmReleased"Symbol 379 MovieClip [mc_button_tower_2_1] Frame 1
"frmPressed"Symbol 379 MovieClip [mc_button_tower_2_1] Frame 2
"frmReleased"Symbol 382 MovieClip [mc_button_tower_2_3] Frame 1
"frmPressed"Symbol 382 MovieClip [mc_button_tower_2_3] Frame 2
"frmReleased"Symbol 385 MovieClip [mc_button_tower_2_4] Frame 1
"frmPressed"Symbol 385 MovieClip [mc_button_tower_2_4] Frame 2
"frmReleased"Symbol 388 MovieClip [mc_button_tower_2_5] Frame 1
"frmPressed"Symbol 388 MovieClip [mc_button_tower_2_5] Frame 2
"frmReleased"Symbol 391 MovieClip [mc_button_towers1_tab] Frame 1
"frmPressed"Symbol 391 MovieClip [mc_button_towers1_tab] Frame 2
"frmReleased"Symbol 394 MovieClip [mc_button_towers2_tab] Frame 1
"frmPressed"Symbol 394 MovieClip [mc_button_towers2_tab] Frame 2

Dynamic Text Variables

txtPercentLoaded2Symbol 44 EditableText"The game is loading (0%)"
txtPercentLoaded2Symbol 47 EditableText"The game is loading (0%)"




http://swfchan.com/11/51727/info.shtml
Created: 24/4 -2019 15:45:54 Last modified: 24/4 -2019 15:45:54 Server time: 22/12 -2024 08:44:51