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

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

Sky Invasion.swf

This is the info page for
Flash #63200

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


Text
<p align="left"><font face="Neuropol" size="12" color="#00ff00" letterSpacing="0.000000" kerning="1">.</font></p>

<p align="left"><font face="Neuropol" size="12" color="#00cc00" letterSpacing="0.000000" kerning="1">..</font></p>

<p align="left"><font face="Neuropol" size="12" color="#009900" letterSpacing="0.000000" kerning="1">...</font></p>

<p align="left"><font face="Neuropol" size="12" color="#006600" letterSpacing="0.000000" kerning="1">....</font></p>

<p align="right"><font face="Myriad Pro" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1"><b>G 99</b></font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffff00" letterSpacing="0.000000" kerning="1">99999</font></p>

Enemy Base :

Our Base :

<p align="left"><font face="Myriad Pro" size="12" color="#ffff00" letterSpacing="0.000000" kerning="1">99999</font></p>

options

options

options

more games

more games

more games

quit

quit

quit

create units

create towers

upgrades

Automatic

Automatic

Semi Automatic

Semi Automatic

Manual

Manual

Select Fire Mode

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffcc00" letterSpacing="0.000000" kerning="1">G 8888</font></p>

<p align="center"><font face="Myriad Pro" size="11" color="#00cc00" letterSpacing="0.000000" kerning="1"><b>Level : 1</b></font></p>

Fire Mode
There are three option to control your
base attack.
Click your base to choose which control
that suits your need: Manual, Semi-
automatic, or Automatic

Create Your Troops
Select new troops that you need from
this panel.
If you have sufficient funds, your new
troops will appear on the queue at the
upper left side of the window.

Upgradings
Do upgrades for any element of your
troops from here. Instantly!
Roll over every single button to see
what they used for. Middle button is
used to repair your castle.

Your Base Health Point
This panel shows your base HP.
Your base is always attacking, turn this
attack to manual or semi-automatic by
clicking your base to show the menu.

Enemy Base Health Point
This meter shows you your enemy
health point.
They are counters your attacks by these
meter. So watch it and manage resource
wisefully for these counter attacks.

Scrolling Up!
Move your mouse pointer here to scroll
the window up.
This can also be done by pressing up
arrow from your keyboard, or by
scrolling up your mouse wheel.

And Scroll Down!
Move your mouse pointer here to scroll
the window down.
Pressing down arrow, or by scrolling
down your mouse wheel will do just the
same.

Zoom Out!
Pressing [Z] key will bring you to a
zoomed out view.
Releasing this key will bring you back to
the zoomed in view.

Locking View Mode
If.you reach the smallest world view, you
will found a check box here.
Click this check box to lock this view
mode, if you need to observe the whole
battle.

<p align="center"><font face="Myriad Pro" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1">Abort Mission</font></p>

<p align="center"><font face="Myriad Pro" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1">Sound FX ON</font></p>

<p align="center"><font face="Myriad Pro" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1">BG Music ON</font></p>

<p align="center"><font face="Myriad Pro" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1">More Invasion Games</font></p>

<p align="center"><font face="Myriad Pro" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1">Resume Game</font></p>

options

off

zoom lock ?

activate

off

on

deactivate

Please Wait

Loading Assets

bfbfjjs akakakdh ahasg
asjjd ahaha tktklii 178739

basvv shhhw ja asn
asssmsm whhw
snsnam

iiyjtk a8739
qhadjadg 990192 ajsg
0991727

nasnbasb fgfsjj
amsm ehelljj 99018

kakdh ahasg
a tktklii 178739

kskj ah adgannma ss
7765830 auast a[

bytes loaded

<p align="left"><font face="Myriad Pro" size="8" color="#99ffff" letterSpacing="1.000000" kerning="1">2513590</font></p>

total bytes

<p align="left"><font face="Myriad Pro" size="8" color="#99ffff" letterSpacing="1.000000" kerning="1">2513590</font></p>

<p align="right"><font face="Myriad Pro" size="8" color="#99ffff" letterSpacing="1.000000" kerning="1">0%</font></p>

Start Invasion

Kongai: Free Online
Collectible Card Game

play now »

www.kongregate.com

www.kongregate.com

Instructions

Instructions

Research

Research

Play Level

Play Level

Back To Menu

Back To Menu

Select Target

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

Statistics

Statistics

More Games

More Games

Secret Striker

achieved for
creating 100
Thunderbolt

Plasma Tower

achieved for
destroying
5 opponent's
Corona Tower

EMP Tower

achieved for
creating 10
gun tower

Aircraft Carrier

achieved for
destroying
one opponent's
Aircraft Carrier

<p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p>

<p align="center"><font face="Myriad Pro" size="12" color="#ffcc00" letterSpacing="0.000000" kerning="1">G 8888</font></p>

<p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="justify"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p>

<p align="center"><font face="Myriad Pro" size="12" color="#ffcc00" letterSpacing="0.000000" kerning="1">G 8888</font></p>

<p align="center"><font face="Myriad Pro" size="12" color="#0099ff" letterSpacing="0.000000" kerning="1">Experience Left : 0</font></p>

Research Menu

Finish

Finish

over 10,000 free online games

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">lorem ipsum</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffcc00" letterSpacing="0.000000" kerning="1">G 8888</font></p>

enemy

enemy base

enemy base destroyed

mission

mission accom

mission accomplished

establishing

establishing connect

establishing connection to HQ

HQ connection....established

shutting

shutting down s

shutting down streaming

s

streaming

streaming shutted

streaming shutted down

welcome

streaming shut down

welcome back to

welcome back to HQ system

welcome back to HQ system

enemy base destroyed

mission accomplished

streaming shut down

HQ connection....established

Continue

Continue

Destroyed Enemies

Experience Gained    :

<p align="right"><font face="Myriad Pro" size="12" color="#ccff00" letterSpacing="0.000000" kerning="1"><b>999</b></font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

Count

Score

Created Troops

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

Lost Troops

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

Good job!
Here is your last battle statistics

Finished in :

<p align="left"><font face="Myriad Pro" size="14" color="#ccff00" letterSpacing="0.000000" kerning="1">00:00:000</font></p>

All known

All known AEF Base

All known AEF Base eliminated

Initiating

Initiating HQ evacuati

Initiating HQ evacuation to Earth

All known AEF Base eliminated

Initiating HQ evacuation to Earth

<p align="right"><font face="Myriad Pro" size="12" color="#ccff00" letterSpacing="0.000000" kerning="1"><b>999</b></font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

Final Heroic Moment
Invasion completed!
Now we can live happily everafter on Earth.  I guess...

Level Finished in :

<p align="left"><font face="Myriad Pro" size="14" color="#ccff00" letterSpacing="0.000000" kerning="1">00:00:000</font></p>

Invasion Completed in :

<p align="left"><font face="Myriad Pro" size="14" color="#ccff00" letterSpacing="0.000000" kerning="1">00:00:000</font></p>

with Total Experience Point :

<p align="left"><font face="Myriad Pro" size="14" color="#ccff00" letterSpacing="0.000000" kerning="1">000000</font></p>

your

your base

your base destroyed

missio

mission fa

mission failed

mission failed

your base destroyed

Destroyed Enemies

Experience Gained    :

<p align="right"><font face="Myriad Pro" size="12" color="#ffcc00" letterSpacing="0.000000" kerning="1"><b>999</b></font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

Count

Score

Created Troops

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

Lost Troops

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

Your Base Destroyed!
Here is your last battle statistics

Finished in :

<p align="left"><font face="Myriad Pro" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">00:00:000</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffcc00" letterSpacing="0.000000" kerning="1"><b>999</b></font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Light units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Heavy units</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Towers</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">:</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p><p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

Mission Aborted!
No experience point for such coward action :P

<p align="left"><font face="Myriad Pro" size="14" color="#ffcc00" letterSpacing="0.000000" kerning="1">00:00:000</font></p>

Win Count
Lost Count
Unit Built
Unit Lost
Unit Killed
Tower Built
Tower Lost
Tower Destroyed
Total Experience Gained
Recent Experience

:
:
:
:
:
:
:
:
:
:

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

STATISTICS PAGE

Instructions

Exploring the World

Exploring the World

Training the Troops

Training the Troops

Upgrading

Upgrading

Putting it all together

Putting it all together

View the whole level by pressing up and down keys or
scrolling the mouse, or just moving the pointer to the
upper or lower edge of the screen.
Press "Z" key to Zoom-Out the view. A zoom lock
button will appear at the right side of the level screen if
the zooming reaches its max
NOTE: You can't slide or zoom the view while building a
new tower.

You have two kinds of troops, regular and special.
Regular troop will be unlocked on each mission.
Special one will be unlocked after you complete some
task. Create troops by pressing units button in the right
side of the window. Use the key ‘1-7’ on your keyboard
as shortcuts. Mind you, the Units won’t be ready just in
a zap. Instead, they will be put on a queue in the
upper-left corner in the level screen.
Create the Tower by pressing the button in the right
panel, or using the “Q”, “W”, “E”, “R”, or “T” keys. After a
tower is selected, the screen will automatically zoom-
in. Choose any preferred position for your new tower
using the mouse, and left-click it to build it.

Upgrade your base properties using the five extra
buttons in the right panel. You could upgrade the
Mainbase HP, units HP, units attack point, or repairing
the Mainbase. You could also use the “A”, “S”, “D”, “F”, “G”
as the shortcuts.
Upgrade is not enough? “Research Screen” will appear
after a battle is over. You can upgrade the things which
won’t be available in battle screen. This “researching”
costs your EXP instead of your gold.

Hopefully this guide will help you get through the base
of this game. Watch the situation closely, train a perfect
troop, build the appropriate tower, and keep
researching. That’s all you need to win the invasion. Or
else, invade the keyboard using the shortcut keys, so
you don’t need to move your mouse over all of the
desk. “Finger invasion”, sounds cool, huh?
Please let us know if you found something that we
don't (including glitches or bugs. Geez, they are
EVERYWHERE!). Hopefully, you’ll be enjoying the game
in the end, and playing it again, and again, and again.
Or else, let us know what’s wrong. We’re hoping inputs
and critics.
And oh, if you feel the enemy is cheating, it is because
computer is a cheating bastard. They even kick our butt
severely. OUR BUTT! The CREATOR’s friggin’ BUTT!
Please destroy them for us!!

SHORTCUTS LIST

1
2
3
4
5
6
7
Q
W
E
R
T
A
S
D
F
G

:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:

Create an Avenger
Create a Thunderbolt
Create a Defender
Create a Battlecruiser
Create a Valour unit
Create a Secret Striker
Create an Aircraft Carrier
Build an AAA Cannon tower (cannon)
Build a SAM Missile tower (missile)
Build a Blue Corona tower (lightning)
Build an EMP Generator (electromagnetic)
Build a Plasma Tower (plasma cannon)
Upgrade Mainbase Health Point
Upgrade Towers Health Point
Upgrade Units Health Point
Upgrade Units Attack Point
Press this one to repair your damaged base

Welcome to the most infamous page of this game!
Down here is list of people that wasting their time to create this game

CREDITS PAGE

Project Manager
Rudy Sudarto
Illustrator & Animator
Firmansyah
Programmer
Andi Eko Suryono
Musics played here..
Maximum Power by  Ryan094
http://www.newgrounds.com/audio/listen/181949
A Monumental Deciept  by midimachine
http://www.newgrounds.com/audio/listen/200365

ActionScript [AS3]

Section 1
//KongregateEvent (com.kongregate.as3.client.events.KongregateEvent) package com.kongregate.as3.client.events { import flash.events.*; public class KongregateEvent extends Event { public static const COMPLETE:String = "component_api_available"; public function KongregateEvent(_arg1:String){ super(_arg1); } } }//package com.kongregate.as3.client.events
Section 2
//AbstractShadowService (com.kongregate.as3.client.services.AbstractShadowService) package com.kongregate.as3.client.services { import flash.events.*; public class AbstractShadowService extends EventDispatcher { protected function alert(_arg1:String, _arg2:String, _arg3="", _arg4:String=""):void{ trace(((((((("Kongregate API: " + _arg1) + ".") + _arg2) + "(") + _arg3) + ") ") + _arg4)); } } }//package com.kongregate.as3.client.services
Section 3
//HighScoreServiceShadow (com.kongregate.as3.client.services.HighScoreServiceShadow) package com.kongregate.as3.client.services { public class HighScoreServiceShadow extends AbstractShadowService implements IHighScoreServices { private var mode:String; public function HighScoreServiceShadow(){ mode = ""; } public function submit(_arg1:Number, _arg2:String=null):void{ alert("IHighScoreServices", "submit", arguments); } public function connect():Boolean{ alert("IKongregateServices", "connect"); return (true); } public function requestList(_arg1:Function):void{ alert("IHighScoreServices", "requestList", "", (("[Mode: " + mode) + "]")); _arg1({success:false}); } public function setMode(_arg1:String):void{ alert("IHighScoreServices", "setMode", arguments); this.mode = _arg1; } } }//package com.kongregate.as3.client.services
Section 4
//IHighScoreServices (com.kongregate.as3.client.services.IHighScoreServices) package com.kongregate.as3.client.services { public interface IHighScoreServices { function setMode(_arg1:String):void; function submit(_arg1:Number, _arg2:String=null):void; function requestList(_arg1:Function):void; } }//package com.kongregate.as3.client.services
Section 5
//IKongregateServices (com.kongregate.as3.client.services.IKongregateServices) package com.kongregate.as3.client.services { import flash.events.*; public interface IKongregateServices extends IEventDispatcher { function getPlayerInfo(_arg1:Function):void; function connect(_arg1:Number=-1):Boolean; } }//package com.kongregate.as3.client.services
Section 6
//IStatServices (com.kongregate.as3.client.services.IStatServices) package com.kongregate.as3.client.services { public interface IStatServices { function submitArray(_arg1:Array):void; function submit(_arg1:String, _arg2:Number):void; } }//package com.kongregate.as3.client.services
Section 7
//IUserServices (com.kongregate.as3.client.services.IUserServices) package com.kongregate.as3.client.services { public interface IUserServices { function getName():String; function getPlayerInfo(_arg1:Function):void; } }//package com.kongregate.as3.client.services
Section 8
//KongregateServiceShadow (com.kongregate.as3.client.services.KongregateServiceShadow) package com.kongregate.as3.client.services { public class KongregateServiceShadow extends AbstractShadowService implements IKongregateServices { public function getName():String{ alert("IKongregateServices", "getName"); return ("Guest"); } public function connect(_arg1:Number=-1):Boolean{ alert("IKongregateServices", "connect", arguments); return (true); } public function getPlayerInfo(_arg1:Function):void{ alert("IKongregateServices", "getPlayerInfo"); _arg1(new Object()); } } }//package com.kongregate.as3.client.services
Section 9
//StatServiceShadow (com.kongregate.as3.client.services.StatServiceShadow) package com.kongregate.as3.client.services { public class StatServiceShadow extends AbstractShadowService implements IStatServices { public function submitArray(_arg1:Array):void{ alert("IStatServices", "submitArray", arguments); } public function submit(_arg1:String, _arg2:Number):void{ alert("IStatServices", "submitStat", arguments); } } }//package com.kongregate.as3.client.services
Section 10
//UserServiceShadow (com.kongregate.as3.client.services.UserServiceShadow) package com.kongregate.as3.client.services { public class UserServiceShadow extends AbstractShadowService implements IUserServices { public function getName():String{ alert("UserService", "getName"); return ("Guest"); } public function getPlayerInfo(_arg1:Function):void{ alert("UserService", "getPlayerInfo"); _arg1({isGuest:true, name:"Guest", points:0, level:0, isMode:false, isAdmin:false, isDeveloper:false, avatarPath:"", chatAvatarPath:""}); } } }//package com.kongregate.as3.client.services
Section 11
//IAPIBootstrap (com.kongregate.as3.client.IAPIBootstrap) package com.kongregate.as3.client { import flash.events.*; import flash.display.*; public interface IAPIBootstrap { function init(_arg1:Event=null, _arg2:Stage=null):void; function hideLog():void; function showLog(_arg1:int=0):void; } }//package com.kongregate.as3.client
Section 12
//KongregateAPI (com.kongregate.as3.client.KongregateAPI) package com.kongregate.as3.client { import flash.events.*; import flash.display.*; import com.kongregate.as3.client.events.*; import com.kongregate.as3.client.services.*; import flash.utils.*; import flash.system.*; import flash.net.*; import flash.errors.*; public class KongregateAPI extends Sprite { private const VERSION:Number = 1; private var loader:Loader; private var loadedDomain:ApplicationDomain; private static const CLASS_USER:String = "com.kongregate.as3.client.services.UserServices"; private static const CLASS_STATS:String = "com.kongregate.as3.client.services.StatServices"; private static const CLASS_SERVICES:String = "com.kongregate.as3.client.services.KongregateServices"; private static const CLASS_SCORES:String = "com.kongregate.as3.client.services.HighScoreServices"; private static const DEBUG_API_URL:String = "//Linuxpc/kongregate/public/flash/API_AS3.swf"; private static var _connected:Boolean; private static var kUser:IUserServices; private static var _loaded:Boolean; private static var kServices:IKongregateServices; private static var kScores:IHighScoreServices; private static var mInstance:KongregateAPI; private static var kStats:IStatServices; private static var kAPI:IAPIBootstrap; public function KongregateAPI(){ if (mInstance != null){ throw (new Error("Warning: KongregateAPI has been added to stage more than once or accessed improperly. Use getInstance() or a stage reference to access.")); }; mInstance = this; this.addEventListener(Event.ADDED_TO_STAGE, init, false, 0, true); } public function get loaded():Boolean{ return (_loaded); } public function get connected():Boolean{ return (_connected); } private function alertConnected(_arg1:TimerEvent=null):void{ var _local2:KongregateEvent; var _local3:Boolean; _local2 = new KongregateEvent(KongregateEvent.COMPLETE); _local3 = this.dispatchEvent(_local2); } private function init(_arg1:Event):void{ var _local2:Object; var _local3:String; var _local4:URLRequest; var _local5:LoaderContext; this.removeEventListener(Event.ADDED_TO_STAGE, init); _loaded = false; _connected = false; _local2 = LoaderInfo(root.loaderInfo).parameters; _local3 = _local2.api_path; if (_local3 == null){ trace("Alert: Kongregate API could not be loaded, due to local testing. API will load when the game is uploaded."); createShadowServices(); return; }; Security.allowDomain("*.kongregate.com"); Security.allowDomain("kongregatetrunk.com"); _local4 = new URLRequest(_local3); _local5 = new LoaderContext(false); _local5.applicationDomain = ApplicationDomain.currentDomain; _local5.securityDomain = SecurityDomain.currentDomain; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete); loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); loader.load(_local4, _local5); } public function get api():IAPIBootstrap{ return (kAPI); } private function loadComplete(_arg1:Event):void{ getServices(); } public function get scores():IHighScoreServices{ return (kScores); } private function ioErrorHandler(_arg1:IOErrorEvent):void{ throw (new IOError(("API file not found. " + _arg1))); } public function get services():IKongregateServices{ return (kServices); } public function get stats():IStatServices{ return (kStats); } private function createShadowServices():void{ var _local1:Timer; trace(">>> Kongregate Shadow Services instantiated for local development.."); kServices = new KongregateServiceShadow(); kScores = new HighScoreServiceShadow(); kStats = new StatServiceShadow(); kUser = new UserServiceShadow(); _local1 = new Timer(200, 1); _local1.addEventListener(TimerEvent.TIMER_COMPLETE, alertConnected); _local1.start(); _connected = true; } public function get user():IUserServices{ return (kUser); } private function getServices():void{ var _local1:ApplicationDomain; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = ApplicationDomain.currentDomain; kAPI = IAPIBootstrap(loader.getChildAt(0)); this.addChild(loader); _local2 = _local1.getDefinition(CLASS_SERVICES); trace(_local2); kServices = _local2.getInstance(); _local3 = _local1.getDefinition(CLASS_SCORES); kScores = _local3.getInstance(); _local4 = _local1.getDefinition(CLASS_STATS); kStats = _local4.getInstance(); _local5 = _local1.getDefinition(CLASS_USER); kUser = _local5.getInstance(); kServices.connect(VERSION); _loaded = true; _connected = true; alertConnected(); } public static function getInstance():KongregateAPI{ if (!mInstance){ throw (new IllegalOperationError("You must add the Kongregate API component to the stage before attempting to access it.")); }; return (mInstance); } } }//package com.kongregate.as3.client
Section 13
//artlogic_logo_103 (number07_fla.artlogic_logo_103) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class artlogic_logo_103 extends MovieClip { public var btn_sponsor:SimpleButton; public var thisparent; public function artlogic_logo_103(){ super(); addFrameScript(0, frame1); } function frame1(){ thisparent = parent; btn_sponsor.addEventListener(MouseEvent.MOUSE_UP, gotoSponsor, false, 0, true); } public function gotoSponsor(e){ thisparent.gotoArtlogic(); } } }//package number07_fla
Section 14
//bt_createtower1_193 (number07_fla.bt_createtower1_193) package number07_fla { import flash.display.*; public dynamic class bt_createtower1_193 extends MovieClip { public var btactive:SimpleButton; public function bt_createtower1_193(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 15
//bt_createtower2_195 (number07_fla.bt_createtower2_195) package number07_fla { import flash.display.*; public dynamic class bt_createtower2_195 extends MovieClip { public var btactive:SimpleButton; public function bt_createtower2_195(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 16
//bt_createtower3_197 (number07_fla.bt_createtower3_197) package number07_fla { import flash.display.*; public dynamic class bt_createtower3_197 extends MovieClip { public var btactive:SimpleButton; public function bt_createtower3_197(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 17
//bt_createunit1_177 (number07_fla.bt_createunit1_177) package number07_fla { import flash.display.*; public dynamic class bt_createunit1_177 extends MovieClip { public var btactive:SimpleButton; public function bt_createunit1_177(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 18
//bt_createunit2_179 (number07_fla.bt_createunit2_179) package number07_fla { import flash.display.*; public dynamic class bt_createunit2_179 extends MovieClip { public var btactive:SimpleButton; public function bt_createunit2_179(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 19
//bt_createunit3_181 (number07_fla.bt_createunit3_181) package number07_fla { import flash.display.*; public dynamic class bt_createunit3_181 extends MovieClip { public var btactive:SimpleButton; public function bt_createunit3_181(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 20
//bt_createunit4_183 (number07_fla.bt_createunit4_183) package number07_fla { import flash.display.*; public dynamic class bt_createunit4_183 extends MovieClip { public var btactive:SimpleButton; public function bt_createunit4_183(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 21
//bt_createunit5_185 (number07_fla.bt_createunit5_185) package number07_fla { import flash.display.*; public dynamic class bt_createunit5_185 extends MovieClip { public var btactive:SimpleButton; public function bt_createunit5_185(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 22
//bt_special1_187 (number07_fla.bt_special1_187) package number07_fla { import flash.display.*; public dynamic class bt_special1_187 extends MovieClip { public var btactive:SimpleButton; public function bt_special1_187(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 23
//bt_special2_189 (number07_fla.bt_special2_189) package number07_fla { import flash.display.*; public dynamic class bt_special2_189 extends MovieClip { public var btactive:SimpleButton; public var blinker:MovieClip; public function bt_special2_189(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 24
//bt_special3_191 (number07_fla.bt_special3_191) package number07_fla { import flash.display.*; public dynamic class bt_special3_191 extends MovieClip { public var btactive:SimpleButton; public var blinker:MovieClip; public function bt_special3_191(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 25
//bt_special4_175 (number07_fla.bt_special4_175) package number07_fla { import flash.display.*; public dynamic class bt_special4_175 extends MovieClip { public var btactive:SimpleButton; public var blinker:MovieClip; public function bt_special4_175(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); btactive.visible = true; } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = false; } } }//package number07_fla
Section 26
//bt_upgrade1_202 (number07_fla.bt_upgrade1_202) package number07_fla { import flash.display.*; public dynamic class bt_upgrade1_202 extends MovieClip { public var btactive:SimpleButton; public function bt_upgrade1_202(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = true; } } }//package number07_fla
Section 27
//bt_upgrade2_205 (number07_fla.bt_upgrade2_205) package number07_fla { import flash.display.*; public dynamic class bt_upgrade2_205 extends MovieClip { public var btactive:SimpleButton; public function bt_upgrade2_205(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = true; } } }//package number07_fla
Section 28
//bt_upgrade3_207 (number07_fla.bt_upgrade3_207) package number07_fla { import flash.display.*; public dynamic class bt_upgrade3_207 extends MovieClip { public var btactive:SimpleButton; public var repairlighter:MovieClip; public function bt_upgrade3_207(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = true; } } }//package number07_fla
Section 29
//bt_upgrade4_210 (number07_fla.bt_upgrade4_210) package number07_fla { import flash.display.*; public dynamic class bt_upgrade4_210 extends MovieClip { public var btactive:SimpleButton; public function bt_upgrade4_210(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = true; } } }//package number07_fla
Section 30
//bt_upgrade5_212 (number07_fla.bt_upgrade5_212) package number07_fla { import flash.display.*; public dynamic class bt_upgrade5_212 extends MovieClip { public var btactive:SimpleButton; public function bt_upgrade5_212(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); btactive.visible = false; } function frame2(){ stop(); btactive.visible = true; } } }//package number07_fla
Section 31
//btn_lockthiszoom_22 (number07_fla.btn_lockthiszoom_22) package number07_fla { import flash.display.*; public dynamic class btn_lockthiszoom_22 extends MovieClip { public var on_btn:SimpleButton; public var off_btn:SimpleButton; public function btn_lockthiszoom_22(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package number07_fla
Section 32
//healthbar_49 (number07_fla.healthbar_49) package number07_fla { import flash.display.*; public dynamic class healthbar_49 extends MovieClip { public function healthbar_49(){ super(); addFrameScript(0, frame1); } function frame1(){ gotoAndStop(110); } } }//package number07_fla
Section 33
//healthbar_72 (number07_fla.healthbar_72) package number07_fla { import flash.display.*; public dynamic class healthbar_72 extends MovieClip { public function healthbar_72(){ super(); addFrameScript(0, frame1); } function frame1(){ gotoAndStop(110); } } }//package number07_fla
Section 34
//kong_intro_mc_88 (number07_fla.kong_intro_mc_88) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class kong_intro_mc_88 extends MovieClip { public var btn_sponsor:SimpleButton; public var thisparent; public function kong_intro_mc_88(){ super(); addFrameScript(0, frame1); } function frame1(){ thisparent = parent; btn_sponsor.addEventListener(MouseEvent.MOUSE_UP, gotoSponsor, false, 0, true); } public function gotoSponsor(e){ thisparent.gotoMoreGame(); } } }//package number07_fla
Section 35
//lighter_209 (number07_fla.lighter_209) package number07_fla { import flash.display.*; public dynamic class lighter_209 extends MovieClip { public function lighter_209(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package number07_fla
Section 36
//MainTimeline (number07_fla.MainTimeline) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var moreGameURL; public var myMenu; public var presentsintro:MovieClip; public var kongaiGameURL; public var kongintro:MovieClip; public var adsGameURL; public var artlogicURL; public var usemochi; public var item1:ContextMenuItem; public var gameData; public var gameMgr; public var artintro:MovieClip; public var sndMgr; public function MainTimeline(){ super(); addFrameScript(0, frame1, 4, frame5, 5, frame6, 9, frame10, 22, frame23, 28, frame29, 29, frame30, 33, frame34, 34, frame35, 39, frame40, 43, frame44, 44, frame45, 48, frame49, 49, frame50, 53, frame54, 54, frame55, 58, frame59, 59, frame60, 63, frame64, 64, frame65, 68, frame69, 69, frame70, 73, frame74, 74, frame75, 78, frame79, 79, frame80, 83, frame84, 84, frame85, 88, frame89, 89, frame90, 93, frame94); } function frame65(){ stop(); sndMgr.playBGM("cover"); } function frame70(){ stop(); sndMgr.playBGM("ambient"); } function frame64(){ gotoAndPlay("winpage"); } function frame75(){ stop(); sndMgr.playBGM("ambient"); } function frame79(){ gotoAndPlay("abortpage"); } function frame74(){ gotoAndPlay("lostpage"); } function frame80(){ stop(); } function frame84(){ gotoAndPlay("statisticspage"); } function frame89(){ gotoAndPlay("instructionspage"); } function frame85(){ stop(); } function frame90(){ stop(); } public function waitKongSplash(e){ if (kongintro.currentFrame == kongintro.totalFrames){ removeEventListener(Event.ENTER_FRAME, waitKongSplash); gotoAndPlay("algsplashpage"); }; } function frame10(){ gotoAndPlay("lockpage"); } function frame94(){ gotoAndPlay("creditspage"); } public function gotoKongaiGame(e=null){ navigateToURL(new URLRequest(kongaiGameURL), "_blank"); } public function gotoMoreGame(e=null){ navigateToURL(new URLRequest(moreGameURL), "_blank"); } function frame1(){ MochiBot.track(this, "db92117b"); stage.scaleMode = StageScaleMode.NO_SCALE; usemochi = false; artlogicURL = "http://www.artlogicgames.com/"; moreGameURL = "http://www.kongregate.com/?gamereferral=sky-invasion"; adsGameURL = "http://www.kongregate.com/?gamereferral=sky-invasion"; kongaiGameURL = "http://www.kongregate.com/games/Kongregate/kongai/?gamereferral=sky-invasion"; gameMgr = null; sndMgr = null; gameData = null; item1 = new ContextMenuItem("© 2009 Artlogic Games™"); item1.separatorBefore = true; item1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, gotoArtlogic); myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); myMenu.customItems.push(item1); this.contextMenu = myMenu; stop(); } public function gotoArtlogic(e=null){ navigateToURL(new URLRequest(artlogicURL), "_blank"); } function frame6(){ stop(); } function frame23(){ if (!sndMgr){ sndMgr = new SoundManager(); }; if (!gameData){ gameData = new DataManager(this); }; stop(); addEventListener(Event.ENTER_FRAME, waitKongSplash, false, 0, true); } function frame5(){ stop(); } public function waitPresentsSplash(e){ if (presentsintro.currentFrame == presentsintro.totalFrames){ removeEventListener(Event.ENTER_FRAME, waitPresentsSplash); gotoAndPlay("mainmenu"); }; } function frame29(){ gotoAndPlay("kongsplashpage"); } function frame30(){ stop(); addEventListener(Event.ENTER_FRAME, waitArtSplash, false, 0, true); } function frame34(){ gotoAndPlay("algsplashpage"); } function frame35(){ stop(); sndMgr.playBGM("cover"); addEventListener(Event.ENTER_FRAME, waitPresentsSplash, false, 0, true); } function frame40(){ stop(); sndMgr.playBGM("cover"); } function frame44(){ gotoAndPlay("mainmenu"); } public function waitArtSplash(e){ if (artintro.currentFrame == artintro.totalFrames){ removeEventListener(Event.ENTER_FRAME, waitArtSplash); gotoAndPlay("presentspage"); }; } function frame45(){ stop(); } function frame49(){ gotoAndPlay("levelselect"); } function frame54(){ gotoAndPlay("levelselect"); } function frame50(){ stop(); } function frame59(){ gotoAndPlay("gameplay"); } function frame55(){ stop(); if (gameMgr){ gameMgr.stopGame(); this.removeChild(gameMgr); }; gameMgr = new GameManager(this); } public function gotoAdsGame(e=null){ navigateToURL(new URLRequest(adsGameURL), "_blank"); } function frame60(){ stop(); sndMgr.playBGM("cover"); } function frame69(){ gotoAndPlay("ultimatewinpage"); } } }//package number07_fla
Section 37
//mc_abortpage_153 (number07_fla.mc_abortpage_153) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_abortpage_153 extends MovieClip { public var adsbox:MovieClip; public var ad; public var losttroopsscore:TextField; public var createdtroopscount:TextField; public var experience:TextField; public var destroyedenemiescount:TextField; public var kongbox:MovieClip; public var leveltime:TextField; public var losttroopscount:TextField; public var usemochi; public var gamewin; public var destroyedenemiesscore:TextField; public var thisparent; public var CPMStarContentSpotID:String; public var createdtroopsscore:TextField; public var btcontinue:SimpleButton; public function mc_abortpage_153(){ super(); addFrameScript(0, frame1, 65, frame66); } function frame1(){ kongbox.visible = false; adsbox.visible = false; } public function goLevelSelect(e=null){ if (((((((((((((thisparent.gameData.research1Enabled()) || (thisparent.gameData.research2Enabled()))) || (thisparent.gameData.research3Enabled()))) || (thisparent.gameData.research4Enabled()))) || (thisparent.gameData.research5Enabled()))) || (thisparent.gameData.research6Enabled()))) || (thisparent.gameData.research7Enabled()))){ if (adsbox.visible){ if (ad){ adsbox.removeChild(ad); }; }; thisparent.gotoAndPlay("researchpage"); } else { thisparent.gotoAndPlay("levelselect"); }; removeChild(adsbox); } public function checkSiteLock():Boolean{ var res:*; res = false; res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("www.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("a.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("chat.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("bin") > -1))); return (res); } public function gotoAds(e){ thisparent.gotoAdsGame(); } function frame66(){ stop(); thisparent = parent; ad = null; usemochi = thisparent.usemochi; CPMStarContentSpotID = "420Q1058780B"; if ((((Math.random() < 0.5)) || (checkSiteLock()))){ kongbox.visible = true; kongbox.addEventListener(MouseEvent.MOUSE_UP, gotoAds, false, 0, true); } else { adsbox.visible = true; if (usemochi){ MochiAd.showClickAwayAd({clip:adsbox, id:"48450a715b66ea35"}); } else { ad = new AdLoader(CPMStarContentSpotID); adsbox.addChild(ad); }; }; gamewin = false; destroyedenemiescount.text = thisparent.gameData.getDestroyedEnemiesCount(); destroyedenemiesscore.text = "0\n0\n0"; createdtroopscount.text = thisparent.gameData.getCreatedTroopsCount(); createdtroopsscore.text = "0\n0\n0"; losttroopscount.text = thisparent.gameData.getLostTroopsCount(); losttroopsscore.text = "0\n0\n0"; leveltime.text = thisparent.gameData.getLevelTime(); experience.text = "0"; thisparent.gameData.setUnfinishedLevel(); btcontinue.addEventListener(MouseEvent.MOUSE_UP, goLevelSelect, false, 0, true); } } }//package number07_fla
Section 38
//mc_autosave_150 (number07_fla.mc_autosave_150) package number07_fla { import flash.display.*; public dynamic class mc_autosave_150 extends MovieClip { public function mc_autosave_150(){ super(); addFrameScript(89, frame90); } function frame90(){ stop(); } } }//package number07_fla
Section 39
//mc_computerbasehealthbar_171 (number07_fla.mc_computerbasehealthbar_171) package number07_fla { import flash.display.*; import flash.text.*; public dynamic class mc_computerbasehealthbar_171 extends MovieClip { public var txt:TextField; public function mc_computerbasehealthbar_171(){ super(); } } }//package number07_fla
Section 40
//mc_covermute_112 (number07_fla.mc_covermute_112) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_covermute_112 extends MovieClip { public var maintimeline; public function mc_covermute_112(){ super(); addFrameScript(0, frame1); } public function init(){ this.addEventListener(MouseEvent.MOUSE_UP, toggleSound, false, 0, true); if ((((maintimeline.sndMgr.bgmVolume > 0)) || ((maintimeline.sndMgr.sfxVolume > 0)))){ this.gotoAndStop(1); } else { this.gotoAndStop(2); }; } public function toggleSound(e){ if ((((maintimeline.sndMgr.bgmVolume > 0)) || ((maintimeline.sndMgr.sfxVolume > 0)))){ maintimeline.sndMgr.bgmVolume = 0; maintimeline.sndMgr.sfxVolume = 0; maintimeline.sndMgr.refreshVolume(); this.gotoAndStop(2); } else { maintimeline.sndMgr.bgmVolume = 1; maintimeline.sndMgr.sfxVolume = 1; maintimeline.sndMgr.refreshVolume(); this.gotoAndStop(1); }; } function frame1(){ stop(); maintimeline = parent.parent; init(); } } }//package number07_fla
Section 41
//mc_creditspage_161 (number07_fla.mc_creditspage_161) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_creditspage_161 extends MovieClip { public var thisparent; public var btcontinue:SimpleButton; public function mc_creditspage_161(){ super(); addFrameScript(5, frame6, 10, frame11); } function frame6(){ stop(); thisparent = parent; btcontinue.addEventListener(MouseEvent.MOUSE_UP, goLevelSelect, false, 0, true); } public function goLevelSelect(e=null){ play(); } function frame11(){ thisparent.gotoAndPlay("mainmenu"); } } }//package number07_fla
Section 42
//mc_goldbar_170 (number07_fla.mc_goldbar_170) package number07_fla { import flash.display.*; import flash.text.*; public dynamic class mc_goldbar_170 extends MovieClip { public var txt:TextField; public function mc_goldbar_170(){ super(); } } }//package number07_fla
Section 43
//mc_gun_26 (number07_fla.mc_gun_26) package number07_fla { import flash.display.*; public dynamic class mc_gun_26 extends MovieClip { public var mcgunfire:MovieClip; public function mc_gun_26(){ super(); } } }//package number07_fla
Section 44
//mc_gunfire_27 (number07_fla.mc_gunfire_27) package number07_fla { import flash.display.*; public dynamic class mc_gunfire_27 extends MovieClip { public function mc_gunfire_27(){ super(); addFrameScript(0, frame1, 7, frame8); } function frame1(){ gotoAndStop(2); } function frame8(){ gotoAndStop(2); } } }//package number07_fla
Section 45
//mc_gunfire_50 (number07_fla.mc_gunfire_50) package number07_fla { import flash.display.*; public dynamic class mc_gunfire_50 extends MovieClip { public function mc_gunfire_50(){ super(); addFrameScript(0, frame1, 7, frame8); } function frame1(){ gotoAndStop(2); } function frame8(){ gotoAndStop(2); } } }//package number07_fla
Section 46
//mc_gunfire_69 (number07_fla.mc_gunfire_69) package number07_fla { import flash.display.*; public dynamic class mc_gunfire_69 extends MovieClip { public function mc_gunfire_69(){ super(); addFrameScript(0, frame1, 7, frame8); } function frame1(){ gotoAndStop(2); } function frame8(){ gotoAndStop(2); } } }//package number07_fla
Section 47
//mc_guntowergun_52 (number07_fla.mc_guntowergun_52) package number07_fla { import flash.display.*; public dynamic class mc_guntowergun_52 extends MovieClip { public var mcgunfire:MovieClip; public function mc_guntowergun_52(){ super(); } } }//package number07_fla
Section 48
//mc_guntowergunenemy_54 (number07_fla.mc_guntowergunenemy_54) package number07_fla { import flash.display.*; public dynamic class mc_guntowergunenemy_54 extends MovieClip { public var mcgunfire:MovieClip; public function mc_guntowergunenemy_54(){ super(); } } }//package number07_fla
Section 49
//mc_info_144 (number07_fla.mc_info_144) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_info_144 extends MovieClip { public var note1; public var note2; public var txt1:TextField; public var txt2:TextField; public function mc_info_144(){ super(); addFrameScript(0, frame1, 6, frame7, 13, frame14); } function frame14(){ stop(); } public function hideNote(){ gotoAndPlay("hide"); } function frame7(){ stop(); txt1.text = note1; txt2.text = note2; } function frame1(){ note1 = "lorem ipsum dolor sit amet"; note2 = "G 9999"; gotoAndStop("hidden"); } public function showNote(_pt, _note1, _note2){ note1 = _note1; note2 = _note2; this.x = _pt.x; this.y = _pt.y; gotoAndPlay("show"); } } }//package number07_fla
Section 50
//mc_info_227 (number07_fla.mc_info_227) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_info_227 extends MovieClip { public var note1; public var note2; public var txt1:TextField; public var txt2:TextField; public function mc_info_227(){ super(); addFrameScript(0, frame1, 6, frame7, 13, frame14); } function frame14(){ stop(); } public function hideNote(){ if (((!((currentLabel == "hide"))) && (!((currentLabel == "hidden"))))){ gotoAndPlay("hide"); }; } function frame7(){ stop(); txt1.text = note1; txt2.text = note2; } function frame1(){ note1 = "lorem ipsum dolor sit amet"; note2 = "G 9999"; gotoAndStop("hidden"); } public function showNote(_pt, _note1, _note2){ note1 = _note1; note2 = _note2; this.x = _pt.x; this.y = _pt.y; if (((!((currentLabel == "show"))) && (!((currentLabel == "shown"))))){ gotoAndPlay("show"); }; } } }//package number07_fla
Section 51
//mc_infoleft_128 (number07_fla.mc_infoleft_128) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_infoleft_128 extends MovieClip { public var note1; public var note2; public var txt1:TextField; public var txt2:TextField; public function mc_infoleft_128(){ super(); addFrameScript(0, frame1, 6, frame7, 13, frame14); } function frame14(){ stop(); } public function hideNote(){ gotoAndPlay("hide"); } function frame7(){ stop(); txt1.text = note1; txt2.text = note2; } function frame1(){ note1 = "lorem ipsum dolor sit amet"; note2 = "G 9999"; gotoAndStop("hidden"); } public function showNote(_pt, _note1, _note2){ note1 = _note1; note2 = _note2; this.x = _pt.x; this.y = _pt.y; gotoAndPlay("show"); } } }//package number07_fla
Section 52
//mc_inforight_130 (number07_fla.mc_inforight_130) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_inforight_130 extends MovieClip { public var note1; public var note2; public var txt1:TextField; public var txt2:TextField; public function mc_inforight_130(){ super(); addFrameScript(0, frame1, 6, frame7, 13, frame14); } function frame14(){ stop(); } public function hideNote(){ gotoAndPlay("hide"); } function frame7(){ stop(); txt1.text = note1; txt2.text = note2; } function frame1(){ note1 = "lorem ipsum dolor sit amet"; note2 = "G 9999"; gotoAndStop("hidden"); } public function showNote(_pt, _note1, _note2){ note1 = _note1; note2 = _note2; this.x = _pt.x; this.y = _pt.y; gotoAndPlay("show"); } } }//package number07_fla
Section 53
//mc_instructions_contents_156 (number07_fla.mc_instructions_contents_156) package number07_fla { import flash.events.*; import flash.display.*; public dynamic class mc_instructions_contents_156 extends MovieClip { public var btinstructions1:SimpleButton; public var btinstructions2:SimpleButton; public var btinstructions3:SimpleButton; public var btinstructions4:SimpleButton; public function mc_instructions_contents_156(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame3(){ stop(); btinstructions1.addEventListener(MouseEvent.MOUSE_UP, goPage1, false, 0, true); btinstructions2.addEventListener(MouseEvent.MOUSE_UP, goPage2, false, 0, true); btinstructions3.addEventListener(MouseEvent.MOUSE_UP, goPage3, false, 0, true); btinstructions4.addEventListener(MouseEvent.MOUSE_UP, goPage4, false, 0, true); } function frame1(){ stop(); btinstructions1.addEventListener(MouseEvent.MOUSE_UP, goPage1, false, 0, true); btinstructions2.addEventListener(MouseEvent.MOUSE_UP, goPage2, false, 0, true); btinstructions3.addEventListener(MouseEvent.MOUSE_UP, goPage3, false, 0, true); btinstructions4.addEventListener(MouseEvent.MOUSE_UP, goPage4, false, 0, true); } function frame4(){ stop(); btinstructions1.addEventListener(MouseEvent.MOUSE_UP, goPage1, false, 0, true); btinstructions2.addEventListener(MouseEvent.MOUSE_UP, goPage2, false, 0, true); btinstructions3.addEventListener(MouseEvent.MOUSE_UP, goPage3, false, 0, true); btinstructions4.addEventListener(MouseEvent.MOUSE_UP, goPage4, false, 0, true); } public function goPage2(e=null){ if (currentFrame != 2){ gotoAndPlay(2); }; } public function goPage3(e=null){ if (currentFrame != 3){ gotoAndPlay(3); }; } public function goPage4(e=null){ if (currentFrame != 4){ gotoAndPlay(4); }; } function frame2(){ stop(); btinstructions1.addEventListener(MouseEvent.MOUSE_UP, goPage1, false, 0, true); btinstructions2.addEventListener(MouseEvent.MOUSE_UP, goPage2, false, 0, true); btinstructions3.addEventListener(MouseEvent.MOUSE_UP, goPage3, false, 0, true); btinstructions4.addEventListener(MouseEvent.MOUSE_UP, goPage4, false, 0, true); } public function goPage1(e=null){ if (currentFrame != 1){ gotoAndPlay(1); }; } } }//package number07_fla
Section 54
//mc_instructionspage_155 (number07_fla.mc_instructionspage_155) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_instructionspage_155 extends MovieClip { public var thisparent; public var btcontinue:SimpleButton; public function mc_instructionspage_155(){ super(); addFrameScript(0, frame1, 5, frame6, 10, frame11); } function frame6(){ stop(); btcontinue.addEventListener(MouseEvent.MOUSE_UP, goLevelSelect, false, 0, true); } function frame1(){ thisparent = parent; } public function goLevelSelect(e=null){ btcontinue.removeEventListener(MouseEvent.MOUSE_UP, goLevelSelect); play(); } function frame11(){ thisparent.gotoAndPlay("levelselect"); } } }//package number07_fla
Section 55
//mc_levelselect_113 (number07_fla.mc_levelselect_113) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_levelselect_113 extends MovieClip { public var levelLongNote; public var leveltxt:TextField; public var special1:MovieClip; public var special2:MovieClip; public var special3:MovieClip; public var special4:MovieClip; public var mc_select10:MovieClip; public var mc_select11:MovieClip; public var mc_select12:MovieClip; public var btplaylevel:SimpleButton; public var thisparent; public var btplaymore:SimpleButton; public var btstatistics:SimpleButton; public var btinstructions:SimpleButton; public var mc_select2:MovieClip; public var mc_select3:MovieClip; public var mc_select5:MovieClip; public var mc_select7:MovieClip; public var mc_select8:MovieClip; public var mc_select9:MovieClip; public var mc_select1:MovieClip; public var mc_select4:MovieClip; public var mc_select6:MovieClip; public var mcinfoleft:MovieClip; public var mcinforight:MovieClip; public var levelShortNote; public var btbacktomenu:SimpleButton; public var btresearch:SimpleButton; public function mc_levelselect_113(){ super(); addFrameScript(0, frame1); } public function goStatistics(e=null){ thisparent.gotoAndPlay("statisticspage"); } public function setLevel2(e=null){ thisparent.gameData.selectedlevel = 2; refreshPanel(); } public function setLevel3(e=null){ thisparent.gameData.selectedlevel = 3; refreshPanel(); } public function setLevel5(e=null){ thisparent.gameData.selectedlevel = 5; refreshPanel(); } public function setLevel6(e=null){ thisparent.gameData.selectedlevel = 6; refreshPanel(); } public function setLevel7(e=null){ thisparent.gameData.selectedlevel = 7; refreshPanel(); } public function setLevel1(e=null){ thisparent.gameData.selectedlevel = 1; refreshPanel(); } public function setLevel9(e=null){ thisparent.gameData.selectedlevel = 9; refreshPanel(); } public function setLevel8(e=null){ thisparent.gameData.selectedlevel = 8; refreshPanel(); } public function setLevel4(e=null){ thisparent.gameData.selectedlevel = 4; refreshPanel(); } public function goPlayGame(e=null){ thisparent.gameData.selectLevel(); thisparent.gotoAndPlay("gameplay"); } function frame1(){ stop(); thisparent = parent; levelShortNote = new Array("Ch 1: Operation Invasion", "Ch 2: New Memphis", "Ch 3: Amerigo Vespucci", "Ch 4: New Generation Aircrafts", "Ch 5: Baloon Bomber", "Ch 6: No Nego! No Sireee!", "Ch 7: Tower Destroyer", "Ch 8: Technology Thievery", "Ch 9: One Key", "Ch 10: East Europe Gate", "Ch 11: West Europe Gate", "Ch 12 : Antioch"); levelLongNote = new Array("November AD 2569. Earth Alliance Federation has their colony bases spread all around the continents on Earth. Centuries has passed by since our colonization to Mars, now is time to go home to Earth as Mars is slowly dying. But EAF doesn’t allow us to land our feet. There’s only one answer to get back our right of Earth : INVASION.", "EAF has just strengthened their base near our first base on Earth that will be a big threat for us. We just sent our second base to their lair, but we need a capable commander: YOU. Prepare yourself for the journey to New Memphis.", "Well done Sir, now we have half of Africa on our hand. Our Main Headquarter on Mars has sent the next base to America. They should be on the way by now. We have already arranged a shuttle for you to America. Show them that we are destined to live on Earth.", "We have news from the Headquarter that they are researching a new type of aircrafts which has a better armor, called Battle Cruiser. The trainers have come to our new base in America. Try them, and feel their strength!", "We found an old technology which can still be used as it has a great defense system against enemy invasion. They could also destroy the ground object effectively. Our scientists call it “New Zeppelin”, but we prefer to name it “Valor”, after our God of War.", "An EAF messenger has come to our base to negotiate. We just found a great negotiator: YOU, of course! Negotiate with them by “Ka-Boom”-ing them and their city at once. We have offered peace since the beginning. They should blame themselves retrospectively!", "EAF keeps invading with their better troops. We must stand them. We know such tech spends great amount of gold, they couldn’t create it so often. Our tower still won't stand a chance against their missile system, though. I wish we could have an idea to overcome that.", "EAF has built new undefeatable drones that come with a great airship armory. But fear, not! Our intelligent has found that we can inject this Aircraft Carrier technology to our system. Defeat one of those carrier so we could extract their technology!", "Thanks to your command, our territory is getting wider now. This current continent is their last stand on Asia. This is the last key to our Supreme Rule on Earth. Beware, Europe! As you are next in our list!", "Europe has two great bases that separated one another. Destroy them both, and bring us to our glorious victory!", "This is the last EAF base, but like a parasite, they’re marching to Antioch to build their last stand there. This one should be a piece of cake!", "Antioch: the City of Old Saints, the place they built their greatest colony, their last stand. Our victory at here will be a beautiful end for them. However, we don't have extra resources to cover this operation. And they keep growing as time goes by. Defeat them as fast as you can, or else, in Antioch, they will defeat you!"); refreshPanel(); btinstructions.addEventListener(MouseEvent.MOUSE_UP, goInstructions, false, 0, true); btresearch.addEventListener(MouseEvent.MOUSE_UP, goResearch, false, 0, true); btplaylevel.addEventListener(MouseEvent.MOUSE_UP, goPlayGame, false, 0, true); btbacktomenu.addEventListener(MouseEvent.MOUSE_UP, goMainMenu, false, 0, true); btstatistics.addEventListener(MouseEvent.MOUSE_UP, goStatistics, false, 0, true); btplaymore.addEventListener(MouseEvent.MOUSE_UP, goMoreGame, false, 0, true); mc_select1.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote1, false, 0, true); mc_select2.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote2, false, 0, true); mc_select3.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote3, false, 0, true); mc_select4.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote4, false, 0, true); mc_select5.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote5, false, 0, true); mc_select6.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote6, false, 0, true); mc_select7.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote7, false, 0, true); mc_select8.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote8, false, 0, true); mc_select9.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote9, false, 0, true); mc_select10.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote10, false, 0, true); mc_select11.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote11, false, 0, true); mc_select12.selectbtn1.addEventListener(MouseEvent.MOUSE_OVER, setNote12, false, 0, true); mc_select1.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select2.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select3.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select4.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select5.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select6.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select7.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select8.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select9.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select10.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select11.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select12.selectbtn1.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select1.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel1, false, 0, true); mc_select2.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel2, false, 0, true); mc_select3.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel3, false, 0, true); mc_select4.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel4, false, 0, true); mc_select5.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel5, false, 0, true); mc_select6.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel6, false, 0, true); mc_select7.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel7, false, 0, true); mc_select8.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel8, false, 0, true); mc_select9.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel9, false, 0, true); mc_select10.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel10, false, 0, true); mc_select11.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel11, false, 0, true); mc_select12.selectbtn1.addEventListener(MouseEvent.CLICK, setLevel12, false, 0, true); mc_select1.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote1, false, 0, true); mc_select2.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote2, false, 0, true); mc_select3.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote3, false, 0, true); mc_select4.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote4, false, 0, true); mc_select5.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote5, false, 0, true); mc_select6.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote6, false, 0, true); mc_select7.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote7, false, 0, true); mc_select8.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote8, false, 0, true); mc_select9.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote9, false, 0, true); mc_select10.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote10, false, 0, true); mc_select11.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote11, false, 0, true); mc_select12.selectbtn2.addEventListener(MouseEvent.MOUSE_OVER, setNote12, false, 0, true); mc_select1.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select2.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select3.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select4.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select5.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select6.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select7.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select8.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select9.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select10.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select11.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select12.selectbtn2.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select1.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel1, false, 0, true); mc_select2.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel2, false, 0, true); mc_select3.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel3, false, 0, true); mc_select4.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel4, false, 0, true); mc_select5.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel5, false, 0, true); mc_select6.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel6, false, 0, true); mc_select7.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel7, false, 0, true); mc_select8.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel8, false, 0, true); mc_select9.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel9, false, 0, true); mc_select10.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel10, false, 0, true); mc_select11.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel11, false, 0, true); mc_select12.selectbtn2.addEventListener(MouseEvent.CLICK, setLevel12, false, 0, true); mc_select1.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote1, false, 0, true); mc_select2.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote2, false, 0, true); mc_select3.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote3, false, 0, true); mc_select4.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote4, false, 0, true); mc_select5.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote5, false, 0, true); mc_select6.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote6, false, 0, true); mc_select7.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote7, false, 0, true); mc_select8.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote8, false, 0, true); mc_select9.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote9, false, 0, true); mc_select10.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote10, false, 0, true); mc_select11.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote11, false, 0, true); mc_select12.selectbtn3.addEventListener(MouseEvent.MOUSE_OVER, setNote12, false, 0, true); mc_select1.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select2.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select3.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select4.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select5.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select6.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetRightNote, false, 0, true); mc_select7.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select8.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select9.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select10.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select11.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select12.selectbtn3.addEventListener(MouseEvent.MOUSE_OUT, resetLeftNote, false, 0, true); mc_select1.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel1, false, 0, true); mc_select2.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel2, false, 0, true); mc_select3.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel3, false, 0, true); mc_select4.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel4, false, 0, true); mc_select5.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel5, false, 0, true); mc_select6.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel6, false, 0, true); mc_select7.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel7, false, 0, true); mc_select8.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel8, false, 0, true); mc_select9.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel9, false, 0, true); mc_select10.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel10, false, 0, true); mc_select11.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel11, false, 0, true); mc_select12.selectbtn3.addEventListener(MouseEvent.CLICK, setLevel12, false, 0, true); } public function setNote11(e=null){ var s1:*; var s2:*; s1 = levelShortNote[10]; s2 = levelLongNote[10]; mcinfoleft.showNote(mc_select11, s1, s2); } public function setNote12(e=null){ var s1:*; var s2:*; s1 = levelShortNote[11]; s2 = levelLongNote[11]; mcinfoleft.showNote(mc_select12, s1, s2); } public function goResearch(e=null){ thisparent.gotoAndPlay("researchpage"); } public function setNote10(e=null){ var s1:*; var s2:*; s1 = levelShortNote[9]; s2 = levelLongNote[9]; mcinfoleft.showNote(mc_select10, s1, s2); } public function goInstructions(e=null){ thisparent.gotoAndPlay("instructionspage"); } public function resetLeftNote(e=null){ mcinfoleft.hideNote(); } public function setNote1(e=null){ var s1:*; var s2:*; s1 = levelShortNote[0]; s2 = levelLongNote[0]; mcinforight.showNote(mc_select1, s1, s2); } public function setNote2(e=null){ var s1:*; var s2:*; s1 = levelShortNote[1]; s2 = levelLongNote[1]; mcinforight.showNote(mc_select2, s1, s2); } public function setNote3(e=null){ var s1:*; var s2:*; s1 = levelShortNote[2]; s2 = levelLongNote[2]; mcinforight.showNote(mc_select3, s1, s2); } public function setNote6(e=null){ var s1:*; var s2:*; s1 = levelShortNote[5]; s2 = levelLongNote[5]; mcinforight.showNote(mc_select6, s1, s2); } public function setNote7(e=null){ var s1:*; var s2:*; s1 = levelShortNote[6]; s2 = levelLongNote[6]; mcinfoleft.showNote(mc_select7, s1, s2); } public function setNote8(e=null){ var s1:*; var s2:*; s1 = levelShortNote[7]; s2 = levelLongNote[7]; mcinfoleft.showNote(mc_select8, s1, s2); } public function setNote9(e=null){ var s1:*; var s2:*; s1 = levelShortNote[8]; s2 = levelLongNote[8]; mcinfoleft.showNote(mc_select9, s1, s2); } public function setNote4(e=null){ var s1:*; var s2:*; s1 = levelShortNote[3]; s2 = levelLongNote[3]; mcinforight.showNote(mc_select4, s1, s2); } public function setNote5(e=null){ var s1:*; var s2:*; s1 = levelShortNote[4]; s2 = levelLongNote[4]; mcinforight.showNote(mc_select5, s1, s2); } public function resetRightNote(e=null){ mcinforight.hideNote(); } public function goMainMenu(e=null){ thisparent.gotoAndPlay("mainmenu"); } public function setLevel10(e=null){ thisparent.gameData.selectedlevel = 10; refreshPanel(); } public function setLevel11(e=null){ thisparent.gameData.selectedlevel = 11; refreshPanel(); } public function setLevel12(e=null){ thisparent.gameData.selectedlevel = 12; refreshPanel(); } public function refreshPanel(){ special1.visible = thisparent.gameData.unlockedspecial[0]; special2.visible = thisparent.gameData.unlockedspecial[1]; special3.visible = thisparent.gameData.unlockedspecial[2]; special4.visible = thisparent.gameData.unlockedspecial[3]; if (thisparent.gameData.unlockedlevel[0]){ mc_select1.gotoAndStop(2); if (thisparent.gameData.playedlevel[0]){ mc_select1.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 1){ mc_select1.gotoAndStop(3); }; } else { mc_select1.gotoAndStop(1); }; if (thisparent.gameData.unlockedlevel[1]){ mc_select2.gotoAndStop(2); if (thisparent.gameData.playedlevel[1]){ mc_select2.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 2){ mc_select2.gotoAndStop(3); }; } else { mc_select2.gotoAndStop(1); }; if (thisparent.gameData.unlockedlevel[2]){ mc_select3.gotoAndStop(2); if (thisparent.gameData.playedlevel[2]){ mc_select3.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 3){ mc_select3.gotoAndStop(3); }; } else { mc_select3.gotoAndStop(1); }; if (thisparent.gameData.unlockedlevel[3]){ mc_select4.gotoAndStop(2); if (thisparent.gameData.playedlevel[3]){ mc_select4.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 4){ mc_select4.gotoAndStop(3); }; } else { mc_select4.gotoAndStop(1); }; if (thisparent.gameData.unlockedlevel[4]){ mc_select5.gotoAndStop(2); if (thisparent.gameData.playedlevel[4]){ mc_select5.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 5){ mc_select5.gotoAndStop(3); }; } else { mc_select5.gotoAndStop(1); }; if (thisparent.gameData.unlockedlevel[5]){ mc_select6.gotoAndStop(2); if (thisparent.gameData.playedlevel[5]){ mc_select6.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 6){ mc_select6.gotoAndStop(3); }; } else { mc_select6.gotoAndStop(1); }; if (thisparent.gameData.unlockedlevel[6]){ mc_select7.gotoAndStop(2); if (thisparent.gameData.playedlevel[6]){ mc_select7.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 7){ mc_select7.gotoAndStop(3); }; } else { mc_select7.gotoAndStop(1); }; if (thisparent.gameData.unlockedlevel[7]){ mc_select8.gotoAndStop(2); if (thisparent.gameData.playedlevel[7]){ mc_select8.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 8){ mc_select8.gotoAndStop(3); }; } else { mc_select8.gotoAndStop(1); }; if (thisparent.gameData.unlockedlevel[8]){ mc_select9.gotoAndStop(2); if (thisparent.gameData.playedlevel[8]){ mc_select9.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 9){ mc_select9.gotoAndStop(3); }; } else { mc_select9.gotoAndStop(1); }; if (thisparent.gameData.unlockedlevel[9]){ mc_select10.gotoAndStop(2); if (thisparent.gameData.playedlevel[9]){ mc_select10.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 10){ mc_select10.gotoAndStop(3); }; } else { mc_select10.gotoAndStop(1); }; if (thisparent.gameData.unlockedlevel[10]){ mc_select11.gotoAndStop(2); if (thisparent.gameData.playedlevel[10]){ mc_select11.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 11){ mc_select11.gotoAndStop(3); }; } else { mc_select11.gotoAndStop(1); }; if (thisparent.gameData.unlockedlevel[11]){ mc_select12.gotoAndStop(2); if (thisparent.gameData.playedlevel[11]){ mc_select12.gotoAndStop(4); }; if (thisparent.gameData.selectedlevel == 12){ mc_select12.gotoAndStop(3); }; } else { mc_select12.gotoAndStop(1); }; leveltxt.text = levelShortNote[(thisparent.gameData.selectedlevel - 1)]; } public function goMoreGame(e=null){ navigateToURL(new URLRequest(thisparent.moreGameURL), "_blank"); } } }//package number07_fla
Section 56
//mc_lostpage_152 (number07_fla.mc_lostpage_152) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_lostpage_152 extends MovieClip { public var adsbox:MovieClip; public var ad; public var losttroopsscore:TextField; public var createdtroopscount:TextField; public var experience:TextField; public var destroyedenemiescount:TextField; public var kongbox:MovieClip; public var leveltime:TextField; public var losttroopscount:TextField; public var usemochi; public var gamewin; public var destroyedenemiesscore:TextField; public var thisparent; public var CPMStarContentSpotID:String; public var createdtroopsscore:TextField; public var btcontinue:SimpleButton; public function mc_lostpage_152(){ super(); addFrameScript(0, frame1, 65, frame66); } function frame1(){ kongbox.visible = false; adsbox.visible = false; } public function goLevelSelect(e=null){ if (((((((((((((thisparent.gameData.research1Enabled()) || (thisparent.gameData.research2Enabled()))) || (thisparent.gameData.research3Enabled()))) || (thisparent.gameData.research4Enabled()))) || (thisparent.gameData.research5Enabled()))) || (thisparent.gameData.research6Enabled()))) || (thisparent.gameData.research7Enabled()))){ if (adsbox.visible){ if (ad){ adsbox.removeChild(ad); }; }; thisparent.gotoAndPlay("researchpage"); } else { thisparent.gotoAndPlay("levelselect"); }; } public function checkSiteLock():Boolean{ var res:*; res = false; res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("www.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("a.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("chat.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("bin") > -1))); return (res); } public function gotoAds(e){ thisparent.gotoAdsGame(); } function frame66(){ stop(); thisparent = parent; ad = null; usemochi = thisparent.usemochi; CPMStarContentSpotID = "420Q1058780B"; if ((((Math.random() < 0.5)) || (checkSiteLock()))){ kongbox.visible = true; kongbox.addEventListener(MouseEvent.MOUSE_UP, gotoAds, false, 0, true); } else { adsbox.visible = true; if (usemochi){ MochiAd.showClickAwayAd({clip:adsbox, id:"48450a715b66ea35"}); } else { ad = new AdLoader(CPMStarContentSpotID); adsbox.addChild(ad); }; }; gamewin = false; destroyedenemiescount.text = thisparent.gameData.getDestroyedEnemiesCount(); destroyedenemiesscore.text = thisparent.gameData.getDestroyedEnemiesScore(gamewin); createdtroopscount.text = thisparent.gameData.getCreatedTroopsCount(); createdtroopsscore.text = thisparent.gameData.getCreatedTroopsScore(gamewin); losttroopscount.text = thisparent.gameData.getLostTroopsCount(); losttroopsscore.text = thisparent.gameData.getLostTroopsScore(gamewin); leveltime.text = thisparent.gameData.getLevelTime(); experience.text = thisparent.gameData.getNewExperience(gamewin); thisparent.gameData.setUnfinishedLevel(); btcontinue.addEventListener(MouseEvent.MOUSE_UP, goLevelSelect, false, 0, true); } } }//package number07_fla
Section 57
//mc_mainmenupage_106 (number07_fla.mc_mainmenupage_106) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_mainmenupage_106 extends MovieClip { public var btnewgame:SimpleButton; public var btcredits:SimpleButton; public var bt_kongcover:SimpleButton; public var thisparent; public var btplaymore:SimpleButton; public var btcontinue:SimpleButton; public function mc_mainmenupage_106(){ super(); addFrameScript(0, frame1); } public function gotoSponsor(e){ thisparent.gotoMoreGame(); } public function goContinueGame(e=null){ thisparent.gameData.loadData(); thisparent.gotoAndPlay("levelselect"); } function frame1(){ stop(); thisparent = parent; bt_kongcover.addEventListener(MouseEvent.MOUSE_UP, gotoSponsor, false, 0, true); btcontinue.visible = thisparent.gameData.checkData(); btcontinue.addEventListener(MouseEvent.MOUSE_UP, goContinueGame, false, 0, true); btnewgame.addEventListener(MouseEvent.MOUSE_UP, goNewGame, false, 0, true); btplaymore.addEventListener(MouseEvent.MOUSE_UP, goPlayMore, false, 0, true); btcredits.addEventListener(MouseEvent.MOUSE_UP, goCredits, false, 0, true); } public function goCredits(e=null){ thisparent.gotoAndPlay("creditspage"); } public function goNewGame(e=null){ thisparent.gameData.resetData(); thisparent.gotoAndPlay("levelselect"); } public function goPlayMore(e=null){ navigateToURL(new URLRequest(thisparent.moreGameURL), "_blank"); } } }//package number07_fla
Section 58
//mc_minimap_225 (number07_fla.mc_minimap_225) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_minimap_225 extends MovieClip { public var btminimap:SimpleButton; public var enemyunit; public var playerbase; public var stagescene; public var enemybase; public var enemytower; public var playertower; public var playerunit; public var gamemgr; public function mc_minimap_225(){ super(); addFrameScript(0, frame1, 9, frame10, 19, frame20); } function frame10(){ stop(); } public function refreshMinimap(e=null){ var obj:*; var i:*; if (!playerbase){ playerbase = new mc_miniplayerbase(); }; if (!enemybase){ enemybase = new mc_minienemybase(); }; if (currentLabel == "shown"){ playerbase.x = (stagescene.playerBaseMC.x / 8); playerbase.y = (stagescene.playerBaseMC.y / 8); if (!contains(playerbase)){ addChild(playerbase); }; enemybase.x = (stagescene.computerBaseMC.x / 8); enemybase.y = (stagescene.computerBaseMC.y / 8); if (!contains(enemybase)){ addChild(enemybase); }; while (playerunit.length < stagescene.playerUnits.length) { obj = new mc_playerunit(); addChild(obj); playerunit.push(obj); }; while (playerunit.length > stagescene.playerUnits.length) { if (contains(playerunit[0])){ removeChild(playerunit[0]); }; playerunit.splice(0, 1); }; while (enemyunit.length < stagescene.computerUnits.length) { obj = new mc_enemyunit(); addChild(obj); enemyunit.push(obj); }; while (enemyunit.length > stagescene.computerUnits.length) { if (contains(enemyunit[0])){ removeChild(enemyunit[0]); }; enemyunit.splice(0, 1); }; while (playertower.length < stagescene.playerTowers.length) { obj = new mc_playerunit(); addChild(obj); playertower.push(obj); }; while (playertower.length > stagescene.playerTowers.length) { if (contains(playertower[0])){ removeChild(playertower[0]); }; playertower.splice(0, 1); }; while (enemytower.length < stagescene.computerTowers.length) { obj = new mc_enemyunit(); addChild(obj); enemytower.push(obj); }; while (enemytower.length > stagescene.computerTowers.length) { if (contains(enemytower[0])){ removeChild(enemytower[0]); }; enemytower.splice(0, 1); }; i = 0; while (i < playerunit.length) { playerunit[i].x = (stagescene.playerUnits[i].x / 8); playerunit[i].y = (stagescene.playerUnits[i].y / 8); i++; }; i = 0; while (i < enemyunit.length) { enemyunit[i].x = (stagescene.computerUnits[i].x / 8); enemyunit[i].y = (stagescene.computerUnits[i].y / 8); i++; }; i = 0; while (i < playertower.length) { playertower[i].x = (stagescene.playerTowers[i].x / 8); playertower[i].y = (stagescene.playerTowers[i].y / 8); i++; }; i = 0; while (i < enemytower.length) { enemytower[i].x = (stagescene.computerTowers[i].x / 8); enemytower[i].y = (stagescene.computerTowers[i].y / 8); i++; }; } else { if (contains(playerbase)){ removeChild(playerbase); }; if (contains(enemybase)){ removeChild(enemybase); }; if (playerunit.length > 0){ i = 0; while (i < playerunit.length) { removeChild(playerunit[i]); i++; }; playerunit.splice(0); }; if (enemyunit.length > 0){ i = 0; while (i < enemyunit.length) { removeChild(enemyunit[i]); i++; }; enemyunit.splice(0); }; if (playertower.length > 0){ i = 0; while (i < playertower.length) { removeChild(playertower[i]); i++; }; playertower.splice(0); }; if (enemytower.length > 0){ i = 0; while (i < enemytower.length) { removeChild(enemytower[i]); i++; }; enemytower.splice(0); }; }; } function frame1(){ stop(); gamemgr = parent.parent; playerunit = new Array(); enemyunit = new Array(); playertower = new Array(); enemytower = new Array(); playerbase = new mc_miniplayerbase(); enemybase = new mc_minienemybase(); btminimap.addEventListener(MouseEvent.MOUSE_UP, toggleMinimap, false, 0, true); addEventListener(Event.ENTER_FRAME, refreshMinimap, false, 0, true); if (!stagescene){ stagescene = gamemgr.stageScene; toggleMinimap(); }; } function frame20(){ gotoAndStop(1); } public function toggleMinimap(e=null){ if (((!((currentLabel == "show"))) && (!((currentLabel == "shown"))))){ gotoAndPlay("show"); } else { gotoAndPlay("hide"); }; } } }//package number07_fla
Section 59
//mc_playerbasehealthbar_172 (number07_fla.mc_playerbasehealthbar_172) package number07_fla { import flash.display.*; import flash.text.*; public dynamic class mc_playerbasehealthbar_172 extends MovieClip { public var txt:TextField; public function mc_playerbasehealthbar_172(){ super(); } } }//package number07_fla
Section 60
//mc_preloaderpage_1 (number07_fla.mc_preloaderpage_1) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_preloaderpage_1 extends MovieClip { public var ptxt:TextField; public var loaderbar:MovieClip; public var btn_sponsor:SimpleButton; public var btn_alg:SimpleButton; public var btstart:SimpleButton; public var btn_ads:MovieClip; public var animtxt:MovieClip; public var thisparent; public var bttxt:TextField; public var bltxt:TextField; public function mc_preloaderpage_1(){ super(); addFrameScript(0, frame1); } public function gotoAlg(e){ thisparent.gotoArtlogic(); } public function frameEnter(e){ var bt:*; var bl:*; bt = parent.loaderInfo.bytesTotal; bl = parent.loaderInfo.bytesLoaded; if (bl < bt){ bltxt.text = String(bl); bttxt.text = String(bt); ptxt.text = (String(Math.floor(((bl / bt) * 100))) + "%"); loaderbar.gotoAndStop((Math.floor(((bl / bt) * 100)) + 1)); } else { bltxt.text = String(bt); bttxt.text = String(bt); ptxt.text = "100%"; loaderbar.gotoAndStop(101); removeEventListener(Event.ENTER_FRAME, frameEnter); btstart.addEventListener(MouseEvent.MOUSE_UP, gotoIntro, false, 0, true); animtxt.visible = false; btstart.visible = true; }; } public function gotoSponsor(e){ thisparent.gotoMoreGame(); } function frame1(){ stop(); thisparent = parent; animtxt.visible = true; btstart.visible = false; loaderbar.gotoAndStop(1); addEventListener(Event.ENTER_FRAME, frameEnter, false, 0, true); btn_alg.addEventListener(MouseEvent.MOUSE_UP, gotoAlg, false, 0, true); btn_sponsor.addEventListener(MouseEvent.MOUSE_UP, gotoSponsor, false, 0, true); btn_ads.addEventListener(MouseEvent.MOUSE_UP, gotoAds, false, 0, true); } public function checkSiteLock():Boolean{ var res:*; res = false; res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("www.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("a.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("chat.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("bin") > -1))); return (res); } public function gotoAds(e){ thisparent.gotoKongaiGame(); } public function gotoIntro(e=null){ thisparent.gotoAndPlay("intropage"); } } }//package number07_fla
Section 61
//mc_repair_28 (number07_fla.mc_repair_28) package number07_fla { import flash.display.*; public dynamic class mc_repair_28 extends MovieClip { public function mc_repair_28(){ super(); addFrameScript(0, frame1, 29, frame30); } function frame1(){ gotoAndStop(2); } function frame30(){ gotoAndPlay(3); } } }//package number07_fla
Section 62
//mc_researchpage_132 (number07_fla.mc_researchpage_132) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_researchpage_132 extends MovieClip { public var btupgrade6:MovieClip; public var btupgrade5:MovieClip; public var mcinfo:MovieClip; public var experiencenote:TextField; public var btfinish:SimpleButton; public var kongbanner:MovieClip; public var thisparent; public var btupgrade2:MovieClip; public var btupgrade3:MovieClip; public var btupgrade7:MovieClip; public var btupgrade1:MovieClip; public var btupgrade4:MovieClip; public function mc_researchpage_132(){ super(); addFrameScript(4, frame5, 8, frame9); } public function setPanels(){ experiencenote.text = ("Experience Point : " + Math.floor(thisparent.gameData.experience)); if (thisparent.gameData.research1Enabled()){ btupgrade1.gotoAndStop(2); } else { btupgrade1.gotoAndStop(1); }; if (thisparent.gameData.research2Enabled()){ btupgrade2.gotoAndStop(2); } else { btupgrade2.gotoAndStop(1); }; if (thisparent.gameData.research3Enabled()){ btupgrade3.gotoAndStop(2); } else { btupgrade3.gotoAndStop(1); }; if (thisparent.gameData.research4Enabled()){ btupgrade4.gotoAndStop(2); } else { btupgrade4.gotoAndStop(1); }; if (thisparent.gameData.research5Enabled()){ btupgrade5.gotoAndStop(2); } else { btupgrade5.gotoAndStop(1); }; if (thisparent.gameData.research6Enabled()){ btupgrade6.gotoAndStop(2); } else { btupgrade6.gotoAndStop(1); }; if (thisparent.gameData.research7Enabled()){ btupgrade7.gotoAndStop(2); } else { btupgrade7.gotoAndStop(1); }; btupgrade1.upgradelevel.gotoAndStop((thisparent.gameData.researchlevel[0] + 1)); btupgrade2.upgradelevel.gotoAndStop((thisparent.gameData.researchlevel[1] + 1)); btupgrade3.upgradelevel.gotoAndStop((thisparent.gameData.researchlevel[2] + 1)); btupgrade4.upgradelevel.gotoAndStop((thisparent.gameData.researchlevel[3] + 1)); btupgrade5.upgradelevel.gotoAndStop((thisparent.gameData.researchlevel[4] + 1)); btupgrade6.upgradelevel.gotoAndStop((thisparent.gameData.researchlevel[5] + 1)); btupgrade7.upgradelevel.gotoAndStop((thisparent.gameData.researchlevel[6] + 1)); } public function gotoSponsor(e){ thisparent.gotoMoreGame(); } public function setUpgradeNote1(e){ var s1:*; var s2:*; if (thisparent.gameData.research1Enabled()){ s1 = "Upgrade Mainbase Level\n"; s1 = (s1 + ("\nCurrent Level : " + Math.floor((thisparent.gameData.researchlevel[0] + 1)))); s1 = (s1 + ((("\nHealth : " + Math.floor(thisparent.gameData.playermainbasehealth)) + " -> ") + Math.floor((thisparent.gameData.playermainbasehealth * 2)))); s1 = (s1 + ((("\nAttack : " + Math.floor(thisparent.gameData.playermainbaseattack)) + " -> ") + Math.floor((thisparent.gameData.playermainbaseattack * 4)))); s2 = (Math.floor(thisparent.gameData.getResearchPrice(1)) + " XP"); } else { if (thisparent.gameData.researchlevel[0] == 3){ s1 = "Upgrade Mainbase Level"; s2 = "Maximum reached"; } else { s1 = "Upgrade Mainbase Level"; s2 = (Math.floor(thisparent.gameData.getResearchPrice(1)) + " XP needed"); }; }; mcinfo.showNote(btupgrade1, s1, s2); } public function setUpgradeNote4(e){ var s1:*; var s2:*; if (thisparent.gameData.research4Enabled()){ s1 = "Reduce Units Create Time\n"; s1 = (s1 + ("\nCurrent Level : " + Math.floor((thisparent.gameData.researchlevel[3] + 1)))); s2 = (Math.floor(thisparent.gameData.getResearchPrice(4)) + " XP"); } else { if (thisparent.gameData.researchlevel[3] == 3){ s1 = "Reduce Units Create Time\n"; s2 = "Maximum reached"; } else { s1 = "Reduce Units Create Time\n"; s2 = (Math.floor(thisparent.gameData.getResearchPrice(4)) + " XP needed"); }; }; mcinfo.showNote(btupgrade4, s1, s2); } public function setUpgradeNote5(e){ var s1:*; var s2:*; if (thisparent.gameData.research5Enabled()){ s1 = "Reduce Towers Create Time\n"; s1 = (s1 + ("\nCurrent Level : " + Math.floor((thisparent.gameData.researchlevel[4] + 1)))); s2 = (Math.floor(thisparent.gameData.getResearchPrice(5)) + " XP"); } else { if (thisparent.gameData.researchlevel[4] == 3){ s1 = "Reduce Towers Create Time\n"; s2 = "Maximum reached"; } else { s1 = "Reduce Towers Create Time\n"; s2 = (Math.floor(thisparent.gameData.getResearchPrice(5)) + " XP needed"); }; }; mcinfo.showNote(btupgrade5, s1, s2); } public function resetUpgradeNote(e){ mcinfo.hideNote(); } public function setUpgradeNote3(e){ var s1:*; var s2:*; if (thisparent.gameData.research3Enabled()){ s1 = "Upgrade Player Towers Level\n"; s1 = (s1 + ("\nCurrent Level : " + Math.floor((thisparent.gameData.researchlevel[2] + 1)))); s1 = (s1 + (("\nHealth : +" + (Math.floor((thisparent.gameData.researchlevel[2] + 1)) * 20)) + "%")); s1 = (s1 + (("\nAttack : +" + (Math.floor((thisparent.gameData.researchlevel[2] + 1)) * 20)) + "%")); s2 = (Math.floor(thisparent.gameData.getResearchPrice(3)) + " XP"); } else { if (thisparent.gameData.researchlevel[2] == 3){ s1 = "Upgrade Player Towers Level\n"; s2 = "Maximum reached"; } else { s1 = "Upgrade Player Towers Level\n"; s2 = (Math.floor(thisparent.gameData.getResearchPrice(3)) + " XP needed"); }; }; mcinfo.showNote(btupgrade3, s1, s2); } public function setUpgradeNote7(e){ var s1:*; var s2:*; if (thisparent.gameData.research7Enabled()){ s1 = "Increase Enemy Kill Gold\n"; s1 = (s1 + ("\nCurrent Level : " + Math.floor((thisparent.gameData.researchlevel[6] + 1)))); s2 = (Math.floor(thisparent.gameData.getResearchPrice(7)) + " XP"); } else { if (thisparent.gameData.researchlevel[6] == 3){ s1 = "Increase Enemy Kill Gold\n"; s2 = "Maximum reached"; } else { s1 = "Increase Enemy Kill Gold\n"; s2 = (Math.floor(thisparent.gameData.getResearchPrice(7)) + " XP needed"); }; }; mcinfo.showNote(btupgrade7, s1, s2); } public function setUpgradeNote6(e){ var s1:*; var s2:*; if (thisparent.gameData.research6Enabled()){ s1 = "Increase Gold Interest Rate\n"; s1 = (s1 + ("\nCurrent Level : " + Math.floor((thisparent.gameData.researchlevel[5] + 1)))); s2 = (Math.floor(thisparent.gameData.getResearchPrice(6)) + " XP"); } else { if (thisparent.gameData.researchlevel[5] == 3){ s1 = "Increase Gold Interest Rate\n"; s2 = "Maximum reached"; } else { s1 = "Increase Gold Interest Rate\n"; s2 = (Math.floor(thisparent.gameData.getResearchPrice(6)) + " XP needed"); }; }; mcinfo.showNote(btupgrade6, s1, s2); } function frame9(){ thisparent.gotoAndStop("levelselect"); } public function setUpgradeNote2(e){ var s1:*; var s2:*; if (thisparent.gameData.research2Enabled()){ s1 = "Upgrade Player Units Level\n"; s1 = (s1 + ("\nCurrent Level : " + Math.floor((thisparent.gameData.researchlevel[1] + 1)))); s1 = (s1 + (("\nHealth : +" + (Math.floor((thisparent.gameData.researchlevel[1] + 1)) * 20)) + "%")); s1 = (s1 + (("\nAttack : +" + (Math.floor((thisparent.gameData.researchlevel[1] + 1)) * 20)) + "%")); s2 = (Math.floor(thisparent.gameData.getResearchPrice(2)) + " XP"); } else { if (thisparent.gameData.researchlevel[1] == 3){ s1 = "Upgrade Player Units Level\n"; s2 = "Maximum reached"; } else { s1 = "Upgrade Player Units Level\n"; s2 = (Math.floor(thisparent.gameData.getResearchPrice(2)) + " XP needed"); }; }; mcinfo.showNote(btupgrade2, s1, s2); } function frame5(){ stop(); thisparent = parent; kongbanner.addEventListener(MouseEvent.MOUSE_UP, gotoSponsor, false, 0, true); setPanels(); btfinish.addEventListener(MouseEvent.MOUSE_UP, goLevelSelect, false, 0, true); btupgrade1.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote1, false, 0, true); btupgrade2.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote2, false, 0, true); btupgrade3.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote3, false, 0, true); btupgrade4.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote4, false, 0, true); btupgrade5.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote5, false, 0, true); btupgrade6.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote6, false, 0, true); btupgrade7.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote7, false, 0, true); btupgrade1.addEventListener(MouseEvent.MOUSE_OUT, resetUpgradeNote, false, 0, true); btupgrade2.addEventListener(MouseEvent.MOUSE_OUT, resetUpgradeNote, false, 0, true); btupgrade3.addEventListener(MouseEvent.MOUSE_OUT, resetUpgradeNote, false, 0, true); btupgrade4.addEventListener(MouseEvent.MOUSE_OUT, resetUpgradeNote, false, 0, true); btupgrade5.addEventListener(MouseEvent.MOUSE_OUT, resetUpgradeNote, false, 0, true); btupgrade6.addEventListener(MouseEvent.MOUSE_OUT, resetUpgradeNote, false, 0, true); btupgrade7.addEventListener(MouseEvent.MOUSE_OUT, resetUpgradeNote, false, 0, true); btupgrade1.upgradebtn1.addEventListener(MouseEvent.MOUSE_UP, doResearch1, false, 0, true); btupgrade2.upgradebtn1.addEventListener(MouseEvent.MOUSE_UP, doResearch2, false, 0, true); btupgrade3.upgradebtn1.addEventListener(MouseEvent.MOUSE_UP, doResearch3, false, 0, true); btupgrade4.upgradebtn1.addEventListener(MouseEvent.MOUSE_UP, doResearch4, false, 0, true); btupgrade5.upgradebtn1.addEventListener(MouseEvent.MOUSE_UP, doResearch5, false, 0, true); btupgrade6.upgradebtn1.addEventListener(MouseEvent.MOUSE_UP, doResearch6, false, 0, true); btupgrade7.upgradebtn1.addEventListener(MouseEvent.MOUSE_UP, doResearch7, false, 0, true); } public function goLevelSelect(e=null){ play(); } public function doResearch2(e=null){ if (thisparent.gameData.research2Enabled()){ thisparent.gameData.doResearch2(); thisparent.gameData.saveData(); setPanels(); }; } public function doResearch3(e=null){ if (thisparent.gameData.research3Enabled()){ thisparent.gameData.doResearch3(); thisparent.gameData.saveData(); setPanels(); }; } public function doResearch5(e=null){ if (thisparent.gameData.research5Enabled()){ thisparent.gameData.doResearch5(); thisparent.gameData.saveData(); setPanels(); }; } public function doResearch6(e=null){ if (thisparent.gameData.research6Enabled()){ thisparent.gameData.doResearch6(); thisparent.gameData.saveData(); setPanels(); }; } public function doResearch7(e=null){ if (thisparent.gameData.research7Enabled()){ thisparent.gameData.doResearch7(); thisparent.gameData.saveData(); setPanels(); }; } public function doResearch4(e=null){ if (thisparent.gameData.research4Enabled()){ thisparent.gameData.doResearch4(); thisparent.gameData.saveData(); setPanels(); }; } public function doResearch1(e=null){ if (thisparent.gameData.research1Enabled()){ thisparent.gameData.doResearch1(); thisparent.gameData.saveData(); setPanels(); }; } } }//package number07_fla
Section 63
//mc_select_114 (number07_fla.mc_select_114) package number07_fla { import flash.display.*; public dynamic class mc_select_114 extends MovieClip { public var selectbtn1:SimpleButton; public var selectbtn2:SimpleButton; public var selectbtn3:SimpleButton; public function mc_select_114(){ super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame3(){ stop(); selectbtn1.visible = false; selectbtn2.visible = true; selectbtn3.visible = false; } function frame4(){ stop(); selectbtn1.visible = false; selectbtn2.visible = false; selectbtn3.visible = true; } function frame1(){ stop(); selectbtn1.visible = false; selectbtn2.visible = false; selectbtn3.visible = false; } function frame2(){ stop(); selectbtn1.visible = true; selectbtn2.visible = false; selectbtn3.visible = false; } } }//package number07_fla
Section 64
//mc_selectfiremode_217 (number07_fla.mc_selectfiremode_217) package number07_fla { import flash.events.*; import flash.display.*; public dynamic class mc_selectfiremode_217 extends MovieClip { public var btautomatic:SimpleButton; public var btsemiautomatic:SimpleButton; public var btmanual:SimpleButton; public var firemode; public function mc_selectfiremode_217(){ super(); addFrameScript(0, frame1, 6, frame7, 11, frame12); } function frame12(){ gotoAndStop(2); } function frame7(){ stop(); btmanual.addEventListener(MouseEvent.MOUSE_UP, selectManual, false, 0, true); btsemiautomatic.addEventListener(MouseEvent.MOUSE_UP, selectSemi, false, 0, true); btautomatic.addEventListener(MouseEvent.MOUSE_UP, selectAuto, false, 0, true); } function frame1(){ firemode = "manual"; gotoAndStop(2); } public function selectSemi(e=null){ firemode = "semi"; gotoAndPlay("hide"); } public function selectAuto(e=null){ firemode = "auto"; gotoAndPlay("hide"); } public function selectManual(e=null){ firemode = "manual"; gotoAndPlay("hide"); } } }//package number07_fla
Section 65
//mc_statisticspage_154 (number07_fla.mc_statisticspage_154) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_statisticspage_154 extends MovieClip { public var txt:TextField; public var thisparent; public var btcontinue:SimpleButton; public function mc_statisticspage_154(){ super(); addFrameScript(0, frame1, 12, frame13, 22, frame23); } function frame1(){ thisparent = parent; } function frame13(){ stop(); btcontinue.addEventListener(MouseEvent.MOUSE_UP, goLevelSelect, false, 0, true); txt.text = thisparent.gameData.getStatistics(); } function frame23(){ thisparent.gotoAndPlay("levelselect"); } public function goLevelSelect(e=null){ gotoAndPlay("ca"); } } }//package number07_fla
Section 66
//mc_towercreatepanel_222 (number07_fla.mc_towercreatepanel_222) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_towercreatepanel_222 extends MovieClip { public var newlytowers; public var existtowers; public var btcreatestart:SimpleButton; public var capturenum; public var mousepos; public var btcreatecancel:SimpleButton; public var capturestatus; public var mctowercreate:mc_towercreate; public function mc_towercreatepanel_222(){ super(); addFrameScript(0, frame1); } public function startCreate(e=null){ capturestatus = "finish"; mousepos.x = mctowercreate.x; mousepos.y = mctowercreate.y; stopCapture(); } public function init(){ stopCapture(); } public function cancelCreate(e=null){ capturestatus = "cancel"; mousepos.x = mctowercreate.x; mousepos.y = mctowercreate.y; stopCapture(); } public function stopCapture(){ mctowercreate.gotoAndStop(2); this.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler); btcreatestart.removeEventListener(MouseEvent.MOUSE_UP, startCreate); btcreatecancel.removeEventListener(MouseEvent.MOUSE_UP, cancelCreate); btcreatestart.visible = false; btcreatecancel.visible = false; } public function mouseMoveHandler(e=null){ if (checkNewPosition(new Point(e.stageX, e.stageY))){ mousepos.x = e.stageX; mousepos.y = e.stageY; }; mctowercreate.x = mousepos.x; if (mctowercreate.x < 40){ mctowercreate.x = 40; } else { if (mctowercreate.x > 440){ mctowercreate.x = 440; }; }; mctowercreate.y = mousepos.y; if (mctowercreate.y < 180){ mctowercreate.y = 180; } else { if (mctowercreate.y > 440){ mctowercreate.y = 440; }; }; } public function getDistance(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (Math.sqrt(((dx * dx) + (dy * dy)))); } function frame1(){ stop(); capturenum = 0; capturestatus = "ready"; mousepos = new Point(240, 240); existtowers = null; newlytowers = null; startCapture(capturenum); } public function startCapture(num=1, _et=null, _nt=null){ existtowers = _et; newlytowers = _nt; capturenum = num; capturestatus = "ready"; btcreatestart.visible = true; btcreatecancel.visible = true; mousepos.x = 240; mousepos.y = 240; mctowercreate.gotoAndStop((num + 2)); mctowercreate.x = 240; mctowercreate.y = 240; this.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, false, 0, true); btcreatestart.addEventListener(MouseEvent.MOUSE_UP, startCreate, false, 0, true); btcreatecancel.addEventListener(MouseEvent.MOUSE_UP, cancelCreate, false, 0, true); } public function checkNewPosition(pt):Boolean{ var res:*; var i:*; res = true; if (existtowers){ i = 0; while (i < existtowers.length) { res = ((res) && ((getDistance(pt, new Point((existtowers[i].x - 240), existtowers[i].y)) > 40))); i++; }; }; if (newlytowers){ i = 0; while (i < newlytowers.length) { res = ((res) && ((getDistance(pt, new Point((newlytowers[i].x - 240), newlytowers[i].y)) > 40))); i++; }; }; return (res); } } }//package number07_fla
Section 67
//mc_ultimatewinpage_151 (number07_fla.mc_ultimatewinpage_151) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_ultimatewinpage_151 extends MovieClip { public var adsbox:MovieClip; public var ad; public var totaltime:TextField; public var losttroopsscore:TextField; public var createdtroopscount:TextField; public var experience:TextField; public var totalexp:TextField; public var destroyedenemiescount:TextField; public var kongbox:MovieClip; public var leveltime:TextField; public var losttroopscount:TextField; public var usemochi; public var gamewin; public var destroyedenemiesscore:TextField; public var thisparent; public var CPMStarContentSpotID:String; public var createdtroopsscore:TextField; public var btcontinue:SimpleButton; public function mc_ultimatewinpage_151(){ super(); addFrameScript(0, frame1, 84, frame85); } function frame85(){ stop(); thisparent = parent; ad = null; usemochi = thisparent.usemochi; CPMStarContentSpotID = "420Q1058780B"; if ((((Math.random() < 0.5)) || (checkSiteLock()))){ kongbox.visible = true; kongbox.addEventListener(MouseEvent.MOUSE_UP, gotoAds, false, 0, true); } else { adsbox.visible = true; if (usemochi){ MochiAd.showClickAwayAd({clip:adsbox, id:"48450a715b66ea35"}); } else { ad = new AdLoader(CPMStarContentSpotID); adsbox.addChild(ad); }; }; gamewin = true; destroyedenemiescount.text = thisparent.gameData.getDestroyedEnemiesCount(); destroyedenemiesscore.text = thisparent.gameData.getDestroyedEnemiesScore(gamewin); createdtroopscount.text = thisparent.gameData.getCreatedTroopsCount(); createdtroopsscore.text = thisparent.gameData.getCreatedTroopsScore(gamewin); losttroopscount.text = thisparent.gameData.getLostTroopsCount(); losttroopsscore.text = thisparent.gameData.getLostTroopsScore(gamewin); leveltime.text = thisparent.gameData.getLevelTime(); totaltime.text = thisparent.gameData.getTotalTime(); totalexp.text = String(thisparent.gameData.getTotalExperience()); experience.text = thisparent.gameData.getNewExperience(gamewin); thisparent.gameData.setFinishedLevel(); btcontinue.addEventListener(MouseEvent.MOUSE_UP, goLevelSelect, false, 0, true); } function frame1(){ kongbox.visible = false; adsbox.visible = false; } public function goLevelSelect(e=null){ thisparent.gotoAndPlay("levelselect"); } public function checkSiteLock():Boolean{ var res:*; res = false; res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("www.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("a.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("chat.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("bin") > -1))); return (res); } public function gotoAds(e){ thisparent.gotoAdsGame(); } } }//package number07_fla
Section 68
//mc_unitsqueuer_215 (number07_fla.mc_unitsqueuer_215) package number07_fla { import flash.display.*; public dynamic class mc_unitsqueuer_215 extends MovieClip { public function mc_unitsqueuer_215(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package number07_fla
Section 69
//mc_unlock1_124 (number07_fla.mc_unlock1_124) package number07_fla { import flash.events.*; import flash.display.*; public dynamic class mc_unlock1_124 extends MovieClip { public function mc_unlock1_124(){ super(); addFrameScript(0, frame1, 9, frame10, 19, frame20); } function frame10(){ stop(); } function frame1(){ stop(); addEventListener(MouseEvent.MOUSE_OVER, showContent, false, 0, true); addEventListener(MouseEvent.MOUSE_OUT, hideContent, false, 0, true); } function frame20(){ gotoAndStop(1); } public function showContent(e=null){ if (((!((currentLabel == "show"))) && (!((currentLabel == "shown"))))){ gotoAndPlay("show"); }; } public function hideContent(e=null){ if (((!((currentLabel == "hide"))) && (!((currentLabel == "hidden"))))){ gotoAndPlay("hide"); }; } } }//package number07_fla
Section 70
//mc_unlock2_126 (number07_fla.mc_unlock2_126) package number07_fla { import flash.events.*; import flash.display.*; public dynamic class mc_unlock2_126 extends MovieClip { public function mc_unlock2_126(){ super(); addFrameScript(0, frame1, 9, frame10, 19, frame20); } function frame10(){ stop(); } function frame1(){ stop(); addEventListener(MouseEvent.MOUSE_OVER, showContent, false, 0, true); addEventListener(MouseEvent.MOUSE_OUT, hideContent, false, 0, true); } function frame20(){ gotoAndStop(1); } public function showContent(e=null){ if (((!((currentLabel == "show"))) && (!((currentLabel == "shown"))))){ gotoAndPlay("show"); }; } public function hideContent(e=null){ if (((!((currentLabel == "hide"))) && (!((currentLabel == "hidden"))))){ gotoAndPlay("hide"); }; } } }//package number07_fla
Section 71
//mc_unlock3_125 (number07_fla.mc_unlock3_125) package number07_fla { import flash.events.*; import flash.display.*; public dynamic class mc_unlock3_125 extends MovieClip { public function mc_unlock3_125(){ super(); addFrameScript(0, frame1, 9, frame10, 19, frame20); } function frame10(){ stop(); } function frame1(){ stop(); addEventListener(MouseEvent.MOUSE_OVER, showContent, false, 0, true); addEventListener(MouseEvent.MOUSE_OUT, hideContent, false, 0, true); } function frame20(){ gotoAndStop(1); } public function showContent(e=null){ if (((!((currentLabel == "show"))) && (!((currentLabel == "shown"))))){ gotoAndPlay("show"); }; } public function hideContent(e=null){ if (((!((currentLabel == "hide"))) && (!((currentLabel == "hidden"))))){ gotoAndPlay("hide"); }; } } }//package number07_fla
Section 72
//mc_unlock4_127 (number07_fla.mc_unlock4_127) package number07_fla { import flash.events.*; import flash.display.*; public dynamic class mc_unlock4_127 extends MovieClip { public function mc_unlock4_127(){ super(); addFrameScript(0, frame1, 9, frame10, 19, frame20); } function frame10(){ stop(); } function frame1(){ stop(); addEventListener(MouseEvent.MOUSE_OVER, showContent, false, 0, true); addEventListener(MouseEvent.MOUSE_OUT, hideContent, false, 0, true); } function frame20(){ gotoAndStop(1); } public function showContent(e=null){ if (((!((currentLabel == "show"))) && (!((currentLabel == "shown"))))){ gotoAndPlay("show"); }; } public function hideContent(e=null){ if (((!((currentLabel == "hide"))) && (!((currentLabel == "hidden"))))){ gotoAndPlay("hide"); }; } } }//package number07_fla
Section 73
//mc_upgrade1_136 (number07_fla.mc_upgrade1_136) package number07_fla { import flash.display.*; public dynamic class mc_upgrade1_136 extends MovieClip { public var upgradebtn1:SimpleButton; public var upgradebtn2:SimpleButton; public var upgradelevel:MovieClip; public function mc_upgrade1_136(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); upgradebtn1.visible = false; upgradebtn2.visible = true; } function frame2(){ stop(); upgradebtn1.visible = true; upgradebtn2.visible = false; } } }//package number07_fla
Section 74
//mc_upgrade2_140 (number07_fla.mc_upgrade2_140) package number07_fla { import flash.display.*; public dynamic class mc_upgrade2_140 extends MovieClip { public var upgradebtn1:SimpleButton; public var upgradebtn2:SimpleButton; public var upgradelevel:MovieClip; public function mc_upgrade2_140(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); upgradebtn1.visible = false; upgradebtn2.visible = true; } function frame2(){ stop(); upgradebtn1.visible = true; upgradebtn2.visible = false; } } }//package number07_fla
Section 75
//mc_upgrade3_137 (number07_fla.mc_upgrade3_137) package number07_fla { import flash.display.*; public dynamic class mc_upgrade3_137 extends MovieClip { public var upgradebtn1:SimpleButton; public var upgradebtn2:SimpleButton; public var upgradelevel:MovieClip; public function mc_upgrade3_137(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); upgradebtn1.visible = false; upgradebtn2.visible = true; } function frame2(){ stop(); upgradebtn1.visible = true; upgradebtn2.visible = false; } } }//package number07_fla
Section 76
//mc_upgrade4_138 (number07_fla.mc_upgrade4_138) package number07_fla { import flash.display.*; public dynamic class mc_upgrade4_138 extends MovieClip { public var upgradebtn1:SimpleButton; public var upgradebtn2:SimpleButton; public var upgradelevel:MovieClip; public function mc_upgrade4_138(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); upgradebtn1.visible = false; upgradebtn2.visible = true; } function frame2(){ stop(); upgradebtn1.visible = true; upgradebtn2.visible = false; } } }//package number07_fla
Section 77
//mc_upgrade5_141 (number07_fla.mc_upgrade5_141) package number07_fla { import flash.display.*; public dynamic class mc_upgrade5_141 extends MovieClip { public var upgradebtn1:SimpleButton; public var upgradebtn2:SimpleButton; public var upgradelevel:MovieClip; public function mc_upgrade5_141(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); upgradebtn1.visible = false; upgradebtn2.visible = true; } function frame2(){ stop(); upgradebtn1.visible = true; upgradebtn2.visible = false; } } }//package number07_fla
Section 78
//mc_upgrade6_139 (number07_fla.mc_upgrade6_139) package number07_fla { import flash.display.*; public dynamic class mc_upgrade6_139 extends MovieClip { public var upgradebtn1:SimpleButton; public var upgradebtn2:SimpleButton; public var upgradelevel:MovieClip; public function mc_upgrade6_139(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); upgradebtn1.visible = false; upgradebtn2.visible = true; } function frame2(){ stop(); upgradebtn1.visible = true; upgradebtn2.visible = false; } } }//package number07_fla
Section 79
//mc_upgrade7_133 (number07_fla.mc_upgrade7_133) package number07_fla { import flash.display.*; public dynamic class mc_upgrade7_133 extends MovieClip { public var upgradebtn1:SimpleButton; public var upgradebtn2:SimpleButton; public var upgradelevel:MovieClip; public function mc_upgrade7_133(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); upgradebtn1.visible = false; upgradebtn2.visible = true; } function frame2(){ stop(); upgradebtn1.visible = true; upgradebtn2.visible = false; } } }//package number07_fla
Section 80
//mc_upgradelevel_134 (number07_fla.mc_upgradelevel_134) package number07_fla { import flash.display.*; public dynamic class mc_upgradelevel_134 extends MovieClip { public function mc_upgradelevel_134(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package number07_fla
Section 81
//mc_winpage_146 (number07_fla.mc_winpage_146) package number07_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_winpage_146 extends MovieClip { public var adsbox:MovieClip; public var ad; public var losttroopsscore:TextField; public var createdtroopscount:TextField; public var experience:TextField; public var destroyedenemiescount:TextField; public var kongbox:MovieClip; public var leveltime:TextField; public var losttroopscount:TextField; public var usemochi; public var gamewin; public var destroyedenemiesscore:TextField; public var thisparent; public var CPMStarContentSpotID:String; public var createdtroopsscore:TextField; public var btcontinue:SimpleButton; public function mc_winpage_146(){ super(); addFrameScript(0, frame1, 65, frame66); } function frame1(){ kongbox.visible = false; adsbox.visible = false; } public function goLevelSelect(e=null){ if (((((((((((((thisparent.gameData.research1Enabled()) || (thisparent.gameData.research2Enabled()))) || (thisparent.gameData.research3Enabled()))) || (thisparent.gameData.research4Enabled()))) || (thisparent.gameData.research5Enabled()))) || (thisparent.gameData.research6Enabled()))) || (thisparent.gameData.research7Enabled()))){ if (adsbox.visible){ if (ad){ adsbox.removeChild(ad); }; }; thisparent.gotoAndPlay("researchpage"); } else { thisparent.gotoAndPlay("levelselect"); }; } public function checkSiteLock():Boolean{ var res:*; res = false; res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("www.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("a.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("chat.kongregate.com") > -1))); res = ((res) || ((parent.loaderInfo.loaderURL.indexOf("bin") > -1))); return (res); } public function gotoAds(e){ thisparent.gotoAdsGame(); } function frame66(){ stop(); thisparent = parent; ad = null; usemochi = thisparent.usemochi; CPMStarContentSpotID = "420Q1058780B"; if ((((Math.random() < 0.5)) || (checkSiteLock()))){ kongbox.visible = true; kongbox.addEventListener(MouseEvent.MOUSE_UP, gotoAds, false, 0, true); } else { adsbox.visible = true; if (usemochi){ MochiAd.showClickAwayAd({clip:adsbox, id:"48450a715b66ea35"}); } else { ad = new AdLoader(CPMStarContentSpotID); adsbox.addChild(ad); }; }; gamewin = true; destroyedenemiescount.text = thisparent.gameData.getDestroyedEnemiesCount(); destroyedenemiesscore.text = thisparent.gameData.getDestroyedEnemiesScore(gamewin); createdtroopscount.text = thisparent.gameData.getCreatedTroopsCount(); createdtroopsscore.text = thisparent.gameData.getCreatedTroopsScore(gamewin); losttroopscount.text = thisparent.gameData.getLostTroopsCount(); losttroopsscore.text = thisparent.gameData.getLostTroopsScore(gamewin); leveltime.text = thisparent.gameData.getLevelTime(); experience.text = thisparent.gameData.getNewExperience(gamewin); thisparent.gameData.setFinishedLevel(); btcontinue.addEventListener(MouseEvent.MOUSE_UP, goLevelSelect, false, 0, true); } } }//package number07_fla
Section 82
//sceneloader_20 (number07_fla.sceneloader_20) package number07_fla { import flash.display.*; public dynamic class sceneloader_20 extends MovieClip { public function sceneloader_20(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package number07_fla
Section 83
//soundloader_18 (number07_fla.soundloader_18) package number07_fla { import flash.display.*; public dynamic class soundloader_18 extends MovieClip { public function soundloader_18(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package number07_fla
Section 84
//specialbtnsplash_174 (number07_fla.specialbtnsplash_174) package number07_fla { import flash.display.*; public dynamic class specialbtnsplash_174 extends MovieClip { public function specialbtnsplash_174(){ super(); addFrameScript(0, frame1, 1, frame2, 23, frame24); } public function blink(){ if (currentLabel != "showblink"){ gotoAndPlay("showblink"); }; } function frame1(){ gotoAndPlay(2); } function frame24(){ gotoAndStop(2); } function frame2(){ stop(); } } }//package number07_fla
Section 85
//stageScroll_173 (number07_fla.stageScroll_173) package number07_fla { import flash.display.*; public dynamic class stageScroll_173 extends MovieClip { public function stageScroll_173(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package number07_fla
Section 86
//unitloader_35 (number07_fla.unitloader_35) package number07_fla { import flash.display.*; public dynamic class unitloader_35 extends MovieClip { public function unitloader_35(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package number07_fla
Section 87
//AdLoader (AdLoader) package { import flash.events.*; import flash.display.*; import flash.system.*; import flash.net.*; public class AdLoader extends Sprite { private var contentspotid:String; private var cpmstarLoader:Loader; public function AdLoader(contentspotid:String){ super(); this.contentspotid = contentspotid; addEventListener(Event.ADDED, addedHandler); } private function addedHandler(event:Event):void{ var cpmstarViewSWFUrl:String; var container:DisplayObjectContainer; removeEventListener(Event.ADDED, addedHandler); Security.allowDomain("server.cpmstar.com"); cpmstarViewSWFUrl = "http://server.cpmstar.com/adviewas3.swf"; container = parent; cpmstarLoader = new Loader(); cpmstarLoader.contentLoaderInfo.addEventListener(Event.INIT, dispatchHandler); cpmstarLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dispatchHandler); cpmstarLoader.load(new URLRequest(((cpmstarViewSWFUrl + "?contentspotid=") + contentspotid))); addChild(cpmstarLoader); } private function dispatchHandler(event:Event):void{ dispatchEvent(event); } } }//package
Section 88
//BaseSound (BaseSound) package { import flash.events.*; import flash.media.*; import flash.utils.*; public class BaseSound extends Sound { private var sndTransform:SoundTransform; public var sndPlaying:Boolean; private var sndFadeOut:Boolean; private var sndFadeIn:Boolean; private var sndPosTime:Number; private var loop:Boolean; private var sndObj:Sound; private var sndChannel:SoundChannel; private var sndTimer:Timer; private var sndVolume:Number; private var sndPan:Number; public function BaseSound(){ super(); sndObj = this; sndChannel = null; sndTransform = null; sndVolume = 1; sndPan = 0; sndPosTime = 0; sndFadeIn = false; sndFadeOut = false; loop = false; } public function setVolume(vol:Number):void{ var sndTransform:SoundTransform; sndVolume = vol; if (sndChannel){ sndTransform = sndChannel.soundTransform; sndTransform.volume = sndVolume; sndChannel.soundTransform = sndTransform; }; } public function stopSound():void{ if (sndChannel){ sndPlaying = false; sndChannel.stop(); sndChannel.removeEventListener(Event.SOUND_COMPLETE, sound_loop); loop = false; }; } public function fadeOut(init:Boolean):void{ sndFadeOut = true; sndFadeIn = false; if (init){ setVolume(1); }; if (!sndTimer){ sndTimer = new Timer(50); sndTimer.addEventListener(TimerEvent.TIMER, sndTimerHandler, false, 0, true); sndTimer.start(); }; } public function pauseSound():void{ if (sndChannel){ sndPlaying = false; sndPosTime = sndChannel.position; sndChannel.stop(); sndChannel.removeEventListener(Event.SOUND_COMPLETE, sound_loop); }; } public function playSound():void{ stopSound(); sndChannel = sndObj.play(); sndChannel.addEventListener(Event.SOUND_COMPLETE, sound_complete, false, 0, true); setVolume(sndVolume); setPan(sndPan); sndPlaying = true; } public function fadeIn(init:Boolean):void{ sndFadeIn = true; sndFadeOut = false; if (init){ setVolume(0); }; if (!sndTimer){ sndTimer = new Timer(50); sndTimer.addEventListener(TimerEvent.TIMER, sndTimerHandler, false, 0, true); sndTimer.start(); }; } private function sndTimerHandler(event:TimerEvent):void{ if (((sndFadeIn) && (sndFadeOut))){ sndFadeIn = false; sndFadeOut = false; setVolume(1); }; if (sndFadeIn){ sndVolume = (sndVolume + 0.01); if (sndVolume > 1){ setVolume(1); sndFadeIn = false; } else { setVolume(sndVolume); }; }; if (sndFadeOut){ sndVolume = (sndVolume - 0.01); if (sndVolume < 0){ setVolume(0); sndFadeOut = false; } else { setVolume(sndVolume); }; }; } public function setPan(pan:Number):void{ var sndTransform:SoundTransform; sndPan = pan; if (sndChannel){ sndTransform = sndChannel.soundTransform; sndTransform.pan = sndPan; sndChannel.soundTransform = sndTransform; }; } public function resumeSound():void{ stopSound(); sndChannel = sndObj.play(sndPosTime); if (loop){ sndChannel.addEventListener(Event.SOUND_COMPLETE, sound_loop, false, 0, true); }; setVolume(sndVolume); setPan(sndPan); sndPlaying = true; } private function sound_complete(event:Event){ sndChannel.removeEventListener(Event.SOUND_COMPLETE, sound_complete); sndPlaying = false; } private function sound_loop(event:Event){ sndChannel = sndObj.play(); setVolume(sndVolume); setPan(sndPan); sndPlaying = true; sndChannel.addEventListener(Event.SOUND_COMPLETE, sound_loop, false, 0, true); } public function playSoundLoop():void{ stopSound(); sndChannel = sndObj.play(); sndChannel.addEventListener(Event.SOUND_COMPLETE, sound_loop, false, 0, true); setVolume(sndVolume); setPan(sndPan); sndPlaying = true; loop = true; } } }//package
Section 89
//bgm_ambient (bgm_ambient) package { public dynamic class bgm_ambient extends BaseSound { public function bgm_ambient(){ super(); } } }//package
Section 90
//bgm_cover (bgm_cover) package { public dynamic class bgm_cover extends BaseSound { public function bgm_cover(){ super(); } } }//package
Section 91
//bgm_hightension (bgm_hightension) package { public dynamic class bgm_hightension extends BaseSound { public function bgm_hightension(){ super(); } } }//package
Section 92
//bgm_lowtension (bgm_lowtension) package { public dynamic class bgm_lowtension extends BaseSound { public function bgm_lowtension(){ super(); } } }//package
Section 93
//BulletObjectBase (BulletObjectBase) package { import flash.display.*; public class BulletObjectBase extends MovieClip { private var speedy; private var speedx; private var speed; public var typed;// = "gunbullet" public var damage;// = 1 public var target;// = null private var rnd; public var owned;// = null public function BulletObjectBase(){ typed = "gunbullet"; damage = 1; owned = null; target = null; super(); } public function init(_type, _dmg, _own, _tgt=null){ rnd = ((Math.random() * speed) / 20); typed = _type; damage = _dmg; owned = _own; target = _tgt; switch (_type){ case "shipgunbullet": speed = 20; break; case "plasmabullet": speed = 7; break; case "missilebullet": speed = 3; break; case "dropbombbullet": speed = 1; break; case "gunbullet": default: speed = 10; break; }; speedx = (speed * Math.cos(((this.rotation / 180) * Math.PI))); speedy = (speed * Math.sin(((this.rotation / 180) * Math.PI))); this.cacheAsBitmap = true; } private function getAngle(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (((Math.atan2(dy, dx) * 180) / Math.PI)); } private function getDistance(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (Math.sqrt(((dx * dx) + (dy * dy)))); } public function moveClip(){ var lastx:*; var lasty:*; var ang:*; var ang2:*; var angdif:*; switch (typed){ case "dropbombbullet": if (this.rotation < 85){ this.rotation = (this.rotation + 5); } else { if (this.rotation > 95){ this.rotation = (this.rotation - 5); }; }; this.x = (this.x + (speed * Math.cos(((this.rotation * Math.PI) / 180)))); this.y = (this.y + (speed * Math.sin(((this.rotation * Math.PI) / 180)))); speed = (speed * 1.05); if (target){ if (this.y > (target + 20)){ this.gotoAndPlay("destroyed"); target.reduceHealth2(damage); }; } else { if (this.y > 930){ this.gotoAndPlay("destroyed"); }; }; break; case "missilebullet": ang = (180 - getAngle(this, target)); if (ang < 0){ ang = (ang + 360); } else { if (ang > 360){ ang = (ang - 360); }; }; ang2 = this.rotation; if (ang2 < 0){ ang2 = (ang2 + 360); } else { if (ang2 > 360){ ang2 = (ang2 - 360); }; }; angdif = Math.abs((ang2 - ang)); if (angdif > 5){ if (ang2 < ang){ if (angdif < 180){ this.rotation = (this.rotation + 5); } else { this.rotation = (this.rotation - 5); }; } else { if (angdif < 180){ this.rotation = (this.rotation - 5); } else { this.rotation = (this.rotation + 5); }; }; }; this.x = (this.x + (speed * Math.cos(((this.rotation * Math.PI) / 180)))); this.y = (this.y + (speed * Math.sin(((this.rotation * Math.PI) / 180)))); speed = (speed * 1.05); break; case "plasmabullet": this.rotation = (this.rotation + 20); if (this.alpha > 0.025){ this.alpha = (this.alpha - 0.025); } else { this.alpha = 0; }; this.x = (this.x + speedx); this.y = (this.y + speedy); break; case "gunbullet": default: this.x = (this.x + speedx); this.y = (this.y + speedy); break; }; } } }//package
Section 94
//ColorMatrix (ColorMatrix) package { public dynamic class ColorMatrix extends Array { private static const IDENTITY_MATRIX:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]; private static const LENGTH:Number = IDENTITY_MATRIX.length; private static const DELTA_INDEX:Array = [0, 0.01, 0.02, 0.04, 0.05, 0.06, 0.07, 0.08, 0.1, 0.11, 0.12, 0.14, 0.15, 0.16, 0.17, 0.18, 0.2, 0.21, 0.22, 0.24, 0.25, 0.27, 0.28, 0.3, 0.32, 0.34, 0.36, 0.38, 0.4, 0.42, 0.44, 0.46, 0.48, 0.5, 0.53, 0.56, 0.59, 0.62, 0.65, 0.68, 0.71, 0.74, 0.77, 0.8, 0.83, 0.86, 0.89, 0.92, 0.95, 0.98, 1, 1.06, 1.12, 1.18, 1.24, 1.3, 1.36, 1.42, 1.48, 1.54, 1.6, 1.66, 1.72, 1.78, 1.84, 1.9, 1.96, 2, 2.12, 2.25, 2.37, 2.5, 2.62, 2.75, 2.87, 3, 3.2, 3.4, 3.6, 3.8, 4, 4.3, 4.7, 4.9, 5, 5.5, 6, 6.5, 6.8, 7, 7.3, 7.5, 7.8, 8, 8.4, 8.7, 9, 9.4, 9.6, 9.8, 10]; public function ColorMatrix(p_matrix:Array=null){ super(); p_matrix = fixMatrix(p_matrix); copyMatrix(((p_matrix.length)==LENGTH) ? p_matrix : IDENTITY_MATRIX); } public function adjustBrightness(p_val:Number):void{ p_val = cleanValue(p_val, 100); if ((((p_val == 0)) || (isNaN(p_val)))){ return; }; multiplyMatrix([1, 0, 0, 0, p_val, 0, 1, 0, 0, p_val, 0, 0, 1, 0, p_val, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]); } protected function multiplyMatrix(p_matrix:Array):void{ var col:Array; var i:uint; var j:uint; var val:Number; var k:Number; col = []; i = 0; while (i < 5) { j = 0; while (j < 5) { col[j] = this[(j + (i * 5))]; j++; }; j = 0; while (j < 5) { val = 0; k = 0; while (k < 5) { val = (val + (p_matrix[(j + (k * 5))] * col[k])); k++; }; this[(j + (i * 5))] = val; j++; }; i++; }; } public function adjustSaturation(p_val:Number):void{ var x:Number; var lumR:Number; var lumG:Number; var lumB:Number; p_val = cleanValue(p_val, 100); if ((((p_val == 0)) || (isNaN(p_val)))){ return; }; x = (1 + ((p_val)>0) ? ((3 * p_val) / 100) : (p_val / 100)); lumR = 0.3086; lumG = 0.6094; lumB = 0.082; multiplyMatrix([((lumR * (1 - x)) + x), (lumG * (1 - x)), (lumB * (1 - x)), 0, 0, (lumR * (1 - x)), ((lumG * (1 - x)) + x), (lumB * (1 - x)), 0, 0, (lumR * (1 - x)), (lumG * (1 - x)), ((lumB * (1 - x)) + x), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]); } public function reset():void{ var i:uint; i = 0; while (i < LENGTH) { this[i] = IDENTITY_MATRIX[i]; i++; }; } public function adjustColor(p_brightness:Number, p_contrast:Number, p_saturation:Number, p_hue:Number):void{ adjustHue(p_hue); adjustContrast(p_contrast); adjustBrightness(p_brightness); adjustSaturation(p_saturation); } public function clone():ColorMatrix{ return (new ColorMatrix(this)); } public function toArray():Array{ return (slice(0, 20)); } protected function cleanValue(p_val:Number, p_limit:Number):Number{ return (Math.min(p_limit, Math.max(-(p_limit), p_val))); } public function adjustHue(p_val:Number):void{ var cosVal:Number; var sinVal:Number; var lumR:Number; var lumG:Number; var lumB:Number; p_val = ((cleanValue(p_val, 180) / 180) * Math.PI); if ((((p_val == 0)) || (isNaN(p_val)))){ return; }; cosVal = Math.cos(p_val); sinVal = Math.sin(p_val); lumR = 0.213; lumG = 0.715; lumB = 0.072; multiplyMatrix([((lumR + (cosVal * (1 - lumR))) + (sinVal * -(lumR))), ((lumG + (cosVal * -(lumG))) + (sinVal * -(lumG))), ((lumB + (cosVal * -(lumB))) + (sinVal * (1 - lumB))), 0, 0, ((lumR + (cosVal * -(lumR))) + (sinVal * 0.143)), ((lumG + (cosVal * (1 - lumG))) + (sinVal * 0.14)), ((lumB + (cosVal * -(lumB))) + (sinVal * -0.283)), 0, 0, ((lumR + (cosVal * -(lumR))) + (sinVal * -((1 - lumR)))), ((lumG + (cosVal * -(lumG))) + (sinVal * lumG)), ((lumB + (cosVal * (1 - lumB))) + (sinVal * lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]); } public function concat(p_matrix:Array):void{ p_matrix = fixMatrix(p_matrix); if (p_matrix.length != LENGTH){ return; }; multiplyMatrix(p_matrix); } protected function copyMatrix(p_matrix:Array):void{ var l:Number; var i:uint; l = LENGTH; i = 0; while (i < l) { this[i] = p_matrix[i]; i++; }; } protected function fixMatrix(p_matrix:Array=null):Array{ if (p_matrix == null){ return (IDENTITY_MATRIX); }; if ((p_matrix is ColorMatrix)){ p_matrix = p_matrix.slice(0); }; if (p_matrix.length < LENGTH){ p_matrix = p_matrix.slice(0, p_matrix.length).concat(IDENTITY_MATRIX.slice(p_matrix.length, LENGTH)); } else { if (p_matrix.length > LENGTH){ p_matrix = p_matrix.slice(0, LENGTH); }; }; return (p_matrix); } public function adjustContrast(p_val:Number):void{ var x:Number; p_val = cleanValue(p_val, 100); if ((((p_val == 0)) || (isNaN(p_val)))){ return; }; if (p_val < 0){ x = (127 + ((p_val / 100) * 127)); } else { x = (p_val % 1); if (x == 0){ x = DELTA_INDEX[p_val]; } else { x = ((DELTA_INDEX[(p_val << 0)] * (1 - x)) + (DELTA_INDEX[((p_val << 0) + 1)] * x)); }; x = ((x * 127) + 127); }; multiplyMatrix([(x / 127), 0, 0, 0, (0.5 * (127 - x)), 0, (x / 127), 0, 0, (0.5 * (127 - x)), 0, 0, (x / 127), 0, (0.5 * (127 - x)), 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]); } public function toString():String{ return ((("ColorMatrix [ " + this.join(" , ")) + " ]")); } } }//package
Section 95
//computerbase_mc (computerbase_mc) package { public dynamic class computerbase_mc extends LandBaseObjectBase { public function computerbase_mc(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 96
//ComputerManager (ComputerManager) package { import flash.geom.*; public class ComputerManager { private var towertype; private var towertimermax;// = 0 private var timermultiplier;// = 1 private var startcounting; private var unittimer; private var towertimer;// = 0 private var towerpos; private var stageScene; private var maintimer;// = 0 private var myParent; private var gameData; public function ComputerManager(_myParent){ var i:*; towertimer = 0; towertimermax = 0; maintimer = 0; unittimer = new Array(0, 0, 0, 0, 0, 0, 0); startcounting = new Array(false, false, false, false, false, false, false); timermultiplier = 1; super(); myParent = _myParent; gameData = myParent.gameData; stageScene = myParent.stageScene; i = 0; while (i < gameData.computerunitcreatetimer.length) { unittimer[i] = gameData.computerunitcreatetimer[i]; i++; }; } private function getNewTowerPosition():Point{ var pt:*; var j:*; var i:*; var newposfound:*; var res:*; pt = new Point(0, 0); i = 0; newposfound = false; while (((!(newposfound)) && ((i < 4)))) { pt.x = gameData.defaultcomputertowerx[i]; pt.y = gameData.defaultcomputertowery[i]; res = true; if (stageScene.computerTowers.length > 0){ j = 0; while (j < stageScene.computerTowers.length) { res = ((res) && ((getDistance(new Point((stageScene.computerTowers[j].x - stageScene.computerBaseMC.x), (stageScene.computerTowers[j].y - stageScene.computerBaseMC.y)), pt) > 20))); j++; }; }; if (stageScene.computerCreateTowerPos.length > 0){ j = 0; while (j < stageScene.computerCreateTowerPos.length) { res = ((res) && ((getDistance(stageScene.computerCreateTowerPos[j], pt) > 20))); j++; }; }; newposfound = res; i++; }; if (!newposfound){ pt = null; }; return (pt); } private function getAngle(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (((Math.atan2(dy, dx) * 180) / Math.PI)); } public function moveClip(){ var i:*; maintimer++; if (stageScene.computerUnits.length < 15){ if (gameData.selectedlevel < 4){ timermultiplier = 1; } else { if (gameData.selectedlevel < 8){ if (stageScene.playerUnits.length > (stageScene.computerUnits.length * 8)){ timermultiplier = 0.3; } else { if (stageScene.playerUnits.length > (stageScene.computerUnits.length * 4)){ timermultiplier = 0.4; } else { if (stageScene.playerUnits.length > (stageScene.computerUnits.length * 2)){ timermultiplier = 0.5; } else { timermultiplier = 1; }; }; }; } else { if (stageScene.playerUnits.length > (stageScene.computerUnits.length * 16)){ timermultiplier = 0.1; } else { if (stageScene.playerUnits.length > (stageScene.computerUnits.length * 8)){ timermultiplier = 0.2; } else { if (stageScene.playerUnits.length > (stageScene.computerUnits.length * 4)){ timermultiplier = 0.3; } else { if (stageScene.playerUnits.length > (stageScene.computerUnits.length * 2)){ timermultiplier = 0.4; } else { if (stageScene.playerUnits.length > stageScene.computerUnits.length){ timermultiplier = 0.5; } else { timermultiplier = 1; }; }; }; }; }; if (gameData.gold > 50000){ timermultiplier = (timermultiplier * 0.1); }; if (gameData.gold > 25000){ timermultiplier = (timermultiplier * 0.2); } else { if (gameData.gold > 20000){ timermultiplier = (timermultiplier * 0.3); } else { if (gameData.gold > 15000){ timermultiplier = (timermultiplier * 0.4); } else { if (gameData.gold > 10000){ timermultiplier = (timermultiplier * 0.5); } else { if (gameData.gold > 5000){ timermultiplier = (timermultiplier * 0.6); } else { if (gameData.gold > 4000){ timermultiplier = (timermultiplier * 0.7); } else { if (gameData.gold > 3000){ timermultiplier = (timermultiplier * 0.8); } else { if (gameData.gold > 2000){ timermultiplier = (timermultiplier * 0.9); } else { timermultiplier = (timermultiplier * 1); }; }; }; }; }; }; }; }; }; }; i = 0; while (i < unittimer.length) { if (startcounting[i]){ var _local2 = unittimer; var _local3 = i; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; } else { startcounting[i] = (maintimer > gameData.computerunitstarttimer[i]); }; if ((((unittimer[i] <= 0)) && (gameData.unlockedcomputerunit[i]))){ unittimer[i] = Math.floor((gameData.computerunitcreatetimer[i] * timermultiplier)); stageScene.createCharacter(gameData.computerunitname[i], "computer"); }; i++; }; }; if ((stageScene.computerCreateTowerType.length + stageScene.computerTowers.length) < gameData.defaultcomputertowercount){ if (towertimer == 0){ towerpos = getNewTowerPosition(); i = Math.floor((((Math.random() * gameData.selectedlevel) / 4) + 1)); switch (i){ case 2: towertype = 2; break; case 3: towertype = 3; break; case 4: towertype = 4; break; case 1: default: towertype = 1; break; }; towertimermax = gameData.computertowercreatetimer[(i - 1)]; if (stageScene.computerTowers.length > 0){ towertimer = (towertimermax * gameData.computertowercreateinterval); } else { towertimer = 300; }; } else { towertimer--; if (towertimer == 0){ if (towerpos){ stageScene.createComputerTower(towertype, towerpos, towertimermax); }; }; }; }; } public function doCounter(_full=true){ if (_full){ if (stageScene.computerUnits.length < 10){ if (gameData.unlockedcomputerunit[6]){ stageScene.createCharacter(gameData.computerunitname[6], "computer"); if (gameData.selectedlevel > 9){ stageScene.createCharacter(gameData.computerunitname[6], "computer"); }; }; }; if (stageScene.computerUnits.length < 10){ if (gameData.unlockedcomputerunit[5]){ stageScene.createCharacter(gameData.computerunitname[5], "computer"); if (gameData.selectedlevel > 6){ stageScene.createCharacter(gameData.computerunitname[5], "computer"); }; if (gameData.selectedlevel > 8){ stageScene.createCharacter(gameData.computerunitname[5], "computer"); }; }; }; if (stageScene.computerUnits.length < 10){ if (gameData.unlockedcomputerunit[4]){ stageScene.createCharacter(gameData.computerunitname[4], "computer"); if (gameData.selectedlevel > 5){ stageScene.createCharacter(gameData.computerunitname[4], "computer"); }; if (gameData.selectedlevel > 7){ stageScene.createCharacter(gameData.computerunitname[4], "computer"); }; }; }; if (stageScene.computerUnits.length < 10){ if (gameData.unlockedcomputerunit[3]){ stageScene.createCharacter(gameData.computerunitname[3], "computer"); if (gameData.selectedlevel > 4){ stageScene.createCharacter(gameData.computerunitname[3], "computer"); }; if (gameData.selectedlevel > 6){ stageScene.createCharacter(gameData.computerunitname[3], "computer"); }; }; }; if (stageScene.computerUnits.length < 10){ if (gameData.unlockedcomputerunit[2]){ stageScene.createCharacter(gameData.computerunitname[2], "computer"); if (gameData.selectedlevel > 3){ stageScene.createCharacter(gameData.computerunitname[2], "computer"); }; if (gameData.selectedlevel > 5){ stageScene.createCharacter(gameData.computerunitname[2], "computer"); }; }; }; if (stageScene.computerUnits.length < 10){ if (gameData.unlockedcomputerunit[1]){ stageScene.createCharacter(gameData.computerunitname[1], "computer"); if (gameData.selectedlevel > 2){ stageScene.createCharacter(gameData.computerunitname[1], "computer"); }; if (gameData.selectedlevel > 4){ stageScene.createCharacter(gameData.computerunitname[1], "computer"); }; }; }; if (gameData.unlockedcomputerunit[0]){ stageScene.createCharacter(gameData.computerunitname[0], "computer"); stageScene.createCharacter(gameData.computerunitname[0], "computer"); stageScene.createCharacter(gameData.computerunitname[0], "computer"); stageScene.createCharacter(gameData.computerunitname[0], "computer"); stageScene.createCharacter(gameData.computerunitname[0], "computer"); stageScene.createCharacter(gameData.computerunitname[0], "computer"); stageScene.createCharacter(gameData.computerunitname[0], "computer"); stageScene.createCharacter(gameData.computerunitname[0], "computer"); }; } else { if (stageScene.computerUnits.length < 10){ if (gameData.unlockedcomputerunit[3]){ stageScene.createCharacter(gameData.computerunitname[3], "computer"); if (gameData.selectedlevel > 6){ stageScene.createCharacter(gameData.computerunitname[3], "computer"); }; }; }; if (stageScene.computerUnits.length < 10){ if (gameData.unlockedcomputerunit[2]){ stageScene.createCharacter(gameData.computerunitname[2], "computer"); if (gameData.selectedlevel > 5){ stageScene.createCharacter(gameData.computerunitname[2], "computer"); }; }; }; if (stageScene.computerUnits.length < 10){ if (gameData.unlockedcomputerunit[1]){ stageScene.createCharacter(gameData.computerunitname[1], "computer"); if (gameData.selectedlevel > 4){ stageScene.createCharacter(gameData.computerunitname[1], "computer"); }; }; }; if (gameData.unlockedcomputerunit[0]){ stageScene.createCharacter(gameData.computerunitname[0], "computer"); stageScene.createCharacter(gameData.computerunitname[0], "computer"); stageScene.createCharacter(gameData.computerunitname[0], "computer"); stageScene.createCharacter(gameData.computerunitname[0], "computer"); }; }; } private function getDistance(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (Math.sqrt(((dx * dx) + (dy * dy)))); } } }//package
Section 97
//ControlManager (ControlManager) package { import flash.events.*; import flash.ui.*; public class ControlManager { private var myParent; public function ControlManager(_myParent){ super(); myParent = _myParent; } private function mouseDownHandler(e){ myParent.mousePress = true; } public function startListeners(){ myParent.myParent.stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, false, 0, true); myParent.myParent.stage.addEventListener(KeyboardEvent.KEY_UP, keyUpHandler, false, 0, true); myParent.myParent.stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, false, 0, true); myParent.myParent.stage.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler, false, 0, true); myParent.stageBackground.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler, false, 0, true); myParent.stageBackground.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler, false, 0, true); } private function keyDownHandler(e){ if (myParent.gameStatus == "playing"){ switch (e.keyCode){ case Keyboard.UP: myParent.startScrollingUp(); break; case Keyboard.DOWN: myParent.startScrollingDown(); break; case 90: myParent.startZoomOut(); break; }; }; } private function mouseUpHandler(e){ myParent.mousePress = false; } private function keyUpHandler(e){ if (myParent.gameStatus == "playing"){ switch (e.keyCode){ case 80: myParent.pauseClip(); break; case 49: myParent.queueUnit1(); break; case 50: myParent.queueUnit2(); break; case 51: myParent.queueUnit3(); break; case 52: myParent.queueUnit4(); break; case 53: myParent.queueUnit5(); break; case 54: myParent.queueUnit6(); break; case 55: myParent.queueUnit7(); break; case 81: myParent.getTowerPosition1(); break; case 87: myParent.getTowerPosition2(); break; case 69: myParent.getTowerPosition3(); break; case 82: myParent.getTowerPosition4(); break; case 84: myParent.getTowerPosition5(); break; case 65: myParent.doUpgrade1(); break; case 83: myParent.doUpgrade2(); break; case 68: myParent.doUpgrade3(); break; case 70: myParent.doUpgrade4(); break; case 71: myParent.doUpgrade5(); break; case Keyboard.ESCAPE: myParent.cancelNewTowerPos(); break; case Keyboard.UP: myParent.stopScrollingUp(); break; case Keyboard.DOWN: myParent.stopScrollingDown(); break; case 90: myParent.stopZoomOut(); break; case 77: myParent.showMap(); break; }; } else { if (myParent.gameStatus == "paused"){ switch (e.keyCode){ case Keyboard.ESCAPE: case 80: myParent.continueClip(); }; }; }; } private function mouseMoveHandler(e){ myParent.mouseStageX = e.stageX; myParent.mouseStageY = e.stageY; } public function pauseListeners(){ myParent.myParent.stage.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler); myParent.myParent.stage.removeEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler); myParent.stageScene.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); myParent.stageScene.removeEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); } private function mouseWheelHandler(e){ if (e.delta > 0){ myParent.mouseScrollUp = true; } else { if (e.delta < 0){ myParent.mouseScrollDown = true; }; }; } public function stopListeners(){ myParent.myParent.stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); myParent.myParent.stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpHandler); myParent.myParent.stage.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler); myParent.myParent.stage.removeEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler); myParent.stageScene.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); myParent.stageScene.removeEventListener(MouseEvent.MOUSE_UP, mouseUpHandler); } } }//package
Section 98
//DataManager (DataManager) package { import com.kongregate.as3.client.events.*; import com.kongregate.as3.client.*; import flash.net.*; public class DataManager { public var playertowercreatetimer; public var unlockedplayertower; public var initplayertowerattack; public var playerupgradeprice; public var computertowercreateinterval;// = 8 public var scenariocomputerunitstarttimer; public var initplayertowerhealth; public var playermainbasehealth; public var initunlockedplayerunit; public var completedlevel;// = 0 public var towerresearchtimer; private var GAME_COMPLETED;// = 0 public var unitresearchattack; public var computerunitname; public var defaultcomputertower; public var computerunitattack; public var initcomputerunitcreatetimer; public var unitresearchhealth; public var scenariocomputermainbaseattack; public var computerunithealth; public var scenariocomputermainbasehealth; public var computertowercreatetimer; public var computertowername; public var scenariodefaultcomputertowery; public var gold; public var scenariodefaultcomputertowerx; public var playerunitattack; public var scenariounlockedplayertower; public var computerunitstarttimer; public var playerunitprice; public var unlockedspecial; public var unlockedlevel; public var playerunithealth; public var playedlevel; public var initunlockedcomputerunit; public var scenariounlockedplayerunit; public var gamewincount;// = 0 public var unitlost; public var computertowerhealth; public var computertowerattack; public var baseresearchattack; public var killgoldresearchvalue; public var gamelostcount;// = 0 public var computermainbaseattack; public var computermainbasehealth; public var playerunitcreatetimer; public var baseresearchhealth; public var researchlevel; public var thisparent;// = null private var BEST_EXP_EARN;// = 0 public var totalduration;// = 0 public var initdefaultcomputertowerx; public var initdefaultcomputertowery; public var unitkilledtotal; public var unitcreated; private var BEST_HIGHEST_LEVEL;// = 0 public var unitcreatedtotal; public var upgradelevel; public var towerresearchattack; public var initunlockedplayertower; private var kongregateServiceLoaded:Boolean;// = false public var towerresearchhealth; public var unitkilled; public var initplayermainbaseattack;// = 1 public var playertowerattack; public var initplayertowercreatetimer; public var scenariounlockedcomputerunit; public var initplayermainbasehealth;// = 1000 public var levelduration;// = 0 private var BEST_ENEMY_KILL;// = 0 public var unlockedplayerunit; public var interest; public var defaultcomputertowercount; public var levelstarttime;// = 0 public var playertowerhealth; public var initcomputerunitattack; public var computertowerprice; public var initdefaultcomputertower; public var initcomputerunithealth; public var playerresearchprice; private var BEST_UNITS_LOST;// = 0 public var computerunitcreatetimer; public var initcomputertowercreatetimer; public var playertowername; public var levelstoptime;// = 0 public var initunlockedspecial; public var experience; public var initunlockedlevel; public var initplayerunitattack; public var initgold;// = 3500 public var playertowerprice; public var unitresearchtimer; public var computerunitprice; public var initcomputertowerattack; public var initplayerunithealth; public var initcomputerunitstarttimer; private var BEST_UNITS_BUILT;// = 0 public var scenariodefaultcomputertowercount; public var savelabel;// = "___xsky_invasionx___" public var initcomputertowerhealth; public var unitlosttotal; public var unlockedcomputerunit; public var playerunitattackupgradeconst;// = 1.1 public var totalexperience; public var initresearchlevel; public var scenariocomputerunitcreatetimer; public var initplayerunitcreatetimer; public var initcomputermainbaseattack;// = 1 public var playerbaseattackupgradeconst;// = 1.2 public var maxgold; public var selectedlevel;// = 1 public var scenariocomputertowercreatetimer; public var interestresearchvalue; public var playerunithealthupgradeconst;// = 1.1 public var initcomputermainbasehealth;// = 2000 public var playerbasehealthupgradeconst;// = 1.2 public var playertowerattackupgradeconst;// = 1.2 private var kongregate:KongregateAPI; public var playertowerhealthupgradeconst;// = 1.2 public var defaultcomputertowery; public var defaultcomputertowerx; public var playermainbaseattack; public var scenariodefaultcomputertower; public var playerunitname; public var initupgradelevel; public var scenariogold; public function DataManager(_thisparent){ var i:*; thisparent = null; savelabel = "___xsky_invasionx___"; playerbasehealthupgradeconst = 1.2; playerbaseattackupgradeconst = 1.2; playertowerhealthupgradeconst = 1.2; playertowerattackupgradeconst = 1.2; playerunithealthupgradeconst = 1.1; playerunitattackupgradeconst = 1.1; computertowercreateinterval = 8; playerunitname = new Array("avenger", "thunderbolt", "defender", "battlecruiser", "valour", "secretstriker", "aircraftcarrier"); playertowername = new Array("guntower", "missiletower", "thundertower", "emptower", "plasmatower"); computerunitname = new Array("intrepid", "excelsior", "steamrunner", "ptolemy", "warhammer", "vanguard", "aircraftcarrier"); computertowername = new Array("guntower", "missiletower", "plasmatower", "thundertower"); playerunitprice = new Array(10, 75, 250, 500, 1500, 450, 3000); playertowerprice = new Array(500, 1000, 2000, 250, 2000); playerupgradeprice = new Array([1000, 2500, 10000], [500, 1500, 5000], [500, 1500, 5000], [400, 1200, 4000]); playerresearchprice = new Array([200, 1500, 3000], [75, 500, 1000], [75, 500, 1000], [50, 300, 750], [50, 300, 750], [100, 750, 1500], [100, 750, 1500]); computerunitprice = new Array(3, 17, 37, 77, 177, 377, 777); computertowerprice = new Array(177, 377, 477, 577); baseresearchhealth = new Array(1000, 2000, 4000, 8000); baseresearchattack = new Array(1, 4, 16, 64); unitresearchhealth = new Array([10, 80, 300, 600, 3000, 750, 5000], [12, 96, 360, 720, 3600, 900, 6000], [14, 112, 420, 840, 4200, 1050, 7000], [16, 128, 480, 960, 4800, 1200, 8000]); unitresearchattack = new Array([1, 4, 12, 25, 40, 20, 15], [1.2, 4.8, 14.4, 30, 48, 24, 18], [1.4, 5.6, 16.8, 35, 56, 28, 21], [1.6, 6.4, 19.2, 40, 64, 32, 24]); towerresearchhealth = new Array([1000, 1500, 2500, 100, 1500], [1200, 1800, 3000, 120, 1800], [1400, 2100, 3500, 140, 2100], [1600, 2400, 4000, 160, 2400]); towerresearchattack = new Array([2, 10, 10, 30, 15], [2.4, 12, 12, 36, 18], [2.8, 14, 14, 42, 21], [3.2, 16, 16, 48, 24]); unitresearchtimer = new Array([30, 60, 90, 120, 150, 60, 150], [24, 48, 72, 96, 120, 48, 120], [18, 36, 54, 72, 90, 36, 90], [12, 24, 36, 48, 60, 24, 60]); towerresearchtimer = new Array([300, 360, 480, 180, 420], [240, 288, 384, 144, 336], [180, 216, 288, 108, 252], [120, 144, 192, 72, 168]); interestresearchvalue = new Array(0.005, 0.0052, 0.0055, 0.006); killgoldresearchvalue = new Array([3, 17, 37, 77, 177, 377, 777, 177, 377, 477, 577], [3.3, 18.7, 44.4, 92.4, 212.4, 452.4, 932.4, 212.4, 452.4, 572.4, 692.4], [3.6, 20.6, 51.8, 107.8, 247.8, 527.8, 1087.8, 247.8, 527.8, 667.8, 807.8], [4, 22.6, 59.2, 123.2, 283.2, 603.2, 1243.2, 283.2, 603.2, 763.2, 923.2]); initunlockedlevel = new Array(true, false, false, false, false, false, false, false, false, false, false, false); initunlockedspecial = new Array(false, false, false, false); initgold = 3500; initupgradelevel = new Array(0, 0, 0, 0); initresearchlevel = new Array(0, 0, 0, 0, 0, 0, 0); initplayermainbasehealth = 1000; initplayermainbaseattack = 1; initplayerunithealth = new Array(10, 50, 150, 500, 5000, 750, 4000); initplayerunitattack = new Array(1, 4, 12, 40, 200, 60, 20); initplayertowerhealth = new Array(1000, 1500, 2000, 10, 2500); initplayertowerattack = new Array(1, 5, 5, 50, 10); initunlockedplayerunit = new Array(true, false, false, false, false); initunlockedplayertower = new Array(false, false, false); initplayerunitcreatetimer = new Array(30, 60, 90, 120, 150, 60, 150); initplayertowercreatetimer = new Array(90, 180, 360, 60, 180); initcomputermainbasehealth = 2000; initcomputermainbaseattack = 1; initcomputerunithealth = new Array(10, 50, 150, 300, 500, 1000, 4000); initcomputerunitattack = new Array(1, 4, 12, 20, 40, 10, 15); initcomputertowerhealth = new Array(1000, 1500, 2500, 2500); initcomputertowerattack = new Array(2, 10, 10, 15); initunlockedcomputerunit = new Array(true, false, false, false, false, false, false); initdefaultcomputertower = new Array("guntower", "guntower", "guntower", "guntower"); initdefaultcomputertowerx = new Array(440, 520, 440, 520); initdefaultcomputertowery = new Array(740, 740, 660, 660); initcomputerunitstarttimer = new Array(0, 9000, 999999, 999999, 999999, 999999, 999999); initcomputerunitcreatetimer = new Array(90, 185, 365, 725, 1445, 2885, 5765); initcomputertowercreatetimer = new Array(90, 180, 360, 60, 180); totalduration = 0; levelduration = 0; levelstarttime = 0; levelstoptime = 0; gamewincount = 0; gamelostcount = 0; selectedlevel = 1; unlockedlevel = new Array(); playedlevel = new Array(); completedlevel = 0; unlockedspecial = new Array(); upgradelevel = new Array(); researchlevel = new Array(); unitcreatedtotal = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); unitlosttotal = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); unitkilledtotal = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); unitcreated = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); unitlost = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); unitkilled = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); playerunithealth = new Array(); playerunitattack = new Array(); playertowerhealth = new Array(); playertowerattack = new Array(); unlockedplayerunit = new Array(); unlockedplayertower = new Array(); playerunitcreatetimer = new Array(); playertowercreatetimer = new Array(); computerunithealth = new Array(); computerunitattack = new Array(); computertowerhealth = new Array(); computertowerattack = new Array(); unlockedcomputerunit = new Array(); defaultcomputertowercount = new Array(); defaultcomputertower = new Array(); defaultcomputertowerx = new Array(); defaultcomputertowery = new Array(); computerunitstarttimer = new Array(); computerunitcreatetimer = new Array(); computertowercreatetimer = new Array(); scenariogold = new Array(300, 500, 800, 1100, 1500, 1800, 2100, 2500, 2700, 3000, 3300, 3700); scenariounlockedplayerunit = new Array([true, false, false, false, false], [true, true, false, false, false], [true, true, true, false, false], [true, true, true, true, false], [true, true, true, true, true], [true, true, true, true, true], [true, true, true, true, true], [true, true, true, true, true], [true, true, true, true, true], [true, true, true, true, true], [true, true, true, true, true], [true, true, true, true, true]); scenariounlockedplayertower = new Array([false, false, false], [false, false, false], [true, false, false], [true, false, false], [true, false, false], [true, true, false], [true, true, false], [true, true, false], [true, true, true], [true, true, true], [true, true, true], [true, true, true]); scenariocomputermainbasehealth = new Array(1000, 2000, 2000, 6000, 8000, 10000, 12000, 14000, 16000, 18000, 20000, 25000); scenariocomputermainbaseattack = new Array(1, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 25); scenariodefaultcomputertowercount = new Array(0, 0, 0, 2, 2, 4, 4, 4, 4, 4, 4, 4); scenariodefaultcomputertower = new Array(["none", "none", "none", "none"], ["none", "none", "none", "none"], ["none", "none", "none", "none"], ["guntower", "guntower", "none", "none"], ["guntower", "guntower", "none", "none"], ["guntower", "guntower", "guntower", "guntower"], ["missiletower", "missiletower", "guntower", "guntower"], ["missiletower", "missiletower", "guntower", "guntower"], ["missiletower", "missiletower", "guntower", "guntower"], ["thundertower", "thundertower", "guntower", "guntower"], ["thundertower", "thundertower", "missiletower", "missiletower"], ["thundertower", "thundertower", "missiletower", "missiletower"]); scenariodefaultcomputertowerx = new Array([-40, 40, 440, 520], [-40, 40, -40, 40], [-40, 40, -40, 40], [-40, 40, -40, 40], [-40, 40, -40, 40], [-40, 40, -40, 40], [-40, 40, -40, 40], [-40, 40, -40, 40], [-140, 140, 140, -140], [-140, 140, 140, -140], [-140, 140, 140, -140], [-140, 140, 140, -140]); scenariodefaultcomputertowery = new Array([-150, 740, 660, 660], [-150, -150, -250, -250], [-150, -150, -250, -250], [-150, -150, -250, -250], [-150, -150, -250, -250], [-150, -150, -250, -250], [-150, -150, -250, -250], [-150, -150, -250, -250], [-75, -75, -150, -150], [-75, -75, -150, -150], [-75, -75, -150, -150], [-75, -75, -150, -150]); scenariocomputertowercreatetimer = new Array([300, 360, 480, 420], [300, 360, 480, 420], [300, 360, 480, 420], [300, 360, 480, 420], [270, 330, 450, 390], [270, 330, 450, 390], [270, 330, 450, 390], [270, 330, 450, 390], [240, 300, 420, 360], [240, 300, 420, 360], [240, 300, 420, 360], [240, 300, 420, 360]); scenariounlockedcomputerunit = new Array([true, false, false, false, false, false, false], [true, true, false, false, false, false, false], [true, true, true, false, false, false, false], [true, true, true, false, false, false, false], [true, true, true, true, false, false, false], [true, true, true, true, true, false, false], [true, true, true, true, true, true, false], [true, true, true, true, true, true, true], [false, true, true, true, true, true, true], [false, true, true, true, true, true, true], [false, false, true, true, true, true, true], [false, false, true, true, true, true, true]); scenariocomputerunitstarttimer = new Array([0, 999999, 999999, 999999, 999999, 999999, 999999], [0, 0, 999999, 999999, 999999, 999999, 999999], [0, 0, 0, 999999, 999999, 999999, 999999], [0, 0, 0, 0, 999999, 999999, 999999], [0, 0, 0, 0, 0, 999999, 999999], [0, 0, 0, 0, 0, 0, 999999], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0]); scenariocomputerunitcreatetimer = new Array([215, 9000, 9000, 9000, 9000, 9000, 9000], [215, 455, 9000, 9000, 9000, 9000, 9000], [185, 455, 905, 9000, 9000, 9000, 9000], [185, 455, 905, 1805, 9000, 9000, 9000], [155, 395, 785, 1565, 3605, 9000, 9000], [155, 395, 785, 1565, 3605, 5405, 9000], [185, 335, 665, 1325, 3125, 4685, 7205], [185, 335, 665, 1325, 3125, 4685, 7205], [215, 395, 545, 1085, 3645, 3965, 6245], [215, 395, 545, 1085, 3645, 3965, 6245], [245, 455, 665, 845, 2165, 3245, 5285], [245, 455, 665, 845, 2165, 3245, 5285]); kongregateServiceLoaded = false; BEST_ENEMY_KILL = 0; BEST_UNITS_BUILT = 0; BEST_UNITS_LOST = 0; BEST_EXP_EARN = 0; BEST_HIGHEST_LEVEL = 0; GAME_COMPLETED = 0; super(); thisparent = _thisparent; initKongregateAPI(thisparent); totalduration = 0; levelduration = 0; gamewincount = 0; gamelostcount = 0; experience = 0; totalexperience = 0; selectedlevel = 1; completedlevel = 0; i = 0; while (i < initunlockedlevel.length) { unlockedlevel[i] = initunlockedlevel[i]; playedlevel[i] = false; i++; }; i = 0; while (i < initunlockedspecial.length) { unlockedspecial[i] = initunlockedspecial[i]; i++; }; i = 0; while (i < initresearchlevel.length) { researchlevel[i] = initresearchlevel[i]; i++; }; initialize(); } public function towerEnabled(_n):Boolean{ var res:*; res = false; if (_n < 3){ res = unlockedplayertower[_n]; } else { res = unlockedspecial[(_n - 2)]; }; res = ((res) && ((gold >= playertowerprice[_n]))); return (res); } public function getLevelCompleted():int{ var num:*; var i:*; num = 0; i = 0; while (i < playedlevel.length) { if (playedlevel[i]){ num++; }; i++; }; return (Math.floor(num)); } public function getCreatedTroopsCount():String{ var i:*; var j:*; var k:*; var s:*; s = ""; i = (((unitcreated[0] + unitcreated[1]) + unitcreated[2]) + unitcreated[5]); j = ((unitcreated[3] + unitcreated[4]) + unitcreated[6]); k = ((((unitcreated[7] + unitcreated[8]) + unitcreated[9]) + unitcreated[10]) + unitcreated[11]); s = ((((Math.floor(i) + "\n") + Math.floor(j)) + "\n") + Math.floor(k)); return (s); } public function research3Enabled():Boolean{ var res:*; res = true; res = ((res) && ((researchlevel[2] < 3))); res = ((res) && ((experience >= playerresearchprice[2][researchlevel[2]]))); return (res); } public function getUnitLost():String{ var i:*; var s:*; s = ""; i = 0; while (i < unitlost.length) { s = (s + (String(unitlost[i]) + "\n")); i++; }; return (s); } public function checkStartTime(_t){ levelstarttime = _t; } public function getLostTroopsCount():String{ var i:*; var j:*; var k:*; var s:*; s = ""; i = (((unitlost[0] + unitlost[1]) + unitlost[2]) + unitlost[5]); j = ((unitlost[3] + unitlost[4]) + unitlost[6]); k = ((((unitlost[7] + unitlost[8]) + unitlost[9]) + unitlost[10]) + unitlost[11]); s = ((((Math.floor(i) + "\n") + Math.floor(j)) + "\n") + Math.floor(k)); return (s); } public function unit2Enabled():Boolean{ var res:*; res = false; res = unlockedplayerunit[1]; res = ((res) && ((gold >= playerunitprice[1]))); return (res); } public function research1Enabled():Boolean{ var res:*; res = true; res = ((res) && ((researchlevel[0] < 3))); res = ((res) && ((experience >= playerresearchprice[0][researchlevel[0]]))); return (res); } public function getUnitKill():int{ var num:*; var i:*; num = 0; i = 0; while (i < unitkilledtotal.length) { num = (num + unitkilledtotal[i]); i++; }; return (Math.floor(num)); } public function submitStat(){ BEST_ENEMY_KILL = getUnitKill(); BEST_UNITS_BUILT = getUnitBuild(); BEST_UNITS_LOST = getUnitDead(); BEST_EXP_EARN = getTotalExperience(); BEST_HIGHEST_LEVEL = getHighestLevel(); GAME_COMPLETED = getLevelCompleted(); if (((kongregate) && (kongregateServiceLoaded))){ kongregate.stats.submit("BEST_ENEMY_KILL", BEST_ENEMY_KILL); kongregate.stats.submit("BEST_UNITS_BUILT", BEST_UNITS_BUILT); kongregate.stats.submit("BEST_UNITS_LOST", BEST_UNITS_LOST); kongregate.stats.submit("BEST_EXP_EARN", BEST_EXP_EARN); kongregate.stats.submit("BEST_HIGHEST_LEVEL", BEST_HIGHEST_LEVEL); kongregate.stats.submit("GAME_COMPLETED", GAME_COMPLETED); }; } public function unit7Enabled():Boolean{ var res:*; res = false; res = unlockedspecial[3]; res = ((res) && ((gold >= playerunitprice[6]))); return (res); } public function getUnitBuild():int{ var num:*; var i:*; num = 0; i = 0; while (i < unitcreatedtotal.length) { num = (num + unitcreatedtotal[i]); i++; }; return (Math.floor(num)); } public function upgrade4Enabled():Boolean{ var res:*; res = false; res = (upgradelevel[3] < 3); res = ((res) && ((gold >= playerupgradeprice[3][upgradelevel[3]]))); return (res); } public function tower4Enabled():Boolean{ var res:*; res = false; res = unlockedspecial[1]; res = ((res) && ((gold >= playertowerprice[3]))); return (res); } public function addUnitKilled(_type){ switch (_type){ case "intrepid": var _local2 = unitkilled; var _local3:int; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitkilledtotal; _local3 = 0; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; gold = (gold + computerunitprice[0]); break; case "excelsior": _local2 = unitkilled; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitkilledtotal; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; gold = (gold + computerunitprice[1]); break; case "steamrunner": _local2 = unitkilled; _local3 = 2; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitkilledtotal; _local3 = 2; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; gold = (gold + computerunitprice[2]); break; case "ptolemy": _local2 = unitkilled; _local3 = 3; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitkilledtotal; _local3 = 3; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; gold = (gold + computerunitprice[3]); break; case "warhammer": _local2 = unitkilled; _local3 = 4; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitkilledtotal; _local3 = 4; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; gold = (gold + computerunitprice[4]); break; case "vanguard": _local2 = unitkilled; _local3 = 5; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitkilledtotal; _local3 = 5; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; gold = (gold + computerunitprice[5]); break; case "aircraftcarrier": _local2 = unitkilled; _local3 = 6; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitkilledtotal; _local3 = 6; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; gold = (gold + computerunitprice[6]); if (!unlockedspecial[3]){ if (unitkilledtotal[6] == 1){ thisparent.gameMgr.showSpecialEvent(4); unlockedspecial[3] = true; }; if (unitkilledtotal[6] >= 1){ unlockedspecial[3] = true; }; }; break; case "guntower": _local2 = unitkilled; _local3 = 7; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitkilledtotal; _local3 = 7; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; gold = (gold + computertowerprice[0]); break; case "missiletower": _local2 = unitkilled; _local3 = 8; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitkilledtotal; _local3 = 8; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; gold = (gold + computertowerprice[1]); break; case "plasmatower": _local2 = unitkilled; _local3 = 9; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitkilledtotal; _local3 = 9; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; gold = (gold + computertowerprice[2]); break; case "thundertower": _local2 = unitkilled; _local3 = 10; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitkilledtotal; _local3 = 10; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; gold = (gold + computertowerprice[3]); if (!unlockedspecial[2]){ if (unitkilledtotal[10] == 3){ thisparent.gameMgr.showSpecialEvent(3); unlockedspecial[2] = true; }; if (unitkilledtotal[10] >= 3){ unlockedspecial[2] = true; }; }; break; }; } public function addUnitLost(_type){ switch (_type){ case "avenger": var _local2 = unitlost; var _local3:int; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 0; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "thunderbolt": _local2 = unitlost; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "defender": _local2 = unitlost; _local3 = 2; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 2; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "battlecruiser": _local2 = unitlost; _local3 = 3; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 3; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "valour": _local2 = unitlost; _local3 = 4; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 4; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "secretstriker": _local2 = unitlost; _local3 = 5; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 5; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "aircraftcarrier": _local2 = unitlost; _local3 = 6; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 6; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "guntower": _local2 = unitlost; _local3 = 7; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 7; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "missiletower": _local2 = unitlost; _local3 = 8; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 8; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "thundertower": _local2 = unitlost; _local3 = 9; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 9; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "emptower": _local2 = unitlost; _local3 = 10; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 10; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "plasmatower": _local2 = unitlost; _local3 = 11; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitlosttotal; _local3 = 11; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; }; } public function research6Enabled():Boolean{ var res:*; res = true; res = ((res) && ((researchlevel[5] < 3))); res = ((res) && ((experience >= playerresearchprice[5][researchlevel[5]]))); return (res); } public function tower2Enabled():Boolean{ var res:*; res = false; res = unlockedplayertower[1]; res = ((res) && ((gold >= playertowerprice[1]))); return (res); } public function upgrade2Enabled():Boolean{ var res:*; res = false; res = (upgradelevel[1] < 3); res = ((res) && ((gold >= playerupgradeprice[1][upgradelevel[1]]))); return (res); } public function saveData(){ var so:SharedObject; so = SharedObject.getLocal(savelabel); so.data.selectedlevel = selectedlevel; so.data.unlockedlevel = unlockedlevel; so.data.playedlevel = playedlevel; so.data.completedlevel = completedlevel; so.data.unlockedspecial = unlockedspecial; so.data.experience = experience; so.data.totalexperience = totalexperience; so.data.researchlevel = researchlevel; so.data.gamewincount = gamewincount; so.data.gamelostcount = gamelostcount; so.data.unitcreatedtotal = unitcreatedtotal; so.data.unitlosttotal = unitlosttotal; so.data.unitkilledtotal = unitkilledtotal; so.data.totalduration = totalduration; so.flush(); } public function unit5Enabled():Boolean{ var res:*; res = false; res = unlockedplayerunit[4]; res = ((res) && ((gold >= playerunitprice[4]))); return (res); } public function checkData():Boolean{ var so:*; so = SharedObject.getLocal(savelabel); if (so.size == 0){ return (false); }; return (true); } public function recalculateData(){ var i:*; maxgold = (gold * 2); interest = ((gold * interestresearchvalue[researchlevel[5]]) / 30); i = 0; while (i < killgoldresearchvalue[researchlevel[6]].length) { if (i < 7){ computerunitprice[i] = killgoldresearchvalue[researchlevel[6]][i]; } else { computertowerprice[i] = killgoldresearchvalue[researchlevel[6]][i]; }; i++; }; playermainbasehealth = baseresearchhealth[researchlevel[0]]; playermainbaseattack = baseresearchattack[researchlevel[0]]; i = 0; while (i < playerunithealth.length) { playerunithealth[i] = unitresearchhealth[researchlevel[1]][i]; playerunitattack[i] = unitresearchattack[researchlevel[1]][i]; playerunitcreatetimer[i] = unitresearchtimer[researchlevel[3]][i]; i++; }; i = 0; while (i < playertowerhealth.length) { playertowerhealth[i] = towerresearchhealth[researchlevel[2]][i]; playertowerattack[i] = towerresearchattack[researchlevel[2]][i]; playertowercreatetimer[i] = towerresearchtimer[researchlevel[4]][i]; i++; }; } public function getResearchPrice(_n):int{ var res:*; res = 0; switch (_n){ case 1: if (researchlevel[0] < 3){ res = playerresearchprice[0][researchlevel[0]]; } else { res = 0; }; break; case 2: if (researchlevel[1] < 3){ res = playerresearchprice[1][researchlevel[1]]; } else { res = 0; }; break; case 3: if (researchlevel[2] < 3){ res = playerresearchprice[2][researchlevel[2]]; } else { res = 0; }; break; case 4: if (researchlevel[3] < 3){ res = playerresearchprice[3][researchlevel[3]]; } else { res = 0; }; break; case 5: if (researchlevel[4] < 3){ res = playerresearchprice[4][researchlevel[4]]; } else { res = 0; }; break; case 6: if (researchlevel[5] < 3){ res = playerresearchprice[5][researchlevel[5]]; } else { res = 0; }; break; case 7: if (researchlevel[6] < 3){ res = playerresearchprice[6][researchlevel[6]]; } else { res = 0; }; break; }; return (res); } public function setFinishedLevel(){ gamewincount++; switch (selectedlevel){ case 1: playedlevel[0] = true; unlockedlevel[1] = true; unlockedlevel[2] = true; selectedlevel = 2; if (completedlevel < 1){ completedlevel = 1; }; break; case 2: playedlevel[1] = true; unlockedlevel[3] = true; unlockedlevel[4] = true; selectedlevel = 3; if (completedlevel < 2){ completedlevel = 2; }; break; case 3: playedlevel[2] = true; unlockedlevel[3] = true; unlockedlevel[5] = true; selectedlevel = 4; if (completedlevel < 3){ completedlevel = 3; }; break; case 4: playedlevel[3] = true; unlockedlevel[4] = true; unlockedlevel[5] = true; unlockedlevel[6] = true; selectedlevel = 5; if (completedlevel < 4){ completedlevel = 4; }; break; case 5: playedlevel[4] = true; unlockedlevel[5] = true; unlockedlevel[6] = true; selectedlevel = 6; if (completedlevel < 5){ completedlevel = 5; }; break; case 6: playedlevel[5] = true; unlockedlevel[6] = true; unlockedlevel[7] = true; unlockedlevel[8] = true; selectedlevel = 7; if (completedlevel < 6){ completedlevel = 6; }; break; case 7: playedlevel[6] = true; unlockedlevel[5] = true; unlockedlevel[7] = true; unlockedlevel[8] = true; selectedlevel = 8; if (completedlevel < 7){ completedlevel = 7; }; break; case 8: playedlevel[7] = true; unlockedlevel[8] = true; selectedlevel = 9; if (completedlevel < 8){ completedlevel = 8; }; if (((((playedlevel[7]) && (playedlevel[8]))) && (playedlevel[9]))){ selectedlevel = 11; unlockedlevel[10] = true; }; break; case 9: playedlevel[8] = true; unlockedlevel[7] = true; unlockedlevel[9] = true; selectedlevel = 10; if (completedlevel < 9){ completedlevel = 9; }; if (((((playedlevel[7]) && (playedlevel[8]))) && (playedlevel[9]))){ selectedlevel = 11; unlockedlevel[10] = true; }; break; case 10: playedlevel[9] = true; unlockedlevel[8] = true; selectedlevel = 11; if (completedlevel < 10){ completedlevel = 10; }; if (((((playedlevel[7]) && (playedlevel[8]))) && (playedlevel[9]))){ selectedlevel = 11; unlockedlevel[10] = true; }; break; case 11: playedlevel[10] = true; unlockedlevel[11] = true; selectedlevel = 12; if (completedlevel < 11){ completedlevel = 11; }; break; case 12: playedlevel[11] = true; selectedlevel = 1; if (completedlevel < 12){ completedlevel = 12; }; break; }; saveData(); submitStat(); } public function getUpgradePrice(_n):int{ var res:*; res = 0; switch (_n){ case 1: if (upgradelevel[0] < 3){ res = playerupgradeprice[0][upgradelevel[0]]; } else { res = 0; }; break; case 2: if (upgradelevel[1] < 3){ res = playerupgradeprice[1][upgradelevel[1]]; } else { res = 0; }; break; case 3: if (upgradelevel[2] < 3){ res = playerupgradeprice[2][upgradelevel[2]]; } else { res = 0; }; break; case 4: if (upgradelevel[3] < 3){ res = playerupgradeprice[3][upgradelevel[3]]; } else { res = 0; }; break; case 5: res = 2; break; }; return (res); } public function getDestroyedEnemiesScore(_gamewin):String{ var i:*; var j:*; var k:*; var s:*; s = ""; i = (((((unitkilled[0] * 1) * 2) + ((unitkilled[1] * 2) * 2)) + ((unitkilled[2] * 3) * 2)) + ((unitkilled[3] * 4) * 2)); j = ((((unitkilled[4] * 5) * 2) + ((unitkilled[5] * 6) * 2)) + ((unitkilled[6] * 7) * 2)); k = (((((unitkilled[7] * 8) * 2) + ((unitkilled[8] * 9) * 2)) + ((unitkilled[9] * 10) * 2)) + ((unitkilled[10] * 11) * 2)); s = ((((Math.floor(i) + "\n") + Math.floor(j)) + "\n") + Math.floor(k)); return (s); } public function unit3Enabled():Boolean{ var res:*; res = false; res = unlockedplayerunit[2]; res = ((res) && ((gold >= playerunitprice[2]))); return (res); } public function checkStopTime(_t){ levelstoptime = _t; levelduration = (levelstoptime - levelstarttime); totalduration = (totalduration + levelduration); } private function serviceLoaded(e:KongregateEvent):void{ kongregate.services.connect(); kongregateServiceLoaded = true; } public function getUnitKilled():String{ var i:*; var s:*; s = ""; i = 0; while (i < unitkilled.length) { s = (s + (String(unitkilled[i]) + "\n")); i++; }; return (s); } private function initKongregateAPI(_stage){ kongregate = new KongregateAPI(); _stage.addChild(kongregate); kongregate.addEventListener(KongregateEvent.COMPLETE, serviceLoaded, false, 0, true); } public function getStatistics():String{ var s:*; s = ""; s = (s + (Math.floor(gamewincount) + "\n")); s = (s + (Math.floor(gamelostcount) + "\n\n")); s = (s + (Math.floor(((((((unitcreatedtotal[0] + unitcreatedtotal[1]) + unitcreatedtotal[2]) + unitcreatedtotal[3]) + unitcreatedtotal[4]) + unitcreatedtotal[5]) + unitcreatedtotal[6])) + "\n")); s = (s + (Math.floor(((((((unitlosttotal[0] + unitlosttotal[1]) + unitlosttotal[2]) + unitlosttotal[3]) + unitlosttotal[4]) + unitlosttotal[5]) + unitlosttotal[6])) + "\n")); s = (s + (Math.floor(((((((unitkilledtotal[0] + unitkilledtotal[1]) + unitkilledtotal[2]) + unitkilledtotal[3]) + unitkilledtotal[4]) + unitkilledtotal[5]) + unitkilledtotal[6])) + "\n\n")); s = (s + (Math.floor(((((unitcreatedtotal[7] + unitcreatedtotal[8]) + unitcreatedtotal[9]) + unitcreatedtotal[10]) + unitcreatedtotal[11])) + "\n")); s = (s + (Math.floor(((((unitlosttotal[7] + unitlosttotal[8]) + unitlosttotal[9]) + unitlosttotal[10]) + unitlosttotal[11])) + "\n")); s = (s + (Math.floor((((unitkilledtotal[7] + unitkilledtotal[8]) + unitkilledtotal[9]) + unitkilledtotal[10])) + "\n\n")); s = (s + (Math.floor(totalexperience) + "\n")); s = (s + Math.floor(experience)); return (s); } public function research4Enabled():Boolean{ var res:*; res = true; res = ((res) && ((researchlevel[3] < 3))); res = ((res) && ((experience >= playerresearchprice[3][researchlevel[3]]))); return (res); } public function doUpgrade1(_playerBaseMC){ var newhealth:*; if (upgradelevel[0] < 3){ gold = (gold - playerupgradeprice[0][upgradelevel[0]]); var _local3 = upgradelevel; var _local4:int; var _local5 = (_local3[_local4] + 1); _local3[_local4] = _local5; newhealth = (_playerBaseMC.maxhealth * playerbasehealthupgradeconst); _playerBaseMC.health = (_playerBaseMC.health + (newhealth - _playerBaseMC.maxhealth)); _playerBaseMC.maxhealth = newhealth; }; } public function doUpgrade2(){ var i:*; if (upgradelevel[1] < 3){ gold = (gold - playerupgradeprice[1][upgradelevel[1]]); var _local2 = upgradelevel; var _local3 = 1; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; i = 0; while (i < playertowerhealth.length) { playertowerhealth[i] = (playertowerhealth[i] * playertowerhealthupgradeconst); i++; }; }; } public function doUpgrade3(){ var i:*; if (upgradelevel[2] < 3){ gold = (gold - playerupgradeprice[2][upgradelevel[2]]); var _local2 = upgradelevel; var _local3 = 2; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; i = 0; while (i < playerunithealth.length) { playerunithealth[i] = (playerunithealth[i] * playerunithealthupgradeconst); i++; }; }; } public function doUpgrade4(){ var i:*; if (upgradelevel[3] < 3){ gold = (gold - playerupgradeprice[3][upgradelevel[3]]); var _local2 = upgradelevel; var _local3 = 3; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; i = 0; while (i < playerunitattack.length) { playerunitattack[i] = (playerunitattack[i] * playerunitattackupgradeconst); i++; }; }; } public function tower5Enabled():Boolean{ var res:*; res = false; res = unlockedspecial[2]; res = ((res) && ((gold >= playertowerprice[4]))); return (res); } public function research2Enabled():Boolean{ var res:*; res = true; res = ((res) && ((researchlevel[1] < 3))); res = ((res) && ((experience >= playerresearchprice[1][researchlevel[1]]))); return (res); } public function unit1Enabled():Boolean{ var res:*; res = false; res = unlockedplayerunit[0]; res = ((res) && ((gold >= playerunitprice[0]))); return (res); } public function addUnitCreated(_type){ switch (_type){ case "avenger": var _local2 = unitcreated; var _local3:int; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 0; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "thunderbolt": _local2 = unitcreated; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; if (!unlockedspecial[0]){ if (unitcreatedtotal[1] == 100){ thisparent.gameMgr.showSpecialEvent(1); unlockedspecial[0] = true; }; if (unitcreatedtotal[1] >= 100){ unlockedspecial[0] = true; }; }; break; case "defender": _local2 = unitcreated; _local3 = 2; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 2; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "battlecruiser": _local2 = unitcreated; _local3 = 3; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 3; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "valour": _local2 = unitcreated; _local3 = 4; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 4; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "secretstriker": _local2 = unitcreated; _local3 = 5; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 5; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "aircraftcarrier": _local2 = unitcreated; _local3 = 6; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 6; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "guntower": _local2 = unitcreated; _local3 = 7; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 7; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; if (!unlockedspecial[1]){ if (unitcreatedtotal[7] == 10){ thisparent.gameMgr.showSpecialEvent(2); unlockedspecial[1] = true; }; if (unitcreatedtotal[7] >= 10){ unlockedspecial[1] = true; }; }; break; case "missiletower": _local2 = unitcreated; _local3 = 8; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 8; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "thundertower": _local2 = unitcreated; _local3 = 9; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 9; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "emptower": _local2 = unitcreated; _local3 = 10; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 10; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; case "plasmatower": _local2 = unitcreated; _local3 = 11; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = unitcreatedtotal; _local3 = 11; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; break; }; } public function getTotalTime():String{ var tparser:*; tparser = new TimeParser(); return (tparser.Parse(totalduration)); } public function setUnfinishedLevel(){ gamelostcount++; saveData(); submitStat(); } public function upgrade5Enabled(_health, _maxhealth):Boolean{ var res:*; res = false; res = (gold >= 2); res = ((res) && ((_health < _maxhealth))); return (res); } public function getNewExperience(_gamewin):int{ var exp:*; var i:*; exp = 0; i = 0; while (i < unitkilled.length) { exp = (exp + ((unitkilled[i] * (i + 1)) * 2)); i++; }; i = 0; while (i < unitcreated.length) { exp = (exp + (unitcreated[i] * (i + 1))); i++; }; i = 0; while (i < unitlost.length) { exp = (exp - ((unitlost[i] * (i + 1)) / 2)); i++; }; if (exp < 0){ exp = 0; }; if (_gamewin){ totalexperience = (totalexperience + Math.floor(exp)); experience = (experience + Math.floor(exp)); } else { totalexperience = (totalexperience + Math.floor((exp / 2))); experience = (experience + Math.floor((exp / 2))); }; return (exp); } public function getUnitDead():int{ var num:*; var i:*; num = 0; i = 0; while (i < unitlosttotal.length) { num = (num + unitlosttotal[i]); i++; }; return (Math.floor(num)); } public function getDestroyedEnemiesCount():String{ var i:*; var j:*; var k:*; var s:*; s = ""; i = (((unitkilled[0] + unitkilled[1]) + unitkilled[2]) + unitkilled[3]); j = ((unitkilled[4] + unitkilled[5]) + unitkilled[6]); k = (((unitkilled[7] + unitkilled[8]) + unitkilled[9]) + unitkilled[10]); s = ((((Math.floor(i) + "\n") + Math.floor(j)) + "\n") + Math.floor(k)); return (s); } public function tower3Enabled():Boolean{ var res:*; res = false; res = unlockedplayertower[2]; res = ((res) && ((gold >= playertowerprice[2]))); return (res); } public function resetData(){ selectedlevel = 1; unlockedlevel = new Array(true, false, false, false, false, false, false, false, false, false, false, false); playedlevel = new Array(false, false, false, false, false, false, false, false, false, false, false, false); completedlevel = 0; unlockedspecial = new Array(false, false, false, false); experience = 0; totalexperience = 0; researchlevel = new Array(0, 0, 0, 0, 0, 0, 0); gamewincount = 0; gamelostcount = 0; unitcreatedtotal = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); unitlosttotal = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); unitkilledtotal = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); levelduration = 0; totalduration = 0; unitcreated = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); unitlost = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); unitkilled = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); } public function research7Enabled():Boolean{ var res:*; res = true; res = ((res) && ((researchlevel[6] < 3))); res = ((res) && ((experience >= playerresearchprice[6][researchlevel[6]]))); return (res); } public function getCreatedTroopsScore(_gamewin):String{ var i:*; var j:*; var k:*; var s:*; s = ""; i = ((((unitcreated[0] * 1) + (unitcreated[1] * 2)) + (unitcreated[2] * 3)) + (unitcreated[5] * 6)); j = (((unitcreated[3] * 4) + (unitcreated[4] * 5)) + (unitcreated[6] * 7)); k = (((((unitcreated[7] * 8) + (unitcreated[8] * 9)) + (unitcreated[9] * 10)) + (unitcreated[10] * 11)) + (unitcreated[11] * 12)); s = ((((Math.floor(i) + "\n") + Math.floor(j)) + "\n") + Math.floor(k)); return (s); } public function doResearch1(){ experience = (experience - playerresearchprice[0][researchlevel[0]]); var _local1 = researchlevel; var _local2:int; var _local3 = (_local1[_local2] + 1); _local1[_local2] = _local3; } public function doResearch2(){ experience = (experience - playerresearchprice[1][researchlevel[1]]); var _local1 = researchlevel; var _local2 = 1; var _local3 = (_local1[_local2] + 1); _local1[_local2] = _local3; } public function doResearch3(){ experience = (experience - playerresearchprice[2][researchlevel[2]]); var _local1 = researchlevel; var _local2 = 2; var _local3 = (_local1[_local2] + 1); _local1[_local2] = _local3; } public function unit6Enabled():Boolean{ var res:*; res = false; res = unlockedspecial[0]; res = ((res) && ((gold >= playerunitprice[5]))); return (res); } public function upgrade3Enabled():Boolean{ var res:*; res = false; res = (upgradelevel[2] < 3); res = ((res) && ((gold >= playerupgradeprice[2][upgradelevel[2]]))); return (res); } private function initialize(){ var i:*; levelduration = 0; i = 0; while (i < initupgradelevel.length) { upgradelevel[i] = initupgradelevel[i]; i++; }; i = 0; while (i < unitkilled.length) { unitkilled[0] = 0; i++; }; i = 0; while (i < unitcreated.length) { unitcreated[0] = 0; unitlost[0] = 0; i++; }; playermainbasehealth = initplayermainbasehealth; playermainbaseattack = initplayermainbaseattack; i = 0; while (i < initplayerunithealth.length) { playerunithealth[i] = initplayerunithealth[i]; playerunitattack[i] = initplayerunitattack[i]; playerunitcreatetimer[i] = initplayerunitcreatetimer[i]; i++; }; i = 0; while (i < initplayertowerhealth.length) { playertowerhealth[i] = initplayertowerhealth[i]; playertowerattack[i] = initplayertowerattack[i]; playertowercreatetimer[i] = initplayertowercreatetimer[i]; i++; }; i = 0; while (i < initunlockedplayerunit.length) { unlockedplayerunit[i] = initunlockedplayerunit[i]; i++; }; i = 0; while (i < initunlockedplayertower.length) { unlockedplayertower[i] = initunlockedplayertower[i]; i++; }; computermainbasehealth = initcomputermainbasehealth; computermainbaseattack = initcomputermainbaseattack; i = 0; while (i < initcomputerunithealth.length) { computerunithealth[i] = initcomputerunithealth[i]; computerunitattack[i] = initcomputerunitattack[i]; computerunitstarttimer[i] = initcomputerunitstarttimer[i]; computerunitcreatetimer[i] = initcomputerunitcreatetimer[i]; unlockedcomputerunit[i] = initunlockedcomputerunit[i]; i++; }; i = 0; while (i < initcomputertowerhealth.length) { computertowerhealth[i] = initcomputertowerhealth[i]; computertowerattack[i] = initcomputertowerattack[i]; computertowercreatetimer[i] = initcomputertowercreatetimer[i]; i++; }; i = 0; while (i < initdefaultcomputertowerx.length) { defaultcomputertower[i] = initdefaultcomputertower[i]; defaultcomputertowerx[i] = initdefaultcomputertowerx[i]; defaultcomputertowery[i] = initdefaultcomputertowery[i]; i++; }; } public function doResearch6(){ experience = (experience - playerresearchprice[5][researchlevel[5]]); var _local1 = researchlevel; var _local2 = 5; var _local3 = (_local1[_local2] + 1); _local1[_local2] = _local3; } public function doResearch5(){ experience = (experience - playerresearchprice[4][researchlevel[4]]); var _local1 = researchlevel; var _local2 = 4; var _local3 = (_local1[_local2] + 1); _local1[_local2] = _local3; } public function loadData():Boolean{ var res:*; var so:*; res = true; so = SharedObject.getLocal(savelabel); if (so.size == 0){ so.data.selectedlevel = selectedlevel; so.data.unlockedlevel = unlockedlevel; so.data.playedlevel = playedlevel; so.data.completedlevel = completedlevel; so.data.unlockedspecial = unlockedspecial; so.data.experience = experience; so.data.totalexperience = totalexperience; so.data.researchlevel = researchlevel; so.data.gamewincount = gamewincount; so.data.gamelostcount = gamelostcount; so.data.unitcreatedtotal = unitcreatedtotal; so.data.unitlosttotal = unitlosttotal; so.data.unitkilledtotal = unitkilledtotal; so.data.totalduration = totalduration; so.flush(); res = false; }; resetData(); if (so.data.selectedlevel){ selectedlevel = so.data.selectedlevel; unlockedlevel = so.data.unlockedlevel; playedlevel = so.data.playedlevel; completedlevel = so.data.completedlevel; unlockedspecial = so.data.unlockedspecial; experience = so.data.experience; totalexperience = so.data.totalexperience; researchlevel = so.data.researchlevel; gamewincount = so.data.gamewincount; gamelostcount = so.data.gamelostcount; unitcreatedtotal = so.data.unitcreatedtotal; unitlosttotal = so.data.unitlosttotal; unitkilledtotal = so.data.unitkilledtotal; totalduration = so.data.totalduration; } else { res = false; }; return (res); } public function getLevelTime():String{ var tparser:*; tparser = new TimeParser(); return (tparser.Parse(levelduration)); } public function getTotalExperience():int{ var num:*; num = 0; num = totalexperience; return (Math.floor(num)); } public function getHighestLevel():int{ var num:*; num = 0; num = completedlevel; return (Math.floor(num)); } public function doResearch7(){ experience = (experience - playerresearchprice[6][researchlevel[6]]); var _local1 = researchlevel; var _local2 = 6; var _local3 = (_local1[_local2] + 1); _local1[_local2] = _local3; } public function tower1Enabled():Boolean{ var res:*; res = false; res = unlockedplayertower[0]; res = ((res) && ((gold >= playertowerprice[0]))); return (res); } public function doResearch4(){ experience = (experience - playerresearchprice[3][researchlevel[3]]); var _local1 = researchlevel; var _local2 = 3; var _local3 = (_local1[_local2] + 1); _local1[_local2] = _local3; } public function getLostTroopsScore(_gamewin):String{ var i:*; var j:*; var k:*; var s:*; s = ""; i = ((((-1 * ((unitlost[0] * 1) / 2)) + ((unitlost[1] * 2) / 2)) + ((unitlost[2] * 3) / 2)) + ((unitlost[5] * 6) / 2)); j = (((-1 * ((unitlost[3] * 4) / 2)) + ((unitlost[4] * 5) / 2)) + ((unitlost[6] * 7) / 2)); k = (((((-1 * ((unitlost[7] * 8) / 2)) + ((unitlost[8] * 9) / 2)) + ((unitlost[9] * 10) / 2)) + ((unitlost[10] * 11) / 2)) + ((unitlost[11] * 12) / 2)); s = ((((Math.floor(i) + "\n") + Math.floor(j)) + "\n") + Math.floor(k)); return (s); } public function selectLevel(_lev=0){ var i:*; if (_lev != 0){ if (unlockedlevel[(_lev - 1)]){ selectedlevel = _lev; } else { selectedlevel = 1; }; }; gold = scenariogold[(selectedlevel - 1)]; initcomputermainbasehealth = scenariocomputermainbasehealth[(selectedlevel - 1)]; initcomputermainbaseattack = scenariocomputermainbaseattack[(selectedlevel - 1)]; i = 0; while (i < initunlockedplayerunit.length) { initunlockedplayerunit[i] = scenariounlockedplayerunit[(selectedlevel - 1)][i]; i++; }; i = 0; while (i < initunlockedplayertower.length) { initunlockedplayertower[i] = scenariounlockedplayertower[(selectedlevel - 1)][i]; i++; }; defaultcomputertowercount = scenariodefaultcomputertowercount[(selectedlevel - 1)]; i = 0; while (i < initdefaultcomputertower.length) { initdefaultcomputertower[i] = scenariodefaultcomputertower[(selectedlevel - 1)][i]; initdefaultcomputertowerx[i] = scenariodefaultcomputertowerx[(selectedlevel - 1)][i]; initdefaultcomputertowery[i] = scenariodefaultcomputertowery[(selectedlevel - 1)][i]; initcomputertowercreatetimer[i] = scenariocomputertowercreatetimer[(selectedlevel - 1)][i]; i++; }; i = 0; while (i < initunlockedcomputerunit.length) { initunlockedcomputerunit[i] = scenariounlockedcomputerunit[(selectedlevel - 1)][i]; initcomputerunitstarttimer[i] = scenariocomputerunitstarttimer[(selectedlevel - 1)][i]; initcomputerunitcreatetimer[i] = scenariocomputerunitcreatetimer[(selectedlevel - 1)][i]; i++; }; initialize(); recalculateData(); if (!unlockedspecial[0]){ if (unitcreatedtotal[1] >= 100){ unlockedspecial[0] = true; }; }; if (!unlockedspecial[1]){ if (unitcreatedtotal[7] >= 10){ unlockedspecial[1] = true; }; }; if (!unlockedspecial[2]){ if (unitkilledtotal[10] >= 3){ unlockedspecial[2] = true; }; }; if (!unlockedspecial[3]){ if (unitkilledtotal[6] >= 1){ unlockedspecial[3] = true; }; }; } public function research5Enabled():Boolean{ var res:*; res = true; res = ((res) && ((researchlevel[4] < 3))); res = ((res) && ((experience >= playerresearchprice[4][researchlevel[4]]))); return (res); } public function unit4Enabled():Boolean{ var res:*; res = false; res = unlockedplayerunit[3]; res = ((res) && ((gold >= playerunitprice[3]))); return (res); } public function upgrade1Enabled():Boolean{ var res:*; res = false; res = (upgradelevel[0] < 3); res = ((res) && ((gold >= playerupgradeprice[0][upgradelevel[0]]))); return (res); } } }//package
Section 99
//DropParticleBase (DropParticleBase) package { import flash.events.*; import flash.display.*; public class DropParticleBase extends MovieClip { public var live; public var scalestep;// = 0.01 public var alphastep;// = 0.02 public var xstep; public var ystep; public function DropParticleBase(){ alphastep = 0.02; scalestep = 0.01; super(); } public function init(){ live = Math.floor(((Math.random() * 20) + 10)); xstep = ((Math.random() * 10) - 5); ystep = ((Math.random() * 10) - 5); this.rotation = ((Math.random() * 360) - 180); this.gotoAndStop(1); this.addEventListener(Event.ENTER_FRAME, moveClip, false, 0, true); } public function moveClip(e=null){ if (live > 0){ live--; ystep = (ystep + 0.3); if (xstep > 0.3){ xstep = (xstep - 0.3); } else { if (xstep < -0.3){ xstep = (xstep + 0.3); } else { xstep = 0; }; }; this.x = (this.x + xstep); this.y = (this.y + ystep); this.scaleX = (this.scaleX - scalestep); this.scaleY = (this.scaleY - scalestep); this.rotation++; } else { if (this.currentLabel != "destroyed"){ this.removeEventListener(Event.ENTER_FRAME, moveClip); this.gotoAndStop("destroyed"); }; }; } } }//package
Section 100
//FloatingBaseObjectBase (FloatingBaseObjectBase) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.utils.*; public class FloatingBaseObjectBase extends MovieClip { public var maxhealth; public var attack; public var health; public var typed;// = "mainbase" private var unitstatus;// = "idle" private var target; private var targetdistance; private var stopy; public var mcrepair:MovieClip; private var createtime; private var thisparent; private var firemode;// = "auto" private var gamemgr; public var sided;// = "player" public var gun1:MovieClip; public var gun2:MovieClip; public function FloatingBaseObjectBase(){ sided = "player"; typed = "mainbase"; unitstatus = "idle"; firemode = "auto"; super(); } public function init(){ thisparent = this.parent; gamemgr = thisparent.myParent; unitstatus = "idle"; createtime = getTimer(); stopy = this.y; health = gamemgr.gameData.playermainbasehealth; attack = gamemgr.gameData.playermainbaseattack; maxhealth = health; gamemgr.stagePanel.mcplayerbasehealthbar.gotoAndStop(101); gamemgr.stagePanel.mcplayerbasehealthbar.txt.text = Math.floor(health); this.cacheAsBitmap = true; this.addEventListener(MouseEvent.MOUSE_UP, toggleFireMenu, false, 0, true); this.addEventListener(MouseEvent.MOUSE_OVER, showData, false, 0, true); } public function reduceHealth2(_dmg){ var prevhealth:*; if (_dmg > health){ health = 0; gamemgr.stagePanel.mcplayerbasehealthbar.gotoAndStop(1); gamemgr.stagePanel.mcplayerbasehealthbar.txt.text = "0"; gamemgr.stageParticle.createParticle(typed, this.x, this.y, this.rotation, this.width); unitstatus = "destroyed"; if (this.currentLabel != "destroyed"){ this.gotoAndStop("destroyed"); }; } else { prevhealth = health; health = (health - _dmg); gamemgr.stagePanel.mcplayerbasehealthbar.gotoAndStop((Math.floor(((health / maxhealth) * 100)) + 1)); gamemgr.stagePanel.mcplayerbasehealthbar.txt.text = Math.floor(health); if ((health / maxhealth) < 0.33){ if ((prevhealth / maxhealth) >= 0.33){ gamemgr.showMessage("Our base is in critical point"); gamemgr.sndMgr.playBGM("high"); }; }; }; } private function getClosestEnemy():Object{ var dist:*; var obj:*; var dist2:*; var obj2:*; var i:*; dist = 100; obj = null; if (thisparent.computerUnits.length > 0){ obj = thisparent.computerUnits[0]; dist = getDistance(this, obj); i = 1; while (i < thisparent.computerUnits.length) { obj2 = thisparent.computerUnits[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; }; if (obj){ target = obj; targetdistance = dist; }; return (obj); } public function deinit(){ this.stop(); this.removeEventListener(MouseEvent.MOUSE_UP, toggleFireMenu); this.removeEventListener(MouseEvent.MOUSE_OVER, showData); } private function getAngle(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (((Math.atan2(dy, dx) * 180) / Math.PI)); } private function toggleFireMenu(e){ if (gamemgr.stagePanel.selectfiremode.currentLabel == "shown"){ gamemgr.stagePanel.selectfiremode.gotoAndPlay("hide"); } else { gamemgr.stagePanel.selectfiremode.gotoAndPlay("show"); }; } private function attackMove(){ var t:*; t = getTimer(); this.y = (stopy + (Math.sin((((t - createtime) / 3000) * Math.PI)) * 5)); } private function showData(e=null){ gamemgr.setFocusObject(this); } public function reduceHealth(_obj){ var prevhealth:*; if (_obj.damage > health){ health = 0; gamemgr.stagePanel.mcplayerbasehealthbar.gotoAndStop(1); gamemgr.stagePanel.mcplayerbasehealthbar.txt.text = "0"; gamemgr.stageParticle.createParticle(typed, this.x, this.y, this.rotation, this.width); unitstatus = "destroyed"; if (this.currentLabel != "destroyed"){ this.gotoAndStop("destroyed"); }; } else { prevhealth = health; health = (health - _obj.damage); gamemgr.stagePanel.mcplayerbasehealthbar.gotoAndStop((Math.floor(((health / maxhealth) * 100)) + 1)); gamemgr.stagePanel.mcplayerbasehealthbar.txt.text = Math.floor(health); gamemgr.stageParticle.createParticle(_obj.typed, _obj.x, _obj.y, _obj.rotation); if ((health / maxhealth) < 0.33){ if ((prevhealth / maxhealth) >= 0.33){ gamemgr.showMessage("Our base is in critical point"); gamemgr.sndMgr.playBGM("high"); }; }; }; } private function getDistance(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (Math.sqrt(((dx * dx) + (dy * dy)))); } private function moveWeaponAutomatic(){ var gunangle1:*; var gunangle2:*; gunangle1 = 90; gunangle2 = 90; target = getClosestEnemy(); if (((target) && ((targetdistance < 400)))){ gunangle1 = (180 - getAngle(new Point(((this.x + gun1.x) - 240), (this.y + gun1.y)), new Point((target.x - 240), target.y))); gunangle2 = (180 - getAngle(new Point(((this.x + gun2.x) - 240), (this.y + gun2.y)), new Point((target.x - 240), target.y))); }; gun1.rotation = gunangle1; gun2.rotation = gunangle2; } private function moveWeaponManual(){ var gunangle1:*; var gunangle2:*; gunangle1 = (180 - getAngle(new Point(((this.x + gun1.x) - 240), (this.y + gun1.y)), new Point(gamemgr.mouseStageX, gamemgr.mouseStageY))); gunangle2 = (180 - getAngle(new Point(((this.x + gun2.x) - 240), (this.y + gun2.y)), new Point(gamemgr.mouseStageX, gamemgr.mouseStageY))); gun1.rotation = gunangle1; gun2.rotation = gunangle2; } private function doAttack(){ if (gun1.mcgunfire.currentFrame == 2){ gun1.mcgunfire.gotoAndPlay(3); gamemgr.stageParticle.createPlayerBullet("gunbullet", attack, (this.x + gun1.x), (this.y + gun1.y), gun1.rotation, this); }; if (gun2.mcgunfire.currentFrame == 2){ gun2.mcgunfire.gotoAndPlay(3); gamemgr.stageParticle.createPlayerBullet("gunbullet", attack, (this.x + gun2.x), (this.y + gun2.y), gun2.rotation, this); }; } public function moveClip(){ if (gamemgr.stagePanel.selectfiremode.currentFrame == gamemgr.stagePanel.selectfiremode.totalFrames){ firemode = gamemgr.stagePanel.selectfiremode.firemode; }; if (unitstatus == "idle"){ idleMove(); if (firemode == "manual"){ moveWeaponManual(); if (gamemgr.mousePress){ doAttack(); }; } else { if (firemode == "semi"){ moveWeaponManual(); target = getClosestEnemy(); if (((target) && ((targetdistance < 300)))){ doAttack(); }; } else { if (firemode == "auto"){ moveWeaponAutomatic(); if (((target) && ((targetdistance < 250)))){ doAttack(); }; }; }; }; }; gamemgr.stagePanel.mcplayerbasehealthbar.gotoAndStop((Math.floor(((health / maxhealth) * 100)) + 1)); gamemgr.stagePanel.mcplayerbasehealthbar.txt.text = Math.floor(health); } public function reinit(){ this.play(); this.addEventListener(MouseEvent.MOUSE_UP, toggleFireMenu, false, 0, true); this.addEventListener(MouseEvent.MOUSE_OVER, showData, false, 0, true); } private function idleMove(){ var t:*; t = getTimer(); this.y = (stopy + (Math.sin((((t - createtime) / 3000) * Math.PI)) * 5)); } } }//package
Section 101
//GameManager (GameManager) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.utils.*; import flash.filters.*; public class GameManager extends MovieClip { public var mouseScrollUp;// = false public var mouseStageY;// = 240 public var stageScene; private var focusObject;// = null private var towerPosCapture;// = false private var focusType;// = "Avenger" public var mouseStageX;// = 240 private var focusSide;// = "Player" public var gameStatus;// = "playing" public var mousePress;// = false private var stageScrollDown;// = false public var gameData; public var stageBackground; public var stageTutor;// = null private var unitQueueCountDown;// = 0 public var computerMgr; public var stageOption; private var zoomingLocked;// = false public var repairing;// = false private var focusTimer;// = 0 private var unitQueueTimer; private var unitQueueNames; private var stageScrollUp;// = false public var myParent; public var controlMgr; public var mouseScrollDown;// = false private var zoomingOut;// = false public var stageParticle; public var stagePanel; private var repairtimer;// = 0 public var sndMgr; public function GameManager(_myParent){ stageOption = new mc_optionpanel(); stageTutor = null; stagePanel = new StagePanel(); stageScene = new SceneContainer(); stageParticle = new ParticleContainerBase(); mouseStageX = 240; mouseStageY = 240; mousePress = false; mouseScrollUp = false; mouseScrollDown = false; zoomingOut = false; zoomingLocked = false; stageScrollUp = false; stageScrollDown = false; unitQueueNames = new Array(); unitQueueTimer = new Array(); unitQueueCountDown = 0; focusTimer = 0; focusObject = null; focusSide = "Player"; focusType = "Avenger"; towerPosCapture = false; gameStatus = "playing"; repairing = false; repairtimer = 0; super(); myParent = MovieClip(_myParent); gameData = myParent.gameData; sndMgr = myParent.sndMgr; startGame(); } public function stopScrollingUp(e=null){ stageScrollUp = false; } public function getTowerPosition2(e=null){ if (gameData.tower2Enabled()){ if ((stageScene.playerTowers.length + stageScene.playerCreateTowerType.length) < 4){ resetView(); stagePanel.towercreatepanel.gotoAndStop(1); stagePanel.towercreatepanel.startCapture(2, stageScene.playerTowers, stageScene.playerCreateTowerPos); towerPosCapture = true; showMessage("Put your new tower"); showMessage("Press [ESC] to cancel"); } else { showMessage("Maximum number of tower"); }; } else { showMessage("Can't create tower"); }; } public function getTowerPosition3(e=null){ if (gameData.tower3Enabled()){ if ((stageScene.playerTowers.length + stageScene.playerCreateTowerType.length) < 4){ resetView(); stagePanel.towercreatepanel.gotoAndStop(1); stagePanel.towercreatepanel.startCapture(3, stageScene.playerTowers, stageScene.playerCreateTowerPos); towerPosCapture = true; showMessage("Put your new tower"); showMessage("Press [ESC] to cancel"); } else { showMessage("Maximum number of tower"); }; } else { showMessage("Can't create tower"); }; } public function getTowerPosition4(e=null){ if (gameData.tower4Enabled()){ if ((stageScene.playerTowers.length + stageScene.playerCreateTowerType.length) < 4){ resetView(); stagePanel.towercreatepanel.gotoAndStop(1); stagePanel.towercreatepanel.startCapture(4, stageScene.playerTowers, stageScene.playerCreateTowerPos); towerPosCapture = true; showMessage("Put your new tower"); showMessage("Press [ESC] to cancel"); } else { showMessage("Maximum number of tower"); }; } else { showMessage("Can't create tower"); }; } public function getTowerPosition1(e=null){ if (gameData.tower1Enabled()){ if ((stageScene.playerTowers.length + stageScene.playerCreateTowerType.length) < 4){ resetView(); stagePanel.towercreatepanel.gotoAndStop(1); stagePanel.towercreatepanel.startCapture(1, stageScene.playerTowers, stageScene.playerCreateTowerPos); towerPosCapture = true; showMessage("Put your new tower"); showMessage("Press [ESC] to cancel"); } else { showMessage("Maximum number of tower"); }; } else { showMessage("Can't create tower"); }; } private function createPlayerUnit(_playertype){ var obj:*; switch (_playertype){ default: obj = new mc_character2(); obj.init("player", "fast"); break; }; stageScene.addPlayerCharacter(obj); } private function checkNewTowerPos(){ var res:*; res = gameData.towerEnabled((stagePanel.towercreatepanel.capturenum - 1)); if (stagePanel.towercreatepanel.capturestatus == "finish"){ if (res){ towerPosCapture = false; gameData.gold = (gameData.gold - gameData.playertowerprice[(stagePanel.towercreatepanel.capturenum - 1)]); stageScene.createPlayerTower(stagePanel.towercreatepanel.capturenum, new Point((stagePanel.towercreatepanel.mousepos.x + 240), stagePanel.towercreatepanel.mousepos.y), gameData.playertowercreatetimer[(stagePanel.towercreatepanel.capturenum - 1)]); }; } else { if (stagePanel.towercreatepanel.capturestatus == "cancel"){ showMessage("Create tower cancelled"); towerPosCapture = false; } else { if (!res){ showMessage("Can't create tower"); cancelNewTowerPos(); }; }; }; } public function getTowerPosition5(e=null){ if (gameData.tower5Enabled()){ if ((stageScene.playerTowers.length + stageScene.playerCreateTowerType.length) < 4){ resetView(); stagePanel.towercreatepanel.gotoAndStop(1); stagePanel.towercreatepanel.startCapture(5, stageScene.playerTowers, stageScene.playerCreateTowerPos); towerPosCapture = true; showMessage("Put your new tower"); showMessage("Press [ESC] to cancel"); } else { showMessage("Maximum number of tower"); }; } else { showMessage("Can't create tower"); }; } public function stopZoomOut(){ zoomingOut = false; } private function resetGrayscale(){ this.filters = []; } private function stopEventHandlers(_pause=false){ this.removeEventListener(Event.ENTER_FRAME, moveClip); if (_pause){ controlMgr.pauseListeners(); } else { controlMgr.stopListeners(); }; stageScene.btzoomlock.removeEventListener(MouseEvent.MOUSE_UP, toggleZoomLock); stagePanel.scrollup.removeEventListener(MouseEvent.MOUSE_OVER, startScrollingUp); stagePanel.scrolldown.removeEventListener(MouseEvent.MOUSE_OVER, startScrollingDown); stagePanel.scrollup.removeEventListener(MouseEvent.MOUSE_OUT, stopScrollingUp); stagePanel.scrolldown.removeEventListener(MouseEvent.MOUSE_OUT, stopScrollingDown); mousePress = false; zoomingOut = false; zoomingLocked = false; stageScrollUp = false; stageScrollDown = false; resetPanels(_pause); } public function showMessage(_str=" "){ stagePanel.addNotes(_str); } private function showData(){ focusTimer++; if ((focusTimer % 10) == 0){ if (focusObject){ stagePanel.panelnote.text = (((((focusType + focusSide) + "\nHealth : ") + Math.ceil(focusObject.health)) + "\nAttack : ") + Math.ceil(focusObject.attack)); if ((((focusTimer >= 90)) || ((focusObject.unitstatus == "destroyed")))){ focusTimer = 0; focusObject = null; }; } else { stagePanel.panelnote.text = (((((("Level : " + gameData.selectedlevel) + "\n\nPlayer : ") + (stageScene.playerUnits.length + stageScene.playerTowers.length)) + " units\nComputer : ") + (stageScene.computerUnits.length + stageScene.computerTowers.length)) + " units"); }; }; } public function pauseClip(e=null){ if (gameStatus == "playing"){ stopGame(true); setGrayscale(); gameStatus = "paused"; if (stageTutor){ if (stageTutor.currentFrame != 1){ stageTutor.stop(); }; }; stageOption.showPanel(); } else { if (gameStatus == "paused"){ continueGame(); resetGrayscale(); gameStatus = "playing"; if (stageTutor){ if (stageTutor.currentFrame != 1){ stageTutor.play(); }; }; stageOption.hidePanel(); zoomingLocked = false; stageScene.btzoomlock.gotoAndStop(1); }; }; } private function goMoreGames(e=null){ myParent.gotoMoreGame(); } public function setFocusObject(_obj){ if (_obj){ focusTimer = 0; focusObject = _obj; switch (focusObject.sided){ case "player": focusSide = "Player Unit\n"; break; case "computer": focusSide = "Computer Unit\n"; break; }; switch (focusObject.typed){ case "mainbase": focusType = "Main Base\n"; break; case "guntower": focusType = "AAA Gun Tower\n"; break; case "missiletower": focusType = "SAM Rocket Tower\n"; break; case "thundertower": focusType = "Blue Corona Tower\n"; break; case "emptower": focusType = "EMP Generator Tower\n"; break; case "plasmatower": focusType = "Plasma Gun Tower\n"; break; case "avenger": focusType = "Avenger\n"; break; case "secretstriker": focusType = "Secret Striker\n"; break; case "thunderbolt": focusType = "Thunderbolt\n"; break; case "defender": focusType = "Defender\n"; break; case "battlecruiser": focusType = "Battlecruiser\n"; break; case "valour": focusType = "Valour\n"; break; case "intrepid": focusType = "Intrepid\n"; break; case "excelsior": focusType = "Excelsior\n"; break; case "steamrunner": focusType = "Steamrunner\n"; break; case "ptolemy": focusType = "Ptolemy\n"; break; case "warhammer": focusType = "Warhammer\n"; break; case "vanguard": focusType = "Vanguard\n"; break; case "aircraftcarrier": focusType = "Aircraft Carrier\n"; break; }; }; } public function quitGameRequest(e=null){ gameStatus = "stopplayerrequest"; stopClip(); } public function stopClip(e=null){ stopGame(); setGrayscale(); switch (gameStatus){ case "stopplayerwin": if (gameData.selectedlevel == 12){ myParent.gotoAndPlay("ultimatewinpage"); } else { myParent.gotoAndPlay("winpage"); }; break; case "stopplayerlost": myParent.gotoAndPlay("lostpage"); break; case "stopplayerrequest": myParent.gotoAndPlay("abortpage"); break; }; } private function setGrayscale(){ var cm:ColorMatrix; cm = new ColorMatrix(); cm.adjustColor(0, 0, -100, 0); this.filters = [new ColorMatrixFilter(cm)]; } private function resetView(){ stageScene.scaleX = 1; stageScene.scaleY = 1; stageScene.y = 0; stageScene.x = -240; stageBackground.scaleX = stageScene.scaleX; stageBackground.scaleY = stageScene.scaleY; stageBackground.y = stageScene.y; stageBackground.x = stageScene.x; stageParticle.scaleX = stageScene.scaleX; stageParticle.scaleY = stageScene.scaleY; stageParticle.y = stageScene.y; stageParticle.x = stageScene.x; } public function continueClip(e=null){ if (gameStatus == "paused"){ gameStatus = "playing"; resetGrayscale(); continueGame(); if (stageTutor){ if (stageTutor.currentFrame != 1){ stageTutor.play(); }; }; stageOption.hidePanel(); zoomingLocked = false; stageScene.btzoomlock.gotoAndStop(1); }; } public function queueUnit2(e=null){ if (gameData.unit2Enabled()){ if (unitQueueNames.length < 5){ gameData.gold = (gameData.gold - gameData.playerunitprice[1]); unitQueueNames.push(gameData.playerunitname[1]); unitQueueTimer.push(gameData.playerunitcreatetimer[1]); if (unitQueueTimer.length == 1){ unitQueueCountDown = unitQueueTimer[0]; }; } else { showMessage("Max. unit queue number reached"); }; } else { showMessage("Unit is not available"); }; } public function queueUnit4(e=null){ if (gameData.unit4Enabled()){ if (unitQueueNames.length < 5){ gameData.gold = (gameData.gold - gameData.playerunitprice[3]); unitQueueNames.push(gameData.playerunitname[3]); unitQueueTimer.push(gameData.playerunitcreatetimer[3]); if (unitQueueTimer.length == 1){ unitQueueCountDown = unitQueueTimer[0]; }; } else { showMessage("Max. unit queue number reached"); }; } else { showMessage("Unit is not available"); }; } public function queueUnit6(e=null){ if (gameData.unit6Enabled()){ if (unitQueueNames.length < 5){ gameData.gold = (gameData.gold - gameData.playerunitprice[5]); unitQueueNames.push(gameData.playerunitname[5]); unitQueueTimer.push(gameData.playerunitcreatetimer[5]); if (unitQueueTimer.length == 1){ unitQueueCountDown = unitQueueTimer[0]; }; } else { showMessage("Max. unit queue number reached"); }; } else { showMessage("Unit is not available"); }; } public function queueUnit1(e=null){ if (gameData.unit1Enabled()){ if (unitQueueNames.length < 5){ gameData.gold = (gameData.gold - gameData.playerunitprice[0]); unitQueueNames.push(gameData.playerunitname[0]); unitQueueTimer.push(gameData.playerunitcreatetimer[0]); if (unitQueueTimer.length == 1){ unitQueueCountDown = unitQueueTimer[0]; }; } else { showMessage("Max. unit queue number reached"); }; } else { showMessage("Unit is not available"); }; } public function queueUnit5(e=null){ if (gameData.unit5Enabled()){ if (unitQueueNames.length < 5){ gameData.gold = (gameData.gold - gameData.playerunitprice[4]); unitQueueNames.push(gameData.playerunitname[4]); unitQueueTimer.push(gameData.playerunitcreatetimer[4]); if (unitQueueTimer.length == 1){ unitQueueCountDown = unitQueueTimer[0]; }; } else { showMessage("Max. unit queue number reached"); }; } else { showMessage("Unit is not available"); }; } public function queueUnit7(e=null){ if (gameData.unit7Enabled()){ if (unitQueueNames.length < 5){ gameData.gold = (gameData.gold - gameData.playerunitprice[6]); unitQueueNames.push(gameData.playerunitname[6]); unitQueueTimer.push(gameData.playerunitcreatetimer[6]); if (unitQueueTimer.length == 1){ unitQueueCountDown = unitQueueTimer[0]; }; } else { showMessage("Max. unit queue number reached"); }; } else { showMessage("Unit is not available"); }; } private function refreshMouseScrolling(){ if (stageScene.scaleX == 1){ if (mouseScrollUp){ mouseScrollUp = false; stageScene.y = (stageScene.y + 50); if (stageScene.y > 0){ stageScene.y = 0; }; }; if (mouseScrollDown){ mouseScrollDown = false; stageScene.y = (stageScene.y - 50); if (stageScene.y < -480){ stageScene.y = -480; }; }; stageBackground.y = stageScene.y; stageBackground.x = stageScene.x; stageParticle.y = stageScene.y; stageParticle.x = stageScene.x; }; } private function moveClip(e=null){ if (gameStatus == "playing"){ computerMgr.moveClip(); refreshUnitQueue(); if (repairing){ repairtimer++; if (repairtimer > 5){ repairtimer = 0; if ((((gameData.gold >= 2)) && ((stageScene.playerBaseMC.health < stageScene.playerBaseMC.maxhealth)))){ gameData.gold = (gameData.gold - 2); stageScene.playerBaseMC.health++; } else { stagePanel.btupgrade5.repairlighter.gotoAndStop(1); stageScene.playerBaseMC.mcrepair.gotoAndStop(2); repairing = false; }; }; }; detectHit(); stageScene.moveClip(); stageParticle.moveClip(); if (towerPosCapture){ checkNewTowerPos(); } else { refreshZooming(); refreshMouseScrolling(); refreshScrolling(); }; refreshPanels(); showData(); recalculateGold(); if (stageScene.playerBaseMC.health <= 0){ gameStatus = "stopplayerlost"; } else { if (stageScene.computerBaseMC.health <= 0){ gameStatus = "stopplayerwin"; }; }; } else { if (gameStatus == "stopplayerlost"){ if (stageScene.scaleX < 1){ stageScene.scaleX = 1; stageScene.scaleY = 1; stageScene.x = -240; stageScene.y = -240; }; if (stageBackground.y < -5){ stageScene.y = (stageScene.y + 5); } else { stageScene.y = 0; stopClip(); }; stageBackground.scaleX = stageScene.scaleX; stageBackground.scaleY = stageScene.scaleY; stageBackground.y = stageScene.y; stageBackground.x = stageScene.x; stageParticle.scaleX = stageScene.scaleX; stageParticle.scaleY = stageScene.scaleY; stageParticle.y = stageScene.y; stageParticle.x = stageScene.x; } else { if (gameStatus == "stopplayerwin"){ if (stageScene.scaleX < 1){ stageScene.scaleX = 1; stageScene.scaleY = 1; stageScene.x = -240; stageScene.y = -240; }; if (stageScene.computerBaseMC.y > 720){ if (stageScene.y > -485){ stageScene.y = (stageScene.y - 5); } else { stageScene.y = -480; stopClip(); }; } else { if ((stageScene.y - stageScene.computerBaseMC.y) > -478){ stageScene.y = (stageScene.y - 2); } else { stopClip(); }; }; stageBackground.scaleX = stageScene.scaleX; stageBackground.scaleY = stageScene.scaleY; stageBackground.y = stageScene.y; stageBackground.x = stageScene.x; stageParticle.scaleX = stageScene.scaleX; stageParticle.scaleY = stageScene.scaleY; stageParticle.y = stageScene.y; stageParticle.x = stageScene.x; }; }; }; } private function setSpecialNote2(e){ var s1:*; var s2:*; if (gameData.tower4Enabled()){ s1 = "Create EMP Generator \n"; s1 = (s1 + "Shortcut : [R]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playertowerhealth[3])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playertowerattack[3])) + " \n")); s2 = ("G " + gameData.playertowerprice[3]); stagePanel.mcinfo.showNote(stagePanel.btspecial2, s1, s2); } else { if (gameData.unlockedspecial[1]){ s1 = "Create EMP Generator \n"; s1 = (s1 + "Shortcut : [R]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playertowerhealth[3])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playertowerattack[3])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playertowerprice[3])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btspecial2, s1, s2); }; }; } private function setSpecialNote3(e){ var s1:*; var s2:*; if (gameData.tower5Enabled()){ s1 = "Create Plasma Tower \n"; s1 = (s1 + "Shortcut : [T]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[4])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[4])) + " \n")); s2 = ("G " + gameData.playertowerprice[4]); stagePanel.mcinfo.showNote(stagePanel.btspecial3, s1, s2); } else { if (gameData.unlockedspecial[2]){ s1 = "Create Plasma Tower \n"; s1 = (s1 + "Shortcut : [T]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[4])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[4])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playertowerprice[4])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btspecial3, s1, s2); }; }; } private function setSpecialNote1(e){ var s1:*; var s2:*; if (gameData.unit6Enabled()){ s1 = "Create Secret Striker \n"; s1 = (s1 + "Shortcut : [6]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[5])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[5])) + " \n")); s2 = ("G " + gameData.playerunitprice[5]); stagePanel.mcinfo.showNote(stagePanel.btspecial1, s1, s2); } else { if (gameData.unlockedspecial[0]){ s1 = "Create Secret Striker \n"; s1 = (s1 + "Shortcut : [6]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[5])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[5])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playerunitprice[5])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btspecial1, s1, s2); }; }; } private function setSpecialNote4(e){ var s1:*; var s2:*; if (gameData.unit7Enabled()){ s1 = "Create Aircraft Carrier \n"; s1 = (s1 + "Shortcut : [7]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[6])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[6])) + " \n")); s2 = ("G " + gameData.playerunitprice[6]); stagePanel.mcinfo.showNote(stagePanel.btspecial4, s1, s2); } else { if (gameData.unlockedspecial[3]){ s1 = "Create Aircraft Carrier \n"; s1 = (s1 + "Shortcut : [7]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[6])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[6])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playerunitprice[6])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btspecial4, s1, s2); }; }; } public function queueUnit3(e=null){ if (gameData.unit3Enabled()){ if (unitQueueNames.length < 5){ gameData.gold = (gameData.gold - gameData.playerunitprice[2]); unitQueueNames.push(gameData.playerunitname[2]); unitQueueTimer.push(gameData.playerunitcreatetimer[2]); if (unitQueueTimer.length == 1){ unitQueueCountDown = unitQueueTimer[0]; }; } else { showMessage("Max. unit queue number reached"); }; } else { showMessage("Unit is not available"); }; } public function startScrollingDown(e=null){ if (stageScene.scaleX == 1){ stageScrollUp = false; stageScrollDown = true; if (stagePanel.scrolldown.currentFrame == 1){ stagePanel.scrolldown.gotoAndPlay(2); }; }; } private function setCreateUnitNote3(e){ var s1:*; var s2:*; if (gameData.unit3Enabled()){ s1 = "Create Defender Unit\n"; s1 = (s1 + "Shortcut : [3]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[2])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[2])) + " \n")); s2 = ("G " + gameData.playerunitprice[2]); stagePanel.mcinfo.showNote(stagePanel.btcreateunit3, s1, s2); } else { if (gameData.unlockedplayerunit[2]){ s1 = "Create Defender Unit\n"; s1 = (s1 + "Shortcut : [3]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[2])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[2])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playerunitprice[2])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btcreateunit3, s1, s2); }; }; } private function setCreateUnitNote4(e){ var s1:*; var s2:*; if (gameData.unit4Enabled()){ s1 = "Create Battlecruiser Unit\n"; s1 = (s1 + "Shortcut : [4]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[3])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[3])) + " \n")); s2 = ("G " + gameData.playerunitprice[3]); stagePanel.mcinfo.showNote(stagePanel.btcreateunit4, s1, s2); } else { if (gameData.unlockedplayerunit[3]){ s1 = "Create Battlecruiser Unit\n"; s1 = (s1 + "Shortcut : [4]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[3])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[3])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playerunitprice[3])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btcreateunit4, s1, s2); }; }; } private function setCreateUnitNote5(e){ var s1:*; var s2:*; if (gameData.unit5Enabled()){ s1 = "Create Valour Unit\n"; s1 = (s1 + "Shortcut : [5]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[4])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[4])) + " \n")); s2 = ("G " + gameData.playerunitprice[4]); stagePanel.mcinfo.showNote(stagePanel.btcreateunit5, s1, s2); } else { if (gameData.unlockedplayerunit[4]){ s1 = "Create Valour Unit\n"; s1 = (s1 + "Shortcut : [5]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[4])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[4])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playerunitprice[4])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btcreateunit5, s1, s2); }; }; } private function setCreateUnitNote1(e){ var s1:*; var s2:*; if (gameData.unit1Enabled()){ s1 = "Create Avenger Unit\n"; s1 = (s1 + "Shortcut : [1]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[0])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[0])) + " \n")); s2 = ("G " + gameData.playerunitprice[0]); stagePanel.mcinfo.showNote(stagePanel.btcreateunit1, s1, s2); } else { if (gameData.unlockedplayerunit[0]){ s1 = "Create Avenger Unit\n"; s1 = (s1 + "Shortcut : [1]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[0])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[0])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playerunitprice[0])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btcreateunit1, s1, s2); }; }; } public function showSpecialEvent(n){ var s:*; switch (n){ case 1: s = "New Technology Achieved - Secret Striker"; stagePanel.addNotes(s, true); stagePanel.blinker1.blink(); break; case 2: s = "New Technology Achieved - EMP Tower"; stagePanel.addNotes(s, true); stagePanel.blinker2.blink(); break; case 3: s = "New Technology Achieved - Plasma Tower"; stagePanel.addNotes(s, true); stagePanel.blinker3.blink(); break; case 4: s = "New Technology Achieved - Aircraft Carrier"; stagePanel.addNotes(s, true); stagePanel.blinker4.blink(); break; }; } private function setCreateUnitNote2(e){ var s1:*; var s2:*; if (gameData.unit2Enabled()){ s1 = "Create Thunderbolt Unit\n"; s1 = (s1 + "Shortcut : [2]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[1])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[1])) + " \n")); s2 = ("G " + gameData.playerunitprice[1]); stagePanel.mcinfo.showNote(stagePanel.btcreateunit2, s1, s2); } else { if (gameData.unlockedplayerunit[1]){ s1 = "Create Thunderbolt Unit\n"; s1 = (s1 + "Shortcut : [2]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playerunithealth[1])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playerunitattack[1])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playerunitprice[1])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btcreateunit2, s1, s2); }; }; } private function toggleZoomLock(e=null){ if (zoomingLocked){ zoomingLocked = false; stageScene.btzoomlock.gotoAndStop(1); } else { zoomingLocked = true; stageScene.btzoomlock.gotoAndStop(2); }; } public function stopGame(_pause=false){ stopEventHandlers(_pause); stageScene.deinit(); stageParticle.deinit(); sndMgr.stopSFX(); gameData.checkStopTime(getTimer()); } private function resetPanels(_pause=false){ stagePanel.btquit.removeEventListener(MouseEvent.MOUSE_UP, quitGameRequest); stagePanel.btmoregames.removeEventListener(MouseEvent.MOUSE_UP, goMoreGames); if (!_pause){ stagePanel.btoptions.removeEventListener(MouseEvent.MOUSE_UP, pauseClip); }; stagePanel.btcreateunit1.removeEventListener(MouseEvent.MOUSE_OVER, setCreateUnitNote1); stagePanel.btcreateunit2.removeEventListener(MouseEvent.MOUSE_OVER, setCreateUnitNote2); stagePanel.btcreateunit3.removeEventListener(MouseEvent.MOUSE_OVER, setCreateUnitNote3); stagePanel.btcreateunit4.removeEventListener(MouseEvent.MOUSE_OVER, setCreateUnitNote4); stagePanel.btcreateunit5.removeEventListener(MouseEvent.MOUSE_OVER, setCreateUnitNote5); stagePanel.btspecial1.removeEventListener(MouseEvent.MOUSE_OVER, setSpecialNote1); stagePanel.btspecial2.removeEventListener(MouseEvent.MOUSE_OVER, setSpecialNote2); stagePanel.btspecial3.removeEventListener(MouseEvent.MOUSE_OVER, setSpecialNote3); stagePanel.btspecial4.removeEventListener(MouseEvent.MOUSE_OVER, setSpecialNote4); stagePanel.btcreatetower1.removeEventListener(MouseEvent.MOUSE_OVER, setCreateTowerNote1); stagePanel.btcreatetower2.removeEventListener(MouseEvent.MOUSE_OVER, setCreateTowerNote2); stagePanel.btcreatetower3.removeEventListener(MouseEvent.MOUSE_OVER, setCreateTowerNote3); stagePanel.btupgrade1.removeEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote1); stagePanel.btupgrade2.removeEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote2); stagePanel.btupgrade3.removeEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote3); stagePanel.btupgrade4.removeEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote4); stagePanel.btupgrade5.removeEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote5); stagePanel.btcreateunit1.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btcreateunit2.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btcreateunit3.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btcreateunit4.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btcreateunit5.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btspecial1.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btspecial2.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btspecial3.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btspecial4.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btcreatetower1.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btcreatetower2.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btcreatetower3.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btupgrade1.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btupgrade2.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btupgrade3.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btupgrade4.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btupgrade5.removeEventListener(MouseEvent.MOUSE_OUT, resetNote); stagePanel.btcreateunit1.btactive.removeEventListener(MouseEvent.MOUSE_UP, queueUnit1); stagePanel.btcreateunit2.btactive.removeEventListener(MouseEvent.MOUSE_UP, queueUnit2); stagePanel.btcreateunit3.btactive.removeEventListener(MouseEvent.MOUSE_UP, queueUnit3); stagePanel.btcreateunit4.btactive.removeEventListener(MouseEvent.MOUSE_UP, queueUnit4); stagePanel.btcreateunit5.btactive.removeEventListener(MouseEvent.MOUSE_UP, queueUnit5); stagePanel.btspecial1.btactive.removeEventListener(MouseEvent.MOUSE_UP, queueUnit6); stagePanel.btspecial4.btactive.removeEventListener(MouseEvent.MOUSE_UP, queueUnit7); stagePanel.unitsqueuer1.removeEventListener(MouseEvent.MOUSE_UP, dequeueUnit1); stagePanel.unitsqueuer2.removeEventListener(MouseEvent.MOUSE_UP, dequeueUnit2); stagePanel.unitsqueuer3.removeEventListener(MouseEvent.MOUSE_UP, dequeueUnit3); stagePanel.unitsqueuer4.removeEventListener(MouseEvent.MOUSE_UP, dequeueUnit4); stagePanel.unitsqueuer5.removeEventListener(MouseEvent.MOUSE_UP, dequeueUnit5); stagePanel.btcreatetower1.btactive.removeEventListener(MouseEvent.MOUSE_UP, getTowerPosition1); stagePanel.btcreatetower2.btactive.removeEventListener(MouseEvent.MOUSE_UP, getTowerPosition2); stagePanel.btcreatetower3.btactive.removeEventListener(MouseEvent.MOUSE_UP, getTowerPosition3); stagePanel.btspecial2.btactive.removeEventListener(MouseEvent.MOUSE_UP, getTowerPosition4); stagePanel.btspecial3.btactive.removeEventListener(MouseEvent.MOUSE_UP, getTowerPosition5); stagePanel.btupgrade1.btactive.removeEventListener(MouseEvent.MOUSE_UP, doUpgrade1); stagePanel.btupgrade2.btactive.removeEventListener(MouseEvent.MOUSE_UP, doUpgrade2); stagePanel.btupgrade3.btactive.removeEventListener(MouseEvent.MOUSE_UP, doUpgrade3); stagePanel.btupgrade4.btactive.removeEventListener(MouseEvent.MOUSE_UP, doUpgrade4); stagePanel.btupgrade5.btactive.removeEventListener(MouseEvent.MOUSE_UP, doUpgrade5); } public function showMap(){ stagePanel.minimap.toggleMinimap(); } public function getAngle(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (((Math.atan2(dy, dx) * 180) / Math.PI)); } public function continueGame(){ startEventHandlers(); stageScene.reinit(); stageParticle.reinit(); } public function doUpgrade3(e=null){ if (gameData.upgrade3Enabled()){ gameData.doUpgrade3(); } else { showMessage("Upgrade is not available"); }; } public function doUpgrade4(e=null){ if (gameData.upgrade4Enabled()){ gameData.doUpgrade4(); } else { showMessage("Upgrade is not available"); }; } public function doUpgrade5(e=null){ if (gameData.upgrade5Enabled(stageScene.playerBaseMC.health, stageScene.playerBaseMC.maxhealth)){ if (!repairing){ stagePanel.btupgrade5.repairlighter.gotoAndStop(2); stageScene.playerBaseMC.mcrepair.gotoAndPlay(3); repairing = true; trace(stagePanel.btupgrade5.repairlighter.currentFrame); } else { stagePanel.btupgrade5.repairlighter.gotoAndStop(1); stageScene.playerBaseMC.mcrepair.gotoAndStop(2); repairing = false; }; } else { showMessage("Cannot repair base"); }; } private function setUpgradeNote1(e){ var s1:*; var s2:*; if (gameData.upgrade1Enabled()){ s1 = "Upgrade Mainbase HP \n"; s1 = (s1 + "Shortcut : [A]\n\n"); s1 = (s1 + "Increase 20% health point for your Mainbase\n"); s2 = ("G " + gameData.getUpgradePrice(1)); } else { s1 = "Upgrade Mainbase HP \n"; s1 = (s1 + "Shortcut : [A]\n\n"); if (gameData.upgradelevel[0] < 3){ s1 = (s1 + ("Price : G " + gameData.getUpgradePrice(1))); s2 = "Not enough gold"; } else { s2 = "Maximum Reached"; }; }; stagePanel.mcinfo.showNote(stagePanel.btupgrade1, s1, s2); } public function doUpgrade1(e=null){ if (gameData.upgrade1Enabled()){ gameData.doUpgrade1(stageScene.playerBaseMC); } else { showMessage("Upgrade is not available"); }; } private function setUpgradeNote5(e){ var s1:*; var s2:*; if (gameData.upgrade5Enabled(stageScene.playerBaseMC.health, stageScene.playerBaseMC.maxhealth)){ s1 = "Repair Mainbase\n"; s1 = (s1 + "Shortcut : [G]\n\n"); s1 = (s1 + "We keep repairing even you are under attack"); s2 = ("G " + gameData.getUpgradePrice(5)); } else { s1 = "Repair Mainbase\n"; s1 = (s1 + "Shortcut : [G]\n\n"); if (stageScene.playerBaseMC.health < 100){ s1 = (s1 + ("Price : G " + gameData.getUpgradePrice(5))); s2 = "Not enough gold"; } else { s2 = "Nothing to worry about"; }; }; stagePanel.mcinfo.showNote(stagePanel.btupgrade5, s1, s2); } private function setUpgradeNote3(e){ var s1:*; var s2:*; if (gameData.upgrade3Enabled()){ s1 = "Upgrade Units HP \n"; s1 = (s1 + "Shortcut : [D]\n\n"); s1 = (s1 + "Increased armor for newly created units\n"); s2 = ("G " + gameData.getUpgradePrice(3)); } else { s1 = "Upgrade Units HP \n"; s1 = (s1 + "Shortcut : [D]\n\n"); if (gameData.upgradelevel[2] < 3){ s1 = (s1 + ("Price : G " + gameData.getUpgradePrice(3))); s2 = "Not enough gold"; } else { s2 = "Maximum Reached"; }; }; stagePanel.mcinfo.showNote(stagePanel.btupgrade3, s1, s2); } private function setUpgradeNote4(e){ var s1:*; var s2:*; if (gameData.upgrade4Enabled()){ s1 = "Upgrade Units Attack \n"; s1 = (s1 + "Shortcut : [F]\n\n"); s1 = (s1 + "Greater attack point for new units"); s2 = ("G " + gameData.getUpgradePrice(4)); } else { s1 = "Upgrade Units Attack \n"; s1 = (s1 + "Shortcut : [F]\n\n"); if (gameData.upgradelevel[3] < 3){ s1 = (s1 + ("Price : G " + gameData.getUpgradePrice(4))); s2 = "Not enough gold"; } else { s2 = "Maximum Reached"; }; }; stagePanel.mcinfo.showNote(stagePanel.btupgrade4, s1, s2); } public function doUpgrade2(e=null){ if (gameData.unlockedplayertower[0]){ if (gameData.upgrade2Enabled()){ gameData.doUpgrade2(); } else { showMessage("Money is not enough"); }; } else { showMessage("Upgrade is not available"); }; } private function refreshUnitQueue(){ var i:*; if (unitQueueTimer.length > 0){ if (unitQueueCountDown > 0){ unitQueueCountDown--; stagePanel.mcunitprogress.gotoAndStop((Math.floor((((unitQueueTimer[0] - unitQueueCountDown) / unitQueueTimer[0]) * 100)) + 1)); } else { stageScene.createCharacter(unitQueueNames[0], "player"); unitQueueNames.splice(0, 1); unitQueueTimer.splice(0, 1); stagePanel.mcunitprogress.gotoAndStop(1); if (unitQueueTimer.length > 0){ unitQueueCountDown = unitQueueTimer[0]; }; }; if (unitQueueNames.length > 0){ stagePanel.unitsqueuer1.gotoAndStop(unitQueueNames[0]); } else { stagePanel.unitsqueuer1.gotoAndStop(1); }; if (unitQueueNames.length > 1){ stagePanel.unitsqueuer2.gotoAndStop(unitQueueNames[1]); } else { stagePanel.unitsqueuer2.gotoAndStop(1); }; if (unitQueueNames.length > 2){ stagePanel.unitsqueuer3.gotoAndStop(unitQueueNames[2]); } else { stagePanel.unitsqueuer3.gotoAndStop(1); }; if (unitQueueNames.length > 3){ stagePanel.unitsqueuer4.gotoAndStop(unitQueueNames[3]); } else { stagePanel.unitsqueuer4.gotoAndStop(1); }; if (unitQueueNames.length > 4){ stagePanel.unitsqueuer5.gotoAndStop(unitQueueNames[4]); } else { stagePanel.unitsqueuer5.gotoAndStop(1); }; } else { stagePanel.mcunitprogress.gotoAndStop(1); stagePanel.unitsqueuer1.gotoAndStop(1); stagePanel.unitsqueuer2.gotoAndStop(1); stagePanel.unitsqueuer3.gotoAndStop(1); stagePanel.unitsqueuer4.gotoAndStop(1); stagePanel.unitsqueuer5.gotoAndStop(1); }; } private function setUpgradeNote2(e){ var s1:*; var s2:*; if (gameData.unlockedplayertower[0]){ if (gameData.upgrade2Enabled()){ s1 = "Upgrade Tower HP \n"; s1 = (s1 + "Shortcut : [S]\n\n"); s1 = (s1 + "Increased armor for newly created towers"); s2 = ("G " + gameData.getUpgradePrice(2)); } else { s1 = "Upgrade Tower HP \n"; s1 = (s1 + "Shortcut : [S]\n\n"); if (gameData.upgradelevel[1] < 3){ s1 = (s1 + ("Price : G " + gameData.getUpgradePrice(2))); s2 = "Not enough gold"; } else { s2 = "Maximum Reached"; }; }; } else { s1 = "Upgrade Tower HP \n"; s2 = "Tower is unavailable"; }; stagePanel.mcinfo.showNote(stagePanel.btupgrade2, s1, s2); } public function reduceHealth(_tgt, _obj){ if (_tgt){ _tgt.reduceHealth(_obj); }; } public function stopScrollingDown(e=null){ stageScrollDown = false; } private function refreshScrolling(){ if (stageScene.scaleX == 1){ if (stageScrollUp){ stageScene.y = (stageScene.y + 10); if (stageScene.y > 0){ stageScene.y = 0; }; }; if (stageScrollDown){ stageScene.y = (stageScene.y - 10); if (stageScene.y < -480){ stageScene.y = -480; }; }; stageBackground.y = stageScene.y; stageBackground.x = stageScene.x; stageParticle.y = stageScene.y; stageParticle.x = stageScene.x; }; } private function getDistance(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (Math.sqrt(((dx * dx) + (dy * dy)))); } public function cancelNewTowerPos(e=null){ showMessage("Create tower cancelled"); stagePanel.towercreatepanel.cancelCreate(); } public function startGame(){ switch (gameData.selectedlevel){ case 1: case 2: case 3: case 4: stageBackground = new mc_background1(); break; case 5: case 6: case 7: case 8: stageBackground = new mc_background2(); break; case 9: case 10: case 11: case 12: stageBackground = new mc_background3(); break; }; this.addChild(stageBackground); this.addChild(stageScene); stageScene.init(); this.addChild(stageParticle); stageParticle.init(); this.addChild(stagePanel); if ((((gameData.selectedlevel == 1)) && ((gameData.unitkilledtotal[0] == 0)))){ stageTutor = new stageTutorial(); this.addChild(stageTutor); stageTutor.showTutorial1(); } else { if ((((gameData.selectedlevel == 2)) && ((gameData.unitkilledtotal[1] == 0)))){ stageTutor = new stageTutorial(); this.addChild(stageTutor); stageTutor.showTutorial2(); }; }; stageOption.x = 240; stageOption.y = 240; this.addChild(stageOption); controlMgr = new ControlManager(this); computerMgr = new ComputerManager(this); myParent.addChild(this); mousePress = false; zoomingOut = false; zoomingLocked = false; stageScrollUp = false; stageScrollDown = false; startEventHandlers(); sndMgr.playBGM("low"); gameStatus = "playing"; showMessage("HQ Connected..."); switch (gameData.selectedlevel){ case 1: showMessage("Ghardala, November AD 2569"); break; case 2: showMessage("New Memphis, November AD 2569"); break; case 3: showMessage("Roswell, December AD 2569"); break; case 4: showMessage("Santiago, January AD 2570"); break; case 5: showMessage("Calabozo, January AD 2570"); break; case 6: showMessage("Chengdu, January AD 2570"); break; case 7: showMessage("Samarqand, February AD 2570"); break; case 8: showMessage("Shiraj, February AD 2570"); break; case 9: showMessage("Elazig, March AD 2570"); break; case 10: showMessage("Zaporizhzhia, March AD 2570"); break; case 11: showMessage("Valence, April AD 2570"); break; case 12: showMessage("Antioch, May AD 2570"); break; }; gameData.checkStartTime(getTimer()); } public function createEnemyUnit(_enemytype){ var obj:*; switch (_enemytype){ default: obj = new mc_character2(); obj.init("computer", "fast"); break; }; stageScene.addComputerCharacter(obj); } private function setCreateTowerNote2(e){ var s1:*; var s2:*; if (gameData.tower2Enabled()){ s1 = "Create SAM Tower \n"; s1 = (s1 + "Shortcut : [W]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playertowerhealth[1])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playertowerattack[1])) + " \n")); s2 = ("G " + gameData.playertowerprice[1]); stagePanel.mcinfo.showNote(stagePanel.btcreatetower2, s1, s2); } else { if (gameData.unlockedplayertower[1]){ s1 = "Create SAM Tower \n"; s1 = (s1 + "Shortcut : [W]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playertowerhealth[1])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playertowerattack[1])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playertowerprice[1])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btcreatetower2, s1, s2); }; }; } private function recalculateGold(){ gameData.gold = (gameData.gold + gameData.interest); if (gameData.gold > 99999){ gameData.gold = 99999; }; stagePanel.mcgoldbar.txt.text = ("G " + Math.floor(gameData.gold)); } private function setCreateTowerNote3(e){ var s1:*; var s2:*; if (gameData.tower3Enabled()){ s1 = "Create Corona Tower \n"; s1 = (s1 + "Shortcut : [W]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playertowerhealth[2])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playertowerattack[2])) + " \n")); s2 = ("G " + gameData.playertowerprice[2]); stagePanel.mcinfo.showNote(stagePanel.btcreatetower3, s1, s2); } else { if (gameData.unlockedplayertower[2]){ s1 = "Create Corona Tower \n"; s1 = (s1 + "Shortcut : [W]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playertowerhealth[2])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playertowerattack[2])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playertowerprice[2])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btcreatetower3, s1, s2); }; }; } private function refreshPanels(){ if (!gameData.unit1Enabled()){ if (gameData.unlockedplayerunit[0]){ stagePanel.btcreateunit1.gotoAndStop(2); } else { stagePanel.btcreateunit1.gotoAndStop(1); }; } else { stagePanel.btcreateunit1.gotoAndStop(3); }; if (!gameData.unit2Enabled()){ if (gameData.unlockedplayerunit[1]){ stagePanel.btcreateunit2.gotoAndStop(2); } else { stagePanel.btcreateunit2.gotoAndStop(1); }; } else { stagePanel.btcreateunit2.gotoAndStop(3); }; if (!gameData.unit3Enabled()){ if (gameData.unlockedplayerunit[2]){ stagePanel.btcreateunit3.gotoAndStop(2); } else { stagePanel.btcreateunit3.gotoAndStop(1); }; } else { stagePanel.btcreateunit3.gotoAndStop(3); }; if (!gameData.unit4Enabled()){ if (gameData.unlockedplayerunit[3]){ stagePanel.btcreateunit4.gotoAndStop(2); } else { stagePanel.btcreateunit4.gotoAndStop(1); }; } else { stagePanel.btcreateunit4.gotoAndStop(3); }; if (!gameData.unit5Enabled()){ if (gameData.unlockedplayerunit[4]){ stagePanel.btcreateunit5.gotoAndStop(2); } else { stagePanel.btcreateunit5.gotoAndStop(1); }; } else { stagePanel.btcreateunit5.gotoAndStop(3); }; if (!gameData.unit6Enabled()){ if (gameData.unlockedspecial[0]){ stagePanel.btspecial1.gotoAndStop(2); } else { stagePanel.btspecial1.gotoAndStop(1); }; } else { stagePanel.btspecial1.gotoAndStop(3); }; if (!gameData.tower4Enabled()){ if (gameData.unlockedspecial[1]){ stagePanel.btspecial2.gotoAndStop(2); } else { stagePanel.btspecial2.gotoAndStop(1); }; } else { stagePanel.btspecial2.gotoAndStop(3); }; if (!gameData.tower5Enabled()){ if (gameData.unlockedspecial[2]){ stagePanel.btspecial3.gotoAndStop(2); } else { stagePanel.btspecial3.gotoAndStop(1); }; } else { stagePanel.btspecial3.gotoAndStop(3); }; if (!gameData.unit7Enabled()){ if (gameData.unlockedspecial[3]){ stagePanel.btspecial4.gotoAndStop(2); } else { stagePanel.btspecial4.gotoAndStop(1); }; } else { stagePanel.btspecial4.gotoAndStop(3); }; if (!gameData.tower1Enabled()){ if (gameData.unlockedplayertower[0]){ stagePanel.btcreatetower1.gotoAndStop(2); } else { stagePanel.btcreatetower1.gotoAndStop(1); }; } else { stagePanel.btcreatetower1.gotoAndStop(3); }; if (!gameData.tower2Enabled()){ if (gameData.unlockedplayertower[1]){ stagePanel.btcreatetower2.gotoAndStop(2); } else { stagePanel.btcreatetower2.gotoAndStop(1); }; } else { stagePanel.btcreatetower2.gotoAndStop(3); }; if (!gameData.tower3Enabled()){ if (gameData.unlockedplayertower[2]){ stagePanel.btcreatetower3.gotoAndStop(2); } else { stagePanel.btcreatetower3.gotoAndStop(1); }; } else { stagePanel.btcreatetower3.gotoAndStop(3); }; if (!gameData.upgrade1Enabled()){ stagePanel.btupgrade1.gotoAndStop(1); } else { stagePanel.btupgrade1.gotoAndStop(2); }; if (gameData.unlockedplayertower[0]){ if (!gameData.upgrade2Enabled()){ stagePanel.btupgrade2.gotoAndStop(1); } else { stagePanel.btupgrade2.gotoAndStop(2); }; } else { stagePanel.btupgrade2.gotoAndStop(1); }; if (!gameData.upgrade3Enabled()){ stagePanel.btupgrade3.gotoAndStop(1); } else { stagePanel.btupgrade3.gotoAndStop(2); }; if (!gameData.upgrade4Enabled()){ stagePanel.btupgrade4.gotoAndStop(1); } else { stagePanel.btupgrade4.gotoAndStop(2); }; if (!gameData.upgrade5Enabled(stageScene.playerBaseMC.health, stageScene.playerBaseMC.maxhealth)){ stagePanel.btupgrade5.gotoAndStop(1); } else { stagePanel.btupgrade5.gotoAndStop(2); }; } private function setCreateTowerNote1(e){ var s1:*; var s2:*; if (gameData.tower1Enabled()){ s1 = "Create AAA Cannon \n"; s1 = (s1 + "Shortcut : [Q]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playertowerhealth[0])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playertowerattack[0])) + " \n")); s2 = ("G " + gameData.playertowerprice[0]); stagePanel.mcinfo.showNote(stagePanel.btcreatetower1, s1, s2); } else { if (gameData.unlockedplayertower[0]){ s1 = "Create AAA Cannon \n"; s1 = (s1 + "Shortcut : [Q]\n"); s1 = (s1 + (("Health : " + Math.floor(gameData.playertowerhealth[0])) + " \n")); s1 = (s1 + (("Attack : " + Math.floor(gameData.playertowerattack[0])) + " \n")); s1 = (s1 + ("Price : G " + gameData.playertowerprice[0])); s2 = "Not enough gold"; stagePanel.mcinfo.showNote(stagePanel.btcreatetower1, s1, s2); }; }; } public function startScrollingUp(e=null){ if (stageScene.scaleX == 1){ stageScrollUp = true; stageScrollDown = false; if (stagePanel.scrollup.currentFrame == 1){ stagePanel.scrollup.gotoAndPlay(2); }; }; } public function startZoomOut(){ if (!zoomingLocked){ zoomingOut = true; }; } private function refreshZooming(){ if (!zoomingLocked){ if (zoomingOut){ if (stageScene.scaleX > 0.5){ stageScene.scaleX = (stageScene.scaleX - 0.025); stageScene.scaleY = (stageScene.scaleY - 0.025); stageScrollUp = false; stageScrollDown = false; stageScene.y = 0; stageScene.x = (stageScene.x + 12); } else { stageScene.scaleX = 0.5; stageScene.scaleY = 0.5; stageScrollUp = false; stageScrollDown = false; stageScene.y = 0; stageScene.x = 0; }; } else { if (stageScene.scaleX < 1){ stageScene.scaleX = (stageScene.scaleX + 0.025); stageScene.scaleY = (stageScene.scaleY + 0.025); stageScrollUp = false; stageScrollDown = false; stageScene.y = 0; stageScene.x = (stageScene.x - 12); } else { stageScene.scaleX = 1; stageScene.scaleY = 1; stageScene.x = ((-1 * stageScene.width) / 4); }; }; } else { stageScene.scaleX = 0.5; stageScene.scaleY = 0.5; stageScrollUp = false; stageScrollDown = false; stageScene.y = 0; stageScene.x = 0; }; stageBackground.scaleX = stageScene.scaleX; stageBackground.scaleY = stageScene.scaleY; stageBackground.y = stageScene.y; stageBackground.x = stageScene.x; stageParticle.scaleX = stageScene.scaleX; stageParticle.scaleY = stageScene.scaleY; stageParticle.y = stageScene.y; stageParticle.x = stageScene.x; } public function dequeueUnit1(e=null){ if (unitQueueTimer.length > 0){ showMessage("Unit queue cancelled"); switch (unitQueueNames[0]){ case "avenger": gameData.gold = (gameData.gold + gameData.playerunitprice[0]); break; case "thunderbolt": gameData.gold = (gameData.gold + gameData.playerunitprice[1]); break; case "defender": gameData.gold = (gameData.gold + gameData.playerunitprice[2]); break; case "battlecruiser": gameData.gold = (gameData.gold + gameData.playerunitprice[3]); break; case "valour": gameData.gold = (gameData.gold + gameData.playerunitprice[4]); break; case "secretstriker": gameData.gold = (gameData.gold + gameData.playerunitprice[5]); break; case "aircraftcarrier": gameData.gold = (gameData.gold + gameData.playerunitprice[6]); break; }; unitQueueNames.splice(0, 1); unitQueueTimer.splice(0, 1); if (unitQueueTimer.length > 0){ unitQueueCountDown = unitQueueTimer[0]; } else { unitQueueCountDown = 0; }; }; } public function dequeueUnit4(e=null){ if (unitQueueTimer.length > 0){ showMessage("Unit queue cancelled"); switch (unitQueueNames[3]){ case "avenger": gameData.gold = (gameData.gold + gameData.playerunitprice[0]); break; case "thunderbolt": gameData.gold = (gameData.gold + gameData.playerunitprice[1]); break; case "defender": gameData.gold = (gameData.gold + gameData.playerunitprice[2]); break; case "battlecruiser": gameData.gold = (gameData.gold + gameData.playerunitprice[3]); break; case "valour": gameData.gold = (gameData.gold + gameData.playerunitprice[4]); break; case "secretstriker": gameData.gold = (gameData.gold + gameData.playerunitprice[5]); break; case "aircraftcarrier": gameData.gold = (gameData.gold + gameData.playerunitprice[6]); break; }; unitQueueNames.splice(3, 1); unitQueueTimer.splice(3, 1); }; } private function startEventHandlers(){ this.addEventListener(Event.ENTER_FRAME, moveClip, false, 0, true); controlMgr.startListeners(); stageScene.btzoomlock.addEventListener(MouseEvent.MOUSE_UP, toggleZoomLock, false, 0, true); stagePanel.scrollup.addEventListener(MouseEvent.MOUSE_OVER, startScrollingUp, false, 0, true); stagePanel.scrolldown.addEventListener(MouseEvent.MOUSE_OVER, startScrollingDown, false, 0, true); stagePanel.scrollup.addEventListener(MouseEvent.MOUSE_OUT, stopScrollingUp, false, 0, true); stagePanel.scrolldown.addEventListener(MouseEvent.MOUSE_OUT, stopScrollingDown, false, 0, true); setPanels(); } public function dequeueUnit2(e=null){ if (unitQueueTimer.length > 1){ showMessage("Unit queue cancelled"); switch (unitQueueNames[1]){ case "avenger": gameData.gold = (gameData.gold + gameData.playerunitprice[0]); break; case "thunderbolt": gameData.gold = (gameData.gold + gameData.playerunitprice[1]); break; case "defender": gameData.gold = (gameData.gold + gameData.playerunitprice[2]); break; case "battlecruiser": gameData.gold = (gameData.gold + gameData.playerunitprice[3]); break; case "valour": gameData.gold = (gameData.gold + gameData.playerunitprice[4]); break; case "secretstriker": gameData.gold = (gameData.gold + gameData.playerunitprice[5]); break; case "aircraftcarrier": gameData.gold = (gameData.gold + gameData.playerunitprice[6]); break; }; unitQueueNames.splice(1, 1); unitQueueTimer.splice(1, 1); }; } public function dequeueUnit3(e=null){ if (unitQueueTimer.length > 2){ showMessage("Unit queue cancelled"); switch (unitQueueNames[2]){ case "avenger": gameData.gold = (gameData.gold + gameData.playerunitprice[0]); break; case "thunderbolt": gameData.gold = (gameData.gold + gameData.playerunitprice[1]); break; case "defender": gameData.gold = (gameData.gold + gameData.playerunitprice[2]); break; case "battlecruiser": gameData.gold = (gameData.gold + gameData.playerunitprice[3]); break; case "valour": gameData.gold = (gameData.gold + gameData.playerunitprice[4]); break; case "secretstriker": gameData.gold = (gameData.gold + gameData.playerunitprice[5]); break; case "aircraftcarrier": gameData.gold = (gameData.gold + gameData.playerunitprice[6]); break; }; unitQueueNames.splice(2, 1); unitQueueTimer.splice(2, 1); }; } public function dequeueUnit5(e=null){ if (unitQueueTimer.length > 4){ showMessage("Unit queue cancelled"); switch (unitQueueNames[4]){ case "avenger": gameData.gold = (gameData.gold + gameData.playerunitprice[0]); break; case "thunderbolt": gameData.gold = (gameData.gold + gameData.playerunitprice[1]); break; case "defender": gameData.gold = (gameData.gold + gameData.playerunitprice[2]); break; case "battlecruiser": gameData.gold = (gameData.gold + gameData.playerunitprice[3]); break; case "valour": gameData.gold = (gameData.gold + gameData.playerunitprice[4]); break; case "secretstriker": gameData.gold = (gameData.gold + gameData.playerunitprice[5]); break; case "aircraftcarrier": gameData.gold = (gameData.gold + gameData.playerunitprice[6]); break; }; unitQueueNames.splice(4, 1); unitQueueTimer.splice(4, 1); }; } private function detectHit(){ var i:*; var j:*; i = (stageScene.playerUnits.length - 1); while (i >= 0) { j = (stageParticle.computerBullets.length - 1); while (j >= 0) { if (getDistance(stageScene.playerUnits[i], stageParticle.computerBullets[j]) < (stageScene.playerUnits[i].height * 0.5)){ stageScene.playerUnits[i].reduceHealth(stageParticle.computerBullets[j]); stageParticle.computerBullets[j].gotoAndStop("destroyed"); }; j--; }; i--; }; i = (stageScene.playerTowers.length - 1); while (i >= 0) { j = (stageParticle.computerBullets.length - 1); while (j >= 0) { if (getDistance(stageScene.playerTowers[i], stageParticle.computerBullets[j]) < (stageScene.playerTowers[i].height * 0.5)){ stageScene.playerTowers[i].reduceHealth(stageParticle.computerBullets[j]); stageParticle.computerBullets[j].gotoAndStop("destroyed"); }; j--; }; i--; }; i = (stageScene.computerUnits.length - 1); while (i >= 0) { j = (stageParticle.playerBullets.length - 1); while (j >= 0) { if (getDistance(stageScene.computerUnits[i], stageParticle.playerBullets[j]) < (stageScene.computerUnits[i].height * 0.5)){ stageScene.computerUnits[i].reduceHealth(stageParticle.playerBullets[j]); stageParticle.playerBullets[j].gotoAndStop("destroyed"); }; j--; }; i--; }; i = (stageScene.computerTowers.length - 1); while (i >= 0) { j = (stageParticle.playerBullets.length - 1); while (j >= 0) { if (getDistance(stageScene.computerTowers[i], stageParticle.playerBullets[j]) < (stageScene.computerTowers[i].height * 0.5)){ stageScene.computerTowers[i].reduceHealth(stageParticle.playerBullets[j]); stageParticle.playerBullets[j].gotoAndStop("destroyed"); }; j--; }; i--; }; j = (stageParticle.computerBullets.length - 1); while (j >= 0) { if (getDistance(stageScene.playerBaseMC, stageParticle.computerBullets[j]) < (stageScene.playerBaseMC.height * 0.5)){ stageScene.playerBaseMC.reduceHealth(stageParticle.computerBullets[j]); stageParticle.computerBullets[j].gotoAndStop("destroyed"); }; j--; }; j = (stageParticle.playerBullets.length - 1); while (j >= 0) { if (stageParticle.playerBullets[j].typed != "dropbombbullet"){ if (getDistance(stageScene.computerBaseMC, stageParticle.playerBullets[j]) < (stageScene.computerBaseMC.height * 0.5)){ stageScene.computerBaseMC.reduceHealth(stageParticle.playerBullets[j]); stageParticle.playerBullets[j].gotoAndStop("destroyed"); }; } else { if (stageParticle.playerBullets[j].currentLabel == "destroyed"){ stageScene.computerBaseMC.reduceHealth(stageParticle.playerBullets[j]); }; }; j--; }; } private function setPanels(){ stagePanel.btquit.addEventListener(MouseEvent.MOUSE_UP, quitGameRequest, false, 0, true); stagePanel.btmoregames.addEventListener(MouseEvent.MOUSE_UP, goMoreGames, false, 0, true); stagePanel.btoptions.addEventListener(MouseEvent.MOUSE_UP, pauseClip, false, 0, true); stagePanel.btcreateunit1.addEventListener(MouseEvent.MOUSE_OVER, setCreateUnitNote1, false, 0, true); stagePanel.btcreateunit2.addEventListener(MouseEvent.MOUSE_OVER, setCreateUnitNote2, false, 0, true); stagePanel.btcreateunit3.addEventListener(MouseEvent.MOUSE_OVER, setCreateUnitNote3, false, 0, true); stagePanel.btcreateunit4.addEventListener(MouseEvent.MOUSE_OVER, setCreateUnitNote4, false, 0, true); stagePanel.btcreateunit5.addEventListener(MouseEvent.MOUSE_OVER, setCreateUnitNote5, false, 0, true); stagePanel.btspecial1.addEventListener(MouseEvent.MOUSE_OVER, setSpecialNote1, false, 0, true); stagePanel.btspecial2.addEventListener(MouseEvent.MOUSE_OVER, setSpecialNote2, false, 0, true); stagePanel.btspecial3.addEventListener(MouseEvent.MOUSE_OVER, setSpecialNote3, false, 0, true); stagePanel.btspecial4.addEventListener(MouseEvent.MOUSE_OVER, setSpecialNote4, false, 0, true); stagePanel.btcreatetower1.addEventListener(MouseEvent.MOUSE_OVER, setCreateTowerNote1, false, 0, true); stagePanel.btcreatetower2.addEventListener(MouseEvent.MOUSE_OVER, setCreateTowerNote2, false, 0, true); stagePanel.btcreatetower3.addEventListener(MouseEvent.MOUSE_OVER, setCreateTowerNote3, false, 0, true); stagePanel.btupgrade1.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote1, false, 0, true); stagePanel.btupgrade2.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote2, false, 0, true); stagePanel.btupgrade3.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote3, false, 0, true); stagePanel.btupgrade4.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote4, false, 0, true); stagePanel.btupgrade5.addEventListener(MouseEvent.MOUSE_OVER, setUpgradeNote5, false, 0, true); stagePanel.btcreateunit1.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btcreateunit2.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btcreateunit3.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btcreateunit4.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btcreateunit5.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btspecial1.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btspecial2.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btspecial3.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btspecial4.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btcreatetower1.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btcreatetower2.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btcreatetower3.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btupgrade1.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btupgrade2.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btupgrade3.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btupgrade4.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btupgrade5.addEventListener(MouseEvent.MOUSE_OUT, resetNote, false, 0, true); stagePanel.btcreateunit1.btactive.addEventListener(MouseEvent.MOUSE_UP, queueUnit1, false, 0, true); stagePanel.btcreateunit2.btactive.addEventListener(MouseEvent.MOUSE_UP, queueUnit2, false, 0, true); stagePanel.btcreateunit3.btactive.addEventListener(MouseEvent.MOUSE_UP, queueUnit3, false, 0, true); stagePanel.btcreateunit4.btactive.addEventListener(MouseEvent.MOUSE_UP, queueUnit4, false, 0, true); stagePanel.btcreateunit5.btactive.addEventListener(MouseEvent.MOUSE_UP, queueUnit5, false, 0, true); stagePanel.btspecial1.btactive.addEventListener(MouseEvent.MOUSE_UP, queueUnit6, false, 0, true); stagePanel.btspecial4.btactive.addEventListener(MouseEvent.MOUSE_UP, queueUnit7, false, 0, true); stagePanel.unitsqueuer1.addEventListener(MouseEvent.MOUSE_UP, dequeueUnit1, false, 0, true); stagePanel.unitsqueuer2.addEventListener(MouseEvent.MOUSE_UP, dequeueUnit2, false, 0, true); stagePanel.unitsqueuer3.addEventListener(MouseEvent.MOUSE_UP, dequeueUnit3, false, 0, true); stagePanel.unitsqueuer4.addEventListener(MouseEvent.MOUSE_UP, dequeueUnit4, false, 0, true); stagePanel.unitsqueuer5.addEventListener(MouseEvent.MOUSE_UP, dequeueUnit5, false, 0, true); stagePanel.btcreatetower1.btactive.addEventListener(MouseEvent.MOUSE_UP, getTowerPosition1, false, 0, true); stagePanel.btcreatetower2.btactive.addEventListener(MouseEvent.MOUSE_UP, getTowerPosition2, false, 0, true); stagePanel.btcreatetower3.btactive.addEventListener(MouseEvent.MOUSE_UP, getTowerPosition3, false, 0, true); stagePanel.btspecial2.btactive.addEventListener(MouseEvent.MOUSE_UP, getTowerPosition4, false, 0, true); stagePanel.btspecial3.btactive.addEventListener(MouseEvent.MOUSE_UP, getTowerPosition5, false, 0, true); stagePanel.btupgrade1.btactive.addEventListener(MouseEvent.MOUSE_UP, doUpgrade1, false, 0, true); stagePanel.btupgrade2.btactive.addEventListener(MouseEvent.MOUSE_UP, doUpgrade2, false, 0, true); stagePanel.btupgrade3.btactive.addEventListener(MouseEvent.MOUSE_UP, doUpgrade3, false, 0, true); stagePanel.btupgrade4.btactive.addEventListener(MouseEvent.MOUSE_UP, doUpgrade4, false, 0, true); stagePanel.btupgrade5.btactive.addEventListener(MouseEvent.MOUSE_UP, doUpgrade5, false, 0, true); } private function resetNote(e){ stagePanel.mcinfo.hideNote(); } } }//package
Section 102
//LandBaseObjectBase (LandBaseObjectBase) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.utils.*; public class LandBaseObjectBase extends MovieClip { public var sided;// = "computer" public var gun3:MovieClip; private var repairtimer;// = 0 public var maxhealth; private var plasmatimer;// = 0 public var attack; public var health; public var typed;// = "mainbase" private var unitstatus;// = "idle" private var target; private var targetdistance; private var attackstatus;// = "normal" private var stopy; public var mcrepair:MovieClip; private var createtime; private var thisparent; private var gamemgr; private var missiletimer;// = 0 public var gun1:MovieClip; public var gun2:MovieClip; public function LandBaseObjectBase(){ sided = "computer"; typed = "mainbase"; unitstatus = "idle"; plasmatimer = 0; missiletimer = 0; repairtimer = 0; attackstatus = "normal"; super(); } public function repairBase(){ if (mcrepair.currentFrame == 2){ mcrepair.gotoAndPlay(3); }; repairtimer++; if (repairtimer > 5){ repairtimer = 0; health = (health + 25); if (health > maxhealth){ health = maxhealth; }; gamemgr.stagePanel.mccomputerbasehealthbar.gotoAndStop((Math.floor(((health / maxhealth) * 100)) + 1)); gamemgr.stagePanel.mccomputerbasehealthbar.txt.text = Math.floor(health); }; } public function init(){ thisparent = this.parent; gamemgr = thisparent.myParent; health = gamemgr.gameData.computermainbasehealth; attack = gamemgr.gameData.computermainbaseattack; maxhealth = health; gamemgr.stagePanel.mccomputerbasehealthbar.gotoAndStop(101); gamemgr.stagePanel.mccomputerbasehealthbar.txt.text = Math.floor(health); this.cacheAsBitmap = true; this.addEventListener(MouseEvent.MOUSE_OVER, showData, false, 0, true); } public function reduceHealth2(_dmg){ var prevhealth:*; if (_dmg > health){ health = 0; gamemgr.stageParticle.createParticle(typed, this.x, this.y, this.rotation, this.width); unitstatus = "destroyed"; if (this.currentLabel != "destroyed"){ this.gotoAndStop("destroyed"); }; } else { prevhealth = health; health = (health - _dmg); gamemgr.stagePanel.mccomputerbasehealthbar.gotoAndStop((Math.floor(((health / maxhealth) * 100)) + 1)); gamemgr.stagePanel.mccomputerbasehealthbar.txt.text = Math.floor(health); checkCounter(prevhealth, health, maxhealth); }; } private function getClosestEnemy():Object{ var dist:*; var obj:*; var dist2:*; var obj2:*; var i:*; dist = 100; obj = null; if (thisparent.playerUnits.length > 0){ obj = thisparent.playerUnits[0]; dist = getDistance(this, obj); i = 1; while (i < thisparent.playerUnits.length) { obj2 = thisparent.playerUnits[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; }; if (obj){ target = obj; targetdistance = dist; }; return (obj); } public function deinit(){ this.stop(); this.removeEventListener(MouseEvent.MOUSE_OVER, showData); } private function doAttackMissile(){ var ang:*; missiletimer++; if (missiletimer >= 15){ missiletimer = 0; ang = (180 - getAngle(this, target)); gamemgr.stageParticle.createComputerBullet("missilebullet", (attack * 1.5), this.x, this.y, ang, this, target); }; } private function closingMove(){ var i:*; if (this.y > 450){ target = getClosestEnemy(); if (target){ this.y = (this.y - 0.2); i = 0; while (i < gamemgr.stageScene.computerTowers.length) { gamemgr.stageScene.computerTowers[i].stopy = (gamemgr.stageScene.computerTowers[i].stopy - 0.2); i++; }; }; if (this.y <= 300){ attackstatus = "close"; createtime = getTimer(); stopy = 300; }; }; } private function getAngle(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (((Math.atan2(dy, dx) * 180) / Math.PI)); } private function showData(e=null){ gamemgr.setFocusObject(this); } public function reduceHealth(_obj){ var prevhealth:*; if (_obj.damage > health){ health = 0; gamemgr.stagePanel.mccomputerbasehealthbar.gotoAndStop(1); gamemgr.stagePanel.mccomputerbasehealthbar.txt.text = "0"; gamemgr.stageParticle.createParticle(typed, this.x, this.y, this.rotation, this.width); unitstatus = "destroyed"; if (this.currentLabel != "destroyed"){ this.gotoAndStop("destroyed"); }; } else { prevhealth = health; health = (health - _obj.damage); gamemgr.stagePanel.mccomputerbasehealthbar.gotoAndStop((Math.floor(((health / maxhealth) * 100)) + 1)); gamemgr.stagePanel.mccomputerbasehealthbar.txt.text = Math.floor(health); gamemgr.stageParticle.createParticle(_obj.typed, _obj.x, _obj.y, _obj.rotation); checkCounter(prevhealth, health, maxhealth); }; } private function getDistance(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (Math.sqrt(((dx * dx) + (dy * dy)))); } private function moveWeapon(){ var gunangle1:*; var gunangle2:*; var gunangle3:*; gunangle1 = -90; gunangle2 = -90; gunangle3 = -90; target = getClosestEnemy(); if (((target) && ((targetdistance < 500)))){ gunangle1 = (180 - getAngle(new Point(((this.x + gun1.x) - 240), (this.y + gun1.y)), new Point((target.x - 240), target.y))); gunangle2 = (180 - getAngle(new Point(((this.x + gun2.x) - 240), (this.y + gun2.y)), new Point((target.x - 240), target.y))); gunangle3 = (180 - getAngle(new Point(((this.x + gun3.x) - 240), (this.y + gun3.y)), new Point((target.x - 240), target.y))); }; gun1.rotation = gunangle1; gun2.rotation = gunangle2; gun3.rotation = gunangle3; } private function doAttackGun(){ if (gun1.mcgunfire.currentFrame == 2){ gun1.mcgunfire.gotoAndPlay(3); gamemgr.stageParticle.createComputerBullet("gunbullet", attack, (this.x + gun1.x), (this.y + gun1.y), gun1.rotation, this); }; if (gun2.mcgunfire.currentFrame == 2){ gun2.mcgunfire.gotoAndPlay(3); gamemgr.stageParticle.createComputerBullet("gunbullet", attack, (this.x + gun2.x), (this.y + gun2.y), gun2.rotation, this); }; if (gun3.mcgunfire.currentFrame == 2){ gun3.mcgunfire.gotoAndPlay(3); gamemgr.stageParticle.createComputerBullet("gunbullet", attack, (this.x + gun3.x), (this.y + gun3.y), gun3.rotation, this); }; } public function moveClip(){ if (unitstatus == "idle"){ moveWeapon(); if (((target) && ((targetdistance < 250)))){ doAttackGun(); if (gamemgr.gameData.selectedlevel > 8){ doAttackMissile(); }; if (gamemgr.gameData.selectedlevel > 10){ doAttackPlasma(); }; }; if (attackstatus == "close"){ repairBase(); idleMove(); } else { if (attackstatus == "closing"){ repairBase(); closingMove(); }; }; }; gamemgr.stagePanel.mccomputerbasehealthbar.gotoAndStop((Math.floor(((health / maxhealth) * 100)) + 1)); gamemgr.stagePanel.mccomputerbasehealthbar.txt.text = Math.floor(health); } public function reinit(){ this.play(); this.addEventListener(MouseEvent.MOUSE_OVER, showData, false, 0, true); } private function idleMove(){ var t:*; t = getTimer(); this.y = (stopy + (Math.sin((((t - createtime) / 3000) * Math.PI)) * 5)); } private function doAttackPlasma(){ plasmatimer++; if (plasmatimer >= 10){ plasmatimer = 0; gamemgr.stageParticle.createComputerBullet("plasmabullet", (attack * 2), (this.x + gun1.x), (this.y + gun1.y), gun1.rotation, this); gamemgr.stageParticle.createComputerBullet("plasmabullet", (attack * 2), (this.x + gun3.x), (this.y + gun3.y), gun3.rotation, this); }; } private function checkCounter(_prevhealth, _health, _maxhealth){ var hprev:*; var hnext:*; hprev = (_prevhealth / _maxhealth); hnext = (_health / _maxhealth); if (gamemgr.gameData.selectedlevel > 2){ if (hnext < 0.16){ if (hprev >= 0.16){ gamemgr.computerMgr.doCounter(); }; gamemgr.sndMgr.playBGM("cover"); } else { if (hnext < 0.33){ if (hprev >= 0.33){ gamemgr.showMessage("Enemy base is in critical point"); gamemgr.computerMgr.doCounter(false); gamemgr.sndMgr.playBGM("high"); }; } else { if (hnext < 0.5){ if (hprev >= 0.5){ gamemgr.computerMgr.doCounter(); if (gamemgr.gameData.selectedlevel == 12){ attackstatus = "closing"; this.gotoAndStop(2); }; }; } else { if (hnext < 0.66){ if (hprev >= 0.66){ gamemgr.computerMgr.doCounter(false); }; }; }; }; }; } else { if (hnext < 0.16){ if (hprev >= 0.16){ gamemgr.computerMgr.doCounter(false); }; gamemgr.sndMgr.playBGM("cover"); } else { if (hnext < 0.33){ if (hprev >= 0.33){ gamemgr.showMessage("Enemy base is in critical point"); gamemgr.computerMgr.doCounter(false); gamemgr.sndMgr.playBGM("high"); }; }; }; }; } } }//package
Section 103
//mc_background1 (mc_background1) package { import flash.display.*; public dynamic class mc_background1 extends MovieClip { public function mc_background1(){ super(); } } }//package
Section 104
//mc_background2 (mc_background2) package { import flash.display.*; public dynamic class mc_background2 extends MovieClip { public function mc_background2(){ super(); } } }//package
Section 105
//mc_background3 (mc_background3) package { import flash.display.*; public dynamic class mc_background3 extends MovieClip { public function mc_background3(){ super(); } } }//package
Section 106
//mc_blowparticle1 (mc_blowparticle1) package { public dynamic class mc_blowparticle1 extends DropParticleBase { public function mc_blowparticle1(){ super(); } } }//package
Section 107
//mc_blowparticle2 (mc_blowparticle2) package { public dynamic class mc_blowparticle2 extends DropParticleBase { public function mc_blowparticle2(){ super(); } } }//package
Section 108
//mc_bombbullet (mc_bombbullet) package { public dynamic class mc_bombbullet extends BulletObjectBase { public function mc_bombbullet(){ super(); addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 109
//mc_character1 (mc_character1) package { public dynamic class mc_character1 extends UnitObjectBase { public function mc_character1(){ super(); } } }//package
Section 110
//mc_character2 (mc_character2) package { public dynamic class mc_character2 extends UnitObjectBase { public function mc_character2(){ super(); } } }//package
Section 111
//mc_empbullet (mc_empbullet) package { import flash.display.*; public dynamic class mc_empbullet extends MovieClip { public function mc_empbullet(){ super(); addFrameScript(17, frame18); } function frame18(){ stop(); } } }//package
Section 112
//mc_emptower (mc_emptower) package { public dynamic class mc_emptower extends TowerObjectBase { public function mc_emptower(){ super(); } } }//package
Section 113
//mc_enemy1 (mc_enemy1) package { public dynamic class mc_enemy1 extends UnitObjectBase { public function mc_enemy1(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 114
//mc_enemy2 (mc_enemy2) package { public dynamic class mc_enemy2 extends UnitObjectBase { public function mc_enemy2(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 115
//mc_enemy3 (mc_enemy3) package { public dynamic class mc_enemy3 extends UnitObjectBase { public function mc_enemy3(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 116
//mc_enemy4 (mc_enemy4) package { public dynamic class mc_enemy4 extends UnitObjectBase { public function mc_enemy4(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 117
//mc_enemy5 (mc_enemy5) package { public dynamic class mc_enemy5 extends UnitObjectBase { public function mc_enemy5(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 118
//mc_enemy6 (mc_enemy6) package { public dynamic class mc_enemy6 extends UnitObjectBase { public function mc_enemy6(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 119
//mc_enemy7 (mc_enemy7) package { public dynamic class mc_enemy7 extends UnitObjectBase { public function mc_enemy7(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 120
//mc_enemy7_shuttle (mc_enemy7_shuttle) package { public dynamic class mc_enemy7_shuttle extends ShuttleObjectBase { public function mc_enemy7_shuttle(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 121
//mc_enemyunit (mc_enemyunit) package { import flash.display.*; public dynamic class mc_enemyunit extends MovieClip { public function mc_enemyunit(){ super(); } } }//package
Section 122
//mc_explodesplash (mc_explodesplash) package { import flash.display.*; public dynamic class mc_explodesplash extends MovieClip { public function mc_explodesplash(){ super(); } } }//package
Section 123
//mc_gunbullet (mc_gunbullet) package { public dynamic class mc_gunbullet extends BulletObjectBase { public function mc_gunbullet(){ super(); } } }//package
Section 124
//mc_gunparticle (mc_gunparticle) package { import flash.display.*; public dynamic class mc_gunparticle extends MovieClip { public function mc_gunparticle(){ super(); } } }//package
Section 125
//mc_guntower (mc_guntower) package { public dynamic class mc_guntower extends TowerObjectBase { public function mc_guntower(){ super(); } } }//package
Section 126
//mc_guntowerenemy (mc_guntowerenemy) package { public dynamic class mc_guntowerenemy extends TowerObjectBase { public function mc_guntowerenemy(){ super(); } } }//package
Section 127
//mc_minienemybase (mc_minienemybase) package { import flash.display.*; public dynamic class mc_minienemybase extends MovieClip { public function mc_minienemybase(){ super(); } } }//package
Section 128
//mc_miniplayerbase (mc_miniplayerbase) package { import flash.display.*; public dynamic class mc_miniplayerbase extends MovieClip { public function mc_miniplayerbase(){ super(); } } }//package
Section 129
//mc_missilebullet (mc_missilebullet) package { public dynamic class mc_missilebullet extends BulletObjectBase { public function mc_missilebullet(){ super(); addFrameScript(30, frame31); } function frame31(){ stop(); } } }//package
Section 130
//mc_missiletower (mc_missiletower) package { public dynamic class mc_missiletower extends TowerObjectBase { public function mc_missiletower(){ super(); } } }//package
Section 131
//mc_missiletowerenemy (mc_missiletowerenemy) package { public dynamic class mc_missiletowerenemy extends TowerObjectBase { public function mc_missiletowerenemy(){ super(); } } }//package
Section 132
//mc_optionpanel (mc_optionpanel) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class mc_optionpanel extends MovieClip { public var btsfx:SimpleButton; public var btabort:SimpleButton; public var btbgm:SimpleButton; public var btmore:SimpleButton; public var txt1:TextField; public var txt2:TextField; public var txt3:TextField; public var txt5:TextField; public var thisparent; public var txt4:TextField; public var btresume:SimpleButton; public function mc_optionpanel(){ super(); addFrameScript(0, frame1, 7, frame8, 14, frame15); } public function abortOut(e=null){ txt4.text = "Abort Mission"; } public function showPanel(){ if (currentFrame == 1){ gotoAndPlay("2"); }; } public function sfxClick(e=null){ if (thisparent.sndMgr.sfxVolume > 0){ thisparent.sndMgr.sfxVolume = 0; txt2.text = "Sound FX OFF"; } else { thisparent.sndMgr.sfxVolume = 1; txt2.text = "Sound FX ON"; }; thisparent.sndMgr.refreshVolume(); } public function abortOver(e=null){ txt4.text = "Click to quit game"; } public function moreClick(e=null){ thisparent.myParent.gotoMoreGame(); } public function abortClick(e=null){ stopListeners(); thisparent.quitGameRequest(); this.gotoAndPlay(9); } public function resumeClick(e=null){ stopListeners(); thisparent.continueClip(); this.gotoAndPlay(9); } public function bgmOut(e=null){ if (thisparent.sndMgr.bgmVolume > 0){ txt3.text = "BG Music ON"; } else { txt3.text = "BG Music OFF"; }; } function frame15(){ gotoAndStop(1); } function frame1(){ stop(); thisparent = parent; } public function stopListeners(){ btmore.removeEventListener(MouseEvent.CLICK, moreClick); btsfx.removeEventListener(MouseEvent.CLICK, sfxClick); btbgm.removeEventListener(MouseEvent.CLICK, bgmClick); btabort.removeEventListener(MouseEvent.CLICK, abortClick); btresume.removeEventListener(MouseEvent.CLICK, resumeClick); btmore.removeEventListener(MouseEvent.MOUSE_OVER, moreOver); btsfx.removeEventListener(MouseEvent.MOUSE_OVER, sfxOver); btbgm.removeEventListener(MouseEvent.MOUSE_OVER, bgmOver); btabort.removeEventListener(MouseEvent.MOUSE_OVER, abortOver); btresume.removeEventListener(MouseEvent.MOUSE_OVER, resumeOver); btmore.removeEventListener(MouseEvent.MOUSE_OUT, moreOut); btsfx.removeEventListener(MouseEvent.MOUSE_OUT, sfxOut); btbgm.removeEventListener(MouseEvent.MOUSE_OUT, bgmOut); btabort.removeEventListener(MouseEvent.MOUSE_OUT, abortOut); btresume.removeEventListener(MouseEvent.MOUSE_OUT, resumeOut); } function frame8(){ stop(); startListeners(); } public function sfxOut(e=null){ if (thisparent.sndMgr.sfxVolume > 0){ txt2.text = "Sound FX ON"; } else { txt2.text = "Sound FX OFF"; }; } public function resumeOver(e=null){ txt5.text = "Click to resume game"; } public function bgmClick(e=null){ if (thisparent.sndMgr.bgmVolume > 0){ thisparent.sndMgr.bgmVolume = 0; txt3.text = "BG Music OFF"; } else { thisparent.sndMgr.bgmVolume = 1; txt3.text = "BG Music ON"; }; thisparent.sndMgr.refreshVolume(); } public function moreOut(e=null){ txt1.text = "More Invasion Games"; } public function moreOver(e=null){ txt1.text = "Click to get more fun"; } public function bgmOver(e=null){ if (thisparent.sndMgr.bgmVolume > 0){ txt3.text = "Click to turn off music"; } else { txt3.text = "Click to turn on music"; }; } public function resumeOut(e=null){ txt5.text = "Resume Game"; } public function hidePanel(){ if (currentFrame == 8){ gotoAndPlay("9"); }; } public function sfxOver(e=null){ if (thisparent.sndMgr.sfxVolume > 0){ txt2.text = "Click to turn off sound FX"; } else { txt2.text = "Click to turn on sound FX"; }; } public function startListeners(){ btmore.addEventListener(MouseEvent.CLICK, moreClick, false, 0, true); btsfx.addEventListener(MouseEvent.CLICK, sfxClick, false, 0, true); btbgm.addEventListener(MouseEvent.CLICK, bgmClick, false, 0, true); btabort.addEventListener(MouseEvent.CLICK, abortClick, false, 0, true); btresume.addEventListener(MouseEvent.CLICK, resumeClick, false, 0, true); btmore.addEventListener(MouseEvent.MOUSE_OVER, moreOver, false, 0, true); btsfx.addEventListener(MouseEvent.MOUSE_OVER, sfxOver, false, 0, true); btbgm.addEventListener(MouseEvent.MOUSE_OVER, bgmOver, false, 0, true); btabort.addEventListener(MouseEvent.MOUSE_OVER, abortOver, false, 0, true); btresume.addEventListener(MouseEvent.MOUSE_OVER, resumeOver, false, 0, true); btmore.addEventListener(MouseEvent.MOUSE_OUT, moreOut, false, 0, true); btsfx.addEventListener(MouseEvent.MOUSE_OUT, sfxOut, false, 0, true); btbgm.addEventListener(MouseEvent.MOUSE_OUT, bgmOut, false, 0, true); btabort.addEventListener(MouseEvent.MOUSE_OUT, abortOut, false, 0, true); btresume.addEventListener(MouseEvent.MOUSE_OUT, resumeOut, false, 0, true); } } }//package
Section 133
//mc_plasmabullet (mc_plasmabullet) package { public dynamic class mc_plasmabullet extends BulletObjectBase { public function mc_plasmabullet(){ super(); addFrameScript(40, frame41); } function frame41(){ stop(); } } }//package
Section 134
//mc_plasmatower (mc_plasmatower) package { public dynamic class mc_plasmatower extends TowerObjectBase { public function mc_plasmatower(){ super(); } } }//package
Section 135
//mc_plasmatowerenemy (mc_plasmatowerenemy) package { public dynamic class mc_plasmatowerenemy extends TowerObjectBase { public function mc_plasmatowerenemy(){ super(); } } }//package
Section 136
//mc_player1 (mc_player1) package { public dynamic class mc_player1 extends UnitObjectBase { public function mc_player1(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 137
//mc_player2 (mc_player2) package { public dynamic class mc_player2 extends UnitObjectBase { public function mc_player2(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 138
//mc_player3 (mc_player3) package { public dynamic class mc_player3 extends UnitObjectBase { public function mc_player3(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 139
//mc_player4 (mc_player4) package { public dynamic class mc_player4 extends UnitObjectBase { public function mc_player4(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 140
//mc_player5 (mc_player5) package { public dynamic class mc_player5 extends UnitObjectBase { public function mc_player5(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 141
//mc_playerunit (mc_playerunit) package { import flash.display.*; public dynamic class mc_playerunit extends MovieClip { public function mc_playerunit(){ super(); } } }//package
Section 142
//mc_redsplashfx (mc_redsplashfx) package { import flash.display.*; public dynamic class mc_redsplashfx extends MovieClip { public function mc_redsplashfx(){ super(); } } }//package
Section 143
//mc_shipgunbullet (mc_shipgunbullet) package { public dynamic class mc_shipgunbullet extends BulletObjectBase { public function mc_shipgunbullet(){ super(); } } }//package
Section 144
//mc_special1 (mc_special1) package { public dynamic class mc_special1 extends UnitObjectBase { public function mc_special1(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 145
//mc_special4 (mc_special4) package { public dynamic class mc_special4 extends UnitObjectBase { public function mc_special4(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 146
//mc_special4_shuttle (mc_special4_shuttle) package { public dynamic class mc_special4_shuttle extends ShuttleObjectBase { public function mc_special4_shuttle(){ super(); addFrameScript(2, frame3, 5, frame6, 8, frame9); } function frame3(){ gotoAndPlay("p1"); } function frame6(){ gotoAndPlay("p2"); } function frame9(){ gotoAndPlay("p3"); } } }//package
Section 147
//mc_thunderbullet (mc_thunderbullet) package { import flash.display.*; public dynamic class mc_thunderbullet extends MovieClip { public function mc_thunderbullet(){ super(); addFrameScript(1, frame2, 3, frame4, 5, frame6, 7, frame8, 9, frame10, 10, frame11); } function frame10(){ gotoAndPlay("destroyed"); } function frame6(){ gotoAndPlay("destroyed"); } function frame8(){ gotoAndPlay("destroyed"); } function frame4(){ gotoAndPlay("destroyed"); } function frame2(){ gotoAndPlay("destroyed"); } function frame11(){ stop(); } } }//package
Section 148
//mc_thundertower (mc_thundertower) package { public dynamic class mc_thundertower extends TowerObjectBase { public function mc_thundertower(){ super(); } } }//package
Section 149
//mc_thundertowerenemy (mc_thundertowerenemy) package { public dynamic class mc_thundertowerenemy extends TowerObjectBase { public function mc_thundertowerenemy(){ super(); } } }//package
Section 150
//mc_towercreate (mc_towercreate) package { import flash.display.*; public dynamic class mc_towercreate extends MovieClip { public function mc_towercreate(){ super(); } } }//package
Section 151
//mc_towerprogress (mc_towerprogress) package { import flash.display.*; public dynamic class mc_towerprogress extends MovieClip { public function mc_towerprogress(){ super(); } } }//package
Section 152
//MochiAd (MochiAd) package { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.system.*; import flash.net.*; public class MochiAd { public function MochiAd(){ super(); } public static function getVersion():String{ return ("2.7"); } public static function showClickAwayAd(options:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_timeout:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var sendHostProgress:Boolean; var options = options; DEFAULTS = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (width:Number, height:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_timeout = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (callbackID:Number, arg:Object):void{ MochiAd.rpc(clip, callbackID, arg); }; sendHostProgress = false; mc.regContLC = function (lc_name:String):void{ mc._containerLCName = lc_name; }; chk["onEnterFrame"] = function ():void{ var ad_clip:Object; var elapsed:Number; var finished:Boolean; var total:Number; if (!this.parent){ delete this.onEnterFrame; return; }; ad_clip = this.parent._mochiad_ctr; elapsed = (getTimer() - this.started); finished = false; if (!chk.showing){ total = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (total > 0){ chk.showing = true; finished = true; chk.started = getTimer(); } else { if (elapsed > chk.ad_timeout){ options.ad_failed(); finished = true; }; }; }; if (this.root == null){ finished = true; }; if (finished){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(server:String):String{ var hostname:String; hostname = server.split("/")[2].split(":")[0]; Security.allowDomain("*"); Security.allowDomain(hostname); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(hostname); return (hostname); } public static function unload(clip:Object):Boolean{ if (((clip.clip) && (clip.clip._mochiad))){ clip = clip.clip; }; if (clip.origFrameRate != undefined){ clip.stage.frameRate = clip.origFrameRate; }; if (!clip._mochiad){ return (false); }; if (clip._mochiad._containerLCName != undefined){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"}); }; if (clip._mochiad.onUnload){ clip._mochiad.onUnload(); }; delete clip._mochiad_loaded; delete clip._mochiad; return (true); } public static function showInterLevelAd(options:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = options; DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (width:Number, height:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var p:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (p > 0){ this.parent.alpha = (p * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (msec:Number):void{ var _chk:Object; _chk = mc._mochiad_wait; _chk.server_control = true; _chk.showing = true; _chk.started = getTimer(); _chk.ad_msec = (msec - 250); }; mc.rpc = function (callbackID:Number, arg:Object):void{ MochiAd.rpc(clip, callbackID, arg); }; chk["onEnterFrame"] = function ():void{ var ad_clip:Object; var elapsed:Number; var finished:Boolean; var total:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; ad_clip = this.parent._mochiad_ctr; elapsed = (getTimer() - this.started); finished = false; if (!chk.showing){ total = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (total > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (elapsed > chk.ad_timeout){ options.ad_failed(); finished = true; }; }; }; if (elapsed > chk.ad_msec){ finished = true; }; if (finished){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(options:Object, defaults:Object):Object{ var optcopy:Object; var k:String; var pairs:Array; var i:Number; var kv:Array; optcopy = {}; for (k in defaults) { optcopy[k] = defaults[k]; }; if (options){ for (k in options) { optcopy[k] = options[k]; }; }; if (optcopy.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; options = optcopy.clip.loaderInfo.parameters.mochiad_options; if (options){ pairs = options.split("&"); i = 0; while (i < pairs.length) { kv = pairs[i].split("="); optcopy[unescape(kv[0])] = unescape(kv[1]); i++; }; }; if (optcopy.id == "test"){ trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); }; return (optcopy); } public static function _cleanup(mc:Object):void{ var idx:Number; var k:String; var lc:LocalConnection; var f:Function; var mc = mc; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ lc.client = null; lc.close(); //unresolved jump var _slot1 = e; }; setTimeout(f, 0); }; idx = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(options:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = options; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; if (clip._mochiad_loaded){ return (null); }; //unresolved jump var _slot1 = e; throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (ev:Object):void{ ev.target.removeEventListener(ev.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime())); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(base:Object, methodName:String, argsArray:Array):Object{ var nameArray:Array; var i:Number; nameArray = methodName.split("."); i = 0; while (i < (nameArray.length - 1)) { if ((((base[nameArray[i]] == undefined)) || ((base[nameArray[i]] == null)))){ return (undefined); }; base = base[nameArray[i]]; i++; }; if (typeof(base[nameArray[i]]) == "function"){ return (base[nameArray[i]].apply(base, argsArray)); }; return (undefined); } public static function createEmptyMovieClip(parent:Object, name:String, depth:Number):MovieClip{ var mc:MovieClip; mc = new MovieClip(); if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; parent[name] = mc; mc["_name"] = name; return (mc); } public static function _getRes(options:Object, clip:Object):Array{ var b:Object; var w:Number; var h:Number; var xy:Array; b = clip.getBounds(clip.root); w = 0; h = 0; if (typeof(options.res) != "undefined"){ xy = options.res.split("x"); w = parseFloat(xy[0]); h = parseFloat(xy[1]); } else { w = (b.xMax - b.xMin); h = (b.yMax - b.yMin); }; if ((((w == 0)) || ((h == 0)))){ w = clip.stage.stageWidth; h = clip.stage.stageHeight; }; return ([w, h]); } public static function adShowing(mc:Object):void{ mc.origFrameRate = mc.stage.frameRate; mc.stage.frameRate = 30; } public static function getValue(base:Object, objectName:String):Object{ var nameArray:Array; var i:Number; nameArray = objectName.split("."); i = 0; while (i < (nameArray.length - 1)) { if ((((base[nameArray[i]] == undefined)) || ((base[nameArray[i]] == null)))){ return (undefined); }; base = base[nameArray[i]]; i++; }; return (base[nameArray[i]]); } public static function rpc(clip:Object, callbackID:Number, arg:Object):void{ var _local4:Object; var _local5:Object; switch (arg.id){ case "setValue": MochiAd.setValue(clip, arg.objectName, arg.value); break; case "getValue": _local4 = MochiAd.getValue(clip, arg.objectName); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(clip, arg.method, arg.args); clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local5); break; default: trace(("[mochiads rpc] unknown rpc id: " + arg.id)); }; } public static function setValue(base:Object, objectName:String, value:Object):void{ var nameArray:Array; var i:Number; nameArray = objectName.split("."); i = 0; while (i < (nameArray.length - 1)) { if ((((base[nameArray[i]] == undefined)) || ((base[nameArray[i]] == null)))){ return; }; base = base[nameArray[i]]; i++; }; base[nameArray[i]] = value; } public static function showPreGameAd(options:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = options; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (width:Number, height:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }, ad_progress:function (percent:Number):void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); return; }; clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; MochiAd._cleanup(mc); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = 10; bar.y = (h - 20); }; bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var p:Number; p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (p > 0){ this.parent.alpha = (p * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (ev:Event):void{ ev.target.removeEventListener(ev.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (msec:Number):void{ var _chk:Object; _chk = mc._mochiad_wait; _chk.server_control = true; _chk.showing = true; _chk.started = getTimer(); _chk.ad_msec = msec; }; mc.rpc = function (callbackID:Number, arg:Object):void{ MochiAd.rpc(clip, callbackID, arg); }; mc.rpcTestFn = function (s:String):Object{ trace(("[MOCHIAD rpcTestFn] " + s)); return (s); }; mc.regContLC = function (lc_name:String):void{ mc._containerLCName = lc_name; }; sendHostProgress = false; mc.sendHostLoadProgress = function (lc_name:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _clip:Object; var ad_clip:Object; var elapsed:Number; var finished:Boolean; var clip_total:Number; var clip_loaded:Number; var clip_pcnt:Number; var ad_pcnt:Number; var _inside:Object; var pcnt:Number; var total:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; _clip = this.parent.parent.root; ad_clip = this.parent._mochiad_ctr; elapsed = (getTimer() - this.started); finished = false; clip_total = _clip.loaderInfo.bytesTotal; clip_loaded = _clip.loaderInfo.bytesLoaded; if (complete){ clip_loaded = Math.max(1, clip_loaded); clip_total = clip_loaded; }; clip_pcnt = ((100 * clip_loaded) / clip_total); ad_pcnt = ((100 * elapsed) / chk.ad_msec); _inside = this._mochiad_bar._inside; pcnt = Math.min(100, Math.min(((clip_pcnt) || (0)), ad_pcnt)); pcnt = Math.max(this.last_pcnt, pcnt); this.last_pcnt = pcnt; _inside.scaleX = (pcnt * 0.01); options.ad_progress(pcnt); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:clip_pcnt}); if (clip_pcnt == 100){ sendHostProgress = false; }; }; if (!chk.showing){ total = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (total > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((elapsed > chk.ad_timeout)) && ((clip_pcnt == 100)))){ options.ad_failed(); finished = true; }; }; }; if (elapsed > chk.ad_msec){ finished = true; }; if (((complete) && (finished))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(options:Object):void{ trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); MochiAd.showPreGameAd(options); } public static function showTimedAd(options:Object):void{ trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); MochiAd.showInterLevelAd(options); } public static function doOnEnterFrame(mc:MovieClip):void{ var f:Function; var mc = mc; f = function (ev:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { ev.target.removeEventListener(ev.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package
Section 153
//MochiBot (MochiBot) package { import flash.display.*; import flash.system.*; import flash.net.*; public dynamic class MochiBot extends Sprite { public function MochiBot(){ super(); } public static function track(parent:Sprite, tag:String):MochiBot{ var self:MochiBot; var server:String; var lv:URLVariables; var url:String; var req:URLRequest; var loader:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; self = new (MochiBot); parent.addChild(self); Security.allowDomain("*"); Security.allowInsecureDomain("*"); server = "http://core.mochibot.com/my/core.swf"; lv = new URLVariables(); lv["sb"] = Security.sandboxType; lv["v"] = Capabilities.version; lv["swfid"] = tag; lv["mv"] = "8"; lv["fv"] = "9"; url = self.root.loaderInfo.loaderURL; if (url.indexOf("http") == 0){ lv["url"] = url; } else { lv["url"] = "local"; }; req = new URLRequest(server); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader = new Loader(); self.addChild(loader); loader.load(req); return (self); } } }//package
Section 154
//ParticleContainerBase (ParticleContainerBase) package { import flash.display.*; public class ParticleContainerBase extends Sprite { public var computerBullets; public var playerBullets; private var particles; private var thisparent; private var sndMgr; public function ParticleContainerBase(){ playerBullets = new Array(); computerBullets = new Array(); particles = new Array(); super(); } public function init(){ thisparent = MovieClip(this.parent); sndMgr = thisparent.sndMgr; playerBullets.splice(0); computerBullets.splice(0); } public function createComputerBullet(_type, _dmg, _xx, _yy, _ang, _own, _tgt=null){ var obj:*; switch (_type){ case "shipgunbullet": obj = new mc_shipgunbullet(); obj.x = _xx; obj.y = _yy; obj.rotation = _ang; obj.init(_type, _dmg, _own); sndMgr.playSFX("sfxgunshot"); break; case "plasmabullet": obj = new mc_plasmabullet(); obj.x = _xx; obj.y = _yy; obj.rotation = _ang; obj.init(_type, _dmg, _own); sndMgr.playSFX("sfxplasmashot"); break; case "missilebullet": obj = new mc_missilebullet(); obj.x = _xx; obj.y = _yy; obj.rotation = _ang; obj.init(_type, _dmg, _own, _tgt); sndMgr.playSFX("sfxmissileshot"); break; case "gunbullet": default: obj = new mc_gunbullet(); obj.x = _xx; obj.y = _yy; obj.rotation = _ang; obj.init(_type, _dmg, _own); sndMgr.playSFX("sfxgunshot"); break; }; if (obj){ this.addChild(obj); computerBullets.push(obj); }; } public function deinit(){ var i:*; var num:*; var obj:*; num = this.numChildren; i = (num - 1); while (i >= 0) { obj = this.getChildAt(i); obj.stop(); i--; }; } public function removeParticle(_obj){ var i:*; i = particles.indexOf(_obj); if (i >= 0){ this.removeChild(particles[i]); particles.splice(i, 1); }; } private function getAngle(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (((Math.atan2(dy, dx) * 180) / Math.PI)); } public function createPlayerBullet(_type, _dmg, _xx, _yy, _ang, _own, _tgt=null){ var obj:*; switch (_type){ case "shipgunbullet": obj = new mc_shipgunbullet(); obj.x = _xx; obj.y = _yy; obj.rotation = _ang; obj.init(_type, _dmg, _own); sndMgr.playSFX("sfxgunshot"); break; case "plasmabullet": obj = new mc_plasmabullet(); obj.x = _xx; obj.y = _yy; obj.rotation = _ang; obj.init(_type, _dmg, _own); sndMgr.playSFX("sfxplasmashot"); break; case "missilebullet": obj = new mc_missilebullet(); obj.x = _xx; obj.y = _yy; obj.rotation = _ang; obj.init(_type, _dmg, _own, _tgt); sndMgr.playSFX("sfxmissileshot"); break; case "dropbombbullet": obj = new mc_bombbullet(); obj.x = _xx; obj.y = _yy; obj.rotation = _ang; obj.init(_type, _dmg, _own, _tgt); break; case "gunbullet": default: obj = new mc_gunbullet(); obj.x = _xx; obj.y = _yy; obj.rotation = _ang; obj.init(_type, _dmg, _own); sndMgr.playSFX("sfxgunshot"); break; }; if (obj){ this.addChild(obj); playerBullets.push(obj); }; } private function getDistance(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (Math.sqrt(((dx * dx) + (dy * dy)))); } public function removeComputerBullet(_obj){ var obj:*; var i:*; i = computerBullets.indexOf(_obj); if (i >= 0){ switch (computerBullets[i].typed){ case "missilebullet": obj = new mc_redsplashfx(); obj.x = computerBullets[i].x; obj.y = computerBullets[i].y; obj.rotation = computerBullets[i].rotation; obj.width = 10; obj.height = 10; this.addChild(obj); particles.push(obj); sndMgr.playSFX("sfxdmissileexplode"); break; }; this.removeChild(computerBullets[i]); computerBullets.splice(i, 1); }; } public function createParticle(_type, _xx, _yy, _aa=0, _ww=0){ var obj:*; var i:*; switch (_type){ case "guntower": case "missiletower": case "thundertower": case "emptower": case "plasmatower": case "avenger": case "thunderbolt": case "defender": case "battlecruiser": case "secretstriker": case "intrepid": case "excelsior": case "steamrunner": case "ptolemy": case "warhammer": obj = new mc_redsplashfx(); obj.x = _xx; obj.y = _yy; obj.width = (_ww / 2); obj.height = (_ww / 2); obj.rotation = _aa; this.addChild(obj); particles.push(obj); i = 0; while (i < 20) { obj = new mc_blowparticle1(); obj.x = _xx; obj.y = _yy; obj.init(); this.addChild(obj); particles.push(obj); i++; }; sndMgr.playSFX("sfxsmallshipexplode"); break; case "valour": case "vanguard": case "aircraftcarrier": obj = new mc_redsplashfx(); obj.x = _xx; obj.y = _yy; obj.width = (_ww / 4); obj.height = (_ww / 4); obj.rotation = _aa; this.addChild(obj); particles.push(obj); i = 0; while (i < 20) { obj = new mc_blowparticle1(); obj.x = _xx; obj.y = _yy; obj.init(); this.addChild(obj); particles.push(obj); i++; }; sndMgr.playSFX("sfxbigshipexplode"); break; case "empbullet": obj = new mc_empbullet(); obj.x = _xx; obj.y = _yy; this.addChild(obj); particles.push(obj); break; case "thunderbullet": obj = new mc_thunderbullet(); obj.gotoAndPlay(((Math.ceil((Math.random() * 5)) * 2) - 1)); obj.x = _xx; obj.y = _yy; obj.width = _ww; obj.rotation = _aa; this.addChild(obj); particles.push(obj); break; case "dropbombbullet": case "missilebullet": obj = new mc_redsplashfx(); obj.x = _xx; obj.y = _yy; obj.rotation = _aa; obj.scaleX = 0.3; obj.scaleY = 0.3; this.addChild(obj); particles.push(obj); break; case "gunbullet": default: obj = new mc_gunparticle(); obj.x = _xx; obj.y = _yy; obj.rotation = _aa; this.addChild(obj); particles.push(obj); break; }; } public function moveClip(){ var i:*; i = (playerBullets.length - 1); while (i >= 0) { playerBullets[i].moveClip(); if (playerBullets[i].currentLabel == "destroyed"){ removePlayerBullet(playerBullets[i]); }; i--; }; i = (computerBullets.length - 1); while (i >= 0) { computerBullets[i].moveClip(); if (computerBullets[i].currentLabel == "destroyed"){ removeComputerBullet(computerBullets[i]); }; i--; }; i = (particles.length - 1); while (i >= 0) { if (particles[i].currentLabel == "destroyed"){ removeParticle(particles[i]); }; i--; }; } public function reinit(){ var i:*; var num:*; var obj:*; num = this.numChildren; i = (num - 1); while (i >= 0) { obj = this.getChildAt(i); obj.play(); i--; }; } public function removePlayerBullet(_obj){ var obj:*; var i:*; i = playerBullets.indexOf(_obj); if (i >= 0){ switch (playerBullets[i].typed){ case "dropbombbullet": obj = new mc_explodesplash(); obj.x = playerBullets[i].x; obj.y = playerBullets[i].y; this.addChild(obj); particles.push(obj); sndMgr.playSFX("sfxdropbombexplode"); break; case "missilebullet": obj = new mc_redsplashfx(); obj.x = playerBullets[i].x; obj.y = playerBullets[i].y; obj.rotation = playerBullets[i].rotation; obj.scaleX = 1; obj.scaleY = 1; this.addChild(obj); particles.push(obj); sndMgr.playSFX("sfxdmissileexplode"); break; }; this.removeChild(playerBullets[i]); playerBullets.splice(i, 1); }; } } }//package
Section 155
//playerbase_mc (playerbase_mc) package { public dynamic class playerbase_mc extends FloatingBaseObjectBase { public function playerbase_mc(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 156
//SceneContainer (SceneContainer) package { public dynamic class SceneContainer extends SceneContainerBase { public function SceneContainer(){ super(); addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 157
//SceneContainerBase (SceneContainerBase) package { import flash.display.*; public class SceneContainerBase extends MovieClip { public var playerUnits; public var computerUnits; public var computerBaseMC; public var playerCreateTowerType; public var playerCreateTowerProgress; public var playerbase:playerbase_mc; public var computerCreateTowerTime; public var myParent; public var playerBaseMC; public var computerbase:computerbase_mc; public var computerCreateTowerProgress; public var computerCreateTowerMaxTime; public var computerCreateTowerPos; public var computerCreateTowerType; public var playerCreateTowerTime; public var computerTowers; public var btzoomlock:MovieClip; public var playerTowers; public var playerCreateTowerMaxTime; public var playerCreateTowerPos; public function SceneContainerBase(){ playerUnits = new Array(); computerUnits = new Array(); playerTowers = new Array(); computerTowers = new Array(); playerCreateTowerProgress = new Array(); playerCreateTowerType = new Array(); playerCreateTowerPos = new Array(); playerCreateTowerMaxTime = new Array(); playerCreateTowerTime = new Array(); computerCreateTowerProgress = new Array(); computerCreateTowerType = new Array(); computerCreateTowerPos = new Array(); computerCreateTowerMaxTime = new Array(); computerCreateTowerTime = new Array(); super(); } public function init(){ var i:*; var obj:*; myParent = this.parent; this.x = -240; this.scaleX = 1; this.scaleY = 1; playerBaseMC = playerbase; playerBaseMC.init(); computerBaseMC = computerbase; computerBaseMC.init(); playerUnits.splice(0); computerUnits.splice(0); playerTowers.splice(0); computerTowers.splice(0); i = 0; while (i < 4) { obj = new mc_towerprogress(); obj.gotoAndStop(1); this.addChild(obj); playerCreateTowerProgress.push(obj); obj.x = 100; obj.y = 100; obj = new mc_towerprogress(); obj.gotoAndStop(1); this.addChild(obj); computerCreateTowerProgress.push(obj); obj.x = 100; obj.y = 100; i++; }; } public function createComputerTower(_type, _pos, _time){ if ((computerCreateTowerType.length + computerTowers.length) < 4){ computerCreateTowerType.push(_type); computerCreateTowerPos.push(_pos); computerCreateTowerMaxTime.push(_time); computerCreateTowerTime.push(0); }; } public function deinit(){ var i:*; var num:*; playerBaseMC.deinit(); computerBaseMC.deinit(); i = 0; while (i < playerUnits.length) { playerUnits[i].deinit(); i++; }; i = 0; while (i < computerUnits.length) { computerUnits[i].deinit(); i++; }; i = 0; while (i < playerTowers.length) { playerTowers[i].deinit(); i++; }; i = 0; while (i < computerTowers.length) { computerTowers[i].deinit(); i++; }; } public function createPlayerTower(_type, _pos, _time){ if ((playerCreateTowerType.length + playerTowers.length) < 4){ myParent.gameData.addUnitCreated(_type); playerCreateTowerType.push(_type); playerCreateTowerPos.push(_pos); playerCreateTowerMaxTime.push(_time); playerCreateTowerTime.push(0); }; } public function createCharacter(_named, _sided){ var obj:*; switch (_named){ case "avenger": obj = new mc_player1(); break; case "thunderbolt": obj = new mc_player2(); break; case "defender": obj = new mc_player3(); break; case "battlecruiser": obj = new mc_player4(); break; case "valour": obj = new mc_player5(); break; case "secretstriker": obj = new mc_special1(); break; case "intrepid": obj = new mc_enemy1(); break; case "excelsior": obj = new mc_enemy2(); break; case "steamrunner": obj = new mc_enemy3(); break; case "ptolemy": obj = new mc_enemy4(); break; case "warhammer": obj = new mc_enemy5(); break; case "vanguard": obj = new mc_enemy6(); break; case "aircraftcarrier": if (_sided == "computer"){ obj = new mc_enemy7(); } else { obj = new mc_special4(); }; break; }; this.addChild(obj); obj.init(_sided, _named); if (_sided == "player"){ myParent.gameData.addUnitCreated(_named); obj.x = playerBaseMC.x; obj.y = playerBaseMC.y; playerUnits.push(obj); } else { obj.x = computerBaseMC.x; obj.y = computerBaseMC.y; computerUnits.push(obj); }; } public function moveClip(){ var i:*; var obj:*; setCreateTowerProgress(); playerBaseMC.moveClip(); computerBaseMC.moveClip(); i = (playerUnits.length - 1); while (i >= 0) { playerUnits[i].moveClip(); if (playerUnits[i].unitstatus == "destroyed"){ myParent.gameData.addUnitLost(playerUnits[i].typed); playerUnits[i].destroyShuttle(); playerUnits[i].deinit(); this.removeChild(playerUnits[i]); playerUnits.splice(i, 1); }; i--; }; i = (computerUnits.length - 1); while (i >= 0) { computerUnits[i].moveClip(); if (computerUnits[i].unitstatus == "destroyed"){ myParent.gameData.addUnitKilled(computerUnits[i].typed); computerUnits[i].destroyShuttle(); computerUnits[i].deinit(); this.removeChild(computerUnits[i]); computerUnits.splice(i, 1); }; i--; }; i = (playerTowers.length - 1); while (i >= 0) { playerTowers[i].moveClip(); if (playerTowers[i].unitstatus == "destroyed"){ myParent.gameData.addUnitLost(playerTowers[i].typed); playerTowers[i].deinit(); this.removeChild(playerTowers[i]); playerTowers.splice(i, 1); }; i--; }; i = (computerTowers.length - 1); while (i >= 0) { computerTowers[i].moveClip(); if (computerTowers[i].unitstatus == "destroyed"){ myParent.gameData.addUnitKilled(computerTowers[i].typed); computerTowers[i].deinit(); this.removeChild(computerTowers[i]); computerTowers.splice(i, 1); }; i--; }; i = 0; while (i < (this.numChildren - 1)) { obj = this.getChildAt(i); if ((((((((obj.x < 10)) || ((obj.y < 10)))) || ((obj.x > 950)))) || ((obj.y > 950)))){ if (obj.width < 480){ trace(obj, obj.x, obj.y); }; }; i++; }; } public function reinit(){ var i:*; var num:*; playerBaseMC.reinit(); computerBaseMC.reinit(); i = 0; while (i < playerUnits.length) { playerUnits[i].reinit(); i++; }; i = 0; while (i < computerUnits.length) { computerUnits[i].reinit(); i++; }; i = 0; while (i < playerTowers.length) { playerTowers[i].reinit(); i++; }; i = 0; while (i < computerTowers.length) { computerTowers[i].reinit(); i++; }; } private function addTower(_type, _side, _pos){ var obj:*; switch (_type){ case 1: if (_side == "player"){ myParent.gameData.addUnitCreated("guntower"); obj = new mc_guntower(); obj.x = _pos.x; obj.y = _pos.y; } else { obj = new mc_guntowerenemy(); obj.x = (_pos.x + computerBaseMC.x); obj.y = (_pos.y + computerBaseMC.y); }; this.addChild(obj); obj.init(_side, "guntower"); break; case 2: if (_side == "player"){ myParent.gameData.addUnitCreated("missiletower"); obj = new mc_missiletower(); obj.x = _pos.x; obj.y = _pos.y; } else { obj = new mc_missiletowerenemy(); obj.x = (_pos.x + computerBaseMC.x); obj.y = (_pos.y + computerBaseMC.y); }; this.addChild(obj); obj.init(_side, "missiletower"); break; case 3: if (_side == "player"){ myParent.gameData.addUnitCreated("thundertower"); obj = new mc_thundertower(); obj.x = _pos.x; obj.y = _pos.y; } else { obj = new mc_thundertowerenemy(); obj.x = (_pos.x + computerBaseMC.x); obj.y = (_pos.y + computerBaseMC.y); }; this.addChild(obj); obj.init(_side, "thundertower"); break; case 4: myParent.gameData.addUnitCreated("emptower"); obj = new mc_emptower(); this.addChild(obj); obj.x = _pos.x; obj.y = _pos.y; obj.init(_side, "emptower"); break; case 5: if (_side == "player"){ myParent.gameData.addUnitCreated("plasmatower"); obj = new mc_plasmatower(); obj.x = _pos.x; obj.y = _pos.y; } else { obj = new mc_plasmatowerenemy(); obj.x = (_pos.x + computerBaseMC.x); obj.y = (_pos.y + computerBaseMC.y); }; this.addChild(obj); obj.init(_side, "plasmatower"); break; }; if (obj){ if (_side == "player"){ playerTowers.push(obj); } else { computerTowers.push(obj); }; }; } public function setCreateTowerProgress(){ var i:*; i = 0; i = 0; while (i < playerCreateTowerType.length) { var _local2 = playerCreateTowerTime; var _local3 = i; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; if (playerCreateTowerTime[i] < playerCreateTowerMaxTime[i]){ playerCreateTowerProgress[i].gotoAndStop((Math.floor(((playerCreateTowerTime[i] / playerCreateTowerMaxTime[i]) * 100)) + 1)); playerCreateTowerProgress[i].x = playerCreateTowerPos[i].x; playerCreateTowerProgress[i].y = playerCreateTowerPos[i].y; } else { addTower(playerCreateTowerType[i], "player", playerCreateTowerPos[i]); playerCreateTowerType.splice(i, 1); playerCreateTowerPos.splice(i, 1); playerCreateTowerMaxTime.splice(i, 1); playerCreateTowerTime.splice(i, 1); }; i++; }; while (i < playerCreateTowerProgress.length) { playerCreateTowerProgress[i].gotoAndStop(102); i++; }; i = 0; while (i < computerCreateTowerType.length) { _local2 = computerCreateTowerTime; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; if (computerCreateTowerTime[i] < computerCreateTowerMaxTime[i]){ computerCreateTowerProgress[i].gotoAndStop((Math.floor(((computerCreateTowerTime[i] / computerCreateTowerMaxTime[i]) * 100)) + 1)); computerCreateTowerProgress[i].x = (computerCreateTowerPos[i].x + computerBaseMC.x); computerCreateTowerProgress[i].y = (computerCreateTowerPos[i].y + computerBaseMC.y); } else { addTower(computerCreateTowerType[i], "computer", computerCreateTowerPos[i]); computerCreateTowerType.splice(i, 1); computerCreateTowerPos.splice(i, 1); computerCreateTowerMaxTime.splice(i, 1); computerCreateTowerTime.splice(i, 1); }; i++; }; while (i < computerCreateTowerProgress.length) { computerCreateTowerProgress[i].gotoAndStop(102); i++; }; } } }//package
Section 158
//sfx_bigship_explode (sfx_bigship_explode) package { public dynamic class sfx_bigship_explode extends BaseSound { public function sfx_bigship_explode(){ super(); } } }//package
Section 159
//sfx_dropbomb_explode (sfx_dropbomb_explode) package { public dynamic class sfx_dropbomb_explode extends BaseSound { public function sfx_dropbomb_explode(){ super(); } } }//package
Section 160
//sfx_emp_explode (sfx_emp_explode) package { public dynamic class sfx_emp_explode extends BaseSound { public function sfx_emp_explode(){ super(); } } }//package
Section 161
//sfx_gun_shot (sfx_gun_shot) package { public dynamic class sfx_gun_shot extends BaseSound { public function sfx_gun_shot(){ super(); } } }//package
Section 162
//sfx_missile_explode (sfx_missile_explode) package { public dynamic class sfx_missile_explode extends BaseSound { public function sfx_missile_explode(){ super(); } } }//package
Section 163
//sfx_missile_shot (sfx_missile_shot) package { public dynamic class sfx_missile_shot extends BaseSound { public function sfx_missile_shot(){ super(); } } }//package
Section 164
//sfx_plasma_explode (sfx_plasma_explode) package { public dynamic class sfx_plasma_explode extends BaseSound { public function sfx_plasma_explode(){ super(); } } }//package
Section 165
//sfx_plasma_shot (sfx_plasma_shot) package { public dynamic class sfx_plasma_shot extends BaseSound { public function sfx_plasma_shot(){ super(); } } }//package
Section 166
//sfx_smallship_explode (sfx_smallship_explode) package { public dynamic class sfx_smallship_explode extends BaseSound { public function sfx_smallship_explode(){ super(); } } }//package
Section 167
//ShuttleObjectBase (ShuttleObjectBase) package { import flash.display.*; public class ShuttleObjectBase extends MovieClip { private var attackrange;// = 200 private var movetimer;// = 0 public var attack; private var xmove;// = 0 public var health; public var typed; public var damage; public var container; public var target; public var targetdistance; public var unitstatus;// = "idle" public var owned; private var ymove;// = 0 public var thisparent; private var parentrange;// = 70 public var gamemgr; public var sided; private var attacktimer;// = 0 public function ShuttleObjectBase(){ unitstatus = "idle"; xmove = 0; ymove = 0; movetimer = 0; parentrange = 70; attackrange = 200; attacktimer = 0; super(); } public function init(_thisparent, _sided, _typed, _health, _attack){ container = MovieClip(parent); thisparent = _thisparent; gamemgr = thisparent.gamemgr; sided = _sided; typed = _typed; owned = thisparent; health = _health; attack = _attack; damage = _attack; if (sided == "player"){ this.x = ((container.playerBaseMC.x + (Math.random() * 20)) - 10); this.y = ((container.playerBaseMC.y + (Math.random() * 20)) - 10); } else { this.x = ((container.computerBaseMC.x + (Math.random() * 20)) - 10); this.y = ((container.computerBaseMC.y + (Math.random() * 20)) - 10); }; this.cacheAsBitmap = true; } private function getClosestEnemy():Object{ var dist:*; var obj:*; var dist2:*; var obj2:*; var i:*; dist = 100; obj = null; if (sided == "player"){ obj = container.computerBaseMC; dist = getDistance(this, obj); i = 0; while (i < container.computerUnits.length) { obj2 = container.computerUnits[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; i = 0; while (i < container.computerTowers.length) { obj2 = container.computerTowers[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; } else { obj = container.playerBaseMC; dist = getDistance(this, obj); i = 0; while (i < container.playerUnits.length) { obj2 = container.playerUnits[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; i = 0; while (i < container.playerTowers.length) { obj2 = container.playerTowers[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; }; if (obj){ target = obj; targetdistance = dist; }; return (obj); } public function deinit(){ this.gotoAndStop("p1"); } private function getAngle(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (((Math.atan2(dy, dx) * 180) / Math.PI)); } private function moveIdle(){ var dist:*; var ang:*; movetimer++; if (movetimer > 3){ movetimer = 0; dist = getDistance(this, thisparent); if (dist > parentrange){ ang = (180 - getAngle(this, thisparent)); xmove = ((3 * Math.cos(((ang * Math.PI) / 180))) - (Math.random() * 2)); ymove = ((3 * Math.sin(((ang * Math.PI) / 180))) - (Math.random() * 2)); } else { if (dist < (parentrange / 2)){ ang = (180 - getAngle(this, thisparent)); xmove = ((-3 * Math.cos(((ang * Math.PI) / 180))) + (Math.random() * 2)); ymove = ((-3 * Math.sin(((ang * Math.PI) / 180))) + (Math.random() * 2)); }; }; }; this.x = (this.x + xmove); this.y = (this.y + ymove); } private function getDistance(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (Math.sqrt(((dx * dx) + (dy * dy)))); } private function moveReturn(){ var dist:*; var ang:*; movetimer++; if (movetimer > 3){ movetimer = 0; dist = getDistance(this, thisparent); if (dist > parentrange){ ang = (180 - getAngle(this, thisparent)); xmove = ((10 * Math.cos(((ang * Math.PI) / 180))) - (Math.random() * 3)); ymove = ((10 * Math.sin(((ang * Math.PI) / 180))) - (Math.random() * 3)); } else { if (dist < (parentrange / 2)){ ang = (180 - getAngle(this, thisparent)); xmove = ((-10 * Math.cos(((ang * Math.PI) / 180))) + (Math.random() * 3)); ymove = ((-10 * Math.sin(((ang * Math.PI) / 180))) + (Math.random() * 3)); unitstatus = "idle"; }; }; }; this.x = (this.x + xmove); this.y = (this.y + ymove); } public function reinit(){ this.gotoAndPlay("p1"); } private function moveAttack(){ var dist:*; var ang:*; movetimer++; if (movetimer > 9){ movetimer = 0; dist = getDistance(this, thisparent); if (dist < attackrange){ ang = (180 - getAngle(this, target)); xmove = ((10 * Math.cos(((ang * Math.PI) / 180))) - (Math.random() * 3)); ymove = ((10 * Math.sin(((ang * Math.PI) / 180))) - (Math.random() * 3)); } else { unitstatus = "return"; }; }; this.x = (this.x + xmove); this.y = (this.y + ymove); attacktimer++; if (attacktimer > 10){ attacktimer = 0; dist = getDistance(this, target); if (dist < 20){ gamemgr.reduceHealth(target, this); }; }; } public function moveClip(){ if (((!((unitstatus == "destroyed"))) && (!((unitstatus == "return"))))){ if (!target){ target = null; getClosestEnemy(); if (target){ if (targetdistance < attackrange){ unitstatus = "attack"; } else { unitstatus = "idle"; target = null; }; }; } else { if (target.unitstatus == "destroyed"){ target = null; getClosestEnemy(); if (target){ if (targetdistance < 300){ unitstatus = "attack"; } else { unitstatus = "idle"; target = null; }; }; } else { targetdistance = getDistance(this, target); }; }; } else { target = null; }; switch (unitstatus){ case "idle": moveIdle(); break; case "attack": moveAttack(); break; case "return": moveReturn(); break; }; } } }//package
Section 168
//SoundManager (SoundManager) package { public class SoundManager { private var sfxmissileexplode; public var bgmVolume:Number;// = 1 private var sfxsmallshipexplode; private var sfxplasmashot; private var sfxdropbombexplode; private var bgmlow; private var bgmambient; private var sfxgunshot; private var sfxempexplode; private var sndFx; private var sndBgm;// = null private var sfxbigshipexplode; private var bgmcover; private var myParent; private var bgmhigh; private var sfxplasmaexplode; private var sfxmissileshot; public var sfxVolume:Number;// = 1 public function SoundManager(){ bgmVolume = 1; sfxVolume = 1; sfxbigshipexplode = new sfx_bigship_explode(); sfxsmallshipexplode = new sfx_smallship_explode(); sfxmissileexplode = new sfx_missile_explode(); sfxmissileshot = new sfx_missile_shot(); sfxplasmaexplode = new sfx_plasma_explode(); sfxplasmashot = new sfx_plasma_shot(); sfxempexplode = new sfx_emp_explode(); sfxdropbombexplode = new sfx_emp_explode(); sfxgunshot = new sfx_gun_shot(); bgmcover = new bgm_cover(); bgmambient = new bgm_ambient(); bgmlow = new bgm_lowtension(); bgmhigh = new bgm_hightension(); sndBgm = null; sndFx = new Array(); super(); } private function startSFX(_snd, _vol=1){ var i:*; i = 0; if (sndFx.length < 10){ _snd.playSound(); _snd.setVolume((_vol * sfxVolume)); sndFx.push(_snd); } else { i = (sndFx.length - 1); while (i >= 0) { if (!sndFx[i].sndPlaying){ sndFx[i].stopSound(); sndFx.splice(i, 1); }; i--; }; _snd.playSound(); _snd.setVolume((_vol * sfxVolume)); sndFx.push(_snd); }; } public function adjustBGM(_val=1){ bgmVolume = _val; } public function refreshVolume(){ if (sndBgm){ sndBgm.setVolume(bgmVolume); }; } public function playBGM(_param:String=""){ switch (_param){ case "cover": if (sndBgm != bgmcover){ stopBGM(); sndBgm = bgmcover; sndBgm.playSoundLoop(); sndBgm.setVolume((0.8 * bgmVolume)); } else { sndBgm.setVolume((0.8 * bgmVolume)); }; break; case "ambient": if (sndBgm != bgmambient){ stopBGM(); sndBgm = bgmambient; sndBgm.playSoundLoop(); sndBgm.setVolume((0.5 * bgmVolume)); } else { sndBgm.setVolume((0.5 * bgmVolume)); }; break; case "low": if (sndBgm != bgmlow){ stopBGM(); sndBgm = bgmlow; sndBgm.playSoundLoop(); sndBgm.setVolume((0.8 * bgmVolume)); } else { sndBgm.setVolume((0.8 * bgmVolume)); }; break; case "high": if (sndBgm != bgmhigh){ stopBGM(); sndBgm = bgmhigh; sndBgm.playSoundLoop(); sndBgm.setVolume((0.8 * bgmVolume)); } else { sndBgm.setVolume((0.8 * bgmVolume)); }; break; }; } public function adjustSFX(_val=1){ sfxVolume = _val; } public function stopBGM(){ if (sndBgm){ sndBgm.stopSound(); sndBgm = null; }; } public function stopSFX(){ var i:*; i = (sndFx.length - 1); while (i >= 0) { if (sndFx[i].sndPlaying){ sndFx[i].stopSound(); }; sndFx.splice(i, 1); i--; }; } public function playSFX(_param:String=""){ var rand:*; var played:*; var i:*; rand = Math.random(); played = false; i = 0; switch (_param){ case "sfxbigshipexplode": startSFX(new sfx_bigship_explode(), 0.5); break; case "sfxsmallshipexplode": startSFX(new sfx_smallship_explode(), 0.5); break; case "sfxmissileexplode": startSFX(new sfx_missile_explode(), 0.5); break; case "sfxplasmaexplode": startSFX(new sfx_plasma_explode(), 0.5); break; case "sfxempexplode": startSFX(new sfx_emp_explode(), 0.2); break; case "sfxdropbombexplode": startSFX(new sfx_dropbomb_explode(), 0.5); break; case "sfxmissileshot": startSFX(new sfx_missile_shot(), 0.1); break; case "sfxplasmashot": startSFX(new sfx_plasma_shot(), 0.1); break; case "sfxgunshot": startSFX(new sfx_gun_shot(), 0.2); break; }; } } }//package
Section 169
//StagePanel (StagePanel) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.utils.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.net.*; import flash.errors.*; import adobe.utils.*; import flash.accessibility.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.xml.*; public dynamic class StagePanel extends MovieClip { public var btoptions:SimpleButton; public var btcreateunit2:MovieClip; public var btcreateunit3:MovieClip; public var btcreateunit4:MovieClip; public var btcreateunit5:MovieClip; public var btcreateunit1:MovieClip; public var scrollup:MovieClip; public var blinker1:MovieClip; public var blinker2:MovieClip; public var blinker3:MovieClip; public var blinker4:MovieClip; public var mcunitprogress:MovieClip; public var note1; public var note2; public var unitsqueuer3:MovieClip; public var unitsqueuer4:MovieClip; public var unitsqueuer5:MovieClip; public var unitsqueuer1:MovieClip; public var unitsqueuer2:MovieClip; public var notetimer; public var note3; public var note4; public var btmoregames:SimpleButton; public var notetxt1:TextField; public var notetxt3:TextField; public var notetxt2:TextField; public var notetxt4:TextField; public var btspecial2:MovieClip; public var btspecial4:MovieClip; public var scrolldown:MovieClip; public var btspecial1:MovieClip; public var btspecial3:MovieClip; public var mcinfo:MovieClip; public var mcgoldbar:MovieClip; public var mccomputerbasehealthbar:MovieClip; public var btcreatetower2:MovieClip; public var btcreatetower3:MovieClip; public var btcreatetower1:MovieClip; public var btquit:SimpleButton; public var minimap:MovieClip; public var selectfiremode:MovieClip; public var towercreatepanel:MovieClip; public var btupgrade2:MovieClip; public var btupgrade3:MovieClip; public var btupgrade5:MovieClip; public var btupgrade1:MovieClip; public var mcplayerbasehealthbar:MovieClip; public var btupgrade4:MovieClip; public var panelnote:TextField; public function StagePanel(){ super(); addFrameScript(0, frame1); } public function writeNotes(){ if (note4){ notetxt4.text = note4; } else { notetxt4.text = " "; }; if (note3){ notetxt3.text = note3; } else { notetxt3.text = " "; }; if (note2){ notetxt2.text = note2; } else { notetxt2.text = " "; }; if (note1){ notetxt1.text = note1; } else { notetxt1.text = " "; }; } function frame1(){ stop(); towercreatepanel.init(); notetimer = 0; note1 = " "; note2 = " "; note3 = " "; note4 = " "; this.addEventListener(Event.ENTER_FRAME, refreshNotes, false, 0, true); } public function refreshNotes(e=null){ notetimer++; if (notetimer > 90){ notetimer = 0; addNotes(" "); }; } public function addNotes(_str=" ", specialevent=false){ var normalformat:*; var specialformat:*; normalformat = new TextFormat(); specialformat = new TextFormat(); normalformat.font = "Neuropol"; normalformat.color = 0xFF00; specialformat.font = "Neuropol"; specialformat.color = 0xFF0000; note2 = notetxt1.text; note3 = notetxt2.text; note4 = notetxt3.text; note1 = _str; writeNotes(); if (specialevent){ notetxt1.setTextFormat(specialformat); } else { notetxt1.setTextFormat(normalformat); }; } } }//package
Section 170
//stageTutorial (stageTutorial) package { import flash.display.*; public dynamic class stageTutorial extends MovieClip { public function stageTutorial(){ super(); addFrameScript(0, frame1, 1521, frame1522, 1523, frame1524); } public function showTutorial2(){ gotoAndPlay("tutorial2"); } public function showTutorial1(){ gotoAndPlay("tutorial1"); } function frame1522(){ gotoAndStop(1); } function frame1(){ stop(); } function frame1524(){ gotoAndStop(1); } } }//package
Section 171
//TimeParser (TimeParser) package { import flash.utils.*; public class TimeParser { public var stime:String; public var hour:uint; public var smsecond:String; public var ssecond:String; public var time:uint; public var msecond:uint; public var second:uint; public var minute:uint; public var shour:String; public var sminute:String; public function TimeParser(_time=null){ super(); if (_time){ time = _time; } else { time = getTimer(); }; Parse(time); } public function Parse(_time:uint, _sep:String=":"):String{ time = _time; hour = Math.floor((time / 3600000)); minute = (Math.floor((time / 60000)) % 60); second = (Math.floor((time / 1000)) % 60); msecond = (Math.floor((time / 10)) % 100); shour = String(hour); if (minute < 10){ sminute = ("0" + String(minute)); } else { sminute = String(minute); }; if (second < 10){ ssecond = ("0" + String(second)); } else { ssecond = String(second); }; if (msecond < 10){ smsecond = ("0" + String(msecond)); } else { smsecond = String(msecond); }; if (hour > 0){ stime = ((((shour + _sep) + sminute) + _sep) + ssecond); } else { stime = ((sminute + _sep) + ssecond); }; return (stime); } } }//package
Section 172
//TowerObjectBase (TowerObjectBase) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.utils.*; public class TowerObjectBase extends MovieClip { private var longestrange;// = 500 private var shortestrange;// = 250 public var healthbar:MovieClip; private var timer;// = 0 public var attack; public var health; public var typed;// = "guntower" public var gun:MovieClip; public var unitstatus;// = "idle" public var target; public var targetdistance; public var stopy; private var createtime; private var thisparent; private var gamemgr; public var sided;// = "player" public var maxhealth; public function TowerObjectBase(){ sided = "player"; typed = "guntower"; longestrange = 500; shortestrange = 250; unitstatus = "idle"; timer = 0; super(); } public function init(_sided, _typed){ sided = _sided; typed = _typed; thisparent = this.parent; gamemgr = thisparent.myParent; createtime = (getTimer() + (Math.random() * 9000)); stopy = this.y; this.cacheAsBitmap = true; this.addEventListener(MouseEvent.MOUSE_OVER, showData, false, 0, true); switch (typed){ case "plasmatower": shortestrange = 250; longestrange = 500; if (sided == "player"){ maxhealth = gamemgr.gameData.playertowerhealth[4]; health = gamemgr.gameData.playertowerhealth[4]; attack = gamemgr.gameData.playertowerattack[4]; } else { maxhealth = gamemgr.gameData.computertowerhealth[3]; health = gamemgr.gameData.computertowerhealth[3]; attack = gamemgr.gameData.computertowerattack[3]; }; break; case "emptower": shortestrange = 200; longestrange = 200; if (sided == "player"){ maxhealth = gamemgr.gameData.playertowerhealth[3]; health = gamemgr.gameData.playertowerhealth[3]; attack = gamemgr.gameData.playertowerattack[3]; }; break; case "thundertower": shortestrange = 150; longestrange = 300; if (sided == "player"){ maxhealth = gamemgr.gameData.playertowerhealth[2]; health = gamemgr.gameData.playertowerhealth[2]; attack = gamemgr.gameData.playertowerattack[2]; } else { maxhealth = gamemgr.gameData.computertowerhealth[2]; health = gamemgr.gameData.computertowerhealth[2]; attack = gamemgr.gameData.computertowerattack[2]; }; break; case "missiletower": shortestrange = 300; longestrange = 500; if (sided == "player"){ maxhealth = gamemgr.gameData.playertowerhealth[1]; health = gamemgr.gameData.playertowerhealth[1]; attack = gamemgr.gameData.playertowerattack[1]; } else { maxhealth = gamemgr.gameData.computertowerhealth[1]; health = gamemgr.gameData.computertowerhealth[1]; attack = gamemgr.gameData.computertowerattack[1]; }; break; case "guntower": shortestrange = 250; longestrange = 500; if (sided == "player"){ maxhealth = gamemgr.gameData.playertowerhealth[0]; health = gamemgr.gameData.playertowerhealth[0]; attack = gamemgr.gameData.playertowerattack[0]; } else { maxhealth = gamemgr.gameData.computertowerhealth[0]; health = gamemgr.gameData.computertowerhealth[0]; attack = gamemgr.gameData.computertowerattack[0]; }; break; }; } public function reduceHealth2(_dmg){ if (_dmg > health){ health = 0; gamemgr.stageParticle.createParticle(typed, this.x, this.y, this.rotation, this.width); unitstatus = "destroyed"; if (this.currentLabel != "destroyed"){ this.gotoAndStop("destroyed"); }; if (typed == "emptower"){ doAttackEMP(); }; } else { health = (health - _dmg); }; } private function doAttackEMP(){ var dist:*; var i:*; timer++; if (timer >= 90){ timer = 0; gamemgr.stageParticle.createParticle("empbullet", this.x, this.y); i = (gamemgr.stageScene.computerUnits.length - 1); while (i >= 0) { dist = getDistance(gamemgr.stageScene.computerUnits[i], this); if (dist < longestrange){ gamemgr.stageScene.computerUnits[i].reduceHealth2(((attack * dist) / longestrange)); }; i--; }; }; } private function getClosestEnemy():Object{ var dist:*; var obj:*; var dist2:*; var obj2:*; var i:*; dist = 100; obj = null; if (sided == "player"){ obj = thisparent.computerBaseMC; dist = getDistance(this, obj); i = 0; while (i < thisparent.computerUnits.length) { obj2 = thisparent.computerUnits[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; i = 0; while (i < thisparent.computerTowers.length) { obj2 = thisparent.computerTowers[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; } else { obj = thisparent.playerBaseMC; dist = getDistance(this, obj); i = 0; while (i < thisparent.playerUnits.length) { obj2 = thisparent.playerUnits[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; i = 0; while (i < thisparent.playerTowers.length) { obj2 = thisparent.playerTowers[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; }; if (obj){ target = obj; targetdistance = dist; }; return (obj); } public function deinit(){ this.stop(); this.removeEventListener(MouseEvent.MOUSE_UP, showData); } private function getAngle(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (((Math.atan2(dy, dx) * 180) / Math.PI)); } private function showData(e=null){ gamemgr.setFocusObject(this); } private function doAttackMissile(){ if (((target) && ((targetdistance < shortestrange)))){ timer++; if (timer >= 15){ timer = 0; if (sided == "player"){ gamemgr.stageParticle.createPlayerBullet("missilebullet", attack, (this.x + gun.x), (this.y + gun.y), gun.rotation, this, target); } else { gamemgr.stageParticle.createComputerBullet("missilebullet", attack, (this.x + gun.x), (this.y + gun.y), gun.rotation, this, target); }; }; }; } public function reduceHealth(_obj){ if (_obj.owned){ target = _obj.owned; targetdistance = getDistance(this, target); }; if (_obj.damage > health){ health = 0; gamemgr.stageParticle.createParticle(typed, this.x, this.y, this.rotation, this.width); unitstatus = "destroyed"; if (this.currentLabel != "destroyed"){ this.gotoAndStop("destroyed"); }; if (typed == "emptower"){ doAttackEMP(); }; } else { health = (health - _obj.damage); gamemgr.stageParticle.createParticle(_obj.typed, _obj.x, _obj.y, _obj.rotation); }; } private function getDistance(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (Math.sqrt(((dx * dx) + (dy * dy)))); } private function moveWeapon(){ var gunangle:*; gunangle = -90; target = getClosestEnemy(); if (((target) && ((targetdistance < longestrange)))){ gunangle = (180 - getAngle(new Point(((this.x + gun.x) - 240), (this.y + gun.y)), new Point((target.x - 240), target.y))); }; gun.rotation = gunangle; } private function doAttackGun(){ if (((target) && ((targetdistance < shortestrange)))){ if (gun.mcgunfire.currentFrame == 2){ gun.mcgunfire.gotoAndPlay(3); if (sided == "player"){ gamemgr.stageParticle.createPlayerBullet("gunbullet", attack, (this.x + gun.x), (this.y + gun.y), gun.rotation, this); } else { gamemgr.stageParticle.createComputerBullet("gunbullet", attack, (this.x + gun.x), (this.y + gun.y), gun.rotation, this); }; }; }; } private function doAttackThunder(){ if (((target) && ((targetdistance < shortestrange)))){ target.reduceHealth2((attack / 10)); gamemgr.stageParticle.createParticle("thunderbullet", this.x, this.y, gun.rotation, targetdistance); }; } public function moveClip(){ if (unitstatus == "idle"){ switch (typed){ case "emptower": idleMove(); doAttackEMP(); break; case "missiletower": idleMove(); moveWeapon(); doAttackMissile(); break; case "thundertower": idleMove(); moveWeapon(); doAttackThunder(); break; case "plasmatower": idleMove(); moveWeapon(); doAttackPlasma(); break; case "guntower": default: idleMove(); moveWeapon(); doAttackGun(); break; }; healthbar.gotoAndStop((Math.floor(((health / maxhealth) * 100)) + 1)); }; } public function reinit(){ this.play(); this.addEventListener(MouseEvent.MOUSE_UP, showData, false, 0, true); } private function idleMove(){ var t:*; t = getTimer(); this.y = (stopy + (Math.sin((((t - createtime) / 3000) * Math.PI)) * 3)); } private function doAttackPlasma(){ if (((target) && ((targetdistance < shortestrange)))){ timer++; if (timer >= 10){ timer = 0; if (sided == "player"){ gamemgr.stageParticle.createPlayerBullet("plasmabullet", attack, (this.x + gun.x), (this.y + gun.y), gun.rotation, this); } else { gamemgr.stageParticle.createComputerBullet("plasmabullet", attack, (this.x + gun.x), (this.y + gun.y), gun.rotation, this); }; }; }; } } }//package
Section 173
//UnitObjectBase (UnitObjectBase) package { import flash.events.*; import flash.display.*; public class UnitObjectBase extends MovieClip { public var attacktimer;// = 0 private var movetimer;// = 0 public var healthbar:MovieClip; public var attack; private var xmove;// = 0 public var health; public var typed;// = "unit" public var unitstatus;// = "idle" public var gunfire1:MovieClip; public var gunfire2:MovieClip; public var gunfire5:MovieClip; public var gunfire3:MovieClip; public var target; public var targetdistance; private var yspeed; private var weaponcount;// = 2 public var gunfire4:MovieClip; public var shuttle; private var ymove;// = 0 public var thisparent; private var xspeed; public var gamemgr; public var sided;// = "player" public var maxhealth; public function UnitObjectBase(){ sided = "player"; typed = "unit"; attacktimer = 0; unitstatus = "idle"; weaponcount = 2; xmove = 0; ymove = 0; movetimer = 0; shuttle = new Array(); super(); } private function mediumUnitIdle(){ var prevy:*; var rnd:*; movetimer++; if (movetimer > 4){ movetimer = 0; prevy = this.y; rnd = Math.random(); xmove = 0; ymove = 0; if (this.scaleX < 0){ xmove = (xmove + (xspeed / 4)); } else { xmove = (xmove - (xspeed / 4)); }; if (sided == "player"){ ymove = (ymove + (yspeed * 8)); } else { ymove = (ymove - (yspeed * 8)); }; if (this.y > 860){ ymove = (ymove - (yspeed * 8)); } else { if (this.y < 100){ ymove = (ymove + (yspeed * 8)); }; }; if (ymove > 1){ this.gotoAndPlay("p1"); } else { if (ymove < -1){ this.gotoAndPlay("p3"); } else { this.gotoAndPlay("p2"); }; }; }; if (this.x < (230 - (rnd * 200))){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > (730 + (rnd * 200))){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; this.x = (this.x + xmove); this.y = (this.y + ymove); } public function init(_sided, _typed){ var i:*; var obj:*; var ang:*; thisparent = MovieClip(parent); gamemgr = thisparent.myParent; sided = _sided; typed = _typed; this.cacheAsBitmap = true; this.addEventListener(MouseEvent.MOUSE_OVER, showData, false, 0, true); switch (typed){ case "avenger": xspeed = 3; yspeed = 0.6; weaponcount = 2; health = gamemgr.gameData.playerunithealth[0]; attack = gamemgr.gameData.playerunitattack[0]; break; case "thunderbolt": xspeed = 5; yspeed = 0.5; weaponcount = 4; health = gamemgr.gameData.playerunithealth[1]; attack = gamemgr.gameData.playerunitattack[1]; break; case "defender": xspeed = 7; yspeed = 0.5; weaponcount = 3; health = gamemgr.gameData.playerunithealth[2]; attack = gamemgr.gameData.playerunitattack[2]; break; case "battlecruiser": xspeed = 6; yspeed = 0.5; weaponcount = 5; health = gamemgr.gameData.playerunithealth[3]; attack = gamemgr.gameData.playerunitattack[3]; break; case "valour": xspeed = 0.1; yspeed = 0.3; weaponcount = 2; health = gamemgr.gameData.playerunithealth[4]; attack = gamemgr.gameData.playerunitattack[4]; break; case "secretstriker": xspeed = 7; yspeed = 0.5; weaponcount = 2; health = gamemgr.gameData.playerunithealth[5]; attack = gamemgr.gameData.playerunitattack[5]; break; case "intrepid": xspeed = 3; yspeed = 0.6; weaponcount = 2; health = gamemgr.gameData.computerunithealth[0]; attack = gamemgr.gameData.computerunitattack[0]; break; case "excelsior": xspeed = 5; yspeed = 0.5; weaponcount = 2; health = gamemgr.gameData.computerunithealth[1]; attack = gamemgr.gameData.computerunitattack[1]; break; case "steamrunner": xspeed = 6; yspeed = 0.5; weaponcount = 3; health = gamemgr.gameData.computerunithealth[2]; attack = gamemgr.gameData.computerunitattack[2]; break; case "ptolemy": xspeed = 7; yspeed = 0.5; weaponcount = 4; health = gamemgr.gameData.computerunithealth[3]; attack = gamemgr.gameData.computerunitattack[3]; break; case "warhammer": xspeed = 6; yspeed = 0.5; weaponcount = 4; health = gamemgr.gameData.computerunithealth[4]; attack = gamemgr.gameData.computerunitattack[4]; break; case "vanguard": xspeed = 0.1; yspeed = 0.3; weaponcount = 4; health = gamemgr.gameData.computerunithealth[5]; attack = gamemgr.gameData.computerunitattack[5]; break; case "aircraftcarrier": xspeed = 0.1; yspeed = 0.3; weaponcount = 2; if (sided == "player"){ health = gamemgr.gameData.playerunithealth[6]; attack = gamemgr.gameData.playerunitattack[6]; i = 0; while (i < 5) { obj = new mc_special4_shuttle(); thisparent.addChild(obj); shuttle.push(obj); obj.init(this, "player", "shuttle", health, attack); i++; }; } else { health = gamemgr.gameData.computerunithealth[6]; attack = gamemgr.gameData.computerunitattack[6]; i = 0; while (i < 5) { obj = new mc_enemy7_shuttle(); thisparent.addChild(obj); shuttle.push(obj); obj.init(this, "computer", "shuttle", health, attack); i++; }; }; break; }; this.gotoAndPlay("p2"); if (Math.random() < 0.5){ this.scaleX = -1; }; maxhealth = health; } public function reduceHealth2(_dmg){ if (_dmg > health){ health = 0; gamemgr.stageParticle.createParticle(typed, this.x, this.y, this.rotation, this.width); unitstatus = "destroyed"; if (this.currentLabel != "destroyed"){ this.gotoAndStop("destroyed"); }; } else { health = (health - _dmg); }; } private function getClosestEnemy():Object{ var dist:*; var obj:*; var dist2:*; var obj2:*; var i:*; dist = 100; obj = null; if (sided == "player"){ obj = thisparent.computerBaseMC; dist = getDistance(this, obj); i = 0; while (i < thisparent.computerUnits.length) { obj2 = thisparent.computerUnits[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; i = 0; while (i < thisparent.computerTowers.length) { obj2 = thisparent.computerTowers[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; } else { obj = thisparent.playerBaseMC; dist = getDistance(this, obj); i = 0; while (i < thisparent.playerUnits.length) { obj2 = thisparent.playerUnits[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; i = 0; while (i < thisparent.playerTowers.length) { obj2 = thisparent.playerTowers[i]; dist2 = getDistance(this, obj2); if (dist > dist2){ dist = dist2; obj = obj2; }; i++; }; }; if (obj){ target = obj; targetdistance = dist; }; return (obj); } public function getAngle(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (((Math.atan2(dy, dx) * 180) / Math.PI)); } private function fastUnitIdle(){ var prevy:*; var rnd:*; if ((((this.x < (230 - (rnd * 200)))) || ((this.x > (730 + (rnd * 200)))))){ movetimer = 10; }; movetimer++; if (movetimer > 4){ movetimer = 0; prevy = this.y; rnd = Math.random(); xmove = 0; ymove = 0; if (this.x < (230 - (rnd * 100))){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > (730 + (rnd * 100))){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.scaleX < 0){ xmove = (xmove + (((xspeed * 1.5) + ((rnd * xspeed) * 0.5)) - (xspeed * 0.25))); } else { xmove = (xmove - (((xspeed * 1.5) + ((rnd * xspeed) * 0.5)) - (xspeed * 0.25))); }; if (sided == "player"){ ymove = (ymove + (yspeed * 4)); } else { ymove = (ymove - (yspeed * 4)); }; if (this.y > 860){ ymove = (ymove - (yspeed * 8)); } else { if (this.y < 100){ ymove = (ymove + (yspeed * 8)); }; }; if (ymove > 1){ this.gotoAndPlay("p1"); } else { if (ymove < -1){ this.gotoAndPlay("p3"); } else { this.gotoAndPlay("p2"); }; }; }; this.x = (this.x + xmove); this.y = (this.y + ymove); } public function deinit(){ var i:*; if (typed == "aircraftcarrier"){ i = 0; while (i < shuttle.length) { shuttle[i].deinit(); i++; }; }; if (this.currentLabel == "p1"){ this.gotoAndStop("p1"); } else { if (this.currentLabel == "p3"){ this.gotoAndStop("p3"); } else { this.gotoAndStop("p2"); }; }; this.removeEventListener(MouseEvent.MOUSE_UP, showData); } public function destroyShuttle(){ var i:*; if (typed == "aircraftcarrier"){ i = (shuttle.length - 1); while (i >= 0) { thisparent.removeChild(shuttle[i]); i--; }; }; } private function showData(e=null){ gamemgr.setFocusObject(this); } private function getDistance(_obj1, _obj2):Number{ var dx:*; var dy:*; dx = (_obj1.x - _obj2.x); dy = (_obj2.y - _obj1.y); return (Math.sqrt(((dx * dx) + (dy * dy)))); } public function reduceHealth(_obj){ if (_obj.owned){ target = _obj.owned; targetdistance = getDistance(this, target); }; if (_obj.damage > health){ health = 0; gamemgr.stageParticle.createParticle(typed, this.x, this.y, this.rotation, this.width); unitstatus = "destroyed"; if (this.currentLabel != "destroyed"){ this.gotoAndStop("destroyed"); }; } else { health = (health - _obj.damage); gamemgr.stageParticle.createParticle(_obj.typed, _obj.x, _obj.y, _obj.rotation); }; } private function fastUnitAttack(){ var prevy:*; var rnd:*; if (target){ movetimer++; if (movetimer > 4){ movetimer = 0; prevy = this.y; rnd = Math.random(); xmove = 0; ymove = 0; if (targetdistance > (200 + (Math.random() * 200))){ if (this.x < target.x){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > target.x){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; }; if (this.x < (230 - (rnd * 100))){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > (730 + (rnd * 100))){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.scaleX < 0){ xmove = (xmove + (((xspeed * 1.5) + ((rnd * xspeed) * 0.5)) - (xspeed * 0.25))); } else { xmove = (xmove - (((xspeed * 1.5) + ((rnd * xspeed) * 0.5)) - (xspeed * 0.25))); }; if ((((targetdistance < 100)) && ((Math.abs((this.y - target.y)) < 50)))){ if (target.x < this.x){ if (this.scaleX < 0){ xmove = (xmove + (((rnd * xspeed) * 0.5) - (xspeed * 0.25))); }; } else { if (this.scaleX > 0){ xmove = (xmove - (((rnd * xspeed) * 0.5) - (xspeed * 0.25))); }; }; }; if (Math.abs((target.y - this.y)) < 5){ if (target.y < this.y){ ymove = (ymove + ((yspeed * 4) + ((rnd * yspeed) * 10))); } else { ymove = (ymove - ((yspeed * 4) + ((rnd * yspeed) * 10))); }; } else { if (target.y < this.y){ ymove = (ymove - (yspeed + ((rnd * yspeed) * 4))); } else { ymove = (ymove + (yspeed + ((rnd * yspeed) * 4))); }; }; if (this.y > 860){ ymove = (ymove - (yspeed * 8)); } else { if (this.y < 100){ ymove = (ymove + (yspeed * 8)); }; }; if (ymove > 1){ this.gotoAndPlay("p1"); } else { if (ymove < -1){ this.gotoAndPlay("p3"); } else { this.gotoAndPlay("p2"); }; }; }; if (this.x < (230 - (rnd * 100))){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > (730 + (rnd * 100))){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; this.x = (this.x + xmove); this.y = (this.y + ymove); if (this.scaleX < 0){ if ((((Math.abs((target.y - this.y)) < 50)) && ((target.x > this.x)))){ doAttack(); }; } else { if ((((Math.abs((target.y - this.y)) < 50)) && ((target.x < this.x)))){ doAttack(); }; }; } else { unitstatus = "idle"; }; } private function slowUnitIdle(){ var prevy:*; var rnd:*; movetimer++; if (movetimer > 4){ movetimer = 0; prevy = this.y; rnd = Math.random(); xmove = 0; ymove = 0; if (this.scaleX < 0){ xmove = (xmove + ((xspeed * 1.5) - ((rnd * xspeed) * 0.5))); } else { xmove = (xmove - ((xspeed * 1.5) - ((rnd * xspeed) * 0.5))); }; if (sided == "player"){ ymove = (ymove + yspeed); } else { ymove = (ymove - yspeed); }; if (this.y > 860){ ymove = (ymove - (yspeed * 8)); } else { if (this.y < 100){ ymove = (ymove + (yspeed * 8)); }; }; }; if (this.x < (340 - (rnd * 100))){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > (620 + (rnd * 100))){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; this.x = (this.x + xmove); this.y = (this.y + ymove); } private function doAttack(){ var targetonpos:*; var ang:*; var startx:*; var starty:*; targetonpos = false; ang = (180 - getAngle(this, target)); switch (typed){ case "aircraftcarrier": break; case "avenger": case "thunderbolt": case "defender": case "battlecruiser": case "secretstriker": case "intrepid": case "excelsior": case "steamrunner": case "ptolemy": case "warhammer": default: if (this.scaleX < 0){ if ((((Math.abs((target.y - this.y)) < 50)) && ((target.x > this.x)))){ targetonpos = true; }; } else { if ((((Math.abs((target.y - this.y)) < 50)) && ((target.x < this.x)))){ targetonpos = true; }; }; if (((targetonpos) && ((gunfire1.currentFrame == 2)))){ if (this.scaleX < 0){ if (ang < 0){ if (ang < -5){ ang = -5; }; } else { if (ang > 5){ ang = 5; }; }; } else { if (ang < 0){ if (ang > -175){ ang = -175; }; } else { if (ang < 175){ ang = 175; }; }; }; startx = this.x; starty = this.y; gunfire1.gotoAndPlay(3); gunfire2.gotoAndPlay(3); if (sided == "player"){ gamemgr.stageParticle.createPlayerBullet("shipgunbullet", attack, startx, starty, ang, this); } else { gamemgr.stageParticle.createComputerBullet("shipgunbullet", attack, startx, starty, ang, this); }; }; break; case "valour": if (target != thisparent.computerBaseMC){ if (this.scaleX < 0){ if ((((Math.abs((target.y - this.y)) < 50)) && ((target.x > this.x)))){ targetonpos = true; }; } else { if ((((Math.abs((target.y - this.y)) < 50)) && ((target.x < this.x)))){ targetonpos = true; }; }; if (((targetonpos) && ((gunfire1.currentFrame == 2)))){ if (this.scaleX < 0){ if (ang < 0){ if (ang < -5){ ang = -5; }; } else { if (ang > 5){ ang = 5; }; }; } else { if (ang < 0){ if (ang > -175){ ang = -175; }; } else { if (ang < 175){ ang = 175; }; }; }; starty = (this.y - 20); if (scaleX < 0){ startx = (this.x + 30); } else { startx = (this.x - 30); }; gunfire1.gotoAndPlay(3); gunfire2.gotoAndPlay(3); gamemgr.stageParticle.createPlayerBullet("shipgunbullet", (attack / 2), startx, starty, ang, this); }; } else { attacktimer++; if (attacktimer > 24){ attacktimer = 0; if (this.scaleX > 0){ ang = 180; } else { ang = 0; }; startx = this.x; starty = this.y; gamemgr.stageParticle.createPlayerBullet("dropbombbullet", (attack * 2), startx, starty, ang, this, target); }; }; break; case "vanguard": attacktimer++; if (attacktimer > 14){ attacktimer = 0; if (this.scaleX > 0){ ang = 180; } else { ang = 0; }; startx = this.x; starty = this.y; gamemgr.stageParticle.createComputerBullet("missilebullet", attack, startx, starty, ang, this, target); }; break; }; } public function reinit(){ var i:*; if (typed == "aircraftcarrier"){ i = 0; while (i < shuttle.length) { shuttle[i].reinit(); i++; }; }; this.play(); this.addEventListener(MouseEvent.MOUSE_UP, showData, false, 0, true); } private function mediumUnitAttack(){ var prevy:*; var rnd:*; if (target){ movetimer++; if (movetimer > 4){ movetimer = 0; prevy = this.y; rnd = Math.random(); xmove = 0; ymove = 0; if (this.scaleX < 0){ xmove = (xmove + ((xspeed * 1.25) + ((rnd * xspeed) * 0.5))); } else { xmove = (xmove - ((xspeed * 1.25) + ((rnd * xspeed) * 0.5))); }; if ((((targetdistance < 100)) && ((Math.abs((this.y - target.y)) < 50)))){ if (target.x < this.x){ if (this.scaleX < 0){ xmove = (xmove + (((rnd * xspeed) * 0.5) - (xspeed * 0.25))); }; } else { if (this.scaleX > 0){ xmove = (xmove - (((rnd * xspeed) * 0.5) - (xspeed * 0.25))); }; }; }; if (target.y < this.y){ ymove = (ymove - (yspeed + ((rnd * yspeed) * 4))); } else { ymove = (ymove + (yspeed + ((rnd * yspeed) * 4))); }; if (targetdistance > (200 + (Math.random() * 400))){ if (this.x < target.x){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > target.x){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; }; if (this.y > 860){ ymove = (ymove - (yspeed * 8)); } else { if (this.y < 100){ ymove = (ymove + (yspeed * 8)); }; }; if (this.x < (230 - (rnd * 100))){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > (730 + (rnd * 100))){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; if (typed != "aircraftcarrier"){ if (ymove > 1){ this.gotoAndPlay("p1"); } else { if (ymove < -1){ this.gotoAndPlay("p3"); } else { this.gotoAndPlay("p2"); }; }; }; }; if (this.x < (230 - (rnd * 100))){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > (730 + (rnd * 100))){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; this.x = (this.x + xmove); this.y = (this.y + ymove); if (this.scaleX < 0){ if ((((Math.abs((target.y - this.y)) < 50)) && ((target.x > this.x)))){ doAttack(); }; } else { if ((((Math.abs((target.y - this.y)) < 50)) && ((target.x < this.x)))){ doAttack(); }; }; } else { unitstatus = "idle"; }; } private function slowUnitAttack(){ var prevy:*; var rnd:*; if (target){ movetimer++; if (movetimer > 4){ movetimer = 0; prevy = this.y; rnd = Math.random(); xmove = 0; ymove = 0; if (this.scaleX < 0){ xmove = (xmove + ((xspeed * 1.5) - ((rnd * xspeed) * 0.5))); } else { xmove = (xmove - ((xspeed * 1.5) - ((rnd * xspeed) * 0.5))); }; if (target.y < this.y){ ymove = (ymove - (yspeed + ((rnd * yspeed) * 4))); } else { ymove = (ymove + (yspeed + ((rnd * yspeed) * 4))); }; if (targetdistance > 150){ if (this.x < target.x){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > target.x){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; }; if (this.y > 860){ ymove = (ymove - (yspeed * 8)); } else { if (this.y < 100){ ymove = (ymove + (yspeed * 8)); }; }; if (this.x < (230 - (rnd * 100))){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > (730 + (rnd * 100))){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; if (targetdistance < 200){ if (((!((typed == "valour"))) || ((target == thisparent.computerBaseMC)))){ ymove = 0; }; if (Math.abs((this.x - target.x)) < 50){ xmove = 0; }; }; }; if (this.x < (230 - (rnd * 100))){ if (this.scaleX > 0){ this.scaleX = (this.scaleX * -1); }; }; if (this.x > (730 + (rnd * 100))){ if (this.scaleX < 0){ this.scaleX = (this.scaleX * -1); }; }; this.x = (this.x + xmove); this.y = (this.y + ymove); doAttack(); } else { unitstatus = "idle"; }; } public function moveClip(){ var i:*; if (unitstatus != "destroyed"){ if (!target){ target = null; getClosestEnemy(); if (target){ if (targetdistance < 300){ unitstatus = "attack"; } else { unitstatus = "idle"; target = null; }; }; } else { if (target.unitstatus == "destroyed"){ target = null; getClosestEnemy(); if (target){ if (targetdistance < 300){ unitstatus = "attack"; } else { unitstatus = "idle"; target = null; }; }; } else { targetdistance = getDistance(this, target); }; }; } else { target = null; }; switch (typed){ case "avenger": case "intrepid": default: switch (unitstatus){ case "idle": mediumUnitIdle(); break; case "attack": mediumUnitAttack(); break; }; break; case "thunderbolt": case "defender": case "battlecruiser": case "secretstriker": case "excelsior": case "steamrunner": case "ptolemy": case "warhammer": switch (unitstatus){ case "idle": fastUnitIdle(); break; case "attack": fastUnitAttack(); break; }; break; case "valour": if (getDistance(this, thisparent.computerBaseMC) < 300){ target = thisparent.computerBaseMC; if (unitstatus != "destroyed"){ unitstatus = "attack"; }; }; case "vanguard": case "aircraftcarrier": switch (unitstatus){ case "idle": slowUnitIdle(); break; case "attack": slowUnitAttack(); break; }; if (typed == "aircraftcarrier"){ i = 0; while (i < shuttle.length) { shuttle[i].moveClip(); i++; }; }; break; }; healthbar.gotoAndStop((Math.floor(((health / maxhealth) * 100)) + 1)); } } }//package

Library Items

Symbol 1 FontUsed by:2 3 4 5 424 425 426 1268 1296 1300 1301 1308 1328 1339 1342 1400
Symbol 2 EditableTextUses:1 551Used by:500
Symbol 3 EditableTextUses:1 551Used by:500
Symbol 4 EditableTextUses:1 551Used by:500
Symbol 5 EditableTextUses:1 551Used by:500
Symbol 6 GraphicUsed by:500
Symbol 7 FontUsed by:8 499 504 509 511 519 522 527 529 535 537 672 674 675 1256 1352 1357 1454 1455 1456 1458 1459 1460 1462 1473 1480 1493 1506 1507 1509 1511 1524 1525 1526 1528 1529 1530 1532 1543 1544 1549 1562 1571 1572 1573 1637 1639
Symbol 8 EditableTextUses:7Used by:9
Symbol 9 MovieClip {number07_fla.mc_goldbar_170}Uses:8Used by:500
Symbol 10 GraphicUsed by:116 219
Symbol 11 GraphicUsed by:116 219
Symbol 12 GraphicUsed by:116
Symbol 13 FontUsed by:14 15 118 119 374 376 377 379 380 381 383 384 385 445 447 451 453 457 459 463 496 497 504 509 511 519 522 527 529 535 537 545 546 547 548 549 672 674 675 1351 1352 1356 1357 1388 1403 1404 1457 1461 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1481 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1508 1510 1512 1527 1531 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1545 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1563 1612 1617 1622 1627 1628 1629 1630 1631
Symbol 14 EditableTextUses:13Used by:116
Symbol 15 TextUses:13Used by:116
Symbol 16 GraphicUsed by:116
Symbol 17 GraphicUsed by:116
Symbol 18 GraphicUsed by:116
Symbol 19 GraphicUsed by:116
Symbol 20 GraphicUsed by:116
Symbol 21 GraphicUsed by:116
Symbol 22 GraphicUsed by:116
Symbol 23 GraphicUsed by:116
Symbol 24 GraphicUsed by:116
Symbol 25 GraphicUsed by:116
Symbol 26 GraphicUsed by:116
Symbol 27 GraphicUsed by:116
Symbol 28 GraphicUsed by:116
Symbol 29 GraphicUsed by:116
Symbol 30 GraphicUsed by:116
Symbol 31 GraphicUsed by:116
Symbol 32 GraphicUsed by:116
Symbol 33 GraphicUsed by:116
Symbol 34 GraphicUsed by:116
Symbol 35 GraphicUsed by:116
Symbol 36 GraphicUsed by:116
Symbol 37 GraphicUsed by:116
Symbol 38 GraphicUsed by:116
Symbol 39 GraphicUsed by:116
Symbol 40 GraphicUsed by:116
Symbol 41 GraphicUsed by:116
Symbol 42 GraphicUsed by:116
Symbol 43 GraphicUsed by:116
Symbol 44 GraphicUsed by:116
Symbol 45 GraphicUsed by:116
Symbol 46 GraphicUsed by:116
Symbol 47 GraphicUsed by:116
Symbol 48 GraphicUsed by:116
Symbol 49 GraphicUsed by:116
Symbol 50 GraphicUsed by:116
Symbol 51 GraphicUsed by:116
Symbol 52 GraphicUsed by:116
Symbol 53 GraphicUsed by:116
Symbol 54 GraphicUsed by:116
Symbol 55 GraphicUsed by:116
Symbol 56 GraphicUsed by:116
Symbol 57 GraphicUsed by:116
Symbol 58 GraphicUsed by:116
Symbol 59 GraphicUsed by:116
Symbol 60 GraphicUsed by:116
Symbol 61 GraphicUsed by:116
Symbol 62 GraphicUsed by:116
Symbol 63 GraphicUsed by:116
Symbol 64 GraphicUsed by:116
Symbol 65 GraphicUsed by:116
Symbol 66 GraphicUsed by:116
Symbol 67 GraphicUsed by:116
Symbol 68 GraphicUsed by:116
Symbol 69 GraphicUsed by:116
Symbol 70 GraphicUsed by:116
Symbol 71 GraphicUsed by:116
Symbol 72 GraphicUsed by:116
Symbol 73 GraphicUsed by:116
Symbol 74 GraphicUsed by:116
Symbol 75 GraphicUsed by:116
Symbol 76 GraphicUsed by:116
Symbol 77 GraphicUsed by:116
Symbol 78 GraphicUsed by:116
Symbol 79 GraphicUsed by:116
Symbol 80 GraphicUsed by:116
Symbol 81 GraphicUsed by:116
Symbol 82 GraphicUsed by:116
Symbol 83 GraphicUsed by:116
Symbol 84 GraphicUsed by:116
Symbol 85 GraphicUsed by:116
Symbol 86 GraphicUsed by:116
Symbol 87 GraphicUsed by:116
Symbol 88 GraphicUsed by:116
Symbol 89 GraphicUsed by:116
Symbol 90 GraphicUsed by:116
Symbol 91 GraphicUsed by:116
Symbol 92 GraphicUsed by:116
Symbol 93 GraphicUsed by:116
Symbol 94 GraphicUsed by:116
Symbol 95 GraphicUsed by:116
Symbol 96 GraphicUsed by:116
Symbol 97 GraphicUsed by:116
Symbol 98 GraphicUsed by:116
Symbol 99 GraphicUsed by:116
Symbol 100 GraphicUsed by:116
Symbol 101 GraphicUsed by:116
Symbol 102 GraphicUsed by:116
Symbol 103 GraphicUsed by:116
Symbol 104 GraphicUsed by:116
Symbol 105 GraphicUsed by:116
Symbol 106 GraphicUsed by:116
Symbol 107 GraphicUsed by:116
Symbol 108 GraphicUsed by:116
Symbol 109 GraphicUsed by:116
Symbol 110 GraphicUsed by:116
Symbol 111 GraphicUsed by:116
Symbol 112 GraphicUsed by:116
Symbol 113 GraphicUsed by:116
Symbol 114 GraphicUsed by:116
Symbol 115 GraphicUsed by:116 219
Symbol 116 MovieClip {number07_fla.mc_computerbasehealthbar_171}Uses:10 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115Used by:500
Symbol 117 GraphicUsed by:219
Symbol 118 TextUses:13Used by:219
Symbol 119 EditableTextUses:13Used by:219
Symbol 120 GraphicUsed by:219
Symbol 121 GraphicUsed by:219
Symbol 122 GraphicUsed by:219
Symbol 123 GraphicUsed by:219
Symbol 124 GraphicUsed by:219
Symbol 125 GraphicUsed by:219
Symbol 126 GraphicUsed by:219
Symbol 127 GraphicUsed by:219
Symbol 128 GraphicUsed by:219
Symbol 129 GraphicUsed by:219
Symbol 130 GraphicUsed by:219
Symbol 131 GraphicUsed by:219
Symbol 132 GraphicUsed by:219
Symbol 133 GraphicUsed by:219
Symbol 134 GraphicUsed by:219
Symbol 135 GraphicUsed by:219
Symbol 136 GraphicUsed by:219
Symbol 137 GraphicUsed by:219
Symbol 138 GraphicUsed by:219
Symbol 139 GraphicUsed by:219
Symbol 140 GraphicUsed by:219
Symbol 141 GraphicUsed by:219
Symbol 142 GraphicUsed by:219
Symbol 143 GraphicUsed by:219
Symbol 144 GraphicUsed by:219
Symbol 145 GraphicUsed by:219
Symbol 146 GraphicUsed by:219
Symbol 147 GraphicUsed by:219
Symbol 148 GraphicUsed by:219
Symbol 149 GraphicUsed by:219
Symbol 150 GraphicUsed by:219
Symbol 151 GraphicUsed by:219
Symbol 152 GraphicUsed by:219
Symbol 153 GraphicUsed by:219
Symbol 154 GraphicUsed by:219
Symbol 155 GraphicUsed by:219
Symbol 156 GraphicUsed by:219
Symbol 157 GraphicUsed by:219
Symbol 158 GraphicUsed by:219
Symbol 159 GraphicUsed by:219
Symbol 160 GraphicUsed by:219
Symbol 161 GraphicUsed by:219
Symbol 162 GraphicUsed by:219
Symbol 163 GraphicUsed by:219
Symbol 164 GraphicUsed by:219
Symbol 165 GraphicUsed by:219
Symbol 166 GraphicUsed by:219
Symbol 167 GraphicUsed by:219
Symbol 168 GraphicUsed by:219 1168
Symbol 169 GraphicUsed by:219
Symbol 170 GraphicUsed by:219
Symbol 171 GraphicUsed by:219
Symbol 172 GraphicUsed by:219
Symbol 173 GraphicUsed by:219
Symbol 174 GraphicUsed by:219
Symbol 175 GraphicUsed by:219
Symbol 176 GraphicUsed by:219
Symbol 177 GraphicUsed by:219
Symbol 178 GraphicUsed by:219
Symbol 179 GraphicUsed by:219
Symbol 180 GraphicUsed by:219
Symbol 181 GraphicUsed by:219
Symbol 182 GraphicUsed by:219
Symbol 183 GraphicUsed by:219
Symbol 184 GraphicUsed by:219
Symbol 185 GraphicUsed by:219
Symbol 186 GraphicUsed by:219
Symbol 187 GraphicUsed by:219
Symbol 188 GraphicUsed by:219
Symbol 189 GraphicUsed by:219
Symbol 190 GraphicUsed by:219
Symbol 191 GraphicUsed by:219
Symbol 192 GraphicUsed by:219
Symbol 193 GraphicUsed by:219
Symbol 194 GraphicUsed by:219
Symbol 195 GraphicUsed by:219
Symbol 196 GraphicUsed by:219
Symbol 197 GraphicUsed by:219
Symbol 198 GraphicUsed by:219
Symbol 199 GraphicUsed by:219
Symbol 200 GraphicUsed by:219
Symbol 201 GraphicUsed by:219
Symbol 202 GraphicUsed by:219 908 980
Symbol 203 GraphicUsed by:219
Symbol 204 GraphicUsed by:219
Symbol 205 GraphicUsed by:219
Symbol 206 GraphicUsed by:219
Symbol 207 GraphicUsed by:219
Symbol 208 GraphicUsed by:219
Symbol 209 GraphicUsed by:219
Symbol 210 GraphicUsed by:219
Symbol 211 GraphicUsed by:219
Symbol 212 GraphicUsed by:219
Symbol 213 GraphicUsed by:219
Symbol 214 GraphicUsed by:219
Symbol 215 GraphicUsed by:219
Symbol 216 GraphicUsed by:219
Symbol 217 GraphicUsed by:219
Symbol 218 GraphicUsed by:219
Symbol 219 MovieClip {number07_fla.mc_playerbasehealthbar_172}Uses:10 11 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 115Used by:500
Symbol 220 GraphicUsed by:265
Symbol 221 GraphicUsed by:265
Symbol 222 GraphicUsed by:265
Symbol 223 GraphicUsed by:265
Symbol 224 GraphicUsed by:265
Symbol 225 GraphicUsed by:265
Symbol 226 GraphicUsed by:265
Symbol 227 GraphicUsed by:265
Symbol 228 GraphicUsed by:265
Symbol 229 GraphicUsed by:265
Symbol 230 GraphicUsed by:265
Symbol 231 GraphicUsed by:265
Symbol 232 GraphicUsed by:265
Symbol 233 GraphicUsed by:265
Symbol 234 GraphicUsed by:265
Symbol 235 GraphicUsed by:265
Symbol 236 GraphicUsed by:265
Symbol 237 GraphicUsed by:265
Symbol 238 GraphicUsed by:265
Symbol 239 GraphicUsed by:265
Symbol 240 GraphicUsed by:265
Symbol 241 GraphicUsed by:265
Symbol 242 GraphicUsed by:265
Symbol 243 GraphicUsed by:265
Symbol 244 GraphicUsed by:265
Symbol 245 GraphicUsed by:265
Symbol 246 GraphicUsed by:265
Symbol 247 GraphicUsed by:265
Symbol 248 GraphicUsed by:265
Symbol 249 GraphicUsed by:265
Symbol 250 GraphicUsed by:265
Symbol 251 GraphicUsed by:265
Symbol 252 GraphicUsed by:265
Symbol 253 GraphicUsed by:265
Symbol 254 GraphicUsed by:265
Symbol 255 GraphicUsed by:265
Symbol 256 GraphicUsed by:265
Symbol 257 GraphicUsed by:265
Symbol 258 GraphicUsed by:265
Symbol 259 GraphicUsed by:265
Symbol 260 GraphicUsed by:265
Symbol 261 GraphicUsed by:265
Symbol 262 GraphicUsed by:265
Symbol 263 GraphicUsed by:265
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClip {number07_fla.stageScroll_173}Uses:220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264Used by:500
Symbol 266 BitmapUsed by:267
Symbol 267 GraphicUses:266Used by:500
Symbol 268 GraphicUsed by:290
Symbol 269 GraphicUsed by:290
Symbol 270 GraphicUsed by:290
Symbol 271 GraphicUsed by:290
Symbol 272 GraphicUsed by:290
Symbol 273 GraphicUsed by:290
Symbol 274 GraphicUsed by:290
Symbol 275 GraphicUsed by:290
Symbol 276 GraphicUsed by:290
Symbol 277 GraphicUsed by:290
Symbol 278 GraphicUsed by:290
Symbol 279 GraphicUsed by:290
Symbol 280 GraphicUsed by:290
Symbol 281 GraphicUsed by:290
Symbol 282 GraphicUsed by:290
Symbol 283 GraphicUsed by:290
Symbol 284 GraphicUsed by:290
Symbol 285 GraphicUsed by:290
Symbol 286 GraphicUsed by:290
Symbol 287 GraphicUsed by:290
Symbol 288 GraphicUsed by:290
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClip {number07_fla.specialbtnsplash_174}Uses:268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289Used by:299 348 354 500
Symbol 291 GraphicUsed by:299 307 314 321 328 335 342 348 354 360 366 372
Symbol 292 GraphicUsed by:297
Symbol 293 BitmapUsed by:294 442
Symbol 294 GraphicUses:293Used by:297
Symbol 295 GraphicUsed by:297
Symbol 296 GraphicUsed by:297
Symbol 297 ButtonUses:292 294 295 296Used by:299
Symbol 298 GraphicUsed by:299 307 314 321 328 335 342 348 354 360 366 372 395 401 410 416 422
Symbol 299 MovieClip {number07_fla.bt_special4_175}Uses:290 291 297 298Used by:500
Symbol 300 GraphicUsed by:500
Symbol 301 GraphicUsed by:306
Symbol 302 BitmapUsed by:303 1063
Symbol 303 GraphicUses:302Used by:306 443
Symbol 304 GraphicUsed by:306
Symbol 305 GraphicUsed by:306
Symbol 306 ButtonUses:301 303 304 305Used by:307
Symbol 307 MovieClip {number07_fla.bt_createunit1_177}Uses:291 306 298Used by:500
Symbol 308 GraphicUsed by:313
Symbol 309 BitmapUsed by:310
Symbol 310 GraphicUses:309Used by:313 443 1079
Symbol 311 GraphicUsed by:313
Symbol 312 GraphicUsed by:313
Symbol 313 ButtonUses:308 310 311 312Used by:314
Symbol 314 MovieClip {number07_fla.bt_createunit2_179}Uses:291 313 298Used by:500
Symbol 315 GraphicUsed by:320
Symbol 316 BitmapUsed by:317
Symbol 317 GraphicUses:316Used by:320 443 1088
Symbol 318 GraphicUsed by:320
Symbol 319 GraphicUsed by:320
Symbol 320 ButtonUses:315 317 318 319Used by:321
Symbol 321 MovieClip {number07_fla.bt_createunit3_181}Uses:291 320 298Used by:500
Symbol 322 GraphicUsed by:327
Symbol 323 BitmapUsed by:324
Symbol 324 GraphicUses:323Used by:327 443 1097
Symbol 325 GraphicUsed by:327
Symbol 326 GraphicUsed by:327
Symbol 327 ButtonUses:322 324 325 326Used by:328
Symbol 328 MovieClip {number07_fla.bt_createunit4_183}Uses:291 327 298Used by:500
Symbol 329 GraphicUsed by:334
Symbol 330 BitmapUsed by:331 1098
Symbol 331 GraphicUses:330Used by:334 443
Symbol 332 GraphicUsed by:334
Symbol 333 GraphicUsed by:334
Symbol 334 ButtonUses:329 331 332 333Used by:335
Symbol 335 MovieClip {number07_fla.bt_createunit5_185}Uses:291 334 298Used by:500
Symbol 336 GraphicUsed by:341
Symbol 337 BitmapUsed by:338 441
Symbol 338 GraphicUses:337Used by:341
Symbol 339 GraphicUsed by:341
Symbol 340 GraphicUsed by:341
Symbol 341 ButtonUses:336 338 339 340Used by:342
Symbol 342 MovieClip {number07_fla.bt_special1_187}Uses:291 341 298Used by:500
Symbol 343 GraphicUsed by:347
Symbol 344 GraphicUsed by:347
Symbol 345 GraphicUsed by:347
Symbol 346 GraphicUsed by:347
Symbol 347 ButtonUses:343 344 345 346Used by:348
Symbol 348 MovieClip {number07_fla.bt_special2_189}Uses:290 291 347 298Used by:500
Symbol 349 GraphicUsed by:353
Symbol 350 GraphicUsed by:353
Symbol 351 GraphicUsed by:353
Symbol 352 GraphicUsed by:353
Symbol 353 ButtonUses:349 350 351 352Used by:354
Symbol 354 MovieClip {number07_fla.bt_special3_191}Uses:290 291 353 298Used by:500
Symbol 355 GraphicUsed by:359
Symbol 356 GraphicUsed by:359
Symbol 357 GraphicUsed by:359
Symbol 358 GraphicUsed by:359
Symbol 359 ButtonUses:355 356 357 358Used by:360
Symbol 360 MovieClip {number07_fla.bt_createtower1_193}Uses:291 359 298Used by:500
Symbol 361 GraphicUsed by:365
Symbol 362 GraphicUsed by:365
Symbol 363 GraphicUsed by:365
Symbol 364 GraphicUsed by:365
Symbol 365 ButtonUses:361 362 363 364Used by:366
Symbol 366 MovieClip {number07_fla.bt_createtower2_195}Uses:291 365 298Used by:500
Symbol 367 GraphicUsed by:371
Symbol 368 GraphicUsed by:371
Symbol 369 GraphicUsed by:371
Symbol 370 GraphicUsed by:371
Symbol 371 ButtonUses:367 368 369 370Used by:372
Symbol 372 MovieClip {number07_fla.bt_createtower3_197}Uses:291 371 298Used by:500
Symbol 373 GraphicUsed by:378 382 386
Symbol 374 TextUses:13Used by:378
Symbol 375 GraphicUsed by:378 382 386
Symbol 376 TextUses:13Used by:378
Symbol 377 TextUses:13Used by:378
Symbol 378 ButtonUses:373 374 375 376 377Used by:500
Symbol 379 TextUses:13Used by:382
Symbol 380 TextUses:13Used by:382
Symbol 381 TextUses:13Used by:382
Symbol 382 ButtonUses:373 379 375 380 381Used by:500
Symbol 383 TextUses:13Used by:386
Symbol 384 TextUses:13Used by:386
Symbol 385 TextUses:13Used by:386
Symbol 386 ButtonUses:373 383 375 384 385Used by:500
Symbol 387 GraphicUsed by:394
Symbol 388 GraphicUsed by:394
Symbol 389 GraphicUsed by:394
Symbol 390 GraphicUsed by:392 394 400 415 421
Symbol 391 GraphicUsed by:392
Symbol 392 MovieClipUses:390 391Used by:394 400 415 421
Symbol 393 GraphicUsed by:394
Symbol 394 ButtonUses:387 388 389 392 393 390Used by:395
Symbol 395 MovieClip {number07_fla.bt_upgrade1_202}Uses:394 298Used by:500
Symbol 396 GraphicUsed by:400
Symbol 397 GraphicUsed by:400
Symbol 398 GraphicUsed by:400
Symbol 399 GraphicUsed by:400
Symbol 400 ButtonUses:396 397 398 392 399 390Used by:401
Symbol 401 MovieClip {number07_fla.bt_upgrade2_205}Uses:400 298Used by:500
Symbol 402 GraphicUsed by:406
Symbol 403 GraphicUsed by:406
Symbol 404 GraphicUsed by:406
Symbol 405 GraphicUsed by:406
Symbol 406 ButtonUses:402 403 404 405Used by:410
Symbol 407 GraphicUsed by:409
Symbol 408 GraphicUsed by:409
Symbol 409 MovieClip {number07_fla.lighter_209}Uses:407 408Used by:410
Symbol 410 MovieClip {number07_fla.bt_upgrade3_207}Uses:406 409 298Used by:500
Symbol 411 GraphicUsed by:415
Symbol 412 GraphicUsed by:415
Symbol 413 GraphicUsed by:415
Symbol 414 GraphicUsed by:415
Symbol 415 ButtonUses:411 412 413 392 414 390Used by:416
Symbol 416 MovieClip {number07_fla.bt_upgrade4_210}Uses:415 298Used by:500
Symbol 417 GraphicUsed by:421
Symbol 418 GraphicUsed by:421
Symbol 419 GraphicUsed by:421
Symbol 420 GraphicUsed by:421
Symbol 421 ButtonUses:417 418 419 392 420 390Used by:422
Symbol 422 MovieClip {number07_fla.bt_upgrade5_212}Uses:421 298Used by:500
Symbol 423 GraphicUsed by:500
Symbol 424 TextUses:1Used by:500
Symbol 425 TextUses:1Used by:500
Symbol 426 TextUses:1Used by:500
Symbol 427 GraphicUsed by:434
Symbol 428 GraphicUsed by:434
Symbol 429 GraphicUsed by:434
Symbol 430 GraphicUsed by:434
Symbol 431 GraphicUsed by:434
Symbol 432 GraphicUsed by:434
Symbol 433 GraphicUsed by:434
Symbol 434 MovieClipUses:427 428 429 430 431 432 433Used by:500
Symbol 435 GraphicUsed by:443
Symbol 436 GraphicUsed by:440
Symbol 437 GraphicUsed by:440
Symbol 438 GraphicUsed by:440
Symbol 439 GraphicUsed by:440
Symbol 440 ButtonUses:436 437 438 439Used by:443
Symbol 441 GraphicUses:337Used by:443
Symbol 442 GraphicUses:293Used by:443
Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215}Uses:435 303 440 310 317 324 331 441 442Used by:500
Symbol 444 GraphicUsed by:449
Symbol 445 TextUses:13Used by:449
Symbol 446 GraphicUsed by:449
Symbol 447 TextUses:13Used by:449
Symbol 448 GraphicUsed by:449
Symbol 449 ButtonUses:444 445 446 447 448Used by:465
Symbol 450 GraphicUsed by:455
Symbol 451 TextUses:13Used by:455
Symbol 452 GraphicUsed by:455
Symbol 453 TextUses:13Used by:455
Symbol 454 GraphicUsed by:455
Symbol 455 ButtonUses:450 451 452 453 454Used by:465
Symbol 456 GraphicUsed by:461
Symbol 457 TextUses:13Used by:461
Symbol 458 GraphicUsed by:461
Symbol 459 TextUses:13Used by:461
Symbol 460 GraphicUsed by:461
Symbol 461 ButtonUses:456 457 458 459 460Used by:465
Symbol 462 GraphicUsed by:464
Symbol 463 TextUses:13Used by:464
Symbol 464 MovieClipUses:462 463Used by:465
Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217}Uses:449 455 461 464Used by:500
Symbol 466 GraphicUsed by:472
Symbol 467 GraphicUsed by:472
Symbol 468 GraphicUsed by:472
Symbol 469 GraphicUsed by:472
Symbol 470 GraphicUsed by:472
Symbol 471 GraphicUsed by:472
Symbol 472 MovieClip {mc_towercreate}Uses:466 467 468 469 470 471Used by:477
Symbol 473 GraphicUsed by:474
Symbol 474 ButtonUses:473Used by:477
Symbol 475 GraphicUsed by:476
Symbol 476 ButtonUses:475Used by:477
Symbol 477 MovieClip {number07_fla.mc_towercreatepanel_222}Uses:472 474 476Used by:500
Symbol 478 GraphicUsed by:481
Symbol 479 GraphicUsed by:481
Symbol 480 GraphicUsed by:481
Symbol 481 ButtonUses:478 479 480Used by:493
Symbol 482 GraphicUsed by:493
Symbol 483 GraphicUsed by:493
Symbol 484 GraphicUsed by:493
Symbol 485 GraphicUsed by:493
Symbol 486 GraphicUsed by:493
Symbol 487 GraphicUsed by:493
Symbol 488 GraphicUsed by:493
Symbol 489 GraphicUsed by:493
Symbol 490 GraphicUsed by:493
Symbol 491 GraphicUsed by:493
Symbol 492 GraphicUsed by:493
Symbol 493 MovieClip {number07_fla.mc_minimap_225}Uses:481 482 483 484 485 486 487 488 489 490 491 492Used by:500
Symbol 494 GraphicUsed by:495
Symbol 495 MovieClipUses:494Used by:498
Symbol 496 EditableTextUses:13Used by:498
Symbol 497 EditableTextUses:13Used by:498
Symbol 498 MovieClip {number07_fla.mc_info_227}Uses:495 496 497Used by:500
Symbol 499 EditableTextUses:7Used by:500
Symbol 500 MovieClip {StagePanel}Uses:2 3 4 5 6 9 116 219 265 267 290 299 300 307 314 321 328 335 342 348 354 360 366 372 378 382 386 395 401 410 416 422 423 424 425 426 434 443 465 477 493 498 499
Symbol 501 GraphicUsed by:542
Symbol 502 ShapeTweeningUsed by:542
Symbol 503 GraphicUsed by:542
Symbol 504 TextUses:7 13Used by:542
Symbol 505 ShapeTweeningUsed by:542
Symbol 506 GraphicUsed by:542
Symbol 507 ShapeTweeningUsed by:542
Symbol 508 GraphicUsed by:542
Symbol 509 TextUses:7 13Used by:542
Symbol 510 ShapeTweeningUsed by:542
Symbol 511 TextUses:7 13Used by:542
Symbol 512 ShapeTweeningUsed by:542
Symbol 513 GraphicUsed by:542
Symbol 514 GraphicUsed by:542
Symbol 515 ShapeTweeningUsed by:542
Symbol 516 ShapeTweeningUsed by:542
Symbol 517 GraphicUsed by:542
Symbol 518 GraphicUsed by:542
Symbol 519 TextUses:7 13Used by:542
Symbol 520 ShapeTweeningUsed by:542
Symbol 521 GraphicUsed by:542
Symbol 522 TextUses:7 13Used by:542
Symbol 523 ShapeTweeningUsed by:542
Symbol 524 ShapeTweeningUsed by:542
Symbol 525 GraphicUsed by:542
Symbol 526 ShapeTweeningUsed by:542
Symbol 527 TextUses:7 13Used by:542
Symbol 528 ShapeTweeningUsed by:542
Symbol 529 TextUses:7 13Used by:542
Symbol 530 ShapeTweeningUsed by:542
Symbol 531 ShapeTweeningUsed by:542
Symbol 532 GraphicUsed by:542
Symbol 533 ShapeTweeningUsed by:542
Symbol 534 GraphicUsed by:542
Symbol 535 TextUses:7 13Used by:542
Symbol 536 ShapeTweeningUsed by:542
Symbol 537 TextUses:7 13Used by:542
Symbol 538 ShapeTweeningUsed by:542
Symbol 539 GraphicUsed by:542
Symbol 540 ShapeTweeningUsed by:542
Symbol 541 GraphicUsed by:542
Symbol 542 MovieClip {stageTutorial}Uses:501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541
Symbol 543 ShapeTweeningUsed by:557
Symbol 544 GraphicUsed by:557
Symbol 545 EditableTextUses:13Used by:557
Symbol 546 EditableTextUses:13Used by:557
Symbol 547 EditableTextUses:13Used by:557
Symbol 548 EditableTextUses:13Used by:557
Symbol 549 EditableTextUses:13Used by:557
Symbol 550 GraphicUsed by:557
Symbol 551 FontUsed by:2 3 4 5 552 569 571 572 573 578 580 656 658 660 661 662 663 664 665 671 673 677 1242 1244 1246 1247 1249 1250 1252 1253 1255 1257 1258 1260 1261 1389 1390 1391 1412 1415 1416 1417 1418 1419 1420 1421 1422 1423 1426 1427 1430 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1450 1451 1483 1484 1485 1486 1487 1488 1489 1490 1514 1515 1516 1517 1518 1519 1520 1521 1574 1586 1588 1590 1594 1596 1600 1602 1606 1608 1638 1639
Symbol 552 TextUses:551Used by:557
Symbol 553 GraphicUsed by:554
Symbol 554 ButtonUses:553Used by:557 699 1221 1401
Symbol 555 ShapeTweeningUsed by:557
Symbol 556 GraphicUsed by:557
Symbol 557 MovieClip {mc_optionpanel}Uses:543 544 545 546 547 548 549 550 552 554 555 556
Symbol 558 GraphicUsed by:559
Symbol 559 MovieClip {mc_playerunit}Uses:558
Symbol 560 GraphicUsed by:561
Symbol 561 MovieClip {mc_enemyunit}Uses:560
Symbol 562 GraphicUsed by:563
Symbol 563 MovieClip {mc_minienemybase}Uses:562
Symbol 564 GraphicUsed by:565
Symbol 565 MovieClip {mc_miniplayerbase}Uses:564
Symbol 566 GraphicUsed by:605
Symbol 567 GraphicUsed by:582
Symbol 568 GraphicUsed by:576
Symbol 569 TextUses:551Used by:576
Symbol 570 GraphicUsed by:576
Symbol 571 TextUses:551Used by:576 581
Symbol 572 TextUses:551Used by:576
Symbol 573 TextUses:551Used by:576
Symbol 574 GraphicUsed by:576 581
Symbol 575 GraphicUsed by:576 581
Symbol 576 ButtonUses:568 569 570 571 572 573 574 575Used by:582
Symbol 577 GraphicUsed by:581
Symbol 578 TextUses:551Used by:581
Symbol 579 GraphicUsed by:581
Symbol 580 TextUses:551Used by:581
Symbol 581 ButtonUses:577 578 579 571 580 574 575Used by:582
Symbol 582 MovieClip {number07_fla.btn_lockthiszoom_22}Uses:567 576 581Used by:605
Symbol 583 BitmapUsed by:584
Symbol 584 GraphicUses:583Used by:596
Symbol 585 GraphicUsed by:592
Symbol 586 GraphicUsed by:589 910
Symbol 587 GraphicUsed by:589 910 971
Symbol 588 GraphicUsed by:589 910 971
Symbol 589 MovieClip {number07_fla.mc_gunfire_27}Uses:586 587 588Used by:592
Symbol 590 BitmapUsed by:591
Symbol 591 GraphicUses:590Used by:592
Symbol 592 MovieClip {number07_fla.mc_gun_26}Uses:585 589 591Used by:596 604
Symbol 593 GraphicUsed by:594
Symbol 594 MovieClipUses:593Used by:595
Symbol 595 MovieClip {number07_fla.mc_repair_28}Uses:594Used by:596 604
Symbol 596 MovieClip {playerbase_mc}Uses:584 592 595Used by:605
Symbol 597 BitmapUsed by:598
Symbol 598 GraphicUses:597Used by:604
Symbol 599 BitmapUsed by:600
Symbol 600 GraphicUses:599Used by:603
Symbol 601 BitmapUsed by:602
Symbol 602 GraphicUses:601Used by:603
Symbol 603 MovieClipUses:600 602Used by:604 786 1000 1011 1022 1033 1079 1088 1097 1118
Symbol 604 MovieClip {computerbase_mc}Uses:598 592 595 603Used by:605
Symbol 605 MovieClip {SceneContainer}Uses:566 582 596 604Used by:728
Symbol 606 MovieClip {com.kongregate.as3.client.KongregateAPI}
Symbol 607 BitmapUsed by:608
Symbol 608 GraphicUses:607Used by:700
Symbol 609 GraphicUsed by:650
Symbol 610 GraphicUsed by:650
Symbol 611 GraphicUsed by:650
Symbol 612 GraphicUsed by:650
Symbol 613 GraphicUsed by:650
Symbol 614 GraphicUsed by:650
Symbol 615 GraphicUsed by:650
Symbol 616 GraphicUsed by:650
Symbol 617 GraphicUsed by:650
Symbol 618 GraphicUsed by:650
Symbol 619 GraphicUsed by:650
Symbol 620 GraphicUsed by:650
Symbol 621 GraphicUsed by:650
Symbol 622 GraphicUsed by:650
Symbol 623 GraphicUsed by:650
Symbol 624 GraphicUsed by:650
Symbol 625 GraphicUsed by:650
Symbol 626 GraphicUsed by:650
Symbol 627 GraphicUsed by:650
Symbol 628 GraphicUsed by:650
Symbol 629 GraphicUsed by:650
Symbol 630 GraphicUsed by:650
Symbol 631 GraphicUsed by:650
Symbol 632 GraphicUsed by:650
Symbol 633 GraphicUsed by:650
Symbol 634 GraphicUsed by:650
Symbol 635 GraphicUsed by:650
Symbol 636 GraphicUsed by:650
Symbol 637 GraphicUsed by:650
Symbol 638 GraphicUsed by:650
Symbol 639 GraphicUsed by:650
Symbol 640 GraphicUsed by:650
Symbol 641 GraphicUsed by:650
Symbol 642 GraphicUsed by:650
Symbol 643 GraphicUsed by:650
Symbol 644 GraphicUsed by:650
Symbol 645 GraphicUsed by:650
Symbol 646 GraphicUsed by:650
Symbol 647 GraphicUsed by:650
Symbol 648 GraphicUsed by:650
Symbol 649 GraphicUsed by:650
Symbol 650 MovieClipUses:609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649Used by:700
Symbol 651 BitmapUsed by:652
Symbol 652 GraphicUses:651Used by:653
Symbol 653 ButtonUses:652Used by:700
Symbol 654 GraphicUsed by:655
Symbol 655 ButtonUses:654Used by:700
Symbol 656 TextUses:551Used by:657
Symbol 657 MovieClipUses:656Used by:700
Symbol 658 TextUses:551Used by:666
Symbol 659 GraphicUsed by:666
Symbol 660 TextUses:551Used by:666
Symbol 661 TextUses:551Used by:666
Symbol 662 TextUses:551Used by:666
Symbol 663 TextUses:551Used by:666
Symbol 664 TextUses:551Used by:666
Symbol 665 TextUses:551Used by:666
Symbol 666 MovieClipUses:658 659 660 661 662 663 664 665Used by:700
Symbol 667 GraphicUsed by:670
Symbol 668 ShapeTweeningUsed by:670
Symbol 669 GraphicUsed by:670
Symbol 670 MovieClipUses:667 668 669Used by:700
Symbol 671 TextUses:551Used by:700
Symbol 672 EditableTextUses:7 13Used by:700
Symbol 673 TextUses:551Used by:700
Symbol 674 EditableTextUses:7 13Used by:700
Symbol 675 EditableTextUses:7 13Used by:700
Symbol 676 GraphicUsed by:678
Symbol 677 TextUses:551Used by:678
Symbol 678 ButtonUses:676 677Used by:700
Symbol 679 GraphicUsed by:680 702 1139 1166
Symbol 680 MovieClipUses:679Used by:699
Symbol 681 BitmapUsed by:682
Symbol 682 GraphicUses:681Used by:699
Symbol 683 FontUsed by:684 687 690 1164
Symbol 684 TextUses:683Used by:685
Symbol 685 MovieClipUses:684Used by:686
Symbol 686 MovieClipUses:685Used by:699
Symbol 687 TextUses:683Used by:688
Symbol 688 MovieClipUses:687Used by:689
Symbol 689 MovieClipUses:688Used by:699
Symbol 690 TextUses:683Used by:691
Symbol 691 MovieClipUses:690Used by:692
Symbol 692 MovieClipUses:691Used by:699
Symbol 693 BitmapUsed by:697 698
Symbol 694 BitmapUsed by:697 698
Symbol 695 BitmapUsed by:697 698
Symbol 696 BitmapUsed by:697 698
Symbol 697 GraphicUses:693 694 695 696Used by:699
Symbol 698 GraphicUses:696 695 694 693Used by:699
Symbol 699 MovieClipUses:680 682 686 689 692 697 698 554Used by:700
Symbol 700 MovieClip {number07_fla.mc_preloaderpage_1}Uses:608 650 653 655 657 666 670 671 672 673 674 675 678 699Used by:Timeline
Symbol 701 GraphicUsed by:Timeline
Symbol 702 MovieClipUses:679Used by:717 728 1138
Symbol 703 GraphicUsed by:717
Symbol 704 Sound {bgm_ambient}Used by:717
Symbol 705 Sound {bgm_cover}Used by:717
Symbol 706 Sound {bgm_hightension}Used by:717
Symbol 707 Sound {bgm_lowtension}Used by:717
Symbol 708 Sound {sfx_bigship_explode}Used by:717
Symbol 709 Sound {sfx_dropbomb_explode}Used by:717
Symbol 710 Sound {sfx_emp_explode}Used by:717
Symbol 711 Sound {sfx_gun_shot}Used by:717
Symbol 712 Sound {sfx_missile_explode}Used by:717
Symbol 713 Sound {sfx_missile_shot}Used by:717
Symbol 714 Sound {sfx_plasma_explode}Used by:717
Symbol 715 Sound {sfx_plasma_shot}Used by:717
Symbol 716 Sound {sfx_smallship_explode}Used by:717
Symbol 717 MovieClip {number07_fla.soundloader_18}Uses:702 703 704 705 706 707 708 709 710 711 712 713 714 715 716Used by:Timeline
Symbol 718 BitmapUsed by:719
Symbol 719 GraphicUses:718Used by:720
Symbol 720 MovieClip {mc_background1}Uses:719Used by:728
Symbol 721 BitmapUsed by:722
Symbol 722 GraphicUses:721Used by:723
Symbol 723 MovieClip {mc_background2}Uses:722Used by:728
Symbol 724 BitmapUsed by:725
Symbol 725 GraphicUses:724Used by:726
Symbol 726 MovieClip {mc_background3}Uses:725Used by:728
Symbol 727 GraphicUsed by:728
Symbol 728 MovieClip {number07_fla.sceneloader_20}Uses:605 720 723 726 702 727Used by:Timeline
Symbol 729 GraphicUsed by:730
Symbol 730 MovieClip {mc_blowparticle1}Uses:729Used by:1138
Symbol 731 GraphicUsed by:732
Symbol 732 MovieClip {mc_blowparticle2}Uses:731Used by:1138
Symbol 733 GraphicUsed by:734
Symbol 734 MovieClip {mc_bombbullet}Uses:733Used by:1138
Symbol 735 GraphicUsed by:752
Symbol 736 GraphicUsed by:752
Symbol 737 GraphicUsed by:752
Symbol 738 GraphicUsed by:752
Symbol 739 GraphicUsed by:752
Symbol 740 GraphicUsed by:752
Symbol 741 GraphicUsed by:752
Symbol 742 GraphicUsed by:752
Symbol 743 GraphicUsed by:752
Symbol 744 GraphicUsed by:752
Symbol 745 GraphicUsed by:752
Symbol 746 GraphicUsed by:752
Symbol 747 GraphicUsed by:752
Symbol 748 GraphicUsed by:752
Symbol 749 GraphicUsed by:752
Symbol 750 GraphicUsed by:752
Symbol 751 GraphicUsed by:752
Symbol 752 MovieClip {mc_empbullet}Uses:735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751Used by:1138
Symbol 753 BitmapUsed by:754
Symbol 754 GraphicUses:753Used by:778
Symbol 755 BitmapUsed by:756
Symbol 756 GraphicUses:755Used by:778
Symbol 757 BitmapUsed by:758
Symbol 758 GraphicUses:757Used by:778
Symbol 759 BitmapUsed by:760 762
Symbol 760 GraphicUses:759Used by:778
Symbol 761 BitmapUsed by:762 763
Symbol 762 GraphicUses:761 759Used by:778
Symbol 763 GraphicUses:761Used by:778
Symbol 764 BitmapUsed by:765
Symbol 765 GraphicUses:764Used by:778
Symbol 766 BitmapUsed by:767
Symbol 767 GraphicUses:766Used by:778
Symbol 768 BitmapUsed by:769
Symbol 769 GraphicUses:768Used by:778
Symbol 770 BitmapUsed by:771
Symbol 771 GraphicUses:770Used by:778
Symbol 772 BitmapUsed by:773
Symbol 773 GraphicUses:772Used by:778
Symbol 774 BitmapUsed by:775
Symbol 775 GraphicUses:774Used by:778
Symbol 776 BitmapUsed by:777
Symbol 777 GraphicUses:776Used by:778
Symbol 778 MovieClip {mc_explodesplash}Uses:754 756 758 760 762 763 765 767 769 771 773 775 777Used by:1138
Symbol 779 GraphicUsed by:780 800
Symbol 780 MovieClip {mc_gunbullet}Uses:779Used by:1138
Symbol 781 GraphicUsed by:784
Symbol 782 GraphicUsed by:784
Symbol 783 GraphicUsed by:784
Symbol 784 MovieClip {mc_gunparticle}Uses:781 782 783Used by:1138
Symbol 785 GraphicUsed by:786
Symbol 786 MovieClip {mc_missilebullet}Uses:785 603Used by:1138
Symbol 787 GraphicUsed by:788
Symbol 788 MovieClip {mc_plasmabullet}Uses:787Used by:1138
Symbol 789 BitmapUsed by:790
Symbol 790 GraphicUses:789Used by:799
Symbol 791 BitmapUsed by:792
Symbol 792 GraphicUses:791Used by:799
Symbol 793 BitmapUsed by:794
Symbol 794 GraphicUses:793Used by:799
Symbol 795 BitmapUsed by:796
Symbol 796 GraphicUses:795Used by:799
Symbol 797 BitmapUsed by:798
Symbol 798 GraphicUses:797Used by:799
Symbol 799 MovieClip {mc_redsplashfx}Uses:790 792 794 796 798Used by:1138
Symbol 800 MovieClip {mc_shipgunbullet}Uses:779Used by:1138
Symbol 801 GraphicUsed by:806
Symbol 802 GraphicUsed by:806
Symbol 803 GraphicUsed by:806
Symbol 804 GraphicUsed by:806
Symbol 805 GraphicUsed by:806
Symbol 806 MovieClip {mc_thunderbullet}Uses:801 802 803 804 805Used by:1138
Symbol 807 BitmapUsed by:808
Symbol 808 GraphicUses:807Used by:909
Symbol 809 GraphicUsed by:908 980 1202
Symbol 810 GraphicUsed by:908 980
Symbol 811 GraphicUsed by:908 980
Symbol 812 GraphicUsed by:908 980
Symbol 813 GraphicUsed by:908 980
Symbol 814 GraphicUsed by:908 980
Symbol 815 GraphicUsed by:908 980
Symbol 816 GraphicUsed by:908 980
Symbol 817 GraphicUsed by:908 980
Symbol 818 GraphicUsed by:908 980
Symbol 819 GraphicUsed by:908 980
Symbol 820 GraphicUsed by:908 980
Symbol 821 GraphicUsed by:908 980
Symbol 822 GraphicUsed by:908 980
Symbol 823 GraphicUsed by:908 980
Symbol 824 GraphicUsed by:908 980
Symbol 825 GraphicUsed by:908 980
Symbol 826 GraphicUsed by:908 980
Symbol 827 GraphicUsed by:908 980
Symbol 828 GraphicUsed by:908 980
Symbol 829 GraphicUsed by:908 980
Symbol 830 GraphicUsed by:908 980
Symbol 831 GraphicUsed by:908 980
Symbol 832 GraphicUsed by:908 980
Symbol 833 GraphicUsed by:908 980
Symbol 834 GraphicUsed by:908 980
Symbol 835 GraphicUsed by:908 980
Symbol 836 GraphicUsed by:908 980
Symbol 837 GraphicUsed by:908 980
Symbol 838 GraphicUsed by:908 980
Symbol 839 GraphicUsed by:908 980
Symbol 840 GraphicUsed by:908 980
Symbol 841 GraphicUsed by:908 980
Symbol 842 GraphicUsed by:908 980
Symbol 843 GraphicUsed by:908 980
Symbol 844 GraphicUsed by:908 980
Symbol 845 GraphicUsed by:908 980
Symbol 846 GraphicUsed by:908 980
Symbol 847 GraphicUsed by:908 980
Symbol 848 GraphicUsed by:908 980
Symbol 849 GraphicUsed by:908 980
Symbol 850 GraphicUsed by:908 980
Symbol 851 GraphicUsed by:908 980
Symbol 852 GraphicUsed by:908 980
Symbol 853 GraphicUsed by:908 980
Symbol 854 GraphicUsed by:908 980
Symbol 855 GraphicUsed by:908 980
Symbol 856 GraphicUsed by:908 980
Symbol 857 GraphicUsed by:908 980
Symbol 858 GraphicUsed by:908 980
Symbol 859 GraphicUsed by:908 980
Symbol 860 GraphicUsed by:908 980
Symbol 861 GraphicUsed by:908 980
Symbol 862 GraphicUsed by:908 980
Symbol 863 GraphicUsed by:908 980
Symbol 864 GraphicUsed by:908 980
Symbol 865 GraphicUsed by:908 980
Symbol 866 GraphicUsed by:908 980
Symbol 867 GraphicUsed by:908 980
Symbol 868 GraphicUsed by:908 980
Symbol 869 GraphicUsed by:908 980
Symbol 870 GraphicUsed by:908 980
Symbol 871 GraphicUsed by:908 980
Symbol 872 GraphicUsed by:908 980
Symbol 873 GraphicUsed by:908 980
Symbol 874 GraphicUsed by:908 980
Symbol 875 GraphicUsed by:908 980
Symbol 876 GraphicUsed by:908 980
Symbol 877 GraphicUsed by:908 980
Symbol 878 GraphicUsed by:908 980
Symbol 879 GraphicUsed by:908 980
Symbol 880 GraphicUsed by:908 980
Symbol 881 GraphicUsed by:908 980
Symbol 882 GraphicUsed by:908 980
Symbol 883 GraphicUsed by:908 980
Symbol 884 GraphicUsed by:908 980
Symbol 885 GraphicUsed by:908 980
Symbol 886 GraphicUsed by:908 980
Symbol 887 GraphicUsed by:908 980
Symbol 888 GraphicUsed by:908 980
Symbol 889 GraphicUsed by:908 980
Symbol 890 GraphicUsed by:908 980
Symbol 891 GraphicUsed by:908 980
Symbol 892 GraphicUsed by:908 980
Symbol 893 GraphicUsed by:908 980
Symbol 894 GraphicUsed by:908 980
Symbol 895 GraphicUsed by:908 980
Symbol 896 GraphicUsed by:908 980
Symbol 897 GraphicUsed by:908 980
Symbol 898 GraphicUsed by:908 980
Symbol 899 GraphicUsed by:908 980
Symbol 900 GraphicUsed by:908 980
Symbol 901 GraphicUsed by:908 980
Symbol 902 GraphicUsed by:908 980
Symbol 903 GraphicUsed by:908 980
Symbol 904 GraphicUsed by:908 980
Symbol 905 GraphicUsed by:908 980
Symbol 906 GraphicUsed by:908 980
Symbol 907 GraphicUsed by:908 980 1413
Symbol 908 MovieClip {number07_fla.healthbar_49}Uses:809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 202 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907Used by:909 916 922 928 934 940 946 952 958
Symbol 909 MovieClip {mc_emptower}Uses:808 908Used by:1138
Symbol 910 MovieClip {number07_fla.mc_gunfire_50}Uses:586 587 588Used by:915 921 1138
Symbol 911 BitmapUsed by:912
Symbol 912 GraphicUses:911Used by:916
Symbol 913 BitmapUsed by:914 920
Symbol 914 GraphicUses:913Used by:915
Symbol 915 MovieClip {number07_fla.mc_guntowergun_52}Uses:914 910Used by:916
Symbol 916 MovieClip {mc_guntower}Uses:912 915 908Used by:1138
Symbol 917 BitmapUsed by:918
Symbol 918 GraphicUses:917Used by:922
Symbol 919 BitmapUsed by:920
Symbol 920 GraphicUses:919 913Used by:921
Symbol 921 MovieClip {number07_fla.mc_guntowergunenemy_54}Uses:920 910Used by:922
Symbol 922 MovieClip {mc_guntowerenemy}Uses:918 921 908Used by:1138
Symbol 923 BitmapUsed by:924
Symbol 924 GraphicUses:923Used by:928
Symbol 925 BitmapUsed by:926
Symbol 926 GraphicUses:925Used by:927
Symbol 927 MovieClipUses:926Used by:928
Symbol 928 MovieClip {mc_missiletower}Uses:924 927 908Used by:1138
Symbol 929 BitmapUsed by:930
Symbol 930 GraphicUses:929Used by:934
Symbol 931 BitmapUsed by:932
Symbol 932 GraphicUses:931Used by:933
Symbol 933 MovieClipUses:932Used by:934
Symbol 934 MovieClip {mc_missiletowerenemy}Uses:930 933 908Used by:1138
Symbol 935 BitmapUsed by:936
Symbol 936 GraphicUses:935Used by:940
Symbol 937 BitmapUsed by:938
Symbol 938 GraphicUses:937Used by:939
Symbol 939 MovieClipUses:938Used by:940
Symbol 940 MovieClip {mc_plasmatower}Uses:936 939 908Used by:1138
Symbol 941 BitmapUsed by:942
Symbol 942 GraphicUses:941Used by:946
Symbol 943 BitmapUsed by:944
Symbol 944 GraphicUses:943Used by:945
Symbol 945 MovieClipUses:944Used by:946
Symbol 946 MovieClip {mc_plasmatowerenemy}Uses:942 945 908Used by:1138
Symbol 947 BitmapUsed by:948
Symbol 948 GraphicUses:947Used by:952
Symbol 949 BitmapUsed by:950
Symbol 950 GraphicUses:949Used by:951
Symbol 951 MovieClipUses:950Used by:952
Symbol 952 MovieClip {mc_thundertower}Uses:948 951 908Used by:1138
Symbol 953 BitmapUsed by:954
Symbol 954 GraphicUses:953Used by:958
Symbol 955 BitmapUsed by:956
Symbol 956 GraphicUses:955Used by:957
Symbol 957 MovieClipUses:956Used by:958
Symbol 958 MovieClip {mc_thundertowerenemy}Uses:954 957 908Used by:1138
Symbol 959 GraphicUsed by:966
Symbol 960 GraphicUsed by:966
Symbol 961 GraphicUsed by:966
Symbol 962 GraphicUsed by:966
Symbol 963 GraphicUsed by:966
Symbol 964 GraphicUsed by:966
Symbol 965 GraphicUsed by:966
Symbol 966 MovieClip {mc_towerprogress}Uses:959 960 961 962 963 964 965Used by:1138
Symbol 967 BitmapUsed by:968
Symbol 968 GraphicUses:967Used by:975 977
Symbol 969 GraphicUsed by:971
Symbol 970 GraphicUsed by:971
Symbol 971 MovieClip {number07_fla.mc_gunfire_69}Uses:969 970 587 588Used by:975 977 989 1000 1011 1022 1033 1044 1055 1070 1079 1088 1097 1107 1118 1131
Symbol 972 BitmapUsed by:973 974
Symbol 973 GraphicUses:972Used by:975 977
Symbol 974 GraphicUses:972Used by:975 977
Symbol 975 MovieClip {mc_character1}Uses:968 971 973 974Used by:1138
Symbol 976 GraphicUsed by:977
Symbol 977 MovieClip {mc_character2}Uses:968 971 976 973 974Used by:1138
Symbol 978 BitmapUsed by:979
Symbol 979 GraphicUses:978Used by:989
Symbol 980 MovieClip {number07_fla.healthbar_72}Uses:809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 202 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907Used by:989 1000 1011 1022 1033 1044 1055 1070 1079 1088 1097 1107 1118 1131
Symbol 981 BitmapUsed by:982
Symbol 982 GraphicUses:981Used by:989
Symbol 983 BitmapUsed by:984 987
Symbol 984 GraphicUses:983Used by:989
Symbol 985 BitmapUsed by:986 988
Symbol 986 GraphicUses:985Used by:989
Symbol 987 GraphicUses:983Used by:989
Symbol 988 GraphicUses:985Used by:989
Symbol 989 MovieClip {mc_enemy1}Uses:979 971 980 982 984 986 987 988Used by:1138
Symbol 990 BitmapUsed by:991
Symbol 991 GraphicUses:990Used by:1000
Symbol 992 BitmapUsed by:993
Symbol 993 GraphicUses:992Used by:1000
Symbol 994 BitmapUsed by:995 998
Symbol 995 GraphicUses:994Used by:1000
Symbol 996 BitmapUsed by:997 999
Symbol 997 GraphicUses:996Used by:1000
Symbol 998 GraphicUses:994Used by:1000
Symbol 999 GraphicUses:996Used by:1000
Symbol 1000 MovieClip {mc_enemy2}Uses:603 991 971 980 993 995 997 998 999Used by:1138
Symbol 1001 BitmapUsed by:1002
Symbol 1002 GraphicUses:1001Used by:1011
Symbol 1003 BitmapUsed by:1004
Symbol 1004 GraphicUses:1003Used by:1011
Symbol 1005 BitmapUsed by:1006 1009
Symbol 1006 GraphicUses:1005Used by:1011
Symbol 1007 BitmapUsed by:1008 1010
Symbol 1008 GraphicUses:1007Used by:1011
Symbol 1009 GraphicUses:1005Used by:1011
Symbol 1010 GraphicUses:1007Used by:1011
Symbol 1011 MovieClip {mc_enemy3}Uses:603 1002 971 980 1004 1006 1008 1009 1010Used by:1138
Symbol 1012 BitmapUsed by:1013
Symbol 1013 GraphicUses:1012Used by:1022
Symbol 1014 BitmapUsed by:1015
Symbol 1015 GraphicUses:1014Used by:1022
Symbol 1016 BitmapUsed by:1017 1020
Symbol 1017 GraphicUses:1016Used by:1022
Symbol 1018 BitmapUsed by:1019 1021
Symbol 1019 GraphicUses:1018Used by:1022
Symbol 1020 GraphicUses:1016Used by:1022
Symbol 1021 GraphicUses:1018Used by:1022
Symbol 1022 MovieClip {mc_enemy4}Uses:603 1013 971 980 1015 1017 1019 1020 1021Used by:1138
Symbol 1023 BitmapUsed by:1024
Symbol 1024 GraphicUses:1023Used by:1033
Symbol 1025 BitmapUsed by:1026
Symbol 1026 GraphicUses:1025Used by:1033
Symbol 1027 BitmapUsed by:1028 1031
Symbol 1028 GraphicUses:1027Used by:1033
Symbol 1029 BitmapUsed by:1030 1032
Symbol 1030 GraphicUses:1029Used by:1033
Symbol 1031 GraphicUses:1027Used by:1033
Symbol 1032 GraphicUses:1029Used by:1033
Symbol 1033 MovieClip {mc_enemy5}Uses:603 1024 971 980 1026 1028 1030 1031 1032Used by:1138
Symbol 1034 BitmapUsed by:1035
Symbol 1035 GraphicUses:1034Used by:1044
Symbol 1036 BitmapUsed by:1037
Symbol 1037 GraphicUses:1036Used by:1044
Symbol 1038 BitmapUsed by:1039 1042
Symbol 1039 GraphicUses:1038Used by:1044
Symbol 1040 BitmapUsed by:1041 1043
Symbol 1041 GraphicUses:1040Used by:1044
Symbol 1042 GraphicUses:1038Used by:1044
Symbol 1043 GraphicUses:1040Used by:1044
Symbol 1044 MovieClip {mc_enemy6}Uses:1035 971 980 1037 1039 1041 1042 1043Used by:1138
Symbol 1045 BitmapUsed by:1046
Symbol 1046 GraphicUses:1045Used by:1055
Symbol 1047 BitmapUsed by:1048
Symbol 1048 GraphicUses:1047Used by:1055
Symbol 1049 BitmapUsed by:1050 1053
Symbol 1050 GraphicUses:1049Used by:1055
Symbol 1051 BitmapUsed by:1052 1054
Symbol 1052 GraphicUses:1051Used by:1055
Symbol 1053 GraphicUses:1049Used by:1055
Symbol 1054 GraphicUses:1051Used by:1055
Symbol 1055 MovieClip {mc_enemy7}Uses:1046 971 980 1048 1050 1052 1053 1054Used by:1138
Symbol 1056 BitmapUsed by:1057
Symbol 1057 GraphicUses:1056Used by:1060
Symbol 1058 BitmapUsed by:1059
Symbol 1059 GraphicUses:1058Used by:1060
Symbol 1060 MovieClip {mc_enemy7_shuttle}Uses:1057 1059Used by:1138
Symbol 1061 BitmapUsed by:1062
Symbol 1062 GraphicUses:1061Used by:1070
Symbol 1063 GraphicUses:302Used by:1070
Symbol 1064 BitmapUsed by:1065 1068
Symbol 1065 GraphicUses:1064Used by:1070
Symbol 1066 BitmapUsed by:1067 1069
Symbol 1067 GraphicUses:1066Used by:1070
Symbol 1068 GraphicUses:1064Used by:1070
Symbol 1069 GraphicUses:1066Used by:1070
Symbol 1070 MovieClip {mc_player1}Uses:1062 971 980 1063 1065 1067 1068 1069Used by:1138
Symbol 1071 BitmapUsed by:1072
Symbol 1072 GraphicUses:1071Used by:1079
Symbol 1073 BitmapUsed by:1074 1077
Symbol 1074 GraphicUses:1073Used by:1079
Symbol 1075 BitmapUsed by:1076 1078
Symbol 1076 GraphicUses:1075Used by:1079
Symbol 1077 GraphicUses:1073Used by:1079
Symbol 1078 GraphicUses:1075Used by:1079
Symbol 1079 MovieClip {mc_player2}Uses:603 1072 971 980 310 1074 1076 1077 1078Used by:1138
Symbol 1080 BitmapUsed by:1081
Symbol 1081 GraphicUses:1080Used by:1088
Symbol 1082 BitmapUsed by:1083 1086
Symbol 1083 GraphicUses:1082Used by:1088
Symbol 1084 BitmapUsed by:1085 1087
Symbol 1085 GraphicUses:1084Used by:1088
Symbol 1086 GraphicUses:1082Used by:1088
Symbol 1087 GraphicUses:1084Used by:1088
Symbol 1088 MovieClip {mc_player3}Uses:603 1081 971 980 317 1083 1085 1086 1087Used by:1138
Symbol 1089 BitmapUsed by:1090
Symbol 1090 GraphicUses:1089Used by:1097
Symbol 1091 BitmapUsed by:1092 1095
Symbol 1092 GraphicUses:1091Used by:1097
Symbol 1093 BitmapUsed by:1094 1096
Symbol 1094 GraphicUses:1093Used by:1097
Symbol 1095 GraphicUses:1091Used by:1097
Symbol 1096 GraphicUses:1093Used by:1097
Symbol 1097 MovieClip {mc_player4}Uses:603 1090 971 980 324 1092 1094 1095 1096Used by:1138
Symbol 1098 GraphicUses:330Used by:1107
Symbol 1099 BitmapUsed by:1100
Symbol 1100 GraphicUses:1099Used by:1107
Symbol 1101 BitmapUsed by:1102 1105
Symbol 1102 GraphicUses:1101Used by:1107
Symbol 1103 BitmapUsed by:1104 1106
Symbol 1104 GraphicUses:1103Used by:1107
Symbol 1105 GraphicUses:1101Used by:1107
Symbol 1106 GraphicUses:1103Used by:1107
Symbol 1107 MovieClip {mc_player5}Uses:1098 971 980 1100 1102 1104 1105 1106Used by:1138
Symbol 1108 BitmapUsed by:1109
Symbol 1109 GraphicUses:1108Used by:1118
Symbol 1110 BitmapUsed by:1111
Symbol 1111 GraphicUses:1110Used by:1118
Symbol 1112 BitmapUsed by:1113 1116
Symbol 1113 GraphicUses:1112Used by:1118
Symbol 1114 BitmapUsed by:1115 1117
Symbol 1115 GraphicUses:1114Used by:1118
Symbol 1116 GraphicUses:1112Used by:1118
Symbol 1117 GraphicUses:1114Used by:1118
Symbol 1118 MovieClip {mc_special1}Uses:603 1109 971 980 1111 1113 1115 1116 1117Used by:1138
Symbol 1119 BitmapUsed by:1120
Symbol 1120 GraphicUses:1119Used by:1131
Symbol 1121 BitmapUsed by:1122
Symbol 1122 GraphicUses:1121Used by:1131
Symbol 1123 BitmapUsed by:1124
Symbol 1124 GraphicUses:1123Used by:1131
Symbol 1125 BitmapUsed by:1126
Symbol 1126 GraphicUses:1125Used by:1131
Symbol 1127 BitmapUsed by:1128
Symbol 1128 GraphicUses:1127Used by:1131
Symbol 1129 BitmapUsed by:1130
Symbol 1130 GraphicUses:1129Used by:1131
Symbol 1131 MovieClip {mc_special4}Uses:1120 971 980 1122 1124 1126 1128 1130Used by:1138
Symbol 1132 BitmapUsed by:1133
Symbol 1133 GraphicUses:1132Used by:1136
Symbol 1134 BitmapUsed by:1135
Symbol 1135 GraphicUses:1134Used by:1136
Symbol 1136 MovieClip {mc_special4_shuttle}Uses:1133 1135Used by:1138
Symbol 1137 GraphicUsed by:1138
Symbol 1138 MovieClip {number07_fla.unitloader_35}Uses:730 732 734 752 778 780 784 786 788 799 800 806 909 910 916 922 928 934 940 946 952 958 966 975 977 989 1000 1011 1022 1033 1044 1055 1060 1070 1079 1088 1097 1107 1118 1131 1136 702 1137Used by:Timeline
Symbol 1139 MovieClipUses:679Used by:1166
Symbol 1140 GraphicUsed by:1141
Symbol 1141 ButtonUses:1140Used by:1166
Symbol 1142 GraphicUsed by:1166
Symbol 1143 GraphicUsed by:1144 1206
Symbol 1144 MovieClipUses:1143Used by:1161 1166 1206
Symbol 1145 GraphicUsed by:1146
Symbol 1146 MovieClipUses:1145Used by:1160 1166
Symbol 1147 GraphicUsed by:1148
Symbol 1148 MovieClipUses:1147Used by:1155 1160 1161 1166
Symbol 1149 GraphicUsed by:1150
Symbol 1150 MovieClipUses:1149Used by:1155 1160 1161 1166
Symbol 1151 GraphicUsed by:1152
Symbol 1152 MovieClipUses:1151Used by:1155 1160 1161 1166
Symbol 1153 GraphicUsed by:1154
Symbol 1154 MovieClipUses:1153Used by:1155 1160 1161 1166
Symbol 1155 MovieClipUses:1148 1150 1152 1154Used by:1166
Symbol 1156 GraphicUsed by:1166
Symbol 1157 GraphicUsed by:1158 1166 1401
Symbol 1158 MovieClipUses:1157Used by:1166
Symbol 1159 GraphicUsed by:1161
Symbol 1160 MovieClipUses:1146 1148 1150 1152 1154Used by:1161
Symbol 1161 MovieClipUses:1159 1144 1160 1148 1150 1152 1154Used by:1166
Symbol 1162 GraphicUsed by:1163
Symbol 1163 MovieClipUses:1162Used by:1166
Symbol 1164 TextUses:683Used by:1165
Symbol 1165 MovieClipUses:1164Used by:1166
Symbol 1166 MovieClip {number07_fla.kong_intro_mc_88}Uses:679 1139 1141 1142 1144 1146 1155 1156 1158 1148 1150 1152 1154 1161 1163 1157 1165Used by:Timeline
Symbol 1167 GraphicUsed by:1191 1202
Symbol 1168 ButtonUses:168Used by:1191
Symbol 1169 GraphicUsed by:1191
Symbol 1170 GraphicUsed by:1191
Symbol 1171 GraphicUsed by:1191
Symbol 1172 GraphicUsed by:1191
Symbol 1173 GraphicUsed by:1191
Symbol 1174 GraphicUsed by:1191
Symbol 1175 GraphicUsed by:1191
Symbol 1176 GraphicUsed by:1191
Symbol 1177 GraphicUsed by:1191
Symbol 1178 GraphicUsed by:1191
Symbol 1179 GraphicUsed by:1191
Symbol 1180 GraphicUsed by:1191
Symbol 1181 GraphicUsed by:1191
Symbol 1182 GraphicUsed by:1191
Symbol 1183 GraphicUsed by:1191
Symbol 1184 GraphicUsed by:1191
Symbol 1185 GraphicUsed by:1191
Symbol 1186 GraphicUsed by:1191
Symbol 1187 GraphicUsed by:1191
Symbol 1188 GraphicUsed by:1191
Symbol 1189 GraphicUsed by:1191
Symbol 1190 GraphicUsed by:1191
Symbol 1191 MovieClip {number07_fla.artlogic_logo_103}Uses:1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190Used by:Timeline
Symbol 1192 GraphicUsed by:1202
Symbol 1193 GraphicUsed by:1202
Symbol 1194 GraphicUsed by:1202
Symbol 1195 GraphicUsed by:1202
Symbol 1196 GraphicUsed by:1202
Symbol 1197 GraphicUsed by:1202
Symbol 1198 GraphicUsed by:1202
Symbol 1199 GraphicUsed by:1202
Symbol 1200 GraphicUsed by:1202
Symbol 1201 GraphicUsed by:1202
Symbol 1202 MovieClipUses:1167 809 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201Used by:Timeline
Symbol 1203 BitmapUsed by:1204
Symbol 1204 GraphicUses:1203Used by:1222
Symbol 1205 GraphicUsed by:1206
Symbol 1206 ButtonUses:1205 1144 1143Used by:1222
Symbol 1207 GraphicUsed by:1209
Symbol 1208 GraphicUsed by:1209 1214 1217
Symbol 1209 ButtonUses:1207 1208Used by:1222
Symbol 1210 GraphicUsed by:1212
Symbol 1211 GraphicUsed by:1212
Symbol 1212 ButtonUses:1210 1211Used by:1222
Symbol 1213 GraphicUsed by:1214
Symbol 1214 ButtonUses:1213 1208Used by:1222
Symbol 1215 BitmapUsed by:1216
Symbol 1216 GraphicUses:1215Used by:1217
Symbol 1217 ButtonUses:1216 1208Used by:1222
Symbol 1218 GraphicUsed by:1221
Symbol 1219 GraphicUsed by:1221
Symbol 1220 GraphicUsed by:1221
Symbol 1221 MovieClip {number07_fla.mc_covermute_112}Uses:1218 1219 554 1220Used by:1222 1359 1409 1482 1513 1546 1564 1580 1634 1642
Symbol 1222 MovieClip {number07_fla.mc_mainmenupage_106}Uses:1204 1206 1209 1212 1214 1217 1221Used by:Timeline
Symbol 1223 BitmapUsed by:1224 1565
Symbol 1224 GraphicUses:1223Used by:1359 1409 1634 1642
Symbol 1225 GraphicUsed by:1239
Symbol 1226 GraphicUsed by:1230
Symbol 1227 GraphicUsed by:1230 1234 1238 1366 1370
Symbol 1228 GraphicUsed by:1230
Symbol 1229 GraphicUsed by:1230
Symbol 1230 ButtonUses:1226 1227 1228 1229Used by:1239
Symbol 1231 GraphicUsed by:1234
Symbol 1232 GraphicUsed by:1234
Symbol 1233 GraphicUsed by:1234
Symbol 1234 ButtonUses:1231 1227 1232 1233Used by:1239
Symbol 1235 GraphicUsed by:1238
Symbol 1236 GraphicUsed by:1238
Symbol 1237 GraphicUsed by:1238
Symbol 1238 ButtonUses:1235 1227 1236 1237Used by:1239
Symbol 1239 MovieClip {number07_fla.mc_select_114}Uses:1225 1230 1234 1238Used by:1359
Symbol 1240 GraphicUsed by:1359
Symbol 1241 GraphicUsed by:1245 1248 1251 1254 1259 1262 1392 1452
Symbol 1242 TextUses:551Used by:1245
Symbol 1243 GraphicUsed by:1245 1248 1251 1254 1259 1262 1392 1452
Symbol 1244 TextUses:551Used by:1245
Symbol 1245 ButtonUses:1241 1242 1243 1244Used by:1359
Symbol 1246 TextUses:551Used by:1248
Symbol 1247 TextUses:551Used by:1248
Symbol 1248 ButtonUses:1241 1246 1243 1247Used by:1359
Symbol 1249 TextUses:551Used by:1251
Symbol 1250 TextUses:551Used by:1251
Symbol 1251 ButtonUses:1241 1249 1243 1250Used by:1359
Symbol 1252 TextUses:551Used by:1254
Symbol 1253 TextUses:551Used by:1254
Symbol 1254 ButtonUses:1241 1252 1243 1253Used by:1359
Symbol 1255 TextUses:551Used by:1359
Symbol 1256 EditableTextUses:7Used by:1359
Symbol 1257 TextUses:551Used by:1259
Symbol 1258 TextUses:551Used by:1259
Symbol 1259 ButtonUses:1241 1257 1243 1258Used by:1359
Symbol 1260 TextUses:551Used by:1262
Symbol 1261 TextUses:551Used by:1262
Symbol 1262 ButtonUses:1241 1260 1243 1261Used by:1359
Symbol 1263 GraphicUsed by:1297 1302
Symbol 1264 GraphicUsed by:1297 1302
Symbol 1265 BitmapUsed by:1266
Symbol 1266 GraphicUses:1265Used by:1297
Symbol 1267 GraphicUsed by:1297 1302
Symbol 1268 TextUses:1Used by:1297
Symbol 1269 GraphicUsed by:1297 1302
Symbol 1270 GraphicUsed by:1297 1302
Symbol 1271 GraphicUsed by:1297 1302
Symbol 1272 GraphicUsed by:1297 1302
Symbol 1273 GraphicUsed by:1297 1302
Symbol 1274 GraphicUsed by:1297 1302
Symbol 1275 GraphicUsed by:1297 1302
Symbol 1276 GraphicUsed by:1297 1302
Symbol 1277 GraphicUsed by:1297 1302
Symbol 1278 GraphicUsed by:1297 1302
Symbol 1279 GraphicUsed by:1297 1302
Symbol 1280 GraphicUsed by:1297 1302
Symbol 1281 GraphicUsed by:1297 1302
Symbol 1282 GraphicUsed by:1297 1302
Symbol 1283 GraphicUsed by:1297 1302
Symbol 1284 GraphicUsed by:1297 1302
Symbol 1285 GraphicUsed by:1297 1302
Symbol 1286 GraphicUsed by:1297 1302
Symbol 1287 GraphicUsed by:1297 1302
Symbol 1288 GraphicUsed by:1297 1302
Symbol 1289 GraphicUsed by:1297 1302
Symbol 1290 GraphicUsed by:1297 1302
Symbol 1291 GraphicUsed by:1297 1302
Symbol 1292 GraphicUsed by:1297 1302
Symbol 1293 GraphicUsed by:1297 1302
Symbol 1294 GraphicUsed by:1297 1302
Symbol 1295 GraphicUsed by:1297 1302
Symbol 1296 TextUses:1Used by:1297
Symbol 1297 MovieClip {number07_fla.mc_unlock1_124}Uses:1263 1264 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296Used by:1359
Symbol 1298 BitmapUsed by:1299
Symbol 1299 GraphicUses:1298Used by:1302
Symbol 1300 TextUses:1Used by:1302
Symbol 1301 TextUses:1Used by:1302
Symbol 1302 MovieClip {number07_fla.mc_unlock3_125}Uses:1263 1264 1299 1267 1300 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1301Used by:1359
Symbol 1303 GraphicUsed by:1334
Symbol 1304 GraphicUsed by:1334
Symbol 1305 BitmapUsed by:1306
Symbol 1306 GraphicUses:1305Used by:1334
Symbol 1307 GraphicUsed by:1334 1348
Symbol 1308 TextUses:1Used by:1334
Symbol 1309 GraphicUsed by:1334 1348
Symbol 1310 GraphicUsed by:1334 1348
Symbol 1311 GraphicUsed by:1334 1348
Symbol 1312 GraphicUsed by:1334 1348
Symbol 1313 GraphicUsed by:1334 1348
Symbol 1314 GraphicUsed by:1334 1348
Symbol 1315 GraphicUsed by:1334 1348
Symbol 1316 GraphicUsed by:1334 1348
Symbol 1317 GraphicUsed by:1334 1348
Symbol 1318 GraphicUsed by:1334 1348
Symbol 1319 GraphicUsed by:1334 1348
Symbol 1320 GraphicUsed by:1334 1348
Symbol 1321 GraphicUsed by:1334 1348
Symbol 1322 GraphicUsed by:1334 1348
Symbol 1323 GraphicUsed by:1334 1348
Symbol 1324 GraphicUsed by:1334 1348
Symbol 1325 GraphicUsed by:1334
Symbol 1326 GraphicUsed by:1334
Symbol 1327 GraphicUsed by:1334 1348
Symbol 1328 TextUses:1Used by:1334
Symbol 1329 GraphicUsed by:1334
Symbol 1330 GraphicUsed by:1334
Symbol 1331 GraphicUsed by:1334
Symbol 1332 GraphicUsed by:1334
Symbol 1333 GraphicUsed by:1334
Symbol 1334 MovieClip {number07_fla.mc_unlock2_126}Uses:1303 1304 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333Used by:1359
Symbol 1335 GraphicUsed by:1348
Symbol 1336 GraphicUsed by:1348
Symbol 1337 BitmapUsed by:1338
Symbol 1338 GraphicUses:1337Used by:1348
Symbol 1339 TextUses:1Used by:1348
Symbol 1340 GraphicUsed by:1348
Symbol 1341 GraphicUsed by:1348
Symbol 1342 TextUses:1Used by:1348
Symbol 1343 GraphicUsed by:1348
Symbol 1344 GraphicUsed by:1348
Symbol 1345 GraphicUsed by:1348
Symbol 1346 GraphicUsed by:1348
Symbol 1347 GraphicUsed by:1348
Symbol 1348 MovieClip {number07_fla.mc_unlock4_127}Uses:1335 1336 1338 1307 1339 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1340 1341 1327 1342 1343 1344 1345 1346 1347Used by:1359
Symbol 1349 GraphicUsed by:1350
Symbol 1350 MovieClipUses:1349Used by:1353
Symbol 1351 EditableTextUses:13Used by:1353
Symbol 1352 EditableTextUses:7 13Used by:1353
Symbol 1353 MovieClip {number07_fla.mc_infoleft_128}Uses:1350 1351 1352Used by:1359
Symbol 1354 GraphicUsed by:1355 1402
Symbol 1355 MovieClipUses:1354Used by:1358
Symbol 1356 EditableTextUses:13Used by:1358
Symbol 1357 EditableTextUses:7 13Used by:1358
Symbol 1358 MovieClip {number07_fla.mc_inforight_130}Uses:1355 1356 1357Used by:1359
Symbol 1359 MovieClip {number07_fla.mc_levelselect_113}Uses:1224 1239 1240 1245 1248 1251 1254 1255 1256 1259 1262 1221 1297 1302 1334 1348 1353 1358Used by:Timeline
Symbol 1360 GraphicUsed by:1409
Symbol 1361 GraphicUsed by:1409
Symbol 1362 GraphicUsed by:1366
Symbol 1363 GraphicUsed by:1366
Symbol 1364 GraphicUsed by:1366
Symbol 1365 GraphicUsed by:1366
Symbol 1366 MovieClip {number07_fla.mc_upgradelevel_134}Uses:1362 1227 1363 1364 1365Used by:1372 1375 1377 1379 1381 1384 1386
Symbol 1367 GraphicUsed by:1370
Symbol 1368 GraphicUsed by:1370
Symbol 1369 GraphicUsed by:1370
Symbol 1370 ButtonUses:1367 1227 1368 1369Used by:1372 1375 1377 1379 1381 1384 1386
Symbol 1371 GraphicUsed by:1372
Symbol 1372 MovieClip {number07_fla.mc_upgrade7_133}Uses:1366 1370 1371Used by:1409
Symbol 1373 GraphicUsed by:1409
Symbol 1374 GraphicUsed by:1375
Symbol 1375 MovieClip {number07_fla.mc_upgrade1_136}Uses:1366 1370 1374Used by:1409
Symbol 1376 GraphicUsed by:1377
Symbol 1377 MovieClip {number07_fla.mc_upgrade3_137}Uses:1366 1370 1376Used by:1409
Symbol 1378 GraphicUsed by:1379
Symbol 1379 MovieClip {number07_fla.mc_upgrade4_138}Uses:1366 1370 1378Used by:1409
Symbol 1380 GraphicUsed by:1381
Symbol 1381 MovieClip {number07_fla.mc_upgrade6_139}Uses:1366 1370 1380Used by:1409
Symbol 1382 GraphicUsed by:1409
Symbol 1383 GraphicUsed by:1384
Symbol 1384 MovieClip {number07_fla.mc_upgrade2_140}Uses:1366 1370 1383Used by:1409
Symbol 1385 GraphicUsed by:1386
Symbol 1386 MovieClip {number07_fla.mc_upgrade5_141}Uses:1366 1370 1385Used by:1409
Symbol 1387 GraphicUsed by:1409 1414
Symbol 1388 EditableTextUses:13Used by:1409
Symbol 1389 TextUses:551Used by:1409
Symbol 1390 TextUses:551Used by:1392
Symbol 1391 TextUses:551Used by:1392
Symbol 1392 ButtonUses:1241 1390 1243 1391Used by:1409
Symbol 1393 BitmapUsed by:1394
Symbol 1394 GraphicUses:1393Used by:1401
Symbol 1395 GraphicUsed by:1401
Symbol 1396 GraphicUsed by:1401
Symbol 1397 GraphicUsed by:1401
Symbol 1398 GraphicUsed by:1401
Symbol 1399 GraphicUsed by:1401
Symbol 1400 TextUses:1Used by:1401
Symbol 1401 MovieClipUses:1394 1395 1396 1397 1398 1399 1157 1400 554Used by:1409 1482 1513 1546 1564
Symbol 1402 MovieClipUses:1354Used by:1405
Symbol 1403 EditableTextUses:13Used by:1405
Symbol 1404 EditableTextUses:13Used by:1405
Symbol 1405 MovieClip {number07_fla.mc_info_144}Uses:1402 1403 1404Used by:1409
Symbol 1406 GraphicUsed by:1409
Symbol 1407 GraphicUsed by:1409
Symbol 1408 GraphicUsed by:1409
Symbol 1409 MovieClip {number07_fla.mc_researchpage_132}Uses:1224 1360 1361 1372 1373 1375 1377 1379 1381 1382 1384 1386 1387 1388 1389 1392 1401 1405 1221 1406 1407 1408Used by:Timeline
Symbol 1410 BitmapUsed by:1411
Symbol 1411 GraphicUses:1410Used by:1482 1513 1546 1564
Symbol 1412 TextUses:551Used by:1482 1513
Symbol 1413 MovieClipUses:907Used by:1482 1513 1546 1564
Symbol 1414 MovieClipUses:1387Used by:1482 1513 1546 1564
Symbol 1415 TextUses:551Used by:1482 1513
Symbol 1416 TextUses:551Used by:1482 1513
Symbol 1417 TextUses:551Used by:1482 1513
Symbol 1418 TextUses:551Used by:1482 1513
Symbol 1419 TextUses:551Used by:1482 1513
Symbol 1420 TextUses:551Used by:1482 1513 1546 1564
Symbol 1421 TextUses:551Used by:1482 1513 1546 1564
Symbol 1422 TextUses:551Used by:1482 1513 1546 1564
Symbol 1423 TextUses:551Used by:1482 1513 1546 1564
Symbol 1424 BitmapUsed by:1425
Symbol 1425 GraphicUses:1424Used by:1482 1513 1546 1564
Symbol 1426 TextUses:551Used by:1482 1513 1546 1564
Symbol 1427 TextUses:551Used by:1482 1513 1546 1564
Symbol 1428 BitmapUsed by:1429 1432 1433
Symbol 1429 GraphicUses:1428Used by:1482 1513 1546 1564
Symbol 1430 TextUses:551Used by:1482 1513 1546 1564
Symbol 1431 GraphicUsed by:1482 1513 1546 1564
Symbol 1432 GraphicUses:1428Used by:1482 1513 1546 1564
Symbol 1433 GraphicUses:1428Used by:1482 1513 1546 1564
Symbol 1434 GraphicUsed by:1482 1513 1546 1564
Symbol 1435 TextUses:551Used by:1482 1513 1546 1564
Symbol 1436 TextUses:551Used by:1482 1513 1546 1564
Symbol 1437 TextUses:551Used by:1482 1513 1546 1564
Symbol 1438 TextUses:551Used by:1482 1513 1546 1564
Symbol 1439 TextUses:551Used by:1482 1513 1546 1564
Symbol 1440 TextUses:551Used by:1482 1513 1546 1564
Symbol 1441 TextUses:551Used by:1482 1513 1546 1564
Symbol 1442 TextUses:551Used by:1482 1513 1546 1564
Symbol 1443 TextUses:551Used by:1482 1513 1546 1564
Symbol 1444 TextUses:551Used by:1482 1513
Symbol 1445 TextUses:551Used by:1482 1513
Symbol 1446 TextUses:551Used by:1482 1513 1546 1564
Symbol 1447 TextUses:551Used by:1482 1513 1546 1564
Symbol 1448 GraphicUsed by:1482
Symbol 1449 GraphicUsed by:1482
Symbol 1450 TextUses:551Used by:1452
Symbol 1451 TextUses:551Used by:1452
Symbol 1452 ButtonUses:1241 1450 1243 1451Used by:1482 1513 1546 1564 1580 1634 1642
Symbol 1453 GraphicUsed by:1482 1513 1546 1564
Symbol 1454 TextUses:7Used by:1482 1513
Symbol 1455 TextUses:7Used by:1482 1513
Symbol 1456 EditableTextUses:7Used by:1482
Symbol 1457 EditableTextUses:13Used by:1482
Symbol 1458 TextUses:7Used by:1482 1513
Symbol 1459 TextUses:7Used by:1482 1513
Symbol 1460 TextUses:7Used by:1482 1513
Symbol 1461 EditableTextUses:13Used by:1482
Symbol 1462 TextUses:7Used by:1482 1513
Symbol 1463 EditableTextUses:13Used by:1482
Symbol 1464 EditableTextUses:13Used by:1482
Symbol 1465 EditableTextUses:13Used by:1482
Symbol 1466 EditableTextUses:13Used by:1482
Symbol 1467 EditableTextUses:13Used by:1482
Symbol 1468 EditableTextUses:13Used by:1482
Symbol 1469 EditableTextUses:13Used by:1482
Symbol 1470 EditableTextUses:13Used by:1482
Symbol 1471 EditableTextUses:13Used by:1482
Symbol 1472 EditableTextUses:13Used by:1482
Symbol 1473 TextUses:7Used by:1482
Symbol 1474 GraphicUsed by:1479
Symbol 1475 GraphicUsed by:1479
Symbol 1476 ShapeTweeningUsed by:1479
Symbol 1477 ShapeTweeningUsed by:1479
Symbol 1478 GraphicUsed by:1479
Symbol 1479 MovieClip {number07_fla.mc_autosave_150}Uses:1474 1475 1476 1477 1478Used by:1482 1513 1546 1564
Symbol 1480 TextUses:7Used by:1482
Symbol 1481 EditableTextUses:13Used by:1482
Symbol 1482 MovieClip {number07_fla.mc_winpage_146}Uses:1411 1412 1413 1401 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1425 1426 1427 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1479 1221 1480 1481Used by:Timeline
Symbol 1483 TextUses:551Used by:1513
Symbol 1484 TextUses:551Used by:1513
Symbol 1485 TextUses:551Used by:1513
Symbol 1486 TextUses:551Used by:1513
Symbol 1487 TextUses:551Used by:1513
Symbol 1488 TextUses:551Used by:1513
Symbol 1489 TextUses:551Used by:1513
Symbol 1490 TextUses:551Used by:1513
Symbol 1491 GraphicUsed by:1513
Symbol 1492 GraphicUsed by:1513
Symbol 1493 EditableTextUses:7Used by:1513
Symbol 1494 EditableTextUses:13Used by:1513
Symbol 1495 EditableTextUses:13Used by:1513
Symbol 1496 EditableTextUses:13Used by:1513
Symbol 1497 EditableTextUses:13Used by:1513
Symbol 1498 EditableTextUses:13Used by:1513
Symbol 1499 EditableTextUses:13Used by:1513
Symbol 1500 EditableTextUses:13Used by:1513
Symbol 1501 EditableTextUses:13Used by:1513
Symbol 1502 EditableTextUses:13Used by:1513
Symbol 1503 EditableTextUses:13Used by:1513
Symbol 1504 EditableTextUses:13Used by:1513
Symbol 1505 EditableTextUses:13Used by:1513
Symbol 1506 TextUses:7Used by:1513
Symbol 1507 TextUses:7Used by:1513
Symbol 1508 EditableTextUses:13Used by:1513
Symbol 1509 TextUses:7Used by:1513
Symbol 1510 EditableTextUses:13Used by:1513
Symbol 1511 TextUses:7Used by:1513
Symbol 1512 EditableTextUses:13Used by:1513
Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151}Uses:1411 1412 1413 1401 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1425 1426 1427 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1483 1484 1485 1486 1487 1488 1443 1444 1445 1446 1447 1489 1490 1491 1492 1452 1453 1454 1455 1493 1494 1458 1459 1460 1495 1462 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1479 1221 1507 1508 1509 1510 1511 1512Used by:Timeline
Symbol 1514 TextUses:551Used by:1546 1564
Symbol 1515 TextUses:551Used by:1546 1564
Symbol 1516 TextUses:551Used by:1546 1564
Symbol 1517 TextUses:551Used by:1546 1564
Symbol 1518 TextUses:551Used by:1546 1564
Symbol 1519 TextUses:551Used by:1546 1564
Symbol 1520 TextUses:551Used by:1546 1564
Symbol 1521 TextUses:551Used by:1546 1564
Symbol 1522 GraphicUsed by:1546
Symbol 1523 GraphicUsed by:1546
Symbol 1524 TextUses:7Used by:1546 1564
Symbol 1525 TextUses:7Used by:1546 1564
Symbol 1526 EditableTextUses:7Used by:1546
Symbol 1527 EditableTextUses:13Used by:1546
Symbol 1528 TextUses:7Used by:1546 1564
Symbol 1529 TextUses:7Used by:1546 1564
Symbol 1530 TextUses:7Used by:1546 1564
Symbol 1531 EditableTextUses:13Used by:1546
Symbol 1532 TextUses:7Used by:1546 1564
Symbol 1533 EditableTextUses:13Used by:1546
Symbol 1534 EditableTextUses:13Used by:1546
Symbol 1535 EditableTextUses:13Used by:1546
Symbol 1536 EditableTextUses:13Used by:1546
Symbol 1537 EditableTextUses:13Used by:1546
Symbol 1538 EditableTextUses:13Used by:1546
Symbol 1539 EditableTextUses:13Used by:1546
Symbol 1540 EditableTextUses:13Used by:1546
Symbol 1541 EditableTextUses:13Used by:1546
Symbol 1542 EditableTextUses:13Used by:1546
Symbol 1543 TextUses:7Used by:1546
Symbol 1544 TextUses:7Used by:1546 1564
Symbol 1545 EditableTextUses:13Used by:1546
Symbol 1546 MovieClip {number07_fla.mc_lostpage_152}Uses:1411 1514 1413 1401 1414 1515 1516 1517 1518 1519 1420 1421 1422 1423 1425 1426 1427 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1446 1447 1520 1521 1522 1523 1452 1453 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1479 1221 1544 1545Used by:Timeline
Symbol 1547 GraphicUsed by:1564
Symbol 1548 GraphicUsed by:1564
Symbol 1549 EditableTextUses:7Used by:1564
Symbol 1550 EditableTextUses:13Used by:1564
Symbol 1551 EditableTextUses:13Used by:1564
Symbol 1552 EditableTextUses:13Used by:1564
Symbol 1553 EditableTextUses:13Used by:1564
Symbol 1554 EditableTextUses:13Used by:1564
Symbol 1555 EditableTextUses:13Used by:1564
Symbol 1556 EditableTextUses:13Used by:1564
Symbol 1557 EditableTextUses:13Used by:1564
Symbol 1558 EditableTextUses:13Used by:1564
Symbol 1559 EditableTextUses:13Used by:1564
Symbol 1560 EditableTextUses:13Used by:1564
Symbol 1561 EditableTextUses:13Used by:1564
Symbol 1562 TextUses:7Used by:1564
Symbol 1563 EditableTextUses:13Used by:1564
Symbol 1564 MovieClip {number07_fla.mc_abortpage_153}Uses:1411 1514 1413 1401 1414 1515 1516 1517 1518 1519 1420 1421 1422 1423 1425 1426 1427 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1446 1447 1520 1521 1547 1548 1452 1453 1524 1525 1549 1550 1528 1529 1530 1551 1532 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1479 1221 1544 1563Used by:Timeline
Symbol 1565 GraphicUses:1223Used by:1580
Symbol 1566 ShapeTweeningUsed by:1580
Symbol 1567 GraphicUsed by:1580
Symbol 1568 ShapeTweeningUsed by:1580
Symbol 1569 GraphicUsed by:1580
Symbol 1570 GraphicUsed by:1580
Symbol 1571 TextUses:7Used by:1580
Symbol 1572 TextUses:7Used by:1580
Symbol 1573 EditableTextUses:7Used by:1580
Symbol 1574 TextUses:551Used by:1580
Symbol 1575 GraphicUsed by:1580
Symbol 1576 ShapeTweeningUsed by:1580
Symbol 1577 ShapeTweeningUsed by:1580
Symbol 1578 GraphicUsed by:1580
Symbol 1579 GraphicUsed by:1580
Symbol 1580 MovieClip {number07_fla.mc_statisticspage_154}Uses:1565 1566 1567 1568 1452 1569 1570 1571 1572 1573 1574 1221 1575 1576 1577 1578 1579Used by:Timeline
Symbol 1581 GraphicUsed by:1634
Symbol 1582 GraphicUsed by:1634
Symbol 1583 GraphicUsed by:1634
Symbol 1584 GraphicUsed by:1634
Symbol 1585 GraphicUsed by:1634
Symbol 1586 TextUses:551Used by:1634
Symbol 1587 GraphicUsed by:1592
Symbol 1588 TextUses:551Used by:1592 1632
Symbol 1589 GraphicUsed by:1592
Symbol 1590 TextUses:551Used by:1592
Symbol 1591 GraphicUsed by:1592
Symbol 1592 ButtonUses:1587 1588 1589 1590 1591Used by:1632
Symbol 1593 GraphicUsed by:1598
Symbol 1594 TextUses:551Used by:1598 1632
Symbol 1595 GraphicUsed by:1598
Symbol 1596 TextUses:551Used by:1598
Symbol 1597 GraphicUsed by:1598
Symbol 1598 ButtonUses:1593 1594 1595 1596 1597Used by:1632
Symbol 1599 GraphicUsed by:1604
Symbol 1600 TextUses:551Used by:1604 1632
Symbol 1601 GraphicUsed by:1604
Symbol 1602 TextUses:551Used by:1604
Symbol 1603 GraphicUsed by:1604
Symbol 1604 ButtonUses:1599 1600 1601 1602 1603Used by:1632
Symbol 1605 GraphicUsed by:1610
Symbol 1606 TextUses:551Used by:1610 1632
Symbol 1607 GraphicUsed by:1610
Symbol 1608 TextUses:551Used by:1610
Symbol 1609 GraphicUsed by:1610
Symbol 1610 ButtonUses:1605 1606 1607 1608 1609Used by:1632
Symbol 1611 GraphicUsed by:1632
Symbol 1612 TextUses:13Used by:1632
Symbol 1613 BitmapUsed by:1615
Symbol 1614 BitmapUsed by:1615
Symbol 1615 GraphicUses:1613 1614Used by:1632
Symbol 1616 GraphicUsed by:1632
Symbol 1617 TextUses:13Used by:1632
Symbol 1618 BitmapUsed by:1620
Symbol 1619 BitmapUsed by:1620
Symbol 1620 GraphicUses:1618 1619Used by:1632
Symbol 1621 GraphicUsed by:1632
Symbol 1622 TextUses:13Used by:1632
Symbol 1623 BitmapUsed by:1625
Symbol 1624 BitmapUsed by:1625
Symbol 1625 GraphicUses:1623 1624Used by:1632
Symbol 1626 GraphicUsed by:1632
Symbol 1627 TextUses:13Used by:1632
Symbol 1628 TextUses:13Used by:1632
Symbol 1629 TextUses:13Used by:1632
Symbol 1630 TextUses:13Used by:1632
Symbol 1631 TextUses:13Used by:1632
Symbol 1632 MovieClip {number07_fla.mc_instructions_contents_156}Uses:1592 1598 1604 1610 1611 1588 1612 1615 1616 1594 1617 1620 1621 1600 1622 1625 1626 1606 1627 1628 1629 1630 1631Used by:1634
Symbol 1633 GraphicUsed by:1634
Symbol 1634 MovieClip {number07_fla.mc_instructionspage_155}Uses:1224 1581 1582 1583 1584 1585 1452 1586 1632 1221 1633Used by:Timeline
Symbol 1635 ShapeTweeningUsed by:1642
Symbol 1636 GraphicUsed by:1642
Symbol 1637 TextUses:7Used by:1642
Symbol 1638 TextUses:551Used by:1642
Symbol 1639 TextUses:551 7Used by:1642
Symbol 1640 ShapeTweeningUsed by:1642
Symbol 1641 GraphicUsed by:1642
Symbol 1642 MovieClip {number07_fla.mc_creditspage_161}Uses:1224 1635 1636 1452 1637 1638 1639 1221 1640 1641Used by:Timeline

Instance Names

"kongintro"Frame 23Symbol 1166 MovieClip {number07_fla.kong_intro_mc_88}
"artintro"Frame 30Symbol 1191 MovieClip {number07_fla.artlogic_logo_103}
"presentsintro"Frame 35Symbol 1202 MovieClip
"txt"Symbol 9 MovieClip {number07_fla.mc_goldbar_170} Frame 1Symbol 8 EditableText
"txt"Symbol 116 MovieClip {number07_fla.mc_computerbasehealthbar_171} Frame 1Symbol 14 EditableText
"txt"Symbol 219 MovieClip {number07_fla.mc_playerbasehealthbar_172} Frame 1Symbol 119 EditableText
"blinker"Symbol 299 MovieClip {number07_fla.bt_special4_175} Frame 1Symbol 290 MovieClip {number07_fla.specialbtnsplash_174}
"btactive"Symbol 299 MovieClip {number07_fla.bt_special4_175} Frame 1Symbol 297 Button
"btactive"Symbol 307 MovieClip {number07_fla.bt_createunit1_177} Frame 1Symbol 306 Button
"btactive"Symbol 314 MovieClip {number07_fla.bt_createunit2_179} Frame 1Symbol 313 Button
"btactive"Symbol 321 MovieClip {number07_fla.bt_createunit3_181} Frame 1Symbol 320 Button
"btactive"Symbol 328 MovieClip {number07_fla.bt_createunit4_183} Frame 1Symbol 327 Button
"btactive"Symbol 335 MovieClip {number07_fla.bt_createunit5_185} Frame 1Symbol 334 Button
"btactive"Symbol 342 MovieClip {number07_fla.bt_special1_187} Frame 1Symbol 341 Button
"blinker"Symbol 348 MovieClip {number07_fla.bt_special2_189} Frame 1Symbol 290 MovieClip {number07_fla.specialbtnsplash_174}
"btactive"Symbol 348 MovieClip {number07_fla.bt_special2_189} Frame 1Symbol 347 Button
"blinker"Symbol 354 MovieClip {number07_fla.bt_special3_191} Frame 1Symbol 290 MovieClip {number07_fla.specialbtnsplash_174}
"btactive"Symbol 354 MovieClip {number07_fla.bt_special3_191} Frame 1Symbol 353 Button
"btactive"Symbol 360 MovieClip {number07_fla.bt_createtower1_193} Frame 1Symbol 359 Button
"btactive"Symbol 366 MovieClip {number07_fla.bt_createtower2_195} Frame 1Symbol 365 Button
"btactive"Symbol 372 MovieClip {number07_fla.bt_createtower3_197} Frame 1Symbol 371 Button
"btactive"Symbol 395 MovieClip {number07_fla.bt_upgrade1_202} Frame 1Symbol 394 Button
"btactive"Symbol 401 MovieClip {number07_fla.bt_upgrade2_205} Frame 1Symbol 400 Button
"repairlighter"Symbol 410 MovieClip {number07_fla.bt_upgrade3_207} Frame 1Symbol 409 MovieClip {number07_fla.lighter_209}
"btactive"Symbol 410 MovieClip {number07_fla.bt_upgrade3_207} Frame 1Symbol 406 Button
"btactive"Symbol 416 MovieClip {number07_fla.bt_upgrade4_210} Frame 1Symbol 415 Button
"btactive"Symbol 422 MovieClip {number07_fla.bt_upgrade5_212} Frame 1Symbol 421 Button
"btautomatic"Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217} Frame 1Symbol 449 Button
"btsemiautomatic"Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217} Frame 1Symbol 455 Button
"btmanual"Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217} Frame 1Symbol 461 Button
"btmanual"Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217} Frame 4Symbol 461 Button
"btsemiautomatic"Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217} Frame 5Symbol 455 Button
"btautomatic"Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217} Frame 6Symbol 449 Button
"mctowercreate"Symbol 477 MovieClip {number07_fla.mc_towercreatepanel_222} Frame 1Symbol 472 MovieClip {mc_towercreate}
"btcreatestart"Symbol 477 MovieClip {number07_fla.mc_towercreatepanel_222} Frame 1Symbol 474 Button
"btcreatecancel"Symbol 477 MovieClip {number07_fla.mc_towercreatepanel_222} Frame 1Symbol 476 Button
"btminimap"Symbol 493 MovieClip {number07_fla.mc_minimap_225} Frame 1Symbol 481 Button
"txt1"Symbol 498 MovieClip {number07_fla.mc_info_227} Frame 7Symbol 496 EditableText
"txt2"Symbol 498 MovieClip {number07_fla.mc_info_227} Frame 7Symbol 497 EditableText
"notetxt1"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 2 EditableText
"notetxt2"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 3 EditableText
"notetxt3"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 4 EditableText
"notetxt4"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 5 EditableText
"mcgoldbar"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 9 MovieClip {number07_fla.mc_goldbar_170}
"mccomputerbasehealthbar"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 116 MovieClip {number07_fla.mc_computerbasehealthbar_171}
"mcplayerbasehealthbar"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 219 MovieClip {number07_fla.mc_playerbasehealthbar_172}
"scrollup"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 265 MovieClip {number07_fla.stageScroll_173}
"scrolldown"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 265 MovieClip {number07_fla.stageScroll_173}
"blinker1"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 290 MovieClip {number07_fla.specialbtnsplash_174}
"blinker4"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 290 MovieClip {number07_fla.specialbtnsplash_174}
"blinker2"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 290 MovieClip {number07_fla.specialbtnsplash_174}
"blinker3"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 290 MovieClip {number07_fla.specialbtnsplash_174}
"btspecial4"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 299 MovieClip {number07_fla.bt_special4_175}
"btcreateunit1"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 307 MovieClip {number07_fla.bt_createunit1_177}
"btcreateunit2"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 314 MovieClip {number07_fla.bt_createunit2_179}
"btcreateunit3"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 321 MovieClip {number07_fla.bt_createunit3_181}
"btcreateunit4"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 328 MovieClip {number07_fla.bt_createunit4_183}
"btcreateunit5"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 335 MovieClip {number07_fla.bt_createunit5_185}
"btspecial1"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 342 MovieClip {number07_fla.bt_special1_187}
"btspecial2"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 348 MovieClip {number07_fla.bt_special2_189}
"btspecial3"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 354 MovieClip {number07_fla.bt_special3_191}
"btcreatetower1"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 360 MovieClip {number07_fla.bt_createtower1_193}
"btcreatetower2"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 366 MovieClip {number07_fla.bt_createtower2_195}
"btcreatetower3"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 372 MovieClip {number07_fla.bt_createtower3_197}
"btoptions"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 378 Button
"btmoregames"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 382 Button
"btquit"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 386 Button
"btupgrade1"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 395 MovieClip {number07_fla.bt_upgrade1_202}
"btupgrade3"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 401 MovieClip {number07_fla.bt_upgrade2_205}
"btupgrade5"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 410 MovieClip {number07_fla.bt_upgrade3_207}
"btupgrade4"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 416 MovieClip {number07_fla.bt_upgrade4_210}
"btupgrade2"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 422 MovieClip {number07_fla.bt_upgrade5_212}
"mcunitprogress"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 434 MovieClip
"unitsqueuer1"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215}
"unitsqueuer3"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215}
"unitsqueuer5"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215}
"unitsqueuer2"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215}
"unitsqueuer4"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215}
"selectfiremode"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217}
"towercreatepanel"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 477 MovieClip {number07_fla.mc_towercreatepanel_222}
"minimap"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 493 MovieClip {number07_fla.mc_minimap_225}
"mcinfo"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 498 MovieClip {number07_fla.mc_info_227}
"panelnote"Symbol 500 MovieClip {StagePanel} Frame 1Symbol 499 EditableText
"txt4"Symbol 557 MovieClip {mc_optionpanel} Frame 7Symbol 545 EditableText
"txt2"Symbol 557 MovieClip {mc_optionpanel} Frame 7Symbol 546 EditableText
"txt3"Symbol 557 MovieClip {mc_optionpanel} Frame 7Symbol 547 EditableText
"txt1"Symbol 557 MovieClip {mc_optionpanel} Frame 7Symbol 548 EditableText
"txt5"Symbol 557 MovieClip {mc_optionpanel} Frame 7Symbol 549 EditableText
"btmore"Symbol 557 MovieClip {mc_optionpanel} Frame 8Symbol 554 Button
"btsfx"Symbol 557 MovieClip {mc_optionpanel} Frame 8Symbol 554 Button
"btbgm"Symbol 557 MovieClip {mc_optionpanel} Frame 8Symbol 554 Button
"btabort"Symbol 557 MovieClip {mc_optionpanel} Frame 8Symbol 554 Button
"btresume"Symbol 557 MovieClip {mc_optionpanel} Frame 8Symbol 554 Button
"off_btn"Symbol 582 MovieClip {number07_fla.btn_lockthiszoom_22} Frame 1Symbol 576 Button
"on_btn"Symbol 582 MovieClip {number07_fla.btn_lockthiszoom_22} Frame 2Symbol 581 Button
"mcgunfire"Symbol 592 MovieClip {number07_fla.mc_gun_26} Frame 1Symbol 589 MovieClip {number07_fla.mc_gunfire_27}
"gun1"Symbol 596 MovieClip {playerbase_mc} Frame 1Symbol 592 MovieClip {number07_fla.mc_gun_26}
"gun2"Symbol 596 MovieClip {playerbase_mc} Frame 1Symbol 592 MovieClip {number07_fla.mc_gun_26}
"mcrepair"Symbol 596 MovieClip {playerbase_mc} Frame 1Symbol 595 MovieClip {number07_fla.mc_repair_28}
"gun2"Symbol 604 MovieClip {computerbase_mc} Frame 1Symbol 592 MovieClip {number07_fla.mc_gun_26}
"gun1"Symbol 604 MovieClip {computerbase_mc} Frame 1Symbol 592 MovieClip {number07_fla.mc_gun_26}
"gun3"Symbol 604 MovieClip {computerbase_mc} Frame 1Symbol 592 MovieClip {number07_fla.mc_gun_26}
"mcrepair"Symbol 604 MovieClip {computerbase_mc} Frame 1Symbol 595 MovieClip {number07_fla.mc_repair_28}
"btzoomlock"Symbol 605 MovieClip {SceneContainer} Frame 1Symbol 582 MovieClip {number07_fla.btn_lockthiszoom_22}
"playerbase"Symbol 605 MovieClip {SceneContainer} Frame 1Symbol 596 MovieClip {playerbase_mc}
"computerbase"Symbol 605 MovieClip {SceneContainer} Frame 1Symbol 604 MovieClip {computerbase_mc}
"btn_sponsor"Symbol 700 MovieClip {number07_fla.mc_preloaderpage_1} Frame 1Symbol 653 Button
"btn_alg"Symbol 700 MovieClip {number07_fla.mc_preloaderpage_1} Frame 1Symbol 655 Button
"animtxt"Symbol 700 MovieClip {number07_fla.mc_preloaderpage_1} Frame 1Symbol 657 MovieClip
"loaderbar"Symbol 700 MovieClip {number07_fla.mc_preloaderpage_1} Frame 1Symbol 670 MovieClip
"bltxt"Symbol 700 MovieClip {number07_fla.mc_preloaderpage_1} Frame 1Symbol 672 EditableText
"bttxt"Symbol 700 MovieClip {number07_fla.mc_preloaderpage_1} Frame 1Symbol 674 EditableText
"ptxt"Symbol 700 MovieClip {number07_fla.mc_preloaderpage_1} Frame 1Symbol 675 EditableText
"btstart"Symbol 700 MovieClip {number07_fla.mc_preloaderpage_1} Frame 1Symbol 678 Button
"btn_ads"Symbol 700 MovieClip {number07_fla.mc_preloaderpage_1} Frame 1Symbol 699 MovieClip
"healthbar"Symbol 909 MovieClip {mc_emptower} Frame 1Symbol 908 MovieClip {number07_fla.healthbar_49}
"mcgunfire"Symbol 915 MovieClip {number07_fla.mc_guntowergun_52} Frame 1Symbol 910 MovieClip {number07_fla.mc_gunfire_50}
"gun"Symbol 916 MovieClip {mc_guntower} Frame 1Symbol 915 MovieClip {number07_fla.mc_guntowergun_52}
"healthbar"Symbol 916 MovieClip {mc_guntower} Frame 1Symbol 908 MovieClip {number07_fla.healthbar_49}
"mcgunfire"Symbol 921 MovieClip {number07_fla.mc_guntowergunenemy_54} Frame 1Symbol 910 MovieClip {number07_fla.mc_gunfire_50}
"gun"Symbol 922 MovieClip {mc_guntowerenemy} Frame 1Symbol 921 MovieClip {number07_fla.mc_guntowergunenemy_54}
"healthbar"Symbol 922 MovieClip {mc_guntowerenemy} Frame 1Symbol 908 MovieClip {number07_fla.healthbar_49}
"gun"Symbol 928 MovieClip {mc_missiletower} Frame 1Symbol 927 MovieClip
"healthbar"Symbol 928 MovieClip {mc_missiletower} Frame 1Symbol 908 MovieClip {number07_fla.healthbar_49}
"gun"Symbol 934 MovieClip {mc_missiletowerenemy} Frame 1Symbol 933 MovieClip
"healthbar"Symbol 934 MovieClip {mc_missiletowerenemy} Frame 1Symbol 908 MovieClip {number07_fla.healthbar_49}
"gun"Symbol 940 MovieClip {mc_plasmatower} Frame 1Symbol 939 MovieClip
"healthbar"Symbol 940 MovieClip {mc_plasmatower} Frame 1Symbol 908 MovieClip {number07_fla.healthbar_49}
"gun"Symbol 946 MovieClip {mc_plasmatowerenemy} Frame 1Symbol 945 MovieClip
"healthbar"Symbol 946 MovieClip {mc_plasmatowerenemy} Frame 1Symbol 908 MovieClip {number07_fla.healthbar_49}
"gun"Symbol 952 MovieClip {mc_thundertower} Frame 1Symbol 951 MovieClip
"healthbar"Symbol 952 MovieClip {mc_thundertower} Frame 1Symbol 908 MovieClip {number07_fla.healthbar_49}
"gun"Symbol 958 MovieClip {mc_thundertowerenemy} Frame 1Symbol 957 MovieClip
"healthbar"Symbol 958 MovieClip {mc_thundertowerenemy} Frame 1Symbol 908 MovieClip {number07_fla.healthbar_49}
"gunfire1"Symbol 975 MovieClip {mc_character1} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire2"Symbol 975 MovieClip {mc_character1} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire1"Symbol 977 MovieClip {mc_character2} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire2"Symbol 977 MovieClip {mc_character2} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire1"Symbol 989 MovieClip {mc_enemy1} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire2"Symbol 989 MovieClip {mc_enemy1} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 989 MovieClip {mc_enemy1} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire1"Symbol 1000 MovieClip {mc_enemy2} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire2"Symbol 1000 MovieClip {mc_enemy2} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1000 MovieClip {mc_enemy2} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire2"Symbol 1011 MovieClip {mc_enemy3} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire1"Symbol 1011 MovieClip {mc_enemy3} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire3"Symbol 1011 MovieClip {mc_enemy3} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1011 MovieClip {mc_enemy3} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire1"Symbol 1022 MovieClip {mc_enemy4} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire2"Symbol 1022 MovieClip {mc_enemy4} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire4"Symbol 1022 MovieClip {mc_enemy4} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire3"Symbol 1022 MovieClip {mc_enemy4} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1022 MovieClip {mc_enemy4} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire3"Symbol 1033 MovieClip {mc_enemy5} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire2"Symbol 1033 MovieClip {mc_enemy5} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire4"Symbol 1033 MovieClip {mc_enemy5} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire1"Symbol 1033 MovieClip {mc_enemy5} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1033 MovieClip {mc_enemy5} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire2"Symbol 1044 MovieClip {mc_enemy6} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire5"Symbol 1044 MovieClip {mc_enemy6} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire3"Symbol 1044 MovieClip {mc_enemy6} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire4"Symbol 1044 MovieClip {mc_enemy6} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire1"Symbol 1044 MovieClip {mc_enemy6} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1044 MovieClip {mc_enemy6} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire2"Symbol 1055 MovieClip {mc_enemy7} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire5"Symbol 1055 MovieClip {mc_enemy7} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire3"Symbol 1055 MovieClip {mc_enemy7} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire4"Symbol 1055 MovieClip {mc_enemy7} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire1"Symbol 1055 MovieClip {mc_enemy7} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1055 MovieClip {mc_enemy7} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire1"Symbol 1070 MovieClip {mc_player1} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire2"Symbol 1070 MovieClip {mc_player1} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1070 MovieClip {mc_player1} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire2"Symbol 1079 MovieClip {mc_player2} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire4"Symbol 1079 MovieClip {mc_player2} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire1"Symbol 1079 MovieClip {mc_player2} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire3"Symbol 1079 MovieClip {mc_player2} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1079 MovieClip {mc_player2} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire3"Symbol 1088 MovieClip {mc_player3} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire2"Symbol 1088 MovieClip {mc_player3} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire1"Symbol 1088 MovieClip {mc_player3} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1088 MovieClip {mc_player3} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire4"Symbol 1097 MovieClip {mc_player4} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire3"Symbol 1097 MovieClip {mc_player4} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire2"Symbol 1097 MovieClip {mc_player4} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire1"Symbol 1097 MovieClip {mc_player4} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1097 MovieClip {mc_player4} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire2"Symbol 1107 MovieClip {mc_player5} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire1"Symbol 1107 MovieClip {mc_player5} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1107 MovieClip {mc_player5} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire1"Symbol 1118 MovieClip {mc_special1} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire2"Symbol 1118 MovieClip {mc_special1} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1118 MovieClip {mc_special1} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"gunfire1"Symbol 1131 MovieClip {mc_special4} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire3"Symbol 1131 MovieClip {mc_special4} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"gunfire2"Symbol 1131 MovieClip {mc_special4} Frame 1Symbol 971 MovieClip {number07_fla.mc_gunfire_69}
"healthbar"Symbol 1131 MovieClip {mc_special4} Frame 1Symbol 980 MovieClip {number07_fla.healthbar_72}
"btn_sponsor"Symbol 1166 MovieClip {number07_fla.kong_intro_mc_88} Frame 1Symbol 1141 Button
"btn_sponsor"Symbol 1191 MovieClip {number07_fla.artlogic_logo_103} Frame 1Symbol 1168 Button
"bt_kongcover"Symbol 1222 MovieClip {number07_fla.mc_mainmenupage_106} Frame 1Symbol 1206 Button
"btnewgame"Symbol 1222 MovieClip {number07_fla.mc_mainmenupage_106} Frame 1Symbol 1209 Button
"btplaymore"Symbol 1222 MovieClip {number07_fla.mc_mainmenupage_106} Frame 1Symbol 1212 Button
"btcredits"Symbol 1222 MovieClip {number07_fla.mc_mainmenupage_106} Frame 1Symbol 1214 Button
"btcontinue"Symbol 1222 MovieClip {number07_fla.mc_mainmenupage_106} Frame 1Symbol 1217 Button
"selectbtn3"Symbol 1239 MovieClip {number07_fla.mc_select_114} Frame 1Symbol 1230 Button
"selectbtn2"Symbol 1239 MovieClip {number07_fla.mc_select_114} Frame 1Symbol 1234 Button
"selectbtn1"Symbol 1239 MovieClip {number07_fla.mc_select_114} Frame 1Symbol 1238 Button
"txt2"Symbol 1353 MovieClip {number07_fla.mc_infoleft_128} Frame 7Symbol 1351 EditableText
"txt1"Symbol 1353 MovieClip {number07_fla.mc_infoleft_128} Frame 7Symbol 1352 EditableText
"txt2"Symbol 1358 MovieClip {number07_fla.mc_inforight_130} Frame 7Symbol 1356 EditableText
"txt1"Symbol 1358 MovieClip {number07_fla.mc_inforight_130} Frame 7Symbol 1357 EditableText
"mc_select1"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"mc_select3"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"mc_select6"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"mc_select8"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"mc_select11"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"mc_select4"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"mc_select9"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"mc_select7"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"mc_select2"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"mc_select5"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"mc_select12"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"mc_select10"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1239 MovieClip {number07_fla.mc_select_114}
"btinstructions"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1245 Button
"btresearch"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1248 Button
"btplaylevel"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1251 Button
"btbacktomenu"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1254 Button
"leveltxt"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1256 EditableText
"btstatistics"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1259 Button
"btplaymore"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1262 Button
"special1"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1297 MovieClip {number07_fla.mc_unlock1_124}
"special3"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1302 MovieClip {number07_fla.mc_unlock3_125}
"special2"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1334 MovieClip {number07_fla.mc_unlock2_126}
"special4"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1348 MovieClip {number07_fla.mc_unlock4_127}
"mcinfoleft"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1353 MovieClip {number07_fla.mc_infoleft_128}
"mcinforight"Symbol 1359 MovieClip {number07_fla.mc_levelselect_113} Frame 1Symbol 1358 MovieClip {number07_fla.mc_inforight_130}
"upgradelevel"Symbol 1372 MovieClip {number07_fla.mc_upgrade7_133} Frame 1Symbol 1366 MovieClip {number07_fla.mc_upgradelevel_134}
"upgradebtn2"Symbol 1372 MovieClip {number07_fla.mc_upgrade7_133} Frame 1Symbol 1370 Button
"upgradebtn1"Symbol 1372 MovieClip {number07_fla.mc_upgrade7_133} Frame 1Symbol 1370 Button
"upgradelevel"Symbol 1375 MovieClip {number07_fla.mc_upgrade1_136} Frame 1Symbol 1366 MovieClip {number07_fla.mc_upgradelevel_134}
"upgradebtn2"Symbol 1375 MovieClip {number07_fla.mc_upgrade1_136} Frame 1Symbol 1370 Button
"upgradebtn1"Symbol 1375 MovieClip {number07_fla.mc_upgrade1_136} Frame 1Symbol 1370 Button
"upgradelevel"Symbol 1377 MovieClip {number07_fla.mc_upgrade3_137} Frame 1Symbol 1366 MovieClip {number07_fla.mc_upgradelevel_134}
"upgradebtn2"Symbol 1377 MovieClip {number07_fla.mc_upgrade3_137} Frame 1Symbol 1370 Button
"upgradebtn1"Symbol 1377 MovieClip {number07_fla.mc_upgrade3_137} Frame 1Symbol 1370 Button
"upgradelevel"Symbol 1379 MovieClip {number07_fla.mc_upgrade4_138} Frame 1Symbol 1366 MovieClip {number07_fla.mc_upgradelevel_134}
"upgradebtn2"Symbol 1379 MovieClip {number07_fla.mc_upgrade4_138} Frame 1Symbol 1370 Button
"upgradebtn1"Symbol 1379 MovieClip {number07_fla.mc_upgrade4_138} Frame 1Symbol 1370 Button
"upgradelevel"Symbol 1381 MovieClip {number07_fla.mc_upgrade6_139} Frame 1Symbol 1366 MovieClip {number07_fla.mc_upgradelevel_134}
"upgradebtn2"Symbol 1381 MovieClip {number07_fla.mc_upgrade6_139} Frame 1Symbol 1370 Button
"upgradebtn1"Symbol 1381 MovieClip {number07_fla.mc_upgrade6_139} Frame 1Symbol 1370 Button
"upgradelevel"Symbol 1384 MovieClip {number07_fla.mc_upgrade2_140} Frame 1Symbol 1366 MovieClip {number07_fla.mc_upgradelevel_134}
"upgradebtn2"Symbol 1384 MovieClip {number07_fla.mc_upgrade2_140} Frame 1Symbol 1370 Button
"upgradebtn1"Symbol 1384 MovieClip {number07_fla.mc_upgrade2_140} Frame 1Symbol 1370 Button
"upgradelevel"Symbol 1386 MovieClip {number07_fla.mc_upgrade5_141} Frame 1Symbol 1366 MovieClip {number07_fla.mc_upgradelevel_134}
"upgradebtn2"Symbol 1386 MovieClip {number07_fla.mc_upgrade5_141} Frame 1Symbol 1370 Button
"upgradebtn1"Symbol 1386 MovieClip {number07_fla.mc_upgrade5_141} Frame 1Symbol 1370 Button
"txt1"Symbol 1405 MovieClip {number07_fla.mc_info_144} Frame 7Symbol 1403 EditableText
"txt2"Symbol 1405 MovieClip {number07_fla.mc_info_144} Frame 7Symbol 1404 EditableText
"btupgrade6"Symbol 1409 MovieClip {number07_fla.mc_researchpage_132} Frame 2Symbol 1372 MovieClip {number07_fla.mc_upgrade7_133}
"btupgrade2"Symbol 1409 MovieClip {number07_fla.mc_researchpage_132} Frame 3Symbol 1375 MovieClip {number07_fla.mc_upgrade1_136}
"btupgrade3"Symbol 1409 MovieClip {number07_fla.mc_researchpage_132} Frame 3Symbol 1377 MovieClip {number07_fla.mc_upgrade3_137}
"btupgrade5"Symbol 1409 MovieClip {number07_fla.mc_researchpage_132} Frame 3Symbol 1379 MovieClip {number07_fla.mc_upgrade4_138}
"btupgrade4"Symbol 1409 MovieClip {number07_fla.mc_researchpage_132} Frame 3Symbol 1381 MovieClip {number07_fla.mc_upgrade6_139}
"btupgrade1"Symbol 1409 MovieClip {number07_fla.mc_researchpage_132} Frame 4Symbol 1384 MovieClip {number07_fla.mc_upgrade2_140}
"btupgrade7"Symbol 1409 MovieClip {number07_fla.mc_researchpage_132} Frame 4Symbol 1386 MovieClip {number07_fla.mc_upgrade5_141}
"experiencenote"Symbol 1409 MovieClip {number07_fla.mc_researchpage_132} Frame 5Symbol 1388 EditableText
"btfinish"Symbol 1409 MovieClip {number07_fla.mc_researchpage_132} Frame 5Symbol 1392 Button
"kongbanner"Symbol 1409 MovieClip {number07_fla.mc_researchpage_132} Frame 5Symbol 1401 MovieClip
"mcinfo"Symbol 1409 MovieClip {number07_fla.mc_researchpage_132} Frame 5Symbol 1405 MovieClip {number07_fla.mc_info_144}
"kongbox"Symbol 1482 MovieClip {number07_fla.mc_winpage_146} Frame 1Symbol 1401 MovieClip
"adsbox"Symbol 1482 MovieClip {number07_fla.mc_winpage_146} Frame 1Symbol 1414 MovieClip
"btcontinue"Symbol 1482 MovieClip {number07_fla.mc_winpage_146} Frame 66Symbol 1452 Button
"experience"Symbol 1482 MovieClip {number07_fla.mc_winpage_146} Frame 66Symbol 1456 EditableText
"destroyedenemiescount"Symbol 1482 MovieClip {number07_fla.mc_winpage_146} Frame 66Symbol 1467 EditableText
"createdtroopscount"Symbol 1482 MovieClip {number07_fla.mc_winpage_146} Frame 66Symbol 1468 EditableText
"losttroopscount"Symbol 1482 MovieClip {number07_fla.mc_winpage_146} Frame 66Symbol 1469 EditableText
"destroyedenemiesscore"Symbol 1482 MovieClip {number07_fla.mc_winpage_146} Frame 66Symbol 1470 EditableText
"createdtroopsscore"Symbol 1482 MovieClip {number07_fla.mc_winpage_146} Frame 66Symbol 1471 EditableText
"losttroopsscore"Symbol 1482 MovieClip {number07_fla.mc_winpage_146} Frame 66Symbol 1472 EditableText
"leveltime"Symbol 1482 MovieClip {number07_fla.mc_winpage_146} Frame 66Symbol 1481 EditableText
"kongbox"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 1Symbol 1401 MovieClip
"adsbox"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 1Symbol 1414 MovieClip
"btcontinue"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 85Symbol 1452 Button
"experience"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 85Symbol 1493 EditableText
"destroyedenemiescount"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 85Symbol 1500 EditableText
"createdtroopscount"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 85Symbol 1501 EditableText
"losttroopscount"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 85Symbol 1502 EditableText
"destroyedenemiesscore"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 85Symbol 1503 EditableText
"createdtroopsscore"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 85Symbol 1504 EditableText
"losttroopsscore"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 85Symbol 1505 EditableText
"leveltime"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 85Symbol 1508 EditableText
"totaltime"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 85Symbol 1510 EditableText
"totalexp"Symbol 1513 MovieClip {number07_fla.mc_ultimatewinpage_151} Frame 85Symbol 1512 EditableText
"kongbox"Symbol 1546 MovieClip {number07_fla.mc_lostpage_152} Frame 1Symbol 1401 MovieClip
"adsbox"Symbol 1546 MovieClip {number07_fla.mc_lostpage_152} Frame 1Symbol 1414 MovieClip
"btcontinue"Symbol 1546 MovieClip {number07_fla.mc_lostpage_152} Frame 66Symbol 1452 Button
"experience"Symbol 1546 MovieClip {number07_fla.mc_lostpage_152} Frame 66Symbol 1526 EditableText
"destroyedenemiescount"Symbol 1546 MovieClip {number07_fla.mc_lostpage_152} Frame 66Symbol 1537 EditableText
"createdtroopscount"Symbol 1546 MovieClip {number07_fla.mc_lostpage_152} Frame 66Symbol 1538 EditableText
"losttroopscount"Symbol 1546 MovieClip {number07_fla.mc_lostpage_152} Frame 66Symbol 1539 EditableText
"destroyedenemiesscore"Symbol 1546 MovieClip {number07_fla.mc_lostpage_152} Frame 66Symbol 1540 EditableText
"createdtroopsscore"Symbol 1546 MovieClip {number07_fla.mc_lostpage_152} Frame 66Symbol 1541 EditableText
"losttroopsscore"Symbol 1546 MovieClip {number07_fla.mc_lostpage_152} Frame 66Symbol 1542 EditableText
"leveltime"Symbol 1546 MovieClip {number07_fla.mc_lostpage_152} Frame 66Symbol 1545 EditableText
"kongbox"Symbol 1564 MovieClip {number07_fla.mc_abortpage_153} Frame 1Symbol 1401 MovieClip
"adsbox"Symbol 1564 MovieClip {number07_fla.mc_abortpage_153} Frame 1Symbol 1414 MovieClip
"btcontinue"Symbol 1564 MovieClip {number07_fla.mc_abortpage_153} Frame 66Symbol 1452 Button
"experience"Symbol 1564 MovieClip {number07_fla.mc_abortpage_153} Frame 66Symbol 1549 EditableText
"destroyedenemiescount"Symbol 1564 MovieClip {number07_fla.mc_abortpage_153} Frame 66Symbol 1556 EditableText
"createdtroopscount"Symbol 1564 MovieClip {number07_fla.mc_abortpage_153} Frame 66Symbol 1557 EditableText
"losttroopscount"Symbol 1564 MovieClip {number07_fla.mc_abortpage_153} Frame 66Symbol 1558 EditableText
"destroyedenemiesscore"Symbol 1564 MovieClip {number07_fla.mc_abortpage_153} Frame 66Symbol 1559 EditableText
"createdtroopsscore"Symbol 1564 MovieClip {number07_fla.mc_abortpage_153} Frame 66Symbol 1560 EditableText
"losttroopsscore"Symbol 1564 MovieClip {number07_fla.mc_abortpage_153} Frame 66Symbol 1561 EditableText
"leveltime"Symbol 1564 MovieClip {number07_fla.mc_abortpage_153} Frame 66Symbol 1563 EditableText
"btcontinue"Symbol 1580 MovieClip {number07_fla.mc_statisticspage_154} Frame 8Symbol 1452 Button
"txt"Symbol 1580 MovieClip {number07_fla.mc_statisticspage_154} Frame 13Symbol 1573 EditableText
"btinstructions1"Symbol 1632 MovieClip {number07_fla.mc_instructions_contents_156} Frame 1Symbol 1592 Button
"btinstructions2"Symbol 1632 MovieClip {number07_fla.mc_instructions_contents_156} Frame 1Symbol 1598 Button
"btinstructions3"Symbol 1632 MovieClip {number07_fla.mc_instructions_contents_156} Frame 1Symbol 1604 Button
"btinstructions4"Symbol 1632 MovieClip {number07_fla.mc_instructions_contents_156} Frame 1Symbol 1610 Button
"btcontinue"Symbol 1634 MovieClip {number07_fla.mc_instructionspage_155} Frame 6Symbol 1452 Button
"btcontinue"Symbol 1642 MovieClip {number07_fla.mc_creditspage_161} Frame 6Symbol 1452 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.
EnableDebugger2 (64)Timeline Frame 131 bytes "u.$1$FJ$oL4glb0o2cgeZyut2J.L1.."

Labels

"loaderpage"Frame 1
"lockedpage"Frame 6
"intropage"Frame 11
"kongsplashpage"Frame 23
"algsplashpage"Frame 30
"presentspage"Frame 35
"mainmenu"Frame 40
"levelselect"Frame 45
"researchpage"Frame 50
"gameplay"Frame 55
"winpage"Frame 60
"ultimatewinpage"Frame 65
"lostpage"Frame 70
"abortpage"Frame 75
"statisticspage"Frame 80
"instructionspage"Frame 85
"creditspage"Frame 90
"showblink"Symbol 290 MovieClip {number07_fla.specialbtnsplash_174} Frame 3
"unavailable"Symbol 299 MovieClip {number07_fla.bt_special4_175} Frame 1
"inactive"Symbol 299 MovieClip {number07_fla.bt_special4_175} Frame 2
"active"Symbol 299 MovieClip {number07_fla.bt_special4_175} Frame 3
"unavailable"Symbol 307 MovieClip {number07_fla.bt_createunit1_177} Frame 1
"inactive"Symbol 307 MovieClip {number07_fla.bt_createunit1_177} Frame 2
"active"Symbol 307 MovieClip {number07_fla.bt_createunit1_177} Frame 3
"unavailable"Symbol 314 MovieClip {number07_fla.bt_createunit2_179} Frame 1
"inactive"Symbol 314 MovieClip {number07_fla.bt_createunit2_179} Frame 2
"active"Symbol 314 MovieClip {number07_fla.bt_createunit2_179} Frame 3
"unavailable"Symbol 321 MovieClip {number07_fla.bt_createunit3_181} Frame 1
"inactive"Symbol 321 MovieClip {number07_fla.bt_createunit3_181} Frame 2
"active"Symbol 321 MovieClip {number07_fla.bt_createunit3_181} Frame 3
"unavailable"Symbol 328 MovieClip {number07_fla.bt_createunit4_183} Frame 1
"inactive"Symbol 328 MovieClip {number07_fla.bt_createunit4_183} Frame 2
"active"Symbol 328 MovieClip {number07_fla.bt_createunit4_183} Frame 3
"unavailable"Symbol 335 MovieClip {number07_fla.bt_createunit5_185} Frame 1
"inactive"Symbol 335 MovieClip {number07_fla.bt_createunit5_185} Frame 2
"active"Symbol 335 MovieClip {number07_fla.bt_createunit5_185} Frame 3
"unavailable"Symbol 342 MovieClip {number07_fla.bt_special1_187} Frame 1
"inactive"Symbol 342 MovieClip {number07_fla.bt_special1_187} Frame 2
"active"Symbol 342 MovieClip {number07_fla.bt_special1_187} Frame 3
"unavailable"Symbol 348 MovieClip {number07_fla.bt_special2_189} Frame 1
"inactive"Symbol 348 MovieClip {number07_fla.bt_special2_189} Frame 2
"active"Symbol 348 MovieClip {number07_fla.bt_special2_189} Frame 3
"unavailable"Symbol 354 MovieClip {number07_fla.bt_special3_191} Frame 1
"inactive"Symbol 354 MovieClip {number07_fla.bt_special3_191} Frame 2
"active"Symbol 354 MovieClip {number07_fla.bt_special3_191} Frame 3
"unavailable"Symbol 360 MovieClip {number07_fla.bt_createtower1_193} Frame 1
"inactive"Symbol 360 MovieClip {number07_fla.bt_createtower1_193} Frame 2
"active"Symbol 360 MovieClip {number07_fla.bt_createtower1_193} Frame 3
"unavailable"Symbol 366 MovieClip {number07_fla.bt_createtower2_195} Frame 1
"inactive"Symbol 366 MovieClip {number07_fla.bt_createtower2_195} Frame 2
"active"Symbol 366 MovieClip {number07_fla.bt_createtower2_195} Frame 3
"unavailable"Symbol 372 MovieClip {number07_fla.bt_createtower3_197} Frame 1
"inactive"Symbol 372 MovieClip {number07_fla.bt_createtower3_197} Frame 2
"active"Symbol 372 MovieClip {number07_fla.bt_createtower3_197} Frame 3
"inactive"Symbol 395 MovieClip {number07_fla.bt_upgrade1_202} Frame 1
"active"Symbol 395 MovieClip {number07_fla.bt_upgrade1_202} Frame 2
"inactive"Symbol 401 MovieClip {number07_fla.bt_upgrade2_205} Frame 1
"active"Symbol 401 MovieClip {number07_fla.bt_upgrade2_205} Frame 2
"inactive"Symbol 410 MovieClip {number07_fla.bt_upgrade3_207} Frame 1
"active"Symbol 410 MovieClip {number07_fla.bt_upgrade3_207} Frame 2
"inactive"Symbol 416 MovieClip {number07_fla.bt_upgrade4_210} Frame 1
"active"Symbol 416 MovieClip {number07_fla.bt_upgrade4_210} Frame 2
"inactive"Symbol 422 MovieClip {number07_fla.bt_upgrade5_212} Frame 1
"active"Symbol 422 MovieClip {number07_fla.bt_upgrade5_212} Frame 2
"avenger"Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215} Frame 2
"thunderbolt"Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215} Frame 3
"defender"Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215} Frame 4
"battlecruiser"Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215} Frame 5
"valour"Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215} Frame 6
"secretstriker"Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215} Frame 7
"aircraftcarrier"Symbol 443 MovieClip {number07_fla.mc_unitsqueuer_215} Frame 8
"show"Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217} Frame 2
"shown"Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217} Frame 7
"hide"Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217} Frame 8
"hidden"Symbol 465 MovieClip {number07_fla.mc_selectfiremode_217} Frame 12
"ready"Symbol 493 MovieClip {number07_fla.mc_minimap_225} Frame 1
"show"Symbol 493 MovieClip {number07_fla.mc_minimap_225} Frame 2
"shown"Symbol 493 MovieClip {number07_fla.mc_minimap_225} Frame 10
"hide"Symbol 493 MovieClip {number07_fla.mc_minimap_225} Frame 11
"hidden"Symbol 493 MovieClip {number07_fla.mc_minimap_225} Frame 20
"show"Symbol 498 MovieClip {number07_fla.mc_info_227} Frame 2
"shown"Symbol 498 MovieClip {number07_fla.mc_info_227} Frame 7
"hide"Symbol 498 MovieClip {number07_fla.mc_info_227} Frame 8
"hidden"Symbol 498 MovieClip {number07_fla.mc_info_227} Frame 14
"tutorial1"Symbol 542 MovieClip {stageTutorial} Frame 2
"tutorial2"Symbol 542 MovieClip {stageTutorial} Frame 1523
"destroyed"Symbol 730 MovieClip {mc_blowparticle1} Frame 2
"destroyed"Symbol 732 MovieClip {mc_blowparticle2} Frame 2
"destroyed"Symbol 734 MovieClip {mc_bombbullet} Frame 2
"destroyed"Symbol 752 MovieClip {mc_empbullet} Frame 18
"destroyed"Symbol 778 MovieClip {mc_explodesplash} Frame 34
"destroyed"Symbol 780 MovieClip {mc_gunbullet} Frame 25
"destroyed"Symbol 784 MovieClip {mc_gunparticle} Frame 4
"destroyed"Symbol 786 MovieClip {mc_missilebullet} Frame 31
"destroyed"Symbol 788 MovieClip {mc_plasmabullet} Frame 41
"destroyed"Symbol 799 MovieClip {mc_redsplashfx} Frame 16
"destroyed"Symbol 800 MovieClip {mc_shipgunbullet} Frame 15
"destroyed"Symbol 806 MovieClip {mc_thunderbullet} Frame 11
"destroyed"Symbol 975 MovieClip {mc_character1} Frame 4
"destroyed"Symbol 977 MovieClip {mc_character2} Frame 4
"p1"Symbol 989 MovieClip {mc_enemy1} Frame 1
"p2"Symbol 989 MovieClip {mc_enemy1} Frame 4
"p3"Symbol 989 MovieClip {mc_enemy1} Frame 7
"destroyed"Symbol 989 MovieClip {mc_enemy1} Frame 10
"p1"Symbol 1000 MovieClip {mc_enemy2} Frame 1
"p2"Symbol 1000 MovieClip {mc_enemy2} Frame 4
"p3"Symbol 1000 MovieClip {mc_enemy2} Frame 7
"destroyed"Symbol 1000 MovieClip {mc_enemy2} Frame 10
"p1"Symbol 1011 MovieClip {mc_enemy3} Frame 1
"p2"Symbol 1011 MovieClip {mc_enemy3} Frame 4
"p3"Symbol 1011 MovieClip {mc_enemy3} Frame 7
"destroyed"Symbol 1011 MovieClip {mc_enemy3} Frame 10
"p1"Symbol 1022 MovieClip {mc_enemy4} Frame 1
"p2"Symbol 1022 MovieClip {mc_enemy4} Frame 4
"p3"Symbol 1022 MovieClip {mc_enemy4} Frame 7
"destroyed"Symbol 1022 MovieClip {mc_enemy4} Frame 10
"p1"Symbol 1033 MovieClip {mc_enemy5} Frame 1
"p2"Symbol 1033 MovieClip {mc_enemy5} Frame 4
"p3"Symbol 1033 MovieClip {mc_enemy5} Frame 7
"destroyed"Symbol 1033 MovieClip {mc_enemy5} Frame 10
"p1"Symbol 1044 MovieClip {mc_enemy6} Frame 1
"p2"Symbol 1044 MovieClip {mc_enemy6} Frame 4
"p3"Symbol 1044 MovieClip {mc_enemy6} Frame 7
"destroyed"Symbol 1044 MovieClip {mc_enemy6} Frame 10
"p1"Symbol 1055 MovieClip {mc_enemy7} Frame 1
"p2"Symbol 1055 MovieClip {mc_enemy7} Frame 4
"p3"Symbol 1055 MovieClip {mc_enemy7} Frame 7
"destroyed"Symbol 1055 MovieClip {mc_enemy7} Frame 10
"p1"Symbol 1060 MovieClip {mc_enemy7_shuttle} Frame 1
"p2"Symbol 1060 MovieClip {mc_enemy7_shuttle} Frame 4
"p3"Symbol 1060 MovieClip {mc_enemy7_shuttle} Frame 7
"destroyed"Symbol 1060 MovieClip {mc_enemy7_shuttle} Frame 10
"p1"Symbol 1070 MovieClip {mc_player1} Frame 1
"p2"Symbol 1070 MovieClip {mc_player1} Frame 4
"p3"Symbol 1070 MovieClip {mc_player1} Frame 7
"destroyed"Symbol 1070 MovieClip {mc_player1} Frame 10
"p1"Symbol 1079 MovieClip {mc_player2} Frame 1
"p2"Symbol 1079 MovieClip {mc_player2} Frame 4
"p3"Symbol 1079 MovieClip {mc_player2} Frame 7
"destroyed"Symbol 1079 MovieClip {mc_player2} Frame 10
"p1"Symbol 1088 MovieClip {mc_player3} Frame 1
"p2"Symbol 1088 MovieClip {mc_player3} Frame 4
"p3"Symbol 1088 MovieClip {mc_player3} Frame 7
"destroyed"Symbol 1088 MovieClip {mc_player3} Frame 10
"p1"Symbol 1097 MovieClip {mc_player4} Frame 1
"p2"Symbol 1097 MovieClip {mc_player4} Frame 4
"p3"Symbol 1097 MovieClip {mc_player4} Frame 7
"destroyed"Symbol 1097 MovieClip {mc_player4} Frame 10
"p1"Symbol 1107 MovieClip {mc_player5} Frame 1
"p2"Symbol 1107 MovieClip {mc_player5} Frame 4
"p3"Symbol 1107 MovieClip {mc_player5} Frame 7
"destroyed"Symbol 1107 MovieClip {mc_player5} Frame 10
"p1"Symbol 1118 MovieClip {mc_special1} Frame 1
"p2"Symbol 1118 MovieClip {mc_special1} Frame 4
"p3"Symbol 1118 MovieClip {mc_special1} Frame 7
"destroyed"Symbol 1118 MovieClip {mc_special1} Frame 10
"p1"Symbol 1131 MovieClip {mc_special4} Frame 1
"p2"Symbol 1131 MovieClip {mc_special4} Frame 4
"p3"Symbol 1131 MovieClip {mc_special4} Frame 7
"destroyed"Symbol 1131 MovieClip {mc_special4} Frame 10
"p1"Symbol 1136 MovieClip {mc_special4_shuttle} Frame 1
"p2"Symbol 1136 MovieClip {mc_special4_shuttle} Frame 4
"p3"Symbol 1136 MovieClip {mc_special4_shuttle} Frame 7
"destroyed"Symbol 1136 MovieClip {mc_special4_shuttle} Frame 10
"ready"Symbol 1297 MovieClip {number07_fla.mc_unlock1_124} Frame 1
"show"Symbol 1297 MovieClip {number07_fla.mc_unlock1_124} Frame 2
"shown"Symbol 1297 MovieClip {number07_fla.mc_unlock1_124} Frame 10
"hide"Symbol 1297 MovieClip {number07_fla.mc_unlock1_124} Frame 11
"hidden"Symbol 1297 MovieClip {number07_fla.mc_unlock1_124} Frame 20
"ready"Symbol 1302 MovieClip {number07_fla.mc_unlock3_125} Frame 1
"show"Symbol 1302 MovieClip {number07_fla.mc_unlock3_125} Frame 2
"shown"Symbol 1302 MovieClip {number07_fla.mc_unlock3_125} Frame 10
"hide"Symbol 1302 MovieClip {number07_fla.mc_unlock3_125} Frame 11
"hidden"Symbol 1302 MovieClip {number07_fla.mc_unlock3_125} Frame 20
"ready"Symbol 1334 MovieClip {number07_fla.mc_unlock2_126} Frame 1
"show"Symbol 1334 MovieClip {number07_fla.mc_unlock2_126} Frame 2
"shown"Symbol 1334 MovieClip {number07_fla.mc_unlock2_126} Frame 10
"hide"Symbol 1334 MovieClip {number07_fla.mc_unlock2_126} Frame 11
"hidden"Symbol 1334 MovieClip {number07_fla.mc_unlock2_126} Frame 20
"ready"Symbol 1348 MovieClip {number07_fla.mc_unlock4_127} Frame 1
"show"Symbol 1348 MovieClip {number07_fla.mc_unlock4_127} Frame 2
"shown"Symbol 1348 MovieClip {number07_fla.mc_unlock4_127} Frame 10
"hide"Symbol 1348 MovieClip {number07_fla.mc_unlock4_127} Frame 11
"hidden"Symbol 1348 MovieClip {number07_fla.mc_unlock4_127} Frame 20
"show"Symbol 1353 MovieClip {number07_fla.mc_infoleft_128} Frame 2
"shown"Symbol 1353 MovieClip {number07_fla.mc_infoleft_128} Frame 7
"hide"Symbol 1353 MovieClip {number07_fla.mc_infoleft_128} Frame 8
"hidden"Symbol 1353 MovieClip {number07_fla.mc_infoleft_128} Frame 14
"show"Symbol 1358 MovieClip {number07_fla.mc_inforight_130} Frame 2
"shown"Symbol 1358 MovieClip {number07_fla.mc_inforight_130} Frame 7
"hide"Symbol 1358 MovieClip {number07_fla.mc_inforight_130} Frame 8
"hidden"Symbol 1358 MovieClip {number07_fla.mc_inforight_130} Frame 14
"inactive"Symbol 1372 MovieClip {number07_fla.mc_upgrade7_133} Frame 1
"active"Symbol 1372 MovieClip {number07_fla.mc_upgrade7_133} Frame 2
"inactive"Symbol 1375 MovieClip {number07_fla.mc_upgrade1_136} Frame 1
"active"Symbol 1375 MovieClip {number07_fla.mc_upgrade1_136} Frame 2
"inactive"Symbol 1377 MovieClip {number07_fla.mc_upgrade3_137} Frame 1
"active"Symbol 1377 MovieClip {number07_fla.mc_upgrade3_137} Frame 2
"inactive"Symbol 1379 MovieClip {number07_fla.mc_upgrade4_138} Frame 1
"active"Symbol 1379 MovieClip {number07_fla.mc_upgrade4_138} Frame 2
"inactive"Symbol 1381 MovieClip {number07_fla.mc_upgrade6_139} Frame 1
"active"Symbol 1381 MovieClip {number07_fla.mc_upgrade6_139} Frame 2
"inactive"Symbol 1384 MovieClip {number07_fla.mc_upgrade2_140} Frame 1
"active"Symbol 1384 MovieClip {number07_fla.mc_upgrade2_140} Frame 2
"inactive"Symbol 1386 MovieClip {number07_fla.mc_upgrade5_141} Frame 1
"active"Symbol 1386 MovieClip {number07_fla.mc_upgrade5_141} Frame 2
"show"Symbol 1405 MovieClip {number07_fla.mc_info_144} Frame 2
"shown"Symbol 1405 MovieClip {number07_fla.mc_info_144} Frame 7
"hide"Symbol 1405 MovieClip {number07_fla.mc_info_144} Frame 8
"hidden"Symbol 1405 MovieClip {number07_fla.mc_info_144} Frame 14
"ca"Symbol 1580 MovieClip {number07_fla.mc_statisticspage_154} Frame 14




http://swfchan.com/13/63200/info.shtml
Created: 13/4 -2019 20:32:50 Last modified: 13/4 -2019 20:32:50 Server time: 17/05 -2024 02:58:07